Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 23:59:04.705789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338693307","1338693324","1338693303","1338693314","1338693322","1338693319"],"photo_ids_order":["1338693303","1338693307","1338693314","1338693319","1338693322","1338693324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4420f3aa5fab089485c734856c651f6e.jpg","text":"TemporaryFile(/tmp/multipartBody4692943109036962126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092479051,"filename":"image_19022025_16_57_17_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4adf58754deba0ecf3b111484ff3a68d.jpg","text":"TemporaryFile(/tmp/multipartBody640754471844277349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092479051,"filename":"image_19022025_16_57_57_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d12483968053a791424be1307ca13fa4.jpg","text":"TemporaryFile(/tmp/multipartBody2002808693696929994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092479051,"filename":"image_19022025_16_56_56_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8518e430f32bf3c892766f5b70ee950.jpg","text":"TemporaryFile(/tmp/multipartBody8959632873857924428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092479051,"filename":"image_19022025_16_57_27_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4ebd6e725cb49b4127fc2b59cb7e8d5b.jpg","text":"TemporaryFile(/tmp/multipartBody672061965534513932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092479051,"filename":"image_19022025_16_57_47_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2353101033c82eaa61dea80f8816dc7e.jpg","text":"TemporaryFile(/tmp/multipartBody5242319846062087128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092479051,"filename":"image_19022025_16_57_37_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338693314","file1":"1338693307","file0":"1338693303","file4":"1338693322","file5":"1338693324","file3":"1338693319"},"map_files_photo_id_array":[{"photo_id":"1338693324","filename":"file5"},{"photo_id":"1338693314","filename":"file2"},{"photo_id":"1338693322","filename":"file4"},{"photo_id":"1338693307","filename":"file1"},{"photo_id":"1338693303","filename":"file0"},{"photo_id":"1338693319","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338693307":["hashtag1","hashtag2"]},{"1338693324":["hashtag1","hashtag2"]},{"1338693303":["hashtag1","hashtag2"]},{"1338693314":["hashtag1","hashtag2"]},{"1338693322":["hashtag1","hashtag2"]},{"1338693319":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338693307, 1338693324, 1338693303, 1338693314, 1338693322, 1338693319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 109.92373824119568 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:01:04.584790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/57/image_19022025_16_58_07_10315.jpg', '/home/pi/Desktop/images/19022025/16/58/image_19022025_16_58_17_10332.jpg', '/home/pi/Desktop/images/19022025/16/58/image_19022025_16_58_27_9375.jpg', '/home/pi/Desktop/images/19022025/16/58/image_19022025_16_58_37_10401.jpg', '/home/pi/Desktop/images/19022025/16/58/image_19022025_16_58_46_9424.jpg', '/home/pi/Desktop/images/19022025/16/58/image_19022025_16_59_07_10326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_58_07_10315.jpg
/home/pi/Desktop/images/19022025/16/58/image_19022025_16_58_17_10332.jpg
/home/pi/Desktop/images/19022025/16/58/image_19022025_16_58_27_9375.jpg
/home/pi/Desktop/images/19022025/16/58/image_19022025_16_58_37_10401.jpg
/home/pi/Desktop/images/19022025/16/58/image_19022025_16_58_46_9424.jpg
/home/pi/Desktop/images/19022025/16/58/image_19022025_16_59_07_10326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338693333","1338693336","1338693347","1338693358","1338693352","1338693331"],"photo_ids_order":["1338693331","1338693333","1338693336","1338693347","1338693352","1338693358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c4f635e1ab595c6e0610d634bed189f7.jpg","text":"TemporaryFile(/tmp/multipartBody1300578572178158897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092526419,"filename":"image_19022025_16_58_17_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/640b6440c7fda18dd68181b8cb5c3bfd.jpg","text":"TemporaryFile(/tmp/multipartBody2611437382081829745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092526419,"filename":"image_19022025_16_58_27_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9d2717e866d642a447eb4f301bc3ff99.jpg","text":"TemporaryFile(/tmp/multipartBody5090800521916532431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092526419,"filename":"image_19022025_16_58_37_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bf7b0dc18f5a25bd1b72660f00bc2df0.jpg","text":"TemporaryFile(/tmp/multipartBody1618062961619641406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092526419,"filename":"image_19022025_16_59_07_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/de1c8eba0907021cb540e6d5bdf96184.jpg","text":"TemporaryFile(/tmp/multipartBody3239521097070321174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092526419,"filename":"image_19022025_16_58_46_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/52491d525ceda585d2696d7a30990d13.jpg","text":"TemporaryFile(/tmp/multipartBody2868788914839016998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092526419,"filename":"image_19022025_16_58_07_10315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338693336","file1":"1338693333","file0":"1338693331","file4":"1338693352","file5":"1338693358","file3":"1338693347"},"map_files_photo_id_array":[{"photo_id":"1338693358","filename":"file5"},{"photo_id":"1338693336","filename":"file2"},{"photo_id":"1338693352","filename":"file4"},{"photo_id":"1338693333","filename":"file1"},{"photo_id":"1338693331","filename":"file0"},{"photo_id":"1338693347","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338693333":["hashtag1","hashtag2"]},{"1338693336":["hashtag1","hashtag2"]},{"1338693347":["hashtag1","hashtag2"]},{"1338693358":["hashtag1","hashtag2"]},{"1338693352":["hashtag1","hashtag2"]},{"1338693331":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338693333, 1338693336, 1338693347, 1338693358, 1338693352, 1338693331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.387535572052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:02:03.080560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/59/image_19022025_16_59_17_9433.jpg', '/home/pi/Desktop/images/19022025/16/59/image_19022025_16_59_37_10334.jpg', '/home/pi/Desktop/images/19022025/16/59/image_19022025_16_59_47_9390.jpg', '/home/pi/Desktop/images/19022025/16/59/image_19022025_16_59_57_10335.jpg', '/home/pi/Desktop/images/19022025/17/00/image_19022025_17_00_16_10072.jpg', '/home/pi/Desktop/images/19022025/17/00/image_19022025_17_00_26_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/59/image_19022025_16_59_17_9433.jpg
/home/pi/Desktop/images/19022025/16/59/image_19022025_16_59_37_10334.jpg
/home/pi/Desktop/images/19022025/16/59/image_19022025_16_59_47_9390.jpg
/home/pi/Desktop/images/19022025/16/59/image_19022025_16_59_57_10335.jpg
/home/pi/Desktop/images/19022025/17/00/image_19022025_17_00_16_10072.jpg
/home/pi/Desktop/images/19022025/17/00/image_19022025_17_00_26_10356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338693408","1338693395","1338693397","1338693415","1338693403","1338693393"],"photo_ids_order":["1338693393","1338693395","1338693397","1338693403","1338693408","1338693415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/003554170cf3b98747705a90db71913d.jpg","text":"TemporaryFile(/tmp/multipartBody133520011101700736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092587730,"filename":"image_19022025_17_00_16_10072.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1cf1fce611b4513112625591dc6305b.jpg","text":"TemporaryFile(/tmp/multipartBody5751181236336259997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092587730,"filename":"image_19022025_16_59_37_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bb5ccef2beb43ad824a8d1bd7ab0417f.jpg","text":"TemporaryFile(/tmp/multipartBody137008003998986991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092587730,"filename":"image_19022025_16_59_47_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f72287e48a8666b03775e5de53669d2c.jpg","text":"TemporaryFile(/tmp/multipartBody5018204712402942494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092587730,"filename":"image_19022025_17_00_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ca82cbf205892b9a8ce07a743b19e99.jpg","text":"TemporaryFile(/tmp/multipartBody1754917944630921062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092587730,"filename":"image_19022025_16_59_57_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b495e37f9b6a10aa4b1e9d9165d1eb4c.jpg","text":"TemporaryFile(/tmp/multipartBody194669023584195067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092587730,"filename":"image_19022025_16_59_17_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338693397","file1":"1338693395","file0":"1338693393","file4":"1338693408","file5":"1338693415","file3":"1338693403"},"map_files_photo_id_array":[{"photo_id":"1338693415","filename":"file5"},{"photo_id":"1338693397","filename":"file2"},{"photo_id":"1338693408","filename":"file4"},{"photo_id":"1338693395","filename":"file1"},{"photo_id":"1338693393","filename":"file0"},{"photo_id":"1338693403","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338693408":["hashtag1","hashtag2"]},{"1338693395":["hashtag1","hashtag2"]},{"1338693397":["hashtag1","hashtag2"]},{"1338693415":["hashtag1","hashtag2"]},{"1338693403":["hashtag1","hashtag2"]},{"1338693393":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338693408, 1338693395, 1338693397, 1338693415, 1338693403, 1338693393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26088261604309 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:02:42.676969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/00/image_19022025_17_00_37_10343.jpg', '/home/pi/Desktop/images/19022025/17/00/image_19022025_17_01_07_10353.jpg', '/home/pi/Desktop/images/19022025/17/01/image_19022025_17_01_16_9336.jpg', '/home/pi/Desktop/images/19022025/17/01/image_19022025_17_01_27_10337.jpg', '/home/pi/Desktop/images/19022025/17/01/image_19022025_17_01_37_10390.jpg', '/home/pi/Desktop/images/19022025/17/01/image_19022025_17_01_46_9492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/00/image_19022025_17_00_37_10343.jpg
/home/pi/Desktop/images/19022025/17/00/image_19022025_17_01_07_10353.jpg
/home/pi/Desktop/images/19022025/17/01/image_19022025_17_01_16_9336.jpg
/home/pi/Desktop/images/19022025/17/01/image_19022025_17_01_27_10337.jpg
/home/pi/Desktop/images/19022025/17/01/image_19022025_17_01_37_10390.jpg
/home/pi/Desktop/images/19022025/17/01/image_19022025_17_01_46_9492.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338693432","1338693429","1338693592","1338693428","1338693430","1338693427"],"photo_ids_order":["1338693427","1338693428","1338693429","1338693430","1338693432","1338693592"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d9411195fa81870043f9fba1e67a44da.jpg","text":"TemporaryFile(/tmp/multipartBody544447511357434278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092624719,"filename":"image_19022025_17_01_37_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/643d8946b3ccef987cc5a61defab8ce7.jpg","text":"TemporaryFile(/tmp/multipartBody3446414151693667245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092624719,"filename":"image_19022025_17_01_16_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/db36d511463a9234112d59968df6e34c.jpg","text":"TemporaryFile(/tmp/multipartBody2432903629924426397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092624719,"filename":"image_19022025_17_01_46_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/124741022ef5a8b23eab3caff0f8c578.jpg","text":"TemporaryFile(/tmp/multipartBody6348121093458380936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092624719,"filename":"image_19022025_17_01_07_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4e7fe866425f90953266896b728374e1.jpg","text":"TemporaryFile(/tmp/multipartBody1057846145303579254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092624719,"filename":"image_19022025_17_01_27_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9149483bf5151f33f57c0b8db0266449.jpg","text":"TemporaryFile(/tmp/multipartBody7369162289531227222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092624719,"filename":"image_19022025_17_00_37_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338693429","file1":"1338693428","file0":"1338693427","file4":"1338693432","file5":"1338693592","file3":"1338693430"},"map_files_photo_id_array":[{"photo_id":"1338693592","filename":"file5"},{"photo_id":"1338693429","filename":"file2"},{"photo_id":"1338693432","filename":"file4"},{"photo_id":"1338693428","filename":"file1"},{"photo_id":"1338693427","filename":"file0"},{"photo_id":"1338693430","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338693432":["hashtag1","hashtag2"]},{"1338693429":["hashtag1","hashtag2"]},{"1338693592":["hashtag1","hashtag2"]},{"1338693428":["hashtag1","hashtag2"]},{"1338693430":["hashtag1","hashtag2"]},{"1338693427":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338693432, 1338693429, 1338693592, 1338693428, 1338693430, 1338693427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.61907410621643 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:03:42.935144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/01/image_19022025_17_01_57_10348.jpg', '/home/pi/Desktop/images/19022025/17/01/image_19022025_17_02_06_9318.jpg', '/home/pi/Desktop/images/19022025/17/02/image_19022025_17_02_16_10327.jpg', '/home/pi/Desktop/images/19022025/17/02/image_19022025_17_02_36_9298.jpg', '/home/pi/Desktop/images/19022025/17/02/image_19022025_17_02_46_10345.jpg', '/home/pi/Desktop/images/19022025/17/02/image_19022025_17_02_57_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/01/image_19022025_17_01_57_10348.jpg
/home/pi/Desktop/images/19022025/17/01/image_19022025_17_02_06_9318.jpg
/home/pi/Desktop/images/19022025/17/02/image_19022025_17_02_16_10327.jpg
/home/pi/Desktop/images/19022025/17/02/image_19022025_17_02_36_9298.jpg
/home/pi/Desktop/images/19022025/17/02/image_19022025_17_02_46_10345.jpg
/home/pi/Desktop/images/19022025/17/02/image_19022025_17_02_57_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338694020","1338694040","1338694063","1338694016","1338694051","1338694065"],"photo_ids_order":["1338694016","1338694020","1338694040","1338694051","1338694063","1338694065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d26f2c498ccb6ab18e6f4ff2e821c9c0.jpg","text":"TemporaryFile(/tmp/multipartBody5723270657217967750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092684968,"filename":"image_19022025_17_02_06_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b7f20d42e05ae9a54d4a5cf0c61443dd.jpg","text":"TemporaryFile(/tmp/multipartBody2720981634885014055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092684968,"filename":"image_19022025_17_02_16_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c2b10983c12093e254d72032ded6f387.jpg","text":"TemporaryFile(/tmp/multipartBody4160937452815287439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092684968,"filename":"image_19022025_17_02_46_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e8629e3a34d446bbf9dbdac0b9697d18.jpg","text":"TemporaryFile(/tmp/multipartBody6052720155052850343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092684968,"filename":"image_19022025_17_01_57_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d59cb37e56cbd7efc6779e416ce711e4.jpg","text":"TemporaryFile(/tmp/multipartBody4356092136634763962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092684968,"filename":"image_19022025_17_02_36_9298.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/071f9613b970d28aed643a1419461ebb.jpg","text":"TemporaryFile(/tmp/multipartBody8723969879954394298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092684968,"filename":"image_19022025_17_02_57_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338694040","file1":"1338694020","file0":"1338694016","file4":"1338694063","file5":"1338694065","file3":"1338694051"},"map_files_photo_id_array":[{"photo_id":"1338694065","filename":"file5"},{"photo_id":"1338694040","filename":"file2"},{"photo_id":"1338694063","filename":"file4"},{"photo_id":"1338694020","filename":"file1"},{"photo_id":"1338694016","filename":"file0"},{"photo_id":"1338694051","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338694020":["hashtag1","hashtag2"]},{"1338694040":["hashtag1","hashtag2"]},{"1338694063":["hashtag1","hashtag2"]},{"1338694016":["hashtag1","hashtag2"]},{"1338694051":["hashtag1","hashtag2"]},{"1338694065":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338694020, 1338694040, 1338694063, 1338694016, 1338694051, 1338694065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97883224487305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:04:42.111459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/02/image_19022025_17_03_06_9326.jpg', '/home/pi/Desktop/images/19022025/17/03/image_19022025_17_03_16_10322.jpg', '/home/pi/Desktop/images/19022025/17/03/image_19022025_17_03_27_10333.jpg', '/home/pi/Desktop/images/19022025/17/03/image_19022025_17_03_36_9324.jpg', '/home/pi/Desktop/images/19022025/17/03/image_19022025_17_03_46_10357.jpg', '/home/pi/Desktop/images/19022025/17/03/image_19022025_17_03_57_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/02/image_19022025_17_03_06_9326.jpg
/home/pi/Desktop/images/19022025/17/03/image_19022025_17_03_16_10322.jpg
/home/pi/Desktop/images/19022025/17/03/image_19022025_17_03_27_10333.jpg
/home/pi/Desktop/images/19022025/17/03/image_19022025_17_03_36_9324.jpg
/home/pi/Desktop/images/19022025/17/03/image_19022025_17_03_46_10357.jpg
/home/pi/Desktop/images/19022025/17/03/image_19022025_17_03_57_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338694326","1338694305","1338694280","1338694294","1338694324","1338694303"],"photo_ids_order":["1338694280","1338694294","1338694303","1338694305","1338694324","1338694326"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/91b6a80cfef4af160e58ad2374b07795.jpg","text":"TemporaryFile(/tmp/multipartBody274291966495779196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092744186,"filename":"image_19022025_17_03_57_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a0be61ed78d66c5c4554b55b9accb7a.jpg","text":"TemporaryFile(/tmp/multipartBody5930719033579846664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092744186,"filename":"image_19022025_17_03_36_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ebd79bdfcccecaecc492291c6a38a967.jpg","text":"TemporaryFile(/tmp/multipartBody4391034842698729844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092744186,"filename":"image_19022025_17_03_06_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7b1512fddaec0e79f3fcc0ba6d96f22d.jpg","text":"TemporaryFile(/tmp/multipartBody5379295746845679755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092744186,"filename":"image_19022025_17_03_16_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02a461c9996516fbf40cdb7fb58ada76.jpg","text":"TemporaryFile(/tmp/multipartBody5161196326747396339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092744186,"filename":"image_19022025_17_03_46_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f6e2b0e64bda243b4e6522fc44c7715d.jpg","text":"TemporaryFile(/tmp/multipartBody452705899301869038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092744186,"filename":"image_19022025_17_03_27_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338694303","file1":"1338694294","file0":"1338694280","file4":"1338694324","file5":"1338694326","file3":"1338694305"},"map_files_photo_id_array":[{"photo_id":"1338694326","filename":"file5"},{"photo_id":"1338694303","filename":"file2"},{"photo_id":"1338694324","filename":"file4"},{"photo_id":"1338694294","filename":"file1"},{"photo_id":"1338694280","filename":"file0"},{"photo_id":"1338694305","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338694326":["hashtag1","hashtag2"]},{"1338694305":["hashtag1","hashtag2"]},{"1338694280":["hashtag1","hashtag2"]},{"1338694294":["hashtag1","hashtag2"]},{"1338694324":["hashtag1","hashtag2"]},{"1338694303":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338694326, 1338694305, 1338694280, 1338694294, 1338694324, 1338694303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.476948261260986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:05:42.276024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/03/image_19022025_17_04_06_9321.jpg', '/home/pi/Desktop/images/19022025/17/04/image_19022025_17_04_17_10434.jpg', '/home/pi/Desktop/images/19022025/17/04/image_19022025_17_04_36_9435.jpg', '/home/pi/Desktop/images/19022025/17/04/image_19022025_17_04_47_10341.jpg', '/home/pi/Desktop/images/19022025/17/04/image_19022025_17_05_06_10357.jpg', '/home/pi/Desktop/images/19022025/17/05/image_19022025_17_05_17_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/03/image_19022025_17_04_06_9321.jpg
/home/pi/Desktop/images/19022025/17/04/image_19022025_17_04_17_10434.jpg
/home/pi/Desktop/images/19022025/17/04/image_19022025_17_04_36_9435.jpg
/home/pi/Desktop/images/19022025/17/04/image_19022025_17_04_47_10341.jpg
/home/pi/Desktop/images/19022025/17/04/image_19022025_17_05_06_10357.jpg
/home/pi/Desktop/images/19022025/17/05/image_19022025_17_05_17_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338694359","1338694352","1338694355","1338694357","1338694351","1338694348"],"photo_ids_order":["1338694348","1338694351","1338694352","1338694355","1338694357","1338694359"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e6d576345d77b7dbf3353ce1701e8e11.jpg","text":"TemporaryFile(/tmp/multipartBody837416623503711620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092804296,"filename":"image_19022025_17_05_17_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/108e278f241e04a1769696f840c30247.jpg","text":"TemporaryFile(/tmp/multipartBody6915944840433956267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092804296,"filename":"image_19022025_17_04_36_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/669df926e2e0e61bf1149ceba599a621.jpg","text":"TemporaryFile(/tmp/multipartBody2858449165149333550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092804296,"filename":"image_19022025_17_04_47_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9827f18efb2c056e0656253fbb6a08e0.jpg","text":"TemporaryFile(/tmp/multipartBody9152566174044517629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092804296,"filename":"image_19022025_17_05_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/05e8d21ba706f99720280dd8e4623dc2.jpg","text":"TemporaryFile(/tmp/multipartBody1974547022544333748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092804296,"filename":"image_19022025_17_04_17_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/907019968934e9100789a238b07d7e6f.jpg","text":"TemporaryFile(/tmp/multipartBody2209557845329099172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092804296,"filename":"image_19022025_17_04_06_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338694352","file1":"1338694351","file0":"1338694348","file4":"1338694357","file5":"1338694359","file3":"1338694355"},"map_files_photo_id_array":[{"photo_id":"1338694359","filename":"file5"},{"photo_id":"1338694352","filename":"file2"},{"photo_id":"1338694357","filename":"file4"},{"photo_id":"1338694351","filename":"file1"},{"photo_id":"1338694348","filename":"file0"},{"photo_id":"1338694355","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338694359":["hashtag1","hashtag2"]},{"1338694352":["hashtag1","hashtag2"]},{"1338694355":["hashtag1","hashtag2"]},{"1338694357":["hashtag1","hashtag2"]},{"1338694351":["hashtag1","hashtag2"]},{"1338694348":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338694359, 1338694352, 1338694355, 1338694357, 1338694351, 1338694348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52926206588745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:06:42.444993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/05/image_19022025_17_05_26_9364.jpg', '/home/pi/Desktop/images/19022025/17/05/image_19022025_17_05_36_10320.jpg', '/home/pi/Desktop/images/19022025/17/05/image_19022025_17_05_47_10340.jpg', '/home/pi/Desktop/images/19022025/17/05/image_19022025_17_05_56_9316.jpg', '/home/pi/Desktop/images/19022025/17/05/image_19022025_17_06_06_10371.jpg', '/home/pi/Desktop/images/19022025/17/06/image_19022025_17_06_17_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/05/image_19022025_17_05_26_9364.jpg
/home/pi/Desktop/images/19022025/17/05/image_19022025_17_05_36_10320.jpg
/home/pi/Desktop/images/19022025/17/05/image_19022025_17_05_47_10340.jpg
/home/pi/Desktop/images/19022025/17/05/image_19022025_17_05_56_9316.jpg
/home/pi/Desktop/images/19022025/17/05/image_19022025_17_06_06_10371.jpg
/home/pi/Desktop/images/19022025/17/06/image_19022025_17_06_17_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338694404","1338694385","1338694379","1338694399","1338694383","1338694374"],"photo_ids_order":["1338694374","1338694379","1338694383","1338694385","1338694399","1338694404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e371b7e20c588c658eb5ed7ea26ee39a.jpg","text":"TemporaryFile(/tmp/multipartBody5342417344207155470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092864467,"filename":"image_19022025_17_06_17_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae4a3432b66ee420cd7c3e5f605914b1.jpg","text":"TemporaryFile(/tmp/multipartBody8849442026270972471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092864467,"filename":"image_19022025_17_05_56_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/728c181e4af054ca70c60783a7029142.jpg","text":"TemporaryFile(/tmp/multipartBody4058002047096691403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092864467,"filename":"image_19022025_17_05_36_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87979c5d4535ead547e9febdea77faab.jpg","text":"TemporaryFile(/tmp/multipartBody7506658274307834188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092864467,"filename":"image_19022025_17_06_06_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0c64b4d7fa2f5cd2ce1aea9471daf26e.jpg","text":"TemporaryFile(/tmp/multipartBody7343328550845267992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092864467,"filename":"image_19022025_17_05_47_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/00cc4ec3b6252be6aa95a5a472c99bd3.jpg","text":"TemporaryFile(/tmp/multipartBody569313525888192166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092864467,"filename":"image_19022025_17_05_26_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338694383","file1":"1338694379","file0":"1338694374","file4":"1338694399","file5":"1338694404","file3":"1338694385"},"map_files_photo_id_array":[{"photo_id":"1338694404","filename":"file5"},{"photo_id":"1338694383","filename":"file2"},{"photo_id":"1338694399","filename":"file4"},{"photo_id":"1338694379","filename":"file1"},{"photo_id":"1338694374","filename":"file0"},{"photo_id":"1338694385","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338694404":["hashtag1","hashtag2"]},{"1338694385":["hashtag1","hashtag2"]},{"1338694379":["hashtag1","hashtag2"]},{"1338694399":["hashtag1","hashtag2"]},{"1338694383":["hashtag1","hashtag2"]},{"1338694374":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338694404, 1338694385, 1338694379, 1338694399, 1338694383, 1338694374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.844402551651 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:07:42.778491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/06/image_19022025_17_06_26_9339.jpg', '/home/pi/Desktop/images/19022025/17/06/image_19022025_17_06_37_10332.jpg', '/home/pi/Desktop/images/19022025/17/06/image_19022025_17_06_56_9338.jpg', '/home/pi/Desktop/images/19022025/17/06/image_19022025_17_07_07_10337.jpg', '/home/pi/Desktop/images/19022025/17/07/image_19022025_17_07_16_9902.jpg', '/home/pi/Desktop/images/19022025/17/07/image_19022025_17_07_27_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/06/image_19022025_17_06_26_9339.jpg
/home/pi/Desktop/images/19022025/17/06/image_19022025_17_06_37_10332.jpg
/home/pi/Desktop/images/19022025/17/06/image_19022025_17_06_56_9338.jpg
/home/pi/Desktop/images/19022025/17/06/image_19022025_17_07_07_10337.jpg
/home/pi/Desktop/images/19022025/17/07/image_19022025_17_07_16_9902.jpg
/home/pi/Desktop/images/19022025/17/07/image_19022025_17_07_27_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338694431","1338694430","1338694424","1338694420","1338694417","1338694428"],"photo_ids_order":["1338694417","1338694420","1338694424","1338694428","1338694430","1338694431"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/091f77d02afcdf6f01c6ff1c539d5daf.jpg","text":"TemporaryFile(/tmp/multipartBody244259632081699792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092924812,"filename":"image_19022025_17_07_27_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fb4003de3d04704e4139b9fd0734f5b0.jpg","text":"TemporaryFile(/tmp/multipartBody2366790009344642977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092924812,"filename":"image_19022025_17_07_16_9902.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cddfbffb421e07f29815b8dc57d20039.jpg","text":"TemporaryFile(/tmp/multipartBody6265489165474848556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092924812,"filename":"image_19022025_17_06_56_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/280473bae72a1010955d896fc274d65d.jpg","text":"TemporaryFile(/tmp/multipartBody1239721580542885801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092924812,"filename":"image_19022025_17_06_37_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ba7b46a94fad9e56de4f46e1c4240665.jpg","text":"TemporaryFile(/tmp/multipartBody1597989891849067586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092924812,"filename":"image_19022025_17_06_26_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1e44e6f9dbf31c8b5f312fc0b28b45bc.jpg","text":"TemporaryFile(/tmp/multipartBody3015486377292529042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092924812,"filename":"image_19022025_17_07_07_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338694424","file1":"1338694420","file0":"1338694417","file4":"1338694430","file5":"1338694431","file3":"1338694428"},"map_files_photo_id_array":[{"photo_id":"1338694431","filename":"file5"},{"photo_id":"1338694424","filename":"file2"},{"photo_id":"1338694430","filename":"file4"},{"photo_id":"1338694420","filename":"file1"},{"photo_id":"1338694417","filename":"file0"},{"photo_id":"1338694428","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338694431":["hashtag1","hashtag2"]},{"1338694430":["hashtag1","hashtag2"]},{"1338694424":["hashtag1","hashtag2"]},{"1338694420":["hashtag1","hashtag2"]},{"1338694417":["hashtag1","hashtag2"]},{"1338694428":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338694431, 1338694430, 1338694424, 1338694420, 1338694417, 1338694428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5059335231781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:08:42.971094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/07/image_19022025_17_07_36_9309.jpg', '/home/pi/Desktop/images/19022025/17/07/image_19022025_17_07_47_10468.jpg', '/home/pi/Desktop/images/19022025/17/07/image_19022025_17_07_57_10323.jpg', '/home/pi/Desktop/images/19022025/17/07/image_19022025_17_08_06_9417.jpg', '/home/pi/Desktop/images/19022025/17/08/image_19022025_17_08_27_10346.jpg', '/home/pi/Desktop/images/19022025/17/08/image_19022025_17_08_36_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/07/image_19022025_17_07_36_9309.jpg
/home/pi/Desktop/images/19022025/17/07/image_19022025_17_07_47_10468.jpg
/home/pi/Desktop/images/19022025/17/07/image_19022025_17_07_57_10323.jpg
/home/pi/Desktop/images/19022025/17/07/image_19022025_17_08_06_9417.jpg
/home/pi/Desktop/images/19022025/17/08/image_19022025_17_08_27_10346.jpg
/home/pi/Desktop/images/19022025/17/08/image_19022025_17_08_36_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338694463","1338694457","1338694470","1338694467","1338694461","1338694455"],"photo_ids_order":["1338694455","1338694457","1338694461","1338694463","1338694467","1338694470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0c02c88272c5b1f93bac3d78d6555d70.jpg","text":"TemporaryFile(/tmp/multipartBody422927040975617875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092984983,"filename":"image_19022025_17_08_06_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/925b2029a253d7f4affc9979b75c1f61.jpg","text":"TemporaryFile(/tmp/multipartBody2537071853456923607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092984983,"filename":"image_19022025_17_07_47_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d514b8a1986352c8b6072ba5bf29280f.jpg","text":"TemporaryFile(/tmp/multipartBody4067192079101176184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092984983,"filename":"image_19022025_17_08_36_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a64e204845c5f5f7667cbd1cc3226ab4.jpg","text":"TemporaryFile(/tmp/multipartBody4130346921420824451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092984983,"filename":"image_19022025_17_08_27_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ac93188608285f9f907c143c1662216.jpg","text":"TemporaryFile(/tmp/multipartBody5666866786826100148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092984983,"filename":"image_19022025_17_07_57_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90ec8e7585efea85bdeb4c92a151b6a6.jpg","text":"TemporaryFile(/tmp/multipartBody8511422068239539750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092984983,"filename":"image_19022025_17_07_36_9309.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338694461","file1":"1338694457","file0":"1338694455","file4":"1338694467","file5":"1338694470","file3":"1338694463"},"map_files_photo_id_array":[{"photo_id":"1338694470","filename":"file5"},{"photo_id":"1338694461","filename":"file2"},{"photo_id":"1338694467","filename":"file4"},{"photo_id":"1338694457","filename":"file1"},{"photo_id":"1338694455","filename":"file0"},{"photo_id":"1338694463","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338694463":["hashtag1","hashtag2"]},{"1338694457":["hashtag1","hashtag2"]},{"1338694470":["hashtag1","hashtag2"]},{"1338694467":["hashtag1","hashtag2"]},{"1338694461":["hashtag1","hashtag2"]},{"1338694455":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338694463, 1338694457, 1338694470, 1338694467, 1338694461, 1338694455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3198344707489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:09:42.201584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/08/image_19022025_17_08_56_9342.jpg', '/home/pi/Desktop/images/19022025/17/08/image_19022025_17_09_06_10377.jpg', '/home/pi/Desktop/images/19022025/17/09/image_19022025_17_09_17_10318.jpg', '/home/pi/Desktop/images/19022025/17/09/image_19022025_17_09_26_9337.jpg', '/home/pi/Desktop/images/19022025/17/09/image_19022025_17_09_37_10434.jpg', '/home/pi/Desktop/images/19022025/17/09/image_19022025_17_09_56_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/08/image_19022025_17_08_56_9342.jpg
/home/pi/Desktop/images/19022025/17/08/image_19022025_17_09_06_10377.jpg
/home/pi/Desktop/images/19022025/17/09/image_19022025_17_09_17_10318.jpg
/home/pi/Desktop/images/19022025/17/09/image_19022025_17_09_26_9337.jpg
/home/pi/Desktop/images/19022025/17/09/image_19022025_17_09_37_10434.jpg
/home/pi/Desktop/images/19022025/17/09/image_19022025_17_09_56_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338694500","1338694503","1338694505","1338694510","1338694507","1338694501"],"photo_ids_order":["1338694500","1338694501","1338694503","1338694505","1338694507","1338694510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d7d744be5f2e3bf18d5727a5d4c2988.jpg","text":"TemporaryFile(/tmp/multipartBody883823447850710845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093044223,"filename":"image_19022025_17_08_56_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9beeb987269c81213690bcbe37eac0e7.jpg","text":"TemporaryFile(/tmp/multipartBody5290297579071885807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093044223,"filename":"image_19022025_17_09_17_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0c6a49cf9234e3cc166a6ef8cdeb205a.jpg","text":"TemporaryFile(/tmp/multipartBody8497838611375365244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093044223,"filename":"image_19022025_17_09_26_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e110c23894eb168558a50b7bed4bf1a5.jpg","text":"TemporaryFile(/tmp/multipartBody4113264114186749229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093044223,"filename":"image_19022025_17_09_56_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/94a0a9c091cb0f07e7ca3fd9aee41c9e.jpg","text":"TemporaryFile(/tmp/multipartBody2279908333789772934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093044223,"filename":"image_19022025_17_09_37_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae2f764e6009878f2c3b75ac15cb223e.jpg","text":"TemporaryFile(/tmp/multipartBody5141858677674846844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093044223,"filename":"image_19022025_17_09_06_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338694503","file1":"1338694501","file0":"1338694500","file4":"1338694507","file5":"1338694510","file3":"1338694505"},"map_files_photo_id_array":[{"photo_id":"1338694510","filename":"file5"},{"photo_id":"1338694503","filename":"file2"},{"photo_id":"1338694507","filename":"file4"},{"photo_id":"1338694501","filename":"file1"},{"photo_id":"1338694500","filename":"file0"},{"photo_id":"1338694505","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338694500":["hashtag1","hashtag2"]},{"1338694503":["hashtag1","hashtag2"]},{"1338694505":["hashtag1","hashtag2"]},{"1338694510":["hashtag1","hashtag2"]},{"1338694507":["hashtag1","hashtag2"]},{"1338694501":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338694500, 1338694503, 1338694505, 1338694510, 1338694507, 1338694501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03893780708313 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:10:42.420722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/09/image_19022025_17_10_07_10390.jpg', '/home/pi/Desktop/images/19022025/17/10/image_19022025_17_10_17_10387.jpg', '/home/pi/Desktop/images/19022025/17/10/image_19022025_17_10_26_9374.jpg', '/home/pi/Desktop/images/19022025/17/10/image_19022025_17_10_37_10347.jpg', '/home/pi/Desktop/images/19022025/17/10/image_19022025_17_10_46_9331.jpg', '/home/pi/Desktop/images/19022025/17/10/image_19022025_17_10_56_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/09/image_19022025_17_10_07_10390.jpg
/home/pi/Desktop/images/19022025/17/10/image_19022025_17_10_17_10387.jpg
/home/pi/Desktop/images/19022025/17/10/image_19022025_17_10_26_9374.jpg
/home/pi/Desktop/images/19022025/17/10/image_19022025_17_10_37_10347.jpg
/home/pi/Desktop/images/19022025/17/10/image_19022025_17_10_46_9331.jpg
/home/pi/Desktop/images/19022025/17/10/image_19022025_17_10_56_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338694553","1338694541","1338694555","1338694549","1338694558","1338694533"],"photo_ids_order":["1338694533","1338694541","1338694549","1338694553","1338694555","1338694558"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fcfeffe3d5d5e240f70fb8d1ec319ed7.jpg","text":"TemporaryFile(/tmp/multipartBody8714680895178454897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093104453,"filename":"image_19022025_17_10_37_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac2b25335a39b36d9a170046c7622f27.jpg","text":"TemporaryFile(/tmp/multipartBody310607891205592791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093104453,"filename":"image_19022025_17_10_17_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d95049b7bb3e0e287db67b318235f1d.jpg","text":"TemporaryFile(/tmp/multipartBody1533247389364134935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093104453,"filename":"image_19022025_17_10_46_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b7d52a5e3a29cfd1ce1032c1411ec87c.jpg","text":"TemporaryFile(/tmp/multipartBody653232094974438506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093104453,"filename":"image_19022025_17_10_26_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7bbd4442365eaa5043aa5cddd92dc044.jpg","text":"TemporaryFile(/tmp/multipartBody7299665006048307600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093104453,"filename":"image_19022025_17_10_56_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a4ec0fd619cf8b37d9345350f26e979f.jpg","text":"TemporaryFile(/tmp/multipartBody4625096049027938221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093104453,"filename":"image_19022025_17_10_07_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338694549","file1":"1338694541","file0":"1338694533","file4":"1338694555","file5":"1338694558","file3":"1338694553"},"map_files_photo_id_array":[{"photo_id":"1338694558","filename":"file5"},{"photo_id":"1338694549","filename":"file2"},{"photo_id":"1338694555","filename":"file4"},{"photo_id":"1338694541","filename":"file1"},{"photo_id":"1338694533","filename":"file0"},{"photo_id":"1338694553","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338694553":["hashtag1","hashtag2"]},{"1338694541":["hashtag1","hashtag2"]},{"1338694555":["hashtag1","hashtag2"]},{"1338694549":["hashtag1","hashtag2"]},{"1338694558":["hashtag1","hashtag2"]},{"1338694533":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338694553, 1338694541, 1338694555, 1338694549, 1338694558, 1338694533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97996973991394 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:11:42.581700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/10/image_19022025_17_11_07_10334.jpg', '/home/pi/Desktop/images/19022025/17/11/image_19022025_17_11_27_10430.jpg', '/home/pi/Desktop/images/19022025/17/11/image_19022025_17_11_37_10318.jpg', '/home/pi/Desktop/images/19022025/17/11/image_19022025_17_11_46_9414.jpg', '/home/pi/Desktop/images/19022025/17/11/image_19022025_17_11_57_10352.jpg', '/home/pi/Desktop/images/19022025/17/11/image_19022025_17_12_07_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/10/image_19022025_17_11_07_10334.jpg
/home/pi/Desktop/images/19022025/17/11/image_19022025_17_11_27_10430.jpg
/home/pi/Desktop/images/19022025/17/11/image_19022025_17_11_37_10318.jpg
/home/pi/Desktop/images/19022025/17/11/image_19022025_17_11_46_9414.jpg
/home/pi/Desktop/images/19022025/17/11/image_19022025_17_11_57_10352.jpg
/home/pi/Desktop/images/19022025/17/11/image_19022025_17_12_07_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338694635","1338694629","1338694631","1338694625","1338694633","1338694627"],"photo_ids_order":["1338694625","1338694627","1338694629","1338694631","1338694633","1338694635"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ed8ed1fda8f239cf6f338036be60432f.jpg","text":"TemporaryFile(/tmp/multipartBody6088672285330790857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093164622,"filename":"image_19022025_17_12_07_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6c9a6080a3def76ce80345e94215a836.jpg","text":"TemporaryFile(/tmp/multipartBody5359973542715811582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093164622,"filename":"image_19022025_17_11_37_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/116cbf49abfa59aec4a025c6612fef8f.jpg","text":"TemporaryFile(/tmp/multipartBody4887187334607013193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093164622,"filename":"image_19022025_17_11_46_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0b9ca4851bcd7ea69a0f65c348f0ea67.jpg","text":"TemporaryFile(/tmp/multipartBody3407568880226266350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093164622,"filename":"image_19022025_17_11_07_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/313a2ecdb093a9a9b39275c0f3901528.jpg","text":"TemporaryFile(/tmp/multipartBody2084268986211546209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093164622,"filename":"image_19022025_17_11_57_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5e75360e5895445b3fede24317d6dc6f.jpg","text":"TemporaryFile(/tmp/multipartBody3057616998809058683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093164622,"filename":"image_19022025_17_11_27_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338694629","file1":"1338694627","file0":"1338694625","file4":"1338694633","file5":"1338694635","file3":"1338694631"},"map_files_photo_id_array":[{"photo_id":"1338694635","filename":"file5"},{"photo_id":"1338694629","filename":"file2"},{"photo_id":"1338694633","filename":"file4"},{"photo_id":"1338694627","filename":"file1"},{"photo_id":"1338694625","filename":"file0"},{"photo_id":"1338694631","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338694635":["hashtag1","hashtag2"]},{"1338694629":["hashtag1","hashtag2"]},{"1338694631":["hashtag1","hashtag2"]},{"1338694625":["hashtag1","hashtag2"]},{"1338694633":["hashtag1","hashtag2"]},{"1338694627":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338694635, 1338694629, 1338694631, 1338694625, 1338694633, 1338694627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19678854942322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:12:42.802029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/12/image_19022025_17_12_16_9312.jpg', '/home/pi/Desktop/images/19022025/17/12/image_19022025_17_12_27_10368.jpg', '/home/pi/Desktop/images/19022025/17/12/image_19022025_17_12_37_10320.jpg', '/home/pi/Desktop/images/19022025/17/12/image_19022025_17_12_46_9336.jpg', '/home/pi/Desktop/images/19022025/17/12/image_19022025_17_13_07_10323.jpg', '/home/pi/Desktop/images/19022025/17/13/image_19022025_17_13_16_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/12/image_19022025_17_12_16_9312.jpg
/home/pi/Desktop/images/19022025/17/12/image_19022025_17_12_27_10368.jpg
/home/pi/Desktop/images/19022025/17/12/image_19022025_17_12_37_10320.jpg
/home/pi/Desktop/images/19022025/17/12/image_19022025_17_12_46_9336.jpg
/home/pi/Desktop/images/19022025/17/12/image_19022025_17_13_07_10323.jpg
/home/pi/Desktop/images/19022025/17/13/image_19022025_17_13_16_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338694664","1338694658","1338694666","1338694660","1338694654","1338694662"],"photo_ids_order":["1338694654","1338694658","1338694660","1338694662","1338694664","1338694666"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7001b50476af84ca44cd19b430c1086a.jpg","text":"TemporaryFile(/tmp/multipartBody3277352325899230305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093224887,"filename":"image_19022025_17_13_07_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/38f0dc261152cee6965f6d36cb735a62.jpg","text":"TemporaryFile(/tmp/multipartBody1677832114333526117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093224887,"filename":"image_19022025_17_12_27_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/605b666bf9dec4cd484c1c7ef8009632.jpg","text":"TemporaryFile(/tmp/multipartBody2261175446192682494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093224887,"filename":"image_19022025_17_13_16_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/99aa286f71bd1a7afb46c9cbddc521ef.jpg","text":"TemporaryFile(/tmp/multipartBody1965787465132271488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093224887,"filename":"image_19022025_17_12_37_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fedf8f0cfeb2665fb3df4072e4c051a4.jpg","text":"TemporaryFile(/tmp/multipartBody2905176081272735327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093224887,"filename":"image_19022025_17_12_16_9312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6b419acbe6cef70d1f82af8a50f5d8d9.jpg","text":"TemporaryFile(/tmp/multipartBody7015433165675677988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093224887,"filename":"image_19022025_17_12_46_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338694660","file1":"1338694658","file0":"1338694654","file4":"1338694664","file5":"1338694666","file3":"1338694662"},"map_files_photo_id_array":[{"photo_id":"1338694666","filename":"file5"},{"photo_id":"1338694660","filename":"file2"},{"photo_id":"1338694664","filename":"file4"},{"photo_id":"1338694658","filename":"file1"},{"photo_id":"1338694654","filename":"file0"},{"photo_id":"1338694662","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338694664":["hashtag1","hashtag2"]},{"1338694658":["hashtag1","hashtag2"]},{"1338694666":["hashtag1","hashtag2"]},{"1338694660":["hashtag1","hashtag2"]},{"1338694654":["hashtag1","hashtag2"]},{"1338694662":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338694664, 1338694658, 1338694666, 1338694660, 1338694654, 1338694662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08426380157471 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:13:42.974472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/13/image_19022025_17_13_27_10327.jpg', '/home/pi/Desktop/images/19022025/17/13/image_19022025_17_13_36_9320.jpg', '/home/pi/Desktop/images/19022025/17/13/image_19022025_17_13_47_10486.jpg', '/home/pi/Desktop/images/19022025/17/13/image_19022025_17_13_57_10350.jpg', '/home/pi/Desktop/images/19022025/17/13/image_19022025_17_14_06_9319.jpg', '/home/pi/Desktop/images/19022025/17/14/image_19022025_17_14_17_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/13/image_19022025_17_13_27_10327.jpg
/home/pi/Desktop/images/19022025/17/13/image_19022025_17_13_36_9320.jpg
/home/pi/Desktop/images/19022025/17/13/image_19022025_17_13_47_10486.jpg
/home/pi/Desktop/images/19022025/17/13/image_19022025_17_13_57_10350.jpg
/home/pi/Desktop/images/19022025/17/13/image_19022025_17_14_06_9319.jpg
/home/pi/Desktop/images/19022025/17/14/image_19022025_17_14_17_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338694697","1338694700","1338694703","1338694695","1338694698","1338694692"],"photo_ids_order":["1338694692","1338694695","1338694697","1338694698","1338694700","1338694703"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0158fcb63d1de04331b7ddc3e576d786.jpg","text":"TemporaryFile(/tmp/multipartBody8047837182965173491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093285020,"filename":"image_19022025_17_13_47_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d8cbaf9a5e8d839e7c9554f7aae49019.jpg","text":"TemporaryFile(/tmp/multipartBody3761457188433717259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093285020,"filename":"image_19022025_17_14_06_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ad7670982ba30dd70442635768ad4e9.jpg","text":"TemporaryFile(/tmp/multipartBody912562800596378138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093285020,"filename":"image_19022025_17_14_17_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0cb0136321d4dff099717e846cc29cbf.jpg","text":"TemporaryFile(/tmp/multipartBody6455594777434556319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093285020,"filename":"image_19022025_17_13_36_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a0cbaaf80d2ec1b6e8c6cde8d736d42b.jpg","text":"TemporaryFile(/tmp/multipartBody5844372948861515286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093285020,"filename":"image_19022025_17_13_57_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a8222d36967b3d0b43285a3fe596237.jpg","text":"TemporaryFile(/tmp/multipartBody4450186187290554141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093285020,"filename":"image_19022025_17_13_27_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338694697","file1":"1338694695","file0":"1338694692","file4":"1338694700","file5":"1338694703","file3":"1338694698"},"map_files_photo_id_array":[{"photo_id":"1338694703","filename":"file5"},{"photo_id":"1338694697","filename":"file2"},{"photo_id":"1338694700","filename":"file4"},{"photo_id":"1338694695","filename":"file1"},{"photo_id":"1338694692","filename":"file0"},{"photo_id":"1338694698","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338694697":["hashtag1","hashtag2"]},{"1338694700":["hashtag1","hashtag2"]},{"1338694703":["hashtag1","hashtag2"]},{"1338694695":["hashtag1","hashtag2"]},{"1338694698":["hashtag1","hashtag2"]},{"1338694692":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338694697, 1338694700, 1338694703, 1338694695, 1338694698, 1338694692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73763346672058 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:14:42.126782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/14/image_19022025_17_14_27_10363.jpg', '/home/pi/Desktop/images/19022025/17/14/image_19022025_17_14_36_9387.jpg', '/home/pi/Desktop/images/19022025/17/14/image_19022025_17_14_47_10399.jpg', '/home/pi/Desktop/images/19022025/17/14/image_19022025_17_14_56_9318.jpg', '/home/pi/Desktop/images/19022025/17/14/image_19022025_17_15_06_10371.jpg', '/home/pi/Desktop/images/19022025/17/15/image_19022025_17_15_17_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/14/image_19022025_17_14_27_10363.jpg
/home/pi/Desktop/images/19022025/17/14/image_19022025_17_14_36_9387.jpg
/home/pi/Desktop/images/19022025/17/14/image_19022025_17_14_47_10399.jpg
/home/pi/Desktop/images/19022025/17/14/image_19022025_17_14_56_9318.jpg
/home/pi/Desktop/images/19022025/17/14/image_19022025_17_15_06_10371.jpg
/home/pi/Desktop/images/19022025/17/15/image_19022025_17_15_17_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338694728","1338694719","1338694721","1338694729","1338694723","1338694726"],"photo_ids_order":["1338694719","1338694721","1338694723","1338694726","1338694728","1338694729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b14634e20f58223920c5320948f4679d.jpg","text":"TemporaryFile(/tmp/multipartBody9058500062678235185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093344151,"filename":"image_19022025_17_15_06_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6da590f1a736058b9c3c418cc1cd88ba.jpg","text":"TemporaryFile(/tmp/multipartBody3441229872210651483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093344151,"filename":"image_19022025_17_14_27_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/516785ffb6cca1d7a3b37127bbc76c8d.jpg","text":"TemporaryFile(/tmp/multipartBody497751217033499141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093344151,"filename":"image_19022025_17_14_36_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c8db67b12c916d7e839d69461064e2de.jpg","text":"TemporaryFile(/tmp/multipartBody8071851064857880702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093344151,"filename":"image_19022025_17_15_17_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6beb67a537b929bb3ee665538d6377e2.jpg","text":"TemporaryFile(/tmp/multipartBody1422930854168884193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093344151,"filename":"image_19022025_17_14_47_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2dbe6e1441a8b05fa7f396b065ac57fb.jpg","text":"TemporaryFile(/tmp/multipartBody2355192030513560286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093344151,"filename":"image_19022025_17_14_56_9318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338694723","file1":"1338694721","file0":"1338694719","file4":"1338694728","file5":"1338694729","file3":"1338694726"},"map_files_photo_id_array":[{"photo_id":"1338694729","filename":"file5"},{"photo_id":"1338694723","filename":"file2"},{"photo_id":"1338694728","filename":"file4"},{"photo_id":"1338694721","filename":"file1"},{"photo_id":"1338694719","filename":"file0"},{"photo_id":"1338694726","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338694728":["hashtag1","hashtag2"]},{"1338694719":["hashtag1","hashtag2"]},{"1338694721":["hashtag1","hashtag2"]},{"1338694729":["hashtag1","hashtag2"]},{"1338694723":["hashtag1","hashtag2"]},{"1338694726":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338694728, 1338694719, 1338694721, 1338694729, 1338694723, 1338694726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95712471008301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:15:42.279280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/15/image_19022025_17_15_26_9331.jpg', '/home/pi/Desktop/images/19022025/17/15/image_19022025_17_15_36_10325.jpg', '/home/pi/Desktop/images/19022025/17/15/image_19022025_17_15_47_10344.jpg', '/home/pi/Desktop/images/19022025/17/15/image_19022025_17_15_56_9328.jpg', '/home/pi/Desktop/images/19022025/17/16/image_19022025_17_16_17_10366.jpg', '/home/pi/Desktop/images/19022025/17/16/image_19022025_17_16_26_9455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/15/image_19022025_17_15_26_9331.jpg
/home/pi/Desktop/images/19022025/17/15/image_19022025_17_15_36_10325.jpg
/home/pi/Desktop/images/19022025/17/15/image_19022025_17_15_47_10344.jpg
/home/pi/Desktop/images/19022025/17/15/image_19022025_17_15_56_9328.jpg
/home/pi/Desktop/images/19022025/17/16/image_19022025_17_16_17_10366.jpg
/home/pi/Desktop/images/19022025/17/16/image_19022025_17_16_26_9455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338694892","1338694754","1338694751","1338694894","1338694750","1338694927"],"photo_ids_order":["1338694750","1338694751","1338694754","1338694892","1338694894","1338694927"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ead962e89f33a378502bd71c577c6eaf.jpg","text":"TemporaryFile(/tmp/multipartBody8021746828107638065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093404299,"filename":"image_19022025_17_15_56_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a5d71ba6905949cfafbd70713124bc22.jpg","text":"TemporaryFile(/tmp/multipartBody3896808956063723340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093404299,"filename":"image_19022025_17_15_47_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dc78b4582efbdc06c12e1a6b265b7964.jpg","text":"TemporaryFile(/tmp/multipartBody8728566162883929188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093404299,"filename":"image_19022025_17_15_36_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e3b320394e2c164a422643755f13c251.jpg","text":"TemporaryFile(/tmp/multipartBody1730170063437624964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093404299,"filename":"image_19022025_17_16_17_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8bdd557e0057605e9ad2aec8c1880247.jpg","text":"TemporaryFile(/tmp/multipartBody2810753701367578037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093404299,"filename":"image_19022025_17_15_26_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/36d5d105448ef1af5589350136851dd3.jpg","text":"TemporaryFile(/tmp/multipartBody4734932284170337862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093404299,"filename":"image_19022025_17_16_26_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338694754","file1":"1338694751","file0":"1338694750","file4":"1338694894","file5":"1338694927","file3":"1338694892"},"map_files_photo_id_array":[{"photo_id":"1338694927","filename":"file5"},{"photo_id":"1338694754","filename":"file2"},{"photo_id":"1338694894","filename":"file4"},{"photo_id":"1338694751","filename":"file1"},{"photo_id":"1338694750","filename":"file0"},{"photo_id":"1338694892","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338694892":["hashtag1","hashtag2"]},{"1338694754":["hashtag1","hashtag2"]},{"1338694751":["hashtag1","hashtag2"]},{"1338694894":["hashtag1","hashtag2"]},{"1338694750":["hashtag1","hashtag2"]},{"1338694927":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338694892, 1338694754, 1338694751, 1338694894, 1338694750, 1338694927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53021550178528 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:16:42.469117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/16/image_19022025_17_16_37_10342.jpg', '/home/pi/Desktop/images/19022025/17/16/image_19022025_17_16_46_9394.jpg', '/home/pi/Desktop/images/19022025/17/16/image_19022025_17_17_07_10349.jpg', '/home/pi/Desktop/images/19022025/17/17/image_19022025_17_17_16_9330.jpg', '/home/pi/Desktop/images/19022025/17/17/image_19022025_17_17_27_10407.jpg', '/home/pi/Desktop/images/19022025/17/17/image_19022025_17_17_37_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/16/image_19022025_17_16_37_10342.jpg
/home/pi/Desktop/images/19022025/17/16/image_19022025_17_16_46_9394.jpg
/home/pi/Desktop/images/19022025/17/16/image_19022025_17_17_07_10349.jpg
/home/pi/Desktop/images/19022025/17/17/image_19022025_17_17_16_9330.jpg
/home/pi/Desktop/images/19022025/17/17/image_19022025_17_17_27_10407.jpg
/home/pi/Desktop/images/19022025/17/17/image_19022025_17_17_37_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338694996","1338694975","1338694999","1338694987","1338695002","1338694998"],"photo_ids_order":["1338694975","1338694987","1338694996","1338694998","1338694999","1338695002"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b20eabaa47b7ad24b80f2953dcdd042.jpg","text":"TemporaryFile(/tmp/multipartBody6898624829904222227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093464496,"filename":"image_19022025_17_17_07_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1195c43832b06cd7d9e0752134c2a93c.jpg","text":"TemporaryFile(/tmp/multipartBody610172545522687894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093464496,"filename":"image_19022025_17_16_37_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7f26bdf35795e0b6d9e4dc13d5d0fe77.jpg","text":"TemporaryFile(/tmp/multipartBody2534415947081938208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093464496,"filename":"image_19022025_17_17_27_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/987b7235022363e0c2e54486f0bfd520.jpg","text":"TemporaryFile(/tmp/multipartBody9006272541557840306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093464496,"filename":"image_19022025_17_16_46_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/73dd40f8b5fdc5ac886c90ee8594252d.jpg","text":"TemporaryFile(/tmp/multipartBody6896160522822518940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093464496,"filename":"image_19022025_17_17_37_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/71b0e42ddac39fa77d3d7a341178bb02.jpg","text":"TemporaryFile(/tmp/multipartBody8844168006301685436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093464496,"filename":"image_19022025_17_17_16_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338694996","file1":"1338694987","file0":"1338694975","file4":"1338694999","file5":"1338695002","file3":"1338694998"},"map_files_photo_id_array":[{"photo_id":"1338695002","filename":"file5"},{"photo_id":"1338694996","filename":"file2"},{"photo_id":"1338694999","filename":"file4"},{"photo_id":"1338694987","filename":"file1"},{"photo_id":"1338694975","filename":"file0"},{"photo_id":"1338694998","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338694996":["hashtag1","hashtag2"]},{"1338694975":["hashtag1","hashtag2"]},{"1338694999":["hashtag1","hashtag2"]},{"1338694987":["hashtag1","hashtag2"]},{"1338695002":["hashtag1","hashtag2"]},{"1338694998":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338694996, 1338694975, 1338694999, 1338694987, 1338695002, 1338694998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.94791769981384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:17:42.658334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/17/image_19022025_17_17_46_9385.jpg', '/home/pi/Desktop/images/19022025/17/17/image_19022025_17_17_57_10328.jpg', '/home/pi/Desktop/images/19022025/17/17/image_19022025_17_18_06_9319.jpg', '/home/pi/Desktop/images/19022025/17/18/image_19022025_17_18_16_10359.jpg', '/home/pi/Desktop/images/19022025/17/18/image_19022025_17_18_27_10323.jpg', '/home/pi/Desktop/images/19022025/17/18/image_19022025_17_18_36_9311.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/17/image_19022025_17_17_46_9385.jpg
/home/pi/Desktop/images/19022025/17/17/image_19022025_17_17_57_10328.jpg
/home/pi/Desktop/images/19022025/17/17/image_19022025_17_18_06_9319.jpg
/home/pi/Desktop/images/19022025/17/18/image_19022025_17_18_16_10359.jpg
/home/pi/Desktop/images/19022025/17/18/image_19022025_17_18_27_10323.jpg
/home/pi/Desktop/images/19022025/17/18/image_19022025_17_18_36_9311.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338695084","1338695093","1338695083","1338695032","1338695023","1338695043"],"photo_ids_order":["1338695023","1338695032","1338695043","1338695083","1338695084","1338695093"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d20be16af7db332d2b94450b9c258986.jpg","text":"TemporaryFile(/tmp/multipartBody6480912061903201776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093524684,"filename":"image_19022025_17_18_27_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a912caf714ee489f9e4f40649704d013.jpg","text":"TemporaryFile(/tmp/multipartBody7251790425728112093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093524684,"filename":"image_19022025_17_18_36_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3dd70f39561bcfdb2c0cd58229b10927.jpg","text":"TemporaryFile(/tmp/multipartBody2070805881534708049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093524684,"filename":"image_19022025_17_18_16_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d19da95e8fbfe116df4b1d45459f02da.jpg","text":"TemporaryFile(/tmp/multipartBody7422809767606049178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093524684,"filename":"image_19022025_17_17_57_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9106a87bbeaebde06abba37a761a909f.jpg","text":"TemporaryFile(/tmp/multipartBody7246198317116210363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093524684,"filename":"image_19022025_17_17_46_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/710404d6711bbadd2efd38ea36eaba69.jpg","text":"TemporaryFile(/tmp/multipartBody1667250151961856562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093524684,"filename":"image_19022025_17_18_06_9319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338695043","file1":"1338695032","file0":"1338695023","file4":"1338695084","file5":"1338695093","file3":"1338695083"},"map_files_photo_id_array":[{"photo_id":"1338695093","filename":"file5"},{"photo_id":"1338695043","filename":"file2"},{"photo_id":"1338695084","filename":"file4"},{"photo_id":"1338695032","filename":"file1"},{"photo_id":"1338695023","filename":"file0"},{"photo_id":"1338695083","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338695084":["hashtag1","hashtag2"]},{"1338695093":["hashtag1","hashtag2"]},{"1338695083":["hashtag1","hashtag2"]},{"1338695032":["hashtag1","hashtag2"]},{"1338695023":["hashtag1","hashtag2"]},{"1338695043":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338695084, 1338695093, 1338695083, 1338695032, 1338695023, 1338695043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46632170677185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:18:42.881429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/18/image_19022025_17_18_46_10397.jpg', '/home/pi/Desktop/images/19022025/17/18/image_19022025_17_18_57_10334.jpg', '/home/pi/Desktop/images/19022025/17/18/image_19022025_17_19_06_9326.jpg', '/home/pi/Desktop/images/19022025/17/19/image_19022025_17_19_17_10415.jpg', '/home/pi/Desktop/images/19022025/17/19/image_19022025_17_19_27_10335.jpg', '/home/pi/Desktop/images/19022025/17/19/image_19022025_17_19_36_9314.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/18/image_19022025_17_18_46_10397.jpg
/home/pi/Desktop/images/19022025/17/18/image_19022025_17_18_57_10334.jpg
/home/pi/Desktop/images/19022025/17/18/image_19022025_17_19_06_9326.jpg
/home/pi/Desktop/images/19022025/17/19/image_19022025_17_19_17_10415.jpg
/home/pi/Desktop/images/19022025/17/19/image_19022025_17_19_27_10335.jpg
/home/pi/Desktop/images/19022025/17/19/image_19022025_17_19_36_9314.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9383041858673096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:19:04.058662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/18/image_19022025_17_18_46_10397.jpg', '/home/pi/Desktop/images/19022025/17/18/image_19022025_17_18_57_10334.jpg', '/home/pi/Desktop/images/19022025/17/18/image_19022025_17_19_06_9326.jpg', '/home/pi/Desktop/images/19022025/17/19/image_19022025_17_19_17_10415.jpg', '/home/pi/Desktop/images/19022025/17/19/image_19022025_17_19_27_10335.jpg', '/home/pi/Desktop/images/19022025/17/19/image_19022025_17_19_36_9314.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/18/image_19022025_17_18_46_10397.jpg
/home/pi/Desktop/images/19022025/17/18/image_19022025_17_18_57_10334.jpg
/home/pi/Desktop/images/19022025/17/18/image_19022025_17_19_06_9326.jpg
/home/pi/Desktop/images/19022025/17/19/image_19022025_17_19_17_10415.jpg
/home/pi/Desktop/images/19022025/17/19/image_19022025_17_19_27_10335.jpg
/home/pi/Desktop/images/19022025/17/19/image_19022025_17_19_36_9314.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338695159","1338695185","1338695167","1338695155","1338695175","1338695157"],"photo_ids_order":["1338695155","1338695157","1338695159","1338695167","1338695175","1338695185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/858cf71495c61a455b82ed03a7143409.jpg","text":"TemporaryFile(/tmp/multipartBody3996040967070445619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093605342,"filename":"image_19022025_17_19_06_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2bb71db26427c6258cbe0d93c7ee4b6a.jpg","text":"TemporaryFile(/tmp/multipartBody1920793368240176434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093605342,"filename":"image_19022025_17_19_36_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a0f4872bd1bd376c62262ef28a98300b.jpg","text":"TemporaryFile(/tmp/multipartBody7057057478848260503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093605342,"filename":"image_19022025_17_19_17_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/912c9be873087cfa180f65fea27cfc51.jpg","text":"TemporaryFile(/tmp/multipartBody4722805232746713680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093605342,"filename":"image_19022025_17_18_46_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d5feee2b42070ef5c3102345a09dc2db.jpg","text":"TemporaryFile(/tmp/multipartBody6085422636812998050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093605342,"filename":"image_19022025_17_19_27_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0da22d390e25efe99907672b2687ae5f.jpg","text":"TemporaryFile(/tmp/multipartBody5499350960885066437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093605342,"filename":"image_19022025_17_18_57_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338695159","file1":"1338695157","file0":"1338695155","file4":"1338695175","file5":"1338695185","file3":"1338695167"},"map_files_photo_id_array":[{"photo_id":"1338695185","filename":"file5"},{"photo_id":"1338695159","filename":"file2"},{"photo_id":"1338695175","filename":"file4"},{"photo_id":"1338695157","filename":"file1"},{"photo_id":"1338695155","filename":"file0"},{"photo_id":"1338695167","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338695159":["hashtag1","hashtag2"]},{"1338695185":["hashtag1","hashtag2"]},{"1338695167":["hashtag1","hashtag2"]},{"1338695155":["hashtag1","hashtag2"]},{"1338695175":["hashtag1","hashtag2"]},{"1338695157":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338695159, 1338695185, 1338695167, 1338695155, 1338695175, 1338695157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48292636871338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:19:43.099243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/19/image_19022025_17_19_47_10355.jpg', '/home/pi/Desktop/images/19022025/17/19/image_19022025_17_19_57_10333.jpg', '/home/pi/Desktop/images/19022025/17/19/image_19022025_17_20_06_9349.jpg', '/home/pi/Desktop/images/19022025/17/20/image_19022025_17_20_17_10391.jpg', '/home/pi/Desktop/images/19022025/17/20/image_19022025_17_20_27_10317.jpg', '/home/pi/Desktop/images/19022025/17/20/image_19022025_17_20_36_9317.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/19/image_19022025_17_19_47_10355.jpg
/home/pi/Desktop/images/19022025/17/19/image_19022025_17_19_57_10333.jpg
/home/pi/Desktop/images/19022025/17/19/image_19022025_17_20_06_9349.jpg
/home/pi/Desktop/images/19022025/17/20/image_19022025_17_20_17_10391.jpg
/home/pi/Desktop/images/19022025/17/20/image_19022025_17_20_27_10317.jpg
/home/pi/Desktop/images/19022025/17/20/image_19022025_17_20_36_9317.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338695198","1338695218","1338695196","1338695209","1338695200","1338695217"],"photo_ids_order":["1338695196","1338695198","1338695200","1338695209","1338695217","1338695218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/51f5e6b4ae09db63b08f7045f59d1784.jpg","text":"TemporaryFile(/tmp/multipartBody8968364057536698808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093645239,"filename":"image_19022025_17_19_57_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd81d5603b1687d7e16f64d2dff90a76.jpg","text":"TemporaryFile(/tmp/multipartBody3453385577533674159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093645239,"filename":"image_19022025_17_20_36_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/08b34cae3facd1179f1751696879fac2.jpg","text":"TemporaryFile(/tmp/multipartBody4166591178095838640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093645239,"filename":"image_19022025_17_19_47_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa5241b905954c132efdff5a2ef5fa18.jpg","text":"TemporaryFile(/tmp/multipartBody8788961296028347760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093645239,"filename":"image_19022025_17_20_17_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce4c93e15f721bafbd77a13119a40a5c.jpg","text":"TemporaryFile(/tmp/multipartBody2974883401733030136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093645239,"filename":"image_19022025_17_20_06_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/58ad350f205cd7b6b47423cefec4b483.jpg","text":"TemporaryFile(/tmp/multipartBody6505721213896209730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093645239,"filename":"image_19022025_17_20_27_10317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338695200","file1":"1338695198","file0":"1338695196","file4":"1338695217","file5":"1338695218","file3":"1338695209"},"map_files_photo_id_array":[{"photo_id":"1338695218","filename":"file5"},{"photo_id":"1338695200","filename":"file2"},{"photo_id":"1338695217","filename":"file4"},{"photo_id":"1338695198","filename":"file1"},{"photo_id":"1338695196","filename":"file0"},{"photo_id":"1338695209","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338695198":["hashtag1","hashtag2"]},{"1338695218":["hashtag1","hashtag2"]},{"1338695196":["hashtag1","hashtag2"]},{"1338695209":["hashtag1","hashtag2"]},{"1338695200":["hashtag1","hashtag2"]},{"1338695217":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338695198, 1338695218, 1338695196, 1338695209, 1338695200, 1338695217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.670740365982056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:20:42.267400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/20/image_19022025_17_20_47_10452.jpg', '/home/pi/Desktop/images/19022025/17/20/image_19022025_17_20_57_10344.jpg', '/home/pi/Desktop/images/19022025/17/21/image_19022025_17_21_26_9339.jpg', '/home/pi/Desktop/images/19022025/17/21/image_19022025_17_21_36_10324.jpg', '/home/pi/Desktop/images/19022025/17/21/image_19022025_17_21_47_10329.jpg', '/home/pi/Desktop/images/19022025/17/21/image_19022025_17_22_06_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/20/image_19022025_17_20_47_10452.jpg
/home/pi/Desktop/images/19022025/17/20/image_19022025_17_20_57_10344.jpg
/home/pi/Desktop/images/19022025/17/21/image_19022025_17_21_26_9339.jpg
/home/pi/Desktop/images/19022025/17/21/image_19022025_17_21_36_10324.jpg
/home/pi/Desktop/images/19022025/17/21/image_19022025_17_21_47_10329.jpg
/home/pi/Desktop/images/19022025/17/21/image_19022025_17_22_06_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338695272","1338695275","1338695277","1338695265","1338695280","1338695262"],"photo_ids_order":["1338695262","1338695265","1338695272","1338695275","1338695277","1338695280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/105a37545bfc85a4a66457c052f7b251.jpg","text":"TemporaryFile(/tmp/multipartBody3302089437366277646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093704356,"filename":"image_19022025_17_21_26_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04d769fa89e5ac916bb0bb0dae9c5ffa.jpg","text":"TemporaryFile(/tmp/multipartBody1595722125227127363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093704356,"filename":"image_19022025_17_21_36_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f71637c64633e0380b2ad40c03f0aadb.jpg","text":"TemporaryFile(/tmp/multipartBody7976409972716450891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093704356,"filename":"image_19022025_17_21_47_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/96b613f97d4d6b936383046b91deb706.jpg","text":"TemporaryFile(/tmp/multipartBody8196657335878830724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093704356,"filename":"image_19022025_17_20_57_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8707d6c0cdb34cbc12359ab794ec8e25.jpg","text":"TemporaryFile(/tmp/multipartBody6686203526635363264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093704356,"filename":"image_19022025_17_22_06_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/205fcbe85e02146e5cc47e027958560d.jpg","text":"TemporaryFile(/tmp/multipartBody7041857753829981964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093704356,"filename":"image_19022025_17_20_47_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338695272","file1":"1338695265","file0":"1338695262","file4":"1338695277","file5":"1338695280","file3":"1338695275"},"map_files_photo_id_array":[{"photo_id":"1338695280","filename":"file5"},{"photo_id":"1338695272","filename":"file2"},{"photo_id":"1338695277","filename":"file4"},{"photo_id":"1338695265","filename":"file1"},{"photo_id":"1338695262","filename":"file0"},{"photo_id":"1338695275","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338695272":["hashtag1","hashtag2"]},{"1338695275":["hashtag1","hashtag2"]},{"1338695277":["hashtag1","hashtag2"]},{"1338695265":["hashtag1","hashtag2"]},{"1338695280":["hashtag1","hashtag2"]},{"1338695262":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338695272, 1338695275, 1338695277, 1338695265, 1338695280, 1338695262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24494504928589 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:21:42.488743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/22/image_19022025_17_22_17_10327.jpg', '/home/pi/Desktop/images/19022025/17/22/image_19022025_17_22_26_9321.jpg', '/home/pi/Desktop/images/19022025/17/22/image_19022025_17_22_37_10405.jpg', '/home/pi/Desktop/images/19022025/17/22/image_19022025_17_22_56_9463.jpg', '/home/pi/Desktop/images/19022025/17/22/image_19022025_17_23_07_10354.jpg', '/home/pi/Desktop/images/19022025/17/23/image_19022025_17_23_16_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/22/image_19022025_17_22_17_10327.jpg
/home/pi/Desktop/images/19022025/17/22/image_19022025_17_22_26_9321.jpg
/home/pi/Desktop/images/19022025/17/22/image_19022025_17_22_37_10405.jpg
/home/pi/Desktop/images/19022025/17/22/image_19022025_17_22_56_9463.jpg
/home/pi/Desktop/images/19022025/17/22/image_19022025_17_23_07_10354.jpg
/home/pi/Desktop/images/19022025/17/23/image_19022025_17_23_16_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338695306","1338695302","1338695305","1338695308","1338695313","1338695310"],"photo_ids_order":["1338695302","1338695305","1338695306","1338695308","1338695310","1338695313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c41c2362d3a9f8d70a7082c7e43eef7c.jpg","text":"TemporaryFile(/tmp/multipartBody4671538292869295409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093764517,"filename":"image_19022025_17_22_37_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/24a195f6d20c5904a9b4bff5300e14b9.jpg","text":"TemporaryFile(/tmp/multipartBody3415054183381931332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093764517,"filename":"image_19022025_17_22_17_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d3bf701ba77784b9055260041fcbe51b.jpg","text":"TemporaryFile(/tmp/multipartBody6105533567970642644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093764517,"filename":"image_19022025_17_22_26_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/49eea47f9897e230dddc6e300d4e99ca.jpg","text":"TemporaryFile(/tmp/multipartBody5114726348593346438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093764517,"filename":"image_19022025_17_22_56_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce5bfe1653cd00024263885a9b7fe1c2.jpg","text":"TemporaryFile(/tmp/multipartBody6667169059581866882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093764517,"filename":"image_19022025_17_23_16_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/09a7c048b2847b10e0f63a43071755be.jpg","text":"TemporaryFile(/tmp/multipartBody8431003631206517857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093764517,"filename":"image_19022025_17_23_07_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338695306","file1":"1338695305","file0":"1338695302","file4":"1338695310","file5":"1338695313","file3":"1338695308"},"map_files_photo_id_array":[{"photo_id":"1338695313","filename":"file5"},{"photo_id":"1338695306","filename":"file2"},{"photo_id":"1338695310","filename":"file4"},{"photo_id":"1338695305","filename":"file1"},{"photo_id":"1338695302","filename":"file0"},{"photo_id":"1338695308","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338695306":["hashtag1","hashtag2"]},{"1338695302":["hashtag1","hashtag2"]},{"1338695305":["hashtag1","hashtag2"]},{"1338695308":["hashtag1","hashtag2"]},{"1338695313":["hashtag1","hashtag2"]},{"1338695310":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338695306, 1338695302, 1338695305, 1338695308, 1338695313, 1338695310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.34678626060486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:22:42.672607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/23/image_19022025_17_23_27_10414.jpg', '/home/pi/Desktop/images/19022025/17/23/image_19022025_17_23_46_9341.jpg', '/home/pi/Desktop/images/19022025/17/23/image_19022025_17_23_57_10342.jpg', '/home/pi/Desktop/images/19022025/17/23/image_19022025_17_24_07_10331.jpg', '/home/pi/Desktop/images/19022025/17/24/image_19022025_17_24_16_9325.jpg', '/home/pi/Desktop/images/19022025/17/24/image_19022025_17_24_27_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/23/image_19022025_17_23_27_10414.jpg
/home/pi/Desktop/images/19022025/17/23/image_19022025_17_23_46_9341.jpg
/home/pi/Desktop/images/19022025/17/23/image_19022025_17_23_57_10342.jpg
/home/pi/Desktop/images/19022025/17/23/image_19022025_17_24_07_10331.jpg
/home/pi/Desktop/images/19022025/17/24/image_19022025_17_24_16_9325.jpg
/home/pi/Desktop/images/19022025/17/24/image_19022025_17_24_27_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338695335","1338695338","1338695358","1338695352","1338695355","1338695343"],"photo_ids_order":["1338695335","1338695338","1338695343","1338695352","1338695355","1338695358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8a4bef3a4acb5d5c9397230daa5aeb7.jpg","text":"TemporaryFile(/tmp/multipartBody6979966341509279515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093826432,"filename":"image_19022025_17_23_27_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bc9414ee8981d431bebbe74703c4dbaa.jpg","text":"TemporaryFile(/tmp/multipartBody5274422685417740769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093826432,"filename":"image_19022025_17_23_46_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/18a513916ed02caae37185605482407d.jpg","text":"TemporaryFile(/tmp/multipartBody4275232293184469066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093826432,"filename":"image_19022025_17_24_27_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a1f894d5632515d55566c7405c3a89b.jpg","text":"TemporaryFile(/tmp/multipartBody6626300943252732668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093826432,"filename":"image_19022025_17_24_07_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/933da1975f6ae0b459a497b64a99fde5.jpg","text":"TemporaryFile(/tmp/multipartBody2540624836623780891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093826432,"filename":"image_19022025_17_24_16_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a4c4a36a79f4e11ac5d86cfbeff23347.jpg","text":"TemporaryFile(/tmp/multipartBody2846872978859018805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093826432,"filename":"image_19022025_17_23_57_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338695343","file1":"1338695338","file0":"1338695335","file4":"1338695355","file5":"1338695358","file3":"1338695352"},"map_files_photo_id_array":[{"photo_id":"1338695358","filename":"file5"},{"photo_id":"1338695343","filename":"file2"},{"photo_id":"1338695355","filename":"file4"},{"photo_id":"1338695338","filename":"file1"},{"photo_id":"1338695335","filename":"file0"},{"photo_id":"1338695352","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338695335":["hashtag1","hashtag2"]},{"1338695338":["hashtag1","hashtag2"]},{"1338695358":["hashtag1","hashtag2"]},{"1338695352":["hashtag1","hashtag2"]},{"1338695355":["hashtag1","hashtag2"]},{"1338695343":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338695335, 1338695338, 1338695358, 1338695352, 1338695355, 1338695343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.535465240478516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:23:42.875256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/24/image_19022025_17_24_57_10388.jpg', '/home/pi/Desktop/images/19022025/17/24/image_19022025_17_25_06_9363.jpg', '/home/pi/Desktop/images/19022025/17/25/image_19022025_17_25_27_10399.jpg', '/home/pi/Desktop/images/19022025/17/25/image_19022025_17_25_47_10437.jpg', '/home/pi/Desktop/images/19022025/17/25/image_19022025_17_26_06_10427.jpg', '/home/pi/Desktop/images/19022025/17/26/image_19022025_17_26_17_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/24/image_19022025_17_24_57_10388.jpg
/home/pi/Desktop/images/19022025/17/24/image_19022025_17_25_06_9363.jpg
/home/pi/Desktop/images/19022025/17/25/image_19022025_17_25_27_10399.jpg
/home/pi/Desktop/images/19022025/17/25/image_19022025_17_25_47_10437.jpg
/home/pi/Desktop/images/19022025/17/25/image_19022025_17_26_06_10427.jpg
/home/pi/Desktop/images/19022025/17/26/image_19022025_17_26_17_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338695378","1338695372","1338695386","1338695380","1338695374","1338695376"],"photo_ids_order":["1338695372","1338695374","1338695376","1338695378","1338695380","1338695386"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5fa98447e83a73316c35ea291de9cf82.jpg","text":"TemporaryFile(/tmp/multipartBody8239389489904649778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093885043,"filename":"image_19022025_17_25_47_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5e02f647828e49c0b60c565ccc698afc.jpg","text":"TemporaryFile(/tmp/multipartBody5679530134621209949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093885043,"filename":"image_19022025_17_24_57_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f91c36e0380835442d5342c86a13049.jpg","text":"TemporaryFile(/tmp/multipartBody4442552800945072145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093885043,"filename":"image_19022025_17_26_17_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32f7ca75c57422b7519b45a2c953dac9.jpg","text":"TemporaryFile(/tmp/multipartBody3078481960263245645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093885043,"filename":"image_19022025_17_26_06_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aaf4e6e4dddea194041ad04608d0dcb9.jpg","text":"TemporaryFile(/tmp/multipartBody2996108038135556693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093885043,"filename":"image_19022025_17_25_06_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/130ce56a1343e6ddbc959ec5c15df4de.jpg","text":"TemporaryFile(/tmp/multipartBody4918990239524245182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093885043,"filename":"image_19022025_17_25_27_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338695376","file1":"1338695374","file0":"1338695372","file4":"1338695380","file5":"1338695386","file3":"1338695378"},"map_files_photo_id_array":[{"photo_id":"1338695386","filename":"file5"},{"photo_id":"1338695376","filename":"file2"},{"photo_id":"1338695380","filename":"file4"},{"photo_id":"1338695374","filename":"file1"},{"photo_id":"1338695372","filename":"file0"},{"photo_id":"1338695378","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338695378":["hashtag1","hashtag2"]},{"1338695372":["hashtag1","hashtag2"]},{"1338695386":["hashtag1","hashtag2"]},{"1338695380":["hashtag1","hashtag2"]},{"1338695374":["hashtag1","hashtag2"]},{"1338695376":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338695378, 1338695372, 1338695386, 1338695380, 1338695374, 1338695376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96853756904602 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:24:43.186201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/26/image_19022025_17_26_26_9330.jpg', '/home/pi/Desktop/images/19022025/17/26/image_19022025_17_26_36_10333.jpg', '/home/pi/Desktop/images/19022025/17/26/image_19022025_17_26_47_10356.jpg', '/home/pi/Desktop/images/19022025/17/26/image_19022025_17_26_56_9399.jpg', '/home/pi/Desktop/images/19022025/17/26/image_19022025_17_27_07_10350.jpg', '/home/pi/Desktop/images/19022025/17/27/image_19022025_17_27_17_10327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/26/image_19022025_17_26_26_9330.jpg
/home/pi/Desktop/images/19022025/17/26/image_19022025_17_26_36_10333.jpg
/home/pi/Desktop/images/19022025/17/26/image_19022025_17_26_47_10356.jpg
/home/pi/Desktop/images/19022025/17/26/image_19022025_17_26_56_9399.jpg
/home/pi/Desktop/images/19022025/17/26/image_19022025_17_27_07_10350.jpg
/home/pi/Desktop/images/19022025/17/27/image_19022025_17_27_17_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338695453","1338695438","1338695429","1338695449","1338695440","1338695419"],"photo_ids_order":["1338695419","1338695429","1338695438","1338695440","1338695449","1338695453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e87a2c77f7c6b0a634741341d1fdb844.jpg","text":"TemporaryFile(/tmp/multipartBody3977668221941659843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093945540,"filename":"image_19022025_17_27_17_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1a5d7334643f99136367bf3d3b8c46f7.jpg","text":"TemporaryFile(/tmp/multipartBody2169818475715238590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093945540,"filename":"image_19022025_17_26_47_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e307ad69b3da9887beb37d50ec5e0fa5.jpg","text":"TemporaryFile(/tmp/multipartBody4228338599240816734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093945540,"filename":"image_19022025_17_26_36_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/064d58860dab86a7ae372b81db9d4791.jpg","text":"TemporaryFile(/tmp/multipartBody1192384543964621416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093945540,"filename":"image_19022025_17_27_07_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8e0e935f77f2d74465028c3bcde7a22d.jpg","text":"TemporaryFile(/tmp/multipartBody4007706570914792428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093945540,"filename":"image_19022025_17_26_56_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4c13cab1f47e7e9ae763aaf0aa3a1e88.jpg","text":"TemporaryFile(/tmp/multipartBody5953653870986538727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740093945540,"filename":"image_19022025_17_26_26_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338695438","file1":"1338695429","file0":"1338695419","file4":"1338695449","file5":"1338695453","file3":"1338695440"},"map_files_photo_id_array":[{"photo_id":"1338695453","filename":"file5"},{"photo_id":"1338695438","filename":"file2"},{"photo_id":"1338695449","filename":"file4"},{"photo_id":"1338695429","filename":"file1"},{"photo_id":"1338695419","filename":"file0"},{"photo_id":"1338695440","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338695453":["hashtag1","hashtag2"]},{"1338695438":["hashtag1","hashtag2"]},{"1338695429":["hashtag1","hashtag2"]},{"1338695449":["hashtag1","hashtag2"]},{"1338695440":["hashtag1","hashtag2"]},{"1338695419":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338695453, 1338695438, 1338695429, 1338695449, 1338695440, 1338695419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.426870584487915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:25:42.386021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/27/image_19022025_17_27_26_9326.jpg', '/home/pi/Desktop/images/19022025/17/27/image_19022025_17_27_37_10391.jpg', '/home/pi/Desktop/images/19022025/17/27/image_19022025_17_27_47_10352.jpg', '/home/pi/Desktop/images/19022025/17/27/image_19022025_17_27_56_9371.jpg', '/home/pi/Desktop/images/19022025/17/27/image_19022025_17_28_07_10332.jpg', '/home/pi/Desktop/images/19022025/17/28/image_19022025_17_28_16_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/27/image_19022025_17_27_26_9326.jpg
/home/pi/Desktop/images/19022025/17/27/image_19022025_17_27_37_10391.jpg
/home/pi/Desktop/images/19022025/17/27/image_19022025_17_27_47_10352.jpg
/home/pi/Desktop/images/19022025/17/27/image_19022025_17_27_56_9371.jpg
/home/pi/Desktop/images/19022025/17/27/image_19022025_17_28_07_10332.jpg
/home/pi/Desktop/images/19022025/17/28/image_19022025_17_28_16_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338695531","1338695528","1338695524","1338695526","1338695520","1338695523"],"photo_ids_order":["1338695520","1338695523","1338695524","1338695526","1338695528","1338695531"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/30293d8b896eaf779e43ff68ac7ded98.jpg","text":"TemporaryFile(/tmp/multipartBody1367171418493120325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094004666,"filename":"image_19022025_17_28_16_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aa5782f0f16c5bc18ba7ddd9471cbc5a.jpg","text":"TemporaryFile(/tmp/multipartBody169116526054260139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094004666,"filename":"image_19022025_17_28_07_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/158ba4bf26c449b4b88afb10cee30988.jpg","text":"TemporaryFile(/tmp/multipartBody4744181861160031390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094004666,"filename":"image_19022025_17_27_47_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/500f89a14f47b9592fb241afbbfcd076.jpg","text":"TemporaryFile(/tmp/multipartBody7336248608966583319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094004666,"filename":"image_19022025_17_27_56_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06377ccfb00dce4279f42098d9b9cfd5.jpg","text":"TemporaryFile(/tmp/multipartBody6316484741079052125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094004666,"filename":"image_19022025_17_27_26_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d600d1e21ce4cbdd8685ec52095c09b.jpg","text":"TemporaryFile(/tmp/multipartBody2660303488538566764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094004666,"filename":"image_19022025_17_27_37_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338695524","file1":"1338695523","file0":"1338695520","file4":"1338695528","file5":"1338695531","file3":"1338695526"},"map_files_photo_id_array":[{"photo_id":"1338695531","filename":"file5"},{"photo_id":"1338695524","filename":"file2"},{"photo_id":"1338695528","filename":"file4"},{"photo_id":"1338695523","filename":"file1"},{"photo_id":"1338695520","filename":"file0"},{"photo_id":"1338695526","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338695531":["hashtag1","hashtag2"]},{"1338695528":["hashtag1","hashtag2"]},{"1338695524":["hashtag1","hashtag2"]},{"1338695526":["hashtag1","hashtag2"]},{"1338695520":["hashtag1","hashtag2"]},{"1338695523":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338695531, 1338695528, 1338695524, 1338695526, 1338695520, 1338695523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52127718925476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:26:42.617433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/28/image_19022025_17_28_27_10424.jpg', '/home/pi/Desktop/images/19022025/17/28/image_19022025_17_28_37_10353.jpg', '/home/pi/Desktop/images/19022025/17/28/image_19022025_17_28_46_9355.jpg', '/home/pi/Desktop/images/19022025/17/28/image_19022025_17_28_57_10337.jpg', '/home/pi/Desktop/images/19022025/17/28/image_19022025_17_29_07_10321.jpg', '/home/pi/Desktop/images/19022025/17/29/image_19022025_17_29_16_9321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/28/image_19022025_17_28_27_10424.jpg
/home/pi/Desktop/images/19022025/17/28/image_19022025_17_28_37_10353.jpg
/home/pi/Desktop/images/19022025/17/28/image_19022025_17_28_46_9355.jpg
/home/pi/Desktop/images/19022025/17/28/image_19022025_17_28_57_10337.jpg
/home/pi/Desktop/images/19022025/17/28/image_19022025_17_29_07_10321.jpg
/home/pi/Desktop/images/19022025/17/29/image_19022025_17_29_16_9321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338695552","1338695555","1338695554","1338695550","1338695544","1338695547"],"photo_ids_order":["1338695544","1338695547","1338695550","1338695552","1338695554","1338695555"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a8b8d33d6edd00c55885aede28863d9a.jpg","text":"TemporaryFile(/tmp/multipartBody6432030230854495428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094064640,"filename":"image_19022025_17_28_57_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c2cfaff2640c995414862bda20e8684.jpg","text":"TemporaryFile(/tmp/multipartBody1740148458416567409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094064640,"filename":"image_19022025_17_29_16_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f5e407a3101a8f2cd880e406060bcd27.jpg","text":"TemporaryFile(/tmp/multipartBody3005124051374676402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094064640,"filename":"image_19022025_17_29_07_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74b35fc28b52d71a047377e2a30db318.jpg","text":"TemporaryFile(/tmp/multipartBody645264560803555579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094064640,"filename":"image_19022025_17_28_46_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e0d40410aeec7a61032624192386303a.jpg","text":"TemporaryFile(/tmp/multipartBody947169638766569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094064640,"filename":"image_19022025_17_28_27_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/065e0f94774a3b04fefc23e3146168bf.jpg","text":"TemporaryFile(/tmp/multipartBody5862485951194808023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094064640,"filename":"image_19022025_17_28_37_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338695550","file1":"1338695547","file0":"1338695544","file4":"1338695554","file5":"1338695555","file3":"1338695552"},"map_files_photo_id_array":[{"photo_id":"1338695555","filename":"file5"},{"photo_id":"1338695550","filename":"file2"},{"photo_id":"1338695554","filename":"file4"},{"photo_id":"1338695547","filename":"file1"},{"photo_id":"1338695544","filename":"file0"},{"photo_id":"1338695552","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338695552":["hashtag1","hashtag2"]},{"1338695555":["hashtag1","hashtag2"]},{"1338695554":["hashtag1","hashtag2"]},{"1338695550":["hashtag1","hashtag2"]},{"1338695544":["hashtag1","hashtag2"]},{"1338695547":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338695552, 1338695555, 1338695554, 1338695550, 1338695544, 1338695547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25265169143677 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:27:42.772861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/29/image_19022025_17_29_27_10443.jpg', '/home/pi/Desktop/images/19022025/17/29/image_19022025_17_29_37_10339.jpg', '/home/pi/Desktop/images/19022025/17/29/image_19022025_17_29_57_10326.jpg', '/home/pi/Desktop/images/19022025/17/29/image_19022025_17_30_06_9384.jpg', '/home/pi/Desktop/images/19022025/17/30/image_19022025_17_30_36_9310.jpg', '/home/pi/Desktop/images/19022025/17/30/image_19022025_17_30_47_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/29/image_19022025_17_29_27_10443.jpg
/home/pi/Desktop/images/19022025/17/29/image_19022025_17_29_37_10339.jpg
/home/pi/Desktop/images/19022025/17/29/image_19022025_17_29_57_10326.jpg
/home/pi/Desktop/images/19022025/17/29/image_19022025_17_30_06_9384.jpg
/home/pi/Desktop/images/19022025/17/30/image_19022025_17_30_36_9310.jpg
/home/pi/Desktop/images/19022025/17/30/image_19022025_17_30_47_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338695567","1338695584","1338695587","1338695580","1338695583","1338695570"],"photo_ids_order":["1338695567","1338695570","1338695580","1338695583","1338695584","1338695587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8bd78abc6a7a590828a23c4229c44ccc.jpg","text":"TemporaryFile(/tmp/multipartBody4318783166490240469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094124818,"filename":"image_19022025_17_29_27_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3cea2da304694e76928602d0cc9a671.jpg","text":"TemporaryFile(/tmp/multipartBody6264949295282580273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094124818,"filename":"image_19022025_17_30_36_9310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/989b9995f0e886ff7a6ff94309d4a081.jpg","text":"TemporaryFile(/tmp/multipartBody6223337187757296561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094124818,"filename":"image_19022025_17_30_47_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/82287839923efbd683b1d6a3238ccf12.jpg","text":"TemporaryFile(/tmp/multipartBody4257498225386399447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094124818,"filename":"image_19022025_17_29_57_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/de30fb2ee3a6329ebb4eec4cf589dd65.jpg","text":"TemporaryFile(/tmp/multipartBody6832314563667951972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094124818,"filename":"image_19022025_17_30_06_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c63bddf06491da9a03440ef500982372.jpg","text":"TemporaryFile(/tmp/multipartBody7829142198473371481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094124818,"filename":"image_19022025_17_29_37_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338695580","file1":"1338695570","file0":"1338695567","file4":"1338695584","file5":"1338695587","file3":"1338695583"},"map_files_photo_id_array":[{"photo_id":"1338695587","filename":"file5"},{"photo_id":"1338695580","filename":"file2"},{"photo_id":"1338695584","filename":"file4"},{"photo_id":"1338695570","filename":"file1"},{"photo_id":"1338695567","filename":"file0"},{"photo_id":"1338695583","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338695567":["hashtag1","hashtag2"]},{"1338695584":["hashtag1","hashtag2"]},{"1338695587":["hashtag1","hashtag2"]},{"1338695580":["hashtag1","hashtag2"]},{"1338695583":["hashtag1","hashtag2"]},{"1338695570":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338695567, 1338695584, 1338695587, 1338695580, 1338695583, 1338695570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05588388442993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-21 00:28:43.001703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/30/image_19022025_17_30_57_10329.jpg', '/home/pi/Desktop/images/19022025/17/30/image_19022025_17_31_06_9348.jpg', '/home/pi/Desktop/images/19022025/17/31/image_19022025_17_31_17_10340.jpg', '/home/pi/Desktop/images/19022025/17/31/image_19022025_17_31_26_9428.jpg', '/home/pi/Desktop/images/19022025/17/31/image_19022025_17_31_36_10365.jpg', '/home/pi/Desktop/images/19022025/17/31/image_19022025_17_31_47_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/30/image_19022025_17_30_57_10329.jpg
/home/pi/Desktop/images/19022025/17/30/image_19022025_17_31_06_9348.jpg
/home/pi/Desktop/images/19022025/17/31/image_19022025_17_31_17_10340.jpg
/home/pi/Desktop/images/19022025/17/31/image_19022025_17_31_26_9428.jpg
/home/pi/Desktop/images/19022025/17/31/image_19022025_17_31_36_10365.jpg
/home/pi/Desktop/images/19022025/17/31/image_19022025_17_31_47_10359.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338695732","1338695743","1338695716","1338695736","1338695745","1338695724"],"photo_ids_order":["1338695716","1338695724","1338695732","1338695736","1338695743","1338695745"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b3fdbdf522e8fb64dd8beae3ff0c65b3.jpg","text":"TemporaryFile(/tmp/multipartBody6774742566053565650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094185051,"filename":"image_19022025_17_31_17_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/89030c3be25b6e9151b10c737895fa37.jpg","text":"TemporaryFile(/tmp/multipartBody7980524060425332217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094185051,"filename":"image_19022025_17_31_36_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1fc73a6ae5765aed2a4d3558f256748b.jpg","text":"TemporaryFile(/tmp/multipartBody1060353210427780430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094185051,"filename":"image_19022025_17_30_57_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a9ecd9becbcbca05f648c6bb804b24aa.jpg","text":"TemporaryFile(/tmp/multipartBody6980632215966351379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094185051,"filename":"image_19022025_17_31_26_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8e0f99d909ae851f70a1e7ae95b3031a.jpg","text":"TemporaryFile(/tmp/multipartBody4612439859828449593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094185051,"filename":"image_19022025_17_31_47_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b8d88a01d20bea468df16b85106f4b84.jpg","text":"TemporaryFile(/tmp/multipartBody4738722400532584457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094185051,"filename":"image_19022025_17_31_06_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338695732","file1":"1338695724","file0":"1338695716","file4":"1338695743","file5":"1338695745","file3":"1338695736"},"map_files_photo_id_array":[{"photo_id":"1338695745","filename":"file5"},{"photo_id":"1338695732","filename":"file2"},{"photo_id":"1338695743","filename":"file4"},{"photo_id":"1338695724","filename":"file1"},{"photo_id":"1338695716","filename":"file0"},{"photo_id":"1338695736","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338695732":["hashtag1","hashtag2"]},{"1338695743":["hashtag1","hashtag2"]},{"1338695716":["hashtag1","hashtag2"]},{"1338695736":["hashtag1","hashtag2"]},{"1338695745":["hashtag1","hashtag2"]},{"1338695724":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338695732, 1338695743, 1338695716, 1338695736, 1338695745, 1338695724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29815101623535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:30:02.803731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/31/image_19022025_17_31_56_9326.jpg', '/home/pi/Desktop/images/19022025/17/31/image_19022025_17_32_06_10388.jpg', '/home/pi/Desktop/images/19022025/17/32/image_19022025_17_32_17_10327.jpg', '/home/pi/Desktop/images/19022025/17/32/image_19022025_17_32_26_9332.jpg', '/home/pi/Desktop/images/19022025/17/32/image_19022025_17_32_37_10384.jpg', '/home/pi/Desktop/images/19022025/17/32/image_19022025_17_32_47_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/31/image_19022025_17_31_56_9326.jpg
/home/pi/Desktop/images/19022025/17/31/image_19022025_17_32_06_10388.jpg
/home/pi/Desktop/images/19022025/17/32/image_19022025_17_32_17_10327.jpg
/home/pi/Desktop/images/19022025/17/32/image_19022025_17_32_26_9332.jpg
/home/pi/Desktop/images/19022025/17/32/image_19022025_17_32_37_10384.jpg
/home/pi/Desktop/images/19022025/17/32/image_19022025_17_32_47_10347.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338695825","1338695779","1338695926","1338696141","1338695781","1338695987"],"photo_ids_order":["1338695779","1338695781","1338695825","1338695926","1338695987","1338696141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/68610945c6912910de15e1197fdfed37.jpg","text":"TemporaryFile(/tmp/multipartBody5528836049001325447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094264000,"filename":"image_19022025_17_32_17_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a9445a062e5136380d8e9024e8fe9866.jpg","text":"TemporaryFile(/tmp/multipartBody863321481267363119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094264000,"filename":"image_19022025_17_31_56_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c998ee04d4ed75e636558a3dcb1f57a9.jpg","text":"TemporaryFile(/tmp/multipartBody3646341098036507802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094264000,"filename":"image_19022025_17_32_26_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b0c8997639701af12926ef4095fced36.jpg","text":"TemporaryFile(/tmp/multipartBody9164760361898907694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094264000,"filename":"image_19022025_17_32_47_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dfeaa9e8c590e186ad94e2309e9548ec.jpg","text":"TemporaryFile(/tmp/multipartBody4256474388875100216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094264000,"filename":"image_19022025_17_32_06_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c95abf67ee0a28d7c23e4cd1aef443a.jpg","text":"TemporaryFile(/tmp/multipartBody1723837863093774450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094264000,"filename":"image_19022025_17_32_37_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338695825","file1":"1338695781","file0":"1338695779","file4":"1338695987","file5":"1338696141","file3":"1338695926"},"map_files_photo_id_array":[{"photo_id":"1338696141","filename":"file5"},{"photo_id":"1338695825","filename":"file2"},{"photo_id":"1338695987","filename":"file4"},{"photo_id":"1338695781","filename":"file1"},{"photo_id":"1338695779","filename":"file0"},{"photo_id":"1338695926","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338695825":["hashtag1","hashtag2"]},{"1338695779":["hashtag1","hashtag2"]},{"1338695926":["hashtag1","hashtag2"]},{"1338696141":["hashtag1","hashtag2"]},{"1338695781":["hashtag1","hashtag2"]},{"1338695987":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338695825, 1338695779, 1338695926, 1338696141, 1338695781, 1338695987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.58637237548828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:31:03.938339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/32/image_19022025_17_32_56_9309.jpg', '/home/pi/Desktop/images/19022025/17/32/image_19022025_17_33_07_10373.jpg', '/home/pi/Desktop/images/19022025/17/33/image_19022025_17_33_17_10329.jpg', '/home/pi/Desktop/images/19022025/17/33/image_19022025_17_33_26_9323.jpg', '/home/pi/Desktop/images/19022025/17/33/image_19022025_17_33_37_10401.jpg', '/home/pi/Desktop/images/19022025/17/33/image_19022025_17_33_56_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/32/image_19022025_17_32_56_9309.jpg
/home/pi/Desktop/images/19022025/17/32/image_19022025_17_33_07_10373.jpg
/home/pi/Desktop/images/19022025/17/33/image_19022025_17_33_17_10329.jpg
/home/pi/Desktop/images/19022025/17/33/image_19022025_17_33_26_9323.jpg
/home/pi/Desktop/images/19022025/17/33/image_19022025_17_33_37_10401.jpg
/home/pi/Desktop/images/19022025/17/33/image_19022025_17_33_56_9427.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338696905","1338696809","1338696690","1338696616","1338696998","1338697082"],"photo_ids_order":["1338696616","1338696690","1338696809","1338696905","1338696998","1338697082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1263d2d05ac7a0c4671cf29f71eae65.jpg","text":"TemporaryFile(/tmp/multipartBody7667478729193712167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094328388,"filename":"image_19022025_17_33_26_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/440ad483d4530fa0364e3506af4c9238.jpg","text":"TemporaryFile(/tmp/multipartBody1131958529300961729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094328388,"filename":"image_19022025_17_33_17_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f2654fd7dbcd40f00450133fddd7c2f7.jpg","text":"TemporaryFile(/tmp/multipartBody2512082985059873582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094328388,"filename":"image_19022025_17_33_07_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74b11847a19b0afe96bd007c6a3bd3a8.jpg","text":"TemporaryFile(/tmp/multipartBody7276096005693805094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094328388,"filename":"image_19022025_17_32_56_9309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f49a2716ee9d157ddb6796f3e23662c.jpg","text":"TemporaryFile(/tmp/multipartBody6721287454262984224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094328388,"filename":"image_19022025_17_33_37_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02ba5a4b0485b6a29ba3296e4ab3005c.jpg","text":"TemporaryFile(/tmp/multipartBody7990984116085626399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094328388,"filename":"image_19022025_17_33_56_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338696809","file1":"1338696690","file0":"1338696616","file4":"1338696998","file5":"1338697082","file3":"1338696905"},"map_files_photo_id_array":[{"photo_id":"1338697082","filename":"file5"},{"photo_id":"1338696809","filename":"file2"},{"photo_id":"1338696998","filename":"file4"},{"photo_id":"1338696690","filename":"file1"},{"photo_id":"1338696616","filename":"file0"},{"photo_id":"1338696905","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338696905":["hashtag1","hashtag2"]},{"1338696809":["hashtag1","hashtag2"]},{"1338696690":["hashtag1","hashtag2"]},{"1338696616":["hashtag1","hashtag2"]},{"1338696998":["hashtag1","hashtag2"]},{"1338697082":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338696905, 1338696809, 1338696690, 1338696616, 1338696998, 1338697082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75545120239258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:32:03.110789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/33/image_19022025_17_34_07_10361.jpg', '/home/pi/Desktop/images/19022025/17/34/image_19022025_17_34_16_9321.jpg', '/home/pi/Desktop/images/19022025/17/34/image_19022025_17_34_27_10453.jpg', '/home/pi/Desktop/images/19022025/17/34/image_19022025_17_34_37_10335.jpg', '/home/pi/Desktop/images/19022025/17/34/image_19022025_17_34_46_9345.jpg', '/home/pi/Desktop/images/19022025/17/34/image_19022025_17_34_57_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/33/image_19022025_17_34_07_10361.jpg
/home/pi/Desktop/images/19022025/17/34/image_19022025_17_34_16_9321.jpg
/home/pi/Desktop/images/19022025/17/34/image_19022025_17_34_27_10453.jpg
/home/pi/Desktop/images/19022025/17/34/image_19022025_17_34_37_10335.jpg
/home/pi/Desktop/images/19022025/17/34/image_19022025_17_34_46_9345.jpg
/home/pi/Desktop/images/19022025/17/34/image_19022025_17_34_57_10346.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338697360","1338697339","1338697315","1338697323","1338697346","1338697328"],"photo_ids_order":["1338697315","1338697323","1338697328","1338697339","1338697346","1338697360"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a0449973e00c3ea5902e2f6ccd1b6d3.jpg","text":"TemporaryFile(/tmp/multipartBody6792734894236524216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094384327,"filename":"image_19022025_17_34_57_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/48adc55879f9f448990624d975275d5a.jpg","text":"TemporaryFile(/tmp/multipartBody7503752011832833384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094384327,"filename":"image_19022025_17_34_37_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/757d052391e6590d0ab0c438f7ede125.jpg","text":"TemporaryFile(/tmp/multipartBody8947474834489305650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094384327,"filename":"image_19022025_17_34_07_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ccf9ac07b464fdd6ab7f9b3ea5ef4bdc.jpg","text":"TemporaryFile(/tmp/multipartBody4979244427766699678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094384327,"filename":"image_19022025_17_34_16_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aae472f80fc6af651927325decc61d9e.jpg","text":"TemporaryFile(/tmp/multipartBody1444024676329616457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094384327,"filename":"image_19022025_17_34_46_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef0328bfe3a80dbb83d1ad1ded68cc0a.jpg","text":"TemporaryFile(/tmp/multipartBody5486001685250179896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094384327,"filename":"image_19022025_17_34_27_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338697328","file1":"1338697323","file0":"1338697315","file4":"1338697346","file5":"1338697360","file3":"1338697339"},"map_files_photo_id_array":[{"photo_id":"1338697360","filename":"file5"},{"photo_id":"1338697328","filename":"file2"},{"photo_id":"1338697346","filename":"file4"},{"photo_id":"1338697323","filename":"file1"},{"photo_id":"1338697315","filename":"file0"},{"photo_id":"1338697339","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338697360":["hashtag1","hashtag2"]},{"1338697339":["hashtag1","hashtag2"]},{"1338697315":["hashtag1","hashtag2"]},{"1338697323":["hashtag1","hashtag2"]},{"1338697346":["hashtag1","hashtag2"]},{"1338697328":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338697360, 1338697339, 1338697315, 1338697323, 1338697346, 1338697328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95868968963623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:33:04.143591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/34/image_19022025_17_35_07_10338.jpg', '/home/pi/Desktop/images/19022025/17/35/image_19022025_17_35_16_9312.jpg', '/home/pi/Desktop/images/19022025/17/35/image_19022025_17_35_27_10340.jpg', '/home/pi/Desktop/images/19022025/17/35/image_19022025_17_35_37_10343.jpg', '/home/pi/Desktop/images/19022025/17/35/image_19022025_17_35_46_9328.jpg', '/home/pi/Desktop/images/19022025/17/35/image_19022025_17_35_57_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/34/image_19022025_17_35_07_10338.jpg
/home/pi/Desktop/images/19022025/17/35/image_19022025_17_35_16_9312.jpg
/home/pi/Desktop/images/19022025/17/35/image_19022025_17_35_27_10340.jpg
/home/pi/Desktop/images/19022025/17/35/image_19022025_17_35_37_10343.jpg
/home/pi/Desktop/images/19022025/17/35/image_19022025_17_35_46_9328.jpg
/home/pi/Desktop/images/19022025/17/35/image_19022025_17_35_57_10333.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338697693","1338697567","1338697644","1338697626","1338697641","1338697649"],"photo_ids_order":["1338697567","1338697626","1338697641","1338697644","1338697649","1338697693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7073fcd60f2dface738a774a50b407b7.jpg","text":"TemporaryFile(/tmp/multipartBody7814509990189170114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094445473,"filename":"image_19022025_17_35_57_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83c946ae9109ce2e106cc05b240a9681.jpg","text":"TemporaryFile(/tmp/multipartBody6859484593732146055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094445473,"filename":"image_19022025_17_35_07_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/76f09cafc08406dd696d008fb0c2eb41.jpg","text":"TemporaryFile(/tmp/multipartBody1541949674875859277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094445473,"filename":"image_19022025_17_35_37_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5d30d67985950dff128067063624e20a.jpg","text":"TemporaryFile(/tmp/multipartBody741602186970513081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094445473,"filename":"image_19022025_17_35_16_9312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4484256dceee7897435a43f939d689c8.jpg","text":"TemporaryFile(/tmp/multipartBody318242897469191545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094445473,"filename":"image_19022025_17_35_27_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f60a4726670e70aa0b16605bbb79c876.jpg","text":"TemporaryFile(/tmp/multipartBody8208349029758212415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094445473,"filename":"image_19022025_17_35_46_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338697641","file1":"1338697626","file0":"1338697567","file4":"1338697649","file5":"1338697693","file3":"1338697644"},"map_files_photo_id_array":[{"photo_id":"1338697693","filename":"file5"},{"photo_id":"1338697641","filename":"file2"},{"photo_id":"1338697649","filename":"file4"},{"photo_id":"1338697626","filename":"file1"},{"photo_id":"1338697567","filename":"file0"},{"photo_id":"1338697644","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338697693":["hashtag1","hashtag2"]},{"1338697567":["hashtag1","hashtag2"]},{"1338697644":["hashtag1","hashtag2"]},{"1338697626":["hashtag1","hashtag2"]},{"1338697641":["hashtag1","hashtag2"]},{"1338697649":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338697693, 1338697567, 1338697644, 1338697626, 1338697641, 1338697649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4781219959259 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:34:03.128461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/35/image_19022025_17_36_07_10331.jpg', '/home/pi/Desktop/images/19022025/17/36/image_19022025_17_36_16_9333.jpg', '/home/pi/Desktop/images/19022025/17/36/image_19022025_17_36_27_10407.jpg', '/home/pi/Desktop/images/19022025/17/36/image_19022025_17_36_37_10321.jpg', '/home/pi/Desktop/images/19022025/17/36/image_19022025_17_36_46_9381.jpg', '/home/pi/Desktop/images/19022025/17/36/image_19022025_17_36_57_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/35/image_19022025_17_36_07_10331.jpg
/home/pi/Desktop/images/19022025/17/36/image_19022025_17_36_16_9333.jpg
/home/pi/Desktop/images/19022025/17/36/image_19022025_17_36_27_10407.jpg
/home/pi/Desktop/images/19022025/17/36/image_19022025_17_36_37_10321.jpg
/home/pi/Desktop/images/19022025/17/36/image_19022025_17_36_46_9381.jpg
/home/pi/Desktop/images/19022025/17/36/image_19022025_17_36_57_10331.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338697710","1338697707","1338697701","1338697712","1338697715","1338697709"],"photo_ids_order":["1338697701","1338697707","1338697709","1338697710","1338697712","1338697715"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f6d8bf7d1a99a33da38e71524ca0399.jpg","text":"TemporaryFile(/tmp/multipartBody2342753533964195501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094504357,"filename":"image_19022025_17_36_37_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9a7e44cacc22bf4dc880ed6eb7015f3b.jpg","text":"TemporaryFile(/tmp/multipartBody3877620621102810352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094504357,"filename":"image_19022025_17_36_16_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a649999c83fab9ffb1978c6f44fc9fd.jpg","text":"TemporaryFile(/tmp/multipartBody1136760399999927537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094504357,"filename":"image_19022025_17_36_07_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92e61cd01b418f271dc849e3cf64085f.jpg","text":"TemporaryFile(/tmp/multipartBody4898851702815141291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094504357,"filename":"image_19022025_17_36_46_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/365cc528da57e46818195256a0e17a24.jpg","text":"TemporaryFile(/tmp/multipartBody4834282638284404559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094504357,"filename":"image_19022025_17_36_57_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/00cb25610283565f674e85ddea4c8371.jpg","text":"TemporaryFile(/tmp/multipartBody4884739677994717945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094504357,"filename":"image_19022025_17_36_27_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338697709","file1":"1338697707","file0":"1338697701","file4":"1338697712","file5":"1338697715","file3":"1338697710"},"map_files_photo_id_array":[{"photo_id":"1338697715","filename":"file5"},{"photo_id":"1338697709","filename":"file2"},{"photo_id":"1338697712","filename":"file4"},{"photo_id":"1338697707","filename":"file1"},{"photo_id":"1338697701","filename":"file0"},{"photo_id":"1338697710","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338697710":["hashtag1","hashtag2"]},{"1338697707":["hashtag1","hashtag2"]},{"1338697701":["hashtag1","hashtag2"]},{"1338697712":["hashtag1","hashtag2"]},{"1338697715":["hashtag1","hashtag2"]},{"1338697709":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338697710, 1338697707, 1338697701, 1338697712, 1338697715, 1338697709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8287467956543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:35:04.316413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/36/image_19022025_17_37_07_10322.jpg', '/home/pi/Desktop/images/19022025/17/37/image_19022025_17_37_16_9432.jpg', '/home/pi/Desktop/images/19022025/17/37/image_19022025_17_37_27_10344.jpg', '/home/pi/Desktop/images/19022025/17/37/image_19022025_17_37_36_9306.jpg', '/home/pi/Desktop/images/19022025/17/37/image_19022025_17_37_46_10382.jpg', '/home/pi/Desktop/images/19022025/17/37/image_19022025_17_37_57_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/36/image_19022025_17_37_07_10322.jpg
/home/pi/Desktop/images/19022025/17/37/image_19022025_17_37_16_9432.jpg
/home/pi/Desktop/images/19022025/17/37/image_19022025_17_37_27_10344.jpg
/home/pi/Desktop/images/19022025/17/37/image_19022025_17_37_36_9306.jpg
/home/pi/Desktop/images/19022025/17/37/image_19022025_17_37_46_10382.jpg
/home/pi/Desktop/images/19022025/17/37/image_19022025_17_37_57_10400.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338697738","1338697723","1338697731","1338697725","1338697734","1338697728"],"photo_ids_order":["1338697723","1338697725","1338697728","1338697731","1338697734","1338697738"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d26b1409bcac039b5c033d91ef65d2fc.jpg","text":"TemporaryFile(/tmp/multipartBody1202490834847235075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094565631,"filename":"image_19022025_17_37_57_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d516cf2219e542ea4c33a50e7f0e64ec.jpg","text":"TemporaryFile(/tmp/multipartBody419566549376461658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094565631,"filename":"image_19022025_17_37_07_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9f53eecea8957e187230219d1aafa9f4.jpg","text":"TemporaryFile(/tmp/multipartBody3410667282957392959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094565631,"filename":"image_19022025_17_37_36_9306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c17444e120ccc297a67d73a3344063d9.jpg","text":"TemporaryFile(/tmp/multipartBody1423294060832640983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094565631,"filename":"image_19022025_17_37_16_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ad1d93d01642aad350a0be6e8117841.jpg","text":"TemporaryFile(/tmp/multipartBody9000137763721679151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094565631,"filename":"image_19022025_17_37_46_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4073d551c731c3b29db7f7667ca9f956.jpg","text":"TemporaryFile(/tmp/multipartBody1241352966464177413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094565631,"filename":"image_19022025_17_37_27_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338697728","file1":"1338697725","file0":"1338697723","file4":"1338697734","file5":"1338697738","file3":"1338697731"},"map_files_photo_id_array":[{"photo_id":"1338697738","filename":"file5"},{"photo_id":"1338697728","filename":"file2"},{"photo_id":"1338697734","filename":"file4"},{"photo_id":"1338697725","filename":"file1"},{"photo_id":"1338697723","filename":"file0"},{"photo_id":"1338697731","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338697738":["hashtag1","hashtag2"]},{"1338697723":["hashtag1","hashtag2"]},{"1338697731":["hashtag1","hashtag2"]},{"1338697725":["hashtag1","hashtag2"]},{"1338697734":["hashtag1","hashtag2"]},{"1338697728":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338697738, 1338697723, 1338697731, 1338697725, 1338697734, 1338697728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62026786804199 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:36:03.235716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/37/image_19022025_17_38_06_9314.jpg', '/home/pi/Desktop/images/19022025/17/38/image_19022025_17_38_17_10403.jpg', '/home/pi/Desktop/images/19022025/17/38/image_19022025_17_38_27_10333.jpg', '/home/pi/Desktop/images/19022025/17/38/image_19022025_17_38_56_9332.jpg', '/home/pi/Desktop/images/19022025/17/38/image_19022025_17_39_06_10397.jpg', '/home/pi/Desktop/images/19022025/17/39/image_19022025_17_39_17_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/37/image_19022025_17_38_06_9314.jpg
/home/pi/Desktop/images/19022025/17/38/image_19022025_17_38_17_10403.jpg
/home/pi/Desktop/images/19022025/17/38/image_19022025_17_38_27_10333.jpg
/home/pi/Desktop/images/19022025/17/38/image_19022025_17_38_56_9332.jpg
/home/pi/Desktop/images/19022025/17/38/image_19022025_17_39_06_10397.jpg
/home/pi/Desktop/images/19022025/17/39/image_19022025_17_39_17_10416.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338697756","1338697755","1338697752","1338697746","1338697754","1338697748"],"photo_ids_order":["1338697746","1338697748","1338697752","1338697754","1338697755","1338697756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6415ad8a3d5d89e11a9e9c8b1238bded.jpg","text":"TemporaryFile(/tmp/multipartBody1984131743699751991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094624444,"filename":"image_19022025_17_39_17_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/52fa7427e31847caf9e0dfee0142c5bd.jpg","text":"TemporaryFile(/tmp/multipartBody5255991241198444396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094624444,"filename":"image_19022025_17_39_06_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/12c168c6b2a9bfa05dda765b0f94a3c9.jpg","text":"TemporaryFile(/tmp/multipartBody8492308609941488837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094624444,"filename":"image_19022025_17_38_27_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ea1adbc3370a6e8760bec8b1abb83f84.jpg","text":"TemporaryFile(/tmp/multipartBody8140700374228987995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094624444,"filename":"image_19022025_17_38_06_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b66a4ea4e207e2938de89b375c69f2c9.jpg","text":"TemporaryFile(/tmp/multipartBody289386146748332958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094624444,"filename":"image_19022025_17_38_56_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/26e5e533635b3823f21cacd397887a42.jpg","text":"TemporaryFile(/tmp/multipartBody4641009563347259244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094624444,"filename":"image_19022025_17_38_17_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338697752","file1":"1338697748","file0":"1338697746","file4":"1338697755","file5":"1338697756","file3":"1338697754"},"map_files_photo_id_array":[{"photo_id":"1338697756","filename":"file5"},{"photo_id":"1338697752","filename":"file2"},{"photo_id":"1338697755","filename":"file4"},{"photo_id":"1338697748","filename":"file1"},{"photo_id":"1338697746","filename":"file0"},{"photo_id":"1338697754","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338697756":["hashtag1","hashtag2"]},{"1338697755":["hashtag1","hashtag2"]},{"1338697752":["hashtag1","hashtag2"]},{"1338697746":["hashtag1","hashtag2"]},{"1338697754":["hashtag1","hashtag2"]},{"1338697748":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338697756, 1338697755, 1338697752, 1338697746, 1338697754, 1338697748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27835774421692 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:37:03.329941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/39/image_19022025_17_39_37_10332.jpg', '/home/pi/Desktop/images/19022025/17/39/image_19022025_17_39_47_10343.jpg', '/home/pi/Desktop/images/19022025/17/40/image_19022025_17_40_17_10338.jpg', '/home/pi/Desktop/images/19022025/17/40/image_19022025_17_40_26_9329.jpg', '/home/pi/Desktop/images/19022025/17/40/image_19022025_17_40_37_10407.jpg', '/home/pi/Desktop/images/19022025/17/40/image_19022025_17_40_47_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/39/image_19022025_17_39_37_10332.jpg
/home/pi/Desktop/images/19022025/17/39/image_19022025_17_39_47_10343.jpg
/home/pi/Desktop/images/19022025/17/40/image_19022025_17_40_17_10338.jpg
/home/pi/Desktop/images/19022025/17/40/image_19022025_17_40_26_9329.jpg
/home/pi/Desktop/images/19022025/17/40/image_19022025_17_40_37_10407.jpg
/home/pi/Desktop/images/19022025/17/40/image_19022025_17_40_47_10345.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338698289","1338698128","1338698357","1338698252","1338698126","1338698141"],"photo_ids_order":["1338698126","1338698128","1338698141","1338698252","1338698289","1338698357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dba6cae352c74eb19cf51df640b6d969.jpg","text":"TemporaryFile(/tmp/multipartBody1544095579872192273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094684643,"filename":"image_19022025_17_40_37_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be29881820ed607d9310d6e92366055f.jpg","text":"TemporaryFile(/tmp/multipartBody262911520446342426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094684643,"filename":"image_19022025_17_39_47_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3de9a7126983f4cb624004479093a707.jpg","text":"TemporaryFile(/tmp/multipartBody7493425769227735407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094684643,"filename":"image_19022025_17_40_47_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a33939a8dc8805e4d72ee97d73c8014c.jpg","text":"TemporaryFile(/tmp/multipartBody7225488476495966349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094684643,"filename":"image_19022025_17_40_26_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/772887307130c03fc0fb64e9a4d87b8f.jpg","text":"TemporaryFile(/tmp/multipartBody8509426299345333964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094684643,"filename":"image_19022025_17_39_37_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/839c3f67fb400b889751a9fd7fc9f7a8.jpg","text":"TemporaryFile(/tmp/multipartBody8511001482758072200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094684643,"filename":"image_19022025_17_40_17_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338698141","file1":"1338698128","file0":"1338698126","file4":"1338698289","file5":"1338698357","file3":"1338698252"},"map_files_photo_id_array":[{"photo_id":"1338698357","filename":"file5"},{"photo_id":"1338698141","filename":"file2"},{"photo_id":"1338698289","filename":"file4"},{"photo_id":"1338698128","filename":"file1"},{"photo_id":"1338698126","filename":"file0"},{"photo_id":"1338698252","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338698289":["hashtag1","hashtag2"]},{"1338698128":["hashtag1","hashtag2"]},{"1338698357":["hashtag1","hashtag2"]},{"1338698252":["hashtag1","hashtag2"]},{"1338698126":["hashtag1","hashtag2"]},{"1338698141":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338698289, 1338698128, 1338698357, 1338698252, 1338698126, 1338698141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.35072374343872 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:38:03.190569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/40/image_19022025_17_40_56_9382.jpg', '/home/pi/Desktop/images/19022025/17/40/image_19022025_17_41_07_10360.jpg', '/home/pi/Desktop/images/19022025/17/41/image_19022025_17_41_17_10310.jpg', '/home/pi/Desktop/images/19022025/17/41/image_19022025_17_41_26_9418.jpg', '/home/pi/Desktop/images/19022025/17/41/image_19022025_17_41_46_9332.jpg', '/home/pi/Desktop/images/19022025/17/41/image_19022025_17_41_56_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/40/image_19022025_17_40_56_9382.jpg
/home/pi/Desktop/images/19022025/17/40/image_19022025_17_41_07_10360.jpg
/home/pi/Desktop/images/19022025/17/41/image_19022025_17_41_17_10310.jpg
/home/pi/Desktop/images/19022025/17/41/image_19022025_17_41_26_9418.jpg
/home/pi/Desktop/images/19022025/17/41/image_19022025_17_41_46_9332.jpg
/home/pi/Desktop/images/19022025/17/41/image_19022025_17_41_56_10351.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338699050","1338699017","1338698983","1338699040","1338699034","1338699013"],"photo_ids_order":["1338698983","1338699013","1338699017","1338699034","1338699040","1338699050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/36f93f57dc57db67a9b99173c8f3fb60.jpg","text":"TemporaryFile(/tmp/multipartBody2912411571289388366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094744405,"filename":"image_19022025_17_41_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1830d323a0e2b0292043eea886df6fb.jpg","text":"TemporaryFile(/tmp/multipartBody7527058763066931437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094744405,"filename":"image_19022025_17_41_17_10310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/43747359a40c36ff606bb453244283e5.jpg","text":"TemporaryFile(/tmp/multipartBody4365975335762892802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094744405,"filename":"image_19022025_17_40_56_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/762f3fea288ee85ced3626b0269d608d.jpg","text":"TemporaryFile(/tmp/multipartBody7258254967319839716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094744405,"filename":"image_19022025_17_41_46_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/073b5ae3d77826f5ce5e41f15dcb9a69.jpg","text":"TemporaryFile(/tmp/multipartBody32964881133659174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094744405,"filename":"image_19022025_17_41_26_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a8686608cc3aecaaf26c64cbe63efd9e.jpg","text":"TemporaryFile(/tmp/multipartBody524549668385815046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094744405,"filename":"image_19022025_17_41_07_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338699017","file1":"1338699013","file0":"1338698983","file4":"1338699040","file5":"1338699050","file3":"1338699034"},"map_files_photo_id_array":[{"photo_id":"1338699050","filename":"file5"},{"photo_id":"1338699017","filename":"file2"},{"photo_id":"1338699040","filename":"file4"},{"photo_id":"1338699013","filename":"file1"},{"photo_id":"1338698983","filename":"file0"},{"photo_id":"1338699034","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338699050":["hashtag1","hashtag2"]},{"1338699017":["hashtag1","hashtag2"]},{"1338698983":["hashtag1","hashtag2"]},{"1338699040":["hashtag1","hashtag2"]},{"1338699034":["hashtag1","hashtag2"]},{"1338699013":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338699050, 1338699017, 1338698983, 1338699040, 1338699034, 1338699013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77341842651367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:39:03.114470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/41/image_19022025_17_42_07_10312.jpg', '/home/pi/Desktop/images/19022025/17/42/image_19022025_17_42_16_9310.jpg', '/home/pi/Desktop/images/19022025/17/42/image_19022025_17_42_37_10339.jpg', '/home/pi/Desktop/images/19022025/17/42/image_19022025_17_42_46_9334.jpg', '/home/pi/Desktop/images/19022025/17/42/image_19022025_17_42_57_10318.jpg', '/home/pi/Desktop/images/19022025/17/42/image_19022025_17_43_07_10324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/41/image_19022025_17_42_07_10312.jpg
/home/pi/Desktop/images/19022025/17/42/image_19022025_17_42_16_9310.jpg
/home/pi/Desktop/images/19022025/17/42/image_19022025_17_42_37_10339.jpg
/home/pi/Desktop/images/19022025/17/42/image_19022025_17_42_46_9334.jpg
/home/pi/Desktop/images/19022025/17/42/image_19022025_17_42_57_10318.jpg
/home/pi/Desktop/images/19022025/17/42/image_19022025_17_43_07_10324.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338699258","1338699120","1338699114","1338699116","1338699328","1338699118"],"photo_ids_order":["1338699114","1338699116","1338699118","1338699120","1338699258","1338699328"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/70e14d0046f251f1af43548c041b9c79.jpg","text":"TemporaryFile(/tmp/multipartBody2576476945974029903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094805268,"filename":"image_19022025_17_42_57_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32d5eccc4307c227dbf00b603a779cca.jpg","text":"TemporaryFile(/tmp/multipartBody8357783764501476201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094805268,"filename":"image_19022025_17_42_46_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a86ba3858dff2c864718d7f0922b0848.jpg","text":"TemporaryFile(/tmp/multipartBody1631317110020019907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094805268,"filename":"image_19022025_17_42_07_10312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a0e18db50bcc03455a3dab98263efd3.jpg","text":"TemporaryFile(/tmp/multipartBody9167250843185919679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094805268,"filename":"image_19022025_17_42_16_9310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2495ae284212b99547eaa60343473861.jpg","text":"TemporaryFile(/tmp/multipartBody2813680942537987088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094805268,"filename":"image_19022025_17_43_07_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3aa807eda3b98ac202fb3cfa21df2386.jpg","text":"TemporaryFile(/tmp/multipartBody2227042232716587852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094805268,"filename":"image_19022025_17_42_37_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338699118","file1":"1338699116","file0":"1338699114","file4":"1338699258","file5":"1338699328","file3":"1338699120"},"map_files_photo_id_array":[{"photo_id":"1338699328","filename":"file5"},{"photo_id":"1338699118","filename":"file2"},{"photo_id":"1338699258","filename":"file4"},{"photo_id":"1338699116","filename":"file1"},{"photo_id":"1338699114","filename":"file0"},{"photo_id":"1338699120","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338699258":["hashtag1","hashtag2"]},{"1338699120":["hashtag1","hashtag2"]},{"1338699114":["hashtag1","hashtag2"]},{"1338699116":["hashtag1","hashtag2"]},{"1338699328":["hashtag1","hashtag2"]},{"1338699118":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338699258, 1338699120, 1338699114, 1338699116, 1338699328, 1338699118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51161861419678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:40:02.854186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/43/image_19022025_17_43_16_9324.jpg', '/home/pi/Desktop/images/19022025/17/43/image_19022025_17_43_27_10367.jpg', '/home/pi/Desktop/images/19022025/17/43/image_19022025_17_43_37_10371.jpg', '/home/pi/Desktop/images/19022025/17/43/image_19022025_17_43_57_10388.jpg', '/home/pi/Desktop/images/19022025/17/43/image_19022025_17_44_07_10322.jpg', '/home/pi/Desktop/images/19022025/17/44/image_19022025_17_44_16_9317.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/43/image_19022025_17_43_16_9324.jpg
/home/pi/Desktop/images/19022025/17/43/image_19022025_17_43_27_10367.jpg
/home/pi/Desktop/images/19022025/17/43/image_19022025_17_43_37_10371.jpg
/home/pi/Desktop/images/19022025/17/43/image_19022025_17_43_57_10388.jpg
/home/pi/Desktop/images/19022025/17/43/image_19022025_17_44_07_10322.jpg
/home/pi/Desktop/images/19022025/17/44/image_19022025_17_44_16_9317.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338699573","1338699576","1338699636","1338699671","1338699682","1338699678"],"photo_ids_order":["1338699573","1338699576","1338699636","1338699671","1338699678","1338699682"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3a4e77c08d47ceeb449037e4123b88f0.jpg","text":"TemporaryFile(/tmp/multipartBody2769368699300950659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094864077,"filename":"image_19022025_17_43_16_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/14899ab96a32a1caebb18e66220a835c.jpg","text":"TemporaryFile(/tmp/multipartBody5367449586160644617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094864077,"filename":"image_19022025_17_43_27_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8279e30857280d72d80cd23fd1dcecde.jpg","text":"TemporaryFile(/tmp/multipartBody5383218237442875388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094864077,"filename":"image_19022025_17_43_37_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/28bbd9b364fc3735aa3c2dea87cb47c9.jpg","text":"TemporaryFile(/tmp/multipartBody5534355767142914664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094864077,"filename":"image_19022025_17_43_57_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f5b8ca2040d6811044f7606d969d93e.jpg","text":"TemporaryFile(/tmp/multipartBody6939987370280317770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094864077,"filename":"image_19022025_17_44_16_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/827b73af4ba3c502b96f77d5f57b9d03.jpg","text":"TemporaryFile(/tmp/multipartBody7359512333394460873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094864077,"filename":"image_19022025_17_44_07_10322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338699636","file1":"1338699576","file0":"1338699573","file4":"1338699678","file5":"1338699682","file3":"1338699671"},"map_files_photo_id_array":[{"photo_id":"1338699682","filename":"file5"},{"photo_id":"1338699636","filename":"file2"},{"photo_id":"1338699678","filename":"file4"},{"photo_id":"1338699576","filename":"file1"},{"photo_id":"1338699573","filename":"file0"},{"photo_id":"1338699671","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338699573":["hashtag1","hashtag2"]},{"1338699576":["hashtag1","hashtag2"]},{"1338699636":["hashtag1","hashtag2"]},{"1338699671":["hashtag1","hashtag2"]},{"1338699682":["hashtag1","hashtag2"]},{"1338699678":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338699573, 1338699576, 1338699636, 1338699671, 1338699682, 1338699678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.711708307266235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:41:04.340892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/44/image_19022025_17_44_27_10360.jpg', '/home/pi/Desktop/images/19022025/17/45/image_19022025_17_45_16_10414.jpg', '/home/pi/Desktop/images/19022025/17/45/image_19022025_17_45_27_10380.jpg', '/home/pi/Desktop/images/19022025/17/45/image_19022025_17_45_36_9331.jpg', '/home/pi/Desktop/images/19022025/17/45/image_19022025_17_45_47_10385.jpg', '/home/pi/Desktop/images/19022025/17/45/image_19022025_17_45_57_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/44/image_19022025_17_44_27_10360.jpg
/home/pi/Desktop/images/19022025/17/45/image_19022025_17_45_16_10414.jpg
/home/pi/Desktop/images/19022025/17/45/image_19022025_17_45_27_10380.jpg
/home/pi/Desktop/images/19022025/17/45/image_19022025_17_45_36_9331.jpg
/home/pi/Desktop/images/19022025/17/45/image_19022025_17_45_47_10385.jpg
/home/pi/Desktop/images/19022025/17/45/image_19022025_17_45_57_10337.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338699714","1338699708","1338699702","1338699704","1338699712","1338699700"],"photo_ids_order":["1338699700","1338699702","1338699704","1338699708","1338699712","1338699714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9aec1bdd6f4f3fa9856f99b0e9b45993.jpg","text":"TemporaryFile(/tmp/multipartBody1346006041524337389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094925675,"filename":"image_19022025_17_45_57_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dca83bf4562d757db97a5f6689b2464b.jpg","text":"TemporaryFile(/tmp/multipartBody7928243008530293564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094925675,"filename":"image_19022025_17_45_36_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d0a10f56a33f0680ff3dd815529aba9.jpg","text":"TemporaryFile(/tmp/multipartBody1408182604893075728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094925675,"filename":"image_19022025_17_45_16_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a9cc24720b7e410e7df7b8ea4f029ea5.jpg","text":"TemporaryFile(/tmp/multipartBody2820353401904003749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094925675,"filename":"image_19022025_17_45_27_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6412f1c903d6e3b3ff4fcad71b56b3b0.jpg","text":"TemporaryFile(/tmp/multipartBody3808653837232163541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094925675,"filename":"image_19022025_17_45_47_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/40b7ec5c164d4e8d8427215ff60178e9.jpg","text":"TemporaryFile(/tmp/multipartBody1895715640060060170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094925675,"filename":"image_19022025_17_44_27_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338699704","file1":"1338699702","file0":"1338699700","file4":"1338699712","file5":"1338699714","file3":"1338699708"},"map_files_photo_id_array":[{"photo_id":"1338699714","filename":"file5"},{"photo_id":"1338699704","filename":"file2"},{"photo_id":"1338699712","filename":"file4"},{"photo_id":"1338699702","filename":"file1"},{"photo_id":"1338699700","filename":"file0"},{"photo_id":"1338699708","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338699714":["hashtag1","hashtag2"]},{"1338699708":["hashtag1","hashtag2"]},{"1338699702":["hashtag1","hashtag2"]},{"1338699704":["hashtag1","hashtag2"]},{"1338699712":["hashtag1","hashtag2"]},{"1338699700":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338699714, 1338699708, 1338699702, 1338699704, 1338699712, 1338699700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15360951423645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:42:03.038763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/45/image_19022025_17_46_06_9340.jpg', '/home/pi/Desktop/images/19022025/17/46/image_19022025_17_46_17_10384.jpg', '/home/pi/Desktop/images/19022025/17/46/image_19022025_17_46_36_10367.jpg', '/home/pi/Desktop/images/19022025/17/46/image_19022025_17_46_47_10516.jpg', '/home/pi/Desktop/images/19022025/17/46/image_19022025_17_46_56_9458.jpg', '/home/pi/Desktop/images/19022025/17/46/image_19022025_17_47_07_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/45/image_19022025_17_46_06_9340.jpg
/home/pi/Desktop/images/19022025/17/46/image_19022025_17_46_17_10384.jpg
/home/pi/Desktop/images/19022025/17/46/image_19022025_17_46_36_10367.jpg
/home/pi/Desktop/images/19022025/17/46/image_19022025_17_46_47_10516.jpg
/home/pi/Desktop/images/19022025/17/46/image_19022025_17_46_56_9458.jpg
/home/pi/Desktop/images/19022025/17/46/image_19022025_17_47_07_10407.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338699729","1338699755","1338699737","1338699731","1338699733","1338699763"],"photo_ids_order":["1338699729","1338699731","1338699733","1338699737","1338699755","1338699763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/85b165b3800d8891f7f0c04f10ab4884.jpg","text":"TemporaryFile(/tmp/multipartBody119051286582698150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094984633,"filename":"image_19022025_17_46_06_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff5502671d61beec62e86b66569848dd.jpg","text":"TemporaryFile(/tmp/multipartBody2028609732449738546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094984633,"filename":"image_19022025_17_46_56_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3887d5902ed0e803c54305e2305a4ed7.jpg","text":"TemporaryFile(/tmp/multipartBody6010021836822952062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094984633,"filename":"image_19022025_17_46_47_10516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4af644f6cb433cf668cea8f78d943968.jpg","text":"TemporaryFile(/tmp/multipartBody8558416072443245124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094984633,"filename":"image_19022025_17_46_17_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8711faf329e8834fd1809f7a66cb4844.jpg","text":"TemporaryFile(/tmp/multipartBody1002718614421045545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094984633,"filename":"image_19022025_17_46_36_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/059c0403fd92a336222b49a5ecdc10d8.jpg","text":"TemporaryFile(/tmp/multipartBody3591485088529735841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740094984633,"filename":"image_19022025_17_47_07_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338699733","file1":"1338699731","file0":"1338699729","file4":"1338699755","file5":"1338699763","file3":"1338699737"},"map_files_photo_id_array":[{"photo_id":"1338699763","filename":"file5"},{"photo_id":"1338699733","filename":"file2"},{"photo_id":"1338699755","filename":"file4"},{"photo_id":"1338699731","filename":"file1"},{"photo_id":"1338699729","filename":"file0"},{"photo_id":"1338699737","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338699729":["hashtag1","hashtag2"]},{"1338699755":["hashtag1","hashtag2"]},{"1338699737":["hashtag1","hashtag2"]},{"1338699731":["hashtag1","hashtag2"]},{"1338699733":["hashtag1","hashtag2"]},{"1338699763":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338699729, 1338699755, 1338699737, 1338699731, 1338699733, 1338699763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8381462097168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:43:03.244390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/47/image_19022025_17_47_26_10173.jpg', '/home/pi/Desktop/images/19022025/17/47/image_19022025_17_47_56_10342.jpg', '/home/pi/Desktop/images/19022025/17/47/image_19022025_17_48_07_10325.jpg', '/home/pi/Desktop/images/19022025/17/48/image_19022025_17_48_46_9328.jpg', '/home/pi/Desktop/images/19022025/17/48/image_19022025_17_48_57_10443.jpg', '/home/pi/Desktop/images/19022025/17/48/image_19022025_17_49_07_10319.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/47/image_19022025_17_47_26_10173.jpg
/home/pi/Desktop/images/19022025/17/47/image_19022025_17_47_56_10342.jpg
/home/pi/Desktop/images/19022025/17/47/image_19022025_17_48_07_10325.jpg
/home/pi/Desktop/images/19022025/17/48/image_19022025_17_48_46_9328.jpg
/home/pi/Desktop/images/19022025/17/48/image_19022025_17_48_57_10443.jpg
/home/pi/Desktop/images/19022025/17/48/image_19022025_17_49_07_10319.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338699792","1338699801","1338699794","1338699796","1338699790","1338699798"],"photo_ids_order":["1338699790","1338699792","1338699794","1338699796","1338699798","1338699801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cc5555312ddce819c28f9792362a2ca7.jpg","text":"TemporaryFile(/tmp/multipartBody1992253973476442153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095044632,"filename":"image_19022025_17_47_56_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ba19e9ad32a5b267452b9bb9ca717714.jpg","text":"TemporaryFile(/tmp/multipartBody5299564187481699203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095044632,"filename":"image_19022025_17_49_07_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ca737b148d93cd2fcf4a0da0b250674.jpg","text":"TemporaryFile(/tmp/multipartBody2564093291845706853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095044632,"filename":"image_19022025_17_48_07_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5a06adf81c193c1501fabfee5dbc8362.jpg","text":"TemporaryFile(/tmp/multipartBody3449173886181785880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095044632,"filename":"image_19022025_17_48_46_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/85bf12abb83a9f71ad0fd691e7c9f79c.jpg","text":"TemporaryFile(/tmp/multipartBody9003111433989457157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095044632,"filename":"image_19022025_17_47_26_10173.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/447e138b09efbe9eb926eaaf032667c5.jpg","text":"TemporaryFile(/tmp/multipartBody7710107182054909067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095044632,"filename":"image_19022025_17_48_57_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338699794","file1":"1338699792","file0":"1338699790","file4":"1338699798","file5":"1338699801","file3":"1338699796"},"map_files_photo_id_array":[{"photo_id":"1338699801","filename":"file5"},{"photo_id":"1338699794","filename":"file2"},{"photo_id":"1338699798","filename":"file4"},{"photo_id":"1338699792","filename":"file1"},{"photo_id":"1338699790","filename":"file0"},{"photo_id":"1338699796","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338699792":["hashtag1","hashtag2"]},{"1338699801":["hashtag1","hashtag2"]},{"1338699794":["hashtag1","hashtag2"]},{"1338699796":["hashtag1","hashtag2"]},{"1338699790":["hashtag1","hashtag2"]},{"1338699798":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338699792, 1338699801, 1338699794, 1338699796, 1338699790, 1338699798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22441506385803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:44:02.617171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/49/image_19022025_17_49_27_10402.jpg', '/home/pi/Desktop/images/19022025/17/49/image_19022025_17_49_37_10336.jpg', '/home/pi/Desktop/images/19022025/17/49/image_19022025_17_49_46_9348.jpg', '/home/pi/Desktop/images/19022025/17/49/image_19022025_17_49_57_10332.jpg', '/home/pi/Desktop/images/19022025/17/50/image_19022025_17_50_16_9313.jpg', '/home/pi/Desktop/images/19022025/17/50/image_19022025_17_50_37_10327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/49/image_19022025_17_49_27_10402.jpg
/home/pi/Desktop/images/19022025/17/49/image_19022025_17_49_37_10336.jpg
/home/pi/Desktop/images/19022025/17/49/image_19022025_17_49_46_9348.jpg
/home/pi/Desktop/images/19022025/17/49/image_19022025_17_49_57_10332.jpg
/home/pi/Desktop/images/19022025/17/50/image_19022025_17_50_16_9313.jpg
/home/pi/Desktop/images/19022025/17/50/image_19022025_17_50_37_10327.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338699825","1338699828","1338699824","1338699827","1338699832","1338699829"],"photo_ids_order":["1338699824","1338699825","1338699827","1338699828","1338699829","1338699832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/142a13df2731209a29dd29a0f99bbfad.jpg","text":"TemporaryFile(/tmp/multipartBody7997495269841145120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095103833,"filename":"image_19022025_17_49_37_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ade5c446cc9effd2c2c0ebbb375f0a4.jpg","text":"TemporaryFile(/tmp/multipartBody6498447282795254352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095103833,"filename":"image_19022025_17_49_57_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8410b2883fee3dad2c444fd8bd187831.jpg","text":"TemporaryFile(/tmp/multipartBody1368760002781148013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095103833,"filename":"image_19022025_17_49_27_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2876c9fe0f7d594e93ef5a793252ee23.jpg","text":"TemporaryFile(/tmp/multipartBody5772521399848742691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095103833,"filename":"image_19022025_17_49_46_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fb4cf0f1dad2f40c91c2d94ecd47aced.jpg","text":"TemporaryFile(/tmp/multipartBody7417428581905935585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095103833,"filename":"image_19022025_17_50_37_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0294b136c043bd318bcf722fc18d6e7e.jpg","text":"TemporaryFile(/tmp/multipartBody6601495466798247965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095103833,"filename":"image_19022025_17_50_16_9313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338699827","file1":"1338699825","file0":"1338699824","file4":"1338699829","file5":"1338699832","file3":"1338699828"},"map_files_photo_id_array":[{"photo_id":"1338699832","filename":"file5"},{"photo_id":"1338699827","filename":"file2"},{"photo_id":"1338699829","filename":"file4"},{"photo_id":"1338699825","filename":"file1"},{"photo_id":"1338699824","filename":"file0"},{"photo_id":"1338699828","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338699825":["hashtag1","hashtag2"]},{"1338699828":["hashtag1","hashtag2"]},{"1338699824":["hashtag1","hashtag2"]},{"1338699827":["hashtag1","hashtag2"]},{"1338699832":["hashtag1","hashtag2"]},{"1338699829":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338699825, 1338699828, 1338699824, 1338699827, 1338699832, 1338699829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88121438026428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:45:03.803790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/50/image_19022025_17_50_46_9396.jpg', '/home/pi/Desktop/images/19022025/17/51/image_19022025_17_51_27_10335.jpg', '/home/pi/Desktop/images/19022025/17/51/image_19022025_17_51_47_10433.jpg', '/home/pi/Desktop/images/19022025/17/51/image_19022025_17_51_57_10335.jpg', '/home/pi/Desktop/images/19022025/17/51/image_19022025_17_52_06_9408.jpg', '/home/pi/Desktop/images/19022025/17/52/image_19022025_17_52_17_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/50/image_19022025_17_50_46_9396.jpg
/home/pi/Desktop/images/19022025/17/51/image_19022025_17_51_27_10335.jpg
/home/pi/Desktop/images/19022025/17/51/image_19022025_17_51_47_10433.jpg
/home/pi/Desktop/images/19022025/17/51/image_19022025_17_51_57_10335.jpg
/home/pi/Desktop/images/19022025/17/51/image_19022025_17_52_06_9408.jpg
/home/pi/Desktop/images/19022025/17/52/image_19022025_17_52_17_10395.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338700163","1338700166","1338700100","1338700043","1338700170","1338699996"],"photo_ids_order":["1338699996","1338700043","1338700100","1338700163","1338700166","1338700170"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d179ed495cf1a405683f40851cae6e2.jpg","text":"TemporaryFile(/tmp/multipartBody6661247577085734093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095165162,"filename":"image_19022025_17_51_57_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7904f3700638733304c7ffb98fcbb46.jpg","text":"TemporaryFile(/tmp/multipartBody5530458126037502445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095165162,"filename":"image_19022025_17_52_06_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/29eb6e9fcb725928d7842dc9b5d136c9.jpg","text":"TemporaryFile(/tmp/multipartBody2399598297152371736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095165162,"filename":"image_19022025_17_51_47_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6df9b51b10f39c4025120207e7901f40.jpg","text":"TemporaryFile(/tmp/multipartBody8204651402480927311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095165162,"filename":"image_19022025_17_51_27_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9bc078342f3fbd5b79985c6e4f915cd1.jpg","text":"TemporaryFile(/tmp/multipartBody3480054490307297293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095165162,"filename":"image_19022025_17_52_17_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7952b7030f3b97f084c02ea366d1718.jpg","text":"TemporaryFile(/tmp/multipartBody1746278625759250618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095165162,"filename":"image_19022025_17_50_46_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338700100","file1":"1338700043","file0":"1338699996","file4":"1338700166","file5":"1338700170","file3":"1338700163"},"map_files_photo_id_array":[{"photo_id":"1338700170","filename":"file5"},{"photo_id":"1338700100","filename":"file2"},{"photo_id":"1338700166","filename":"file4"},{"photo_id":"1338700043","filename":"file1"},{"photo_id":"1338699996","filename":"file0"},{"photo_id":"1338700163","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338700163":["hashtag1","hashtag2"]},{"1338700166":["hashtag1","hashtag2"]},{"1338700100":["hashtag1","hashtag2"]},{"1338700043":["hashtag1","hashtag2"]},{"1338700170":["hashtag1","hashtag2"]},{"1338699996":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338700163, 1338700166, 1338700100, 1338700043, 1338700170, 1338699996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00034427642822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:46:02.770722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/52/image_19022025_17_52_26_9406.jpg', '/home/pi/Desktop/images/19022025/17/52/image_19022025_17_52_37_10343.jpg', '/home/pi/Desktop/images/19022025/17/52/image_19022025_17_52_56_9323.jpg', '/home/pi/Desktop/images/19022025/17/52/image_19022025_17_53_07_10403.jpg', '/home/pi/Desktop/images/19022025/17/53/image_19022025_17_53_17_10339.jpg', '/home/pi/Desktop/images/19022025/17/53/image_19022025_17_53_26_9512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/52/image_19022025_17_52_26_9406.jpg
/home/pi/Desktop/images/19022025/17/52/image_19022025_17_52_37_10343.jpg
/home/pi/Desktop/images/19022025/17/52/image_19022025_17_52_56_9323.jpg
/home/pi/Desktop/images/19022025/17/52/image_19022025_17_53_07_10403.jpg
/home/pi/Desktop/images/19022025/17/53/image_19022025_17_53_17_10339.jpg
/home/pi/Desktop/images/19022025/17/53/image_19022025_17_53_26_9512.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338700253","1338700267","1338700264","1338700258","1338700275","1338700263"],"photo_ids_order":["1338700253","1338700258","1338700263","1338700264","1338700267","1338700275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/36a1857443d250f041c0869df1b44cae.jpg","text":"TemporaryFile(/tmp/multipartBody4633659781715217073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095223987,"filename":"image_19022025_17_52_26_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/43e80b429289099118cb1b060c9e979f.jpg","text":"TemporaryFile(/tmp/multipartBody4896211426464858363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095223987,"filename":"image_19022025_17_53_17_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/355af0c290aaea4f7931aa7a3f3168d4.jpg","text":"TemporaryFile(/tmp/multipartBody6173261704554584398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095223987,"filename":"image_19022025_17_53_07_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f637439a3581fad7a9d03915f9d44faf.jpg","text":"TemporaryFile(/tmp/multipartBody7899829989901295570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095223987,"filename":"image_19022025_17_52_37_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1893ce668a181ba32e5c539bf2773001.jpg","text":"TemporaryFile(/tmp/multipartBody4365464976380132352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095223987,"filename":"image_19022025_17_53_26_9512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6dbf9f09a0ccf4aeb7d0b396245aac19.jpg","text":"TemporaryFile(/tmp/multipartBody1042690527202641728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095223987,"filename":"image_19022025_17_52_56_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338700263","file1":"1338700258","file0":"1338700253","file4":"1338700267","file5":"1338700275","file3":"1338700264"},"map_files_photo_id_array":[{"photo_id":"1338700275","filename":"file5"},{"photo_id":"1338700263","filename":"file2"},{"photo_id":"1338700267","filename":"file4"},{"photo_id":"1338700258","filename":"file1"},{"photo_id":"1338700253","filename":"file0"},{"photo_id":"1338700264","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338700253":["hashtag1","hashtag2"]},{"1338700267":["hashtag1","hashtag2"]},{"1338700264":["hashtag1","hashtag2"]},{"1338700258":["hashtag1","hashtag2"]},{"1338700275":["hashtag1","hashtag2"]},{"1338700263":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338700253, 1338700267, 1338700264, 1338700258, 1338700275, 1338700263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.59677505493164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:47:03.892270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/53/image_19022025_17_53_37_10322.jpg', '/home/pi/Desktop/images/19022025/17/53/image_19022025_17_53_56_10361.jpg', '/home/pi/Desktop/images/19022025/17/54/image_19022025_17_54_16_9356.jpg', '/home/pi/Desktop/images/19022025/17/54/image_19022025_17_54_26_10339.jpg', '/home/pi/Desktop/images/19022025/17/54/image_19022025_17_54_37_10337.jpg', '/home/pi/Desktop/images/19022025/17/54/image_19022025_17_55_07_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/53/image_19022025_17_53_37_10322.jpg
/home/pi/Desktop/images/19022025/17/53/image_19022025_17_53_56_10361.jpg
/home/pi/Desktop/images/19022025/17/54/image_19022025_17_54_16_9356.jpg
/home/pi/Desktop/images/19022025/17/54/image_19022025_17_54_26_10339.jpg
/home/pi/Desktop/images/19022025/17/54/image_19022025_17_54_37_10337.jpg
/home/pi/Desktop/images/19022025/17/54/image_19022025_17_55_07_10325.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338700361","1338700363","1338700357","1338700365","1338700359","1338700368"],"photo_ids_order":["1338700357","1338700359","1338700361","1338700363","1338700365","1338700368"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f5a505071a6eb156177a3fbad96f3ea2.jpg","text":"TemporaryFile(/tmp/multipartBody4725212854724354191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095285200,"filename":"image_19022025_17_54_16_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c60723a3f320a3b47a99966a8f6a3c57.jpg","text":"TemporaryFile(/tmp/multipartBody5341446201281882849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095285200,"filename":"image_19022025_17_54_26_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c6c203885df2749c89e89edafa44adf9.jpg","text":"TemporaryFile(/tmp/multipartBody4673431727185101859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095285200,"filename":"image_19022025_17_53_37_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06ea341406b25628805775ba5ecac2c2.jpg","text":"TemporaryFile(/tmp/multipartBody646297576620440713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095285200,"filename":"image_19022025_17_54_37_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9eb41fb1efd1921ccbeaf31a23df5f34.jpg","text":"TemporaryFile(/tmp/multipartBody1834420118287326939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095285200,"filename":"image_19022025_17_53_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ab70e880e8926d108b6626b853c85aa.jpg","text":"TemporaryFile(/tmp/multipartBody3345567846680862723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095285200,"filename":"image_19022025_17_55_07_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338700361","file1":"1338700359","file0":"1338700357","file4":"1338700365","file5":"1338700368","file3":"1338700363"},"map_files_photo_id_array":[{"photo_id":"1338700368","filename":"file5"},{"photo_id":"1338700361","filename":"file2"},{"photo_id":"1338700365","filename":"file4"},{"photo_id":"1338700359","filename":"file1"},{"photo_id":"1338700357","filename":"file0"},{"photo_id":"1338700363","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338700361":["hashtag1","hashtag2"]},{"1338700363":["hashtag1","hashtag2"]},{"1338700357":["hashtag1","hashtag2"]},{"1338700365":["hashtag1","hashtag2"]},{"1338700359":["hashtag1","hashtag2"]},{"1338700368":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338700361, 1338700363, 1338700357, 1338700365, 1338700359, 1338700368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96959400177002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:48:03.225970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/55/image_19022025_17_55_16_9314.jpg', '/home/pi/Desktop/images/19022025/17/55/image_19022025_17_55_46_9461.jpg', '/home/pi/Desktop/images/19022025/17/55/image_19022025_17_55_57_10413.jpg', '/home/pi/Desktop/images/19022025/17/55/image_19022025_17_56_06_9308.jpg', '/home/pi/Desktop/images/19022025/17/56/image_19022025_17_56_27_10328.jpg', '/home/pi/Desktop/images/19022025/17/56/image_19022025_17_56_36_9327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/55/image_19022025_17_55_16_9314.jpg
/home/pi/Desktop/images/19022025/17/55/image_19022025_17_55_46_9461.jpg
/home/pi/Desktop/images/19022025/17/55/image_19022025_17_55_57_10413.jpg
/home/pi/Desktop/images/19022025/17/55/image_19022025_17_56_06_9308.jpg
/home/pi/Desktop/images/19022025/17/56/image_19022025_17_56_27_10328.jpg
/home/pi/Desktop/images/19022025/17/56/image_19022025_17_56_36_9327.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338700427","1338700414","1338700423","1338700434","1338700391","1338700385"],"photo_ids_order":["1338700385","1338700391","1338700414","1338700423","1338700427","1338700434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3e8b7c5fb2e1bbf9a5fc4ea693ed6b8d.jpg","text":"TemporaryFile(/tmp/multipartBody603764096096021416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095344431,"filename":"image_19022025_17_56_27_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06cb5cae248bbb28698c34d6575e6c09.jpg","text":"TemporaryFile(/tmp/multipartBody4301417706206920079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095344431,"filename":"image_19022025_17_55_57_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/beff4e298cf62563f9d18a7ea1bcb7f4.jpg","text":"TemporaryFile(/tmp/multipartBody5484281922610750470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095344431,"filename":"image_19022025_17_56_06_9308.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1bc697510223dca5be8a78ae1aa038c3.jpg","text":"TemporaryFile(/tmp/multipartBody3965558044198668104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095344431,"filename":"image_19022025_17_56_36_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d3ebaf40b8cbbff7954401b2071afc3d.jpg","text":"TemporaryFile(/tmp/multipartBody46167224435657221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095344431,"filename":"image_19022025_17_55_46_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83f46f15a9448ceda11f04f78bad1384.jpg","text":"TemporaryFile(/tmp/multipartBody1492441978838853443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095344431,"filename":"image_19022025_17_55_16_9314.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338700414","file1":"1338700391","file0":"1338700385","file4":"1338700427","file5":"1338700434","file3":"1338700423"},"map_files_photo_id_array":[{"photo_id":"1338700434","filename":"file5"},{"photo_id":"1338700414","filename":"file2"},{"photo_id":"1338700427","filename":"file4"},{"photo_id":"1338700391","filename":"file1"},{"photo_id":"1338700385","filename":"file0"},{"photo_id":"1338700423","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338700427":["hashtag1","hashtag2"]},{"1338700414":["hashtag1","hashtag2"]},{"1338700423":["hashtag1","hashtag2"]},{"1338700434":["hashtag1","hashtag2"]},{"1338700391":["hashtag1","hashtag2"]},{"1338700385":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338700427, 1338700414, 1338700423, 1338700434, 1338700391, 1338700385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20224046707153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:49:03.174605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/56/image_19022025_17_56_47_10347.jpg', '/home/pi/Desktop/images/19022025/17/56/image_19022025_17_56_57_10335.jpg', '/home/pi/Desktop/images/19022025/17/56/image_19022025_17_57_06_9318.jpg', '/home/pi/Desktop/images/19022025/17/57/image_19022025_17_57_17_10332.jpg', '/home/pi/Desktop/images/19022025/17/57/image_19022025_17_57_27_10358.jpg', '/home/pi/Desktop/images/19022025/17/57/image_19022025_17_57_36_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/56/image_19022025_17_56_47_10347.jpg
/home/pi/Desktop/images/19022025/17/56/image_19022025_17_56_57_10335.jpg
/home/pi/Desktop/images/19022025/17/56/image_19022025_17_57_06_9318.jpg
/home/pi/Desktop/images/19022025/17/57/image_19022025_17_57_17_10332.jpg
/home/pi/Desktop/images/19022025/17/57/image_19022025_17_57_27_10358.jpg
/home/pi/Desktop/images/19022025/17/57/image_19022025_17_57_36_9404.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338700472","1338700481","1338700475","1338700478","1338700483","1338700486"],"photo_ids_order":["1338700472","1338700475","1338700478","1338700481","1338700483","1338700486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/82452078ce5fe2c13be1b81b774484e1.jpg","text":"TemporaryFile(/tmp/multipartBody93487130546888660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095404613,"filename":"image_19022025_17_56_47_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/35ee1c018cc0a86af1f446e79a8751bf.jpg","text":"TemporaryFile(/tmp/multipartBody6996660968647107922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095404613,"filename":"image_19022025_17_57_17_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aa193c9ef3c8e6c394b02f4a27979466.jpg","text":"TemporaryFile(/tmp/multipartBody5151854871837889552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095404613,"filename":"image_19022025_17_56_57_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61e01c710070b230281bb761a2370d7b.jpg","text":"TemporaryFile(/tmp/multipartBody9038281116753559305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095404613,"filename":"image_19022025_17_57_06_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4564dfd014d848cb3d10e1fc6688cda2.jpg","text":"TemporaryFile(/tmp/multipartBody4118863194971960071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095404613,"filename":"image_19022025_17_57_27_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce111f86673561f83e1df5dc791f4dcb.jpg","text":"TemporaryFile(/tmp/multipartBody3906263493836761434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095404613,"filename":"image_19022025_17_57_36_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338700478","file1":"1338700475","file0":"1338700472","file4":"1338700483","file5":"1338700486","file3":"1338700481"},"map_files_photo_id_array":[{"photo_id":"1338700486","filename":"file5"},{"photo_id":"1338700478","filename":"file2"},{"photo_id":"1338700483","filename":"file4"},{"photo_id":"1338700475","filename":"file1"},{"photo_id":"1338700472","filename":"file0"},{"photo_id":"1338700481","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338700472":["hashtag1","hashtag2"]},{"1338700481":["hashtag1","hashtag2"]},{"1338700475":["hashtag1","hashtag2"]},{"1338700478":["hashtag1","hashtag2"]},{"1338700483":["hashtag1","hashtag2"]},{"1338700486":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338700472, 1338700481, 1338700475, 1338700478, 1338700483, 1338700486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.98386836051941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:50:03.204610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/57/image_19022025_17_57_47_10401.jpg', '/home/pi/Desktop/images/19022025/17/57/image_19022025_17_57_57_10322.jpg', '/home/pi/Desktop/images/19022025/17/58/image_19022025_17_58_17_10333.jpg', '/home/pi/Desktop/images/19022025/17/58/image_19022025_17_58_26_9330.jpg', '/home/pi/Desktop/images/19022025/17/58/image_19022025_17_58_36_10373.jpg', '/home/pi/Desktop/images/19022025/17/58/image_19022025_17_58_47_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/57/image_19022025_17_57_47_10401.jpg
/home/pi/Desktop/images/19022025/17/57/image_19022025_17_57_57_10322.jpg
/home/pi/Desktop/images/19022025/17/58/image_19022025_17_58_17_10333.jpg
/home/pi/Desktop/images/19022025/17/58/image_19022025_17_58_26_9330.jpg
/home/pi/Desktop/images/19022025/17/58/image_19022025_17_58_36_10373.jpg
/home/pi/Desktop/images/19022025/17/58/image_19022025_17_58_47_10337.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338700503","1338700523","1338700502","1338700498","1338700516","1338700500"],"photo_ids_order":["1338700498","1338700500","1338700502","1338700503","1338700516","1338700523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a97c1f451234c7a63f12d4e3123a611c.jpg","text":"TemporaryFile(/tmp/multipartBody3306386331962639767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095464421,"filename":"image_19022025_17_58_26_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2b8effd5af7867c89d2f31b336091c3f.jpg","text":"TemporaryFile(/tmp/multipartBody7523975338126951940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095464421,"filename":"image_19022025_17_58_47_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/14bf9da8305734e166acafd83cabc298.jpg","text":"TemporaryFile(/tmp/multipartBody982709337876739762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095464421,"filename":"image_19022025_17_58_17_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fdd617b2a234f8fab060a8d4e9b1f2d2.jpg","text":"TemporaryFile(/tmp/multipartBody2938664650939103360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095464421,"filename":"image_19022025_17_57_47_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e12ec8c8de8b63388dfef75a4fd51eae.jpg","text":"TemporaryFile(/tmp/multipartBody4600587296170931675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095464421,"filename":"image_19022025_17_58_36_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04a86c64886943bc7d369c35534ea2b6.jpg","text":"TemporaryFile(/tmp/multipartBody4151575323439699958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095464421,"filename":"image_19022025_17_57_57_10322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338700502","file1":"1338700500","file0":"1338700498","file4":"1338700516","file5":"1338700523","file3":"1338700503"},"map_files_photo_id_array":[{"photo_id":"1338700523","filename":"file5"},{"photo_id":"1338700502","filename":"file2"},{"photo_id":"1338700516","filename":"file4"},{"photo_id":"1338700500","filename":"file1"},{"photo_id":"1338700498","filename":"file0"},{"photo_id":"1338700503","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338700503":["hashtag1","hashtag2"]},{"1338700523":["hashtag1","hashtag2"]},{"1338700502":["hashtag1","hashtag2"]},{"1338700498":["hashtag1","hashtag2"]},{"1338700516":["hashtag1","hashtag2"]},{"1338700500":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338700503, 1338700523, 1338700502, 1338700498, 1338700516, 1338700500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95671582221985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:51:03.261829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/17/58/image_19022025_17_58_56_9342.jpg', '/home/pi/Desktop/images/19022025/17/58/image_19022025_17_59_07_10426.jpg', '/home/pi/Desktop/images/19022025/17/59/image_19022025_17_59_17_10356.jpg', '/home/pi/Desktop/images/19022025/17/59/image_19022025_17_59_37_10416.jpg', '/home/pi/Desktop/images/19022025/18/00/image_19022025_18_00_16_10066.jpg', '/home/pi/Desktop/images/19022025/18/00/image_19022025_18_00_37_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/17/58/image_19022025_17_58_56_9342.jpg
/home/pi/Desktop/images/19022025/17/58/image_19022025_17_59_07_10426.jpg
/home/pi/Desktop/images/19022025/17/59/image_19022025_17_59_17_10356.jpg
/home/pi/Desktop/images/19022025/17/59/image_19022025_17_59_37_10416.jpg
/home/pi/Desktop/images/19022025/18/00/image_19022025_18_00_16_10066.jpg
/home/pi/Desktop/images/19022025/18/00/image_19022025_18_00_37_10430.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338700547","1338700546","1338700555","1338700557","1338700551","1338700545"],"photo_ids_order":["1338700545","1338700546","1338700547","1338700551","1338700555","1338700557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/94ee1132eec4167e14af6236a17dea31.jpg","text":"TemporaryFile(/tmp/multipartBody5839662454068397645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095524649,"filename":"image_19022025_17_59_17_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/924e02683b9f49ce09221419cf9361d9.jpg","text":"TemporaryFile(/tmp/multipartBody429928141644698842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095524649,"filename":"image_19022025_17_59_07_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d2fd66c60ad32ee687e45d806542395a.jpg","text":"TemporaryFile(/tmp/multipartBody4346081359966957599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095524649,"filename":"image_19022025_18_00_16_10066.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a55e6473ce0b86c5506ed9daf665259b.jpg","text":"TemporaryFile(/tmp/multipartBody503771124259877916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095524649,"filename":"image_19022025_18_00_37_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c4798508e2aabe928646acef45cd4aef.jpg","text":"TemporaryFile(/tmp/multipartBody8052099566974359058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095524649,"filename":"image_19022025_17_59_37_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80c922fccb869463cbd81133fd736f2e.jpg","text":"TemporaryFile(/tmp/multipartBody9106047663653114137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095524649,"filename":"image_19022025_17_58_56_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338700547","file1":"1338700546","file0":"1338700545","file4":"1338700555","file5":"1338700557","file3":"1338700551"},"map_files_photo_id_array":[{"photo_id":"1338700557","filename":"file5"},{"photo_id":"1338700547","filename":"file2"},{"photo_id":"1338700555","filename":"file4"},{"photo_id":"1338700546","filename":"file1"},{"photo_id":"1338700545","filename":"file0"},{"photo_id":"1338700551","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338700547":["hashtag1","hashtag2"]},{"1338700546":["hashtag1","hashtag2"]},{"1338700555":["hashtag1","hashtag2"]},{"1338700557":["hashtag1","hashtag2"]},{"1338700551":["hashtag1","hashtag2"]},{"1338700545":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338700547, 1338700546, 1338700555, 1338700557, 1338700551, 1338700545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68637537956238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:52:03.540353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/00/image_19022025_18_00_46_9364.jpg', '/home/pi/Desktop/images/19022025/18/00/image_19022025_18_00_56_10339.jpg', '/home/pi/Desktop/images/19022025/18/01/image_19022025_18_01_26_10413.jpg', '/home/pi/Desktop/images/19022025/18/01/image_19022025_18_01_56_10377.jpg', '/home/pi/Desktop/images/19022025/18/01/image_19022025_18_02_06_9325.jpg', '/home/pi/Desktop/images/19022025/18/03/image_19022025_18_03_27_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/00/image_19022025_18_00_46_9364.jpg
/home/pi/Desktop/images/19022025/18/00/image_19022025_18_00_56_10339.jpg
/home/pi/Desktop/images/19022025/18/01/image_19022025_18_01_26_10413.jpg
/home/pi/Desktop/images/19022025/18/01/image_19022025_18_01_56_10377.jpg
/home/pi/Desktop/images/19022025/18/01/image_19022025_18_02_06_9325.jpg
/home/pi/Desktop/images/19022025/18/03/image_19022025_18_03_27_10351.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338701159","1338700691","1338700571","1338700967","1338701323","1338700809"],"photo_ids_order":["1338700571","1338700691","1338700809","1338700967","1338701159","1338701323"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87cb4cd8acfa4a42c897829ec9808ce7.jpg","text":"TemporaryFile(/tmp/multipartBody5406492685262424753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095584824,"filename":"image_19022025_18_02_06_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5588eeacbf9497b23e9e39cef514fda3.jpg","text":"TemporaryFile(/tmp/multipartBody5093424765041136891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095584824,"filename":"image_19022025_18_00_56_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7acc6532aec009ddc245b386a05781c.jpg","text":"TemporaryFile(/tmp/multipartBody5722297801763032477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095584824,"filename":"image_19022025_18_00_46_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/908008732602f63e8b3c0f7d8ec567d8.jpg","text":"TemporaryFile(/tmp/multipartBody8052175347200766181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095584824,"filename":"image_19022025_18_01_56_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/acd727245d1626f603b8d7517fb8745d.jpg","text":"TemporaryFile(/tmp/multipartBody5223696676204938632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095584824,"filename":"image_19022025_18_03_27_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/753c154860f515ad4bde1429f50f219b.jpg","text":"TemporaryFile(/tmp/multipartBody4431222810114954326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095584824,"filename":"image_19022025_18_01_26_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338700809","file1":"1338700691","file0":"1338700571","file4":"1338701159","file5":"1338701323","file3":"1338700967"},"map_files_photo_id_array":[{"photo_id":"1338701323","filename":"file5"},{"photo_id":"1338700809","filename":"file2"},{"photo_id":"1338701159","filename":"file4"},{"photo_id":"1338700691","filename":"file1"},{"photo_id":"1338700571","filename":"file0"},{"photo_id":"1338700967","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338701159":["hashtag1","hashtag2"]},{"1338700691":["hashtag1","hashtag2"]},{"1338700571":["hashtag1","hashtag2"]},{"1338700967":["hashtag1","hashtag2"]},{"1338701323":["hashtag1","hashtag2"]},{"1338700809":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338701159, 1338700691, 1338700571, 1338700967, 1338701323, 1338700809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.221052408218384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:53:03.712698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/03/image_19022025_18_03_36_9319.jpg', '/home/pi/Desktop/images/19022025/18/03/image_19022025_18_04_06_9310.jpg', '/home/pi/Desktop/images/19022025/18/04/image_19022025_18_05_06_10382.jpg', '/home/pi/Desktop/images/19022025/18/05/image_19022025_18_05_26_9349.jpg', '/home/pi/Desktop/images/19022025/18/05/image_19022025_18_05_36_10347.jpg', '/home/pi/Desktop/images/19022025/18/05/image_19022025_18_05_56_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/03/image_19022025_18_03_36_9319.jpg
/home/pi/Desktop/images/19022025/18/03/image_19022025_18_04_06_9310.jpg
/home/pi/Desktop/images/19022025/18/04/image_19022025_18_05_06_10382.jpg
/home/pi/Desktop/images/19022025/18/05/image_19022025_18_05_26_9349.jpg
/home/pi/Desktop/images/19022025/18/05/image_19022025_18_05_36_10347.jpg
/home/pi/Desktop/images/19022025/18/05/image_19022025_18_05_56_9334.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338701395","1338701425","1338701428","1338701407","1338701397","1338701409"],"photo_ids_order":["1338701395","1338701397","1338701407","1338701409","1338701425","1338701428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04caeeffd7b5da6f7fdf0fd0a22aeae8.jpg","text":"TemporaryFile(/tmp/multipartBody361800429122892715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095645131,"filename":"image_19022025_18_03_36_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/688ffb223fa73d425cfdf9f365b240f8.jpg","text":"TemporaryFile(/tmp/multipartBody4579034090770320426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095645131,"filename":"image_19022025_18_05_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ed1e1d9f99dd64961e99e18bb04d7039.jpg","text":"TemporaryFile(/tmp/multipartBody1673683678818789546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095645131,"filename":"image_19022025_18_05_56_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/953c2fdeae999f4d0a2dd9d75e58b618.jpg","text":"TemporaryFile(/tmp/multipartBody2631309768126882567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095645131,"filename":"image_19022025_18_05_06_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c8d9bc45fbe316ef8eae001712090f7d.jpg","text":"TemporaryFile(/tmp/multipartBody1293190437768236255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095645131,"filename":"image_19022025_18_04_06_9310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5fe3c5bf910eb34496698dc93282f639.jpg","text":"TemporaryFile(/tmp/multipartBody5153284323820196770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095645131,"filename":"image_19022025_18_05_26_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338701407","file1":"1338701397","file0":"1338701395","file4":"1338701425","file5":"1338701428","file3":"1338701409"},"map_files_photo_id_array":[{"photo_id":"1338701428","filename":"file5"},{"photo_id":"1338701407","filename":"file2"},{"photo_id":"1338701425","filename":"file4"},{"photo_id":"1338701397","filename":"file1"},{"photo_id":"1338701395","filename":"file0"},{"photo_id":"1338701409","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338701395":["hashtag1","hashtag2"]},{"1338701425":["hashtag1","hashtag2"]},{"1338701428":["hashtag1","hashtag2"]},{"1338701407":["hashtag1","hashtag2"]},{"1338701397":["hashtag1","hashtag2"]},{"1338701409":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338701395, 1338701425, 1338701428, 1338701407, 1338701397, 1338701409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37209367752075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:54:02.640541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/06/image_19022025_18_06_17_10345.jpg', '/home/pi/Desktop/images/19022025/18/06/image_19022025_18_06_37_10479.jpg', '/home/pi/Desktop/images/19022025/18/06/image_19022025_18_06_56_10342.jpg', '/home/pi/Desktop/images/19022025/18/07/image_19022025_18_07_16_9349.jpg', '/home/pi/Desktop/images/19022025/18/07/image_19022025_18_07_26_10346.jpg', '/home/pi/Desktop/images/19022025/18/07/image_19022025_18_07_37_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/06/image_19022025_18_06_17_10345.jpg
/home/pi/Desktop/images/19022025/18/06/image_19022025_18_06_37_10479.jpg
/home/pi/Desktop/images/19022025/18/06/image_19022025_18_06_56_10342.jpg
/home/pi/Desktop/images/19022025/18/07/image_19022025_18_07_16_9349.jpg
/home/pi/Desktop/images/19022025/18/07/image_19022025_18_07_26_10346.jpg
/home/pi/Desktop/images/19022025/18/07/image_19022025_18_07_37_10361.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338701810","1338701787","1338701811","1338701901","1338701888","1338701805"],"photo_ids_order":["1338701787","1338701805","1338701810","1338701811","1338701888","1338701901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c19b4089dc542f147d823237fe47d999.jpg","text":"TemporaryFile(/tmp/multipartBody4348461797687157379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095705920,"filename":"image_19022025_18_06_56_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9134792f18e22cf601a1e3b493302284.jpg","text":"TemporaryFile(/tmp/multipartBody5440977672553037042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095705920,"filename":"image_19022025_18_06_17_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2fe964165881f244b54563053d8902df.jpg","text":"TemporaryFile(/tmp/multipartBody9220249729982724238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095705920,"filename":"image_19022025_18_07_16_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/269ed080e8f3d11a637e5c3d3819a5a5.jpg","text":"TemporaryFile(/tmp/multipartBody358612101790060471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095705920,"filename":"image_19022025_18_07_37_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eac2ce898225660ec0123e0aa616347a.jpg","text":"TemporaryFile(/tmp/multipartBody5619054628872643820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095705920,"filename":"image_19022025_18_07_26_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8abd379ff17f4e73dc18e3d2a3b8e53c.jpg","text":"TemporaryFile(/tmp/multipartBody3068933825392642524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095705920,"filename":"image_19022025_18_06_37_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338701810","file1":"1338701805","file0":"1338701787","file4":"1338701888","file5":"1338701901","file3":"1338701811"},"map_files_photo_id_array":[{"photo_id":"1338701901","filename":"file5"},{"photo_id":"1338701810","filename":"file2"},{"photo_id":"1338701888","filename":"file4"},{"photo_id":"1338701805","filename":"file1"},{"photo_id":"1338701787","filename":"file0"},{"photo_id":"1338701811","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338701810":["hashtag1","hashtag2"]},{"1338701787":["hashtag1","hashtag2"]},{"1338701811":["hashtag1","hashtag2"]},{"1338701901":["hashtag1","hashtag2"]},{"1338701888":["hashtag1","hashtag2"]},{"1338701805":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338701810, 1338701787, 1338701811, 1338701901, 1338701888, 1338701805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15167307853699 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:55:03.952118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/07/image_19022025_18_07_46_9340.jpg', '/home/pi/Desktop/images/19022025/18/07/image_19022025_18_07_56_10457.jpg', '/home/pi/Desktop/images/19022025/18/08/image_19022025_18_08_16_10367.jpg', '/home/pi/Desktop/images/19022025/18/08/image_19022025_18_08_27_10425.jpg', '/home/pi/Desktop/images/19022025/18/08/image_19022025_18_08_36_9332.jpg', '/home/pi/Desktop/images/19022025/18/08/image_19022025_18_08_46_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/07/image_19022025_18_07_46_9340.jpg
/home/pi/Desktop/images/19022025/18/07/image_19022025_18_07_56_10457.jpg
/home/pi/Desktop/images/19022025/18/08/image_19022025_18_08_16_10367.jpg
/home/pi/Desktop/images/19022025/18/08/image_19022025_18_08_27_10425.jpg
/home/pi/Desktop/images/19022025/18/08/image_19022025_18_08_36_9332.jpg
/home/pi/Desktop/images/19022025/18/08/image_19022025_18_08_46_10354.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338702007","1338702018","1338702015","1338702003","1338701993","1338701981"],"photo_ids_order":["1338701981","1338701993","1338702003","1338702007","1338702015","1338702018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cb9a98235fb05b14de11fc20e7657df9.jpg","text":"TemporaryFile(/tmp/multipartBody4498770869591193154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095765287,"filename":"image_19022025_18_08_27_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c110c788fa011acc0afd4744a078071e.jpg","text":"TemporaryFile(/tmp/multipartBody4809569863733418314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095765287,"filename":"image_19022025_18_08_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f0c54353533cc53542c07aa151032627.jpg","text":"TemporaryFile(/tmp/multipartBody6250420565370143942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095765287,"filename":"image_19022025_18_08_36_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8daf65705739cd230837de8bda6242a8.jpg","text":"TemporaryFile(/tmp/multipartBody2697497481969099768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095765287,"filename":"image_19022025_18_08_16_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7d5d87f14ac12a556aa0cd358b6a779f.jpg","text":"TemporaryFile(/tmp/multipartBody3103728306185817573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095765287,"filename":"image_19022025_18_07_56_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/50ebba5da793945ee8f09f5a479f84c1.jpg","text":"TemporaryFile(/tmp/multipartBody7982744385467410087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095765287,"filename":"image_19022025_18_07_46_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338702003","file1":"1338701993","file0":"1338701981","file4":"1338702015","file5":"1338702018","file3":"1338702007"},"map_files_photo_id_array":[{"photo_id":"1338702018","filename":"file5"},{"photo_id":"1338702003","filename":"file2"},{"photo_id":"1338702015","filename":"file4"},{"photo_id":"1338701993","filename":"file1"},{"photo_id":"1338701981","filename":"file0"},{"photo_id":"1338702007","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338702007":["hashtag1","hashtag2"]},{"1338702018":["hashtag1","hashtag2"]},{"1338702015":["hashtag1","hashtag2"]},{"1338702003":["hashtag1","hashtag2"]},{"1338701993":["hashtag1","hashtag2"]},{"1338701981":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338702007, 1338702018, 1338702015, 1338702003, 1338701993, 1338701981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22303748130798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:56:02.985040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/08/image_19022025_18_08_57_10358.jpg', '/home/pi/Desktop/images/19022025/18/08/image_19022025_18_09_06_9391.jpg', '/home/pi/Desktop/images/19022025/18/09/image_19022025_18_09_16_10376.jpg', '/home/pi/Desktop/images/19022025/18/09/image_19022025_18_09_26_9370.jpg', '/home/pi/Desktop/images/19022025/18/09/image_19022025_18_09_36_10336.jpg', '/home/pi/Desktop/images/19022025/18/09/image_19022025_18_09_46_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/08/image_19022025_18_08_57_10358.jpg
/home/pi/Desktop/images/19022025/18/08/image_19022025_18_09_06_9391.jpg
/home/pi/Desktop/images/19022025/18/09/image_19022025_18_09_16_10376.jpg
/home/pi/Desktop/images/19022025/18/09/image_19022025_18_09_26_9370.jpg
/home/pi/Desktop/images/19022025/18/09/image_19022025_18_09_36_10336.jpg
/home/pi/Desktop/images/19022025/18/09/image_19022025_18_09_46_10367.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338702133","1338702100","1338702099","1338702135","1338702140","1338702137"],"photo_ids_order":["1338702099","1338702100","1338702133","1338702135","1338702137","1338702140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/10930e4a7aa013b98acf19b1fa689228.jpg","text":"TemporaryFile(/tmp/multipartBody120435429517243555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095824211,"filename":"image_19022025_18_09_16_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3833e9426d362c002ad9241e0cf0f6e0.jpg","text":"TemporaryFile(/tmp/multipartBody2520162011656559661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095824211,"filename":"image_19022025_18_09_06_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7a28312cb5eaaaa12a4c75578ab8ccb.jpg","text":"TemporaryFile(/tmp/multipartBody4382516349806739742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095824211,"filename":"image_19022025_18_08_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d341e619aff892287606ef570d59046.jpg","text":"TemporaryFile(/tmp/multipartBody2128081543650423734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095824211,"filename":"image_19022025_18_09_26_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d7621d1f5376b6fffbf7a85db22aef75.jpg","text":"TemporaryFile(/tmp/multipartBody239941111160663603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095824211,"filename":"image_19022025_18_09_46_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bb9af54b06593e406b7b485e3ca83bc2.jpg","text":"TemporaryFile(/tmp/multipartBody9176052406142724907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095824211,"filename":"image_19022025_18_09_36_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338702133","file1":"1338702100","file0":"1338702099","file4":"1338702137","file5":"1338702140","file3":"1338702135"},"map_files_photo_id_array":[{"photo_id":"1338702140","filename":"file5"},{"photo_id":"1338702133","filename":"file2"},{"photo_id":"1338702137","filename":"file4"},{"photo_id":"1338702100","filename":"file1"},{"photo_id":"1338702099","filename":"file0"},{"photo_id":"1338702135","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338702133":["hashtag1","hashtag2"]},{"1338702100":["hashtag1","hashtag2"]},{"1338702099":["hashtag1","hashtag2"]},{"1338702135":["hashtag1","hashtag2"]},{"1338702140":["hashtag1","hashtag2"]},{"1338702137":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338702133, 1338702100, 1338702099, 1338702135, 1338702140, 1338702137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.577534198760986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:57:03.923740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/09/image_19022025_18_09_56_9338.jpg', '/home/pi/Desktop/images/19022025/18/09/image_19022025_18_10_06_10332.jpg', '/home/pi/Desktop/images/19022025/18/10/image_19022025_18_10_16_10352.jpg', '/home/pi/Desktop/images/19022025/18/10/image_19022025_18_10_36_10334.jpg', '/home/pi/Desktop/images/19022025/18/10/image_19022025_18_10_56_9320.jpg', '/home/pi/Desktop/images/19022025/18/11/image_19022025_18_11_17_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/09/image_19022025_18_09_56_9338.jpg
/home/pi/Desktop/images/19022025/18/09/image_19022025_18_10_06_10332.jpg
/home/pi/Desktop/images/19022025/18/10/image_19022025_18_10_16_10352.jpg
/home/pi/Desktop/images/19022025/18/10/image_19022025_18_10_36_10334.jpg
/home/pi/Desktop/images/19022025/18/10/image_19022025_18_10_56_9320.jpg
/home/pi/Desktop/images/19022025/18/11/image_19022025_18_11_17_10425.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338702175","1338702208","1338702204","1338702197","1338702215","1338702200"],"photo_ids_order":["1338702175","1338702197","1338702200","1338702204","1338702208","1338702215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4c33c6d79296f1f73cad31393001b77.jpg","text":"TemporaryFile(/tmp/multipartBody2482089280558744671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095887124,"filename":"image_19022025_18_09_56_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0abeaf2795dfca9b798453924dc01d7e.jpg","text":"TemporaryFile(/tmp/multipartBody4315884766557042039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095887124,"filename":"image_19022025_18_10_56_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/454e406483b92f86eebcb91511c77910.jpg","text":"TemporaryFile(/tmp/multipartBody2929428669889089558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095887124,"filename":"image_19022025_18_10_36_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eaf4984c49ca99eb9e439ab429fad136.jpg","text":"TemporaryFile(/tmp/multipartBody8331414522729507461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095887124,"filename":"image_19022025_18_10_06_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/03f7569d35769eb40ed68e4fd97d3365.jpg","text":"TemporaryFile(/tmp/multipartBody3833046049326052150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095887124,"filename":"image_19022025_18_11_17_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/84490f64e5437b6e8f26e44e6f28b107.jpg","text":"TemporaryFile(/tmp/multipartBody913519185654419715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740095887124,"filename":"image_19022025_18_10_16_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338702200","file1":"1338702197","file0":"1338702175","file4":"1338702208","file5":"1338702215","file3":"1338702204"},"map_files_photo_id_array":[{"photo_id":"1338702215","filename":"file5"},{"photo_id":"1338702200","filename":"file2"},{"photo_id":"1338702208","filename":"file4"},{"photo_id":"1338702197","filename":"file1"},{"photo_id":"1338702175","filename":"file0"},{"photo_id":"1338702204","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338702175":["hashtag1","hashtag2"]},{"1338702208":["hashtag1","hashtag2"]},{"1338702204":["hashtag1","hashtag2"]},{"1338702197":["hashtag1","hashtag2"]},{"1338702215":["hashtag1","hashtag2"]},{"1338702200":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338702175, 1338702208, 1338702204, 1338702197, 1338702215, 1338702200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3554584980011 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:59:03.360169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/11/image_19022025_18_11_26_9320.jpg', '/home/pi/Desktop/images/19022025/18/11/image_19022025_18_11_36_10409.jpg', '/home/pi/Desktop/images/19022025/18/11/image_19022025_18_11_46_9368.jpg', '/home/pi/Desktop/images/19022025/18/11/image_19022025_18_11_56_10339.jpg', '/home/pi/Desktop/images/19022025/18/11/image_19022025_18_12_07_10449.jpg', '/home/pi/Desktop/images/19022025/18/12/image_19022025_18_12_16_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/11/image_19022025_18_11_26_9320.jpg
/home/pi/Desktop/images/19022025/18/11/image_19022025_18_11_36_10409.jpg
/home/pi/Desktop/images/19022025/18/11/image_19022025_18_11_46_9368.jpg
/home/pi/Desktop/images/19022025/18/11/image_19022025_18_11_56_10339.jpg
/home/pi/Desktop/images/19022025/18/11/image_19022025_18_12_07_10449.jpg
/home/pi/Desktop/images/19022025/18/12/image_19022025_18_12_16_9354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338702840","1338702834","1338702831","1338702869","1338702854","1338702874"],"photo_ids_order":["1338702831","1338702834","1338702840","1338702854","1338702869","1338702874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/54e06496d85491ba2c2698e702f1d7bd.jpg","text":"TemporaryFile(/tmp/multipartBody3559608450944145869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096004749,"filename":"image_19022025_18_11_46_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b5a25256f951346d9f2649d892ac14b7.jpg","text":"TemporaryFile(/tmp/multipartBody6434759589857055717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096004749,"filename":"image_19022025_18_11_36_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d932a2da15da0f1623a438c5cfb73ef8.jpg","text":"TemporaryFile(/tmp/multipartBody8620390699016664921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096004749,"filename":"image_19022025_18_11_26_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a74e45ab5ff4908c042cb27c4d5a9a70.jpg","text":"TemporaryFile(/tmp/multipartBody8827622532164207203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096004749,"filename":"image_19022025_18_12_07_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/124649b2b7c6c565f643d7cd1c128639.jpg","text":"TemporaryFile(/tmp/multipartBody3186617269375521319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096004749,"filename":"image_19022025_18_11_56_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8d2470c3480db3d646c794dd88e1d22f.jpg","text":"TemporaryFile(/tmp/multipartBody7600059105948508998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096004749,"filename":"image_19022025_18_12_16_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338702840","file1":"1338702834","file0":"1338702831","file4":"1338702869","file5":"1338702874","file3":"1338702854"},"map_files_photo_id_array":[{"photo_id":"1338702874","filename":"file5"},{"photo_id":"1338702840","filename":"file2"},{"photo_id":"1338702869","filename":"file4"},{"photo_id":"1338702834","filename":"file1"},{"photo_id":"1338702831","filename":"file0"},{"photo_id":"1338702854","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338702840":["hashtag1","hashtag2"]},{"1338702834":["hashtag1","hashtag2"]},{"1338702831":["hashtag1","hashtag2"]},{"1338702869":["hashtag1","hashtag2"]},{"1338702854":["hashtag1","hashtag2"]},{"1338702874":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338702840, 1338702834, 1338702831, 1338702869, 1338702854, 1338702874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61498498916626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 00:59:42.510071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/12/image_19022025_18_12_26_10337.jpg', '/home/pi/Desktop/images/19022025/18/12/image_19022025_18_12_37_10415.jpg', '/home/pi/Desktop/images/19022025/18/12/image_19022025_18_12_46_9344.jpg', '/home/pi/Desktop/images/19022025/18/12/image_19022025_18_12_56_10402.jpg', '/home/pi/Desktop/images/19022025/18/12/image_19022025_18_13_06_9415.jpg', '/home/pi/Desktop/images/19022025/18/13/image_19022025_18_13_27_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/12/image_19022025_18_12_26_10337.jpg
/home/pi/Desktop/images/19022025/18/12/image_19022025_18_12_37_10415.jpg
/home/pi/Desktop/images/19022025/18/12/image_19022025_18_12_46_9344.jpg
/home/pi/Desktop/images/19022025/18/12/image_19022025_18_12_56_10402.jpg
/home/pi/Desktop/images/19022025/18/12/image_19022025_18_13_06_9415.jpg
/home/pi/Desktop/images/19022025/18/13/image_19022025_18_13_27_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338702883","1338702981","1338702983","1338702935","1338702985","1338702988"],"photo_ids_order":["1338702883","1338702935","1338702981","1338702983","1338702985","1338702988"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c48ec0ece2bab8b9f3ed48b606f89fd.jpg","text":"TemporaryFile(/tmp/multipartBody5358045833551168847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096043693,"filename":"image_19022025_18_12_26_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b79a8954e4e1d2f8b60697251819c856.jpg","text":"TemporaryFile(/tmp/multipartBody4811928735686627824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096043693,"filename":"image_19022025_18_12_46_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7cee72a70322328d460eea0aaaf5f0e2.jpg","text":"TemporaryFile(/tmp/multipartBody5534473581147523079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096043693,"filename":"image_19022025_18_12_56_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2178fb8173788b6ba4b105bb8f24326.jpg","text":"TemporaryFile(/tmp/multipartBody3377906323376313712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096043693,"filename":"image_19022025_18_12_37_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62b9ec5ecabd43106288a01c4d8d5367.jpg","text":"TemporaryFile(/tmp/multipartBody7199024707594837126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096043693,"filename":"image_19022025_18_13_06_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/01ed4db6a62d73a5f92af9e183b56357.jpg","text":"TemporaryFile(/tmp/multipartBody4523430891545123740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096043693,"filename":"image_19022025_18_13_27_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338702981","file1":"1338702935","file0":"1338702883","file4":"1338702985","file5":"1338702988","file3":"1338702983"},"map_files_photo_id_array":[{"photo_id":"1338702988","filename":"file5"},{"photo_id":"1338702981","filename":"file2"},{"photo_id":"1338702985","filename":"file4"},{"photo_id":"1338702935","filename":"file1"},{"photo_id":"1338702883","filename":"file0"},{"photo_id":"1338702983","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338702883":["hashtag1","hashtag2"]},{"1338702981":["hashtag1","hashtag2"]},{"1338702983":["hashtag1","hashtag2"]},{"1338702935":["hashtag1","hashtag2"]},{"1338702985":["hashtag1","hashtag2"]},{"1338702988":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338702883, 1338702981, 1338702983, 1338702935, 1338702985, 1338702988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.611854553222656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:00:32.555736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/13/image_19022025_18_13_46_10335.jpg', '/home/pi/Desktop/images/19022025/18/13/image_19022025_18_13_56_9412.jpg', '/home/pi/Desktop/images/19022025/18/13/image_19022025_18_14_06_10332.jpg', '/home/pi/Desktop/images/19022025/18/14/image_19022025_18_14_16_10417.jpg', '/home/pi/Desktop/images/19022025/18/14/image_19022025_18_14_36_10345.jpg', '/home/pi/Desktop/images/19022025/18/14/image_19022025_18_14_47_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/13/image_19022025_18_13_46_10335.jpg
/home/pi/Desktop/images/19022025/18/13/image_19022025_18_13_56_9412.jpg
/home/pi/Desktop/images/19022025/18/13/image_19022025_18_14_06_10332.jpg
/home/pi/Desktop/images/19022025/18/14/image_19022025_18_14_16_10417.jpg
/home/pi/Desktop/images/19022025/18/14/image_19022025_18_14_36_10345.jpg
/home/pi/Desktop/images/19022025/18/14/image_19022025_18_14_47_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338703225","1338703268","1338703241","1338703214","1338703261","1338703234"],"photo_ids_order":["1338703214","1338703225","1338703234","1338703241","1338703261","1338703268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c3671ddb0af230190d6d9c2e0630284.jpg","text":"TemporaryFile(/tmp/multipartBody5136425308776166647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096094600,"filename":"image_19022025_18_13_56_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f73c97fe879db7d95779714c349b8ca.jpg","text":"TemporaryFile(/tmp/multipartBody2981203887733583541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096094600,"filename":"image_19022025_18_14_47_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7dd65609c8a3cf06eec21041777c75cb.jpg","text":"TemporaryFile(/tmp/multipartBody4082301317583040879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096094600,"filename":"image_19022025_18_14_16_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1f03cf56331163414df7980141a3ee3.jpg","text":"TemporaryFile(/tmp/multipartBody6483195701029425489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096094600,"filename":"image_19022025_18_13_46_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e936d8c457502bfc4f77ebb27f1506b5.jpg","text":"TemporaryFile(/tmp/multipartBody7448134606595140136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096094600,"filename":"image_19022025_18_14_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/95e044ca0311cce50eca577376dc4009.jpg","text":"TemporaryFile(/tmp/multipartBody1874963781975106274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096094600,"filename":"image_19022025_18_14_06_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338703234","file1":"1338703225","file0":"1338703214","file4":"1338703261","file5":"1338703268","file3":"1338703241"},"map_files_photo_id_array":[{"photo_id":"1338703268","filename":"file5"},{"photo_id":"1338703234","filename":"file2"},{"photo_id":"1338703261","filename":"file4"},{"photo_id":"1338703225","filename":"file1"},{"photo_id":"1338703214","filename":"file0"},{"photo_id":"1338703241","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338703225":["hashtag1","hashtag2"]},{"1338703268":["hashtag1","hashtag2"]},{"1338703241":["hashtag1","hashtag2"]},{"1338703214":["hashtag1","hashtag2"]},{"1338703261":["hashtag1","hashtag2"]},{"1338703234":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338703225, 1338703268, 1338703241, 1338703214, 1338703261, 1338703234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57532000541687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:01:32.809692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/14/image_19022025_18_14_56_9357.jpg', '/home/pi/Desktop/images/19022025/18/15/image_19022025_18_15_26_10343.jpg', '/home/pi/Desktop/images/19022025/18/15/image_19022025_18_15_36_10397.jpg', '/home/pi/Desktop/images/19022025/18/15/image_19022025_18_16_06_10340.jpg', '/home/pi/Desktop/images/19022025/18/16/image_19022025_18_16_16_9342.jpg', '/home/pi/Desktop/images/19022025/18/16/image_19022025_18_16_37_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/14/image_19022025_18_14_56_9357.jpg
/home/pi/Desktop/images/19022025/18/15/image_19022025_18_15_26_10343.jpg
/home/pi/Desktop/images/19022025/18/15/image_19022025_18_15_36_10397.jpg
/home/pi/Desktop/images/19022025/18/15/image_19022025_18_16_06_10340.jpg
/home/pi/Desktop/images/19022025/18/16/image_19022025_18_16_16_9342.jpg
/home/pi/Desktop/images/19022025/18/16/image_19022025_18_16_37_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338703473","1338703560","1338703476","1338703530","1338703535","1338703492"],"photo_ids_order":["1338703473","1338703476","1338703492","1338703530","1338703535","1338703560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/733e46a9fa310b9b79f23818eea6518a.jpg","text":"TemporaryFile(/tmp/multipartBody6733019130875285338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096154859,"filename":"image_19022025_18_14_56_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/161ec94cd9bd5ac360c5202afa5be77a.jpg","text":"TemporaryFile(/tmp/multipartBody1477345196740543255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096154859,"filename":"image_19022025_18_16_37_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/60d709671c5161a76842ae3119bc79d3.jpg","text":"TemporaryFile(/tmp/multipartBody8427883372004166088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096154859,"filename":"image_19022025_18_15_26_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/131a79be2b676c97a32bd1252a1cab6b.jpg","text":"TemporaryFile(/tmp/multipartBody6570575118280032792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096154859,"filename":"image_19022025_18_16_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c520282e6d7536321ed47c782816acc3.jpg","text":"TemporaryFile(/tmp/multipartBody1619944269009937298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096154859,"filename":"image_19022025_18_16_16_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f51e3e82d53d47b91bce26835bc5db4e.jpg","text":"TemporaryFile(/tmp/multipartBody8842507105849933435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096154859,"filename":"image_19022025_18_15_36_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338703492","file1":"1338703476","file0":"1338703473","file4":"1338703535","file5":"1338703560","file3":"1338703530"},"map_files_photo_id_array":[{"photo_id":"1338703560","filename":"file5"},{"photo_id":"1338703492","filename":"file2"},{"photo_id":"1338703535","filename":"file4"},{"photo_id":"1338703476","filename":"file1"},{"photo_id":"1338703473","filename":"file0"},{"photo_id":"1338703530","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338703473":["hashtag1","hashtag2"]},{"1338703560":["hashtag1","hashtag2"]},{"1338703476":["hashtag1","hashtag2"]},{"1338703530":["hashtag1","hashtag2"]},{"1338703535":["hashtag1","hashtag2"]},{"1338703492":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338703473, 1338703560, 1338703476, 1338703530, 1338703535, 1338703492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64142870903015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:02:32.985447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/16/image_19022025_18_16_46_9325.jpg', '/home/pi/Desktop/images/19022025/18/16/image_19022025_18_16_56_10323.jpg', '/home/pi/Desktop/images/19022025/18/16/image_19022025_18_17_07_10400.jpg', '/home/pi/Desktop/images/19022025/18/17/image_19022025_18_17_26_10395.jpg', '/home/pi/Desktop/images/19022025/18/18/image_19022025_18_18_16_10327.jpg', '/home/pi/Desktop/images/19022025/18/18/image_19022025_18_18_26_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/16/image_19022025_18_16_46_9325.jpg
/home/pi/Desktop/images/19022025/18/16/image_19022025_18_16_56_10323.jpg
/home/pi/Desktop/images/19022025/18/16/image_19022025_18_17_07_10400.jpg
/home/pi/Desktop/images/19022025/18/17/image_19022025_18_17_26_10395.jpg
/home/pi/Desktop/images/19022025/18/18/image_19022025_18_18_16_10327.jpg
/home/pi/Desktop/images/19022025/18/18/image_19022025_18_18_26_10325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338703726","1338703729","1338703714","1338703781","1338703741","1338703717"],"photo_ids_order":["1338703714","1338703717","1338703726","1338703729","1338703741","1338703781"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6d6bdf1a07e062b9c40eb2d5f08e3862.jpg","text":"TemporaryFile(/tmp/multipartBody4000294729478700743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096215047,"filename":"image_19022025_18_17_07_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a6fd987758a96df986382999c359ab10.jpg","text":"TemporaryFile(/tmp/multipartBody6601512802625053844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096215047,"filename":"image_19022025_18_17_26_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ddfaea820d3c08fd7ed030428d651abe.jpg","text":"TemporaryFile(/tmp/multipartBody8498447948389789806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096215047,"filename":"image_19022025_18_16_46_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b02280b306b6ac8f429a08e3f977273a.jpg","text":"TemporaryFile(/tmp/multipartBody581275511755082291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096215047,"filename":"image_19022025_18_18_26_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a27b94cad98911c96692352e7b395ab4.jpg","text":"TemporaryFile(/tmp/multipartBody8552313696302087193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096215047,"filename":"image_19022025_18_18_16_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f071a3c625105ebfe9969aff0fd9a4fa.jpg","text":"TemporaryFile(/tmp/multipartBody9029432957983434875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096215047,"filename":"image_19022025_18_16_56_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338703726","file1":"1338703717","file0":"1338703714","file4":"1338703741","file5":"1338703781","file3":"1338703729"},"map_files_photo_id_array":[{"photo_id":"1338703781","filename":"file5"},{"photo_id":"1338703726","filename":"file2"},{"photo_id":"1338703741","filename":"file4"},{"photo_id":"1338703717","filename":"file1"},{"photo_id":"1338703714","filename":"file0"},{"photo_id":"1338703729","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338703726":["hashtag1","hashtag2"]},{"1338703729":["hashtag1","hashtag2"]},{"1338703714":["hashtag1","hashtag2"]},{"1338703781":["hashtag1","hashtag2"]},{"1338703741":["hashtag1","hashtag2"]},{"1338703717":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338703726, 1338703729, 1338703714, 1338703781, 1338703741, 1338703717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.27451992034912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:03:33.104384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/18/image_19022025_18_18_46_10368.jpg', '/home/pi/Desktop/images/19022025/18/18/image_19022025_18_18_57_10448.jpg', '/home/pi/Desktop/images/19022025/18/18/image_19022025_18_19_06_9339.jpg', '/home/pi/Desktop/images/19022025/18/19/image_19022025_18_19_26_9407.jpg', '/home/pi/Desktop/images/19022025/18/19/image_19022025_18_19_36_10339.jpg', '/home/pi/Desktop/images/19022025/18/19/image_19022025_18_19_46_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/18/image_19022025_18_18_46_10368.jpg
/home/pi/Desktop/images/19022025/18/18/image_19022025_18_18_57_10448.jpg
/home/pi/Desktop/images/19022025/18/18/image_19022025_18_19_06_9339.jpg
/home/pi/Desktop/images/19022025/18/19/image_19022025_18_19_26_9407.jpg
/home/pi/Desktop/images/19022025/18/19/image_19022025_18_19_36_10339.jpg
/home/pi/Desktop/images/19022025/18/19/image_19022025_18_19_46_10458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338703819","1338703828","1338703839","1338703824","1338703841","1338703822"],"photo_ids_order":["1338703819","1338703822","1338703824","1338703828","1338703839","1338703841"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/816aa696eea94761b1dfd69d4f45afac.jpg","text":"TemporaryFile(/tmp/multipartBody7303950674974058837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096275132,"filename":"image_19022025_18_18_46_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4ed739b6f6a4891fda032715ff2a35e7.jpg","text":"TemporaryFile(/tmp/multipartBody3571715430050427080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096275132,"filename":"image_19022025_18_19_26_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bcc505be7ecec91a6a8436438d9317be.jpg","text":"TemporaryFile(/tmp/multipartBody3511972765997714886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096275132,"filename":"image_19022025_18_19_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/11630e78f97bd075826bf564e3c0475e.jpg","text":"TemporaryFile(/tmp/multipartBody657134753206735216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096275132,"filename":"image_19022025_18_19_06_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a1b733e4520a1bc8d7233f1fceb99f96.jpg","text":"TemporaryFile(/tmp/multipartBody8176652962326840482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096275132,"filename":"image_19022025_18_19_46_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0ced22ed41a21afae6b1dd6e12d39c83.jpg","text":"TemporaryFile(/tmp/multipartBody1089369644663306785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096275132,"filename":"image_19022025_18_18_57_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338703824","file1":"1338703822","file0":"1338703819","file4":"1338703839","file5":"1338703841","file3":"1338703828"},"map_files_photo_id_array":[{"photo_id":"1338703841","filename":"file5"},{"photo_id":"1338703824","filename":"file2"},{"photo_id":"1338703839","filename":"file4"},{"photo_id":"1338703822","filename":"file1"},{"photo_id":"1338703819","filename":"file0"},{"photo_id":"1338703828","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338703819":["hashtag1","hashtag2"]},{"1338703828":["hashtag1","hashtag2"]},{"1338703839":["hashtag1","hashtag2"]},{"1338703824":["hashtag1","hashtag2"]},{"1338703841":["hashtag1","hashtag2"]},{"1338703822":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338703819, 1338703828, 1338703839, 1338703824, 1338703841, 1338703822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.01692843437195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:04:32.183201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/20/image_19022025_18_20_17_10408.jpg', '/home/pi/Desktop/images/19022025/18/20/image_19022025_18_20_26_9337.jpg', '/home/pi/Desktop/images/19022025/18/20/image_19022025_18_20_46_9377.jpg', '/home/pi/Desktop/images/19022025/18/21/image_19022025_18_21_26_9933.jpg', '/home/pi/Desktop/images/19022025/18/21/image_19022025_18_21_36_10329.jpg', '/home/pi/Desktop/images/19022025/18/21/image_19022025_18_21_47_10483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/20/image_19022025_18_20_17_10408.jpg
/home/pi/Desktop/images/19022025/18/20/image_19022025_18_20_26_9337.jpg
/home/pi/Desktop/images/19022025/18/20/image_19022025_18_20_46_9377.jpg
/home/pi/Desktop/images/19022025/18/21/image_19022025_18_21_26_9933.jpg
/home/pi/Desktop/images/19022025/18/21/image_19022025_18_21_36_10329.jpg
/home/pi/Desktop/images/19022025/18/21/image_19022025_18_21_47_10483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338703851","1338703857","1338703892","1338703877","1338703862","1338703855"],"photo_ids_order":["1338703851","1338703855","1338703857","1338703862","1338703877","1338703892"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a6afeac75af9b0eaba22625c2ad1546e.jpg","text":"TemporaryFile(/tmp/multipartBody5217699751560438786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096334207,"filename":"image_19022025_18_20_17_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4f0d38db9a50515431c47ea8cb4e848.jpg","text":"TemporaryFile(/tmp/multipartBody3889509921088184364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096334207,"filename":"image_19022025_18_20_46_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/82d65913c7369a62ab82f278eb555b9e.jpg","text":"TemporaryFile(/tmp/multipartBody5611479234575042611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096334207,"filename":"image_19022025_18_21_47_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/38e8526a98b69d8f9ebbf5fa68142eb4.jpg","text":"TemporaryFile(/tmp/multipartBody8831380058875632911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096334207,"filename":"image_19022025_18_21_36_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1566ab70bcfd7eb2e5d9325fce5e95e4.jpg","text":"TemporaryFile(/tmp/multipartBody4051104514588978814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096334207,"filename":"image_19022025_18_21_26_9933.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b5f4ff1d6d7551b5fb33ba0404ed664d.jpg","text":"TemporaryFile(/tmp/multipartBody5161406894511726689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096334207,"filename":"image_19022025_18_20_26_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338703857","file1":"1338703855","file0":"1338703851","file4":"1338703877","file5":"1338703892","file3":"1338703862"},"map_files_photo_id_array":[{"photo_id":"1338703892","filename":"file5"},{"photo_id":"1338703857","filename":"file2"},{"photo_id":"1338703877","filename":"file4"},{"photo_id":"1338703855","filename":"file1"},{"photo_id":"1338703851","filename":"file0"},{"photo_id":"1338703862","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338703851":["hashtag1","hashtag2"]},{"1338703857":["hashtag1","hashtag2"]},{"1338703892":["hashtag1","hashtag2"]},{"1338703877":["hashtag1","hashtag2"]},{"1338703862":["hashtag1","hashtag2"]},{"1338703855":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338703851, 1338703857, 1338703892, 1338703877, 1338703862, 1338703855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.36720323562622 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:05:32.717875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/21/image_19022025_18_22_06_10320.jpg', '/home/pi/Desktop/images/19022025/18/23/image_19022025_18_23_16_9352.jpg', '/home/pi/Desktop/images/19022025/18/23/image_19022025_18_23_46_9337.jpg', '/home/pi/Desktop/images/19022025/18/23/image_19022025_18_24_07_10422.jpg', '/home/pi/Desktop/images/19022025/18/24/image_19022025_18_24_16_9336.jpg', '/home/pi/Desktop/images/19022025/18/24/image_19022025_18_24_26_10525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/21/image_19022025_18_22_06_10320.jpg
/home/pi/Desktop/images/19022025/18/23/image_19022025_18_23_16_9352.jpg
/home/pi/Desktop/images/19022025/18/23/image_19022025_18_23_46_9337.jpg
/home/pi/Desktop/images/19022025/18/23/image_19022025_18_24_07_10422.jpg
/home/pi/Desktop/images/19022025/18/24/image_19022025_18_24_16_9336.jpg
/home/pi/Desktop/images/19022025/18/24/image_19022025_18_24_26_10525.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338703899","1338703910","1338703904","1338703913","1338703907","1338703901"],"photo_ids_order":["1338703899","1338703901","1338703904","1338703907","1338703910","1338703913"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0b97bf80586caa1ae99d5c43f52a363b.jpg","text":"TemporaryFile(/tmp/multipartBody5346589139047572209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096394775,"filename":"image_19022025_18_22_06_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cb88d08c356ad13f94057335bf7ccb35.jpg","text":"TemporaryFile(/tmp/multipartBody6276186179112310248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096394775,"filename":"image_19022025_18_24_16_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/030118f195eed8a439b75932407de4ef.jpg","text":"TemporaryFile(/tmp/multipartBody8453864724437333725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096394775,"filename":"image_19022025_18_23_46_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81f56fb483f40503e97e3d769dc03482.jpg","text":"TemporaryFile(/tmp/multipartBody6478885691366580648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096394775,"filename":"image_19022025_18_24_26_10525.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/445bacdfb418729322b548e93d2c1f50.jpg","text":"TemporaryFile(/tmp/multipartBody5846292872057814466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096394775,"filename":"image_19022025_18_24_07_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/96e491e9d22c6a148660fd118afcdbcc.jpg","text":"TemporaryFile(/tmp/multipartBody6333212360675754519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096394775,"filename":"image_19022025_18_23_16_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338703904","file1":"1338703901","file0":"1338703899","file4":"1338703910","file5":"1338703913","file3":"1338703907"},"map_files_photo_id_array":[{"photo_id":"1338703913","filename":"file5"},{"photo_id":"1338703904","filename":"file2"},{"photo_id":"1338703910","filename":"file4"},{"photo_id":"1338703901","filename":"file1"},{"photo_id":"1338703899","filename":"file0"},{"photo_id":"1338703907","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338703899":["hashtag1","hashtag2"]},{"1338703910":["hashtag1","hashtag2"]},{"1338703904":["hashtag1","hashtag2"]},{"1338703913":["hashtag1","hashtag2"]},{"1338703907":["hashtag1","hashtag2"]},{"1338703901":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338703899, 1338703910, 1338703904, 1338703913, 1338703907, 1338703901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71782732009888 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:06:32.803994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/24/image_19022025_18_24_36_9305.jpg', '/home/pi/Desktop/images/19022025/18/26/image_19022025_18_26_47_10371.jpg', '/home/pi/Desktop/images/19022025/18/26/image_19022025_18_26_56_9327.jpg', '/home/pi/Desktop/images/19022025/18/26/image_19022025_18_27_06_10317.jpg', '/home/pi/Desktop/images/19022025/18/27/image_19022025_18_27_17_10357.jpg', '/home/pi/Desktop/images/19022025/18/27/image_19022025_18_27_36_10319.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/24/image_19022025_18_24_36_9305.jpg
/home/pi/Desktop/images/19022025/18/26/image_19022025_18_26_47_10371.jpg
/home/pi/Desktop/images/19022025/18/26/image_19022025_18_26_56_9327.jpg
/home/pi/Desktop/images/19022025/18/26/image_19022025_18_27_06_10317.jpg
/home/pi/Desktop/images/19022025/18/27/image_19022025_18_27_17_10357.jpg
/home/pi/Desktop/images/19022025/18/27/image_19022025_18_27_36_10319.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338703939","1338703930","1338703941","1338703934","1338703933","1338703936"],"photo_ids_order":["1338703930","1338703933","1338703934","1338703936","1338703939","1338703941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04706563e6dc1715847e2e0a5a8d03de.jpg","text":"TemporaryFile(/tmp/multipartBody5365839453493483798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096454876,"filename":"image_19022025_18_27_17_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6bdf22a48fdf93e8c9f6fd9a34166681.jpg","text":"TemporaryFile(/tmp/multipartBody5413546532148964441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096454876,"filename":"image_19022025_18_24_36_9305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e13a70fc2487051c794d8ca251128a9b.jpg","text":"TemporaryFile(/tmp/multipartBody1910198230769850461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096454876,"filename":"image_19022025_18_27_36_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f768612d289735c4011d3e0b5b19c6c.jpg","text":"TemporaryFile(/tmp/multipartBody4679377241005308798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096454876,"filename":"image_19022025_18_26_56_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/511f3c08daf198441b22c55c3c0e09b0.jpg","text":"TemporaryFile(/tmp/multipartBody3116790849627685676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096454876,"filename":"image_19022025_18_26_47_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/718f1499520472108d343fdb69bb54cb.jpg","text":"TemporaryFile(/tmp/multipartBody5471643512101764486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096454876,"filename":"image_19022025_18_27_06_10317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338703934","file1":"1338703933","file0":"1338703930","file4":"1338703939","file5":"1338703941","file3":"1338703936"},"map_files_photo_id_array":[{"photo_id":"1338703941","filename":"file5"},{"photo_id":"1338703934","filename":"file2"},{"photo_id":"1338703939","filename":"file4"},{"photo_id":"1338703933","filename":"file1"},{"photo_id":"1338703930","filename":"file0"},{"photo_id":"1338703936","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338703939":["hashtag1","hashtag2"]},{"1338703930":["hashtag1","hashtag2"]},{"1338703941":["hashtag1","hashtag2"]},{"1338703934":["hashtag1","hashtag2"]},{"1338703933":["hashtag1","hashtag2"]},{"1338703936":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338703939, 1338703930, 1338703941, 1338703934, 1338703933, 1338703936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.0522141456604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:07:33.033707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/27/image_19022025_18_27_46_9418.jpg', '/home/pi/Desktop/images/19022025/18/27/image_19022025_18_27_56_10398.jpg', '/home/pi/Desktop/images/19022025/18/27/image_19022025_18_28_06_10372.jpg', '/home/pi/Desktop/images/19022025/18/28/image_19022025_18_28_16_9336.jpg', '/home/pi/Desktop/images/19022025/18/28/image_19022025_18_29_06_9320.jpg', '/home/pi/Desktop/images/19022025/18/29/image_19022025_18_29_27_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/27/image_19022025_18_27_46_9418.jpg
/home/pi/Desktop/images/19022025/18/27/image_19022025_18_27_56_10398.jpg
/home/pi/Desktop/images/19022025/18/27/image_19022025_18_28_06_10372.jpg
/home/pi/Desktop/images/19022025/18/28/image_19022025_18_28_16_9336.jpg
/home/pi/Desktop/images/19022025/18/28/image_19022025_18_29_06_9320.jpg
/home/pi/Desktop/images/19022025/18/29/image_19022025_18_29_27_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338703956","1338703959","1338703953","1338703958","1338703952","1338703954"],"photo_ids_order":["1338703952","1338703953","1338703954","1338703956","1338703958","1338703959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2640e491ae9c5a497a1c3e22ef3dbab7.jpg","text":"TemporaryFile(/tmp/multipartBody3184187468545732748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096515121,"filename":"image_19022025_18_28_16_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a563fd8e15419c56b281ea6060dfadec.jpg","text":"TemporaryFile(/tmp/multipartBody8003330939872246429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096515121,"filename":"image_19022025_18_29_27_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/97ecd123e9759a2f34c5fc9c7b4776c0.jpg","text":"TemporaryFile(/tmp/multipartBody1609680896435418114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096515121,"filename":"image_19022025_18_27_56_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/459544d1f235a61cc2f8b92d1331e779.jpg","text":"TemporaryFile(/tmp/multipartBody1242950794210707456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096515121,"filename":"image_19022025_18_29_06_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e9142acb63dc64b174a1107400e0c86c.jpg","text":"TemporaryFile(/tmp/multipartBody5342116695764261641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096515121,"filename":"image_19022025_18_27_46_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7f09e9a1f677c28f4ca873ee133326a2.jpg","text":"TemporaryFile(/tmp/multipartBody9191184621753584840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096515121,"filename":"image_19022025_18_28_06_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338703954","file1":"1338703953","file0":"1338703952","file4":"1338703958","file5":"1338703959","file3":"1338703956"},"map_files_photo_id_array":[{"photo_id":"1338703959","filename":"file5"},{"photo_id":"1338703954","filename":"file2"},{"photo_id":"1338703958","filename":"file4"},{"photo_id":"1338703953","filename":"file1"},{"photo_id":"1338703952","filename":"file0"},{"photo_id":"1338703956","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338703956":["hashtag1","hashtag2"]},{"1338703959":["hashtag1","hashtag2"]},{"1338703953":["hashtag1","hashtag2"]},{"1338703958":["hashtag1","hashtag2"]},{"1338703952":["hashtag1","hashtag2"]},{"1338703954":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338703956, 1338703959, 1338703953, 1338703958, 1338703952, 1338703954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22965908050537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:08:33.130713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/29/image_19022025_18_29_36_9339.jpg', '/home/pi/Desktop/images/19022025/18/29/image_19022025_18_29_46_10359.jpg', '/home/pi/Desktop/images/19022025/18/29/image_19022025_18_29_56_9399.jpg', '/home/pi/Desktop/images/19022025/18/29/image_19022025_18_30_06_10397.jpg', '/home/pi/Desktop/images/19022025/18/30/image_19022025_18_30_17_10409.jpg', '/home/pi/Desktop/images/19022025/18/30/image_19022025_18_30_26_9322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/29/image_19022025_18_29_36_9339.jpg
/home/pi/Desktop/images/19022025/18/29/image_19022025_18_29_46_10359.jpg
/home/pi/Desktop/images/19022025/18/29/image_19022025_18_29_56_9399.jpg
/home/pi/Desktop/images/19022025/18/29/image_19022025_18_30_06_10397.jpg
/home/pi/Desktop/images/19022025/18/30/image_19022025_18_30_17_10409.jpg
/home/pi/Desktop/images/19022025/18/30/image_19022025_18_30_26_9322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338703977","1338703968","1338703967","1338703970","1338703972","1338703975"],"photo_ids_order":["1338703967","1338703968","1338703970","1338703972","1338703975","1338703977"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d2b147ff63b5df4979607ad328ad34e0.jpg","text":"TemporaryFile(/tmp/multipartBody6237052985230636907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096575161,"filename":"image_19022025_18_30_26_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/26fd7209c1de0118cf24e3fba37f02b2.jpg","text":"TemporaryFile(/tmp/multipartBody6346072304593750106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096575161,"filename":"image_19022025_18_29_46_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae89ae9dc6ead4503eedaa2dc24415b6.jpg","text":"TemporaryFile(/tmp/multipartBody1938511949661002553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096575161,"filename":"image_19022025_18_29_36_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ed3fc8c1d14dce92afe6565abc3c17a3.jpg","text":"TemporaryFile(/tmp/multipartBody1484971137722473100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096575161,"filename":"image_19022025_18_29_56_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3419bd2550cf8a8ba69ee7426fed955e.jpg","text":"TemporaryFile(/tmp/multipartBody6104269589302159454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096575161,"filename":"image_19022025_18_30_06_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/52e7b5fc7ac79e4c5723f5980d584be9.jpg","text":"TemporaryFile(/tmp/multipartBody7288794803730248449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096575161,"filename":"image_19022025_18_30_17_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338703970","file1":"1338703968","file0":"1338703967","file4":"1338703975","file5":"1338703977","file3":"1338703972"},"map_files_photo_id_array":[{"photo_id":"1338703977","filename":"file5"},{"photo_id":"1338703970","filename":"file2"},{"photo_id":"1338703975","filename":"file4"},{"photo_id":"1338703968","filename":"file1"},{"photo_id":"1338703967","filename":"file0"},{"photo_id":"1338703972","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338703977":["hashtag1","hashtag2"]},{"1338703968":["hashtag1","hashtag2"]},{"1338703967":["hashtag1","hashtag2"]},{"1338703970":["hashtag1","hashtag2"]},{"1338703972":["hashtag1","hashtag2"]},{"1338703975":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338703977, 1338703968, 1338703967, 1338703970, 1338703972, 1338703975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88453483581543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:09:32.227102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/30/image_19022025_18_30_56_9348.jpg', '/home/pi/Desktop/images/19022025/18/31/image_19022025_18_31_56_10329.jpg', '/home/pi/Desktop/images/19022025/18/31/image_19022025_18_32_07_10414.jpg', '/home/pi/Desktop/images/19022025/18/32/image_19022025_18_32_16_9339.jpg', '/home/pi/Desktop/images/19022025/18/32/image_19022025_18_32_26_10426.jpg', '/home/pi/Desktop/images/19022025/18/32/image_19022025_18_32_36_9311.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/30/image_19022025_18_30_56_9348.jpg
/home/pi/Desktop/images/19022025/18/31/image_19022025_18_31_56_10329.jpg
/home/pi/Desktop/images/19022025/18/31/image_19022025_18_32_07_10414.jpg
/home/pi/Desktop/images/19022025/18/32/image_19022025_18_32_16_9339.jpg
/home/pi/Desktop/images/19022025/18/32/image_19022025_18_32_26_10426.jpg
/home/pi/Desktop/images/19022025/18/32/image_19022025_18_32_36_9311.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338703995","1338703989","1338703991","1338703997","1338704050","1338703993"],"photo_ids_order":["1338703989","1338703991","1338703993","1338703995","1338703997","1338704050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/56bf183b9f4c04ecc11f33a0bf183d03.jpg","text":"TemporaryFile(/tmp/multipartBody6159472302223946515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096634291,"filename":"image_19022025_18_32_16_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dea4fbc9636241079d12ce62c0858dca.jpg","text":"TemporaryFile(/tmp/multipartBody4913773339033577743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096634291,"filename":"image_19022025_18_30_56_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b0d18bba6561a0af970f5b8a786b62b.jpg","text":"TemporaryFile(/tmp/multipartBody6564474443946847186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096634291,"filename":"image_19022025_18_31_56_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/25a6d554f626718b8c57ed3409021df0.jpg","text":"TemporaryFile(/tmp/multipartBody4479266480102886842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096634291,"filename":"image_19022025_18_32_26_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0d777739abc081888425625486407f5c.jpg","text":"TemporaryFile(/tmp/multipartBody8040184103196235938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096634291,"filename":"image_19022025_18_32_36_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d713b607391f7fe2ef4e9dd52c2f2334.jpg","text":"TemporaryFile(/tmp/multipartBody8594583939561478335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096634291,"filename":"image_19022025_18_32_07_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338703993","file1":"1338703991","file0":"1338703989","file4":"1338703997","file5":"1338704050","file3":"1338703995"},"map_files_photo_id_array":[{"photo_id":"1338704050","filename":"file5"},{"photo_id":"1338703993","filename":"file2"},{"photo_id":"1338703997","filename":"file4"},{"photo_id":"1338703991","filename":"file1"},{"photo_id":"1338703989","filename":"file0"},{"photo_id":"1338703995","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338703995":["hashtag1","hashtag2"]},{"1338703989":["hashtag1","hashtag2"]},{"1338703991":["hashtag1","hashtag2"]},{"1338703997":["hashtag1","hashtag2"]},{"1338704050":["hashtag1","hashtag2"]},{"1338703993":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338703995, 1338703989, 1338703991, 1338703997, 1338704050, 1338703993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74705123901367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:10:32.484809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/33/image_19022025_18_33_36_9352.jpg', '/home/pi/Desktop/images/19022025/18/33/image_19022025_18_33_56_9340.jpg', '/home/pi/Desktop/images/19022025/18/33/image_19022025_18_34_06_10329.jpg', '/home/pi/Desktop/images/19022025/18/34/image_19022025_18_34_47_10365.jpg', '/home/pi/Desktop/images/19022025/18/34/image_19022025_18_35_06_10431.jpg', '/home/pi/Desktop/images/19022025/18/35/image_19022025_18_35_26_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/33/image_19022025_18_33_36_9352.jpg
/home/pi/Desktop/images/19022025/18/33/image_19022025_18_33_56_9340.jpg
/home/pi/Desktop/images/19022025/18/33/image_19022025_18_34_06_10329.jpg
/home/pi/Desktop/images/19022025/18/34/image_19022025_18_34_47_10365.jpg
/home/pi/Desktop/images/19022025/18/34/image_19022025_18_35_06_10431.jpg
/home/pi/Desktop/images/19022025/18/35/image_19022025_18_35_26_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338704214","1338704180","1338704162","1338704191","1338704193","1338704172"],"photo_ids_order":["1338704162","1338704172","1338704180","1338704191","1338704193","1338704214"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a45e7a9407f519d6f72067a22e133e4.jpg","text":"TemporaryFile(/tmp/multipartBody752290465284630689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096694521,"filename":"image_19022025_18_35_26_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e652cc17feaef1a1f4ce1a911b25a4f9.jpg","text":"TemporaryFile(/tmp/multipartBody8827600702413416087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096694521,"filename":"image_19022025_18_34_06_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b78f43fa32877f71be902347fd50d776.jpg","text":"TemporaryFile(/tmp/multipartBody1368396996588708461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096694521,"filename":"image_19022025_18_33_36_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/86dd7533ab15ab5751199c451c47c98a.jpg","text":"TemporaryFile(/tmp/multipartBody2338198761416531670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096694521,"filename":"image_19022025_18_34_47_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c0aba5a560be974d9cec3ab7f2a13d1.jpg","text":"TemporaryFile(/tmp/multipartBody8613200794359956154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096694521,"filename":"image_19022025_18_35_06_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a58db332ffaef4da3442da34cdd121c5.jpg","text":"TemporaryFile(/tmp/multipartBody8653811577554517676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096694521,"filename":"image_19022025_18_33_56_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338704180","file1":"1338704172","file0":"1338704162","file4":"1338704193","file5":"1338704214","file3":"1338704191"},"map_files_photo_id_array":[{"photo_id":"1338704214","filename":"file5"},{"photo_id":"1338704180","filename":"file2"},{"photo_id":"1338704193","filename":"file4"},{"photo_id":"1338704172","filename":"file1"},{"photo_id":"1338704162","filename":"file0"},{"photo_id":"1338704191","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338704214":["hashtag1","hashtag2"]},{"1338704180":["hashtag1","hashtag2"]},{"1338704162":["hashtag1","hashtag2"]},{"1338704191":["hashtag1","hashtag2"]},{"1338704193":["hashtag1","hashtag2"]},{"1338704172":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338704214, 1338704180, 1338704162, 1338704191, 1338704193, 1338704172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.417285442352295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:11:32.825304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/35/image_19022025_18_35_36_10426.jpg', '/home/pi/Desktop/images/19022025/18/35/image_19022025_18_35_46_9333.jpg', '/home/pi/Desktop/images/19022025/18/35/image_19022025_18_36_07_10417.jpg', '/home/pi/Desktop/images/19022025/18/36/image_19022025_18_36_16_9315.jpg', '/home/pi/Desktop/images/19022025/18/36/image_19022025_18_36_37_10393.jpg', '/home/pi/Desktop/images/19022025/18/36/image_19022025_18_36_46_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/35/image_19022025_18_35_36_10426.jpg
/home/pi/Desktop/images/19022025/18/35/image_19022025_18_35_46_9333.jpg
/home/pi/Desktop/images/19022025/18/35/image_19022025_18_36_07_10417.jpg
/home/pi/Desktop/images/19022025/18/36/image_19022025_18_36_16_9315.jpg
/home/pi/Desktop/images/19022025/18/36/image_19022025_18_36_37_10393.jpg
/home/pi/Desktop/images/19022025/18/36/image_19022025_18_36_46_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338704388","1338704282","1338704390","1338704285","1338704284","1338704350"],"photo_ids_order":["1338704282","1338704284","1338704285","1338704350","1338704388","1338704390"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3a74eabfda409bfdd1d4643f2c505ad4.jpg","text":"TemporaryFile(/tmp/multipartBody8479290176922100300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096754867,"filename":"image_19022025_18_36_37_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e6990d1a7f9bd734c7cc91f4388ce928.jpg","text":"TemporaryFile(/tmp/multipartBody3318746459506628085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096754867,"filename":"image_19022025_18_35_36_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e77d4d62d758c2bb93b57b26c7dbeb23.jpg","text":"TemporaryFile(/tmp/multipartBody3865657978237074086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096754867,"filename":"image_19022025_18_36_46_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61e137a007a82c7787369882c4825c19.jpg","text":"TemporaryFile(/tmp/multipartBody7569250829225598849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096754867,"filename":"image_19022025_18_36_07_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b1b63c86441ca1485cef5d9bc220572.jpg","text":"TemporaryFile(/tmp/multipartBody3202821409034681059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096754867,"filename":"image_19022025_18_35_46_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/94956c8fcef9ec6bceb181d757d4cfed.jpg","text":"TemporaryFile(/tmp/multipartBody5868516263636411368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096754867,"filename":"image_19022025_18_36_16_9315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338704285","file1":"1338704284","file0":"1338704282","file4":"1338704388","file5":"1338704390","file3":"1338704350"},"map_files_photo_id_array":[{"photo_id":"1338704390","filename":"file5"},{"photo_id":"1338704285","filename":"file2"},{"photo_id":"1338704388","filename":"file4"},{"photo_id":"1338704284","filename":"file1"},{"photo_id":"1338704282","filename":"file0"},{"photo_id":"1338704350","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338704388":["hashtag1","hashtag2"]},{"1338704282":["hashtag1","hashtag2"]},{"1338704390":["hashtag1","hashtag2"]},{"1338704285":["hashtag1","hashtag2"]},{"1338704284":["hashtag1","hashtag2"]},{"1338704350":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338704388, 1338704282, 1338704390, 1338704285, 1338704284, 1338704350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60644292831421 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:12:33.019984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/36/image_19022025_18_36_56_10403.jpg', '/home/pi/Desktop/images/19022025/18/36/image_19022025_18_37_06_9347.jpg', '/home/pi/Desktop/images/19022025/18/37/image_19022025_18_37_16_10345.jpg', '/home/pi/Desktop/images/19022025/18/37/image_19022025_18_37_26_10374.jpg', '/home/pi/Desktop/images/19022025/18/37/image_19022025_18_37_36_9336.jpg', '/home/pi/Desktop/images/19022025/18/37/image_19022025_18_37_46_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/36/image_19022025_18_36_56_10403.jpg
/home/pi/Desktop/images/19022025/18/36/image_19022025_18_37_06_9347.jpg
/home/pi/Desktop/images/19022025/18/37/image_19022025_18_37_16_10345.jpg
/home/pi/Desktop/images/19022025/18/37/image_19022025_18_37_26_10374.jpg
/home/pi/Desktop/images/19022025/18/37/image_19022025_18_37_36_9336.jpg
/home/pi/Desktop/images/19022025/18/37/image_19022025_18_37_46_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338704403","1338704412","1338704406","1338704409","1338704402","1338704405"],"photo_ids_order":["1338704402","1338704403","1338704405","1338704406","1338704409","1338704412"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fdf7eace46051fea955d66889b45aa0a.jpg","text":"TemporaryFile(/tmp/multipartBody8350523266988334926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096815082,"filename":"image_19022025_18_37_06_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c6462ca33b432ae694ddd5a197a166f.jpg","text":"TemporaryFile(/tmp/multipartBody3844854282152788406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096815082,"filename":"image_19022025_18_37_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0863d67a19e5fe632e111d402b15ce5d.jpg","text":"TemporaryFile(/tmp/multipartBody3462700863697988357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096815082,"filename":"image_19022025_18_37_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a10541be4d60a26e166baf450d14eea.jpg","text":"TemporaryFile(/tmp/multipartBody4147536191281065458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096815082,"filename":"image_19022025_18_37_36_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cd5b61e4308624a0d7407adb30bec103.jpg","text":"TemporaryFile(/tmp/multipartBody429280724421226469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096815082,"filename":"image_19022025_18_36_56_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/24e1125b47a21cfaa94ae6d45c5b0367.jpg","text":"TemporaryFile(/tmp/multipartBody1972946900201538889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096815082,"filename":"image_19022025_18_37_16_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338704405","file1":"1338704403","file0":"1338704402","file4":"1338704409","file5":"1338704412","file3":"1338704406"},"map_files_photo_id_array":[{"photo_id":"1338704412","filename":"file5"},{"photo_id":"1338704405","filename":"file2"},{"photo_id":"1338704409","filename":"file4"},{"photo_id":"1338704403","filename":"file1"},{"photo_id":"1338704402","filename":"file0"},{"photo_id":"1338704406","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338704403":["hashtag1","hashtag2"]},{"1338704412":["hashtag1","hashtag2"]},{"1338704406":["hashtag1","hashtag2"]},{"1338704409":["hashtag1","hashtag2"]},{"1338704402":["hashtag1","hashtag2"]},{"1338704405":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338704403, 1338704412, 1338704406, 1338704409, 1338704402, 1338704405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2216682434082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:13:32.080112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/37/image_19022025_18_38_06_9391.jpg', '/home/pi/Desktop/images/19022025/18/38/image_19022025_18_38_16_10395.jpg', '/home/pi/Desktop/images/19022025/18/38/image_19022025_18_38_36_9338.jpg', '/home/pi/Desktop/images/19022025/18/38/image_19022025_18_38_46_10351.jpg', '/home/pi/Desktop/images/19022025/18/38/image_19022025_18_39_06_9390.jpg', '/home/pi/Desktop/images/19022025/18/39/image_19022025_18_39_16_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/37/image_19022025_18_38_06_9391.jpg
/home/pi/Desktop/images/19022025/18/38/image_19022025_18_38_16_10395.jpg
/home/pi/Desktop/images/19022025/18/38/image_19022025_18_38_36_9338.jpg
/home/pi/Desktop/images/19022025/18/38/image_19022025_18_38_46_10351.jpg
/home/pi/Desktop/images/19022025/18/38/image_19022025_18_39_06_9390.jpg
/home/pi/Desktop/images/19022025/18/39/image_19022025_18_39_16_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338704438","1338704441","1338704440","1338704443","1338704437","1338704446"],"photo_ids_order":["1338704437","1338704438","1338704440","1338704441","1338704443","1338704446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e44c662dab71e02ab231dffe0cb34b47.jpg","text":"TemporaryFile(/tmp/multipartBody2509843972370641319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096874131,"filename":"image_19022025_18_38_16_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b5db0d5f5f8bb38eeee524baab1e96ea.jpg","text":"TemporaryFile(/tmp/multipartBody6614154228659697396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096874131,"filename":"image_19022025_18_38_46_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/691c4e7e61dd167baef2c160922b0af2.jpg","text":"TemporaryFile(/tmp/multipartBody3358854772686381092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096874131,"filename":"image_19022025_18_38_36_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6d9338f893646591382dc1f2cc4ec3c3.jpg","text":"TemporaryFile(/tmp/multipartBody6691355363882745206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096874131,"filename":"image_19022025_18_39_06_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/156bc2c1491cbc70e51c756d1b58907c.jpg","text":"TemporaryFile(/tmp/multipartBody5242016577761135113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096874131,"filename":"image_19022025_18_38_06_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e2819812e1d0e7fdae20fe5272caadce.jpg","text":"TemporaryFile(/tmp/multipartBody5326821974867188439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096874131,"filename":"image_19022025_18_39_16_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338704440","file1":"1338704438","file0":"1338704437","file4":"1338704443","file5":"1338704446","file3":"1338704441"},"map_files_photo_id_array":[{"photo_id":"1338704446","filename":"file5"},{"photo_id":"1338704440","filename":"file2"},{"photo_id":"1338704443","filename":"file4"},{"photo_id":"1338704438","filename":"file1"},{"photo_id":"1338704437","filename":"file0"},{"photo_id":"1338704441","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338704438":["hashtag1","hashtag2"]},{"1338704441":["hashtag1","hashtag2"]},{"1338704440":["hashtag1","hashtag2"]},{"1338704443":["hashtag1","hashtag2"]},{"1338704437":["hashtag1","hashtag2"]},{"1338704446":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338704438, 1338704441, 1338704440, 1338704443, 1338704437, 1338704446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.99659514427185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:14:32.237915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/39/image_19022025_18_39_36_10329.jpg', '/home/pi/Desktop/images/19022025/18/39/image_19022025_18_39_47_10438.jpg', '/home/pi/Desktop/images/19022025/18/39/image_19022025_18_40_06_10322.jpg', '/home/pi/Desktop/images/19022025/18/40/image_19022025_18_40_17_10414.jpg', '/home/pi/Desktop/images/19022025/18/40/image_19022025_18_40_26_9317.jpg', '/home/pi/Desktop/images/19022025/18/40/image_19022025_18_40_36_10318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/39/image_19022025_18_39_36_10329.jpg
/home/pi/Desktop/images/19022025/18/39/image_19022025_18_39_47_10438.jpg
/home/pi/Desktop/images/19022025/18/39/image_19022025_18_40_06_10322.jpg
/home/pi/Desktop/images/19022025/18/40/image_19022025_18_40_17_10414.jpg
/home/pi/Desktop/images/19022025/18/40/image_19022025_18_40_26_9317.jpg
/home/pi/Desktop/images/19022025/18/40/image_19022025_18_40_36_10318.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.995697021484375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 01:14:42.380475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/39/image_19022025_18_39_36_10329.jpg', '/home/pi/Desktop/images/19022025/18/39/image_19022025_18_39_47_10438.jpg', '/home/pi/Desktop/images/19022025/18/39/image_19022025_18_40_06_10322.jpg', '/home/pi/Desktop/images/19022025/18/40/image_19022025_18_40_17_10414.jpg', '/home/pi/Desktop/images/19022025/18/40/image_19022025_18_40_26_9317.jpg', '/home/pi/Desktop/images/19022025/18/40/image_19022025_18_40_36_10318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/39/image_19022025_18_39_36_10329.jpg
/home/pi/Desktop/images/19022025/18/39/image_19022025_18_39_47_10438.jpg
/home/pi/Desktop/images/19022025/18/39/image_19022025_18_40_06_10322.jpg
/home/pi/Desktop/images/19022025/18/40/image_19022025_18_40_17_10414.jpg
/home/pi/Desktop/images/19022025/18/40/image_19022025_18_40_26_9317.jpg
/home/pi/Desktop/images/19022025/18/40/image_19022025_18_40_36_10318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338704469","1338704474","1338704471","1338704465","1338704461","1338704458"],"photo_ids_order":["1338704458","1338704461","1338704465","1338704469","1338704471","1338704474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a118d1217c2458040b1f735cf9751c8d.jpg","text":"TemporaryFile(/tmp/multipartBody105877986668426144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096943482,"filename":"image_19022025_18_40_17_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/692648c1aeb32f7f039f98b98eeb5e1e.jpg","text":"TemporaryFile(/tmp/multipartBody2865187356484277612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096943482,"filename":"image_19022025_18_40_36_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7675380e390ac5303597a1594791a832.jpg","text":"TemporaryFile(/tmp/multipartBody7010943584608939405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096943482,"filename":"image_19022025_18_40_26_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/11c59eb319feb9c55ed2045985ce926f.jpg","text":"TemporaryFile(/tmp/multipartBody1116345682476439592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096943482,"filename":"image_19022025_18_40_06_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6dfe8c7b24a9202b5d474987d0d524ae.jpg","text":"TemporaryFile(/tmp/multipartBody1830456513038959629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096943482,"filename":"image_19022025_18_39_47_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/538ad959cecf63fd483f7b02075b07fc.jpg","text":"TemporaryFile(/tmp/multipartBody3535704769096189207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096943482,"filename":"image_19022025_18_39_36_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338704465","file1":"1338704461","file0":"1338704458","file4":"1338704471","file5":"1338704474","file3":"1338704469"},"map_files_photo_id_array":[{"photo_id":"1338704474","filename":"file5"},{"photo_id":"1338704465","filename":"file2"},{"photo_id":"1338704471","filename":"file4"},{"photo_id":"1338704461","filename":"file1"},{"photo_id":"1338704458","filename":"file0"},{"photo_id":"1338704469","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338704469":["hashtag1","hashtag2"]},{"1338704474":["hashtag1","hashtag2"]},{"1338704471":["hashtag1","hashtag2"]},{"1338704465":["hashtag1","hashtag2"]},{"1338704461":["hashtag1","hashtag2"]},{"1338704458":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338704469, 1338704474, 1338704471, 1338704465, 1338704461, 1338704458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09278416633606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:15:32.398898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/40/image_19022025_18_40_47_10400.jpg', '/home/pi/Desktop/images/19022025/18/40/image_19022025_18_40_56_9330.jpg', '/home/pi/Desktop/images/19022025/18/41/image_19022025_18_41_16_9339.jpg', '/home/pi/Desktop/images/19022025/18/41/image_19022025_18_41_26_10332.jpg', '/home/pi/Desktop/images/19022025/18/42/image_19022025_18_42_16_9316.jpg', '/home/pi/Desktop/images/19022025/18/42/image_19022025_18_42_26_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/40/image_19022025_18_40_47_10400.jpg
/home/pi/Desktop/images/19022025/18/40/image_19022025_18_40_56_9330.jpg
/home/pi/Desktop/images/19022025/18/41/image_19022025_18_41_16_9339.jpg
/home/pi/Desktop/images/19022025/18/41/image_19022025_18_41_26_10332.jpg
/home/pi/Desktop/images/19022025/18/42/image_19022025_18_42_16_9316.jpg
/home/pi/Desktop/images/19022025/18/42/image_19022025_18_42_26_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338704495","1338704483","1338704485","1338704494","1338704482","1338704490"],"photo_ids_order":["1338704482","1338704483","1338704485","1338704490","1338704494","1338704495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a9e1246fec3eae0e04948d3d98ac0fb5.jpg","text":"TemporaryFile(/tmp/multipartBody5400129113224653763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096994436,"filename":"image_19022025_18_42_26_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7d63755355869c2e0576d796a514ca23.jpg","text":"TemporaryFile(/tmp/multipartBody3725675833681319364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096994436,"filename":"image_19022025_18_40_56_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/db7cd3fc354a724cfcf998ef82993285.jpg","text":"TemporaryFile(/tmp/multipartBody1238833841228512296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096994436,"filename":"image_19022025_18_41_16_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/88c936ff5937464cc79cdf29f405e34c.jpg","text":"TemporaryFile(/tmp/multipartBody9119067975543536677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096994436,"filename":"image_19022025_18_42_16_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a1699addd0bdf1aa5f202e42a1da087d.jpg","text":"TemporaryFile(/tmp/multipartBody8657842614007572475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096994436,"filename":"image_19022025_18_40_47_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9f73bdfe7e66e02305a373faac5d34d3.jpg","text":"TemporaryFile(/tmp/multipartBody3559749315129930220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740096994436,"filename":"image_19022025_18_41_26_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338704485","file1":"1338704483","file0":"1338704482","file4":"1338704494","file5":"1338704495","file3":"1338704490"},"map_files_photo_id_array":[{"photo_id":"1338704495","filename":"file5"},{"photo_id":"1338704485","filename":"file2"},{"photo_id":"1338704494","filename":"file4"},{"photo_id":"1338704483","filename":"file1"},{"photo_id":"1338704482","filename":"file0"},{"photo_id":"1338704490","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338704495":["hashtag1","hashtag2"]},{"1338704483":["hashtag1","hashtag2"]},{"1338704485":["hashtag1","hashtag2"]},{"1338704494":["hashtag1","hashtag2"]},{"1338704482":["hashtag1","hashtag2"]},{"1338704490":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338704495, 1338704483, 1338704485, 1338704494, 1338704482, 1338704490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22830939292908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:16:32.759062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/42/image_19022025_18_42_46_10426.jpg', '/home/pi/Desktop/images/19022025/18/42/image_19022025_18_42_57_10350.jpg', '/home/pi/Desktop/images/19022025/18/43/image_19022025_18_43_36_9327.jpg', '/home/pi/Desktop/images/19022025/18/44/image_19022025_18_44_16_10444.jpg', '/home/pi/Desktop/images/19022025/18/44/image_19022025_18_45_06_10308.jpg', '/home/pi/Desktop/images/19022025/18/45/image_19022025_18_45_17_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/42/image_19022025_18_42_46_10426.jpg
/home/pi/Desktop/images/19022025/18/42/image_19022025_18_42_57_10350.jpg
/home/pi/Desktop/images/19022025/18/43/image_19022025_18_43_36_9327.jpg
/home/pi/Desktop/images/19022025/18/44/image_19022025_18_44_16_10444.jpg
/home/pi/Desktop/images/19022025/18/44/image_19022025_18_45_06_10308.jpg
/home/pi/Desktop/images/19022025/18/45/image_19022025_18_45_17_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338704862","1338704859","1338704838","1338704861","1338704857","1338704851"],"photo_ids_order":["1338704838","1338704851","1338704857","1338704859","1338704861","1338704862"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/69c8016bc018719756b5c04fcf651c9d.jpg","text":"TemporaryFile(/tmp/multipartBody8056955114515970863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097054790,"filename":"image_19022025_18_45_17_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/95214a6a13deb3cfce104d9680db96e2.jpg","text":"TemporaryFile(/tmp/multipartBody8803736479139204964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097054790,"filename":"image_19022025_18_44_16_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3e1073bb8f60461cdfc279fe69965d38.jpg","text":"TemporaryFile(/tmp/multipartBody8959458712689571532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097054790,"filename":"image_19022025_18_42_46_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/676d510d79c14294bb6102e672a896fc.jpg","text":"TemporaryFile(/tmp/multipartBody5689711308146715382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097054790,"filename":"image_19022025_18_45_06_10308.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bf11fb28b9501c99243d4a8ee67afc63.jpg","text":"TemporaryFile(/tmp/multipartBody6452359293464005038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097054790,"filename":"image_19022025_18_43_36_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7401440a007373b51a2a57955721d26.jpg","text":"TemporaryFile(/tmp/multipartBody1276049281350891786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097054790,"filename":"image_19022025_18_42_57_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338704857","file1":"1338704851","file0":"1338704838","file4":"1338704861","file5":"1338704862","file3":"1338704859"},"map_files_photo_id_array":[{"photo_id":"1338704862","filename":"file5"},{"photo_id":"1338704857","filename":"file2"},{"photo_id":"1338704861","filename":"file4"},{"photo_id":"1338704851","filename":"file1"},{"photo_id":"1338704838","filename":"file0"},{"photo_id":"1338704859","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338704862":["hashtag1","hashtag2"]},{"1338704859":["hashtag1","hashtag2"]},{"1338704838":["hashtag1","hashtag2"]},{"1338704861":["hashtag1","hashtag2"]},{"1338704857":["hashtag1","hashtag2"]},{"1338704851":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338704862, 1338704859, 1338704838, 1338704861, 1338704857, 1338704851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.894235610961914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:17:32.905356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/45/image_19022025_18_45_26_9346.jpg', '/home/pi/Desktop/images/19022025/18/45/image_19022025_18_45_46_9416.jpg', '/home/pi/Desktop/images/19022025/18/45/image_19022025_18_45_56_10361.jpg', '/home/pi/Desktop/images/19022025/18/45/image_19022025_18_46_06_10369.jpg', '/home/pi/Desktop/images/19022025/18/46/image_19022025_18_46_16_9329.jpg', '/home/pi/Desktop/images/19022025/18/46/image_19022025_18_46_46_10469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/45/image_19022025_18_45_26_9346.jpg
/home/pi/Desktop/images/19022025/18/45/image_19022025_18_45_46_9416.jpg
/home/pi/Desktop/images/19022025/18/45/image_19022025_18_45_56_10361.jpg
/home/pi/Desktop/images/19022025/18/45/image_19022025_18_46_06_10369.jpg
/home/pi/Desktop/images/19022025/18/46/image_19022025_18_46_16_9329.jpg
/home/pi/Desktop/images/19022025/18/46/image_19022025_18_46_46_10469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338704898","1338704894","1338704915","1338704881","1338704900","1338704902"],"photo_ids_order":["1338704881","1338704894","1338704898","1338704900","1338704902","1338704915"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf507222815437e9a34877622de57700.jpg","text":"TemporaryFile(/tmp/multipartBody8393013536231450683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097114940,"filename":"image_19022025_18_45_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e6e891b8200e5caa9b068599e09a7fb6.jpg","text":"TemporaryFile(/tmp/multipartBody1708300070254285677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097114940,"filename":"image_19022025_18_45_46_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/51f9d5be6569e5520d4f2381ec66baf5.jpg","text":"TemporaryFile(/tmp/multipartBody3701774806529022818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097114940,"filename":"image_19022025_18_46_46_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9573a763209d377c5ce09a783e71ada8.jpg","text":"TemporaryFile(/tmp/multipartBody6348246783510410726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097114940,"filename":"image_19022025_18_45_26_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d5dc716d44d635b7c1c8f534d2b9de50.jpg","text":"TemporaryFile(/tmp/multipartBody4442504369887797183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097114940,"filename":"image_19022025_18_46_06_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e76afb66aa97c67524d051860b78e6de.jpg","text":"TemporaryFile(/tmp/multipartBody2781449628819301672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097114940,"filename":"image_19022025_18_46_16_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338704898","file1":"1338704894","file0":"1338704881","file4":"1338704902","file5":"1338704915","file3":"1338704900"},"map_files_photo_id_array":[{"photo_id":"1338704915","filename":"file5"},{"photo_id":"1338704898","filename":"file2"},{"photo_id":"1338704902","filename":"file4"},{"photo_id":"1338704894","filename":"file1"},{"photo_id":"1338704881","filename":"file0"},{"photo_id":"1338704900","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338704898":["hashtag1","hashtag2"]},{"1338704894":["hashtag1","hashtag2"]},{"1338704915":["hashtag1","hashtag2"]},{"1338704881":["hashtag1","hashtag2"]},{"1338704900":["hashtag1","hashtag2"]},{"1338704902":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338704898, 1338704894, 1338704915, 1338704881, 1338704900, 1338704902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93770456314087 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:18:33.044793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/46/image_19022025_18_46_56_9380.jpg', '/home/pi/Desktop/images/19022025/18/47/image_19022025_18_47_47_10381.jpg', '/home/pi/Desktop/images/19022025/18/47/image_19022025_18_47_56_9343.jpg', '/home/pi/Desktop/images/19022025/18/49/image_19022025_18_50_07_10372.jpg', '/home/pi/Desktop/images/19022025/18/50/image_19022025_18_50_26_10339.jpg', '/home/pi/Desktop/images/19022025/18/50/image_19022025_18_50_36_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/46/image_19022025_18_46_56_9380.jpg
/home/pi/Desktop/images/19022025/18/47/image_19022025_18_47_47_10381.jpg
/home/pi/Desktop/images/19022025/18/47/image_19022025_18_47_56_9343.jpg
/home/pi/Desktop/images/19022025/18/49/image_19022025_18_50_07_10372.jpg
/home/pi/Desktop/images/19022025/18/50/image_19022025_18_50_26_10339.jpg
/home/pi/Desktop/images/19022025/18/50/image_19022025_18_50_36_9421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338705216","1338705201","1338705233","1338705166","1338705202","1338705060"],"photo_ids_order":["1338705060","1338705166","1338705201","1338705202","1338705216","1338705233"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2bce1628d53ab3d674b05e59a800e655.jpg","text":"TemporaryFile(/tmp/multipartBody7382104184118980932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097175098,"filename":"image_19022025_18_50_26_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4086f5c0693131fc0c095b3013bb4584.jpg","text":"TemporaryFile(/tmp/multipartBody1577545397157372780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097175098,"filename":"image_19022025_18_47_56_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02f311807ad0ea2f05553303cf9b275e.jpg","text":"TemporaryFile(/tmp/multipartBody4606845681695545271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097175098,"filename":"image_19022025_18_50_36_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7421812b8beeb72fde27665adb2e5f71.jpg","text":"TemporaryFile(/tmp/multipartBody2151672807875130102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097175098,"filename":"image_19022025_18_47_47_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bec6270a72c0e5b7a4097fd671e6ce3d.jpg","text":"TemporaryFile(/tmp/multipartBody5954310766846746254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097175098,"filename":"image_19022025_18_50_07_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/30ae80a6c462f3b44d474187066c5c47.jpg","text":"TemporaryFile(/tmp/multipartBody9036382555911518948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097175098,"filename":"image_19022025_18_46_56_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338705201","file1":"1338705166","file0":"1338705060","file4":"1338705216","file5":"1338705233","file3":"1338705202"},"map_files_photo_id_array":[{"photo_id":"1338705233","filename":"file5"},{"photo_id":"1338705201","filename":"file2"},{"photo_id":"1338705216","filename":"file4"},{"photo_id":"1338705166","filename":"file1"},{"photo_id":"1338705060","filename":"file0"},{"photo_id":"1338705202","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338705216":["hashtag1","hashtag2"]},{"1338705201":["hashtag1","hashtag2"]},{"1338705233":["hashtag1","hashtag2"]},{"1338705166":["hashtag1","hashtag2"]},{"1338705202":["hashtag1","hashtag2"]},{"1338705060":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338705216, 1338705201, 1338705233, 1338705166, 1338705202, 1338705060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98620629310608 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:19:32.158101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/50/image_19022025_18_50_46_10335.jpg', '/home/pi/Desktop/images/19022025/18/51/image_19022025_18_51_46_10452.jpg', '/home/pi/Desktop/images/19022025/18/51/image_19022025_18_51_56_9346.jpg', '/home/pi/Desktop/images/19022025/18/52/image_19022025_18_52_26_9368.jpg', '/home/pi/Desktop/images/19022025/18/52/image_19022025_18_52_56_9340.jpg', '/home/pi/Desktop/images/19022025/18/52/image_19022025_18_53_06_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/50/image_19022025_18_50_46_10335.jpg
/home/pi/Desktop/images/19022025/18/51/image_19022025_18_51_46_10452.jpg
/home/pi/Desktop/images/19022025/18/51/image_19022025_18_51_56_9346.jpg
/home/pi/Desktop/images/19022025/18/52/image_19022025_18_52_26_9368.jpg
/home/pi/Desktop/images/19022025/18/52/image_19022025_18_52_56_9340.jpg
/home/pi/Desktop/images/19022025/18/52/image_19022025_18_53_06_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338705380","1338705383","1338705436","1338705409","1338705384","1338705438"],"photo_ids_order":["1338705380","1338705383","1338705384","1338705409","1338705436","1338705438"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/28c08d422eb3601e9b1fcdbcfbbe204b.jpg","text":"TemporaryFile(/tmp/multipartBody9012823444115304357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097234181,"filename":"image_19022025_18_50_46_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4db50acffc44ca773cb7ff1a14906271.jpg","text":"TemporaryFile(/tmp/multipartBody3589342399766030350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097234181,"filename":"image_19022025_18_51_46_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c077ffaaf335f02f97908c1a945edc66.jpg","text":"TemporaryFile(/tmp/multipartBody1693835897293220462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097234181,"filename":"image_19022025_18_52_56_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c30ffc5b0711c7290a7000a6cc305ef3.jpg","text":"TemporaryFile(/tmp/multipartBody2469046454223753879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097234181,"filename":"image_19022025_18_52_26_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/854260cd985926378fc1e076381ba361.jpg","text":"TemporaryFile(/tmp/multipartBody4940782798318892584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097234181,"filename":"image_19022025_18_51_56_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d80c1ce206f2bbe4d92c21495fecf3a1.jpg","text":"TemporaryFile(/tmp/multipartBody1712284616716789839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097234181,"filename":"image_19022025_18_53_06_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338705384","file1":"1338705383","file0":"1338705380","file4":"1338705436","file5":"1338705438","file3":"1338705409"},"map_files_photo_id_array":[{"photo_id":"1338705438","filename":"file5"},{"photo_id":"1338705384","filename":"file2"},{"photo_id":"1338705436","filename":"file4"},{"photo_id":"1338705383","filename":"file1"},{"photo_id":"1338705380","filename":"file0"},{"photo_id":"1338705409","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338705380":["hashtag1","hashtag2"]},{"1338705383":["hashtag1","hashtag2"]},{"1338705436":["hashtag1","hashtag2"]},{"1338705409":["hashtag1","hashtag2"]},{"1338705384":["hashtag1","hashtag2"]},{"1338705438":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338705380, 1338705383, 1338705436, 1338705409, 1338705384, 1338705438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72778677940369 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:20:32.534652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/53/image_19022025_18_53_16_9397.jpg', '/home/pi/Desktop/images/19022025/18/53/image_19022025_18_53_26_10408.jpg', '/home/pi/Desktop/images/19022025/18/54/image_19022025_18_54_56_10316.jpg', '/home/pi/Desktop/images/19022025/18/54/image_19022025_18_55_07_10392.jpg', '/home/pi/Desktop/images/19022025/18/55/image_19022025_18_55_16_9385.jpg', '/home/pi/Desktop/images/19022025/18/55/image_19022025_18_55_46_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/53/image_19022025_18_53_16_9397.jpg
/home/pi/Desktop/images/19022025/18/53/image_19022025_18_53_26_10408.jpg
/home/pi/Desktop/images/19022025/18/54/image_19022025_18_54_56_10316.jpg
/home/pi/Desktop/images/19022025/18/54/image_19022025_18_55_07_10392.jpg
/home/pi/Desktop/images/19022025/18/55/image_19022025_18_55_16_9385.jpg
/home/pi/Desktop/images/19022025/18/55/image_19022025_18_55_46_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338705482","1338705478","1338705481","1338705480","1338705483","1338705477"],"photo_ids_order":["1338705477","1338705478","1338705480","1338705481","1338705482","1338705483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c182ea4c086978f08c1f83c999aefd38.jpg","text":"TemporaryFile(/tmp/multipartBody5301390472224138215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097294580,"filename":"image_19022025_18_55_16_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cc64105bf144ffe184679fe4c391e62c.jpg","text":"TemporaryFile(/tmp/multipartBody7589528680523958355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097294580,"filename":"image_19022025_18_53_26_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06c43333043bd9d70942d7a9f07dd75f.jpg","text":"TemporaryFile(/tmp/multipartBody74558762225047966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097294580,"filename":"image_19022025_18_55_07_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b4d05e54f721daf317fe74f4f7778834.jpg","text":"TemporaryFile(/tmp/multipartBody7423550967331029675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097294580,"filename":"image_19022025_18_54_56_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3f17838d36c69ced4d5cfa4ab83185c.jpg","text":"TemporaryFile(/tmp/multipartBody7910898298625564637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097294580,"filename":"image_19022025_18_55_46_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/212eafa7f9bb8bcb4332689768172a6f.jpg","text":"TemporaryFile(/tmp/multipartBody7890976913913321353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097294580,"filename":"image_19022025_18_53_16_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338705480","file1":"1338705478","file0":"1338705477","file4":"1338705482","file5":"1338705483","file3":"1338705481"},"map_files_photo_id_array":[{"photo_id":"1338705483","filename":"file5"},{"photo_id":"1338705480","filename":"file2"},{"photo_id":"1338705482","filename":"file4"},{"photo_id":"1338705478","filename":"file1"},{"photo_id":"1338705477","filename":"file0"},{"photo_id":"1338705481","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338705482":["hashtag1","hashtag2"]},{"1338705478":["hashtag1","hashtag2"]},{"1338705481":["hashtag1","hashtag2"]},{"1338705480":["hashtag1","hashtag2"]},{"1338705483":["hashtag1","hashtag2"]},{"1338705477":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338705482, 1338705478, 1338705481, 1338705480, 1338705483, 1338705477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63841700553894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:21:32.793866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/55/image_19022025_18_55_56_10343.jpg', '/home/pi/Desktop/images/19022025/18/55/image_19022025_18_56_06_9312.jpg', '/home/pi/Desktop/images/19022025/18/56/image_19022025_18_56_16_10331.jpg', '/home/pi/Desktop/images/19022025/18/56/image_19022025_18_56_27_10401.jpg', '/home/pi/Desktop/images/19022025/18/56/image_19022025_18_56_36_9316.jpg', '/home/pi/Desktop/images/19022025/18/56/image_19022025_18_56_57_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/55/image_19022025_18_55_56_10343.jpg
/home/pi/Desktop/images/19022025/18/55/image_19022025_18_56_06_9312.jpg
/home/pi/Desktop/images/19022025/18/56/image_19022025_18_56_16_10331.jpg
/home/pi/Desktop/images/19022025/18/56/image_19022025_18_56_27_10401.jpg
/home/pi/Desktop/images/19022025/18/56/image_19022025_18_56_36_9316.jpg
/home/pi/Desktop/images/19022025/18/56/image_19022025_18_56_57_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338705528","1338705504","1338705497","1338705518","1338705509","1338705526"],"photo_ids_order":["1338705497","1338705504","1338705509","1338705518","1338705526","1338705528"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7b4f13273d6c84720d22a3dd94099b66.jpg","text":"TemporaryFile(/tmp/multipartBody8969710982434086085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097354834,"filename":"image_19022025_18_56_57_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a0f4fa73df97ab50764e7a31a9bd8892.jpg","text":"TemporaryFile(/tmp/multipartBody9114262440636287833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097354834,"filename":"image_19022025_18_56_06_9312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/310e5e3160d50c4026ea91c2ca30cff3.jpg","text":"TemporaryFile(/tmp/multipartBody4939858724897158401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097354834,"filename":"image_19022025_18_55_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fcf771ca8ac50bb2a9ab38acc23fa8ad.jpg","text":"TemporaryFile(/tmp/multipartBody1406133134644428729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097354834,"filename":"image_19022025_18_56_27_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4e7ff95a0c0fc8ef4d9a9bdf11e598d5.jpg","text":"TemporaryFile(/tmp/multipartBody6483339750084564185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097354834,"filename":"image_19022025_18_56_16_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/56beae5c8890b06f4295300175ef4b7f.jpg","text":"TemporaryFile(/tmp/multipartBody7782925900136635208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097354834,"filename":"image_19022025_18_56_36_9316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338705509","file1":"1338705504","file0":"1338705497","file4":"1338705526","file5":"1338705528","file3":"1338705518"},"map_files_photo_id_array":[{"photo_id":"1338705528","filename":"file5"},{"photo_id":"1338705509","filename":"file2"},{"photo_id":"1338705526","filename":"file4"},{"photo_id":"1338705504","filename":"file1"},{"photo_id":"1338705497","filename":"file0"},{"photo_id":"1338705518","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338705528":["hashtag1","hashtag2"]},{"1338705504":["hashtag1","hashtag2"]},{"1338705497":["hashtag1","hashtag2"]},{"1338705518":["hashtag1","hashtag2"]},{"1338705509":["hashtag1","hashtag2"]},{"1338705526":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338705528, 1338705504, 1338705497, 1338705518, 1338705509, 1338705526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.398866415023804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:22:32.765396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/18/56/image_19022025_18_57_06_9314.jpg', '/home/pi/Desktop/images/19022025/18/57/image_19022025_18_57_56_9335.jpg', '/home/pi/Desktop/images/19022025/18/57/image_19022025_18_58_06_10331.jpg', '/home/pi/Desktop/images/19022025/18/58/image_19022025_18_58_17_10454.jpg', '/home/pi/Desktop/images/19022025/18/58/image_19022025_18_58_36_10342.jpg', '/home/pi/Desktop/images/19022025/18/58/image_19022025_18_58_46_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/18/56/image_19022025_18_57_06_9314.jpg
/home/pi/Desktop/images/19022025/18/57/image_19022025_18_57_56_9335.jpg
/home/pi/Desktop/images/19022025/18/57/image_19022025_18_58_06_10331.jpg
/home/pi/Desktop/images/19022025/18/58/image_19022025_18_58_17_10454.jpg
/home/pi/Desktop/images/19022025/18/58/image_19022025_18_58_36_10342.jpg
/home/pi/Desktop/images/19022025/18/58/image_19022025_18_58_46_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338706790","1338707225","1338706999","1338707221","1338707223","1338707171"],"photo_ids_order":["1338706790","1338706999","1338707171","1338707221","1338707223","1338707225"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c4fbc68497913a244bb4b80c4537e37.jpg","text":"TemporaryFile(/tmp/multipartBody1293679817178734580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097414803,"filename":"image_19022025_18_57_06_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/51a179badd054589484319ebba8e0267.jpg","text":"TemporaryFile(/tmp/multipartBody6874747673037260468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097414803,"filename":"image_19022025_18_58_46_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6fe779b3d69a49afc23346b7c3843a9e.jpg","text":"TemporaryFile(/tmp/multipartBody1962030337802427649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097414803,"filename":"image_19022025_18_57_56_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3811462ea275e6ffa376b22ab29f2c2.jpg","text":"TemporaryFile(/tmp/multipartBody2447521729268815673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097414803,"filename":"image_19022025_18_58_17_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59a28c5ffdde88d39fec17aaefde3354.jpg","text":"TemporaryFile(/tmp/multipartBody3384205039933989121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097414803,"filename":"image_19022025_18_58_36_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/358dc25cbc1e2f94967ebb893672e790.jpg","text":"TemporaryFile(/tmp/multipartBody6804325486440025323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097414803,"filename":"image_19022025_18_58_06_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338707171","file1":"1338706999","file0":"1338706790","file4":"1338707223","file5":"1338707225","file3":"1338707221"},"map_files_photo_id_array":[{"photo_id":"1338707225","filename":"file5"},{"photo_id":"1338707171","filename":"file2"},{"photo_id":"1338707223","filename":"file4"},{"photo_id":"1338706999","filename":"file1"},{"photo_id":"1338706790","filename":"file0"},{"photo_id":"1338707221","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338706790":["hashtag1","hashtag2"]},{"1338707225":["hashtag1","hashtag2"]},{"1338706999":["hashtag1","hashtag2"]},{"1338707221":["hashtag1","hashtag2"]},{"1338707223":["hashtag1","hashtag2"]},{"1338707171":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338706790, 1338707225, 1338706999, 1338707221, 1338707223, 1338707171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57727003097534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:23:33.067427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/00/image_19022025_19_00_16_10066.jpg', '/home/pi/Desktop/images/19022025/19/00/image_19022025_19_00_26_10345.jpg', '/home/pi/Desktop/images/19022025/19/00/image_19022025_19_00_36_10393.jpg', '/home/pi/Desktop/images/19022025/19/00/image_19022025_19_00_56_10350.jpg', '/home/pi/Desktop/images/19022025/19/00/image_19022025_19_01_06_10323.jpg', '/home/pi/Desktop/images/19022025/19/01/image_19022025_19_01_16_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/00/image_19022025_19_00_16_10066.jpg
/home/pi/Desktop/images/19022025/19/00/image_19022025_19_00_26_10345.jpg
/home/pi/Desktop/images/19022025/19/00/image_19022025_19_00_36_10393.jpg
/home/pi/Desktop/images/19022025/19/00/image_19022025_19_00_56_10350.jpg
/home/pi/Desktop/images/19022025/19/00/image_19022025_19_01_06_10323.jpg
/home/pi/Desktop/images/19022025/19/01/image_19022025_19_01_16_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338707422","1338707682","1338707391","1338707394","1338707601","1338707495"],"photo_ids_order":["1338707391","1338707394","1338707422","1338707495","1338707601","1338707682"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eec525b3eee22dac6ca4f8b36198747f.jpg","text":"TemporaryFile(/tmp/multipartBody7692204143116926927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097475089,"filename":"image_19022025_19_00_36_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b79a4f5a448157c19d26e535dfc3f070.jpg","text":"TemporaryFile(/tmp/multipartBody5734605433511656410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097475089,"filename":"image_19022025_19_01_16_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a942e97cc56478497450095dbed7e210.jpg","text":"TemporaryFile(/tmp/multipartBody2523102880321419958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097475089,"filename":"image_19022025_19_00_16_10066.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a28306b1a5213ad44f91137526c7bddd.jpg","text":"TemporaryFile(/tmp/multipartBody431586040277082444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097475089,"filename":"image_19022025_19_00_26_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6deb47fb96a93b3d91cf11d69c253344.jpg","text":"TemporaryFile(/tmp/multipartBody5040997804092975059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097475089,"filename":"image_19022025_19_01_06_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fe430417a1a51a2dadccaac4a34f639e.jpg","text":"TemporaryFile(/tmp/multipartBody1445592673265329310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097475089,"filename":"image_19022025_19_00_56_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338707422","file1":"1338707394","file0":"1338707391","file4":"1338707601","file5":"1338707682","file3":"1338707495"},"map_files_photo_id_array":[{"photo_id":"1338707682","filename":"file5"},{"photo_id":"1338707422","filename":"file2"},{"photo_id":"1338707601","filename":"file4"},{"photo_id":"1338707394","filename":"file1"},{"photo_id":"1338707391","filename":"file0"},{"photo_id":"1338707495","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338707422":["hashtag1","hashtag2"]},{"1338707682":["hashtag1","hashtag2"]},{"1338707391":["hashtag1","hashtag2"]},{"1338707394":["hashtag1","hashtag2"]},{"1338707601":["hashtag1","hashtag2"]},{"1338707495":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338707422, 1338707682, 1338707391, 1338707394, 1338707601, 1338707495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.9954571723938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:24:32.152174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/01/image_19022025_19_01_26_10334.jpg', '/home/pi/Desktop/images/19022025/19/01/image_19022025_19_01_37_10407.jpg', '/home/pi/Desktop/images/19022025/19/01/image_19022025_19_02_07_10404.jpg', '/home/pi/Desktop/images/19022025/19/02/image_19022025_19_02_16_9326.jpg', '/home/pi/Desktop/images/19022025/19/03/image_19022025_19_04_06_9328.jpg', '/home/pi/Desktop/images/19022025/19/04/image_19022025_19_04_16_10323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/01/image_19022025_19_01_26_10334.jpg
/home/pi/Desktop/images/19022025/19/01/image_19022025_19_01_37_10407.jpg
/home/pi/Desktop/images/19022025/19/01/image_19022025_19_02_07_10404.jpg
/home/pi/Desktop/images/19022025/19/02/image_19022025_19_02_16_9326.jpg
/home/pi/Desktop/images/19022025/19/03/image_19022025_19_04_06_9328.jpg
/home/pi/Desktop/images/19022025/19/04/image_19022025_19_04_16_10323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338707773","1338707761","1338707781","1338707778","1338707780","1338707729"],"photo_ids_order":["1338707729","1338707761","1338707773","1338707778","1338707780","1338707781"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1411847fcdf3e6f565ca19dbc183e41b.jpg","text":"TemporaryFile(/tmp/multipartBody7432899761105591256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097534219,"filename":"image_19022025_19_02_07_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a21b47362fd765b74620fb8a7f3cd28f.jpg","text":"TemporaryFile(/tmp/multipartBody7347265574536386338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097534219,"filename":"image_19022025_19_01_37_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/39732869ea17683052fe822fe87381ce.jpg","text":"TemporaryFile(/tmp/multipartBody1889314090657456898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097534219,"filename":"image_19022025_19_04_16_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f78f66b3f1f427abd02597d08aaa1072.jpg","text":"TemporaryFile(/tmp/multipartBody5490095404730063620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097534219,"filename":"image_19022025_19_02_16_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0645111275cb583085b8ec7cd897f777.jpg","text":"TemporaryFile(/tmp/multipartBody7598845842231864470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097534219,"filename":"image_19022025_19_04_06_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74b5c75dc396521daf3239adfd54f641.jpg","text":"TemporaryFile(/tmp/multipartBody6979539845497327687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097534219,"filename":"image_19022025_19_01_26_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338707773","file1":"1338707761","file0":"1338707729","file4":"1338707780","file5":"1338707781","file3":"1338707778"},"map_files_photo_id_array":[{"photo_id":"1338707781","filename":"file5"},{"photo_id":"1338707773","filename":"file2"},{"photo_id":"1338707780","filename":"file4"},{"photo_id":"1338707761","filename":"file1"},{"photo_id":"1338707729","filename":"file0"},{"photo_id":"1338707778","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338707773":["hashtag1","hashtag2"]},{"1338707761":["hashtag1","hashtag2"]},{"1338707781":["hashtag1","hashtag2"]},{"1338707778":["hashtag1","hashtag2"]},{"1338707780":["hashtag1","hashtag2"]},{"1338707729":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338707773, 1338707761, 1338707781, 1338707778, 1338707780, 1338707729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4351761341095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:25:32.469852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/06/image_19022025_19_06_17_10427.jpg', '/home/pi/Desktop/images/19022025/19/06/image_19022025_19_06_36_10338.jpg', '/home/pi/Desktop/images/19022025/19/06/image_19022025_19_06_56_10354.jpg', '/home/pi/Desktop/images/19022025/19/07/image_19022025_19_07_37_10403.jpg', '/home/pi/Desktop/images/19022025/19/07/image_19022025_19_07_46_9338.jpg', '/home/pi/Desktop/images/19022025/19/07/image_19022025_19_07_56_10480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/06/image_19022025_19_06_17_10427.jpg
/home/pi/Desktop/images/19022025/19/06/image_19022025_19_06_36_10338.jpg
/home/pi/Desktop/images/19022025/19/06/image_19022025_19_06_56_10354.jpg
/home/pi/Desktop/images/19022025/19/07/image_19022025_19_07_37_10403.jpg
/home/pi/Desktop/images/19022025/19/07/image_19022025_19_07_46_9338.jpg
/home/pi/Desktop/images/19022025/19/07/image_19022025_19_07_56_10480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338707807","1338707809","1338707799","1338707796","1338707805","1338707802"],"photo_ids_order":["1338707796","1338707799","1338707802","1338707805","1338707807","1338707809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8e1ad97018634c76d9f502773ebdd124.jpg","text":"TemporaryFile(/tmp/multipartBody8096216726792458872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097594512,"filename":"image_19022025_19_07_46_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b148e2f65c8c2bbf5df9eaa50233da53.jpg","text":"TemporaryFile(/tmp/multipartBody7478724569259815942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097594512,"filename":"image_19022025_19_07_56_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/51ff3d3a6cf9c5b62453b607e88eac47.jpg","text":"TemporaryFile(/tmp/multipartBody8226863875993169162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097594512,"filename":"image_19022025_19_06_36_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/abff06699d5e4669744139458a292ee9.jpg","text":"TemporaryFile(/tmp/multipartBody2618136994363688266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097594512,"filename":"image_19022025_19_06_17_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f46db4445fd9e331248a2c8c719e2f8.jpg","text":"TemporaryFile(/tmp/multipartBody3486308776273201880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097594512,"filename":"image_19022025_19_07_37_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dd5ae264ce04ea80dcd67bbf53259359.jpg","text":"TemporaryFile(/tmp/multipartBody8752644326064658882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097594512,"filename":"image_19022025_19_06_56_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338707802","file1":"1338707799","file0":"1338707796","file4":"1338707807","file5":"1338707809","file3":"1338707805"},"map_files_photo_id_array":[{"photo_id":"1338707809","filename":"file5"},{"photo_id":"1338707802","filename":"file2"},{"photo_id":"1338707807","filename":"file4"},{"photo_id":"1338707799","filename":"file1"},{"photo_id":"1338707796","filename":"file0"},{"photo_id":"1338707805","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338707807":["hashtag1","hashtag2"]},{"1338707809":["hashtag1","hashtag2"]},{"1338707799":["hashtag1","hashtag2"]},{"1338707796":["hashtag1","hashtag2"]},{"1338707805":["hashtag1","hashtag2"]},{"1338707802":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338707807, 1338707809, 1338707799, 1338707796, 1338707805, 1338707802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.448596239089966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:26:32.655719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/08/image_19022025_19_08_16_10319.jpg', '/home/pi/Desktop/images/19022025/19/08/image_19022025_19_09_06_10317.jpg', '/home/pi/Desktop/images/19022025/19/09/image_19022025_19_09_26_9348.jpg', '/home/pi/Desktop/images/19022025/19/09/image_19022025_19_09_36_10327.jpg', '/home/pi/Desktop/images/19022025/19/09/image_19022025_19_09_47_10464.jpg', '/home/pi/Desktop/images/19022025/19/10/image_19022025_19_10_26_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/08/image_19022025_19_08_16_10319.jpg
/home/pi/Desktop/images/19022025/19/08/image_19022025_19_09_06_10317.jpg
/home/pi/Desktop/images/19022025/19/09/image_19022025_19_09_26_9348.jpg
/home/pi/Desktop/images/19022025/19/09/image_19022025_19_09_36_10327.jpg
/home/pi/Desktop/images/19022025/19/09/image_19022025_19_09_47_10464.jpg
/home/pi/Desktop/images/19022025/19/10/image_19022025_19_10_26_9332.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.946004867553711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 01:26:42.694312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/08/image_19022025_19_08_16_10319.jpg', '/home/pi/Desktop/images/19022025/19/08/image_19022025_19_09_06_10317.jpg', '/home/pi/Desktop/images/19022025/19/09/image_19022025_19_09_26_9348.jpg', '/home/pi/Desktop/images/19022025/19/09/image_19022025_19_09_36_10327.jpg', '/home/pi/Desktop/images/19022025/19/09/image_19022025_19_09_47_10464.jpg', '/home/pi/Desktop/images/19022025/19/10/image_19022025_19_10_26_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/08/image_19022025_19_08_16_10319.jpg
/home/pi/Desktop/images/19022025/19/08/image_19022025_19_09_06_10317.jpg
/home/pi/Desktop/images/19022025/19/09/image_19022025_19_09_26_9348.jpg
/home/pi/Desktop/images/19022025/19/09/image_19022025_19_09_36_10327.jpg
/home/pi/Desktop/images/19022025/19/09/image_19022025_19_09_47_10464.jpg
/home/pi/Desktop/images/19022025/19/10/image_19022025_19_10_26_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338707839","1338707835","1338707832","1338707826","1338707829","1338707837"],"photo_ids_order":["1338707826","1338707829","1338707832","1338707835","1338707837","1338707839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c298b67ad26eb7c92527fc9dc313ebe.jpg","text":"TemporaryFile(/tmp/multipartBody2208268922990836451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097663803,"filename":"image_19022025_19_10_26_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d968ee7cba378158b930fa637fadb9e.jpg","text":"TemporaryFile(/tmp/multipartBody497824383342476779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097663803,"filename":"image_19022025_19_09_36_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d947b1325fabd682245fd6c23cbaa9fe.jpg","text":"TemporaryFile(/tmp/multipartBody6508921471414458890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097663803,"filename":"image_19022025_19_09_26_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/007c5852e0fd92113a551b4f2def5a78.jpg","text":"TemporaryFile(/tmp/multipartBody2352160078698345374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097663803,"filename":"image_19022025_19_08_16_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f9402aa7dbec3cd0bfe9f46af3528eee.jpg","text":"TemporaryFile(/tmp/multipartBody2149397157714347645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097663803,"filename":"image_19022025_19_09_06_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dce941998b88a9e66e9cf43c782a1733.jpg","text":"TemporaryFile(/tmp/multipartBody7873923284124277793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097663803,"filename":"image_19022025_19_09_47_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338707832","file1":"1338707829","file0":"1338707826","file4":"1338707837","file5":"1338707839","file3":"1338707835"},"map_files_photo_id_array":[{"photo_id":"1338707839","filename":"file5"},{"photo_id":"1338707832","filename":"file2"},{"photo_id":"1338707837","filename":"file4"},{"photo_id":"1338707829","filename":"file1"},{"photo_id":"1338707826","filename":"file0"},{"photo_id":"1338707835","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338707839":["hashtag1","hashtag2"]},{"1338707835":["hashtag1","hashtag2"]},{"1338707832":["hashtag1","hashtag2"]},{"1338707826":["hashtag1","hashtag2"]},{"1338707829":["hashtag1","hashtag2"]},{"1338707837":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338707839, 1338707835, 1338707832, 1338707826, 1338707829, 1338707837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.77180480957031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:27:32.927954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/10/image_19022025_19_10_56_9341.jpg', '/home/pi/Desktop/images/19022025/19/11/image_19022025_19_11_16_9414.jpg', '/home/pi/Desktop/images/19022025/19/11/image_19022025_19_11_36_10396.jpg', '/home/pi/Desktop/images/19022025/19/11/image_19022025_19_11_46_9339.jpg', '/home/pi/Desktop/images/19022025/19/12/image_19022025_19_12_46_9333.jpg', '/home/pi/Desktop/images/19022025/19/12/image_19022025_19_12_56_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/10/image_19022025_19_10_56_9341.jpg
/home/pi/Desktop/images/19022025/19/11/image_19022025_19_11_16_9414.jpg
/home/pi/Desktop/images/19022025/19/11/image_19022025_19_11_36_10396.jpg
/home/pi/Desktop/images/19022025/19/11/image_19022025_19_11_46_9339.jpg
/home/pi/Desktop/images/19022025/19/12/image_19022025_19_12_46_9333.jpg
/home/pi/Desktop/images/19022025/19/12/image_19022025_19_12_56_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338707857","1338707851","1338707860","1338707854","1338707859","1338707861"],"photo_ids_order":["1338707851","1338707854","1338707857","1338707859","1338707860","1338707861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b6db2107fd7bcc10c6aa3870401ca81a.jpg","text":"TemporaryFile(/tmp/multipartBody2821557355151160631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097714981,"filename":"image_19022025_19_11_36_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a03cf5921214351828a1f59a0a479f7a.jpg","text":"TemporaryFile(/tmp/multipartBody8061714061554561356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097714981,"filename":"image_19022025_19_10_56_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/35e451bc1245b6538abf0cf4af6810a8.jpg","text":"TemporaryFile(/tmp/multipartBody328218160239885290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097714981,"filename":"image_19022025_19_12_46_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/777869e97d1a877bf71a2c7ef5cafb6f.jpg","text":"TemporaryFile(/tmp/multipartBody5941200168734660785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097714981,"filename":"image_19022025_19_11_16_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5e0e4f9a5291404ae4db6473c48e791d.jpg","text":"TemporaryFile(/tmp/multipartBody5816528787572332873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097714981,"filename":"image_19022025_19_11_46_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0069ea98ab2355da0ed4808ffc7a870a.jpg","text":"TemporaryFile(/tmp/multipartBody586297759835926436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097714981,"filename":"image_19022025_19_12_56_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338707857","file1":"1338707854","file0":"1338707851","file4":"1338707860","file5":"1338707861","file3":"1338707859"},"map_files_photo_id_array":[{"photo_id":"1338707861","filename":"file5"},{"photo_id":"1338707857","filename":"file2"},{"photo_id":"1338707860","filename":"file4"},{"photo_id":"1338707854","filename":"file1"},{"photo_id":"1338707851","filename":"file0"},{"photo_id":"1338707859","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338707857":["hashtag1","hashtag2"]},{"1338707851":["hashtag1","hashtag2"]},{"1338707860":["hashtag1","hashtag2"]},{"1338707854":["hashtag1","hashtag2"]},{"1338707859":["hashtag1","hashtag2"]},{"1338707861":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338707857, 1338707851, 1338707860, 1338707854, 1338707859, 1338707861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5296528339386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:28:33.063765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/13/image_19022025_19_13_16_10411.jpg', '/home/pi/Desktop/images/19022025/19/13/image_19022025_19_13_57_10409.jpg', '/home/pi/Desktop/images/19022025/19/13/image_19022025_19_14_06_9318.jpg', '/home/pi/Desktop/images/19022025/19/16/image_19022025_19_16_46_10496.jpg', '/home/pi/Desktop/images/19022025/19/16/image_19022025_19_16_56_9348.jpg', '/home/pi/Desktop/images/19022025/19/16/image_19022025_19_17_06_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/13/image_19022025_19_13_16_10411.jpg
/home/pi/Desktop/images/19022025/19/13/image_19022025_19_13_57_10409.jpg
/home/pi/Desktop/images/19022025/19/13/image_19022025_19_14_06_9318.jpg
/home/pi/Desktop/images/19022025/19/16/image_19022025_19_16_46_10496.jpg
/home/pi/Desktop/images/19022025/19/16/image_19022025_19_16_56_9348.jpg
/home/pi/Desktop/images/19022025/19/16/image_19022025_19_17_06_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338707918","1338707881","1338707917","1338707889","1338707894","1338707876"],"photo_ids_order":["1338707876","1338707881","1338707889","1338707894","1338707917","1338707918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c43068a488c71c3383d9487cb2c3e2f5.jpg","text":"TemporaryFile(/tmp/multipartBody4798931044603408441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097775120,"filename":"image_19022025_19_17_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5938f464895f1a83ea5381c9ef040640.jpg","text":"TemporaryFile(/tmp/multipartBody9165887223298048422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097775120,"filename":"image_19022025_19_13_57_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e93a53341ae51d4301e328b6381bc023.jpg","text":"TemporaryFile(/tmp/multipartBody2489378858292967298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097775120,"filename":"image_19022025_19_16_56_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6247827b63f9d39a2c726f343aa155bb.jpg","text":"TemporaryFile(/tmp/multipartBody2528463423042436098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097775120,"filename":"image_19022025_19_14_06_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/13afb9445730ff807420e2326db4ec7f.jpg","text":"TemporaryFile(/tmp/multipartBody2551050943103786364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097775120,"filename":"image_19022025_19_16_46_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b87f2932d37601ad8575394815a5fde6.jpg","text":"TemporaryFile(/tmp/multipartBody3035527317407361078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097775120,"filename":"image_19022025_19_13_16_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338707889","file1":"1338707881","file0":"1338707876","file4":"1338707917","file5":"1338707918","file3":"1338707894"},"map_files_photo_id_array":[{"photo_id":"1338707918","filename":"file5"},{"photo_id":"1338707889","filename":"file2"},{"photo_id":"1338707917","filename":"file4"},{"photo_id":"1338707881","filename":"file1"},{"photo_id":"1338707876","filename":"file0"},{"photo_id":"1338707894","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338707918":["hashtag1","hashtag2"]},{"1338707881":["hashtag1","hashtag2"]},{"1338707917":["hashtag1","hashtag2"]},{"1338707889":["hashtag1","hashtag2"]},{"1338707894":["hashtag1","hashtag2"]},{"1338707876":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338707918, 1338707881, 1338707917, 1338707889, 1338707894, 1338707876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.228848934173584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:29:32.087445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/17/image_19022025_19_17_46_9363.jpg', '/home/pi/Desktop/images/19022025/19/18/image_19022025_19_18_16_9395.jpg', '/home/pi/Desktop/images/19022025/19/18/image_19022025_19_18_26_10367.jpg', '/home/pi/Desktop/images/19022025/19/18/image_19022025_19_18_37_10398.jpg', '/home/pi/Desktop/images/19022025/19/19/image_19022025_19_19_27_10441.jpg', '/home/pi/Desktop/images/19022025/19/19/image_19022025_19_19_36_9324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/17/image_19022025_19_17_46_9363.jpg
/home/pi/Desktop/images/19022025/19/18/image_19022025_19_18_16_9395.jpg
/home/pi/Desktop/images/19022025/19/18/image_19022025_19_18_26_10367.jpg
/home/pi/Desktop/images/19022025/19/18/image_19022025_19_18_37_10398.jpg
/home/pi/Desktop/images/19022025/19/19/image_19022025_19_19_27_10441.jpg
/home/pi/Desktop/images/19022025/19/19/image_19022025_19_19_36_9324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338707992","1338707995","1338707991","1338707978","1338707993","1338708073"],"photo_ids_order":["1338707978","1338707991","1338707992","1338707993","1338707995","1338708073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/468f7bc712281985541b5e0bb5d8d0ef.jpg","text":"TemporaryFile(/tmp/multipartBody4586922484476215154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097834126,"filename":"image_19022025_19_18_26_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ab1a95bce98fb31c55f19002a020e2b.jpg","text":"TemporaryFile(/tmp/multipartBody4120340407639752978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097834126,"filename":"image_19022025_19_19_27_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32bdd79f2ac8a7f01ab85df6692af418.jpg","text":"TemporaryFile(/tmp/multipartBody858764045862542516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097834126,"filename":"image_19022025_19_18_16_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/905a3c6f509bff5d6c31522bc896bb7e.jpg","text":"TemporaryFile(/tmp/multipartBody3239790596102834026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097834126,"filename":"image_19022025_19_17_46_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/618cbf25d9f82ae27606598d25b0183d.jpg","text":"TemporaryFile(/tmp/multipartBody6762009680394314097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097834126,"filename":"image_19022025_19_18_37_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/127cd50a88902b474408d59a57de8974.jpg","text":"TemporaryFile(/tmp/multipartBody6850354385922149435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097834126,"filename":"image_19022025_19_19_36_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338707992","file1":"1338707991","file0":"1338707978","file4":"1338707995","file5":"1338708073","file3":"1338707993"},"map_files_photo_id_array":[{"photo_id":"1338708073","filename":"file5"},{"photo_id":"1338707992","filename":"file2"},{"photo_id":"1338707995","filename":"file4"},{"photo_id":"1338707991","filename":"file1"},{"photo_id":"1338707978","filename":"file0"},{"photo_id":"1338707993","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338707992":["hashtag1","hashtag2"]},{"1338707995":["hashtag1","hashtag2"]},{"1338707991":["hashtag1","hashtag2"]},{"1338707978":["hashtag1","hashtag2"]},{"1338707993":["hashtag1","hashtag2"]},{"1338708073":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338707992, 1338707995, 1338707991, 1338707978, 1338707993, 1338708073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.792550563812256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:30:32.256768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/19/image_19022025_19_20_06_9379.jpg', '/home/pi/Desktop/images/19022025/19/20/image_19022025_19_20_56_9339.jpg', '/home/pi/Desktop/images/19022025/19/21/image_19022025_19_21_17_10374.jpg', '/home/pi/Desktop/images/19022025/19/21/image_19022025_19_21_26_9339.jpg', '/home/pi/Desktop/images/19022025/19/21/image_19022025_19_21_47_10418.jpg', '/home/pi/Desktop/images/19022025/19/21/image_19022025_19_21_56_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/19/image_19022025_19_20_06_9379.jpg
/home/pi/Desktop/images/19022025/19/20/image_19022025_19_20_56_9339.jpg
/home/pi/Desktop/images/19022025/19/21/image_19022025_19_21_17_10374.jpg
/home/pi/Desktop/images/19022025/19/21/image_19022025_19_21_26_9339.jpg
/home/pi/Desktop/images/19022025/19/21/image_19022025_19_21_47_10418.jpg
/home/pi/Desktop/images/19022025/19/21/image_19022025_19_21_56_9408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338708163","1338708145","1338708186","1338708156","1338708167","1338708166"],"photo_ids_order":["1338708145","1338708156","1338708163","1338708166","1338708167","1338708186"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/19244bd0a1f6382ef3bec18f6ad55826.jpg","text":"TemporaryFile(/tmp/multipartBody5094299540811296848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097894307,"filename":"image_19022025_19_21_17_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ead1cb6f2407bd31b57bf2ca813f5abd.jpg","text":"TemporaryFile(/tmp/multipartBody2942158201655638093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097894307,"filename":"image_19022025_19_20_06_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e9cb3cc0967d30a5833158aec66ec1f9.jpg","text":"TemporaryFile(/tmp/multipartBody779411180271230153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097894307,"filename":"image_19022025_19_21_56_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/78bc2ac16f4a20f83f7e51a2bd3133c3.jpg","text":"TemporaryFile(/tmp/multipartBody1893982876221379905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097894307,"filename":"image_19022025_19_20_56_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0be5908be4638a4fc5f05604ef9a7439.jpg","text":"TemporaryFile(/tmp/multipartBody2581965346609373911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097894307,"filename":"image_19022025_19_21_47_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a7bb864e3bba009620f8e7895acd6f1.jpg","text":"TemporaryFile(/tmp/multipartBody4747665018053088466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097894307,"filename":"image_19022025_19_21_26_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338708163","file1":"1338708156","file0":"1338708145","file4":"1338708167","file5":"1338708186","file3":"1338708166"},"map_files_photo_id_array":[{"photo_id":"1338708186","filename":"file5"},{"photo_id":"1338708163","filename":"file2"},{"photo_id":"1338708167","filename":"file4"},{"photo_id":"1338708156","filename":"file1"},{"photo_id":"1338708145","filename":"file0"},{"photo_id":"1338708166","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338708163":["hashtag1","hashtag2"]},{"1338708145":["hashtag1","hashtag2"]},{"1338708186":["hashtag1","hashtag2"]},{"1338708156":["hashtag1","hashtag2"]},{"1338708167":["hashtag1","hashtag2"]},{"1338708166":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338708163, 1338708145, 1338708186, 1338708156, 1338708167, 1338708166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9985077381134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:31:32.575768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/21/image_19022025_19_22_06_10425.jpg', '/home/pi/Desktop/images/19022025/19/22/image_19022025_19_22_16_9355.jpg', '/home/pi/Desktop/images/19022025/19/22/image_19022025_19_22_26_10432.jpg', '/home/pi/Desktop/images/19022025/19/23/image_19022025_19_23_26_10350.jpg', '/home/pi/Desktop/images/19022025/19/23/image_19022025_19_23_36_9414.jpg', '/home/pi/Desktop/images/19022025/19/23/image_19022025_19_23_56_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/21/image_19022025_19_22_06_10425.jpg
/home/pi/Desktop/images/19022025/19/22/image_19022025_19_22_16_9355.jpg
/home/pi/Desktop/images/19022025/19/22/image_19022025_19_22_26_10432.jpg
/home/pi/Desktop/images/19022025/19/23/image_19022025_19_23_26_10350.jpg
/home/pi/Desktop/images/19022025/19/23/image_19022025_19_23_36_9414.jpg
/home/pi/Desktop/images/19022025/19/23/image_19022025_19_23_56_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338708679","1338708783","1338708609","1338708566","1338708743","1338708481"],"photo_ids_order":["1338708481","1338708566","1338708609","1338708679","1338708743","1338708783"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c33f11c2b6551b7c3c8fb886250add97.jpg","text":"TemporaryFile(/tmp/multipartBody4618370207889353813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097954645,"filename":"image_19022025_19_23_26_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b646c0918bcdb961ae409d30ce53e50.jpg","text":"TemporaryFile(/tmp/multipartBody4014381971545356017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097954645,"filename":"image_19022025_19_23_56_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/171b076d921008c71bb22355b085e911.jpg","text":"TemporaryFile(/tmp/multipartBody1392236580673984327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097954645,"filename":"image_19022025_19_22_26_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fe6731c63c333f501f4df552384e0f23.jpg","text":"TemporaryFile(/tmp/multipartBody8070189923918157101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097954645,"filename":"image_19022025_19_22_16_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/13009d4bf7bcb8e50b07e80148fbde1e.jpg","text":"TemporaryFile(/tmp/multipartBody5109316112921093348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097954645,"filename":"image_19022025_19_23_36_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8621304eeef74b6ddffb19bad5f2e305.jpg","text":"TemporaryFile(/tmp/multipartBody3068181429268482522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740097954645,"filename":"image_19022025_19_22_06_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338708609","file1":"1338708566","file0":"1338708481","file4":"1338708743","file5":"1338708783","file3":"1338708679"},"map_files_photo_id_array":[{"photo_id":"1338708783","filename":"file5"},{"photo_id":"1338708609","filename":"file2"},{"photo_id":"1338708743","filename":"file4"},{"photo_id":"1338708566","filename":"file1"},{"photo_id":"1338708481","filename":"file0"},{"photo_id":"1338708679","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338708679":["hashtag1","hashtag2"]},{"1338708783":["hashtag1","hashtag2"]},{"1338708609":["hashtag1","hashtag2"]},{"1338708566":["hashtag1","hashtag2"]},{"1338708743":["hashtag1","hashtag2"]},{"1338708481":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338708679, 1338708783, 1338708609, 1338708566, 1338708743, 1338708481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48805475234985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:32:32.908612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/24/image_19022025_19_24_46_10342.jpg', '/home/pi/Desktop/images/19022025/19/24/image_19022025_19_24_56_9399.jpg', '/home/pi/Desktop/images/19022025/19/25/image_19022025_19_25_16_10401.jpg', '/home/pi/Desktop/images/19022025/19/25/image_19022025_19_25_36_10328.jpg', '/home/pi/Desktop/images/19022025/19/25/image_19022025_19_25_47_10424.jpg', '/home/pi/Desktop/images/19022025/19/25/image_19022025_19_26_06_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/24/image_19022025_19_24_46_10342.jpg
/home/pi/Desktop/images/19022025/19/24/image_19022025_19_24_56_9399.jpg
/home/pi/Desktop/images/19022025/19/25/image_19022025_19_25_16_10401.jpg
/home/pi/Desktop/images/19022025/19/25/image_19022025_19_25_36_10328.jpg
/home/pi/Desktop/images/19022025/19/25/image_19022025_19_25_47_10424.jpg
/home/pi/Desktop/images/19022025/19/25/image_19022025_19_26_06_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338709080","1338709083","1338709077","1338709086","1338709088","1338709084"],"photo_ids_order":["1338709077","1338709080","1338709083","1338709084","1338709086","1338709088"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/22ddd29cbc6b293646ed802da31f2f2b.jpg","text":"TemporaryFile(/tmp/multipartBody4636289347391577950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098014927,"filename":"image_19022025_19_24_56_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0b354c079ec1afcd0ce313212ac0eaba.jpg","text":"TemporaryFile(/tmp/multipartBody2177546444969688947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098014927,"filename":"image_19022025_19_25_16_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d6f9ba278abe030c6b3b224f1c3f315.jpg","text":"TemporaryFile(/tmp/multipartBody4775792949873989115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098014927,"filename":"image_19022025_19_24_46_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf5c6cf2271461147dc8aad549270b62.jpg","text":"TemporaryFile(/tmp/multipartBody3623961865832789560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098014927,"filename":"image_19022025_19_25_47_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ada94026152d0da9992c3c84bc3b4bf1.jpg","text":"TemporaryFile(/tmp/multipartBody1505854047029691744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098014927,"filename":"image_19022025_19_26_06_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a3afc4427b5758deca05c972fc545f2a.jpg","text":"TemporaryFile(/tmp/multipartBody7860548323594449026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098014927,"filename":"image_19022025_19_25_36_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338709083","file1":"1338709080","file0":"1338709077","file4":"1338709086","file5":"1338709088","file3":"1338709084"},"map_files_photo_id_array":[{"photo_id":"1338709088","filename":"file5"},{"photo_id":"1338709083","filename":"file2"},{"photo_id":"1338709086","filename":"file4"},{"photo_id":"1338709080","filename":"file1"},{"photo_id":"1338709077","filename":"file0"},{"photo_id":"1338709084","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338709080":["hashtag1","hashtag2"]},{"1338709083":["hashtag1","hashtag2"]},{"1338709077":["hashtag1","hashtag2"]},{"1338709086":["hashtag1","hashtag2"]},{"1338709088":["hashtag1","hashtag2"]},{"1338709084":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338709080, 1338709083, 1338709077, 1338709086, 1338709088, 1338709084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.666136741638184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:33:33.015229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/26/image_19022025_19_26_16_9402.jpg', '/home/pi/Desktop/images/19022025/19/27/image_19022025_19_27_36_9411.jpg', '/home/pi/Desktop/images/19022025/19/27/image_19022025_19_27_46_10349.jpg', '/home/pi/Desktop/images/19022025/19/27/image_19022025_19_27_56_10445.jpg', '/home/pi/Desktop/images/19022025/19/29/image_19022025_19_30_06_10330.jpg', '/home/pi/Desktop/images/19022025/19/30/image_19022025_19_30_26_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/26/image_19022025_19_26_16_9402.jpg
/home/pi/Desktop/images/19022025/19/27/image_19022025_19_27_36_9411.jpg
/home/pi/Desktop/images/19022025/19/27/image_19022025_19_27_46_10349.jpg
/home/pi/Desktop/images/19022025/19/27/image_19022025_19_27_56_10445.jpg
/home/pi/Desktop/images/19022025/19/29/image_19022025_19_30_06_10330.jpg
/home/pi/Desktop/images/19022025/19/30/image_19022025_19_30_26_9333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338709293","1338709269","1338709263","1338709292","1338709268","1338709273"],"photo_ids_order":["1338709263","1338709268","1338709269","1338709273","1338709292","1338709293"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b4f5d2a785ce7fd7ee7f8a6120bfd57.jpg","text":"TemporaryFile(/tmp/multipartBody3351558852683610905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098075299,"filename":"image_19022025_19_30_26_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8f9536ae46d059b956c9da8f4b181546.jpg","text":"TemporaryFile(/tmp/multipartBody4351053740121839236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098075299,"filename":"image_19022025_19_27_46_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/84f02d5d9f78f578b4a00412533a9409.jpg","text":"TemporaryFile(/tmp/multipartBody7869685054643769660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098075299,"filename":"image_19022025_19_26_16_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c353adffde2d9135cc4c75dfc55eb3c5.jpg","text":"TemporaryFile(/tmp/multipartBody7892204597980877572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098075299,"filename":"image_19022025_19_30_06_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1bdea2d5091b3f9fc3554bcdd5e42cdc.jpg","text":"TemporaryFile(/tmp/multipartBody8189956893361063805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098075299,"filename":"image_19022025_19_27_36_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/38126086e5f4ced8d796066cd2967456.jpg","text":"TemporaryFile(/tmp/multipartBody7858543972188009407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098075299,"filename":"image_19022025_19_27_56_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338709269","file1":"1338709268","file0":"1338709263","file4":"1338709292","file5":"1338709293","file3":"1338709273"},"map_files_photo_id_array":[{"photo_id":"1338709293","filename":"file5"},{"photo_id":"1338709269","filename":"file2"},{"photo_id":"1338709292","filename":"file4"},{"photo_id":"1338709268","filename":"file1"},{"photo_id":"1338709263","filename":"file0"},{"photo_id":"1338709273","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338709293":["hashtag1","hashtag2"]},{"1338709269":["hashtag1","hashtag2"]},{"1338709263":["hashtag1","hashtag2"]},{"1338709292":["hashtag1","hashtag2"]},{"1338709268":["hashtag1","hashtag2"]},{"1338709273":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338709293, 1338709269, 1338709263, 1338709292, 1338709268, 1338709273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83109927177429 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:34:32.041815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/30/image_19022025_19_30_36_10461.jpg', '/home/pi/Desktop/images/19022025/19/30/image_19022025_19_30_46_9339.jpg', '/home/pi/Desktop/images/19022025/19/30/image_19022025_19_30_56_10356.jpg', '/home/pi/Desktop/images/19022025/19/31/image_19022025_19_31_36_9399.jpg', '/home/pi/Desktop/images/19022025/19/31/image_19022025_19_31_46_10496.jpg', '/home/pi/Desktop/images/19022025/19/32/image_19022025_19_32_16_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/30/image_19022025_19_30_36_10461.jpg
/home/pi/Desktop/images/19022025/19/30/image_19022025_19_30_46_9339.jpg
/home/pi/Desktop/images/19022025/19/30/image_19022025_19_30_56_10356.jpg
/home/pi/Desktop/images/19022025/19/31/image_19022025_19_31_36_9399.jpg
/home/pi/Desktop/images/19022025/19/31/image_19022025_19_31_46_10496.jpg
/home/pi/Desktop/images/19022025/19/32/image_19022025_19_32_16_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338709324","1338709318","1338709316","1338709319","1338709310","1338709313"],"photo_ids_order":["1338709310","1338709313","1338709316","1338709318","1338709319","1338709324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/71ab43fd1f1e437dc187bbf50b54eb78.jpg","text":"TemporaryFile(/tmp/multipartBody8104645067781807609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098134684,"filename":"image_19022025_19_32_16_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf81dce62c01e3c4eed3bb7cdc757830.jpg","text":"TemporaryFile(/tmp/multipartBody3611034608900475490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098134684,"filename":"image_19022025_19_31_36_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5e5dbc6c8690d1049b263cc42bdb6d69.jpg","text":"TemporaryFile(/tmp/multipartBody6358629563130119450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098134684,"filename":"image_19022025_19_30_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c2551bbd958a91ddae4688aaca17e914.jpg","text":"TemporaryFile(/tmp/multipartBody5362989418237295413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098134684,"filename":"image_19022025_19_31_46_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b4d73a6ee6fc305e7b2db183ffb48267.jpg","text":"TemporaryFile(/tmp/multipartBody4693671998986655840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098134684,"filename":"image_19022025_19_30_36_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d6d249829f21c51e6c42cbf096eec60.jpg","text":"TemporaryFile(/tmp/multipartBody1541133429767475212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098134684,"filename":"image_19022025_19_30_46_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338709316","file1":"1338709313","file0":"1338709310","file4":"1338709319","file5":"1338709324","file3":"1338709318"},"map_files_photo_id_array":[{"photo_id":"1338709324","filename":"file5"},{"photo_id":"1338709316","filename":"file2"},{"photo_id":"1338709319","filename":"file4"},{"photo_id":"1338709313","filename":"file1"},{"photo_id":"1338709310","filename":"file0"},{"photo_id":"1338709318","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338709324":["hashtag1","hashtag2"]},{"1338709318":["hashtag1","hashtag2"]},{"1338709316":["hashtag1","hashtag2"]},{"1338709319":["hashtag1","hashtag2"]},{"1338709310":["hashtag1","hashtag2"]},{"1338709313":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338709324, 1338709318, 1338709316, 1338709319, 1338709310, 1338709313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40403747558594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:35:32.284705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/32/image_19022025_19_32_27_10416.jpg', '/home/pi/Desktop/images/19022025/19/33/image_19022025_19_33_56_9316.jpg', '/home/pi/Desktop/images/19022025/19/33/image_19022025_19_34_06_10321.jpg', '/home/pi/Desktop/images/19022025/19/34/image_19022025_19_34_16_10378.jpg', '/home/pi/Desktop/images/19022025/19/34/image_19022025_19_34_26_9345.jpg', '/home/pi/Desktop/images/19022025/19/34/image_19022025_19_34_36_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/32/image_19022025_19_32_27_10416.jpg
/home/pi/Desktop/images/19022025/19/33/image_19022025_19_33_56_9316.jpg
/home/pi/Desktop/images/19022025/19/33/image_19022025_19_34_06_10321.jpg
/home/pi/Desktop/images/19022025/19/34/image_19022025_19_34_16_10378.jpg
/home/pi/Desktop/images/19022025/19/34/image_19022025_19_34_26_9345.jpg
/home/pi/Desktop/images/19022025/19/34/image_19022025_19_34_36_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338709356","1338709365","1338709367","1338709361","1338709363","1338709351"],"photo_ids_order":["1338709351","1338709356","1338709361","1338709363","1338709365","1338709367"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/efb830731255c9d90866d87097e2fb6b.jpg","text":"TemporaryFile(/tmp/multipartBody7400517702519017422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098194320,"filename":"image_19022025_19_33_56_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4881274f4086c4004e24be3520c2fae8.jpg","text":"TemporaryFile(/tmp/multipartBody8578270370992083050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098194320,"filename":"image_19022025_19_34_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/88e14d2590dfa7cb4a28b51499edb92c.jpg","text":"TemporaryFile(/tmp/multipartBody6605864787898146107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098194320,"filename":"image_19022025_19_34_36_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6690b34dfac2e48ece7fb9fb76e0168c.jpg","text":"TemporaryFile(/tmp/multipartBody955561316235808048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098194320,"filename":"image_19022025_19_34_06_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/550a537a97842d6c01c50f579130896c.jpg","text":"TemporaryFile(/tmp/multipartBody618960987955522357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098194320,"filename":"image_19022025_19_34_16_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4370aa775d87946e586b0ebbf5452db8.jpg","text":"TemporaryFile(/tmp/multipartBody3771282691666302660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098194320,"filename":"image_19022025_19_32_27_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338709361","file1":"1338709356","file0":"1338709351","file4":"1338709365","file5":"1338709367","file3":"1338709363"},"map_files_photo_id_array":[{"photo_id":"1338709367","filename":"file5"},{"photo_id":"1338709361","filename":"file2"},{"photo_id":"1338709365","filename":"file4"},{"photo_id":"1338709356","filename":"file1"},{"photo_id":"1338709351","filename":"file0"},{"photo_id":"1338709363","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338709356":["hashtag1","hashtag2"]},{"1338709365":["hashtag1","hashtag2"]},{"1338709367":["hashtag1","hashtag2"]},{"1338709361":["hashtag1","hashtag2"]},{"1338709363":["hashtag1","hashtag2"]},{"1338709351":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338709356, 1338709365, 1338709367, 1338709361, 1338709363, 1338709351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.206456422805786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:36:32.597757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/34/image_19022025_19_34_46_10384.jpg', '/home/pi/Desktop/images/19022025/19/34/image_19022025_19_35_06_10333.jpg', '/home/pi/Desktop/images/19022025/19/35/image_19022025_19_35_17_10390.jpg', '/home/pi/Desktop/images/19022025/19/35/image_19022025_19_36_06_10404.jpg', '/home/pi/Desktop/images/19022025/19/36/image_19022025_19_36_16_9326.jpg', '/home/pi/Desktop/images/19022025/19/36/image_19022025_19_37_07_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/34/image_19022025_19_34_46_10384.jpg
/home/pi/Desktop/images/19022025/19/34/image_19022025_19_35_06_10333.jpg
/home/pi/Desktop/images/19022025/19/35/image_19022025_19_35_17_10390.jpg
/home/pi/Desktop/images/19022025/19/35/image_19022025_19_36_06_10404.jpg
/home/pi/Desktop/images/19022025/19/36/image_19022025_19_36_16_9326.jpg
/home/pi/Desktop/images/19022025/19/36/image_19022025_19_37_07_10410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338709398","1338709382","1338709394","1338709400","1338709387","1338709390"],"photo_ids_order":["1338709382","1338709387","1338709390","1338709394","1338709398","1338709400"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5054032265843a1542b07db5eac3ca02.jpg","text":"TemporaryFile(/tmp/multipartBody3692063285105945356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098254624,"filename":"image_19022025_19_36_16_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0048ce50173a604a064a18998a00190b.jpg","text":"TemporaryFile(/tmp/multipartBody7451052913892484107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098254624,"filename":"image_19022025_19_34_46_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e3d997be87280aa67f7c6aa65d46e14f.jpg","text":"TemporaryFile(/tmp/multipartBody8260383756897671030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098254624,"filename":"image_19022025_19_36_06_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bb447e166b93fee59d308c628f710a73.jpg","text":"TemporaryFile(/tmp/multipartBody1387050086714667350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098254624,"filename":"image_19022025_19_37_07_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b20414a5208d8c1c32d8eb7e15dbb9ab.jpg","text":"TemporaryFile(/tmp/multipartBody2459216107195180283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098254624,"filename":"image_19022025_19_35_06_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/138cd792e32eeb7eab0dab79d725ab7b.jpg","text":"TemporaryFile(/tmp/multipartBody8729063371393347926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098254624,"filename":"image_19022025_19_35_17_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338709390","file1":"1338709387","file0":"1338709382","file4":"1338709398","file5":"1338709400","file3":"1338709394"},"map_files_photo_id_array":[{"photo_id":"1338709400","filename":"file5"},{"photo_id":"1338709390","filename":"file2"},{"photo_id":"1338709398","filename":"file4"},{"photo_id":"1338709387","filename":"file1"},{"photo_id":"1338709382","filename":"file0"},{"photo_id":"1338709394","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338709398":["hashtag1","hashtag2"]},{"1338709382":["hashtag1","hashtag2"]},{"1338709394":["hashtag1","hashtag2"]},{"1338709400":["hashtag1","hashtag2"]},{"1338709387":["hashtag1","hashtag2"]},{"1338709390":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338709398, 1338709382, 1338709394, 1338709400, 1338709387, 1338709390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.58216190338135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:37:32.783545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/37/image_19022025_19_37_26_10352.jpg', '/home/pi/Desktop/images/19022025/19/37/image_19022025_19_37_46_9341.jpg', '/home/pi/Desktop/images/19022025/19/37/image_19022025_19_37_56_10343.jpg', '/home/pi/Desktop/images/19022025/19/38/image_19022025_19_38_46_10359.jpg', '/home/pi/Desktop/images/19022025/19/38/image_19022025_19_38_56_10353.jpg', '/home/pi/Desktop/images/19022025/19/39/image_19022025_19_39_16_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/37/image_19022025_19_37_26_10352.jpg
/home/pi/Desktop/images/19022025/19/37/image_19022025_19_37_46_9341.jpg
/home/pi/Desktop/images/19022025/19/37/image_19022025_19_37_56_10343.jpg
/home/pi/Desktop/images/19022025/19/38/image_19022025_19_38_46_10359.jpg
/home/pi/Desktop/images/19022025/19/38/image_19022025_19_38_56_10353.jpg
/home/pi/Desktop/images/19022025/19/39/image_19022025_19_39_16_10410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338709429","1338709434","1338709436","1338709423","1338709432","1338709426"],"photo_ids_order":["1338709423","1338709426","1338709429","1338709432","1338709434","1338709436"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/915fdcb63e76b4254e6f422beed12452.jpg","text":"TemporaryFile(/tmp/multipartBody6900131938680423682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098314807,"filename":"image_19022025_19_37_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c28d71b22870767ae4dc1cf785b7e78a.jpg","text":"TemporaryFile(/tmp/multipartBody4904548068660505984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098314807,"filename":"image_19022025_19_38_56_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f845fbcd30aa5febfbe987fc82f1a7f4.jpg","text":"TemporaryFile(/tmp/multipartBody2449092031708682999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098314807,"filename":"image_19022025_19_39_16_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/874a2869e6d89b07901857fba8d689e3.jpg","text":"TemporaryFile(/tmp/multipartBody3478648203924688486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098314807,"filename":"image_19022025_19_37_26_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b7ec6eecb4a84b399c5a3e86c83de62.jpg","text":"TemporaryFile(/tmp/multipartBody4972379288973353600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098314807,"filename":"image_19022025_19_38_46_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c865f39d0b00d561ee539025c751c09.jpg","text":"TemporaryFile(/tmp/multipartBody128744376159292904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098314807,"filename":"image_19022025_19_37_46_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338709429","file1":"1338709426","file0":"1338709423","file4":"1338709434","file5":"1338709436","file3":"1338709432"},"map_files_photo_id_array":[{"photo_id":"1338709436","filename":"file5"},{"photo_id":"1338709429","filename":"file2"},{"photo_id":"1338709434","filename":"file4"},{"photo_id":"1338709426","filename":"file1"},{"photo_id":"1338709423","filename":"file0"},{"photo_id":"1338709432","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338709429":["hashtag1","hashtag2"]},{"1338709434":["hashtag1","hashtag2"]},{"1338709436":["hashtag1","hashtag2"]},{"1338709423":["hashtag1","hashtag2"]},{"1338709432":["hashtag1","hashtag2"]},{"1338709426":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338709429, 1338709434, 1338709436, 1338709423, 1338709432, 1338709426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98916530609131 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:38:32.966808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/39/image_19022025_19_39_46_10347.jpg', '/home/pi/Desktop/images/19022025/19/39/image_19022025_19_39_56_9330.jpg', '/home/pi/Desktop/images/19022025/19/41/image_19022025_19_41_17_10340.jpg', '/home/pi/Desktop/images/19022025/19/41/image_19022025_19_41_26_9343.jpg', '/home/pi/Desktop/images/19022025/19/42/image_19022025_19_42_56_10347.jpg', '/home/pi/Desktop/images/19022025/19/42/image_19022025_19_43_07_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/39/image_19022025_19_39_46_10347.jpg
/home/pi/Desktop/images/19022025/19/39/image_19022025_19_39_56_9330.jpg
/home/pi/Desktop/images/19022025/19/41/image_19022025_19_41_17_10340.jpg
/home/pi/Desktop/images/19022025/19/41/image_19022025_19_41_26_9343.jpg
/home/pi/Desktop/images/19022025/19/42/image_19022025_19_42_56_10347.jpg
/home/pi/Desktop/images/19022025/19/42/image_19022025_19_43_07_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338709551","1338709548","1338709542","1338709550","1338709537","1338709546"],"photo_ids_order":["1338709537","1338709542","1338709546","1338709548","1338709550","1338709551"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5eab592a0fb870ddd716361f56b468de.jpg","text":"TemporaryFile(/tmp/multipartBody4093751405852583570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098375026,"filename":"image_19022025_19_43_07_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5506247380b5ebf384616da256827870.jpg","text":"TemporaryFile(/tmp/multipartBody9213785693892919895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098375026,"filename":"image_19022025_19_41_26_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/114b0f60b37a04b3e5ba06a50a128f04.jpg","text":"TemporaryFile(/tmp/multipartBody5631340013874260685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098375026,"filename":"image_19022025_19_39_56_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6bc3fc5474b59be0c4a0a9f8b5103356.jpg","text":"TemporaryFile(/tmp/multipartBody7170513385777326911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098375026,"filename":"image_19022025_19_42_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c38786fef5aa178ab951ad4a67e8cb0.jpg","text":"TemporaryFile(/tmp/multipartBody7199607462871747957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098375026,"filename":"image_19022025_19_39_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/33af4cd249e70b5e1cfe79c4862103c0.jpg","text":"TemporaryFile(/tmp/multipartBody7242187431978206540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098375026,"filename":"image_19022025_19_41_17_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338709546","file1":"1338709542","file0":"1338709537","file4":"1338709550","file5":"1338709551","file3":"1338709548"},"map_files_photo_id_array":[{"photo_id":"1338709551","filename":"file5"},{"photo_id":"1338709546","filename":"file2"},{"photo_id":"1338709550","filename":"file4"},{"photo_id":"1338709542","filename":"file1"},{"photo_id":"1338709537","filename":"file0"},{"photo_id":"1338709548","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338709551":["hashtag1","hashtag2"]},{"1338709548":["hashtag1","hashtag2"]},{"1338709542":["hashtag1","hashtag2"]},{"1338709550":["hashtag1","hashtag2"]},{"1338709537":["hashtag1","hashtag2"]},{"1338709546":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338709551, 1338709548, 1338709542, 1338709550, 1338709537, 1338709546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.69611144065857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:39:33.172793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/43/image_19022025_19_43_26_10332.jpg', '/home/pi/Desktop/images/19022025/19/43/image_19022025_19_43_37_10377.jpg', '/home/pi/Desktop/images/19022025/19/44/image_19022025_19_44_46_10362.jpg', '/home/pi/Desktop/images/19022025/19/44/image_19022025_19_45_06_9382.jpg', '/home/pi/Desktop/images/19022025/19/45/image_19022025_19_45_16_10351.jpg', '/home/pi/Desktop/images/19022025/19/45/image_19022025_19_45_26_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/43/image_19022025_19_43_26_10332.jpg
/home/pi/Desktop/images/19022025/19/43/image_19022025_19_43_37_10377.jpg
/home/pi/Desktop/images/19022025/19/44/image_19022025_19_44_46_10362.jpg
/home/pi/Desktop/images/19022025/19/44/image_19022025_19_45_06_9382.jpg
/home/pi/Desktop/images/19022025/19/45/image_19022025_19_45_16_10351.jpg
/home/pi/Desktop/images/19022025/19/45/image_19022025_19_45_26_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338709578","1338709605","1338709583","1338709607","1338709585","1338709588"],"photo_ids_order":["1338709578","1338709583","1338709585","1338709588","1338709605","1338709607"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6c9a8fd584f80f97a6c1ad816b590eed.jpg","text":"TemporaryFile(/tmp/multipartBody5801484288364019427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098435223,"filename":"image_19022025_19_43_26_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dd5c94573df0eaecd2eeca88d7e44336.jpg","text":"TemporaryFile(/tmp/multipartBody4811778996809589270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098435223,"filename":"image_19022025_19_45_16_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23666f7b08b750b5aa9459808cdc694d.jpg","text":"TemporaryFile(/tmp/multipartBody8989981338557897770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098435223,"filename":"image_19022025_19_43_37_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5d719e70f2d45d76e736503ed172f865.jpg","text":"TemporaryFile(/tmp/multipartBody653631674280383642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098435223,"filename":"image_19022025_19_45_26_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87d31e1df502f1c44b7e4dbd25fac6ae.jpg","text":"TemporaryFile(/tmp/multipartBody4250303334528296936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098435223,"filename":"image_19022025_19_44_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81b303417b1355d41bce687bb0d0cb94.jpg","text":"TemporaryFile(/tmp/multipartBody1248940036826229272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098435223,"filename":"image_19022025_19_45_06_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338709585","file1":"1338709583","file0":"1338709578","file4":"1338709605","file5":"1338709607","file3":"1338709588"},"map_files_photo_id_array":[{"photo_id":"1338709607","filename":"file5"},{"photo_id":"1338709585","filename":"file2"},{"photo_id":"1338709605","filename":"file4"},{"photo_id":"1338709583","filename":"file1"},{"photo_id":"1338709578","filename":"file0"},{"photo_id":"1338709588","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338709578":["hashtag1","hashtag2"]},{"1338709605":["hashtag1","hashtag2"]},{"1338709583":["hashtag1","hashtag2"]},{"1338709607":["hashtag1","hashtag2"]},{"1338709585":["hashtag1","hashtag2"]},{"1338709588":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338709578, 1338709605, 1338709583, 1338709607, 1338709585, 1338709588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79601860046387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:40:32.141941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/45/image_19022025_19_45_36_10390.jpg', '/home/pi/Desktop/images/19022025/19/45/image_19022025_19_45_46_10387.jpg', '/home/pi/Desktop/images/19022025/19/45/image_19022025_19_45_56_9332.jpg', '/home/pi/Desktop/images/19022025/19/45/image_19022025_19_46_06_10335.jpg', '/home/pi/Desktop/images/19022025/19/46/image_19022025_19_46_17_10398.jpg', '/home/pi/Desktop/images/19022025/19/46/image_19022025_19_46_26_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/45/image_19022025_19_45_36_10390.jpg
/home/pi/Desktop/images/19022025/19/45/image_19022025_19_45_46_10387.jpg
/home/pi/Desktop/images/19022025/19/45/image_19022025_19_45_56_9332.jpg
/home/pi/Desktop/images/19022025/19/45/image_19022025_19_46_06_10335.jpg
/home/pi/Desktop/images/19022025/19/46/image_19022025_19_46_17_10398.jpg
/home/pi/Desktop/images/19022025/19/46/image_19022025_19_46_26_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338710350","1338710602","1338710434","1338710690","1338710523","1338710246"],"photo_ids_order":["1338710246","1338710350","1338710434","1338710523","1338710602","1338710690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f57b87b0a33eac6613cda23a085d1c4.jpg","text":"TemporaryFile(/tmp/multipartBody5547075092690334756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098494194,"filename":"image_19022025_19_45_46_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c6a1d463f2fa7494ced088d299f0725.jpg","text":"TemporaryFile(/tmp/multipartBody6690939478693847322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098494194,"filename":"image_19022025_19_46_17_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/654614d3d1da42bd4e7ec3609e6662a2.jpg","text":"TemporaryFile(/tmp/multipartBody7529296222846129740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098494194,"filename":"image_19022025_19_45_56_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/76cf9010882af666fdaa7509c2806208.jpg","text":"TemporaryFile(/tmp/multipartBody4436792137873228050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098494194,"filename":"image_19022025_19_46_26_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b9d9e822a233ab484e1ff1ad75d1a571.jpg","text":"TemporaryFile(/tmp/multipartBody4880554117524466638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098494194,"filename":"image_19022025_19_46_06_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2bb3a757fab57fde1674ab76f1ee64f.jpg","text":"TemporaryFile(/tmp/multipartBody8340491710178464896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098494194,"filename":"image_19022025_19_45_36_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338710434","file1":"1338710350","file0":"1338710246","file4":"1338710602","file5":"1338710690","file3":"1338710523"},"map_files_photo_id_array":[{"photo_id":"1338710690","filename":"file5"},{"photo_id":"1338710434","filename":"file2"},{"photo_id":"1338710602","filename":"file4"},{"photo_id":"1338710350","filename":"file1"},{"photo_id":"1338710246","filename":"file0"},{"photo_id":"1338710523","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338710350":["hashtag1","hashtag2"]},{"1338710602":["hashtag1","hashtag2"]},{"1338710434":["hashtag1","hashtag2"]},{"1338710690":["hashtag1","hashtag2"]},{"1338710523":["hashtag1","hashtag2"]},{"1338710246":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338710350, 1338710602, 1338710434, 1338710690, 1338710523, 1338710246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95375323295593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:41:32.342909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/46/image_19022025_19_46_46_9423.jpg', '/home/pi/Desktop/images/19022025/19/46/image_19022025_19_47_06_10395.jpg', '/home/pi/Desktop/images/19022025/19/48/image_19022025_19_48_16_10328.jpg', '/home/pi/Desktop/images/19022025/19/48/image_19022025_19_48_46_10343.jpg', '/home/pi/Desktop/images/19022025/19/48/image_19022025_19_49_06_10342.jpg', '/home/pi/Desktop/images/19022025/19/49/image_19022025_19_49_26_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/46/image_19022025_19_46_46_9423.jpg
/home/pi/Desktop/images/19022025/19/46/image_19022025_19_47_06_10395.jpg
/home/pi/Desktop/images/19022025/19/48/image_19022025_19_48_16_10328.jpg
/home/pi/Desktop/images/19022025/19/48/image_19022025_19_48_46_10343.jpg
/home/pi/Desktop/images/19022025/19/48/image_19022025_19_49_06_10342.jpg
/home/pi/Desktop/images/19022025/19/49/image_19022025_19_49_26_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338711081","1338711089","1338711077","1338711074","1338711088","1338711085"],"photo_ids_order":["1338711074","1338711077","1338711081","1338711085","1338711088","1338711089"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ea8f91a0eb0b318a411080558503ef48.jpg","text":"TemporaryFile(/tmp/multipartBody1583129169613610592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098554380,"filename":"image_19022025_19_48_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1af6d2089ba33ae150340af7adef54d6.jpg","text":"TemporaryFile(/tmp/multipartBody1676460004497015271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098554380,"filename":"image_19022025_19_49_26_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ed01fce9390cdff815dd1cd10ab32374.jpg","text":"TemporaryFile(/tmp/multipartBody9006510651435752017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098554380,"filename":"image_19022025_19_47_06_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c238480d6c65e4874633cec93ef6b196.jpg","text":"TemporaryFile(/tmp/multipartBody7624260297044322565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098554380,"filename":"image_19022025_19_46_46_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d5e4222895920e10ca77168ae641818b.jpg","text":"TemporaryFile(/tmp/multipartBody9216277014717595826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098554380,"filename":"image_19022025_19_49_06_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/093141ee9647d861a75b2ce1349d94b7.jpg","text":"TemporaryFile(/tmp/multipartBody6393349932286021572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098554380,"filename":"image_19022025_19_48_46_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338711081","file1":"1338711077","file0":"1338711074","file4":"1338711088","file5":"1338711089","file3":"1338711085"},"map_files_photo_id_array":[{"photo_id":"1338711089","filename":"file5"},{"photo_id":"1338711081","filename":"file2"},{"photo_id":"1338711088","filename":"file4"},{"photo_id":"1338711077","filename":"file1"},{"photo_id":"1338711074","filename":"file0"},{"photo_id":"1338711085","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338711081":["hashtag1","hashtag2"]},{"1338711089":["hashtag1","hashtag2"]},{"1338711077":["hashtag1","hashtag2"]},{"1338711074":["hashtag1","hashtag2"]},{"1338711088":["hashtag1","hashtag2"]},{"1338711085":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338711081, 1338711089, 1338711077, 1338711074, 1338711088, 1338711085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.194899559020996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:42:32.544854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/49/image_19022025_19_49_36_10324.jpg', '/home/pi/Desktop/images/19022025/19/49/image_19022025_19_49_46_10378.jpg', '/home/pi/Desktop/images/19022025/19/49/image_19022025_19_49_56_9399.jpg', '/home/pi/Desktop/images/19022025/19/49/image_19022025_19_50_06_10323.jpg', '/home/pi/Desktop/images/19022025/19/50/image_19022025_19_50_17_10354.jpg', '/home/pi/Desktop/images/19022025/19/50/image_19022025_19_50_26_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/49/image_19022025_19_49_36_10324.jpg
/home/pi/Desktop/images/19022025/19/49/image_19022025_19_49_46_10378.jpg
/home/pi/Desktop/images/19022025/19/49/image_19022025_19_49_56_9399.jpg
/home/pi/Desktop/images/19022025/19/49/image_19022025_19_50_06_10323.jpg
/home/pi/Desktop/images/19022025/19/50/image_19022025_19_50_17_10354.jpg
/home/pi/Desktop/images/19022025/19/50/image_19022025_19_50_26_9410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338711177","1338711176","1338711167","1338711172","1338711160","1338711163"],"photo_ids_order":["1338711160","1338711163","1338711167","1338711172","1338711176","1338711177"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/71caa2247bc0fb0fb93421b62de6f69c.jpg","text":"TemporaryFile(/tmp/multipartBody6735787415519352431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098614594,"filename":"image_19022025_19_50_26_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d7c9b2a316d66c64d5354f417d578c4b.jpg","text":"TemporaryFile(/tmp/multipartBody6962463234625144474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098614594,"filename":"image_19022025_19_50_17_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/14d92b8d4d0fa48dac9fba7487293bd5.jpg","text":"TemporaryFile(/tmp/multipartBody5151109458995856222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098614594,"filename":"image_19022025_19_49_56_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4badd16f6afb018b138c97f0d2ea9003.jpg","text":"TemporaryFile(/tmp/multipartBody5663756584896312316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098614594,"filename":"image_19022025_19_50_06_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ecea2778fb54c88cc10eb0542676757.jpg","text":"TemporaryFile(/tmp/multipartBody2613490232015181317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098614594,"filename":"image_19022025_19_49_36_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9a3b1c09b3c53d3e25eb13bb5f7357ca.jpg","text":"TemporaryFile(/tmp/multipartBody6205776651758787819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098614594,"filename":"image_19022025_19_49_46_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338711167","file1":"1338711163","file0":"1338711160","file4":"1338711176","file5":"1338711177","file3":"1338711172"},"map_files_photo_id_array":[{"photo_id":"1338711177","filename":"file5"},{"photo_id":"1338711167","filename":"file2"},{"photo_id":"1338711176","filename":"file4"},{"photo_id":"1338711163","filename":"file1"},{"photo_id":"1338711160","filename":"file0"},{"photo_id":"1338711172","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338711177":["hashtag1","hashtag2"]},{"1338711176":["hashtag1","hashtag2"]},{"1338711167":["hashtag1","hashtag2"]},{"1338711172":["hashtag1","hashtag2"]},{"1338711160":["hashtag1","hashtag2"]},{"1338711163":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338711177, 1338711176, 1338711167, 1338711172, 1338711160, 1338711163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78428792953491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:43:32.922869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/50/image_19022025_19_50_36_10433.jpg', '/home/pi/Desktop/images/19022025/19/50/image_19022025_19_50_56_10344.jpg', '/home/pi/Desktop/images/19022025/19/51/image_19022025_19_51_26_10348.jpg', '/home/pi/Desktop/images/19022025/19/55/image_19022025_19_55_56_10400.jpg', '/home/pi/Desktop/images/19022025/19/55/image_19022025_19_56_06_9400.jpg', '/home/pi/Desktop/images/19022025/19/56/image_19022025_19_56_36_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/50/image_19022025_19_50_36_10433.jpg
/home/pi/Desktop/images/19022025/19/50/image_19022025_19_50_56_10344.jpg
/home/pi/Desktop/images/19022025/19/51/image_19022025_19_51_26_10348.jpg
/home/pi/Desktop/images/19022025/19/55/image_19022025_19_55_56_10400.jpg
/home/pi/Desktop/images/19022025/19/55/image_19022025_19_56_06_9400.jpg
/home/pi/Desktop/images/19022025/19/56/image_19022025_19_56_36_9397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338711211","1338711219","1338711207","1338711200","1338711203","1338711223"],"photo_ids_order":["1338711200","1338711203","1338711207","1338711211","1338711219","1338711223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/688ef2cde90027b5f8430244c31c5a5b.jpg","text":"TemporaryFile(/tmp/multipartBody7131910255714305636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098674983,"filename":"image_19022025_19_55_56_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0283b6bdde637033940d96f252461578.jpg","text":"TemporaryFile(/tmp/multipartBody8810715605436643465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098674983,"filename":"image_19022025_19_56_06_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a14a7388277b820170fac236871cda9.jpg","text":"TemporaryFile(/tmp/multipartBody5991550120034226737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098674983,"filename":"image_19022025_19_51_26_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ae2446bbb20b20ac853f69470128c63.jpg","text":"TemporaryFile(/tmp/multipartBody8899527636514941554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098674983,"filename":"image_19022025_19_50_36_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/36d2323bb4d0acac3bc0be35bbb9ff39.jpg","text":"TemporaryFile(/tmp/multipartBody4539157692215809195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098674983,"filename":"image_19022025_19_50_56_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32726545abc71f9d4d0638e0be33d4ce.jpg","text":"TemporaryFile(/tmp/multipartBody1151536547115911937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098674983,"filename":"image_19022025_19_56_36_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338711207","file1":"1338711203","file0":"1338711200","file4":"1338711219","file5":"1338711223","file3":"1338711211"},"map_files_photo_id_array":[{"photo_id":"1338711223","filename":"file5"},{"photo_id":"1338711207","filename":"file2"},{"photo_id":"1338711219","filename":"file4"},{"photo_id":"1338711203","filename":"file1"},{"photo_id":"1338711200","filename":"file0"},{"photo_id":"1338711211","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338711211":["hashtag1","hashtag2"]},{"1338711219":["hashtag1","hashtag2"]},{"1338711207":["hashtag1","hashtag2"]},{"1338711200":["hashtag1","hashtag2"]},{"1338711203":["hashtag1","hashtag2"]},{"1338711223":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338711211, 1338711219, 1338711207, 1338711200, 1338711203, 1338711223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.495779037475586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:44:33.048328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/56/image_19022025_19_56_46_10383.jpg', '/home/pi/Desktop/images/19022025/19/56/image_19022025_19_57_06_9364.jpg', '/home/pi/Desktop/images/19022025/19/57/image_19022025_19_57_16_10373.jpg', '/home/pi/Desktop/images/19022025/19/57/image_19022025_19_58_06_10328.jpg', '/home/pi/Desktop/images/19022025/19/58/image_19022025_19_58_16_10406.jpg', '/home/pi/Desktop/images/19022025/19/59/image_19022025_19_59_17_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/56/image_19022025_19_56_46_10383.jpg
/home/pi/Desktop/images/19022025/19/56/image_19022025_19_57_06_9364.jpg
/home/pi/Desktop/images/19022025/19/57/image_19022025_19_57_16_10373.jpg
/home/pi/Desktop/images/19022025/19/57/image_19022025_19_58_06_10328.jpg
/home/pi/Desktop/images/19022025/19/58/image_19022025_19_58_16_10406.jpg
/home/pi/Desktop/images/19022025/19/59/image_19022025_19_59_17_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338711258","1338711275","1338711272","1338711274","1338711268","1338711262"],"photo_ids_order":["1338711258","1338711262","1338711268","1338711272","1338711274","1338711275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3529377586277844d9911ca78b0c57c4.jpg","text":"TemporaryFile(/tmp/multipartBody3128547639218341648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098735111,"filename":"image_19022025_19_56_46_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3889feee3df27cdfa3fe268fae2db36c.jpg","text":"TemporaryFile(/tmp/multipartBody1553371149099432642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098735111,"filename":"image_19022025_19_59_17_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eab8dfa089f7c39a9129b8900c15fa14.jpg","text":"TemporaryFile(/tmp/multipartBody1312993497119258448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098735111,"filename":"image_19022025_19_58_06_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a767318daab63cb8648b7b4e3707e1a2.jpg","text":"TemporaryFile(/tmp/multipartBody6102441874136880942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098735111,"filename":"image_19022025_19_58_16_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6b9c1d140c630b4da7cfccd0b899b53a.jpg","text":"TemporaryFile(/tmp/multipartBody5612057782631475407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098735111,"filename":"image_19022025_19_57_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/612509b47d534d087f71fee90b607e70.jpg","text":"TemporaryFile(/tmp/multipartBody4269636855012847307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098735111,"filename":"image_19022025_19_57_06_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338711268","file1":"1338711262","file0":"1338711258","file4":"1338711274","file5":"1338711275","file3":"1338711272"},"map_files_photo_id_array":[{"photo_id":"1338711275","filename":"file5"},{"photo_id":"1338711268","filename":"file2"},{"photo_id":"1338711274","filename":"file4"},{"photo_id":"1338711262","filename":"file1"},{"photo_id":"1338711258","filename":"file0"},{"photo_id":"1338711272","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338711258":["hashtag1","hashtag2"]},{"1338711275":["hashtag1","hashtag2"]},{"1338711272":["hashtag1","hashtag2"]},{"1338711274":["hashtag1","hashtag2"]},{"1338711268":["hashtag1","hashtag2"]},{"1338711262":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338711258, 1338711275, 1338711272, 1338711274, 1338711268, 1338711262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09971213340759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:45:32.343644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/19/59/image_19022025_19_59_26_9323.jpg', '/home/pi/Desktop/images/19022025/20/01/image_19022025_20_01_14_10073.jpg', '/home/pi/Desktop/images/19022025/20/01/image_19022025_20_01_25_10453.jpg', '/home/pi/Desktop/images/19022025/20/01/image_19022025_20_02_04_9330.jpg', '/home/pi/Desktop/images/19022025/20/02/image_19022025_20_02_14_10355.jpg', '/home/pi/Desktop/images/19022025/20/02/image_19022025_20_02_55_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/19/59/image_19022025_19_59_26_9323.jpg
/home/pi/Desktop/images/19022025/20/01/image_19022025_20_01_14_10073.jpg
/home/pi/Desktop/images/19022025/20/01/image_19022025_20_01_25_10453.jpg
/home/pi/Desktop/images/19022025/20/01/image_19022025_20_02_04_9330.jpg
/home/pi/Desktop/images/19022025/20/02/image_19022025_20_02_14_10355.jpg
/home/pi/Desktop/images/19022025/20/02/image_19022025_20_02_55_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338711297","1338711309","1338711300","1338711303","1338711306","1338711308"],"photo_ids_order":["1338711297","1338711300","1338711303","1338711306","1338711308","1338711309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cdf6878a4a645d1e898f337dcaf15b3c.jpg","text":"TemporaryFile(/tmp/multipartBody4892889820923401179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098794386,"filename":"image_19022025_19_59_26_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81aa0bdceea7dee1ca297ce3c03707de.jpg","text":"TemporaryFile(/tmp/multipartBody5048111197280564955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098794386,"filename":"image_19022025_20_02_55_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/08edba58d0c1ab590fa69767073dd9ee.jpg","text":"TemporaryFile(/tmp/multipartBody4573120029777026179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098794386,"filename":"image_19022025_20_01_14_10073.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b150b32ebe7769dd4856feada0a06cfa.jpg","text":"TemporaryFile(/tmp/multipartBody2448974989759396958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098794386,"filename":"image_19022025_20_01_25_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/00297e7fb8708fb7e924a3c6bf5beebd.jpg","text":"TemporaryFile(/tmp/multipartBody1657110396960308153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098794386,"filename":"image_19022025_20_02_04_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59c9172275dc23dd29677d750c85c990.jpg","text":"TemporaryFile(/tmp/multipartBody7851012626118190780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098794386,"filename":"image_19022025_20_02_14_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338711303","file1":"1338711300","file0":"1338711297","file4":"1338711308","file5":"1338711309","file3":"1338711306"},"map_files_photo_id_array":[{"photo_id":"1338711309","filename":"file5"},{"photo_id":"1338711303","filename":"file2"},{"photo_id":"1338711308","filename":"file4"},{"photo_id":"1338711300","filename":"file1"},{"photo_id":"1338711297","filename":"file0"},{"photo_id":"1338711306","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338711297":["hashtag1","hashtag2"]},{"1338711309":["hashtag1","hashtag2"]},{"1338711300":["hashtag1","hashtag2"]},{"1338711303":["hashtag1","hashtag2"]},{"1338711306":["hashtag1","hashtag2"]},{"1338711308":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338711297, 1338711309, 1338711300, 1338711303, 1338711306, 1338711308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51124167442322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:46:32.625366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/03/image_19022025_20_03_25_10337.jpg', '/home/pi/Desktop/images/19022025/20/03/image_19022025_20_03_54_9325.jpg', '/home/pi/Desktop/images/19022025/20/03/image_19022025_20_04_04_10474.jpg', '/home/pi/Desktop/images/19022025/20/04/image_19022025_20_04_45_10357.jpg', '/home/pi/Desktop/images/19022025/20/05/image_19022025_20_05_24_9327.jpg', '/home/pi/Desktop/images/19022025/20/05/image_19022025_20_05_45_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/03/image_19022025_20_03_25_10337.jpg
/home/pi/Desktop/images/19022025/20/03/image_19022025_20_03_54_9325.jpg
/home/pi/Desktop/images/19022025/20/03/image_19022025_20_04_04_10474.jpg
/home/pi/Desktop/images/19022025/20/04/image_19022025_20_04_45_10357.jpg
/home/pi/Desktop/images/19022025/20/05/image_19022025_20_05_24_9327.jpg
/home/pi/Desktop/images/19022025/20/05/image_19022025_20_05_45_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338711418","1338711319","1338711351","1338711528","1338711321","1338711452"],"photo_ids_order":["1338711319","1338711321","1338711351","1338711418","1338711452","1338711528"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1629cdffe9412d6211ff139177814de.jpg","text":"TemporaryFile(/tmp/multipartBody6884538148660322442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098854677,"filename":"image_19022025_20_04_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/020a31c1025467791275452e890b2698.jpg","text":"TemporaryFile(/tmp/multipartBody6165654564196919198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098854677,"filename":"image_19022025_20_03_25_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6d40ac49e036718f58c7f55be96303c4.jpg","text":"TemporaryFile(/tmp/multipartBody5615259521740445835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098854677,"filename":"image_19022025_20_04_04_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f76c9f51138e02e197a4cb9e6b89c769.jpg","text":"TemporaryFile(/tmp/multipartBody4524875440307225480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098854677,"filename":"image_19022025_20_05_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3ac11d103842af7880f7ed66df23b0f.jpg","text":"TemporaryFile(/tmp/multipartBody8026359645567123322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098854677,"filename":"image_19022025_20_03_54_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c027ffaca2976ce50fdda69924ffcb11.jpg","text":"TemporaryFile(/tmp/multipartBody2587748717180008388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098854677,"filename":"image_19022025_20_05_24_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338711351","file1":"1338711321","file0":"1338711319","file4":"1338711452","file5":"1338711528","file3":"1338711418"},"map_files_photo_id_array":[{"photo_id":"1338711528","filename":"file5"},{"photo_id":"1338711351","filename":"file2"},{"photo_id":"1338711452","filename":"file4"},{"photo_id":"1338711321","filename":"file1"},{"photo_id":"1338711319","filename":"file0"},{"photo_id":"1338711418","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338711418":["hashtag1","hashtag2"]},{"1338711319":["hashtag1","hashtag2"]},{"1338711351":["hashtag1","hashtag2"]},{"1338711528":["hashtag1","hashtag2"]},{"1338711321":["hashtag1","hashtag2"]},{"1338711452":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338711418, 1338711319, 1338711351, 1338711528, 1338711321, 1338711452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30769991874695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:47:32.791563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/05/image_19022025_20_05_54_9406.jpg', '/home/pi/Desktop/images/19022025/20/07/image_19022025_20_07_45_10438.jpg', '/home/pi/Desktop/images/19022025/20/07/image_19022025_20_07_54_9344.jpg', '/home/pi/Desktop/images/19022025/20/08/image_19022025_20_08_15_10338.jpg', '/home/pi/Desktop/images/19022025/20/08/image_19022025_20_08_45_10336.jpg', '/home/pi/Desktop/images/19022025/20/08/image_19022025_20_09_05_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/05/image_19022025_20_05_54_9406.jpg
/home/pi/Desktop/images/19022025/20/07/image_19022025_20_07_45_10438.jpg
/home/pi/Desktop/images/19022025/20/07/image_19022025_20_07_54_9344.jpg
/home/pi/Desktop/images/19022025/20/08/image_19022025_20_08_15_10338.jpg
/home/pi/Desktop/images/19022025/20/08/image_19022025_20_08_45_10336.jpg
/home/pi/Desktop/images/19022025/20/08/image_19022025_20_09_05_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338711816","1338711819","1338711878","1338711821","1338711818","1338711706"],"photo_ids_order":["1338711706","1338711816","1338711818","1338711819","1338711821","1338711878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/342239df965bddb47a839903e11a8322.jpg","text":"TemporaryFile(/tmp/multipartBody700016730197440885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098914854,"filename":"image_19022025_20_07_45_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d3f713c6813d1a4fdd8a132cce534ef6.jpg","text":"TemporaryFile(/tmp/multipartBody5503848732976271383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098914854,"filename":"image_19022025_20_08_15_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/70af4a5c9453cb5cdb9b70599470fb51.jpg","text":"TemporaryFile(/tmp/multipartBody6678614779684624908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098914854,"filename":"image_19022025_20_09_05_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/781752568ec43600891864a68fe63368.jpg","text":"TemporaryFile(/tmp/multipartBody46692402852860810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098914854,"filename":"image_19022025_20_08_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6083b81dca526ee53d7a4d8d99f09471.jpg","text":"TemporaryFile(/tmp/multipartBody2311287123702299290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098914854,"filename":"image_19022025_20_07_54_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/54c78fb8ef50785603dfb34926759947.jpg","text":"TemporaryFile(/tmp/multipartBody1474177428148968124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098914854,"filename":"image_19022025_20_05_54_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338711818","file1":"1338711816","file0":"1338711706","file4":"1338711821","file5":"1338711878","file3":"1338711819"},"map_files_photo_id_array":[{"photo_id":"1338711878","filename":"file5"},{"photo_id":"1338711818","filename":"file2"},{"photo_id":"1338711821","filename":"file4"},{"photo_id":"1338711816","filename":"file1"},{"photo_id":"1338711706","filename":"file0"},{"photo_id":"1338711819","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338711816":["hashtag1","hashtag2"]},{"1338711819":["hashtag1","hashtag2"]},{"1338711878":["hashtag1","hashtag2"]},{"1338711821":["hashtag1","hashtag2"]},{"1338711818":["hashtag1","hashtag2"]},{"1338711706":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338711816, 1338711819, 1338711878, 1338711821, 1338711818, 1338711706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77771544456482 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:48:32.965978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/09/image_19022025_20_09_15_10330.jpg', '/home/pi/Desktop/images/19022025/20/09/image_19022025_20_09_24_9514.jpg', '/home/pi/Desktop/images/19022025/20/09/image_19022025_20_09_44_9355.jpg', '/home/pi/Desktop/images/19022025/20/10/image_19022025_20_10_14_9307.jpg', '/home/pi/Desktop/images/19022025/20/10/image_19022025_20_10_35_10343.jpg', '/home/pi/Desktop/images/19022025/20/10/image_19022025_20_11_05_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/09/image_19022025_20_09_15_10330.jpg
/home/pi/Desktop/images/19022025/20/09/image_19022025_20_09_24_9514.jpg
/home/pi/Desktop/images/19022025/20/09/image_19022025_20_09_44_9355.jpg
/home/pi/Desktop/images/19022025/20/10/image_19022025_20_10_14_9307.jpg
/home/pi/Desktop/images/19022025/20/10/image_19022025_20_10_35_10343.jpg
/home/pi/Desktop/images/19022025/20/10/image_19022025_20_11_05_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338711981","1338711978","1338711975","1338711954","1338711965","1338711970"],"photo_ids_order":["1338711954","1338711965","1338711970","1338711975","1338711978","1338711981"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/999d1139a3b49539b75167102e9b471c.jpg","text":"TemporaryFile(/tmp/multipartBody218787061322526824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098975003,"filename":"image_19022025_20_11_05_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/288e4b0c7512d408002c416ae4e32848.jpg","text":"TemporaryFile(/tmp/multipartBody8389448363370301590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098975003,"filename":"image_19022025_20_10_35_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8646fbb5c110ad610d3826360379b8e8.jpg","text":"TemporaryFile(/tmp/multipartBody3495056826485412153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098975003,"filename":"image_19022025_20_10_14_9307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0ac3a121464a835e5d3e61ae855b67d0.jpg","text":"TemporaryFile(/tmp/multipartBody6256820382994041486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098975003,"filename":"image_19022025_20_09_15_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0d8b36aa8295eef9e6d1ee24b475ccb9.jpg","text":"TemporaryFile(/tmp/multipartBody2953209756165721548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098975003,"filename":"image_19022025_20_09_24_9514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/941088de6f135e868ca088deb24ffee6.jpg","text":"TemporaryFile(/tmp/multipartBody7743761376638388680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740098975003,"filename":"image_19022025_20_09_44_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338711970","file1":"1338711965","file0":"1338711954","file4":"1338711978","file5":"1338711981","file3":"1338711975"},"map_files_photo_id_array":[{"photo_id":"1338711981","filename":"file5"},{"photo_id":"1338711970","filename":"file2"},{"photo_id":"1338711978","filename":"file4"},{"photo_id":"1338711965","filename":"file1"},{"photo_id":"1338711954","filename":"file0"},{"photo_id":"1338711975","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338711981":["hashtag1","hashtag2"]},{"1338711978":["hashtag1","hashtag2"]},{"1338711975":["hashtag1","hashtag2"]},{"1338711954":["hashtag1","hashtag2"]},{"1338711965":["hashtag1","hashtag2"]},{"1338711970":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338711981, 1338711978, 1338711975, 1338711954, 1338711965, 1338711970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58487892150879 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:49:33.174900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/11/image_19022025_20_11_14_9343.jpg', '/home/pi/Desktop/images/19022025/20/11/image_19022025_20_11_35_10338.jpg', '/home/pi/Desktop/images/19022025/20/11/image_19022025_20_11_55_10344.jpg', '/home/pi/Desktop/images/19022025/20/11/image_19022025_20_12_04_9333.jpg', '/home/pi/Desktop/images/19022025/20/12/image_19022025_20_12_15_10390.jpg', '/home/pi/Desktop/images/19022025/20/12/image_19022025_20_13_04_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/11/image_19022025_20_11_14_9343.jpg
/home/pi/Desktop/images/19022025/20/11/image_19022025_20_11_35_10338.jpg
/home/pi/Desktop/images/19022025/20/11/image_19022025_20_11_55_10344.jpg
/home/pi/Desktop/images/19022025/20/11/image_19022025_20_12_04_9333.jpg
/home/pi/Desktop/images/19022025/20/12/image_19022025_20_12_15_10390.jpg
/home/pi/Desktop/images/19022025/20/12/image_19022025_20_13_04_9384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338712017","1338712002","1338712010","1338712021","1338712030","1338712003"],"photo_ids_order":["1338712002","1338712003","1338712010","1338712017","1338712021","1338712030"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef7c11ceae990f8e1929e593a9f85222.jpg","text":"TemporaryFile(/tmp/multipartBody8419335396708684701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099035219,"filename":"image_19022025_20_12_04_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8149aec1224bebde0b9e60367c7ef751.jpg","text":"TemporaryFile(/tmp/multipartBody4688199629764702997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099035219,"filename":"image_19022025_20_11_14_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/da22a57bf1d8ec2ab91226b37592f79d.jpg","text":"TemporaryFile(/tmp/multipartBody7788631511970298123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099035219,"filename":"image_19022025_20_11_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ceae342cd9d991bb412f4bac773c6bf4.jpg","text":"TemporaryFile(/tmp/multipartBody8028074102691939923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099035219,"filename":"image_19022025_20_12_15_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e0d74e01e44649f4c6ae99a287e85750.jpg","text":"TemporaryFile(/tmp/multipartBody7449139665940507683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099035219,"filename":"image_19022025_20_13_04_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac8d921414183ed8ec510c6d368349c7.jpg","text":"TemporaryFile(/tmp/multipartBody418287973319345339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099035219,"filename":"image_19022025_20_11_35_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338712010","file1":"1338712003","file0":"1338712002","file4":"1338712021","file5":"1338712030","file3":"1338712017"},"map_files_photo_id_array":[{"photo_id":"1338712030","filename":"file5"},{"photo_id":"1338712010","filename":"file2"},{"photo_id":"1338712021","filename":"file4"},{"photo_id":"1338712003","filename":"file1"},{"photo_id":"1338712002","filename":"file0"},{"photo_id":"1338712017","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338712017":["hashtag1","hashtag2"]},{"1338712002":["hashtag1","hashtag2"]},{"1338712010":["hashtag1","hashtag2"]},{"1338712021":["hashtag1","hashtag2"]},{"1338712030":["hashtag1","hashtag2"]},{"1338712003":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338712017, 1338712002, 1338712010, 1338712021, 1338712030, 1338712003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.93001127243042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:50:32.194796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/13/image_19022025_20_13_15_10354.jpg', '/home/pi/Desktop/images/19022025/20/13/image_19022025_20_13_24_9348.jpg', '/home/pi/Desktop/images/19022025/20/13/image_19022025_20_13_34_10366.jpg', '/home/pi/Desktop/images/19022025/20/13/image_19022025_20_13_54_9347.jpg', '/home/pi/Desktop/images/19022025/20/13/image_19022025_20_14_04_10325.jpg', '/home/pi/Desktop/images/19022025/20/14/image_19022025_20_14_35_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/13/image_19022025_20_13_15_10354.jpg
/home/pi/Desktop/images/19022025/20/13/image_19022025_20_13_24_9348.jpg
/home/pi/Desktop/images/19022025/20/13/image_19022025_20_13_34_10366.jpg
/home/pi/Desktop/images/19022025/20/13/image_19022025_20_13_54_9347.jpg
/home/pi/Desktop/images/19022025/20/13/image_19022025_20_14_04_10325.jpg
/home/pi/Desktop/images/19022025/20/14/image_19022025_20_14_35_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338712071","1338712094","1338712067","1338712084","1338712075","1338712089"],"photo_ids_order":["1338712067","1338712071","1338712075","1338712084","1338712089","1338712094"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90faff5132d97b4a2c9b04db68b982fb.jpg","text":"TemporaryFile(/tmp/multipartBody2459274272825763931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099094238,"filename":"image_19022025_20_13_24_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f4b873c033d0aaa93eb6caa7282736fd.jpg","text":"TemporaryFile(/tmp/multipartBody7499687730629791057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099094238,"filename":"image_19022025_20_14_35_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/78a02c34380974e9b55afc46202db733.jpg","text":"TemporaryFile(/tmp/multipartBody4927123812071440653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099094238,"filename":"image_19022025_20_13_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3e1315c5318a80b4a73d2472ccdc2bca.jpg","text":"TemporaryFile(/tmp/multipartBody9212430229330133949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099094238,"filename":"image_19022025_20_13_54_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7290d7399b6396e6d5e483e0bbd1b4f.jpg","text":"TemporaryFile(/tmp/multipartBody200071719635753685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099094238,"filename":"image_19022025_20_13_34_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/769c232660b8441e42d60a3027bcbafe.jpg","text":"TemporaryFile(/tmp/multipartBody7265995382078197278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099094238,"filename":"image_19022025_20_14_04_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338712075","file1":"1338712071","file0":"1338712067","file4":"1338712089","file5":"1338712094","file3":"1338712084"},"map_files_photo_id_array":[{"photo_id":"1338712094","filename":"file5"},{"photo_id":"1338712075","filename":"file2"},{"photo_id":"1338712089","filename":"file4"},{"photo_id":"1338712071","filename":"file1"},{"photo_id":"1338712067","filename":"file0"},{"photo_id":"1338712084","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338712071":["hashtag1","hashtag2"]},{"1338712094":["hashtag1","hashtag2"]},{"1338712067":["hashtag1","hashtag2"]},{"1338712084":["hashtag1","hashtag2"]},{"1338712075":["hashtag1","hashtag2"]},{"1338712089":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338712071, 1338712094, 1338712067, 1338712084, 1338712075, 1338712089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.28942108154297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:51:32.406814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/14/image_19022025_20_14_44_9340.jpg', '/home/pi/Desktop/images/19022025/20/14/image_19022025_20_14_54_10395.jpg', '/home/pi/Desktop/images/19022025/20/14/image_19022025_20_15_05_10340.jpg', '/home/pi/Desktop/images/19022025/20/17/image_19022025_20_17_15_10346.jpg', '/home/pi/Desktop/images/19022025/20/17/image_19022025_20_17_25_10414.jpg', '/home/pi/Desktop/images/19022025/20/18/image_19022025_20_18_24_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/14/image_19022025_20_14_44_9340.jpg
/home/pi/Desktop/images/19022025/20/14/image_19022025_20_14_54_10395.jpg
/home/pi/Desktop/images/19022025/20/14/image_19022025_20_15_05_10340.jpg
/home/pi/Desktop/images/19022025/20/17/image_19022025_20_17_15_10346.jpg
/home/pi/Desktop/images/19022025/20/17/image_19022025_20_17_25_10414.jpg
/home/pi/Desktop/images/19022025/20/18/image_19022025_20_18_24_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338712256","1338712220","1338712259","1338712223","1338712267","1338712228"],"photo_ids_order":["1338712220","1338712223","1338712228","1338712256","1338712259","1338712267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/559d6f569977f89fdcd32b42b7ffa66b.jpg","text":"TemporaryFile(/tmp/multipartBody967810093867409783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099154431,"filename":"image_19022025_20_17_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b2025b8036a0796a67134eca6e70d8c.jpg","text":"TemporaryFile(/tmp/multipartBody867689346012412076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099154431,"filename":"image_19022025_20_14_44_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/880eab855745d359dda5436fe2222c45.jpg","text":"TemporaryFile(/tmp/multipartBody5208181113318947780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099154431,"filename":"image_19022025_20_17_25_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e3ebec612005af4eb9bea0ad7db449aa.jpg","text":"TemporaryFile(/tmp/multipartBody8199501270335900107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099154431,"filename":"image_19022025_20_14_54_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4cd2d72cc4ca9d06015a724a3ff41473.jpg","text":"TemporaryFile(/tmp/multipartBody6305734761698818846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099154431,"filename":"image_19022025_20_18_24_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4afec19c4cefcf4f4c2d2f34b546d9e8.jpg","text":"TemporaryFile(/tmp/multipartBody4122590201585670481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099154431,"filename":"image_19022025_20_15_05_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338712228","file1":"1338712223","file0":"1338712220","file4":"1338712259","file5":"1338712267","file3":"1338712256"},"map_files_photo_id_array":[{"photo_id":"1338712267","filename":"file5"},{"photo_id":"1338712228","filename":"file2"},{"photo_id":"1338712259","filename":"file4"},{"photo_id":"1338712223","filename":"file1"},{"photo_id":"1338712220","filename":"file0"},{"photo_id":"1338712256","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338712256":["hashtag1","hashtag2"]},{"1338712220":["hashtag1","hashtag2"]},{"1338712259":["hashtag1","hashtag2"]},{"1338712223":["hashtag1","hashtag2"]},{"1338712267":["hashtag1","hashtag2"]},{"1338712228":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338712256, 1338712220, 1338712259, 1338712223, 1338712267, 1338712228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.934837102890015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:52:32.643399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/18/image_19022025_20_18_54_9350.jpg', '/home/pi/Desktop/images/19022025/20/19/image_19022025_20_19_44_9356.jpg', '/home/pi/Desktop/images/19022025/20/19/image_19022025_20_19_55_10480.jpg', '/home/pi/Desktop/images/19022025/20/20/image_19022025_20_20_14_9347.jpg', '/home/pi/Desktop/images/19022025/20/20/image_19022025_20_20_35_10344.jpg', '/home/pi/Desktop/images/19022025/20/20/image_19022025_20_20_44_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/18/image_19022025_20_18_54_9350.jpg
/home/pi/Desktop/images/19022025/20/19/image_19022025_20_19_44_9356.jpg
/home/pi/Desktop/images/19022025/20/19/image_19022025_20_19_55_10480.jpg
/home/pi/Desktop/images/19022025/20/20/image_19022025_20_20_14_9347.jpg
/home/pi/Desktop/images/19022025/20/20/image_19022025_20_20_35_10344.jpg
/home/pi/Desktop/images/19022025/20/20/image_19022025_20_20_44_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338712305","1338712301","1338712319","1338712315","1338712318","1338712303"],"photo_ids_order":["1338712301","1338712303","1338712305","1338712315","1338712318","1338712319"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/26eef0c6708250efb0b1366710131de0.jpg","text":"TemporaryFile(/tmp/multipartBody7261117293646514929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099214701,"filename":"image_19022025_20_19_55_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f54b0408fcb58e65b2ae781195525fb2.jpg","text":"TemporaryFile(/tmp/multipartBody8854837783115820262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099214701,"filename":"image_19022025_20_18_54_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5d2dd007cd87ccba4a758686f7b6d0ac.jpg","text":"TemporaryFile(/tmp/multipartBody2335696843106717828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099214701,"filename":"image_19022025_20_20_44_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d341c119e5dd0c3c5fec1a04782d3f1.jpg","text":"TemporaryFile(/tmp/multipartBody6419971452042137178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099214701,"filename":"image_19022025_20_20_14_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aaf7ec9fb4bbdea6a81d9f5480d7afd3.jpg","text":"TemporaryFile(/tmp/multipartBody9072413311017530846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099214701,"filename":"image_19022025_20_20_35_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/95a5b2b814804ba85578e64b33804ffe.jpg","text":"TemporaryFile(/tmp/multipartBody4454547454106353940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099214701,"filename":"image_19022025_20_19_44_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338712305","file1":"1338712303","file0":"1338712301","file4":"1338712318","file5":"1338712319","file3":"1338712315"},"map_files_photo_id_array":[{"photo_id":"1338712319","filename":"file5"},{"photo_id":"1338712305","filename":"file2"},{"photo_id":"1338712318","filename":"file4"},{"photo_id":"1338712303","filename":"file1"},{"photo_id":"1338712301","filename":"file0"},{"photo_id":"1338712315","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338712305":["hashtag1","hashtag2"]},{"1338712301":["hashtag1","hashtag2"]},{"1338712319":["hashtag1","hashtag2"]},{"1338712315":["hashtag1","hashtag2"]},{"1338712318":["hashtag1","hashtag2"]},{"1338712303":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338712305, 1338712301, 1338712319, 1338712315, 1338712318, 1338712303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.388571977615356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:53:32.170164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/20/image_19022025_20_21_04_9420.jpg', '/home/pi/Desktop/images/19022025/20/21/image_19022025_20_21_25_10367.jpg', '/home/pi/Desktop/images/19022025/20/21/image_19022025_20_21_34_9412.jpg', '/home/pi/Desktop/images/19022025/20/21/image_19022025_20_21_45_10386.jpg', '/home/pi/Desktop/images/19022025/20/21/image_19022025_20_21_54_9417.jpg', '/home/pi/Desktop/images/19022025/20/21/image_19022025_20_22_04_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/20/image_19022025_20_21_04_9420.jpg
/home/pi/Desktop/images/19022025/20/21/image_19022025_20_21_25_10367.jpg
/home/pi/Desktop/images/19022025/20/21/image_19022025_20_21_34_9412.jpg
/home/pi/Desktop/images/19022025/20/21/image_19022025_20_21_45_10386.jpg
/home/pi/Desktop/images/19022025/20/21/image_19022025_20_21_54_9417.jpg
/home/pi/Desktop/images/19022025/20/21/image_19022025_20_22_04_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338712338","1338712332","1338712340","1338712334","1338712333","1338712336"],"photo_ids_order":["1338712332","1338712333","1338712334","1338712336","1338712338","1338712340"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4df3948aa95adcb204abae03e8b93ff.jpg","text":"TemporaryFile(/tmp/multipartBody3686416616227000848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099274210,"filename":"image_19022025_20_21_54_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/daba586d86880651b26690816041593b.jpg","text":"TemporaryFile(/tmp/multipartBody7224638752243999707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099274210,"filename":"image_19022025_20_21_04_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1aa8a370e9d2f65cb8d1e128367dd50.jpg","text":"TemporaryFile(/tmp/multipartBody8245610608747464720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099274210,"filename":"image_19022025_20_22_04_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e632232979c9756dfd44c66ebf16b8a5.jpg","text":"TemporaryFile(/tmp/multipartBody1354475666080546936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099274210,"filename":"image_19022025_20_21_34_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a05e86301c320c30224c1315923aa824.jpg","text":"TemporaryFile(/tmp/multipartBody6268744616263616696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099274210,"filename":"image_19022025_20_21_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/71c763c81623406baa8b63a87e627714.jpg","text":"TemporaryFile(/tmp/multipartBody5187737788299916088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099274210,"filename":"image_19022025_20_21_45_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338712334","file1":"1338712333","file0":"1338712332","file4":"1338712338","file5":"1338712340","file3":"1338712336"},"map_files_photo_id_array":[{"photo_id":"1338712340","filename":"file5"},{"photo_id":"1338712334","filename":"file2"},{"photo_id":"1338712338","filename":"file4"},{"photo_id":"1338712333","filename":"file1"},{"photo_id":"1338712332","filename":"file0"},{"photo_id":"1338712336","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338712338":["hashtag1","hashtag2"]},{"1338712332":["hashtag1","hashtag2"]},{"1338712340":["hashtag1","hashtag2"]},{"1338712334":["hashtag1","hashtag2"]},{"1338712333":["hashtag1","hashtag2"]},{"1338712336":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338712338, 1338712332, 1338712340, 1338712334, 1338712333, 1338712336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.702754735946655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:54:32.556929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/22/image_19022025_20_22_15_10429.jpg', '/home/pi/Desktop/images/19022025/20/22/image_19022025_20_22_45_10350.jpg', '/home/pi/Desktop/images/19022025/20/22/image_19022025_20_22_54_9337.jpg', '/home/pi/Desktop/images/19022025/20/23/image_19022025_20_23_35_10365.jpg', '/home/pi/Desktop/images/19022025/20/23/image_19022025_20_23_55_10394.jpg', '/home/pi/Desktop/images/19022025/20/24/image_19022025_20_24_35_10327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/22/image_19022025_20_22_15_10429.jpg
/home/pi/Desktop/images/19022025/20/22/image_19022025_20_22_45_10350.jpg
/home/pi/Desktop/images/19022025/20/22/image_19022025_20_22_54_9337.jpg
/home/pi/Desktop/images/19022025/20/23/image_19022025_20_23_35_10365.jpg
/home/pi/Desktop/images/19022025/20/23/image_19022025_20_23_55_10394.jpg
/home/pi/Desktop/images/19022025/20/24/image_19022025_20_24_35_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338712359","1338712367","1338712361","1338712430","1338712357","1338712351"],"photo_ids_order":["1338712351","1338712357","1338712359","1338712361","1338712367","1338712430"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fb8ac9c3da8524a063b14dd538012040.jpg","text":"TemporaryFile(/tmp/multipartBody4209259498396761110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099334597,"filename":"image_19022025_20_22_54_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/36505c4154c8dedade2afe7f010c960b.jpg","text":"TemporaryFile(/tmp/multipartBody6481523396151019652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099334597,"filename":"image_19022025_20_23_55_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/636b9fa55c263573f45b6fb8793cbc0d.jpg","text":"TemporaryFile(/tmp/multipartBody898514759721979858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099334597,"filename":"image_19022025_20_23_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92be5f5224ac6ab10a60c60316a14954.jpg","text":"TemporaryFile(/tmp/multipartBody1833434036169184406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099334597,"filename":"image_19022025_20_24_35_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9871520955cafc7bcadb103c2870d651.jpg","text":"TemporaryFile(/tmp/multipartBody3111920369394664780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099334597,"filename":"image_19022025_20_22_45_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/757c6181004365dde718961e35a7efa6.jpg","text":"TemporaryFile(/tmp/multipartBody5916584445233233346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099334597,"filename":"image_19022025_20_22_15_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338712359","file1":"1338712357","file0":"1338712351","file4":"1338712367","file5":"1338712430","file3":"1338712361"},"map_files_photo_id_array":[{"photo_id":"1338712430","filename":"file5"},{"photo_id":"1338712359","filename":"file2"},{"photo_id":"1338712367","filename":"file4"},{"photo_id":"1338712357","filename":"file1"},{"photo_id":"1338712351","filename":"file0"},{"photo_id":"1338712361","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338712359":["hashtag1","hashtag2"]},{"1338712367":["hashtag1","hashtag2"]},{"1338712361":["hashtag1","hashtag2"]},{"1338712430":["hashtag1","hashtag2"]},{"1338712357":["hashtag1","hashtag2"]},{"1338712351":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338712359, 1338712367, 1338712361, 1338712430, 1338712357, 1338712351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.60065460205078 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:55:32.688865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/24/image_19022025_20_24_44_9423.jpg', '/home/pi/Desktop/images/19022025/20/24/image_19022025_20_25_04_9390.jpg', '/home/pi/Desktop/images/19022025/20/25/image_19022025_20_25_54_9331.jpg', '/home/pi/Desktop/images/19022025/20/25/image_19022025_20_26_04_10412.jpg', '/home/pi/Desktop/images/19022025/20/26/image_19022025_20_26_15_10328.jpg', '/home/pi/Desktop/images/19022025/20/26/image_19022025_20_27_05_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/24/image_19022025_20_24_44_9423.jpg
/home/pi/Desktop/images/19022025/20/24/image_19022025_20_25_04_9390.jpg
/home/pi/Desktop/images/19022025/20/25/image_19022025_20_25_54_9331.jpg
/home/pi/Desktop/images/19022025/20/25/image_19022025_20_26_04_10412.jpg
/home/pi/Desktop/images/19022025/20/26/image_19022025_20_26_15_10328.jpg
/home/pi/Desktop/images/19022025/20/26/image_19022025_20_27_05_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338712635","1338712464","1338712458","1338712652","1338712532","1338712649"],"photo_ids_order":["1338712458","1338712464","1338712532","1338712635","1338712649","1338712652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/38cfc643b7bf728f08e41113a965962e.jpg","text":"TemporaryFile(/tmp/multipartBody2274573523066792836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099394734,"filename":"image_19022025_20_26_04_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/16dc7511f85b488786fdcd1f7140386a.jpg","text":"TemporaryFile(/tmp/multipartBody1025617889526708007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099394734,"filename":"image_19022025_20_25_04_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5a7672f0bb1cd60c995db2459b603838.jpg","text":"TemporaryFile(/tmp/multipartBody1745065841177797249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099394734,"filename":"image_19022025_20_24_44_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c162192e83409e1d46f1001338c36de6.jpg","text":"TemporaryFile(/tmp/multipartBody8883861069958776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099394734,"filename":"image_19022025_20_27_05_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9705587625e60bd7aafd9819747c8055.jpg","text":"TemporaryFile(/tmp/multipartBody3057806438898052381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099394734,"filename":"image_19022025_20_25_54_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/942672c050c1819de64c63cfe0e64f85.jpg","text":"TemporaryFile(/tmp/multipartBody2516914092294543506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099394734,"filename":"image_19022025_20_26_15_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338712532","file1":"1338712464","file0":"1338712458","file4":"1338712649","file5":"1338712652","file3":"1338712635"},"map_files_photo_id_array":[{"photo_id":"1338712652","filename":"file5"},{"photo_id":"1338712532","filename":"file2"},{"photo_id":"1338712649","filename":"file4"},{"photo_id":"1338712464","filename":"file1"},{"photo_id":"1338712458","filename":"file0"},{"photo_id":"1338712635","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338712635":["hashtag1","hashtag2"]},{"1338712464":["hashtag1","hashtag2"]},{"1338712458":["hashtag1","hashtag2"]},{"1338712652":["hashtag1","hashtag2"]},{"1338712532":["hashtag1","hashtag2"]},{"1338712649":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338712635, 1338712464, 1338712458, 1338712652, 1338712532, 1338712649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69229459762573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:56:32.825455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/27/image_19022025_20_27_25_10422.jpg', '/home/pi/Desktop/images/19022025/20/27/image_19022025_20_27_44_9472.jpg', '/home/pi/Desktop/images/19022025/20/28/image_19022025_20_28_25_10337.jpg', '/home/pi/Desktop/images/19022025/20/28/image_19022025_20_28_34_9411.jpg', '/home/pi/Desktop/images/19022025/20/28/image_19022025_20_28_45_10423.jpg', '/home/pi/Desktop/images/19022025/20/28/image_19022025_20_28_54_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/27/image_19022025_20_27_25_10422.jpg
/home/pi/Desktop/images/19022025/20/27/image_19022025_20_27_44_9472.jpg
/home/pi/Desktop/images/19022025/20/28/image_19022025_20_28_25_10337.jpg
/home/pi/Desktop/images/19022025/20/28/image_19022025_20_28_34_9411.jpg
/home/pi/Desktop/images/19022025/20/28/image_19022025_20_28_45_10423.jpg
/home/pi/Desktop/images/19022025/20/28/image_19022025_20_28_54_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338712722","1338712719","1338712724","1338712732","1338712726","1338712764"],"photo_ids_order":["1338712719","1338712722","1338712724","1338712726","1338712732","1338712764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df7d68700af1f9ef9869c972793457d5.jpg","text":"TemporaryFile(/tmp/multipartBody7208964504375074769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099454871,"filename":"image_19022025_20_27_44_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2c6525c0c6af8e0eee13c735abb8ffe8.jpg","text":"TemporaryFile(/tmp/multipartBody4469344701075190100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099454871,"filename":"image_19022025_20_27_25_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59b26f415570d68de7c564b3ef6cebd6.jpg","text":"TemporaryFile(/tmp/multipartBody735087922014634526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099454871,"filename":"image_19022025_20_28_25_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a2773fa62e19cbc557ea49942b3ee7de.jpg","text":"TemporaryFile(/tmp/multipartBody7774836580469230473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099454871,"filename":"image_19022025_20_28_45_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/17d008b2ef1b335b31799a12f6537e49.jpg","text":"TemporaryFile(/tmp/multipartBody325344984039114236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099454871,"filename":"image_19022025_20_28_34_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/05b87b7e02e41131499e9a3b7e6958fb.jpg","text":"TemporaryFile(/tmp/multipartBody8562529424601279619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099454871,"filename":"image_19022025_20_28_54_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338712724","file1":"1338712722","file0":"1338712719","file4":"1338712732","file5":"1338712764","file3":"1338712726"},"map_files_photo_id_array":[{"photo_id":"1338712764","filename":"file5"},{"photo_id":"1338712724","filename":"file2"},{"photo_id":"1338712732","filename":"file4"},{"photo_id":"1338712722","filename":"file1"},{"photo_id":"1338712719","filename":"file0"},{"photo_id":"1338712726","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338712722":["hashtag1","hashtag2"]},{"1338712719":["hashtag1","hashtag2"]},{"1338712724":["hashtag1","hashtag2"]},{"1338712732":["hashtag1","hashtag2"]},{"1338712726":["hashtag1","hashtag2"]},{"1338712764":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338712722, 1338712719, 1338712724, 1338712732, 1338712726, 1338712764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29916453361511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 01:57:32.932548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/30/image_19022025_20_30_35_10359.jpg', '/home/pi/Desktop/images/19022025/20/30/image_19022025_20_30_44_9452.jpg', '/home/pi/Desktop/images/19022025/20/30/image_19022025_20_30_55_10334.jpg', '/home/pi/Desktop/images/19022025/20/30/image_19022025_20_31_04_9350.jpg', '/home/pi/Desktop/images/19022025/20/31/image_19022025_20_31_14_10332.jpg', '/home/pi/Desktop/images/19022025/20/31/image_19022025_20_31_25_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/30/image_19022025_20_30_35_10359.jpg
/home/pi/Desktop/images/19022025/20/30/image_19022025_20_30_44_9452.jpg
/home/pi/Desktop/images/19022025/20/30/image_19022025_20_30_55_10334.jpg
/home/pi/Desktop/images/19022025/20/30/image_19022025_20_31_04_9350.jpg
/home/pi/Desktop/images/19022025/20/31/image_19022025_20_31_14_10332.jpg
/home/pi/Desktop/images/19022025/20/31/image_19022025_20_31_25_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 01:59:03.250644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/30/image_19022025_20_30_35_10359.jpg', '/home/pi/Desktop/images/19022025/20/30/image_19022025_20_30_44_9452.jpg', '/home/pi/Desktop/images/19022025/20/30/image_19022025_20_30_55_10334.jpg', '/home/pi/Desktop/images/19022025/20/30/image_19022025_20_31_04_9350.jpg', '/home/pi/Desktop/images/19022025/20/31/image_19022025_20_31_14_10332.jpg', '/home/pi/Desktop/images/19022025/20/31/image_19022025_20_31_25_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/30/image_19022025_20_30_35_10359.jpg
/home/pi/Desktop/images/19022025/20/30/image_19022025_20_30_44_9452.jpg
/home/pi/Desktop/images/19022025/20/30/image_19022025_20_30_55_10334.jpg
/home/pi/Desktop/images/19022025/20/30/image_19022025_20_31_04_9350.jpg
/home/pi/Desktop/images/19022025/20/31/image_19022025_20_31_14_10332.jpg
/home/pi/Desktop/images/19022025/20/31/image_19022025_20_31_25_10353.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338713112","1338713106","1338713115","1338713108","1338713104","1338713103"],"photo_ids_order":["1338713103","1338713104","1338713106","1338713108","1338713112","1338713115"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/89b61a7e2c709af3c553b3523b4cf6f2.jpg","text":"TemporaryFile(/tmp/multipartBody139850114262922505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099604512,"filename":"image_19022025_20_31_14_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e2dda57b0e3adec0cdaa58b4c674da31.jpg","text":"TemporaryFile(/tmp/multipartBody5519771556494702290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099604512,"filename":"image_19022025_20_30_55_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5299c45986ff80a33c4256fd4dd0ae5c.jpg","text":"TemporaryFile(/tmp/multipartBody2554885305587652400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099604512,"filename":"image_19022025_20_31_25_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5ec296ac6684d4fcba7112b35d0cef68.jpg","text":"TemporaryFile(/tmp/multipartBody8469047414397178735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099604512,"filename":"image_19022025_20_31_04_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/00f0edf4cf9bf656b9b7bf95dc0b1a09.jpg","text":"TemporaryFile(/tmp/multipartBody1876725044746609759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099604512,"filename":"image_19022025_20_30_44_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b5de3bd6e550e38b19cb09602134f56.jpg","text":"TemporaryFile(/tmp/multipartBody545189916145086938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099604512,"filename":"image_19022025_20_30_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338713106","file1":"1338713104","file0":"1338713103","file4":"1338713112","file5":"1338713115","file3":"1338713108"},"map_files_photo_id_array":[{"photo_id":"1338713115","filename":"file5"},{"photo_id":"1338713106","filename":"file2"},{"photo_id":"1338713112","filename":"file4"},{"photo_id":"1338713104","filename":"file1"},{"photo_id":"1338713103","filename":"file0"},{"photo_id":"1338713108","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338713112":["hashtag1","hashtag2"]},{"1338713106":["hashtag1","hashtag2"]},{"1338713115":["hashtag1","hashtag2"]},{"1338713108":["hashtag1","hashtag2"]},{"1338713104":["hashtag1","hashtag2"]},{"1338713103":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338713112, 1338713106, 1338713115, 1338713108, 1338713104, 1338713103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.85910677909851 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 01:59:42.189707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/31/image_19022025_20_31_34_9324.jpg', '/home/pi/Desktop/images/19022025/20/32/image_19022025_20_32_45_10427.jpg', '/home/pi/Desktop/images/19022025/20/32/image_19022025_20_32_54_9347.jpg', '/home/pi/Desktop/images/19022025/20/32/image_19022025_20_33_05_10326.jpg', '/home/pi/Desktop/images/19022025/20/33/image_19022025_20_33_24_9341.jpg', '/home/pi/Desktop/images/19022025/20/33/image_19022025_20_33_35_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/31/image_19022025_20_31_34_9324.jpg
/home/pi/Desktop/images/19022025/20/32/image_19022025_20_32_45_10427.jpg
/home/pi/Desktop/images/19022025/20/32/image_19022025_20_32_54_9347.jpg
/home/pi/Desktop/images/19022025/20/32/image_19022025_20_33_05_10326.jpg
/home/pi/Desktop/images/19022025/20/33/image_19022025_20_33_24_9341.jpg
/home/pi/Desktop/images/19022025/20/33/image_19022025_20_33_35_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338713127","1338713147","1338713132","1338713140","1338713122","1338713136"],"photo_ids_order":["1338713122","1338713127","1338713132","1338713136","1338713140","1338713147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b0105f463483f6ec97018b7ad30da4b7.jpg","text":"TemporaryFile(/tmp/multipartBody882139444012858302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099643392,"filename":"image_19022025_20_32_45_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5aedbd630047fba764d704b1dd79a6e2.jpg","text":"TemporaryFile(/tmp/multipartBody8671643447890814820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099643392,"filename":"image_19022025_20_33_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4963da1b5f7be5204d5c8a26d2df405c.jpg","text":"TemporaryFile(/tmp/multipartBody147614355212282219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099643392,"filename":"image_19022025_20_32_54_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7f9aff5946917089f11cad7d4bdffb22.jpg","text":"TemporaryFile(/tmp/multipartBody2329841107845102010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099643392,"filename":"image_19022025_20_33_24_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92f297ec59aefccf32a7765aee4e8217.jpg","text":"TemporaryFile(/tmp/multipartBody7938422367274754004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099643392,"filename":"image_19022025_20_31_34_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a7a8e4dd1e7968530c623112f71356b2.jpg","text":"TemporaryFile(/tmp/multipartBody4591086824115164223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099643392,"filename":"image_19022025_20_33_05_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338713132","file1":"1338713127","file0":"1338713122","file4":"1338713140","file5":"1338713147","file3":"1338713136"},"map_files_photo_id_array":[{"photo_id":"1338713147","filename":"file5"},{"photo_id":"1338713132","filename":"file2"},{"photo_id":"1338713140","filename":"file4"},{"photo_id":"1338713127","filename":"file1"},{"photo_id":"1338713122","filename":"file0"},{"photo_id":"1338713136","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338713127":["hashtag1","hashtag2"]},{"1338713147":["hashtag1","hashtag2"]},{"1338713132":["hashtag1","hashtag2"]},{"1338713140":["hashtag1","hashtag2"]},{"1338713122":["hashtag1","hashtag2"]},{"1338713136":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338713127, 1338713147, 1338713132, 1338713140, 1338713122, 1338713136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.439762353897095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:00:32.470854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/33/image_19022025_20_33_54_9446.jpg', '/home/pi/Desktop/images/19022025/20/34/image_19022025_20_34_14_9310.jpg', '/home/pi/Desktop/images/19022025/20/34/image_19022025_20_34_55_10340.jpg', '/home/pi/Desktop/images/19022025/20/35/image_19022025_20_35_25_10441.jpg', '/home/pi/Desktop/images/19022025/20/35/image_19022025_20_35_55_10367.jpg', '/home/pi/Desktop/images/19022025/20/35/image_19022025_20_36_04_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/33/image_19022025_20_33_54_9446.jpg
/home/pi/Desktop/images/19022025/20/34/image_19022025_20_34_14_9310.jpg
/home/pi/Desktop/images/19022025/20/34/image_19022025_20_34_55_10340.jpg
/home/pi/Desktop/images/19022025/20/35/image_19022025_20_35_25_10441.jpg
/home/pi/Desktop/images/19022025/20/35/image_19022025_20_35_55_10367.jpg
/home/pi/Desktop/images/19022025/20/35/image_19022025_20_36_04_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338713177","1338713171","1338713168","1338713173","1338713175","1338713178"],"photo_ids_order":["1338713168","1338713171","1338713173","1338713175","1338713177","1338713178"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/218fdf422f33645f93336464409dc550.jpg","text":"TemporaryFile(/tmp/multipartBody452390019341516875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099694515,"filename":"image_19022025_20_35_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6426f002abad379e71fc3e156cfe3a40.jpg","text":"TemporaryFile(/tmp/multipartBody3920681509670388291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099694515,"filename":"image_19022025_20_34_14_9310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d235dbd25f96b656951345b3b956a6c5.jpg","text":"TemporaryFile(/tmp/multipartBody8767291287652054086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099694515,"filename":"image_19022025_20_33_54_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7b045198a2ce602514e16a928e15d175.jpg","text":"TemporaryFile(/tmp/multipartBody1544592698773567420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099694515,"filename":"image_19022025_20_34_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ddc522b771412334c1b2be67b8f8193f.jpg","text":"TemporaryFile(/tmp/multipartBody2859467941994741881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099694515,"filename":"image_19022025_20_35_25_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/494d0c68c8b1be3a15a2f688715968ff.jpg","text":"TemporaryFile(/tmp/multipartBody9048659119137352370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099694515,"filename":"image_19022025_20_36_04_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338713173","file1":"1338713171","file0":"1338713168","file4":"1338713177","file5":"1338713178","file3":"1338713175"},"map_files_photo_id_array":[{"photo_id":"1338713178","filename":"file5"},{"photo_id":"1338713173","filename":"file2"},{"photo_id":"1338713177","filename":"file4"},{"photo_id":"1338713171","filename":"file1"},{"photo_id":"1338713168","filename":"file0"},{"photo_id":"1338713175","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338713177":["hashtag1","hashtag2"]},{"1338713171":["hashtag1","hashtag2"]},{"1338713168":["hashtag1","hashtag2"]},{"1338713173":["hashtag1","hashtag2"]},{"1338713175":["hashtag1","hashtag2"]},{"1338713178":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338713177, 1338713171, 1338713168, 1338713173, 1338713175, 1338713178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.799346923828125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:01:32.656763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/36/image_19022025_20_36_14_10357.jpg', '/home/pi/Desktop/images/19022025/20/37/image_19022025_20_37_45_10351.jpg', '/home/pi/Desktop/images/19022025/20/37/image_19022025_20_37_54_9329.jpg', '/home/pi/Desktop/images/19022025/20/38/image_19022025_20_38_15_10336.jpg', '/home/pi/Desktop/images/19022025/20/38/image_19022025_20_38_35_10419.jpg', '/home/pi/Desktop/images/19022025/20/38/image_19022025_20_38_54_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/36/image_19022025_20_36_14_10357.jpg
/home/pi/Desktop/images/19022025/20/37/image_19022025_20_37_45_10351.jpg
/home/pi/Desktop/images/19022025/20/37/image_19022025_20_37_54_9329.jpg
/home/pi/Desktop/images/19022025/20/38/image_19022025_20_38_15_10336.jpg
/home/pi/Desktop/images/19022025/20/38/image_19022025_20_38_35_10419.jpg
/home/pi/Desktop/images/19022025/20/38/image_19022025_20_38_54_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338713390","1338713199","1338713193","1338713451","1338713196","1338713508"],"photo_ids_order":["1338713193","1338713196","1338713199","1338713390","1338713451","1338713508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a69eb3566f0e384de624962bff4d3874.jpg","text":"TemporaryFile(/tmp/multipartBody4701002605565971056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099754693,"filename":"image_19022025_20_38_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dfde0e1334f6446dc0eebc44cb51fe53.jpg","text":"TemporaryFile(/tmp/multipartBody2237361095145584131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099754693,"filename":"image_19022025_20_37_54_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/010e7d07eeda1b19c49e810574557918.jpg","text":"TemporaryFile(/tmp/multipartBody4427231063793203439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099754693,"filename":"image_19022025_20_36_14_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5ece6b34a3c6e9d493b5c411bb5c3dff.jpg","text":"TemporaryFile(/tmp/multipartBody6519256636336395927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099754693,"filename":"image_19022025_20_38_35_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6aa78c10145e1a75b9ebf2bc3c18686a.jpg","text":"TemporaryFile(/tmp/multipartBody4887973182135171105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099754693,"filename":"image_19022025_20_37_45_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74c36c01ca62070b957a58ba880ee6a6.jpg","text":"TemporaryFile(/tmp/multipartBody9109274937649359229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099754693,"filename":"image_19022025_20_38_54_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338713199","file1":"1338713196","file0":"1338713193","file4":"1338713451","file5":"1338713508","file3":"1338713390"},"map_files_photo_id_array":[{"photo_id":"1338713508","filename":"file5"},{"photo_id":"1338713199","filename":"file2"},{"photo_id":"1338713451","filename":"file4"},{"photo_id":"1338713196","filename":"file1"},{"photo_id":"1338713193","filename":"file0"},{"photo_id":"1338713390","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338713390":["hashtag1","hashtag2"]},{"1338713199":["hashtag1","hashtag2"]},{"1338713193":["hashtag1","hashtag2"]},{"1338713451":["hashtag1","hashtag2"]},{"1338713196":["hashtag1","hashtag2"]},{"1338713508":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338713390, 1338713199, 1338713193, 1338713451, 1338713196, 1338713508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.149932622909546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:02:32.838333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/39/image_19022025_20_39_15_10341.jpg', '/home/pi/Desktop/images/19022025/20/39/image_19022025_20_39_24_9471.jpg', '/home/pi/Desktop/images/19022025/20/39/image_19022025_20_39_35_10343.jpg', '/home/pi/Desktop/images/19022025/20/39/image_19022025_20_39_55_10344.jpg', '/home/pi/Desktop/images/19022025/20/40/image_19022025_20_40_14_9320.jpg', '/home/pi/Desktop/images/19022025/20/40/image_19022025_20_40_25_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/39/image_19022025_20_39_15_10341.jpg
/home/pi/Desktop/images/19022025/20/39/image_19022025_20_39_24_9471.jpg
/home/pi/Desktop/images/19022025/20/39/image_19022025_20_39_35_10343.jpg
/home/pi/Desktop/images/19022025/20/39/image_19022025_20_39_55_10344.jpg
/home/pi/Desktop/images/19022025/20/40/image_19022025_20_40_14_9320.jpg
/home/pi/Desktop/images/19022025/20/40/image_19022025_20_40_25_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338714047","1338714049","1338714046","1338714004","1338713932","1338714042"],"photo_ids_order":["1338713932","1338714004","1338714042","1338714046","1338714047","1338714049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7f1544afc2ac389997a657f9a8ec516b.jpg","text":"TemporaryFile(/tmp/multipartBody3384682374043325040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099814872,"filename":"image_19022025_20_40_14_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/35d6ee9269a09e9033d6249d1830322b.jpg","text":"TemporaryFile(/tmp/multipartBody2382434949302640489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099814872,"filename":"image_19022025_20_40_25_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b0a723add1ae21dad1385e208e5a17c0.jpg","text":"TemporaryFile(/tmp/multipartBody9167757217206374316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099814872,"filename":"image_19022025_20_39_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f4dfebff2af5e05849ffcd44ac17cfe0.jpg","text":"TemporaryFile(/tmp/multipartBody7791864920132691479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099814872,"filename":"image_19022025_20_39_24_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4430979394675d94d33fb742bade1bea.jpg","text":"TemporaryFile(/tmp/multipartBody3455158384678178360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099814872,"filename":"image_19022025_20_39_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/01ad45f066c526bcfb6b6cc059871145.jpg","text":"TemporaryFile(/tmp/multipartBody2167553577470050784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099814872,"filename":"image_19022025_20_39_35_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338714042","file1":"1338714004","file0":"1338713932","file4":"1338714047","file5":"1338714049","file3":"1338714046"},"map_files_photo_id_array":[{"photo_id":"1338714049","filename":"file5"},{"photo_id":"1338714042","filename":"file2"},{"photo_id":"1338714047","filename":"file4"},{"photo_id":"1338714004","filename":"file1"},{"photo_id":"1338713932","filename":"file0"},{"photo_id":"1338714046","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338714047":["hashtag1","hashtag2"]},{"1338714049":["hashtag1","hashtag2"]},{"1338714046":["hashtag1","hashtag2"]},{"1338714004":["hashtag1","hashtag2"]},{"1338713932":["hashtag1","hashtag2"]},{"1338714042":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338714047, 1338714049, 1338714046, 1338714004, 1338713932, 1338714042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85477948188782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:03:33.042112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/40/image_19022025_20_40_35_10349.jpg', '/home/pi/Desktop/images/19022025/20/40/image_19022025_20_40_44_9324.jpg', '/home/pi/Desktop/images/19022025/20/40/image_19022025_20_40_55_10427.jpg', '/home/pi/Desktop/images/19022025/20/40/image_19022025_20_41_04_9339.jpg', '/home/pi/Desktop/images/19022025/20/41/image_19022025_20_41_14_10450.jpg', '/home/pi/Desktop/images/19022025/20/41/image_19022025_20_42_04_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/40/image_19022025_20_40_35_10349.jpg
/home/pi/Desktop/images/19022025/20/40/image_19022025_20_40_44_9324.jpg
/home/pi/Desktop/images/19022025/20/40/image_19022025_20_40_55_10427.jpg
/home/pi/Desktop/images/19022025/20/40/image_19022025_20_41_04_9339.jpg
/home/pi/Desktop/images/19022025/20/41/image_19022025_20_41_14_10450.jpg
/home/pi/Desktop/images/19022025/20/41/image_19022025_20_42_04_9427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338714317","1338714314","1338714316","1338714313","1338714312","1338714315"],"photo_ids_order":["1338714312","1338714313","1338714314","1338714315","1338714316","1338714317"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5941915a8db11dff5cc18c44dd3b5c8f.jpg","text":"TemporaryFile(/tmp/multipartBody8059429649339232362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099875072,"filename":"image_19022025_20_42_04_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a3564a688c56402ced9997bd7d163662.jpg","text":"TemporaryFile(/tmp/multipartBody8595795906438462833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099875072,"filename":"image_19022025_20_40_55_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f54c2d0d13c73a975d8eae5f0af9e83.jpg","text":"TemporaryFile(/tmp/multipartBody1495920506217117523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099875072,"filename":"image_19022025_20_41_14_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a141923617aaba2633ebcf7cccf6283.jpg","text":"TemporaryFile(/tmp/multipartBody6372524621446180480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099875072,"filename":"image_19022025_20_40_44_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1e854fe9e061dfee531f7797f411ad2.jpg","text":"TemporaryFile(/tmp/multipartBody7284112934592105723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099875072,"filename":"image_19022025_20_40_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a9e24a1e7e91bae96038adab596b2dc.jpg","text":"TemporaryFile(/tmp/multipartBody7935430485408060629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099875072,"filename":"image_19022025_20_41_04_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338714314","file1":"1338714313","file0":"1338714312","file4":"1338714316","file5":"1338714317","file3":"1338714315"},"map_files_photo_id_array":[{"photo_id":"1338714317","filename":"file5"},{"photo_id":"1338714314","filename":"file2"},{"photo_id":"1338714316","filename":"file4"},{"photo_id":"1338714313","filename":"file1"},{"photo_id":"1338714312","filename":"file0"},{"photo_id":"1338714315","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338714317":["hashtag1","hashtag2"]},{"1338714314":["hashtag1","hashtag2"]},{"1338714316":["hashtag1","hashtag2"]},{"1338714313":["hashtag1","hashtag2"]},{"1338714312":["hashtag1","hashtag2"]},{"1338714315":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338714317, 1338714314, 1338714316, 1338714313, 1338714312, 1338714315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95475912094116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:04:33.139531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/42/image_19022025_20_42_15_10402.jpg', '/home/pi/Desktop/images/19022025/20/42/image_19022025_20_42_24_9336.jpg', '/home/pi/Desktop/images/19022025/20/42/image_19022025_20_42_34_10402.jpg', '/home/pi/Desktop/images/19022025/20/42/image_19022025_20_42_45_10416.jpg', '/home/pi/Desktop/images/19022025/20/42/image_19022025_20_43_05_10330.jpg', '/home/pi/Desktop/images/19022025/20/43/image_19022025_20_43_15_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/42/image_19022025_20_42_15_10402.jpg
/home/pi/Desktop/images/19022025/20/42/image_19022025_20_42_24_9336.jpg
/home/pi/Desktop/images/19022025/20/42/image_19022025_20_42_34_10402.jpg
/home/pi/Desktop/images/19022025/20/42/image_19022025_20_42_45_10416.jpg
/home/pi/Desktop/images/19022025/20/42/image_19022025_20_43_05_10330.jpg
/home/pi/Desktop/images/19022025/20/43/image_19022025_20_43_15_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338714338","1338714340","1338714334","1338714337","1338714339","1338714336"],"photo_ids_order":["1338714334","1338714336","1338714337","1338714338","1338714339","1338714340"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ba76c3d3cc034a36cbefd6ec5d782a95.jpg","text":"TemporaryFile(/tmp/multipartBody3659703061745561037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099935167,"filename":"image_19022025_20_42_45_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1a200693e59423eb1958d28073d702a.jpg","text":"TemporaryFile(/tmp/multipartBody390932513861881846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099935167,"filename":"image_19022025_20_43_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2e28eca1cf1228be8a193bfd3c139fcc.jpg","text":"TemporaryFile(/tmp/multipartBody7046440736162395979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099935167,"filename":"image_19022025_20_42_15_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1719d190501a820924119742342f0fe.jpg","text":"TemporaryFile(/tmp/multipartBody6598074019323548269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099935167,"filename":"image_19022025_20_42_34_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5950a8b99f424eb8d9addd9e1342053b.jpg","text":"TemporaryFile(/tmp/multipartBody3229441904226010296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099935167,"filename":"image_19022025_20_43_05_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/caae4f3855d4d5f5a618db52fea70a61.jpg","text":"TemporaryFile(/tmp/multipartBody5389356261651190557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099935167,"filename":"image_19022025_20_42_24_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338714337","file1":"1338714336","file0":"1338714334","file4":"1338714339","file5":"1338714340","file3":"1338714338"},"map_files_photo_id_array":[{"photo_id":"1338714340","filename":"file5"},{"photo_id":"1338714337","filename":"file2"},{"photo_id":"1338714339","filename":"file4"},{"photo_id":"1338714336","filename":"file1"},{"photo_id":"1338714334","filename":"file0"},{"photo_id":"1338714338","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338714338":["hashtag1","hashtag2"]},{"1338714340":["hashtag1","hashtag2"]},{"1338714334":["hashtag1","hashtag2"]},{"1338714337":["hashtag1","hashtag2"]},{"1338714339":["hashtag1","hashtag2"]},{"1338714336":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338714338, 1338714340, 1338714334, 1338714337, 1338714339, 1338714336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25616955757141 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:05:32.311425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/43/image_19022025_20_43_24_9334.jpg', '/home/pi/Desktop/images/19022025/20/43/image_19022025_20_44_05_10442.jpg', '/home/pi/Desktop/images/19022025/20/44/image_19022025_20_44_44_9467.jpg', '/home/pi/Desktop/images/19022025/20/44/image_19022025_20_44_55_10325.jpg', '/home/pi/Desktop/images/19022025/20/45/image_19022025_20_45_45_10330.jpg', '/home/pi/Desktop/images/19022025/20/45/image_19022025_20_45_55_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/43/image_19022025_20_43_24_9334.jpg
/home/pi/Desktop/images/19022025/20/43/image_19022025_20_44_05_10442.jpg
/home/pi/Desktop/images/19022025/20/44/image_19022025_20_44_44_9467.jpg
/home/pi/Desktop/images/19022025/20/44/image_19022025_20_44_55_10325.jpg
/home/pi/Desktop/images/19022025/20/45/image_19022025_20_45_45_10330.jpg
/home/pi/Desktop/images/19022025/20/45/image_19022025_20_45_55_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338714503","1338714499","1338714505","1338714495","1338714497","1338714501"],"photo_ids_order":["1338714495","1338714497","1338714499","1338714501","1338714503","1338714505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1794ea76ef2b35d37d6a32d70b643b4.jpg","text":"TemporaryFile(/tmp/multipartBody457730422397277113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099994351,"filename":"image_19022025_20_45_45_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2010789f0373a3f20f168d742c0786a9.jpg","text":"TemporaryFile(/tmp/multipartBody2703669269295121087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099994351,"filename":"image_19022025_20_44_44_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/25ce6ed91dadf12fffd96efc8e1b962b.jpg","text":"TemporaryFile(/tmp/multipartBody2187278860746890787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099994351,"filename":"image_19022025_20_45_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/695f3cc934938f3d8fe30fd6f2347a11.jpg","text":"TemporaryFile(/tmp/multipartBody343723558421212765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099994351,"filename":"image_19022025_20_43_24_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a63c7eb0618ae084f1837232aa3151e4.jpg","text":"TemporaryFile(/tmp/multipartBody3551946748445707269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099994351,"filename":"image_19022025_20_44_05_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3a534b7a4f9e15456c43735a21897c91.jpg","text":"TemporaryFile(/tmp/multipartBody6322202350809955766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740099994351,"filename":"image_19022025_20_44_55_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338714499","file1":"1338714497","file0":"1338714495","file4":"1338714503","file5":"1338714505","file3":"1338714501"},"map_files_photo_id_array":[{"photo_id":"1338714505","filename":"file5"},{"photo_id":"1338714499","filename":"file2"},{"photo_id":"1338714503","filename":"file4"},{"photo_id":"1338714497","filename":"file1"},{"photo_id":"1338714495","filename":"file0"},{"photo_id":"1338714501","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338714503":["hashtag1","hashtag2"]},{"1338714499":["hashtag1","hashtag2"]},{"1338714505":["hashtag1","hashtag2"]},{"1338714495":["hashtag1","hashtag2"]},{"1338714497":["hashtag1","hashtag2"]},{"1338714501":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338714503, 1338714499, 1338714505, 1338714495, 1338714497, 1338714501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.39891815185547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:06:32.469067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/45/image_19022025_20_46_04_9337.jpg', '/home/pi/Desktop/images/19022025/20/46/image_19022025_20_46_24_9413.jpg', '/home/pi/Desktop/images/19022025/20/46/image_19022025_20_46_35_10482.jpg', '/home/pi/Desktop/images/19022025/20/46/image_19022025_20_46_54_9351.jpg', '/home/pi/Desktop/images/19022025/20/46/image_19022025_20_47_05_10421.jpg', '/home/pi/Desktop/images/19022025/20/47/image_19022025_20_47_24_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/45/image_19022025_20_46_04_9337.jpg
/home/pi/Desktop/images/19022025/20/46/image_19022025_20_46_24_9413.jpg
/home/pi/Desktop/images/19022025/20/46/image_19022025_20_46_35_10482.jpg
/home/pi/Desktop/images/19022025/20/46/image_19022025_20_46_54_9351.jpg
/home/pi/Desktop/images/19022025/20/46/image_19022025_20_47_05_10421.jpg
/home/pi/Desktop/images/19022025/20/47/image_19022025_20_47_24_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338714548","1338714520","1338714514","1338714523","1338714517","1338714630"],"photo_ids_order":["1338714514","1338714517","1338714520","1338714523","1338714548","1338714630"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ad47349d951c21c4bcf7af42df59165.jpg","text":"TemporaryFile(/tmp/multipartBody8395067144750339832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100054520,"filename":"image_19022025_20_47_05_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83037e14913614f2cddab09ace13e2ff.jpg","text":"TemporaryFile(/tmp/multipartBody5391862124787725105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100054520,"filename":"image_19022025_20_46_35_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0d5a5e930451247aed80deabc55046ec.jpg","text":"TemporaryFile(/tmp/multipartBody277982136349159779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100054520,"filename":"image_19022025_20_46_04_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/01ed0e4aaf5b359c00839b1dd2bb34af.jpg","text":"TemporaryFile(/tmp/multipartBody1866832161144152723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100054520,"filename":"image_19022025_20_46_54_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a3e2b91c289721833e3859828fb1c76.jpg","text":"TemporaryFile(/tmp/multipartBody4012659418024148503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100054520,"filename":"image_19022025_20_46_24_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e69cc1638b56b3817ca35428f671613.jpg","text":"TemporaryFile(/tmp/multipartBody4953036524617615984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100054520,"filename":"image_19022025_20_47_24_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338714520","file1":"1338714517","file0":"1338714514","file4":"1338714548","file5":"1338714630","file3":"1338714523"},"map_files_photo_id_array":[{"photo_id":"1338714630","filename":"file5"},{"photo_id":"1338714520","filename":"file2"},{"photo_id":"1338714548","filename":"file4"},{"photo_id":"1338714517","filename":"file1"},{"photo_id":"1338714514","filename":"file0"},{"photo_id":"1338714523","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338714548":["hashtag1","hashtag2"]},{"1338714520":["hashtag1","hashtag2"]},{"1338714514":["hashtag1","hashtag2"]},{"1338714523":["hashtag1","hashtag2"]},{"1338714517":["hashtag1","hashtag2"]},{"1338714630":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338714548, 1338714520, 1338714514, 1338714523, 1338714517, 1338714630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7331964969635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:07:32.648259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/47/image_19022025_20_47_44_9333.jpg', '/home/pi/Desktop/images/19022025/20/48/image_19022025_20_48_25_10410.jpg', '/home/pi/Desktop/images/19022025/20/48/image_19022025_20_48_35_10338.jpg', '/home/pi/Desktop/images/19022025/20/49/image_19022025_20_49_25_10377.jpg', '/home/pi/Desktop/images/19022025/20/49/image_19022025_20_49_34_9321.jpg', '/home/pi/Desktop/images/19022025/20/49/image_19022025_20_49_55_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/47/image_19022025_20_47_44_9333.jpg
/home/pi/Desktop/images/19022025/20/48/image_19022025_20_48_25_10410.jpg
/home/pi/Desktop/images/19022025/20/48/image_19022025_20_48_35_10338.jpg
/home/pi/Desktop/images/19022025/20/49/image_19022025_20_49_25_10377.jpg
/home/pi/Desktop/images/19022025/20/49/image_19022025_20_49_34_9321.jpg
/home/pi/Desktop/images/19022025/20/49/image_19022025_20_49_55_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338715198","1338715033","1338715336","1338714907","1338715506","1338714918"],"photo_ids_order":["1338714907","1338714918","1338715033","1338715198","1338715336","1338715506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2b14f8de23ce972a74bb5f5a3b82624e.jpg","text":"TemporaryFile(/tmp/multipartBody1825261821003698639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100114681,"filename":"image_19022025_20_49_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/969a19854cb15baa7c7e9fd9d2363a7a.jpg","text":"TemporaryFile(/tmp/multipartBody821095256919005741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100114681,"filename":"image_19022025_20_48_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1a7614c0b132174644fb13697fe1d306.jpg","text":"TemporaryFile(/tmp/multipartBody7028599239250677302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100114681,"filename":"image_19022025_20_49_34_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8085a8b62ce191c1aac7fd258d3e57d5.jpg","text":"TemporaryFile(/tmp/multipartBody9045900676944840797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100114681,"filename":"image_19022025_20_47_44_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7fcb5ce2d1d4037e56a0a24481518f9.jpg","text":"TemporaryFile(/tmp/multipartBody8474102683435610996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100114681,"filename":"image_19022025_20_49_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/38d6b44c312feb7981ec60e0c3a3f046.jpg","text":"TemporaryFile(/tmp/multipartBody2234854227551951942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100114681,"filename":"image_19022025_20_48_25_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338715033","file1":"1338714918","file0":"1338714907","file4":"1338715336","file5":"1338715506","file3":"1338715198"},"map_files_photo_id_array":[{"photo_id":"1338715506","filename":"file5"},{"photo_id":"1338715033","filename":"file2"},{"photo_id":"1338715336","filename":"file4"},{"photo_id":"1338714918","filename":"file1"},{"photo_id":"1338714907","filename":"file0"},{"photo_id":"1338715198","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338715198":["hashtag1","hashtag2"]},{"1338715033":["hashtag1","hashtag2"]},{"1338715336":["hashtag1","hashtag2"]},{"1338714907":["hashtag1","hashtag2"]},{"1338715506":["hashtag1","hashtag2"]},{"1338714918":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338715198, 1338715033, 1338715336, 1338714907, 1338715506, 1338714918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.539042949676514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:08:33.012798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/49/image_19022025_20_50_04_9336.jpg', '/home/pi/Desktop/images/19022025/20/50/image_19022025_20_50_54_9339.jpg', '/home/pi/Desktop/images/19022025/20/51/image_19022025_20_51_14_9387.jpg', '/home/pi/Desktop/images/19022025/20/51/image_19022025_20_51_24_10417.jpg', '/home/pi/Desktop/images/19022025/20/51/image_19022025_20_51_35_10344.jpg', '/home/pi/Desktop/images/19022025/20/51/image_19022025_20_51_44_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/49/image_19022025_20_50_04_9336.jpg
/home/pi/Desktop/images/19022025/20/50/image_19022025_20_50_54_9339.jpg
/home/pi/Desktop/images/19022025/20/51/image_19022025_20_51_14_9387.jpg
/home/pi/Desktop/images/19022025/20/51/image_19022025_20_51_24_10417.jpg
/home/pi/Desktop/images/19022025/20/51/image_19022025_20_51_35_10344.jpg
/home/pi/Desktop/images/19022025/20/51/image_19022025_20_51_44_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338715669","1338715537","1338715560","1338715697","1338715682","1338715685"],"photo_ids_order":["1338715537","1338715560","1338715669","1338715682","1338715685","1338715697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/07e4d085bdcbe8d27abab3063674b9ce.jpg","text":"TemporaryFile(/tmp/multipartBody8037327576924118892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100175045,"filename":"image_19022025_20_51_14_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c8ed4d64b11afaded4303fa92cd4024b.jpg","text":"TemporaryFile(/tmp/multipartBody6950319980461328244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100175045,"filename":"image_19022025_20_50_04_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5ea0878d565b11b3a43e154b389576bb.jpg","text":"TemporaryFile(/tmp/multipartBody5406390677818271238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100175045,"filename":"image_19022025_20_50_54_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a30f2cd501fd47d9a0e0f93a71de9adf.jpg","text":"TemporaryFile(/tmp/multipartBody7590022508479984701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100175045,"filename":"image_19022025_20_51_44_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1dd220799660faf802e80b3c73c45a34.jpg","text":"TemporaryFile(/tmp/multipartBody4618703608356526787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100175045,"filename":"image_19022025_20_51_24_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aea83f032dda6030d9a16eaf65ca0b88.jpg","text":"TemporaryFile(/tmp/multipartBody5952810388467003853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100175045,"filename":"image_19022025_20_51_35_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338715669","file1":"1338715560","file0":"1338715537","file4":"1338715685","file5":"1338715697","file3":"1338715682"},"map_files_photo_id_array":[{"photo_id":"1338715697","filename":"file5"},{"photo_id":"1338715669","filename":"file2"},{"photo_id":"1338715685","filename":"file4"},{"photo_id":"1338715560","filename":"file1"},{"photo_id":"1338715537","filename":"file0"},{"photo_id":"1338715682","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338715669":["hashtag1","hashtag2"]},{"1338715537":["hashtag1","hashtag2"]},{"1338715560":["hashtag1","hashtag2"]},{"1338715697":["hashtag1","hashtag2"]},{"1338715682":["hashtag1","hashtag2"]},{"1338715685":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338715669, 1338715537, 1338715560, 1338715697, 1338715682, 1338715685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71395134925842 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:09:32.143304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/51/image_19022025_20_52_05_10358.jpg', '/home/pi/Desktop/images/19022025/20/53/image_19022025_20_53_54_9337.jpg', '/home/pi/Desktop/images/19022025/20/53/image_19022025_20_54_05_10426.jpg', '/home/pi/Desktop/images/19022025/20/54/image_19022025_20_54_15_10451.jpg', '/home/pi/Desktop/images/19022025/20/54/image_19022025_20_54_35_10416.jpg', '/home/pi/Desktop/images/19022025/20/54/image_19022025_20_54_44_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/51/image_19022025_20_52_05_10358.jpg
/home/pi/Desktop/images/19022025/20/53/image_19022025_20_53_54_9337.jpg
/home/pi/Desktop/images/19022025/20/53/image_19022025_20_54_05_10426.jpg
/home/pi/Desktop/images/19022025/20/54/image_19022025_20_54_15_10451.jpg
/home/pi/Desktop/images/19022025/20/54/image_19022025_20_54_35_10416.jpg
/home/pi/Desktop/images/19022025/20/54/image_19022025_20_54_44_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338715783","1338715780","1338715788","1338715784","1338715787","1338715775"],"photo_ids_order":["1338715775","1338715780","1338715783","1338715784","1338715787","1338715788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e97c02284e98a808249f15ae9f29ff0b.jpg","text":"TemporaryFile(/tmp/multipartBody6337865782349938536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100234177,"filename":"image_19022025_20_54_05_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dc7214d6f6e1b5fdbb0d56b20979d09d.jpg","text":"TemporaryFile(/tmp/multipartBody2392890103877111363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100234177,"filename":"image_19022025_20_53_54_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3645d44e077ced54491bba04e25f5f73.jpg","text":"TemporaryFile(/tmp/multipartBody1303484129153077043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100234177,"filename":"image_19022025_20_54_44_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c9e094feb0e933ac4d3f50bfb46d594f.jpg","text":"TemporaryFile(/tmp/multipartBody1822797038675394758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100234177,"filename":"image_19022025_20_54_15_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e0d9e7ccf551852ff82f7a13cb35e38f.jpg","text":"TemporaryFile(/tmp/multipartBody2968545567550441576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100234177,"filename":"image_19022025_20_54_35_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5a9172c73d1deab21e5d091865bcdbed.jpg","text":"TemporaryFile(/tmp/multipartBody3914749879707959652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100234177,"filename":"image_19022025_20_52_05_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338715783","file1":"1338715780","file0":"1338715775","file4":"1338715787","file5":"1338715788","file3":"1338715784"},"map_files_photo_id_array":[{"photo_id":"1338715788","filename":"file5"},{"photo_id":"1338715783","filename":"file2"},{"photo_id":"1338715787","filename":"file4"},{"photo_id":"1338715780","filename":"file1"},{"photo_id":"1338715775","filename":"file0"},{"photo_id":"1338715784","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338715783":["hashtag1","hashtag2"]},{"1338715780":["hashtag1","hashtag2"]},{"1338715788":["hashtag1","hashtag2"]},{"1338715784":["hashtag1","hashtag2"]},{"1338715787":["hashtag1","hashtag2"]},{"1338715775":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338715783, 1338715780, 1338715788, 1338715784, 1338715787, 1338715775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.316028118133545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:10:32.388392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/54/image_19022025_20_54_54_10388.jpg', '/home/pi/Desktop/images/19022025/20/55/image_19022025_20_55_14_9328.jpg', '/home/pi/Desktop/images/19022025/20/55/image_19022025_20_55_34_9330.jpg', '/home/pi/Desktop/images/19022025/20/55/image_19022025_20_55_55_10344.jpg', '/home/pi/Desktop/images/19022025/20/55/image_19022025_20_56_04_9333.jpg', '/home/pi/Desktop/images/19022025/20/56/image_19022025_20_56_25_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/54/image_19022025_20_54_54_10388.jpg
/home/pi/Desktop/images/19022025/20/55/image_19022025_20_55_14_9328.jpg
/home/pi/Desktop/images/19022025/20/55/image_19022025_20_55_34_9330.jpg
/home/pi/Desktop/images/19022025/20/55/image_19022025_20_55_55_10344.jpg
/home/pi/Desktop/images/19022025/20/55/image_19022025_20_56_04_9333.jpg
/home/pi/Desktop/images/19022025/20/56/image_19022025_20_56_25_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338715798","1338715802","1338715801","1338715797","1338715800","1338715799"],"photo_ids_order":["1338715797","1338715798","1338715799","1338715800","1338715801","1338715802"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b041ef56d30eaba362074df08ebaa506.jpg","text":"TemporaryFile(/tmp/multipartBody5970287448052198316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100294446,"filename":"image_19022025_20_55_14_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/64aee878599a5de4396370918b7679bd.jpg","text":"TemporaryFile(/tmp/multipartBody4004618045308756598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100294446,"filename":"image_19022025_20_56_25_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cd3e0d708abaf19ac71442bce0083b78.jpg","text":"TemporaryFile(/tmp/multipartBody7062277900761195809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100294446,"filename":"image_19022025_20_56_04_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9afc81e946422ce177744d556df86409.jpg","text":"TemporaryFile(/tmp/multipartBody2643325130425607172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100294446,"filename":"image_19022025_20_54_54_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/11a7f3db941c696f243d9883eafe79a8.jpg","text":"TemporaryFile(/tmp/multipartBody3531011001760615784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100294446,"filename":"image_19022025_20_55_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ea4e8ce01f4ae0bf8d9cae72ba2fa82e.jpg","text":"TemporaryFile(/tmp/multipartBody8669980488401139934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100294446,"filename":"image_19022025_20_55_34_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338715799","file1":"1338715798","file0":"1338715797","file4":"1338715801","file5":"1338715802","file3":"1338715800"},"map_files_photo_id_array":[{"photo_id":"1338715802","filename":"file5"},{"photo_id":"1338715799","filename":"file2"},{"photo_id":"1338715801","filename":"file4"},{"photo_id":"1338715798","filename":"file1"},{"photo_id":"1338715797","filename":"file0"},{"photo_id":"1338715800","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338715798":["hashtag1","hashtag2"]},{"1338715802":["hashtag1","hashtag2"]},{"1338715801":["hashtag1","hashtag2"]},{"1338715797":["hashtag1","hashtag2"]},{"1338715800":["hashtag1","hashtag2"]},{"1338715799":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338715798, 1338715802, 1338715801, 1338715797, 1338715800, 1338715799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1743049621582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:11:32.627274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/56/image_19022025_20_56_34_9351.jpg', '/home/pi/Desktop/images/19022025/20/56/image_19022025_20_57_04_10388.jpg', '/home/pi/Desktop/images/19022025/20/57/image_19022025_20_57_35_10396.jpg', '/home/pi/Desktop/images/19022025/20/57/image_19022025_20_57_45_10361.jpg', '/home/pi/Desktop/images/19022025/20/57/image_19022025_20_57_54_9528.jpg', '/home/pi/Desktop/images/19022025/20/57/image_19022025_20_58_05_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/56/image_19022025_20_56_34_9351.jpg
/home/pi/Desktop/images/19022025/20/56/image_19022025_20_57_04_10388.jpg
/home/pi/Desktop/images/19022025/20/57/image_19022025_20_57_35_10396.jpg
/home/pi/Desktop/images/19022025/20/57/image_19022025_20_57_45_10361.jpg
/home/pi/Desktop/images/19022025/20/57/image_19022025_20_57_54_9528.jpg
/home/pi/Desktop/images/19022025/20/57/image_19022025_20_58_05_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338715828","1338715837","1338715825","1338715818","1338715838","1338715832"],"photo_ids_order":["1338715818","1338715825","1338715828","1338715832","1338715837","1338715838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59390d78b9998c97bb5cd3cd2724bcb2.jpg","text":"TemporaryFile(/tmp/multipartBody5134377371363837597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100354647,"filename":"image_19022025_20_57_35_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/49f460651b1dc63ebe7cc3948cd5a6bb.jpg","text":"TemporaryFile(/tmp/multipartBody5064290290697171178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100354647,"filename":"image_19022025_20_57_54_9528.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0215e063649cf769a1626dc9241d27c8.jpg","text":"TemporaryFile(/tmp/multipartBody758196814156153352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100354647,"filename":"image_19022025_20_57_04_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8bf2389f090e61e2c682e2c097bc00c6.jpg","text":"TemporaryFile(/tmp/multipartBody8408942471204672445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100354647,"filename":"image_19022025_20_56_34_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0edb26c8a6b1561f938de176c2a01a0f.jpg","text":"TemporaryFile(/tmp/multipartBody8907129850692336827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100354647,"filename":"image_19022025_20_58_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b0bf39b19e64fff3779eefebe19e3bda.jpg","text":"TemporaryFile(/tmp/multipartBody8599327901642910895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100354647,"filename":"image_19022025_20_57_45_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338715828","file1":"1338715825","file0":"1338715818","file4":"1338715837","file5":"1338715838","file3":"1338715832"},"map_files_photo_id_array":[{"photo_id":"1338715838","filename":"file5"},{"photo_id":"1338715828","filename":"file2"},{"photo_id":"1338715837","filename":"file4"},{"photo_id":"1338715825","filename":"file1"},{"photo_id":"1338715818","filename":"file0"},{"photo_id":"1338715832","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338715828":["hashtag1","hashtag2"]},{"1338715837":["hashtag1","hashtag2"]},{"1338715825":["hashtag1","hashtag2"]},{"1338715818":["hashtag1","hashtag2"]},{"1338715838":["hashtag1","hashtag2"]},{"1338715832":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338715828, 1338715837, 1338715825, 1338715818, 1338715838, 1338715832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74484610557556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:12:32.824667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/20/58/image_19022025_20_58_25_10370.jpg', '/home/pi/Desktop/images/19022025/20/58/image_19022025_20_58_55_10416.jpg', '/home/pi/Desktop/images/19022025/20/58/image_19022025_20_59_05_10353.jpg', '/home/pi/Desktop/images/19022025/20/59/image_19022025_20_59_14_9339.jpg', '/home/pi/Desktop/images/19022025/20/59/image_19022025_20_59_25_10428.jpg', '/home/pi/Desktop/images/19022025/20/59/image_19022025_20_59_34_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/20/58/image_19022025_20_58_25_10370.jpg
/home/pi/Desktop/images/19022025/20/58/image_19022025_20_58_55_10416.jpg
/home/pi/Desktop/images/19022025/20/58/image_19022025_20_59_05_10353.jpg
/home/pi/Desktop/images/19022025/20/59/image_19022025_20_59_14_9339.jpg
/home/pi/Desktop/images/19022025/20/59/image_19022025_20_59_25_10428.jpg
/home/pi/Desktop/images/19022025/20/59/image_19022025_20_59_34_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338715858","1338715855","1338715849","1338715857","1338715845","1338715850"],"photo_ids_order":["1338715845","1338715849","1338715850","1338715855","1338715857","1338715858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e185388756f7b7127caf836e7a04fc27.jpg","text":"TemporaryFile(/tmp/multipartBody6270521040772891395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100414882,"filename":"image_19022025_20_59_34_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a4562e499674b2f164e79fb6fbeaf450.jpg","text":"TemporaryFile(/tmp/multipartBody225885195668541842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100414882,"filename":"image_19022025_20_59_14_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/619407221fe42079c3b0c68bd33f7ea8.jpg","text":"TemporaryFile(/tmp/multipartBody7364683666681400199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100414882,"filename":"image_19022025_20_58_55_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1dfa1a1c52e35ca101763c4a2f192059.jpg","text":"TemporaryFile(/tmp/multipartBody1908744536032362844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100414882,"filename":"image_19022025_20_59_25_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/132a0190e83ca044c931cf9eabd07fcf.jpg","text":"TemporaryFile(/tmp/multipartBody9065824789166133768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100414882,"filename":"image_19022025_20_58_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/646496f8dfa70700e823e9fa206922a1.jpg","text":"TemporaryFile(/tmp/multipartBody3486197745735670614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100414882,"filename":"image_19022025_20_59_05_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338715850","file1":"1338715849","file0":"1338715845","file4":"1338715857","file5":"1338715858","file3":"1338715855"},"map_files_photo_id_array":[{"photo_id":"1338715858","filename":"file5"},{"photo_id":"1338715850","filename":"file2"},{"photo_id":"1338715857","filename":"file4"},{"photo_id":"1338715849","filename":"file1"},{"photo_id":"1338715845","filename":"file0"},{"photo_id":"1338715855","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338715858":["hashtag1","hashtag2"]},{"1338715855":["hashtag1","hashtag2"]},{"1338715849":["hashtag1","hashtag2"]},{"1338715857":["hashtag1","hashtag2"]},{"1338715845":["hashtag1","hashtag2"]},{"1338715850":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338715858, 1338715855, 1338715849, 1338715857, 1338715845, 1338715850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31821608543396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:13:32.797040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/00/image_19022025_21_00_26_10345.jpg', '/home/pi/Desktop/images/19022025/21/00/image_19022025_21_00_36_10334.jpg', '/home/pi/Desktop/images/19022025/21/00/image_19022025_21_00_56_10392.jpg', '/home/pi/Desktop/images/19022025/21/01/image_19022025_21_01_16_9351.jpg', '/home/pi/Desktop/images/19022025/21/01/image_19022025_21_01_36_9397.jpg', '/home/pi/Desktop/images/19022025/21/01/image_19022025_21_01_46_10236.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/00/image_19022025_21_00_26_10345.jpg
/home/pi/Desktop/images/19022025/21/00/image_19022025_21_00_36_10334.jpg
/home/pi/Desktop/images/19022025/21/00/image_19022025_21_00_56_10392.jpg
/home/pi/Desktop/images/19022025/21/01/image_19022025_21_01_16_9351.jpg
/home/pi/Desktop/images/19022025/21/01/image_19022025_21_01_36_9397.jpg
/home/pi/Desktop/images/19022025/21/01/image_19022025_21_01_46_10236.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338716214","1338715980","1338715944","1338716129","1338716074","1338715943"],"photo_ids_order":["1338715943","1338715944","1338715980","1338716074","1338716129","1338716214"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0c73ce987db3eee4abb15ba3ac0fda5c.jpg","text":"TemporaryFile(/tmp/multipartBody1084843322438137928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100474840,"filename":"image_19022025_21_01_46_10236.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7bc65390af5c6866af5be1ecdd11de08.jpg","text":"TemporaryFile(/tmp/multipartBody7321842875613265456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100474840,"filename":"image_19022025_21_00_56_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b5d635cd67a652488bf7319d08ce963.jpg","text":"TemporaryFile(/tmp/multipartBody414344219321140095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100474840,"filename":"image_19022025_21_00_36_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cea1359c6f4465cd1ea3cfd384203c64.jpg","text":"TemporaryFile(/tmp/multipartBody138177608582126925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100474840,"filename":"image_19022025_21_01_36_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02f2a58e0bd56f41a7641cce4501338f.jpg","text":"TemporaryFile(/tmp/multipartBody2859124215528905824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100474840,"filename":"image_19022025_21_01_16_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b17fabb2ff728f0c9dc02ae356e4145c.jpg","text":"TemporaryFile(/tmp/multipartBody6335202943697629769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100474840,"filename":"image_19022025_21_00_26_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338715980","file1":"1338715944","file0":"1338715943","file4":"1338716129","file5":"1338716214","file3":"1338716074"},"map_files_photo_id_array":[{"photo_id":"1338716214","filename":"file5"},{"photo_id":"1338715980","filename":"file2"},{"photo_id":"1338716129","filename":"file4"},{"photo_id":"1338715944","filename":"file1"},{"photo_id":"1338715943","filename":"file0"},{"photo_id":"1338716074","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338716214":["hashtag1","hashtag2"]},{"1338715980":["hashtag1","hashtag2"]},{"1338715944":["hashtag1","hashtag2"]},{"1338716129":["hashtag1","hashtag2"]},{"1338716074":["hashtag1","hashtag2"]},{"1338715943":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338716214, 1338715980, 1338715944, 1338716129, 1338716074, 1338715943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43032431602478 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:14:32.946127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/01/image_19022025_21_01_56_10352.jpg', '/home/pi/Desktop/images/19022025/21/02/image_19022025_21_02_16_9314.jpg', '/home/pi/Desktop/images/19022025/21/02/image_19022025_21_02_26_10388.jpg', '/home/pi/Desktop/images/19022025/21/02/image_19022025_21_02_35_9326.jpg', '/home/pi/Desktop/images/19022025/21/02/image_19022025_21_02_46_10355.jpg', '/home/pi/Desktop/images/19022025/21/02/image_19022025_21_03_06_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/01/image_19022025_21_01_56_10352.jpg
/home/pi/Desktop/images/19022025/21/02/image_19022025_21_02_16_9314.jpg
/home/pi/Desktop/images/19022025/21/02/image_19022025_21_02_26_10388.jpg
/home/pi/Desktop/images/19022025/21/02/image_19022025_21_02_35_9326.jpg
/home/pi/Desktop/images/19022025/21/02/image_19022025_21_02_46_10355.jpg
/home/pi/Desktop/images/19022025/21/02/image_19022025_21_03_06_9387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338716605","1338716553","1338716678","1338716672","1338716552","1338716549"],"photo_ids_order":["1338716549","1338716552","1338716553","1338716605","1338716672","1338716678"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/52394db371b9d61fcd284e49eac5bc23.jpg","text":"TemporaryFile(/tmp/multipartBody3700283671567672418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100534979,"filename":"image_19022025_21_02_35_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/243e8e7ae8a85249619c7a17f2d24be0.jpg","text":"TemporaryFile(/tmp/multipartBody8138281140220775181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100534979,"filename":"image_19022025_21_02_26_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b873ce25196c39f30a6bd3e69c597073.jpg","text":"TemporaryFile(/tmp/multipartBody2434375878156025014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100534979,"filename":"image_19022025_21_03_06_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/083e8dfe4135e155f5255bf3c44c868a.jpg","text":"TemporaryFile(/tmp/multipartBody8423616416726373525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100534979,"filename":"image_19022025_21_02_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ec2561e3b14c62a0e342f48e58b0d750.jpg","text":"TemporaryFile(/tmp/multipartBody5602585574325939456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100534979,"filename":"image_19022025_21_02_16_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/098f5e1cfd212b99b0817083c29d4b8f.jpg","text":"TemporaryFile(/tmp/multipartBody7498549881606824996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100534979,"filename":"image_19022025_21_01_56_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338716553","file1":"1338716552","file0":"1338716549","file4":"1338716672","file5":"1338716678","file3":"1338716605"},"map_files_photo_id_array":[{"photo_id":"1338716678","filename":"file5"},{"photo_id":"1338716553","filename":"file2"},{"photo_id":"1338716672","filename":"file4"},{"photo_id":"1338716552","filename":"file1"},{"photo_id":"1338716549","filename":"file0"},{"photo_id":"1338716605","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338716605":["hashtag1","hashtag2"]},{"1338716553":["hashtag1","hashtag2"]},{"1338716678":["hashtag1","hashtag2"]},{"1338716672":["hashtag1","hashtag2"]},{"1338716552":["hashtag1","hashtag2"]},{"1338716549":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338716605, 1338716553, 1338716678, 1338716672, 1338716552, 1338716549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.20024490356445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:15:33.130106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/03/image_19022025_21_03_16_10435.jpg', '/home/pi/Desktop/images/19022025/21/03/image_19022025_21_03_26_10398.jpg', '/home/pi/Desktop/images/19022025/21/03/image_19022025_21_03_56_9415.jpg', '/home/pi/Desktop/images/19022025/21/04/image_19022025_21_04_16_10341.jpg', '/home/pi/Desktop/images/19022025/21/04/image_19022025_21_04_26_9405.jpg', '/home/pi/Desktop/images/19022025/21/04/image_19022025_21_04_36_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/03/image_19022025_21_03_16_10435.jpg
/home/pi/Desktop/images/19022025/21/03/image_19022025_21_03_26_10398.jpg
/home/pi/Desktop/images/19022025/21/03/image_19022025_21_03_56_9415.jpg
/home/pi/Desktop/images/19022025/21/04/image_19022025_21_04_16_10341.jpg
/home/pi/Desktop/images/19022025/21/04/image_19022025_21_04_26_9405.jpg
/home/pi/Desktop/images/19022025/21/04/image_19022025_21_04_36_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338716835","1338716838","1338716780","1338716840","1338716842","1338716836"],"photo_ids_order":["1338716780","1338716835","1338716836","1338716838","1338716840","1338716842"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6edf396f85488d331cee50188893f4cd.jpg","text":"TemporaryFile(/tmp/multipartBody2595624973455946996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100595180,"filename":"image_19022025_21_03_26_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6c079fc0e6ef53515aaab74a99421568.jpg","text":"TemporaryFile(/tmp/multipartBody2012076477548108580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100595180,"filename":"image_19022025_21_04_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a081c7542c97996435e799fd642a32d.jpg","text":"TemporaryFile(/tmp/multipartBody880724110536831882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100595180,"filename":"image_19022025_21_03_16_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0fb8368e4829cf0bd958e1bda3838c8a.jpg","text":"TemporaryFile(/tmp/multipartBody732033031021431299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100595180,"filename":"image_19022025_21_04_26_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1a03c83d1033f09638548b77cd9e21b0.jpg","text":"TemporaryFile(/tmp/multipartBody6486967489122742260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100595180,"filename":"image_19022025_21_04_36_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ff5082a6732cdfe98aa7375217e4d17.jpg","text":"TemporaryFile(/tmp/multipartBody6395853524382749744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100595180,"filename":"image_19022025_21_03_56_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338716836","file1":"1338716835","file0":"1338716780","file4":"1338716840","file5":"1338716842","file3":"1338716838"},"map_files_photo_id_array":[{"photo_id":"1338716842","filename":"file5"},{"photo_id":"1338716836","filename":"file2"},{"photo_id":"1338716840","filename":"file4"},{"photo_id":"1338716835","filename":"file1"},{"photo_id":"1338716780","filename":"file0"},{"photo_id":"1338716838","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338716835":["hashtag1","hashtag2"]},{"1338716838":["hashtag1","hashtag2"]},{"1338716780":["hashtag1","hashtag2"]},{"1338716840":["hashtag1","hashtag2"]},{"1338716842":["hashtag1","hashtag2"]},{"1338716836":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338716835, 1338716838, 1338716780, 1338716840, 1338716842, 1338716836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.163323640823364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:16:32.209872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/05/image_19022025_21_05_36_10428.jpg', '/home/pi/Desktop/images/19022025/21/05/image_19022025_21_05_56_10338.jpg', '/home/pi/Desktop/images/19022025/21/05/image_19022025_21_06_05_9359.jpg', '/home/pi/Desktop/images/19022025/21/06/image_19022025_21_06_16_10339.jpg', '/home/pi/Desktop/images/19022025/21/06/image_19022025_21_06_26_10440.jpg', '/home/pi/Desktop/images/19022025/21/06/image_19022025_21_06_46_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/05/image_19022025_21_05_36_10428.jpg
/home/pi/Desktop/images/19022025/21/05/image_19022025_21_05_56_10338.jpg
/home/pi/Desktop/images/19022025/21/05/image_19022025_21_06_05_9359.jpg
/home/pi/Desktop/images/19022025/21/06/image_19022025_21_06_16_10339.jpg
/home/pi/Desktop/images/19022025/21/06/image_19022025_21_06_26_10440.jpg
/home/pi/Desktop/images/19022025/21/06/image_19022025_21_06_46_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338716883","1338716895","1338716894","1338716879","1338716893","1338716884"],"photo_ids_order":["1338716879","1338716883","1338716884","1338716893","1338716894","1338716895"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/07609fbf17114e9626ad9030a5b7b986.jpg","text":"TemporaryFile(/tmp/multipartBody7196727495859691443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100654251,"filename":"image_19022025_21_05_56_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0822d40de539470a097c44131679975b.jpg","text":"TemporaryFile(/tmp/multipartBody1935928700125041412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100654251,"filename":"image_19022025_21_06_46_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/65902be157eb8db61975b85687a9a8a7.jpg","text":"TemporaryFile(/tmp/multipartBody7070494683638867729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100654251,"filename":"image_19022025_21_06_26_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/99a93bed9a9ceac94baa05650404bea1.jpg","text":"TemporaryFile(/tmp/multipartBody2480365124191371469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100654251,"filename":"image_19022025_21_05_36_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/33e25c46cd35cf24427a919ddc38cac6.jpg","text":"TemporaryFile(/tmp/multipartBody8183566561584643880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100654251,"filename":"image_19022025_21_06_16_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9a5eb02d664ee2f020598adfb3c4aaf3.jpg","text":"TemporaryFile(/tmp/multipartBody1940487257304496552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100654251,"filename":"image_19022025_21_06_05_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338716884","file1":"1338716883","file0":"1338716879","file4":"1338716894","file5":"1338716895","file3":"1338716893"},"map_files_photo_id_array":[{"photo_id":"1338716895","filename":"file5"},{"photo_id":"1338716884","filename":"file2"},{"photo_id":"1338716894","filename":"file4"},{"photo_id":"1338716883","filename":"file1"},{"photo_id":"1338716879","filename":"file0"},{"photo_id":"1338716893","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338716883":["hashtag1","hashtag2"]},{"1338716895":["hashtag1","hashtag2"]},{"1338716894":["hashtag1","hashtag2"]},{"1338716879":["hashtag1","hashtag2"]},{"1338716893":["hashtag1","hashtag2"]},{"1338716884":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338716883, 1338716895, 1338716894, 1338716879, 1338716893, 1338716884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22036910057068 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:17:32.550270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/07/image_19022025_21_07_26_9367.jpg', '/home/pi/Desktop/images/19022025/21/07/image_19022025_21_07_36_10427.jpg', '/home/pi/Desktop/images/19022025/21/07/image_19022025_21_07_46_10368.jpg', '/home/pi/Desktop/images/19022025/21/08/image_19022025_21_08_16_10385.jpg', '/home/pi/Desktop/images/19022025/21/08/image_19022025_21_08_26_9341.jpg', '/home/pi/Desktop/images/19022025/21/08/image_19022025_21_08_36_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/07/image_19022025_21_07_26_9367.jpg
/home/pi/Desktop/images/19022025/21/07/image_19022025_21_07_36_10427.jpg
/home/pi/Desktop/images/19022025/21/07/image_19022025_21_07_46_10368.jpg
/home/pi/Desktop/images/19022025/21/08/image_19022025_21_08_16_10385.jpg
/home/pi/Desktop/images/19022025/21/08/image_19022025_21_08_26_9341.jpg
/home/pi/Desktop/images/19022025/21/08/image_19022025_21_08_36_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338717591","1338717624","1338717473","1338717586","1338717524","1338717589"],"photo_ids_order":["1338717473","1338717524","1338717586","1338717589","1338717591","1338717624"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62a9c172f6c2407f8684ce2a05d550e0.jpg","text":"TemporaryFile(/tmp/multipartBody1501604703925850979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100714574,"filename":"image_19022025_21_08_26_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c48499134f181750b5eacfa7bd24edae.jpg","text":"TemporaryFile(/tmp/multipartBody4964655896693590589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100714574,"filename":"image_19022025_21_08_36_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3adb7e246cb9b7793968ffeef80782d7.jpg","text":"TemporaryFile(/tmp/multipartBody5337724587330714251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100714574,"filename":"image_19022025_21_07_26_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b24d725621cb77f9aaacbbb1bebbede9.jpg","text":"TemporaryFile(/tmp/multipartBody6270854555001634828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100714574,"filename":"image_19022025_21_07_46_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1d1a9defc03c99fe3958f69386368f7.jpg","text":"TemporaryFile(/tmp/multipartBody6289077922868963356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100714574,"filename":"image_19022025_21_07_36_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ecbcf6ea0178aef13fbec99d60e188b4.jpg","text":"TemporaryFile(/tmp/multipartBody5667584365871382744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100714574,"filename":"image_19022025_21_08_16_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338717586","file1":"1338717524","file0":"1338717473","file4":"1338717591","file5":"1338717624","file3":"1338717589"},"map_files_photo_id_array":[{"photo_id":"1338717624","filename":"file5"},{"photo_id":"1338717586","filename":"file2"},{"photo_id":"1338717591","filename":"file4"},{"photo_id":"1338717524","filename":"file1"},{"photo_id":"1338717473","filename":"file0"},{"photo_id":"1338717589","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338717591":["hashtag1","hashtag2"]},{"1338717624":["hashtag1","hashtag2"]},{"1338717473":["hashtag1","hashtag2"]},{"1338717586":["hashtag1","hashtag2"]},{"1338717524":["hashtag1","hashtag2"]},{"1338717589":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338717591, 1338717624, 1338717473, 1338717586, 1338717524, 1338717589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69806623458862 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:18:32.622464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/08/image_19022025_21_08_46_10362.jpg', '/home/pi/Desktop/images/19022025/21/08/image_19022025_21_08_56_9330.jpg', '/home/pi/Desktop/images/19022025/21/08/image_19022025_21_09_06_10326.jpg', '/home/pi/Desktop/images/19022025/21/09/image_19022025_21_09_15_9352.jpg', '/home/pi/Desktop/images/19022025/21/09/image_19022025_21_09_26_10367.jpg', '/home/pi/Desktop/images/19022025/21/09/image_19022025_21_09_46_9981.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/08/image_19022025_21_08_46_10362.jpg
/home/pi/Desktop/images/19022025/21/08/image_19022025_21_08_56_9330.jpg
/home/pi/Desktop/images/19022025/21/08/image_19022025_21_09_06_10326.jpg
/home/pi/Desktop/images/19022025/21/09/image_19022025_21_09_15_9352.jpg
/home/pi/Desktop/images/19022025/21/09/image_19022025_21_09_26_10367.jpg
/home/pi/Desktop/images/19022025/21/09/image_19022025_21_09_46_9981.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338717846","1338717843","1338717842","1338717845","1338717818","1338717844"],"photo_ids_order":["1338717818","1338717842","1338717843","1338717844","1338717845","1338717846"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/72e4f6a6f46e3fb67a1b7a58f0791fc4.jpg","text":"TemporaryFile(/tmp/multipartBody5070699407016284452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100774658,"filename":"image_19022025_21_09_46_9981.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/43169901adb972bcb3bdeb30c4925755.jpg","text":"TemporaryFile(/tmp/multipartBody5948041626816162301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100774658,"filename":"image_19022025_21_09_06_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7138a4e693abe4ccc38eba466cd9fcaf.jpg","text":"TemporaryFile(/tmp/multipartBody1450374641803655170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100774658,"filename":"image_19022025_21_08_56_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/241627931bcca6791bf0a7a178396d9e.jpg","text":"TemporaryFile(/tmp/multipartBody664968389375910672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100774658,"filename":"image_19022025_21_09_26_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8953b483890baeeef78f2c3490d080be.jpg","text":"TemporaryFile(/tmp/multipartBody6918188987856791567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100774658,"filename":"image_19022025_21_08_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b96790576d1ebe628088e81306661ba7.jpg","text":"TemporaryFile(/tmp/multipartBody1587559734166140755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100774658,"filename":"image_19022025_21_09_15_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338717843","file1":"1338717842","file0":"1338717818","file4":"1338717845","file5":"1338717846","file3":"1338717844"},"map_files_photo_id_array":[{"photo_id":"1338717846","filename":"file5"},{"photo_id":"1338717843","filename":"file2"},{"photo_id":"1338717845","filename":"file4"},{"photo_id":"1338717842","filename":"file1"},{"photo_id":"1338717818","filename":"file0"},{"photo_id":"1338717844","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338717846":["hashtag1","hashtag2"]},{"1338717843":["hashtag1","hashtag2"]},{"1338717842":["hashtag1","hashtag2"]},{"1338717845":["hashtag1","hashtag2"]},{"1338717818":["hashtag1","hashtag2"]},{"1338717844":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338717846, 1338717843, 1338717842, 1338717845, 1338717818, 1338717844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23625826835632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:19:32.937487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/09/image_19022025_21_09_56_9349.jpg', '/home/pi/Desktop/images/19022025/21/10/image_19022025_21_10_16_10341.jpg', '/home/pi/Desktop/images/19022025/21/11/image_19022025_21_11_36_10345.jpg', '/home/pi/Desktop/images/19022025/21/11/image_19022025_21_11_56_10352.jpg', '/home/pi/Desktop/images/19022025/21/11/image_19022025_21_12_06_10417.jpg', '/home/pi/Desktop/images/19022025/21/12/image_19022025_21_12_16_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/09/image_19022025_21_09_56_9349.jpg
/home/pi/Desktop/images/19022025/21/10/image_19022025_21_10_16_10341.jpg
/home/pi/Desktop/images/19022025/21/11/image_19022025_21_11_36_10345.jpg
/home/pi/Desktop/images/19022025/21/11/image_19022025_21_11_56_10352.jpg
/home/pi/Desktop/images/19022025/21/11/image_19022025_21_12_06_10417.jpg
/home/pi/Desktop/images/19022025/21/12/image_19022025_21_12_16_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338718005","1338717963","1338718029","1338718017","1338717998","1338718004"],"photo_ids_order":["1338717963","1338717998","1338718004","1338718005","1338718017","1338718029"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/20b347596f941dba84bf9b0b61a24501.jpg","text":"TemporaryFile(/tmp/multipartBody4580565831185899844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100834975,"filename":"image_19022025_21_11_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b14ef1ff08f43cf1ac7a128a77bef3d1.jpg","text":"TemporaryFile(/tmp/multipartBody4417749154769614863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100834975,"filename":"image_19022025_21_09_56_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c6c00e5b511ae72cccf151cf43531c16.jpg","text":"TemporaryFile(/tmp/multipartBody4710268149512840400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100834975,"filename":"image_19022025_21_12_16_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04f38b89887bd16b953c753663a7ef9f.jpg","text":"TemporaryFile(/tmp/multipartBody6946240101454688997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100834975,"filename":"image_19022025_21_12_06_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3079182c3270092272ec297364bc44a3.jpg","text":"TemporaryFile(/tmp/multipartBody5225129176679388944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100834975,"filename":"image_19022025_21_10_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75cd8796139e868556c7e7d0eff836c4.jpg","text":"TemporaryFile(/tmp/multipartBody2515260664339417172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100834975,"filename":"image_19022025_21_11_36_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338718004","file1":"1338717998","file0":"1338717963","file4":"1338718017","file5":"1338718029","file3":"1338718005"},"map_files_photo_id_array":[{"photo_id":"1338718029","filename":"file5"},{"photo_id":"1338718004","filename":"file2"},{"photo_id":"1338718017","filename":"file4"},{"photo_id":"1338717998","filename":"file1"},{"photo_id":"1338717963","filename":"file0"},{"photo_id":"1338718005","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338718005":["hashtag1","hashtag2"]},{"1338717963":["hashtag1","hashtag2"]},{"1338718029":["hashtag1","hashtag2"]},{"1338718017":["hashtag1","hashtag2"]},{"1338717998":["hashtag1","hashtag2"]},{"1338718004":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338718005, 1338717963, 1338718029, 1338718017, 1338717998, 1338718004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14643406867981 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:20:33.045495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/12/image_19022025_21_12_46_10365.jpg', '/home/pi/Desktop/images/19022025/21/13/image_19022025_21_13_26_10342.jpg', '/home/pi/Desktop/images/19022025/21/13/image_19022025_21_13_36_9315.jpg', '/home/pi/Desktop/images/19022025/21/13/image_19022025_21_13_46_10346.jpg', '/home/pi/Desktop/images/19022025/21/14/image_19022025_21_14_16_10426.jpg', '/home/pi/Desktop/images/19022025/21/14/image_19022025_21_14_26_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/12/image_19022025_21_12_46_10365.jpg
/home/pi/Desktop/images/19022025/21/13/image_19022025_21_13_26_10342.jpg
/home/pi/Desktop/images/19022025/21/13/image_19022025_21_13_36_9315.jpg
/home/pi/Desktop/images/19022025/21/13/image_19022025_21_13_46_10346.jpg
/home/pi/Desktop/images/19022025/21/14/image_19022025_21_14_16_10426.jpg
/home/pi/Desktop/images/19022025/21/14/image_19022025_21_14_26_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338718152","1338718134","1338718151","1338718148","1338718145","1338718150"],"photo_ids_order":["1338718134","1338718145","1338718148","1338718150","1338718151","1338718152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/31cccc698c3634cddf8ebdced085632b.jpg","text":"TemporaryFile(/tmp/multipartBody7392387012986191275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100895101,"filename":"image_19022025_21_14_26_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7275481a5cd150425b2e1226e03c7dbc.jpg","text":"TemporaryFile(/tmp/multipartBody8884033498363354838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100895101,"filename":"image_19022025_21_12_46_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f2cb879f495c9f10dccbdc2fb739b55.jpg","text":"TemporaryFile(/tmp/multipartBody282298782254418195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100895101,"filename":"image_19022025_21_14_16_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3818c0ad198a090e66c39a8273956d37.jpg","text":"TemporaryFile(/tmp/multipartBody6177559303302463716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100895101,"filename":"image_19022025_21_13_36_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9202ef162b80522513d7ea436556a8c0.jpg","text":"TemporaryFile(/tmp/multipartBody8446661016114154547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100895101,"filename":"image_19022025_21_13_26_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/300e47ce5819ebc776be3d37f5c4b6ab.jpg","text":"TemporaryFile(/tmp/multipartBody2691845687643294064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100895101,"filename":"image_19022025_21_13_46_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338718148","file1":"1338718145","file0":"1338718134","file4":"1338718151","file5":"1338718152","file3":"1338718150"},"map_files_photo_id_array":[{"photo_id":"1338718152","filename":"file5"},{"photo_id":"1338718148","filename":"file2"},{"photo_id":"1338718151","filename":"file4"},{"photo_id":"1338718145","filename":"file1"},{"photo_id":"1338718134","filename":"file0"},{"photo_id":"1338718150","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338718152":["hashtag1","hashtag2"]},{"1338718134":["hashtag1","hashtag2"]},{"1338718151":["hashtag1","hashtag2"]},{"1338718148":["hashtag1","hashtag2"]},{"1338718145":["hashtag1","hashtag2"]},{"1338718150":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338718152, 1338718134, 1338718151, 1338718148, 1338718145, 1338718150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18419671058655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:21:32.156439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/14/image_19022025_21_14_36_10330.jpg', '/home/pi/Desktop/images/19022025/21/14/image_19022025_21_14_46_10337.jpg', '/home/pi/Desktop/images/19022025/21/15/image_19022025_21_15_26_9402.jpg', '/home/pi/Desktop/images/19022025/21/15/image_19022025_21_15_36_10318.jpg', '/home/pi/Desktop/images/19022025/21/15/image_19022025_21_15_46_10391.jpg', '/home/pi/Desktop/images/19022025/21/16/image_19022025_21_16_36_10317.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/14/image_19022025_21_14_36_10330.jpg
/home/pi/Desktop/images/19022025/21/14/image_19022025_21_14_46_10337.jpg
/home/pi/Desktop/images/19022025/21/15/image_19022025_21_15_26_9402.jpg
/home/pi/Desktop/images/19022025/21/15/image_19022025_21_15_36_10318.jpg
/home/pi/Desktop/images/19022025/21/15/image_19022025_21_15_46_10391.jpg
/home/pi/Desktop/images/19022025/21/16/image_19022025_21_16_36_10317.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338718251","1338718233","1338718253","1338718252","1338718249","1338718254"],"photo_ids_order":["1338718233","1338718249","1338718251","1338718252","1338718253","1338718254"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef009b8de27320079f6d9dbf1a7153a2.jpg","text":"TemporaryFile(/tmp/multipartBody3795195095296680167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100954183,"filename":"image_19022025_21_15_26_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ea9384d02fc64c0d40883d3313ef3bcb.jpg","text":"TemporaryFile(/tmp/multipartBody2583249823805544594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100954183,"filename":"image_19022025_21_14_36_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e9103811a81dbe8f94a1fc4de852cb59.jpg","text":"TemporaryFile(/tmp/multipartBody5336938900785068268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100954183,"filename":"image_19022025_21_15_46_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c6e345315bf9ea596be8338227b86095.jpg","text":"TemporaryFile(/tmp/multipartBody1433113930766769189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100954183,"filename":"image_19022025_21_15_36_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2f9844e4aac9a22ed690f41dc4c0372f.jpg","text":"TemporaryFile(/tmp/multipartBody2801711782999515954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100954183,"filename":"image_19022025_21_14_46_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/97aed142883baa4fb713105497183d16.jpg","text":"TemporaryFile(/tmp/multipartBody3089476509405228753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740100954183,"filename":"image_19022025_21_16_36_10317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338718251","file1":"1338718249","file0":"1338718233","file4":"1338718253","file5":"1338718254","file3":"1338718252"},"map_files_photo_id_array":[{"photo_id":"1338718254","filename":"file5"},{"photo_id":"1338718251","filename":"file2"},{"photo_id":"1338718253","filename":"file4"},{"photo_id":"1338718249","filename":"file1"},{"photo_id":"1338718233","filename":"file0"},{"photo_id":"1338718252","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338718251":["hashtag1","hashtag2"]},{"1338718233":["hashtag1","hashtag2"]},{"1338718253":["hashtag1","hashtag2"]},{"1338718252":["hashtag1","hashtag2"]},{"1338718249":["hashtag1","hashtag2"]},{"1338718254":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338718251, 1338718233, 1338718253, 1338718252, 1338718249, 1338718254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33294057846069 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:22:32.327593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/16/image_19022025_21_16_46_9429.jpg', '/home/pi/Desktop/images/19022025/21/16/image_19022025_21_16_56_10381.jpg', '/home/pi/Desktop/images/19022025/21/16/image_19022025_21_17_06_10383.jpg', '/home/pi/Desktop/images/19022025/21/17/image_19022025_21_17_16_9334.jpg', '/home/pi/Desktop/images/19022025/21/17/image_19022025_21_17_56_10337.jpg', '/home/pi/Desktop/images/19022025/21/17/image_19022025_21_18_06_9434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/16/image_19022025_21_16_46_9429.jpg
/home/pi/Desktop/images/19022025/21/16/image_19022025_21_16_56_10381.jpg
/home/pi/Desktop/images/19022025/21/16/image_19022025_21_17_06_10383.jpg
/home/pi/Desktop/images/19022025/21/17/image_19022025_21_17_16_9334.jpg
/home/pi/Desktop/images/19022025/21/17/image_19022025_21_17_56_10337.jpg
/home/pi/Desktop/images/19022025/21/17/image_19022025_21_18_06_9434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338718679","1338718664","1338718505","1338718582","1338718324","1338718429"],"photo_ids_order":["1338718324","1338718429","1338718505","1338718582","1338718664","1338718679"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c09ef7257eb0927126443a8b6e4e1b59.jpg","text":"TemporaryFile(/tmp/multipartBody6817945223962152846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101014384,"filename":"image_19022025_21_18_06_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3a812cbb78129d3573ece836237a8cc6.jpg","text":"TemporaryFile(/tmp/multipartBody1553907776702398750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101014384,"filename":"image_19022025_21_17_56_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a8cd4fe6803dfc9b7b8a201c1738373b.jpg","text":"TemporaryFile(/tmp/multipartBody9134945414920242522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101014384,"filename":"image_19022025_21_17_06_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/538b9f291c632292e364699d0ae3525c.jpg","text":"TemporaryFile(/tmp/multipartBody93131198108832825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101014384,"filename":"image_19022025_21_17_16_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e6e604499d389a3028db5c67f25b9830.jpg","text":"TemporaryFile(/tmp/multipartBody3464098111230242453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101014384,"filename":"image_19022025_21_16_46_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74fcb0a4282a6729cf9dac598a205dfc.jpg","text":"TemporaryFile(/tmp/multipartBody459482361744416542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101014384,"filename":"image_19022025_21_16_56_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338718505","file1":"1338718429","file0":"1338718324","file4":"1338718664","file5":"1338718679","file3":"1338718582"},"map_files_photo_id_array":[{"photo_id":"1338718679","filename":"file5"},{"photo_id":"1338718505","filename":"file2"},{"photo_id":"1338718664","filename":"file4"},{"photo_id":"1338718429","filename":"file1"},{"photo_id":"1338718324","filename":"file0"},{"photo_id":"1338718582","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338718679":["hashtag1","hashtag2"]},{"1338718664":["hashtag1","hashtag2"]},{"1338718505":["hashtag1","hashtag2"]},{"1338718582":["hashtag1","hashtag2"]},{"1338718324":["hashtag1","hashtag2"]},{"1338718429":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338718679, 1338718664, 1338718505, 1338718582, 1338718324, 1338718429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81142807006836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:23:32.451890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/18/image_19022025_21_18_16_10329.jpg', '/home/pi/Desktop/images/19022025/21/18/image_19022025_21_18_36_9317.jpg', '/home/pi/Desktop/images/19022025/21/18/image_19022025_21_18_46_10362.jpg', '/home/pi/Desktop/images/19022025/21/19/image_19022025_21_19_26_10398.jpg', '/home/pi/Desktop/images/19022025/21/19/image_19022025_21_20_06_9331.jpg', '/home/pi/Desktop/images/19022025/21/20/image_19022025_21_20_16_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/18/image_19022025_21_18_16_10329.jpg
/home/pi/Desktop/images/19022025/21/18/image_19022025_21_18_36_9317.jpg
/home/pi/Desktop/images/19022025/21/18/image_19022025_21_18_46_10362.jpg
/home/pi/Desktop/images/19022025/21/19/image_19022025_21_19_26_10398.jpg
/home/pi/Desktop/images/19022025/21/19/image_19022025_21_20_06_9331.jpg
/home/pi/Desktop/images/19022025/21/20/image_19022025_21_20_16_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338718874","1338718780","1338718879","1338718852","1338718840","1338718878"],"photo_ids_order":["1338718780","1338718840","1338718852","1338718874","1338718878","1338718879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d2a9a279e2c9ddafbdd4895e9888e2f.jpg","text":"TemporaryFile(/tmp/multipartBody8666587431055216059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101074522,"filename":"image_19022025_21_19_26_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a0f0f60e5863906b99e34c652504b8c9.jpg","text":"TemporaryFile(/tmp/multipartBody3880091848993130112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101074522,"filename":"image_19022025_21_18_16_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f02b25fc376cfb49fe1e45687e77e556.jpg","text":"TemporaryFile(/tmp/multipartBody6934659118969122570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101074522,"filename":"image_19022025_21_20_16_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/38a541bc76eacf2285b8119f3137d25b.jpg","text":"TemporaryFile(/tmp/multipartBody8844034137154191388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101074522,"filename":"image_19022025_21_18_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f40aa741c8b439d430690a0b893734cc.jpg","text":"TemporaryFile(/tmp/multipartBody6671894854977350511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101074522,"filename":"image_19022025_21_18_36_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f9b9c4becad0d96d491031465f518a75.jpg","text":"TemporaryFile(/tmp/multipartBody6274075026935946337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101074522,"filename":"image_19022025_21_20_06_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338718852","file1":"1338718840","file0":"1338718780","file4":"1338718878","file5":"1338718879","file3":"1338718874"},"map_files_photo_id_array":[{"photo_id":"1338718879","filename":"file5"},{"photo_id":"1338718852","filename":"file2"},{"photo_id":"1338718878","filename":"file4"},{"photo_id":"1338718840","filename":"file1"},{"photo_id":"1338718780","filename":"file0"},{"photo_id":"1338718874","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338718874":["hashtag1","hashtag2"]},{"1338718780":["hashtag1","hashtag2"]},{"1338718879":["hashtag1","hashtag2"]},{"1338718852":["hashtag1","hashtag2"]},{"1338718840":["hashtag1","hashtag2"]},{"1338718878":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338718874, 1338718780, 1338718879, 1338718852, 1338718840, 1338718878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96462035179138 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:24:32.714788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/20/image_19022025_21_20_26_9466.jpg', '/home/pi/Desktop/images/19022025/21/21/image_19022025_21_21_16_10407.jpg', '/home/pi/Desktop/images/19022025/21/21/image_19022025_21_21_26_9424.jpg', '/home/pi/Desktop/images/19022025/21/21/image_19022025_21_21_56_10352.jpg', '/home/pi/Desktop/images/19022025/21/22/image_19022025_21_22_16_9346.jpg', '/home/pi/Desktop/images/19022025/21/22/image_19022025_21_22_36_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/20/image_19022025_21_20_26_9466.jpg
/home/pi/Desktop/images/19022025/21/21/image_19022025_21_21_16_10407.jpg
/home/pi/Desktop/images/19022025/21/21/image_19022025_21_21_26_9424.jpg
/home/pi/Desktop/images/19022025/21/21/image_19022025_21_21_56_10352.jpg
/home/pi/Desktop/images/19022025/21/22/image_19022025_21_22_16_9346.jpg
/home/pi/Desktop/images/19022025/21/22/image_19022025_21_22_36_9400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338718929","1338718949","1338718940","1338718928","1338718943","1338718930"],"photo_ids_order":["1338718928","1338718929","1338718930","1338718940","1338718943","1338718949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a400e3c63323a5f6b92250f0f6677e98.jpg","text":"TemporaryFile(/tmp/multipartBody5887164617381223355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101134741,"filename":"image_19022025_21_21_16_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae5cc0480a635d3efa9ed0ba6b1c7e21.jpg","text":"TemporaryFile(/tmp/multipartBody8484511745077560389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101134741,"filename":"image_19022025_21_22_36_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c748fae73e0a5fdfcc1732bdba3bea9d.jpg","text":"TemporaryFile(/tmp/multipartBody1284167553039040191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101134741,"filename":"image_19022025_21_21_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae3bff0f208ac2de4197e7a51ae3f236.jpg","text":"TemporaryFile(/tmp/multipartBody8788268030563987591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101134741,"filename":"image_19022025_21_20_26_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2b9b6895e03338652dddadbd96181823.jpg","text":"TemporaryFile(/tmp/multipartBody7101014936421830298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101134741,"filename":"image_19022025_21_22_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff43e898e5d98021ecd1651c32487570.jpg","text":"TemporaryFile(/tmp/multipartBody5942857946773213766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101134741,"filename":"image_19022025_21_21_26_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338718930","file1":"1338718929","file0":"1338718928","file4":"1338718943","file5":"1338718949","file3":"1338718940"},"map_files_photo_id_array":[{"photo_id":"1338718949","filename":"file5"},{"photo_id":"1338718930","filename":"file2"},{"photo_id":"1338718943","filename":"file4"},{"photo_id":"1338718929","filename":"file1"},{"photo_id":"1338718928","filename":"file0"},{"photo_id":"1338718940","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338718929":["hashtag1","hashtag2"]},{"1338718949":["hashtag1","hashtag2"]},{"1338718940":["hashtag1","hashtag2"]},{"1338718928":["hashtag1","hashtag2"]},{"1338718943":["hashtag1","hashtag2"]},{"1338718930":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338718929, 1338718949, 1338718940, 1338718928, 1338718943, 1338718930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6051869392395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:25:33.021192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/22/image_19022025_21_22_56_10424.jpg', '/home/pi/Desktop/images/19022025/21/22/image_19022025_21_23_06_9399.jpg', '/home/pi/Desktop/images/19022025/21/23/image_19022025_21_23_26_10460.jpg', '/home/pi/Desktop/images/19022025/21/23/image_19022025_21_23_46_10344.jpg', '/home/pi/Desktop/images/19022025/21/23/image_19022025_21_23_56_9465.jpg', '/home/pi/Desktop/images/19022025/21/23/image_19022025_21_24_06_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/22/image_19022025_21_22_56_10424.jpg
/home/pi/Desktop/images/19022025/21/22/image_19022025_21_23_06_9399.jpg
/home/pi/Desktop/images/19022025/21/23/image_19022025_21_23_26_10460.jpg
/home/pi/Desktop/images/19022025/21/23/image_19022025_21_23_46_10344.jpg
/home/pi/Desktop/images/19022025/21/23/image_19022025_21_23_56_9465.jpg
/home/pi/Desktop/images/19022025/21/23/image_19022025_21_24_06_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338718982","1338718976","1338718993","1338718984","1338718978","1338718998"],"photo_ids_order":["1338718976","1338718978","1338718982","1338718984","1338718993","1338718998"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/91cce73743d12eab91f1b54018328807.jpg","text":"TemporaryFile(/tmp/multipartBody1828269260746240133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101195042,"filename":"image_19022025_21_23_26_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5e08ad7922370bc0d65180eb5bca1b68.jpg","text":"TemporaryFile(/tmp/multipartBody5504560986814743539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101195042,"filename":"image_19022025_21_22_56_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9120aca4f9a291f8c57923f907a28038.jpg","text":"TemporaryFile(/tmp/multipartBody5866748572848336728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101195042,"filename":"image_19022025_21_23_56_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8bf85e3b18c7039995f78740ef313b72.jpg","text":"TemporaryFile(/tmp/multipartBody2746372618181315299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101195042,"filename":"image_19022025_21_23_46_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/70d7540b010a281a006a94f2be1ec876.jpg","text":"TemporaryFile(/tmp/multipartBody707360385356441821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101195042,"filename":"image_19022025_21_23_06_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/54c534495bb85e612a40b30401ccfcc5.jpg","text":"TemporaryFile(/tmp/multipartBody4869071900562973948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101195042,"filename":"image_19022025_21_24_06_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338718982","file1":"1338718978","file0":"1338718976","file4":"1338718993","file5":"1338718998","file3":"1338718984"},"map_files_photo_id_array":[{"photo_id":"1338718998","filename":"file5"},{"photo_id":"1338718982","filename":"file2"},{"photo_id":"1338718993","filename":"file4"},{"photo_id":"1338718978","filename":"file1"},{"photo_id":"1338718976","filename":"file0"},{"photo_id":"1338718984","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338718982":["hashtag1","hashtag2"]},{"1338718976":["hashtag1","hashtag2"]},{"1338718993":["hashtag1","hashtag2"]},{"1338718984":["hashtag1","hashtag2"]},{"1338718978":["hashtag1","hashtag2"]},{"1338718998":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338718982, 1338718976, 1338718993, 1338718984, 1338718978, 1338718998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55542778968811 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:26:33.146817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/24/image_19022025_21_24_26_9421.jpg', '/home/pi/Desktop/images/19022025/21/24/image_19022025_21_24_46_10438.jpg', '/home/pi/Desktop/images/19022025/21/24/image_19022025_21_24_56_9324.jpg', '/home/pi/Desktop/images/19022025/21/24/image_19022025_21_25_06_10408.jpg', '/home/pi/Desktop/images/19022025/21/25/image_19022025_21_25_16_9420.jpg', '/home/pi/Desktop/images/19022025/21/25/image_19022025_21_25_36_10318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/24/image_19022025_21_24_26_9421.jpg
/home/pi/Desktop/images/19022025/21/24/image_19022025_21_24_46_10438.jpg
/home/pi/Desktop/images/19022025/21/24/image_19022025_21_24_56_9324.jpg
/home/pi/Desktop/images/19022025/21/24/image_19022025_21_25_06_10408.jpg
/home/pi/Desktop/images/19022025/21/25/image_19022025_21_25_16_9420.jpg
/home/pi/Desktop/images/19022025/21/25/image_19022025_21_25_36_10318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338719033","1338719018","1338719032","1338719026","1338719014","1338719031"],"photo_ids_order":["1338719014","1338719018","1338719026","1338719031","1338719032","1338719033"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cbf6cc628de99a36929a2f46a513fe44.jpg","text":"TemporaryFile(/tmp/multipartBody508925127299618896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101255179,"filename":"image_19022025_21_25_36_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/535fe078d2755801923c2e473de196f2.jpg","text":"TemporaryFile(/tmp/multipartBody4740449126470319872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101255179,"filename":"image_19022025_21_24_46_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/72b78bc02df4cd7ae758b2a172b17cc7.jpg","text":"TemporaryFile(/tmp/multipartBody5939637860141952856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101255179,"filename":"image_19022025_21_25_16_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7cd0300d20929155bb74bf56d6db3fd4.jpg","text":"TemporaryFile(/tmp/multipartBody4014370864332940602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101255179,"filename":"image_19022025_21_24_56_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6091ba1ddbf4c7c7cef4a6acd1ba5e07.jpg","text":"TemporaryFile(/tmp/multipartBody8339030234990888661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101255179,"filename":"image_19022025_21_24_26_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7fe5297be4baa225aeabf597a1e598f.jpg","text":"TemporaryFile(/tmp/multipartBody1769327015966468636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101255179,"filename":"image_19022025_21_25_06_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338719026","file1":"1338719018","file0":"1338719014","file4":"1338719032","file5":"1338719033","file3":"1338719031"},"map_files_photo_id_array":[{"photo_id":"1338719033","filename":"file5"},{"photo_id":"1338719026","filename":"file2"},{"photo_id":"1338719032","filename":"file4"},{"photo_id":"1338719018","filename":"file1"},{"photo_id":"1338719014","filename":"file0"},{"photo_id":"1338719031","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338719033":["hashtag1","hashtag2"]},{"1338719018":["hashtag1","hashtag2"]},{"1338719032":["hashtag1","hashtag2"]},{"1338719026":["hashtag1","hashtag2"]},{"1338719014":["hashtag1","hashtag2"]},{"1338719031":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338719033, 1338719018, 1338719032, 1338719026, 1338719014, 1338719031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.71306896209717 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:27:32.223180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/25/image_19022025_21_25_46_9437.jpg', '/home/pi/Desktop/images/19022025/21/25/image_19022025_21_25_56_10346.jpg', '/home/pi/Desktop/images/19022025/21/26/image_19022025_21_26_16_9335.jpg', '/home/pi/Desktop/images/19022025/21/26/image_19022025_21_26_26_10325.jpg', '/home/pi/Desktop/images/19022025/21/26/image_19022025_21_26_56_10356.jpg', '/home/pi/Desktop/images/19022025/21/27/image_19022025_21_27_26_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/25/image_19022025_21_25_46_9437.jpg
/home/pi/Desktop/images/19022025/21/25/image_19022025_21_25_56_10346.jpg
/home/pi/Desktop/images/19022025/21/26/image_19022025_21_26_16_9335.jpg
/home/pi/Desktop/images/19022025/21/26/image_19022025_21_26_26_10325.jpg
/home/pi/Desktop/images/19022025/21/26/image_19022025_21_26_56_10356.jpg
/home/pi/Desktop/images/19022025/21/27/image_19022025_21_27_26_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338719078","1338719060","1338719080","1338719074","1338719079","1338719052"],"photo_ids_order":["1338719052","1338719060","1338719074","1338719078","1338719079","1338719080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f4edd8cf7a71b90a244bd8183b9e52e.jpg","text":"TemporaryFile(/tmp/multipartBody7747605305389819536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101314274,"filename":"image_19022025_21_26_26_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5d96896c4da3c8a58d415529073706e1.jpg","text":"TemporaryFile(/tmp/multipartBody5191726080692780286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101314274,"filename":"image_19022025_21_25_56_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/944d8d1962dc21341e31ea36fd53cfd0.jpg","text":"TemporaryFile(/tmp/multipartBody2159905691200163992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101314274,"filename":"image_19022025_21_27_26_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32841a70b18ba29f19c98d7523ad7c74.jpg","text":"TemporaryFile(/tmp/multipartBody2084335611747382736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101314274,"filename":"image_19022025_21_26_16_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9b3aada16e1bd737bbd65fd62914a697.jpg","text":"TemporaryFile(/tmp/multipartBody8947923246499776882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101314274,"filename":"image_19022025_21_26_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a889672c4db83bddb1ec3529c9860ed1.jpg","text":"TemporaryFile(/tmp/multipartBody1367807304066663087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101314274,"filename":"image_19022025_21_25_46_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338719074","file1":"1338719060","file0":"1338719052","file4":"1338719079","file5":"1338719080","file3":"1338719078"},"map_files_photo_id_array":[{"photo_id":"1338719080","filename":"file5"},{"photo_id":"1338719074","filename":"file2"},{"photo_id":"1338719079","filename":"file4"},{"photo_id":"1338719060","filename":"file1"},{"photo_id":"1338719052","filename":"file0"},{"photo_id":"1338719078","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338719078":["hashtag1","hashtag2"]},{"1338719060":["hashtag1","hashtag2"]},{"1338719080":["hashtag1","hashtag2"]},{"1338719074":["hashtag1","hashtag2"]},{"1338719079":["hashtag1","hashtag2"]},{"1338719052":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338719078, 1338719060, 1338719080, 1338719074, 1338719079, 1338719052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18968629837036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:28:32.985279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/27/image_19022025_21_27_36_9330.jpg', '/home/pi/Desktop/images/19022025/21/27/image_19022025_21_28_06_9391.jpg', '/home/pi/Desktop/images/19022025/21/28/image_19022025_21_28_26_9344.jpg', '/home/pi/Desktop/images/19022025/21/28/image_19022025_21_28_56_9352.jpg', '/home/pi/Desktop/images/19022025/21/28/image_19022025_21_29_06_10333.jpg', '/home/pi/Desktop/images/19022025/21/29/image_19022025_21_29_16_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/27/image_19022025_21_27_36_9330.jpg
/home/pi/Desktop/images/19022025/21/27/image_19022025_21_28_06_9391.jpg
/home/pi/Desktop/images/19022025/21/28/image_19022025_21_28_26_9344.jpg
/home/pi/Desktop/images/19022025/21/28/image_19022025_21_28_56_9352.jpg
/home/pi/Desktop/images/19022025/21/28/image_19022025_21_29_06_10333.jpg
/home/pi/Desktop/images/19022025/21/29/image_19022025_21_29_16_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338719127","1338719109","1338719123","1338719104","1338719113","1338719115"],"photo_ids_order":["1338719104","1338719109","1338719113","1338719115","1338719123","1338719127"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f56a02c17642fb8a2778554cb5201725.jpg","text":"TemporaryFile(/tmp/multipartBody7935027878422385564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101375484,"filename":"image_19022025_21_29_16_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c3e68195e68fc471af9135d99676e29b.jpg","text":"TemporaryFile(/tmp/multipartBody8761126649352215024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101375484,"filename":"image_19022025_21_28_06_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/560890c231e266c8c93eb2390a8f820c.jpg","text":"TemporaryFile(/tmp/multipartBody3112468870962678932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101375484,"filename":"image_19022025_21_29_06_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1c7b6353729d2bfdd4360298e07b197.jpg","text":"TemporaryFile(/tmp/multipartBody1084620732549466832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101375484,"filename":"image_19022025_21_27_36_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6799f78193ec7937e6b5dfa2779b287c.jpg","text":"TemporaryFile(/tmp/multipartBody1728684004381822460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101375484,"filename":"image_19022025_21_28_26_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9cb225886cb3d8fe1b3da844fcc0fc6e.jpg","text":"TemporaryFile(/tmp/multipartBody5416513058172680683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101375484,"filename":"image_19022025_21_28_56_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338719113","file1":"1338719109","file0":"1338719104","file4":"1338719123","file5":"1338719127","file3":"1338719115"},"map_files_photo_id_array":[{"photo_id":"1338719127","filename":"file5"},{"photo_id":"1338719113","filename":"file2"},{"photo_id":"1338719123","filename":"file4"},{"photo_id":"1338719109","filename":"file1"},{"photo_id":"1338719104","filename":"file0"},{"photo_id":"1338719115","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338719127":["hashtag1","hashtag2"]},{"1338719109":["hashtag1","hashtag2"]},{"1338719123":["hashtag1","hashtag2"]},{"1338719104":["hashtag1","hashtag2"]},{"1338719113":["hashtag1","hashtag2"]},{"1338719115":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338719127, 1338719109, 1338719123, 1338719104, 1338719113, 1338719115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51272654533386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:29:32.705249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/29/image_19022025_21_29_56_9349.jpg', '/home/pi/Desktop/images/19022025/21/30/image_19022025_21_30_16_9450.jpg', '/home/pi/Desktop/images/19022025/21/30/image_19022025_21_30_36_10393.jpg', '/home/pi/Desktop/images/19022025/21/30/image_19022025_21_30_46_9331.jpg', '/home/pi/Desktop/images/19022025/21/30/image_19022025_21_30_56_10353.jpg', '/home/pi/Desktop/images/19022025/21/31/image_19022025_21_31_16_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/29/image_19022025_21_29_56_9349.jpg
/home/pi/Desktop/images/19022025/21/30/image_19022025_21_30_16_9450.jpg
/home/pi/Desktop/images/19022025/21/30/image_19022025_21_30_36_10393.jpg
/home/pi/Desktop/images/19022025/21/30/image_19022025_21_30_46_9331.jpg
/home/pi/Desktop/images/19022025/21/30/image_19022025_21_30_56_10353.jpg
/home/pi/Desktop/images/19022025/21/31/image_19022025_21_31_16_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338719884","1338719569","1338719772","1338719478","1338719625","1338719712"],"photo_ids_order":["1338719478","1338719569","1338719625","1338719712","1338719772","1338719884"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b0d12c00878a7c33e37182c2eadbf01c.jpg","text":"TemporaryFile(/tmp/multipartBody5071969800913922318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101434751,"filename":"image_19022025_21_31_16_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fee2666cff18765a6ff926140130de8d.jpg","text":"TemporaryFile(/tmp/multipartBody1875874346192454527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101434751,"filename":"image_19022025_21_30_16_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e27fcc12adb3e053b905467d59dc004.jpg","text":"TemporaryFile(/tmp/multipartBody7240024745364585254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101434751,"filename":"image_19022025_21_30_56_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92113d03325b1c3f05fedca5c3db472f.jpg","text":"TemporaryFile(/tmp/multipartBody1485538435410577263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101434751,"filename":"image_19022025_21_29_56_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/09e335c32ec5d9129eb3b8efb18d27b2.jpg","text":"TemporaryFile(/tmp/multipartBody6867825202804526682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101434751,"filename":"image_19022025_21_30_36_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa84755d8da95a7c400700cd0c7571aa.jpg","text":"TemporaryFile(/tmp/multipartBody2687424852994711944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101434751,"filename":"image_19022025_21_30_46_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338719625","file1":"1338719569","file0":"1338719478","file4":"1338719772","file5":"1338719884","file3":"1338719712"},"map_files_photo_id_array":[{"photo_id":"1338719884","filename":"file5"},{"photo_id":"1338719625","filename":"file2"},{"photo_id":"1338719772","filename":"file4"},{"photo_id":"1338719569","filename":"file1"},{"photo_id":"1338719478","filename":"file0"},{"photo_id":"1338719712","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338719884":["hashtag1","hashtag2"]},{"1338719569":["hashtag1","hashtag2"]},{"1338719772":["hashtag1","hashtag2"]},{"1338719478":["hashtag1","hashtag2"]},{"1338719625":["hashtag1","hashtag2"]},{"1338719712":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338719884, 1338719569, 1338719772, 1338719478, 1338719625, 1338719712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61827301979065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:30:32.891427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/31/image_19022025_21_31_46_9337.jpg', '/home/pi/Desktop/images/19022025/21/32/image_19022025_21_32_26_10352.jpg', '/home/pi/Desktop/images/19022025/21/32/image_19022025_21_32_36_9339.jpg', '/home/pi/Desktop/images/19022025/21/32/image_19022025_21_33_06_9325.jpg', '/home/pi/Desktop/images/19022025/21/33/image_19022025_21_33_16_10352.jpg', '/home/pi/Desktop/images/19022025/21/33/image_19022025_21_33_26_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/31/image_19022025_21_31_46_9337.jpg
/home/pi/Desktop/images/19022025/21/32/image_19022025_21_32_26_10352.jpg
/home/pi/Desktop/images/19022025/21/32/image_19022025_21_32_36_9339.jpg
/home/pi/Desktop/images/19022025/21/32/image_19022025_21_33_06_9325.jpg
/home/pi/Desktop/images/19022025/21/33/image_19022025_21_33_16_10352.jpg
/home/pi/Desktop/images/19022025/21/33/image_19022025_21_33_26_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338720372","1338720513","1338720584","1338720464","1338720410","1338720580"],"photo_ids_order":["1338720372","1338720410","1338720464","1338720513","1338720580","1338720584"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c3bbef71596083e7ece063e04b6a4f53.jpg","text":"TemporaryFile(/tmp/multipartBody7274013868587272957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101494940,"filename":"image_19022025_21_31_46_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4fc06bf3fc9d1b018af14b90dbf7fe3e.jpg","text":"TemporaryFile(/tmp/multipartBody4523070026136115577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101494940,"filename":"image_19022025_21_33_06_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c44e4ff5a6450f7a0fb601c63abd06b.jpg","text":"TemporaryFile(/tmp/multipartBody1109123254850532803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101494940,"filename":"image_19022025_21_33_26_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5be40664c452658bce331ab4dcdc2078.jpg","text":"TemporaryFile(/tmp/multipartBody5978272061669083437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101494940,"filename":"image_19022025_21_32_36_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75d1110e562b688318f676ea3fd0731a.jpg","text":"TemporaryFile(/tmp/multipartBody4110344609889140140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101494940,"filename":"image_19022025_21_32_26_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/048f27e56039af7f1b020d36acf6bcf0.jpg","text":"TemporaryFile(/tmp/multipartBody1233228923540049836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101494940,"filename":"image_19022025_21_33_16_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338720464","file1":"1338720410","file0":"1338720372","file4":"1338720580","file5":"1338720584","file3":"1338720513"},"map_files_photo_id_array":[{"photo_id":"1338720584","filename":"file5"},{"photo_id":"1338720464","filename":"file2"},{"photo_id":"1338720580","filename":"file4"},{"photo_id":"1338720410","filename":"file1"},{"photo_id":"1338720372","filename":"file0"},{"photo_id":"1338720513","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338720372":["hashtag1","hashtag2"]},{"1338720513":["hashtag1","hashtag2"]},{"1338720584":["hashtag1","hashtag2"]},{"1338720464":["hashtag1","hashtag2"]},{"1338720410":["hashtag1","hashtag2"]},{"1338720580":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338720372, 1338720513, 1338720584, 1338720464, 1338720410, 1338720580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.39111876487732 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:31:33.183139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/33/image_19022025_21_33_36_9314.jpg', '/home/pi/Desktop/images/19022025/21/34/image_19022025_21_35_06_10389.jpg', '/home/pi/Desktop/images/19022025/21/35/image_19022025_21_35_36_10321.jpg', '/home/pi/Desktop/images/19022025/21/35/image_19022025_21_35_56_10355.jpg', '/home/pi/Desktop/images/19022025/21/36/image_19022025_21_36_16_9441.jpg', '/home/pi/Desktop/images/19022025/21/37/image_19022025_21_37_46_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/33/image_19022025_21_33_36_9314.jpg
/home/pi/Desktop/images/19022025/21/34/image_19022025_21_35_06_10389.jpg
/home/pi/Desktop/images/19022025/21/35/image_19022025_21_35_36_10321.jpg
/home/pi/Desktop/images/19022025/21/35/image_19022025_21_35_56_10355.jpg
/home/pi/Desktop/images/19022025/21/36/image_19022025_21_36_16_9441.jpg
/home/pi/Desktop/images/19022025/21/37/image_19022025_21_37_46_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338720843","1338720630","1338720896","1338720623","1338720661","1338720727"],"photo_ids_order":["1338720623","1338720630","1338720661","1338720727","1338720843","1338720896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/082d25fb46fddb0de163c8fc88473a13.jpg","text":"TemporaryFile(/tmp/multipartBody1041822187648059282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101555231,"filename":"image_19022025_21_36_16_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5617140e5719bb9467f694c0c90c1a8c.jpg","text":"TemporaryFile(/tmp/multipartBody7619627371175051541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101555231,"filename":"image_19022025_21_35_06_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df235c9bfc2a4ec116d64b0067d9e328.jpg","text":"TemporaryFile(/tmp/multipartBody3023375702165367215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101555231,"filename":"image_19022025_21_37_46_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/683bfdc37b617dd17415750c727255d7.jpg","text":"TemporaryFile(/tmp/multipartBody7305029694434811188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101555231,"filename":"image_19022025_21_33_36_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8f90e41dbd5e8892b8a224ad74576d7e.jpg","text":"TemporaryFile(/tmp/multipartBody6643292746003784430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101555231,"filename":"image_19022025_21_35_36_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c0c36454ff94fb08d92d7c90cc0f2686.jpg","text":"TemporaryFile(/tmp/multipartBody7928972934224536534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101555231,"filename":"image_19022025_21_35_56_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338720661","file1":"1338720630","file0":"1338720623","file4":"1338720843","file5":"1338720896","file3":"1338720727"},"map_files_photo_id_array":[{"photo_id":"1338720896","filename":"file5"},{"photo_id":"1338720661","filename":"file2"},{"photo_id":"1338720843","filename":"file4"},{"photo_id":"1338720630","filename":"file1"},{"photo_id":"1338720623","filename":"file0"},{"photo_id":"1338720727","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338720843":["hashtag1","hashtag2"]},{"1338720630":["hashtag1","hashtag2"]},{"1338720896":["hashtag1","hashtag2"]},{"1338720623":["hashtag1","hashtag2"]},{"1338720661":["hashtag1","hashtag2"]},{"1338720727":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338720843, 1338720630, 1338720896, 1338720623, 1338720661, 1338720727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.730225801467896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:32:32.229114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/37/image_19022025_21_38_06_10340.jpg', '/home/pi/Desktop/images/19022025/21/38/image_19022025_21_38_16_10447.jpg', '/home/pi/Desktop/images/19022025/21/38/image_19022025_21_38_26_9357.jpg', '/home/pi/Desktop/images/19022025/21/38/image_19022025_21_38_36_10358.jpg', '/home/pi/Desktop/images/19022025/21/38/image_19022025_21_38_46_10357.jpg', '/home/pi/Desktop/images/19022025/21/39/image_19022025_21_39_16_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/37/image_19022025_21_38_06_10340.jpg
/home/pi/Desktop/images/19022025/21/38/image_19022025_21_38_16_10447.jpg
/home/pi/Desktop/images/19022025/21/38/image_19022025_21_38_26_9357.jpg
/home/pi/Desktop/images/19022025/21/38/image_19022025_21_38_36_10358.jpg
/home/pi/Desktop/images/19022025/21/38/image_19022025_21_38_46_10357.jpg
/home/pi/Desktop/images/19022025/21/39/image_19022025_21_39_16_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338721091","1338721064","1338721217","1338721342","1338721072","1338721317"],"photo_ids_order":["1338721064","1338721072","1338721091","1338721217","1338721317","1338721342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/63b39d535185be167183f40f5198fa54.jpg","text":"TemporaryFile(/tmp/multipartBody4257983290283757398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101614475,"filename":"image_19022025_21_38_26_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ffad9335e1e49f4158982148a66e6f0.jpg","text":"TemporaryFile(/tmp/multipartBody4046936088010863109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101614475,"filename":"image_19022025_21_38_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/578dc965f9e8412a65f8a97b1f4b1139.jpg","text":"TemporaryFile(/tmp/multipartBody982851683490149392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101614475,"filename":"image_19022025_21_38_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/372b8917d60a09411178ac0cf5ac894e.jpg","text":"TemporaryFile(/tmp/multipartBody7245102172791554967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101614475,"filename":"image_19022025_21_39_16_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ba05fba1a311d9a176f834e39a51114.jpg","text":"TemporaryFile(/tmp/multipartBody3063549340004197176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101614475,"filename":"image_19022025_21_38_16_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a63422ad25445b43c25b554dba88e106.jpg","text":"TemporaryFile(/tmp/multipartBody66890246553708801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101614475,"filename":"image_19022025_21_38_46_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338721091","file1":"1338721072","file0":"1338721064","file4":"1338721317","file5":"1338721342","file3":"1338721217"},"map_files_photo_id_array":[{"photo_id":"1338721342","filename":"file5"},{"photo_id":"1338721091","filename":"file2"},{"photo_id":"1338721317","filename":"file4"},{"photo_id":"1338721072","filename":"file1"},{"photo_id":"1338721064","filename":"file0"},{"photo_id":"1338721217","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338721091":["hashtag1","hashtag2"]},{"1338721064":["hashtag1","hashtag2"]},{"1338721217":["hashtag1","hashtag2"]},{"1338721342":["hashtag1","hashtag2"]},{"1338721072":["hashtag1","hashtag2"]},{"1338721317":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338721091, 1338721064, 1338721217, 1338721342, 1338721072, 1338721317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16924428939819 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:33:32.503912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/39/image_19022025_21_39_36_10341.jpg', '/home/pi/Desktop/images/19022025/21/39/image_19022025_21_39_56_10338.jpg', '/home/pi/Desktop/images/19022025/21/40/image_19022025_21_40_16_9326.jpg', '/home/pi/Desktop/images/19022025/21/40/image_19022025_21_40_36_9426.jpg', '/home/pi/Desktop/images/19022025/21/40/image_19022025_21_40_46_10351.jpg', '/home/pi/Desktop/images/19022025/21/40/image_19022025_21_41_06_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/39/image_19022025_21_39_36_10341.jpg
/home/pi/Desktop/images/19022025/21/39/image_19022025_21_39_56_10338.jpg
/home/pi/Desktop/images/19022025/21/40/image_19022025_21_40_16_9326.jpg
/home/pi/Desktop/images/19022025/21/40/image_19022025_21_40_36_9426.jpg
/home/pi/Desktop/images/19022025/21/40/image_19022025_21_40_46_10351.jpg
/home/pi/Desktop/images/19022025/21/40/image_19022025_21_41_06_9427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338721605","1338721622","1338721628","1338721630","1338721578","1338721548"],"photo_ids_order":["1338721548","1338721578","1338721605","1338721622","1338721628","1338721630"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c82b18a07363fb3776cad697d9239ac4.jpg","text":"TemporaryFile(/tmp/multipartBody1021148596741542121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101674544,"filename":"image_19022025_21_40_16_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/234f3bd9e46672d1f0f2c5b480f46e58.jpg","text":"TemporaryFile(/tmp/multipartBody9073430843201285161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101674544,"filename":"image_19022025_21_40_36_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a341cfc202c2b54d01624d2ea2eb0534.jpg","text":"TemporaryFile(/tmp/multipartBody995249599302168039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101674544,"filename":"image_19022025_21_40_46_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06020fa0bc5992fb51f686ba68292c13.jpg","text":"TemporaryFile(/tmp/multipartBody5852360874836040896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101674544,"filename":"image_19022025_21_41_06_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8f5d7936e9520e0f4260610efb9466e8.jpg","text":"TemporaryFile(/tmp/multipartBody3383582943836034438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101674544,"filename":"image_19022025_21_39_56_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/79169563441f124777b62037817482dc.jpg","text":"TemporaryFile(/tmp/multipartBody9143599754359999637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101674544,"filename":"image_19022025_21_39_36_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338721605","file1":"1338721578","file0":"1338721548","file4":"1338721628","file5":"1338721630","file3":"1338721622"},"map_files_photo_id_array":[{"photo_id":"1338721630","filename":"file5"},{"photo_id":"1338721605","filename":"file2"},{"photo_id":"1338721628","filename":"file4"},{"photo_id":"1338721578","filename":"file1"},{"photo_id":"1338721548","filename":"file0"},{"photo_id":"1338721622","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338721605":["hashtag1","hashtag2"]},{"1338721622":["hashtag1","hashtag2"]},{"1338721628":["hashtag1","hashtag2"]},{"1338721630":["hashtag1","hashtag2"]},{"1338721578":["hashtag1","hashtag2"]},{"1338721548":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338721605, 1338721622, 1338721628, 1338721630, 1338721578, 1338721548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.516743898391724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:34:32.733355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/41/image_19022025_21_41_16_10329.jpg', '/home/pi/Desktop/images/19022025/21/42/image_19022025_21_42_26_9435.jpg', '/home/pi/Desktop/images/19022025/21/42/image_19022025_21_42_46_10335.jpg', '/home/pi/Desktop/images/19022025/21/42/image_19022025_21_43_06_10331.jpg', '/home/pi/Desktop/images/19022025/21/43/image_19022025_21_43_16_10472.jpg', '/home/pi/Desktop/images/19022025/21/43/image_19022025_21_43_36_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/41/image_19022025_21_41_16_10329.jpg
/home/pi/Desktop/images/19022025/21/42/image_19022025_21_42_26_9435.jpg
/home/pi/Desktop/images/19022025/21/42/image_19022025_21_42_46_10335.jpg
/home/pi/Desktop/images/19022025/21/42/image_19022025_21_43_06_10331.jpg
/home/pi/Desktop/images/19022025/21/43/image_19022025_21_43_16_10472.jpg
/home/pi/Desktop/images/19022025/21/43/image_19022025_21_43_36_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338721666","1338721654","1338721663","1338721657","1338721659","1338721668"],"photo_ids_order":["1338721654","1338721657","1338721659","1338721663","1338721666","1338721668"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bab8e0521cf3cbda6afc682ac6393e75.jpg","text":"TemporaryFile(/tmp/multipartBody5208423459555661494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101734786,"filename":"image_19022025_21_43_16_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7d21829749f7ffcce3df03807f63fa34.jpg","text":"TemporaryFile(/tmp/multipartBody5626651806857499519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101734786,"filename":"image_19022025_21_41_16_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bf87f8fdcc69118437b7ede4feb18d1d.jpg","text":"TemporaryFile(/tmp/multipartBody9093294352887668966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101734786,"filename":"image_19022025_21_43_06_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1375a4b47f3b5bfaafa504b887eb26b9.jpg","text":"TemporaryFile(/tmp/multipartBody3538302878068689772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101734786,"filename":"image_19022025_21_42_26_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/714ed4726ff4d9303979bb846636314b.jpg","text":"TemporaryFile(/tmp/multipartBody813880965983632805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101734786,"filename":"image_19022025_21_42_46_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ba0c214cfeac1e408087ef4bdfbfd2e.jpg","text":"TemporaryFile(/tmp/multipartBody5231970675677564563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101734786,"filename":"image_19022025_21_43_36_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338721659","file1":"1338721657","file0":"1338721654","file4":"1338721666","file5":"1338721668","file3":"1338721663"},"map_files_photo_id_array":[{"photo_id":"1338721668","filename":"file5"},{"photo_id":"1338721659","filename":"file2"},{"photo_id":"1338721666","filename":"file4"},{"photo_id":"1338721657","filename":"file1"},{"photo_id":"1338721654","filename":"file0"},{"photo_id":"1338721663","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338721666":["hashtag1","hashtag2"]},{"1338721654":["hashtag1","hashtag2"]},{"1338721663":["hashtag1","hashtag2"]},{"1338721657":["hashtag1","hashtag2"]},{"1338721659":["hashtag1","hashtag2"]},{"1338721668":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338721666, 1338721654, 1338721663, 1338721657, 1338721659, 1338721668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28525710105896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:35:32.951235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/43/image_19022025_21_44_06_10327.jpg', '/home/pi/Desktop/images/19022025/21/44/image_19022025_21_44_16_9317.jpg', '/home/pi/Desktop/images/19022025/21/44/image_19022025_21_44_26_10329.jpg', '/home/pi/Desktop/images/19022025/21/44/image_19022025_21_44_36_10328.jpg', '/home/pi/Desktop/images/19022025/21/44/image_19022025_21_44_46_9340.jpg', '/home/pi/Desktop/images/19022025/21/44/image_19022025_21_45_06_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/43/image_19022025_21_44_06_10327.jpg
/home/pi/Desktop/images/19022025/21/44/image_19022025_21_44_16_9317.jpg
/home/pi/Desktop/images/19022025/21/44/image_19022025_21_44_26_10329.jpg
/home/pi/Desktop/images/19022025/21/44/image_19022025_21_44_36_10328.jpg
/home/pi/Desktop/images/19022025/21/44/image_19022025_21_44_46_9340.jpg
/home/pi/Desktop/images/19022025/21/44/image_19022025_21_45_06_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338721783","1338721709","1338721690","1338721681","1338721714","1338721701"],"photo_ids_order":["1338721681","1338721690","1338721701","1338721709","1338721714","1338721783"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a3b35cbd024cd7224d726f3179b3cfa9.jpg","text":"TemporaryFile(/tmp/multipartBody9108470104097328253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101794986,"filename":"image_19022025_21_45_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2b293ea68559fdb40dff1cbf25c2abb7.jpg","text":"TemporaryFile(/tmp/multipartBody3647036417563210470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101794986,"filename":"image_19022025_21_44_36_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/64595beb31fce01f44d59389322462f7.jpg","text":"TemporaryFile(/tmp/multipartBody6982569097107731960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101794986,"filename":"image_19022025_21_44_16_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4cccfd4b87de06c0a16f8083405c4e89.jpg","text":"TemporaryFile(/tmp/multipartBody5706547141774969329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101794986,"filename":"image_19022025_21_44_06_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9954ceb1e04300f86c572f4ad5003317.jpg","text":"TemporaryFile(/tmp/multipartBody7402948079410178201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101794986,"filename":"image_19022025_21_44_46_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a3f71b3ca4f1b097b82e6bdcb929d515.jpg","text":"TemporaryFile(/tmp/multipartBody3637199808274261815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101794986,"filename":"image_19022025_21_44_26_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338721701","file1":"1338721690","file0":"1338721681","file4":"1338721714","file5":"1338721783","file3":"1338721709"},"map_files_photo_id_array":[{"photo_id":"1338721783","filename":"file5"},{"photo_id":"1338721701","filename":"file2"},{"photo_id":"1338721714","filename":"file4"},{"photo_id":"1338721690","filename":"file1"},{"photo_id":"1338721681","filename":"file0"},{"photo_id":"1338721709","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338721783":["hashtag1","hashtag2"]},{"1338721709":["hashtag1","hashtag2"]},{"1338721690":["hashtag1","hashtag2"]},{"1338721681":["hashtag1","hashtag2"]},{"1338721714":["hashtag1","hashtag2"]},{"1338721701":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338721783, 1338721709, 1338721690, 1338721681, 1338721714, 1338721701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94303750991821 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:36:33.083468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/45/image_19022025_21_45_16_9422.jpg', '/home/pi/Desktop/images/19022025/21/45/image_19022025_21_45_56_10425.jpg', '/home/pi/Desktop/images/19022025/21/45/image_19022025_21_46_05_9325.jpg', '/home/pi/Desktop/images/19022025/21/46/image_19022025_21_46_16_10321.jpg', '/home/pi/Desktop/images/19022025/21/46/image_19022025_21_46_36_9432.jpg', '/home/pi/Desktop/images/19022025/21/46/image_19022025_21_46_46_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/45/image_19022025_21_45_16_9422.jpg
/home/pi/Desktop/images/19022025/21/45/image_19022025_21_45_56_10425.jpg
/home/pi/Desktop/images/19022025/21/45/image_19022025_21_46_05_9325.jpg
/home/pi/Desktop/images/19022025/21/46/image_19022025_21_46_16_10321.jpg
/home/pi/Desktop/images/19022025/21/46/image_19022025_21_46_36_9432.jpg
/home/pi/Desktop/images/19022025/21/46/image_19022025_21_46_46_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338722482","1338722476","1338722485","1338722332","1338722406","1338722492"],"photo_ids_order":["1338722332","1338722406","1338722476","1338722482","1338722485","1338722492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ed540c8e6370f29bcb4f2746bdfdc51d.jpg","text":"TemporaryFile(/tmp/multipartBody4762360776287678029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101855242,"filename":"image_19022025_21_46_16_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/001cd76cc940c4acc364d1adb323220f.jpg","text":"TemporaryFile(/tmp/multipartBody2627035441729076027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101855242,"filename":"image_19022025_21_46_05_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9a0468e3caa85b7a4a6946e715c57bec.jpg","text":"TemporaryFile(/tmp/multipartBody7897258426493913820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101855242,"filename":"image_19022025_21_46_36_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2f8b30e6af4b91b163889492e73f5fdc.jpg","text":"TemporaryFile(/tmp/multipartBody4865069129093067151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101855242,"filename":"image_19022025_21_45_16_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/78e7bbe1fcc3d02dcc3c1a52e6c3d604.jpg","text":"TemporaryFile(/tmp/multipartBody7995205394269822412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101855242,"filename":"image_19022025_21_45_56_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02806ef447a412cc196a8d2ccc0b98c9.jpg","text":"TemporaryFile(/tmp/multipartBody2993655337324949219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101855242,"filename":"image_19022025_21_46_46_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338722476","file1":"1338722406","file0":"1338722332","file4":"1338722485","file5":"1338722492","file3":"1338722482"},"map_files_photo_id_array":[{"photo_id":"1338722492","filename":"file5"},{"photo_id":"1338722476","filename":"file2"},{"photo_id":"1338722485","filename":"file4"},{"photo_id":"1338722406","filename":"file1"},{"photo_id":"1338722332","filename":"file0"},{"photo_id":"1338722482","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338722482":["hashtag1","hashtag2"]},{"1338722476":["hashtag1","hashtag2"]},{"1338722485":["hashtag1","hashtag2"]},{"1338722332":["hashtag1","hashtag2"]},{"1338722406":["hashtag1","hashtag2"]},{"1338722492":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338722482, 1338722476, 1338722485, 1338722332, 1338722406, 1338722492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.292757749557495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:37:32.280803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/46/image_19022025_21_47_06_9320.jpg', '/home/pi/Desktop/images/19022025/21/47/image_19022025_21_47_16_10352.jpg', '/home/pi/Desktop/images/19022025/21/47/image_19022025_21_47_26_9418.jpg', '/home/pi/Desktop/images/19022025/21/47/image_19022025_21_47_36_10357.jpg', '/home/pi/Desktop/images/19022025/21/47/image_19022025_21_47_46_10335.jpg', '/home/pi/Desktop/images/19022025/21/47/image_19022025_21_48_06_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/46/image_19022025_21_47_06_9320.jpg
/home/pi/Desktop/images/19022025/21/47/image_19022025_21_47_16_10352.jpg
/home/pi/Desktop/images/19022025/21/47/image_19022025_21_47_26_9418.jpg
/home/pi/Desktop/images/19022025/21/47/image_19022025_21_47_36_10357.jpg
/home/pi/Desktop/images/19022025/21/47/image_19022025_21_47_46_10335.jpg
/home/pi/Desktop/images/19022025/21/47/image_19022025_21_48_06_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338722621","1338722695","1338722563","1338722524","1338722518","1338722759"],"photo_ids_order":["1338722518","1338722524","1338722563","1338722621","1338722695","1338722759"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/988916e56559ca73a678b55e2d3b6dff.jpg","text":"TemporaryFile(/tmp/multipartBody6700853220019217726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101914328,"filename":"image_19022025_21_47_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/796a4e52f2ae60ed34191471195ef152.jpg","text":"TemporaryFile(/tmp/multipartBody2482389898764805067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101914328,"filename":"image_19022025_21_47_46_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bce953ae74e8f0ff207bf9d958c7faab.jpg","text":"TemporaryFile(/tmp/multipartBody8734462306129831478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101914328,"filename":"image_19022025_21_47_26_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e59b0c98439510c52de48caf726d1287.jpg","text":"TemporaryFile(/tmp/multipartBody10619034061722007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101914328,"filename":"image_19022025_21_47_16_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/abab4716188e386ec19fa6522f501bf3.jpg","text":"TemporaryFile(/tmp/multipartBody3859510643349158941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101914328,"filename":"image_19022025_21_47_06_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/95bc3919fe30b8e4cdebc50a4a5bfb6d.jpg","text":"TemporaryFile(/tmp/multipartBody2754811853221912310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101914328,"filename":"image_19022025_21_48_06_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338722563","file1":"1338722524","file0":"1338722518","file4":"1338722695","file5":"1338722759","file3":"1338722621"},"map_files_photo_id_array":[{"photo_id":"1338722759","filename":"file5"},{"photo_id":"1338722563","filename":"file2"},{"photo_id":"1338722695","filename":"file4"},{"photo_id":"1338722524","filename":"file1"},{"photo_id":"1338722518","filename":"file0"},{"photo_id":"1338722621","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338722621":["hashtag1","hashtag2"]},{"1338722695":["hashtag1","hashtag2"]},{"1338722563":["hashtag1","hashtag2"]},{"1338722524":["hashtag1","hashtag2"]},{"1338722518":["hashtag1","hashtag2"]},{"1338722759":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338722621, 1338722695, 1338722563, 1338722524, 1338722518, 1338722759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.857322692871094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:38:32.496853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/48/image_19022025_21_48_26_10354.jpg', '/home/pi/Desktop/images/19022025/21/48/image_19022025_21_48_36_10325.jpg', '/home/pi/Desktop/images/19022025/21/48/image_19022025_21_48_46_9441.jpg', '/home/pi/Desktop/images/19022025/21/48/image_19022025_21_48_56_10388.jpg', '/home/pi/Desktop/images/19022025/21/48/image_19022025_21_49_06_10385.jpg', '/home/pi/Desktop/images/19022025/21/49/image_19022025_21_49_16_9324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/48/image_19022025_21_48_26_10354.jpg
/home/pi/Desktop/images/19022025/21/48/image_19022025_21_48_36_10325.jpg
/home/pi/Desktop/images/19022025/21/48/image_19022025_21_48_46_9441.jpg
/home/pi/Desktop/images/19022025/21/48/image_19022025_21_48_56_10388.jpg
/home/pi/Desktop/images/19022025/21/48/image_19022025_21_49_06_10385.jpg
/home/pi/Desktop/images/19022025/21/49/image_19022025_21_49_16_9324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338722915","1338722839","1338722926","1338722901","1338722844","1338722924"],"photo_ids_order":["1338722839","1338722844","1338722901","1338722915","1338722924","1338722926"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7b4bd214172df4cad58b7b82a932bbd6.jpg","text":"TemporaryFile(/tmp/multipartBody7346885277520782614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101974534,"filename":"image_19022025_21_48_56_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0afd1a6c9158644db3727e614cb50638.jpg","text":"TemporaryFile(/tmp/multipartBody2575365621398704774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101974534,"filename":"image_19022025_21_48_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ae8ad25db5ae827ab786568310c04a8.jpg","text":"TemporaryFile(/tmp/multipartBody6038678162236411849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101974534,"filename":"image_19022025_21_49_16_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9eee141aebbe67f8cd3f93311b5f1f67.jpg","text":"TemporaryFile(/tmp/multipartBody1613038322264091763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101974534,"filename":"image_19022025_21_48_46_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e8878a36a7ecd6a551d615eeb62adbe7.jpg","text":"TemporaryFile(/tmp/multipartBody1998499590778214190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101974534,"filename":"image_19022025_21_48_36_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/29df361b18dbf0d96e52dff174b17fee.jpg","text":"TemporaryFile(/tmp/multipartBody3099582867424618817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740101974534,"filename":"image_19022025_21_49_06_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338722901","file1":"1338722844","file0":"1338722839","file4":"1338722924","file5":"1338722926","file3":"1338722915"},"map_files_photo_id_array":[{"photo_id":"1338722926","filename":"file5"},{"photo_id":"1338722901","filename":"file2"},{"photo_id":"1338722924","filename":"file4"},{"photo_id":"1338722844","filename":"file1"},{"photo_id":"1338722839","filename":"file0"},{"photo_id":"1338722915","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338722915":["hashtag1","hashtag2"]},{"1338722839":["hashtag1","hashtag2"]},{"1338722926":["hashtag1","hashtag2"]},{"1338722901":["hashtag1","hashtag2"]},{"1338722844":["hashtag1","hashtag2"]},{"1338722924":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338722915, 1338722839, 1338722926, 1338722901, 1338722844, 1338722924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73011112213135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:39:32.800264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/49/image_19022025_21_49_26_10349.jpg', '/home/pi/Desktop/images/19022025/21/49/image_19022025_21_49_36_9400.jpg', '/home/pi/Desktop/images/19022025/21/49/image_19022025_21_50_06_9423.jpg', '/home/pi/Desktop/images/19022025/21/50/image_19022025_21_50_16_10338.jpg', '/home/pi/Desktop/images/19022025/21/50/image_19022025_21_50_46_10350.jpg', '/home/pi/Desktop/images/19022025/21/51/image_19022025_21_51_16_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/49/image_19022025_21_49_26_10349.jpg
/home/pi/Desktop/images/19022025/21/49/image_19022025_21_49_36_9400.jpg
/home/pi/Desktop/images/19022025/21/49/image_19022025_21_50_06_9423.jpg
/home/pi/Desktop/images/19022025/21/50/image_19022025_21_50_16_10338.jpg
/home/pi/Desktop/images/19022025/21/50/image_19022025_21_50_46_10350.jpg
/home/pi/Desktop/images/19022025/21/51/image_19022025_21_51_16_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338723283","1338723127","1338723355","1338723081","1338723213","1338723431"],"photo_ids_order":["1338723081","1338723127","1338723213","1338723283","1338723355","1338723431"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf402ef81a845154802558908b1f4736.jpg","text":"TemporaryFile(/tmp/multipartBody2514032201533484014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102034825,"filename":"image_19022025_21_50_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/94f7e68f08009528c586f7dee7f2cd7e.jpg","text":"TemporaryFile(/tmp/multipartBody6041105386385083991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102034825,"filename":"image_19022025_21_49_36_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4bff7644d5b6c9091de191836e45f5c6.jpg","text":"TemporaryFile(/tmp/multipartBody5839144541660740294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102034825,"filename":"image_19022025_21_50_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7490e43cf32e850469a9b6f2035e1d96.jpg","text":"TemporaryFile(/tmp/multipartBody2564111971399736717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102034825,"filename":"image_19022025_21_49_26_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f971bc74fa1d9cae935f597be436bf8.jpg","text":"TemporaryFile(/tmp/multipartBody8777453542260400896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102034825,"filename":"image_19022025_21_50_06_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d0f0f1d55c3725190b7a3a0b873f532.jpg","text":"TemporaryFile(/tmp/multipartBody5250136263919337115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102034825,"filename":"image_19022025_21_51_16_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338723213","file1":"1338723127","file0":"1338723081","file4":"1338723355","file5":"1338723431","file3":"1338723283"},"map_files_photo_id_array":[{"photo_id":"1338723431","filename":"file5"},{"photo_id":"1338723213","filename":"file2"},{"photo_id":"1338723355","filename":"file4"},{"photo_id":"1338723127","filename":"file1"},{"photo_id":"1338723081","filename":"file0"},{"photo_id":"1338723283","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338723283":["hashtag1","hashtag2"]},{"1338723127":["hashtag1","hashtag2"]},{"1338723355":["hashtag1","hashtag2"]},{"1338723081":["hashtag1","hashtag2"]},{"1338723213":["hashtag1","hashtag2"]},{"1338723431":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338723283, 1338723127, 1338723355, 1338723081, 1338723213, 1338723431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.029534578323364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:40:33.035009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/51/image_19022025_21_51_46_9478.jpg', '/home/pi/Desktop/images/19022025/21/51/image_19022025_21_51_56_10360.jpg', '/home/pi/Desktop/images/19022025/21/52/image_19022025_21_52_16_9340.jpg', '/home/pi/Desktop/images/19022025/21/52/image_19022025_21_52_26_10408.jpg', '/home/pi/Desktop/images/19022025/21/52/image_19022025_21_52_36_10379.jpg', '/home/pi/Desktop/images/19022025/21/52/image_19022025_21_53_06_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/51/image_19022025_21_51_46_9478.jpg
/home/pi/Desktop/images/19022025/21/51/image_19022025_21_51_56_10360.jpg
/home/pi/Desktop/images/19022025/21/52/image_19022025_21_52_16_9340.jpg
/home/pi/Desktop/images/19022025/21/52/image_19022025_21_52_26_10408.jpg
/home/pi/Desktop/images/19022025/21/52/image_19022025_21_52_36_10379.jpg
/home/pi/Desktop/images/19022025/21/52/image_19022025_21_53_06_9569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338723591","1338723674","1338723563","1338723557","1338723731","1338723560"],"photo_ids_order":["1338723557","1338723560","1338723563","1338723591","1338723674","1338723731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/086f5805fdd20dcc6e036b52a05afc1b.jpg","text":"TemporaryFile(/tmp/multipartBody4449324727764750387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102095077,"filename":"image_19022025_21_52_26_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5aab96e1744580b8d9a0c90a73bd043f.jpg","text":"TemporaryFile(/tmp/multipartBody8908175146598440648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102095077,"filename":"image_19022025_21_52_36_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a1d1dce191841f2fa4a20da2cf14c4e1.jpg","text":"TemporaryFile(/tmp/multipartBody4442912129946588535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102095077,"filename":"image_19022025_21_52_16_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4c39bf6076dc0a355f51f0f6660493fe.jpg","text":"TemporaryFile(/tmp/multipartBody847467956817094945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102095077,"filename":"image_19022025_21_51_46_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a115199cb9aa81d4153a23f7c38efc5f.jpg","text":"TemporaryFile(/tmp/multipartBody401166942883802007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102095077,"filename":"image_19022025_21_53_06_9569.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa8de4ad0fd319bfe3625b05a67d750e.jpg","text":"TemporaryFile(/tmp/multipartBody5119084469203002342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102095077,"filename":"image_19022025_21_51_56_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338723563","file1":"1338723560","file0":"1338723557","file4":"1338723674","file5":"1338723731","file3":"1338723591"},"map_files_photo_id_array":[{"photo_id":"1338723731","filename":"file5"},{"photo_id":"1338723563","filename":"file2"},{"photo_id":"1338723674","filename":"file4"},{"photo_id":"1338723560","filename":"file1"},{"photo_id":"1338723557","filename":"file0"},{"photo_id":"1338723591","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338723591":["hashtag1","hashtag2"]},{"1338723674":["hashtag1","hashtag2"]},{"1338723563":["hashtag1","hashtag2"]},{"1338723557":["hashtag1","hashtag2"]},{"1338723731":["hashtag1","hashtag2"]},{"1338723560":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338723591, 1338723674, 1338723563, 1338723557, 1338723731, 1338723560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6966986656189 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:41:32.149057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/53/image_19022025_21_53_16_10321.jpg', '/home/pi/Desktop/images/19022025/21/53/image_19022025_21_53_26_10418.jpg', '/home/pi/Desktop/images/19022025/21/53/image_19022025_21_53_36_9320.jpg', '/home/pi/Desktop/images/19022025/21/53/image_19022025_21_53_46_10347.jpg', '/home/pi/Desktop/images/19022025/21/53/image_19022025_21_53_56_10395.jpg', '/home/pi/Desktop/images/19022025/21/53/image_19022025_21_54_06_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/53/image_19022025_21_53_16_10321.jpg
/home/pi/Desktop/images/19022025/21/53/image_19022025_21_53_26_10418.jpg
/home/pi/Desktop/images/19022025/21/53/image_19022025_21_53_36_9320.jpg
/home/pi/Desktop/images/19022025/21/53/image_19022025_21_53_46_10347.jpg
/home/pi/Desktop/images/19022025/21/53/image_19022025_21_53_56_10395.jpg
/home/pi/Desktop/images/19022025/21/53/image_19022025_21_54_06_9398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338724114","1338724117","1338724102","1338724136","1338724121","1338724138"],"photo_ids_order":["1338724102","1338724114","1338724117","1338724121","1338724136","1338724138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f9ff346bd9af2545a0739ca25cf86c4c.jpg","text":"TemporaryFile(/tmp/multipartBody8893560646695865330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102154215,"filename":"image_19022025_21_53_26_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9cf3ba9690bcf900a843ec5aaeab3d89.jpg","text":"TemporaryFile(/tmp/multipartBody4030080263423870791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102154215,"filename":"image_19022025_21_53_36_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/48505c57e82c2c21bfcb7c750478a506.jpg","text":"TemporaryFile(/tmp/multipartBody170925413296911254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102154215,"filename":"image_19022025_21_53_16_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2094c4c1a931850eb58849ed3adda0ba.jpg","text":"TemporaryFile(/tmp/multipartBody1657051621124658397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102154215,"filename":"image_19022025_21_53_56_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dc56b6384912d066ed1e81ad2537803c.jpg","text":"TemporaryFile(/tmp/multipartBody8395608808145388877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102154215,"filename":"image_19022025_21_53_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9109aa6eff374bbd3ef458026ff2cf78.jpg","text":"TemporaryFile(/tmp/multipartBody8390601001848144867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102154215,"filename":"image_19022025_21_54_06_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338724117","file1":"1338724114","file0":"1338724102","file4":"1338724136","file5":"1338724138","file3":"1338724121"},"map_files_photo_id_array":[{"photo_id":"1338724138","filename":"file5"},{"photo_id":"1338724117","filename":"file2"},{"photo_id":"1338724136","filename":"file4"},{"photo_id":"1338724114","filename":"file1"},{"photo_id":"1338724102","filename":"file0"},{"photo_id":"1338724121","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338724114":["hashtag1","hashtag2"]},{"1338724117":["hashtag1","hashtag2"]},{"1338724102":["hashtag1","hashtag2"]},{"1338724136":["hashtag1","hashtag2"]},{"1338724121":["hashtag1","hashtag2"]},{"1338724138":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338724114, 1338724117, 1338724102, 1338724136, 1338724121, 1338724138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.632396936416626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:42:32.345142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/54/image_19022025_21_54_16_10336.jpg', '/home/pi/Desktop/images/19022025/21/54/image_19022025_21_54_26_9346.jpg', '/home/pi/Desktop/images/19022025/21/54/image_19022025_21_54_36_10354.jpg', '/home/pi/Desktop/images/19022025/21/54/image_19022025_21_54_56_9348.jpg', '/home/pi/Desktop/images/19022025/21/54/image_19022025_21_55_06_10336.jpg', '/home/pi/Desktop/images/19022025/21/55/image_19022025_21_55_16_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/54/image_19022025_21_54_16_10336.jpg
/home/pi/Desktop/images/19022025/21/54/image_19022025_21_54_26_9346.jpg
/home/pi/Desktop/images/19022025/21/54/image_19022025_21_54_36_10354.jpg
/home/pi/Desktop/images/19022025/21/54/image_19022025_21_54_56_9348.jpg
/home/pi/Desktop/images/19022025/21/54/image_19022025_21_55_06_10336.jpg
/home/pi/Desktop/images/19022025/21/55/image_19022025_21_55_16_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338724167","1338724170","1338724164","1338724181","1338724172","1338724183"],"photo_ids_order":["1338724164","1338724167","1338724170","1338724172","1338724181","1338724183"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8869186b760922b62b9d3a1047802bac.jpg","text":"TemporaryFile(/tmp/multipartBody3861124541804153631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102214652,"filename":"image_19022025_21_54_26_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7e798eb9838a7736ffef6b41e3b22a25.jpg","text":"TemporaryFile(/tmp/multipartBody6049891134759584995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102214652,"filename":"image_19022025_21_54_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a2cc25f43a72906f2a855a041a97827.jpg","text":"TemporaryFile(/tmp/multipartBody8840658168380162523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102214652,"filename":"image_19022025_21_54_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2e126a5b6ed77af65c77ed6bb2a71c5d.jpg","text":"TemporaryFile(/tmp/multipartBody1165616532476476145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102214652,"filename":"image_19022025_21_55_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c9312a2f0425970485fcf5dca83384e3.jpg","text":"TemporaryFile(/tmp/multipartBody4720079044877524330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102214652,"filename":"image_19022025_21_54_56_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c389292624808b8ba19df79f57b23e6b.jpg","text":"TemporaryFile(/tmp/multipartBody5869404157793536201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102214652,"filename":"image_19022025_21_55_16_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338724170","file1":"1338724167","file0":"1338724164","file4":"1338724181","file5":"1338724183","file3":"1338724172"},"map_files_photo_id_array":[{"photo_id":"1338724183","filename":"file5"},{"photo_id":"1338724170","filename":"file2"},{"photo_id":"1338724181","filename":"file4"},{"photo_id":"1338724167","filename":"file1"},{"photo_id":"1338724164","filename":"file0"},{"photo_id":"1338724172","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338724167":["hashtag1","hashtag2"]},{"1338724170":["hashtag1","hashtag2"]},{"1338724164":["hashtag1","hashtag2"]},{"1338724181":["hashtag1","hashtag2"]},{"1338724172":["hashtag1","hashtag2"]},{"1338724183":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338724167, 1338724170, 1338724164, 1338724181, 1338724172, 1338724183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.480836153030396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:43:32.607380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/56/image_19022025_21_56_26_10343.jpg', '/home/pi/Desktop/images/19022025/21/56/image_19022025_21_56_36_9332.jpg', '/home/pi/Desktop/images/19022025/21/56/image_19022025_21_57_06_9425.jpg', '/home/pi/Desktop/images/19022025/21/58/image_19022025_21_58_16_10389.jpg', '/home/pi/Desktop/images/19022025/21/58/image_19022025_21_58_26_9354.jpg', '/home/pi/Desktop/images/19022025/21/58/image_19022025_21_58_36_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/56/image_19022025_21_56_26_10343.jpg
/home/pi/Desktop/images/19022025/21/56/image_19022025_21_56_36_9332.jpg
/home/pi/Desktop/images/19022025/21/56/image_19022025_21_57_06_9425.jpg
/home/pi/Desktop/images/19022025/21/58/image_19022025_21_58_16_10389.jpg
/home/pi/Desktop/images/19022025/21/58/image_19022025_21_58_26_9354.jpg
/home/pi/Desktop/images/19022025/21/58/image_19022025_21_58_36_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338724280","1338724283","1338724286","1338724276","1338724285","1338724264"],"photo_ids_order":["1338724264","1338724276","1338724280","1338724283","1338724285","1338724286"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ebc76d6c87164540972c137fe7aef8d.jpg","text":"TemporaryFile(/tmp/multipartBody8226246741544456604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102274674,"filename":"image_19022025_21_57_06_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7639b52caeedda74b959647ba143b436.jpg","text":"TemporaryFile(/tmp/multipartBody5054942591431742001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102274674,"filename":"image_19022025_21_58_16_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/722d6098704b912e7369600351c80417.jpg","text":"TemporaryFile(/tmp/multipartBody8292824826795914950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102274674,"filename":"image_19022025_21_58_36_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9d4a6bb15014ab0f86b556c16646f4c2.jpg","text":"TemporaryFile(/tmp/multipartBody2814309436869417608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102274674,"filename":"image_19022025_21_56_36_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c7b4f2ccf6102a9f88aee2e590f2f32b.jpg","text":"TemporaryFile(/tmp/multipartBody3354662690594927643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102274674,"filename":"image_19022025_21_58_26_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/73302c6664a05a0e9c1185657f35a7bc.jpg","text":"TemporaryFile(/tmp/multipartBody2327896530992981768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102274674,"filename":"image_19022025_21_56_26_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338724280","file1":"1338724276","file0":"1338724264","file4":"1338724285","file5":"1338724286","file3":"1338724283"},"map_files_photo_id_array":[{"photo_id":"1338724286","filename":"file5"},{"photo_id":"1338724280","filename":"file2"},{"photo_id":"1338724285","filename":"file4"},{"photo_id":"1338724276","filename":"file1"},{"photo_id":"1338724264","filename":"file0"},{"photo_id":"1338724283","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338724280":["hashtag1","hashtag2"]},{"1338724283":["hashtag1","hashtag2"]},{"1338724286":["hashtag1","hashtag2"]},{"1338724276":["hashtag1","hashtag2"]},{"1338724285":["hashtag1","hashtag2"]},{"1338724264":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338724280, 1338724283, 1338724286, 1338724276, 1338724285, 1338724264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.834855794906616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:44:32.805292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/21/58/image_19022025_21_58_56_10374.jpg', '/home/pi/Desktop/images/19022025/21/58/image_19022025_21_59_06_10340.jpg', '/home/pi/Desktop/images/19022025/21/59/image_19022025_21_59_16_9412.jpg', '/home/pi/Desktop/images/19022025/21/59/image_19022025_21_59_56_10341.jpg', '/home/pi/Desktop/images/19022025/22/01/image_19022025_22_01_24_10476.jpg', '/home/pi/Desktop/images/19022025/22/01/image_19022025_22_01_35_10327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/21/58/image_19022025_21_58_56_10374.jpg
/home/pi/Desktop/images/19022025/21/58/image_19022025_21_59_06_10340.jpg
/home/pi/Desktop/images/19022025/21/59/image_19022025_21_59_16_9412.jpg
/home/pi/Desktop/images/19022025/21/59/image_19022025_21_59_56_10341.jpg
/home/pi/Desktop/images/19022025/22/01/image_19022025_22_01_24_10476.jpg
/home/pi/Desktop/images/19022025/22/01/image_19022025_22_01_35_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338724333","1338724321","1338724331","1338724325","1338724334","1338724328"],"photo_ids_order":["1338724321","1338724325","1338724328","1338724331","1338724333","1338724334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d31262299458df3902ab3f9499cf6f38.jpg","text":"TemporaryFile(/tmp/multipartBody8488028169500666611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102334859,"filename":"image_19022025_22_01_24_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b1a75d82532a340dcf95cda80cbefe9e.jpg","text":"TemporaryFile(/tmp/multipartBody1987150736067359114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102334859,"filename":"image_19022025_21_58_56_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8bd9331ac7f01edb68b015ea169808a4.jpg","text":"TemporaryFile(/tmp/multipartBody4911585858762063334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102334859,"filename":"image_19022025_21_59_56_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5a6eb1ec47b4e1f7ff7a1b4825bc234b.jpg","text":"TemporaryFile(/tmp/multipartBody6201641342089907663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102334859,"filename":"image_19022025_21_59_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/73df1a30767c9c4e22b4a0fd68a9f2b6.jpg","text":"TemporaryFile(/tmp/multipartBody1456689339001746439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102334859,"filename":"image_19022025_22_01_35_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b04e66809144715359e15aeb9c003556.jpg","text":"TemporaryFile(/tmp/multipartBody6194316747697881146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102334859,"filename":"image_19022025_21_59_16_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338724328","file1":"1338724325","file0":"1338724321","file4":"1338724333","file5":"1338724334","file3":"1338724331"},"map_files_photo_id_array":[{"photo_id":"1338724334","filename":"file5"},{"photo_id":"1338724328","filename":"file2"},{"photo_id":"1338724333","filename":"file4"},{"photo_id":"1338724325","filename":"file1"},{"photo_id":"1338724321","filename":"file0"},{"photo_id":"1338724331","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338724333":["hashtag1","hashtag2"]},{"1338724321":["hashtag1","hashtag2"]},{"1338724331":["hashtag1","hashtag2"]},{"1338724325":["hashtag1","hashtag2"]},{"1338724334":["hashtag1","hashtag2"]},{"1338724328":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338724333, 1338724321, 1338724331, 1338724325, 1338724334, 1338724328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.069256067276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:45:33.021172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/01/image_19022025_22_01_44_9336.jpg', '/home/pi/Desktop/images/19022025/22/01/image_19022025_22_02_05_10379.jpg', '/home/pi/Desktop/images/19022025/22/02/image_19022025_22_02_14_9326.jpg', '/home/pi/Desktop/images/19022025/22/02/image_19022025_22_02_44_10400.jpg', '/home/pi/Desktop/images/19022025/22/02/image_19022025_22_02_55_10358.jpg', '/home/pi/Desktop/images/19022025/22/02/image_19022025_22_03_04_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/01/image_19022025_22_01_44_9336.jpg
/home/pi/Desktop/images/19022025/22/01/image_19022025_22_02_05_10379.jpg
/home/pi/Desktop/images/19022025/22/02/image_19022025_22_02_14_9326.jpg
/home/pi/Desktop/images/19022025/22/02/image_19022025_22_02_44_10400.jpg
/home/pi/Desktop/images/19022025/22/02/image_19022025_22_02_55_10358.jpg
/home/pi/Desktop/images/19022025/22/02/image_19022025_22_03_04_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338724359","1338724362","1338724356","1338724361","1338724358","1338724360"],"photo_ids_order":["1338724356","1338724358","1338724359","1338724360","1338724361","1338724362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/944054526c73c170f0b89f2501594854.jpg","text":"TemporaryFile(/tmp/multipartBody3231344617922957411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102395068,"filename":"image_19022025_22_02_14_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7f72de55137a8176e3e8b8d37a798c30.jpg","text":"TemporaryFile(/tmp/multipartBody3114442998872749126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102395068,"filename":"image_19022025_22_03_04_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4500d8ebbd5f6c7e2c284b154ce2cae7.jpg","text":"TemporaryFile(/tmp/multipartBody7874919059796511488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102395068,"filename":"image_19022025_22_01_44_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c5ea0fab837c6f986eed1b367acfddc1.jpg","text":"TemporaryFile(/tmp/multipartBody6118205326329769623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102395068,"filename":"image_19022025_22_02_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d3a4475dfaea40d467db70be31c994d1.jpg","text":"TemporaryFile(/tmp/multipartBody2897979027000523567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102395068,"filename":"image_19022025_22_02_05_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/29aff7b842217c972488f1d5c8fda6e6.jpg","text":"TemporaryFile(/tmp/multipartBody8760279627655117622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102395068,"filename":"image_19022025_22_02_44_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338724359","file1":"1338724358","file0":"1338724356","file4":"1338724361","file5":"1338724362","file3":"1338724360"},"map_files_photo_id_array":[{"photo_id":"1338724362","filename":"file5"},{"photo_id":"1338724359","filename":"file2"},{"photo_id":"1338724361","filename":"file4"},{"photo_id":"1338724358","filename":"file1"},{"photo_id":"1338724356","filename":"file0"},{"photo_id":"1338724360","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338724359":["hashtag1","hashtag2"]},{"1338724362":["hashtag1","hashtag2"]},{"1338724356":["hashtag1","hashtag2"]},{"1338724361":["hashtag1","hashtag2"]},{"1338724358":["hashtag1","hashtag2"]},{"1338724360":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338724359, 1338724362, 1338724356, 1338724361, 1338724358, 1338724360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53064179420471 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:46:32.223569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/03/image_19022025_22_03_14_10358.jpg', '/home/pi/Desktop/images/19022025/22/03/image_19022025_22_03_25_10397.jpg', '/home/pi/Desktop/images/19022025/22/03/image_19022025_22_03_34_9340.jpg', '/home/pi/Desktop/images/19022025/22/03/image_19022025_22_03_54_9435.jpg', '/home/pi/Desktop/images/19022025/22/03/image_19022025_22_04_04_10340.jpg', '/home/pi/Desktop/images/19022025/22/04/image_19022025_22_04_24_9328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/03/image_19022025_22_03_14_10358.jpg
/home/pi/Desktop/images/19022025/22/03/image_19022025_22_03_25_10397.jpg
/home/pi/Desktop/images/19022025/22/03/image_19022025_22_03_34_9340.jpg
/home/pi/Desktop/images/19022025/22/03/image_19022025_22_03_54_9435.jpg
/home/pi/Desktop/images/19022025/22/03/image_19022025_22_04_04_10340.jpg
/home/pi/Desktop/images/19022025/22/04/image_19022025_22_04_24_9328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338724621","1338724494","1338724405","1338724425","1338724559","1338724684"],"photo_ids_order":["1338724405","1338724425","1338724494","1338724559","1338724621","1338724684"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6c9546764268020a5a766aadd9f3f99b.jpg","text":"TemporaryFile(/tmp/multipartBody240756618523991007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102454252,"filename":"image_19022025_22_04_04_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/860d0b19b7060527ec3ce940aae3b6ad.jpg","text":"TemporaryFile(/tmp/multipartBody3864037873530042426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102454252,"filename":"image_19022025_22_03_34_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a456316b71f7a0bfe7717f14e5889b38.jpg","text":"TemporaryFile(/tmp/multipartBody4989247033023174006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102454252,"filename":"image_19022025_22_03_14_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ca7a2bdd5639122ce971775f4669109.jpg","text":"TemporaryFile(/tmp/multipartBody4109877715671001025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102454252,"filename":"image_19022025_22_03_25_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/45486a29ebc905f77c5f3755b79f58e3.jpg","text":"TemporaryFile(/tmp/multipartBody3127480905243457192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102454252,"filename":"image_19022025_22_03_54_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6bbeb633e8d49dfba72703d5be6dcc65.jpg","text":"TemporaryFile(/tmp/multipartBody1233888547567064444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102454252,"filename":"image_19022025_22_04_24_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338724494","file1":"1338724425","file0":"1338724405","file4":"1338724621","file5":"1338724684","file3":"1338724559"},"map_files_photo_id_array":[{"photo_id":"1338724684","filename":"file5"},{"photo_id":"1338724494","filename":"file2"},{"photo_id":"1338724621","filename":"file4"},{"photo_id":"1338724425","filename":"file1"},{"photo_id":"1338724405","filename":"file0"},{"photo_id":"1338724559","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338724621":["hashtag1","hashtag2"]},{"1338724494":["hashtag1","hashtag2"]},{"1338724405":["hashtag1","hashtag2"]},{"1338724425":["hashtag1","hashtag2"]},{"1338724559":["hashtag1","hashtag2"]},{"1338724684":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338724621, 1338724494, 1338724405, 1338724425, 1338724559, 1338724684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.99974966049194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:47:35.180375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/04/image_19022025_22_04_34_10426.jpg', '/home/pi/Desktop/images/19022025/22/04/image_19022025_22_04_45_10335.jpg', '/home/pi/Desktop/images/19022025/22/04/image_19022025_22_05_05_10432.jpg', '/home/pi/Desktop/images/19022025/22/05/image_19022025_22_06_04_9357.jpg', '/home/pi/Desktop/images/19022025/22/06/image_19022025_22_06_14_10474.jpg', '/home/pi/Desktop/images/19022025/22/06/image_19022025_22_06_25_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/04/image_19022025_22_04_34_10426.jpg
/home/pi/Desktop/images/19022025/22/04/image_19022025_22_04_45_10335.jpg
/home/pi/Desktop/images/19022025/22/04/image_19022025_22_05_05_10432.jpg
/home/pi/Desktop/images/19022025/22/05/image_19022025_22_06_04_9357.jpg
/home/pi/Desktop/images/19022025/22/06/image_19022025_22_06_14_10474.jpg
/home/pi/Desktop/images/19022025/22/06/image_19022025_22_06_25_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338725391","1338725393","1338725319","1338725392","1338725394","1338725206"],"photo_ids_order":["1338725206","1338725319","1338725391","1338725392","1338725393","1338725394"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/489f53e7abc8896d037f42d4f6acc043.jpg","text":"TemporaryFile(/tmp/multipartBody6954773281188396672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102517259,"filename":"image_19022025_22_05_05_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e5caf6df62cd0d498c1013aa9a17c6f.jpg","text":"TemporaryFile(/tmp/multipartBody1617855673299083594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102517259,"filename":"image_19022025_22_06_14_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a67172bb958b2c3addf3e63bee06440c.jpg","text":"TemporaryFile(/tmp/multipartBody1232841848909399238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102517259,"filename":"image_19022025_22_04_45_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a0d94ca8ca42942f0657e68a1d30d54c.jpg","text":"TemporaryFile(/tmp/multipartBody4558546599925641311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102517259,"filename":"image_19022025_22_06_04_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/28db8362d6861500cc48fa3062322779.jpg","text":"TemporaryFile(/tmp/multipartBody431328327035803520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102517259,"filename":"image_19022025_22_06_25_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81a5078434125e110b8a69c4752954e1.jpg","text":"TemporaryFile(/tmp/multipartBody2736163783744347810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102517259,"filename":"image_19022025_22_04_34_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338725391","file1":"1338725319","file0":"1338725206","file4":"1338725393","file5":"1338725394","file3":"1338725392"},"map_files_photo_id_array":[{"photo_id":"1338725394","filename":"file5"},{"photo_id":"1338725391","filename":"file2"},{"photo_id":"1338725393","filename":"file4"},{"photo_id":"1338725319","filename":"file1"},{"photo_id":"1338725206","filename":"file0"},{"photo_id":"1338725392","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338725391":["hashtag1","hashtag2"]},{"1338725393":["hashtag1","hashtag2"]},{"1338725319":["hashtag1","hashtag2"]},{"1338725392":["hashtag1","hashtag2"]},{"1338725394":["hashtag1","hashtag2"]},{"1338725206":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338725391, 1338725393, 1338725319, 1338725392, 1338725394, 1338725206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56683683395386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:48:32.713835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/06/image_19022025_22_06_45_10461.jpg', '/home/pi/Desktop/images/19022025/22/07/image_19022025_22_07_15_10419.jpg', '/home/pi/Desktop/images/19022025/22/07/image_19022025_22_07_24_9366.jpg', '/home/pi/Desktop/images/19022025/22/07/image_19022025_22_07_34_10400.jpg', '/home/pi/Desktop/images/19022025/22/07/image_19022025_22_07_45_10341.jpg', '/home/pi/Desktop/images/19022025/22/07/image_19022025_22_07_54_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/06/image_19022025_22_06_45_10461.jpg
/home/pi/Desktop/images/19022025/22/07/image_19022025_22_07_15_10419.jpg
/home/pi/Desktop/images/19022025/22/07/image_19022025_22_07_24_9366.jpg
/home/pi/Desktop/images/19022025/22/07/image_19022025_22_07_34_10400.jpg
/home/pi/Desktop/images/19022025/22/07/image_19022025_22_07_45_10341.jpg
/home/pi/Desktop/images/19022025/22/07/image_19022025_22_07_54_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338725407","1338725430","1338725552","1338725495","1338725405","1338725404"],"photo_ids_order":["1338725404","1338725405","1338725407","1338725430","1338725495","1338725552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/276ec28a03b0cadb70308a9023ca35fa.jpg","text":"TemporaryFile(/tmp/multipartBody8360624544502865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102574743,"filename":"image_19022025_22_07_24_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9f39637c9a712c987338abba3cbd1796.jpg","text":"TemporaryFile(/tmp/multipartBody8228837267149155869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102574743,"filename":"image_19022025_22_07_34_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a7c9679268b026341640cfc85d8f6be5.jpg","text":"TemporaryFile(/tmp/multipartBody5557188453869838086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102574743,"filename":"image_19022025_22_07_54_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87ab35c1712c8b8cfcabb79ff626f500.jpg","text":"TemporaryFile(/tmp/multipartBody2752578932297557981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102574743,"filename":"image_19022025_22_07_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a1963f44c3bce9e85d5df65d3121c2be.jpg","text":"TemporaryFile(/tmp/multipartBody7317293658356859023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102574743,"filename":"image_19022025_22_07_15_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ff112e7a3711e85af51674a6990eecb.jpg","text":"TemporaryFile(/tmp/multipartBody4220272975446369716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102574743,"filename":"image_19022025_22_06_45_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338725407","file1":"1338725405","file0":"1338725404","file4":"1338725495","file5":"1338725552","file3":"1338725430"},"map_files_photo_id_array":[{"photo_id":"1338725552","filename":"file5"},{"photo_id":"1338725407","filename":"file2"},{"photo_id":"1338725495","filename":"file4"},{"photo_id":"1338725405","filename":"file1"},{"photo_id":"1338725404","filename":"file0"},{"photo_id":"1338725430","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338725407":["hashtag1","hashtag2"]},{"1338725430":["hashtag1","hashtag2"]},{"1338725552":["hashtag1","hashtag2"]},{"1338725495":["hashtag1","hashtag2"]},{"1338725405":["hashtag1","hashtag2"]},{"1338725404":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338725407, 1338725430, 1338725552, 1338725495, 1338725405, 1338725404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04658031463623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:49:32.988468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/07/image_19022025_22_08_05_10400.jpg', '/home/pi/Desktop/images/19022025/22/08/image_19022025_22_08_24_9345.jpg', '/home/pi/Desktop/images/19022025/22/09/image_19022025_22_10_04_9322.jpg', '/home/pi/Desktop/images/19022025/22/10/image_19022025_22_10_15_10492.jpg', '/home/pi/Desktop/images/19022025/22/10/image_19022025_22_10_25_10354.jpg', '/home/pi/Desktop/images/19022025/22/10/image_19022025_22_10_55_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/07/image_19022025_22_08_05_10400.jpg
/home/pi/Desktop/images/19022025/22/08/image_19022025_22_08_24_9345.jpg
/home/pi/Desktop/images/19022025/22/09/image_19022025_22_10_04_9322.jpg
/home/pi/Desktop/images/19022025/22/10/image_19022025_22_10_15_10492.jpg
/home/pi/Desktop/images/19022025/22/10/image_19022025_22_10_25_10354.jpg
/home/pi/Desktop/images/19022025/22/10/image_19022025_22_10_55_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338725880","1338725957","1338725819","1338725747","1338725738","1338725743"],"photo_ids_order":["1338725738","1338725743","1338725747","1338725819","1338725880","1338725957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e65ede053a49c81d5e5fcd39531e6e3c.jpg","text":"TemporaryFile(/tmp/multipartBody5689112949344537190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102635038,"filename":"image_19022025_22_10_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/54c21d6ec72ab21b0121cb534c321276.jpg","text":"TemporaryFile(/tmp/multipartBody8036353599590536471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102635038,"filename":"image_19022025_22_10_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/93e33a59107dfe9a7a85a6ad98e96194.jpg","text":"TemporaryFile(/tmp/multipartBody8140190224692301752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102635038,"filename":"image_19022025_22_10_15_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/576f3e72236d73a6b221dac0e6d554bb.jpg","text":"TemporaryFile(/tmp/multipartBody8170541476711725856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102635038,"filename":"image_19022025_22_10_04_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4e7359b777e9fe319488251d36247892.jpg","text":"TemporaryFile(/tmp/multipartBody2884834747521373892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102635038,"filename":"image_19022025_22_08_05_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b53f4a8db4720b527bb0753dcf5445c7.jpg","text":"TemporaryFile(/tmp/multipartBody6640690764664583624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102635038,"filename":"image_19022025_22_08_24_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338725747","file1":"1338725743","file0":"1338725738","file4":"1338725880","file5":"1338725957","file3":"1338725819"},"map_files_photo_id_array":[{"photo_id":"1338725957","filename":"file5"},{"photo_id":"1338725747","filename":"file2"},{"photo_id":"1338725880","filename":"file4"},{"photo_id":"1338725743","filename":"file1"},{"photo_id":"1338725738","filename":"file0"},{"photo_id":"1338725819","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338725880":["hashtag1","hashtag2"]},{"1338725957":["hashtag1","hashtag2"]},{"1338725819":["hashtag1","hashtag2"]},{"1338725747":["hashtag1","hashtag2"]},{"1338725738":["hashtag1","hashtag2"]},{"1338725743":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338725880, 1338725957, 1338725819, 1338725747, 1338725738, 1338725743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.80263948440552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:50:33.119227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/10/image_19022025_22_11_04_9367.jpg', '/home/pi/Desktop/images/19022025/22/11/image_19022025_22_11_15_10383.jpg', '/home/pi/Desktop/images/19022025/22/11/image_19022025_22_11_24_9425.jpg', '/home/pi/Desktop/images/19022025/22/11/image_19022025_22_12_05_10339.jpg', '/home/pi/Desktop/images/19022025/22/12/image_19022025_22_12_15_10328.jpg', '/home/pi/Desktop/images/19022025/22/12/image_19022025_22_12_24_9326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/10/image_19022025_22_11_04_9367.jpg
/home/pi/Desktop/images/19022025/22/11/image_19022025_22_11_15_10383.jpg
/home/pi/Desktop/images/19022025/22/11/image_19022025_22_11_24_9425.jpg
/home/pi/Desktop/images/19022025/22/11/image_19022025_22_12_05_10339.jpg
/home/pi/Desktop/images/19022025/22/12/image_19022025_22_12_15_10328.jpg
/home/pi/Desktop/images/19022025/22/12/image_19022025_22_12_24_9326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338726543","1338726542","1338726545","1338726548","1338726550","1338726552"],"photo_ids_order":["1338726542","1338726543","1338726545","1338726548","1338726550","1338726552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62cbefbdd27da7506fcc863976b4b0d1.jpg","text":"TemporaryFile(/tmp/multipartBody5482071915901976426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102695167,"filename":"image_19022025_22_11_15_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9f3f1a38a57cf2cf4e331fef84617fac.jpg","text":"TemporaryFile(/tmp/multipartBody806156945776861550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102695167,"filename":"image_19022025_22_11_04_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/319b00c7bcba31cca9d983e6427acf86.jpg","text":"TemporaryFile(/tmp/multipartBody7031169029863224710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102695167,"filename":"image_19022025_22_11_24_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b0fee8dfd541fd28ecb20e7802be8003.jpg","text":"TemporaryFile(/tmp/multipartBody6444028780376333847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102695167,"filename":"image_19022025_22_12_05_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a79489553d7c0d603e32fddb12c6e42.jpg","text":"TemporaryFile(/tmp/multipartBody827456452633714400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102695167,"filename":"image_19022025_22_12_15_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/20d52da5658cfee47d375dd9183b62cb.jpg","text":"TemporaryFile(/tmp/multipartBody6269544494180233057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102695167,"filename":"image_19022025_22_12_24_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338726545","file1":"1338726543","file0":"1338726542","file4":"1338726550","file5":"1338726552","file3":"1338726548"},"map_files_photo_id_array":[{"photo_id":"1338726552","filename":"file5"},{"photo_id":"1338726545","filename":"file2"},{"photo_id":"1338726550","filename":"file4"},{"photo_id":"1338726543","filename":"file1"},{"photo_id":"1338726542","filename":"file0"},{"photo_id":"1338726548","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338726543":["hashtag1","hashtag2"]},{"1338726542":["hashtag1","hashtag2"]},{"1338726545":["hashtag1","hashtag2"]},{"1338726548":["hashtag1","hashtag2"]},{"1338726550":["hashtag1","hashtag2"]},{"1338726552":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338726543, 1338726542, 1338726545, 1338726548, 1338726550, 1338726552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98733425140381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:51:32.181554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/12/image_19022025_22_12_44_9350.jpg', '/home/pi/Desktop/images/19022025/22/13/image_19022025_22_13_25_10421.jpg', '/home/pi/Desktop/images/19022025/22/13/image_19022025_22_13_35_10344.jpg', '/home/pi/Desktop/images/19022025/22/13/image_19022025_22_13_44_9391.jpg', '/home/pi/Desktop/images/19022025/22/13/image_19022025_22_13_55_10369.jpg', '/home/pi/Desktop/images/19022025/22/13/image_19022025_22_14_04_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/12/image_19022025_22_12_44_9350.jpg
/home/pi/Desktop/images/19022025/22/13/image_19022025_22_13_25_10421.jpg
/home/pi/Desktop/images/19022025/22/13/image_19022025_22_13_35_10344.jpg
/home/pi/Desktop/images/19022025/22/13/image_19022025_22_13_44_9391.jpg
/home/pi/Desktop/images/19022025/22/13/image_19022025_22_13_55_10369.jpg
/home/pi/Desktop/images/19022025/22/13/image_19022025_22_14_04_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338727209","1338727202","1338727138","1338727210","1338727167","1338727206"],"photo_ids_order":["1338727138","1338727167","1338727202","1338727206","1338727209","1338727210"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eebbfbb084bfba6fedea0b92b4f6954f.jpg","text":"TemporaryFile(/tmp/multipartBody7275647691206507682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102758563,"filename":"image_19022025_22_13_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ba7100a7086c60e3268015c6fe7a8aa0.jpg","text":"TemporaryFile(/tmp/multipartBody3133264332171123664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102758563,"filename":"image_19022025_22_13_35_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e291bcad437126a678920fe53581b1d7.jpg","text":"TemporaryFile(/tmp/multipartBody8039267241013612033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102758563,"filename":"image_19022025_22_12_44_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/772dec8dad9249d9e2d9feb5aa066c41.jpg","text":"TemporaryFile(/tmp/multipartBody6473456802021951718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102758563,"filename":"image_19022025_22_14_04_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a27e4f5ce5e80c64d9f5f6f88560984.jpg","text":"TemporaryFile(/tmp/multipartBody6464534547091188015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102758563,"filename":"image_19022025_22_13_25_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61e3f0e7b3c40143cf17025204306418.jpg","text":"TemporaryFile(/tmp/multipartBody5979265018437031533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102758563,"filename":"image_19022025_22_13_44_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338727202","file1":"1338727167","file0":"1338727138","file4":"1338727209","file5":"1338727210","file3":"1338727206"},"map_files_photo_id_array":[{"photo_id":"1338727210","filename":"file5"},{"photo_id":"1338727202","filename":"file2"},{"photo_id":"1338727209","filename":"file4"},{"photo_id":"1338727167","filename":"file1"},{"photo_id":"1338727138","filename":"file0"},{"photo_id":"1338727206","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338727209":["hashtag1","hashtag2"]},{"1338727202":["hashtag1","hashtag2"]},{"1338727138":["hashtag1","hashtag2"]},{"1338727210":["hashtag1","hashtag2"]},{"1338727167":["hashtag1","hashtag2"]},{"1338727206":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338727209, 1338727202, 1338727138, 1338727210, 1338727167, 1338727206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.25578260421753 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:52:32.459030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/14/image_19022025_22_14_25_10322.jpg', '/home/pi/Desktop/images/19022025/22/14/image_19022025_22_14_34_9343.jpg', '/home/pi/Desktop/images/19022025/22/14/image_19022025_22_14_45_10400.jpg', '/home/pi/Desktop/images/19022025/22/15/image_19022025_22_15_15_10389.jpg', '/home/pi/Desktop/images/19022025/22/15/image_19022025_22_15_54_9396.jpg', '/home/pi/Desktop/images/19022025/22/16/image_19022025_22_16_15_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/14/image_19022025_22_14_25_10322.jpg
/home/pi/Desktop/images/19022025/22/14/image_19022025_22_14_34_9343.jpg
/home/pi/Desktop/images/19022025/22/14/image_19022025_22_14_45_10400.jpg
/home/pi/Desktop/images/19022025/22/15/image_19022025_22_15_15_10389.jpg
/home/pi/Desktop/images/19022025/22/15/image_19022025_22_15_54_9396.jpg
/home/pi/Desktop/images/19022025/22/16/image_19022025_22_16_15_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338727376","1338727451","1338727439","1338727444","1338727443","1338727419"],"photo_ids_order":["1338727376","1338727419","1338727439","1338727443","1338727444","1338727451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0b5f5e57ac516475770b0b7c818cbc25.jpg","text":"TemporaryFile(/tmp/multipartBody896520868664020237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102814608,"filename":"image_19022025_22_14_25_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3e280b82d8b2659bbadaa44da26e73a3.jpg","text":"TemporaryFile(/tmp/multipartBody7094683542019768472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102814608,"filename":"image_19022025_22_16_15_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b57aea5097f82dc1a10be8bcf9ee493c.jpg","text":"TemporaryFile(/tmp/multipartBody6934259087470581414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102814608,"filename":"image_19022025_22_14_45_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e15f5888fb206b290f8d3580b66bd488.jpg","text":"TemporaryFile(/tmp/multipartBody6559394214906631721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102814608,"filename":"image_19022025_22_15_54_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0001702420edbcbd055e2d284acaea85.jpg","text":"TemporaryFile(/tmp/multipartBody6184337210434349254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102814608,"filename":"image_19022025_22_15_15_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f2bdd7bf1d954b64035c6e61c1008db6.jpg","text":"TemporaryFile(/tmp/multipartBody6227588594205435947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102814608,"filename":"image_19022025_22_14_34_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338727439","file1":"1338727419","file0":"1338727376","file4":"1338727444","file5":"1338727451","file3":"1338727443"},"map_files_photo_id_array":[{"photo_id":"1338727451","filename":"file5"},{"photo_id":"1338727439","filename":"file2"},{"photo_id":"1338727444","filename":"file4"},{"photo_id":"1338727419","filename":"file1"},{"photo_id":"1338727376","filename":"file0"},{"photo_id":"1338727443","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338727376":["hashtag1","hashtag2"]},{"1338727451":["hashtag1","hashtag2"]},{"1338727439":["hashtag1","hashtag2"]},{"1338727444":["hashtag1","hashtag2"]},{"1338727443":["hashtag1","hashtag2"]},{"1338727419":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338727376, 1338727451, 1338727439, 1338727444, 1338727443, 1338727419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.12054944038391 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:53:32.731538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/16/image_19022025_22_16_44_9336.jpg', '/home/pi/Desktop/images/19022025/22/17/image_19022025_22_17_14_9323.jpg', '/home/pi/Desktop/images/19022025/22/17/image_19022025_22_17_25_10466.jpg', '/home/pi/Desktop/images/19022025/22/17/image_19022025_22_17_35_10333.jpg', '/home/pi/Desktop/images/19022025/22/17/image_19022025_22_18_04_9315.jpg', '/home/pi/Desktop/images/19022025/22/18/image_19022025_22_18_34_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/16/image_19022025_22_16_44_9336.jpg
/home/pi/Desktop/images/19022025/22/17/image_19022025_22_17_14_9323.jpg
/home/pi/Desktop/images/19022025/22/17/image_19022025_22_17_25_10466.jpg
/home/pi/Desktop/images/19022025/22/17/image_19022025_22_17_35_10333.jpg
/home/pi/Desktop/images/19022025/22/17/image_19022025_22_18_04_9315.jpg
/home/pi/Desktop/images/19022025/22/18/image_19022025_22_18_34_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338727466","1338727474","1338727468","1338727470","1338727473","1338727472"],"photo_ids_order":["1338727466","1338727468","1338727470","1338727472","1338727473","1338727474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/58abded61477c0637358e70538f4acff.jpg","text":"TemporaryFile(/tmp/multipartBody5224560318882715791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102874756,"filename":"image_19022025_22_16_44_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ebaa68585cc56c799259196d43912ee3.jpg","text":"TemporaryFile(/tmp/multipartBody5606645325308599549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102874756,"filename":"image_19022025_22_18_34_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b82509b84e712a8cb9a54ab86cbe8e59.jpg","text":"TemporaryFile(/tmp/multipartBody7944236216582965679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102874756,"filename":"image_19022025_22_17_14_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/316d3813a0196f3cc76b51b027668e13.jpg","text":"TemporaryFile(/tmp/multipartBody5642395304328053545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102874756,"filename":"image_19022025_22_17_25_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ec6cfdf0389a73225ab6f383ae9952ac.jpg","text":"TemporaryFile(/tmp/multipartBody6187601645012426811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102874756,"filename":"image_19022025_22_18_04_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bffbc1331267e7d922c245aeb3029c71.jpg","text":"TemporaryFile(/tmp/multipartBody571407766325578643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102874756,"filename":"image_19022025_22_17_35_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338727470","file1":"1338727468","file0":"1338727466","file4":"1338727473","file5":"1338727474","file3":"1338727472"},"map_files_photo_id_array":[{"photo_id":"1338727474","filename":"file5"},{"photo_id":"1338727470","filename":"file2"},{"photo_id":"1338727473","filename":"file4"},{"photo_id":"1338727468","filename":"file1"},{"photo_id":"1338727466","filename":"file0"},{"photo_id":"1338727472","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338727466":["hashtag1","hashtag2"]},{"1338727474":["hashtag1","hashtag2"]},{"1338727468":["hashtag1","hashtag2"]},{"1338727470":["hashtag1","hashtag2"]},{"1338727473":["hashtag1","hashtag2"]},{"1338727472":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338727466, 1338727474, 1338727468, 1338727470, 1338727473, 1338727472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74757742881775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:54:32.908006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/18/image_19022025_22_19_04_9336.jpg', '/home/pi/Desktop/images/19022025/22/19/image_19022025_22_19_34_9386.jpg', '/home/pi/Desktop/images/19022025/22/19/image_19022025_22_19_54_9334.jpg', '/home/pi/Desktop/images/19022025/22/19/image_19022025_22_20_05_10505.jpg', '/home/pi/Desktop/images/19022025/22/20/image_19022025_22_20_14_9371.jpg', '/home/pi/Desktop/images/19022025/22/20/image_19022025_22_20_24_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/18/image_19022025_22_19_04_9336.jpg
/home/pi/Desktop/images/19022025/22/19/image_19022025_22_19_34_9386.jpg
/home/pi/Desktop/images/19022025/22/19/image_19022025_22_19_54_9334.jpg
/home/pi/Desktop/images/19022025/22/19/image_19022025_22_20_05_10505.jpg
/home/pi/Desktop/images/19022025/22/20/image_19022025_22_20_14_9371.jpg
/home/pi/Desktop/images/19022025/22/20/image_19022025_22_20_24_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338727484","1338727771","1338728181","1338727612","1338728319","1338727953"],"photo_ids_order":["1338727484","1338727612","1338727771","1338727953","1338728181","1338728319"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d44af40e74447fa6b77bca5355bf9848.jpg","text":"TemporaryFile(/tmp/multipartBody3406461203072379453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102934959,"filename":"image_19022025_22_19_04_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5bfad81a92eea4d272be8a28b6de657c.jpg","text":"TemporaryFile(/tmp/multipartBody7641729064828289663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102934959,"filename":"image_19022025_22_19_54_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/38f9a3c6fe205387f5a1dfb0a9a6b24c.jpg","text":"TemporaryFile(/tmp/multipartBody8919944784350856874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102934959,"filename":"image_19022025_22_20_14_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ba5458726adcbb7dd2da07f6a7df048.jpg","text":"TemporaryFile(/tmp/multipartBody7369976982572947306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102934959,"filename":"image_19022025_22_19_34_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6157c958332269ba4378b0158e1581a5.jpg","text":"TemporaryFile(/tmp/multipartBody4188368084689738287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102934959,"filename":"image_19022025_22_20_24_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7b25777c7e5c0c626d3c372e9b8bc2e8.jpg","text":"TemporaryFile(/tmp/multipartBody3309630625661050407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102934959,"filename":"image_19022025_22_20_05_10505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338727771","file1":"1338727612","file0":"1338727484","file4":"1338728181","file5":"1338728319","file3":"1338727953"},"map_files_photo_id_array":[{"photo_id":"1338728319","filename":"file5"},{"photo_id":"1338727771","filename":"file2"},{"photo_id":"1338728181","filename":"file4"},{"photo_id":"1338727612","filename":"file1"},{"photo_id":"1338727484","filename":"file0"},{"photo_id":"1338727953","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338727484":["hashtag1","hashtag2"]},{"1338727771":["hashtag1","hashtag2"]},{"1338728181":["hashtag1","hashtag2"]},{"1338727612":["hashtag1","hashtag2"]},{"1338728319":["hashtag1","hashtag2"]},{"1338727953":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338727484, 1338727771, 1338728181, 1338727612, 1338728319, 1338727953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.124741077423096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:55:33.074136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/20/image_19022025_22_20_44_9392.jpg', '/home/pi/Desktop/images/19022025/22/20/image_19022025_22_20_55_10477.jpg', '/home/pi/Desktop/images/19022025/22/21/image_19022025_22_21_14_9365.jpg', '/home/pi/Desktop/images/19022025/22/21/image_19022025_22_21_25_10363.jpg', '/home/pi/Desktop/images/19022025/22/21/image_19022025_22_21_34_9381.jpg', '/home/pi/Desktop/images/19022025/22/21/image_19022025_22_21_44_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/20/image_19022025_22_20_44_9392.jpg
/home/pi/Desktop/images/19022025/22/20/image_19022025_22_20_55_10477.jpg
/home/pi/Desktop/images/19022025/22/21/image_19022025_22_21_14_9365.jpg
/home/pi/Desktop/images/19022025/22/21/image_19022025_22_21_25_10363.jpg
/home/pi/Desktop/images/19022025/22/21/image_19022025_22_21_34_9381.jpg
/home/pi/Desktop/images/19022025/22/21/image_19022025_22_21_44_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338729322","1338729441","1338729219","1338729260","1338729440","1338729391"],"photo_ids_order":["1338729219","1338729260","1338729322","1338729391","1338729440","1338729441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/707c7f7c6ba129d8520748eb18db3e7b.jpg","text":"TemporaryFile(/tmp/multipartBody2125782923949048446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102995128,"filename":"image_19022025_22_21_14_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e11b324e21de87818df45a8c7a5a0bd6.jpg","text":"TemporaryFile(/tmp/multipartBody8855018445353300047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102995128,"filename":"image_19022025_22_21_44_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/de640924e501907d2ac488a3504e6df7.jpg","text":"TemporaryFile(/tmp/multipartBody5317070787021883802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102995128,"filename":"image_19022025_22_20_44_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/09e27ac9aa4426d90f039161a1579928.jpg","text":"TemporaryFile(/tmp/multipartBody321477915678871871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102995128,"filename":"image_19022025_22_20_55_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75ba7e85b42711735fb5a8dd73ea89ce.jpg","text":"TemporaryFile(/tmp/multipartBody6387206104141214220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102995128,"filename":"image_19022025_22_21_34_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3e596af6ccbbb26357a0a5660088eadc.jpg","text":"TemporaryFile(/tmp/multipartBody2718173037853115582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740102995128,"filename":"image_19022025_22_21_25_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338729322","file1":"1338729260","file0":"1338729219","file4":"1338729440","file5":"1338729441","file3":"1338729391"},"map_files_photo_id_array":[{"photo_id":"1338729441","filename":"file5"},{"photo_id":"1338729322","filename":"file2"},{"photo_id":"1338729440","filename":"file4"},{"photo_id":"1338729260","filename":"file1"},{"photo_id":"1338729219","filename":"file0"},{"photo_id":"1338729391","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338729322":["hashtag1","hashtag2"]},{"1338729441":["hashtag1","hashtag2"]},{"1338729219":["hashtag1","hashtag2"]},{"1338729260":["hashtag1","hashtag2"]},{"1338729440":["hashtag1","hashtag2"]},{"1338729391":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338729322, 1338729441, 1338729219, 1338729260, 1338729440, 1338729391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38572025299072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:56:32.268073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/21/image_19022025_22_21_55_10358.jpg', '/home/pi/Desktop/images/19022025/22/21/image_19022025_22_22_04_9442.jpg', '/home/pi/Desktop/images/19022025/22/22/image_19022025_22_22_15_10385.jpg', '/home/pi/Desktop/images/19022025/22/22/image_19022025_22_22_34_10414.jpg', '/home/pi/Desktop/images/19022025/22/22/image_19022025_22_23_05_10332.jpg', '/home/pi/Desktop/images/19022025/22/23/image_19022025_22_23_15_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/21/image_19022025_22_21_55_10358.jpg
/home/pi/Desktop/images/19022025/22/21/image_19022025_22_22_04_9442.jpg
/home/pi/Desktop/images/19022025/22/22/image_19022025_22_22_15_10385.jpg
/home/pi/Desktop/images/19022025/22/22/image_19022025_22_22_34_10414.jpg
/home/pi/Desktop/images/19022025/22/22/image_19022025_22_23_05_10332.jpg
/home/pi/Desktop/images/19022025/22/23/image_19022025_22_23_15_10341.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9430675506591797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 02:56:42.409096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/21/image_19022025_22_21_55_10358.jpg', '/home/pi/Desktop/images/19022025/22/21/image_19022025_22_22_04_9442.jpg', '/home/pi/Desktop/images/19022025/22/22/image_19022025_22_22_15_10385.jpg', '/home/pi/Desktop/images/19022025/22/22/image_19022025_22_22_34_10414.jpg', '/home/pi/Desktop/images/19022025/22/22/image_19022025_22_23_05_10332.jpg', '/home/pi/Desktop/images/19022025/22/23/image_19022025_22_23_15_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/21/image_19022025_22_21_55_10358.jpg
/home/pi/Desktop/images/19022025/22/21/image_19022025_22_22_04_9442.jpg
/home/pi/Desktop/images/19022025/22/22/image_19022025_22_22_15_10385.jpg
/home/pi/Desktop/images/19022025/22/22/image_19022025_22_22_34_10414.jpg
/home/pi/Desktop/images/19022025/22/22/image_19022025_22_23_05_10332.jpg
/home/pi/Desktop/images/19022025/22/23/image_19022025_22_23_15_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338729637","1338729969","1338729903","1338729878","1338729875","1338729806"],"photo_ids_order":["1338729637","1338729806","1338729875","1338729878","1338729903","1338729969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e146d05e44d68e75817fac9d9a9e1187.jpg","text":"TemporaryFile(/tmp/multipartBody8791991753290893506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103063514,"filename":"image_19022025_22_21_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/67a19237012b8def951d9bba3950ce4d.jpg","text":"TemporaryFile(/tmp/multipartBody4737804570672764110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103063514,"filename":"image_19022025_22_23_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6537c354450d2d1ce6d0175cd86e88a8.jpg","text":"TemporaryFile(/tmp/multipartBody1823620538346335993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103063514,"filename":"image_19022025_22_23_05_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/781b3b04a5b3c3e03b4cca2084e5cc56.jpg","text":"TemporaryFile(/tmp/multipartBody1517642872187349901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103063514,"filename":"image_19022025_22_22_34_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b232fe8a66737118782a990975077ff9.jpg","text":"TemporaryFile(/tmp/multipartBody1943194976727039095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103063514,"filename":"image_19022025_22_22_15_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83546ef8d16de4842bba856a2f2b45f7.jpg","text":"TemporaryFile(/tmp/multipartBody4440772450917537838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103063514,"filename":"image_19022025_22_22_04_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338729875","file1":"1338729806","file0":"1338729637","file4":"1338729903","file5":"1338729969","file3":"1338729878"},"map_files_photo_id_array":[{"photo_id":"1338729969","filename":"file5"},{"photo_id":"1338729875","filename":"file2"},{"photo_id":"1338729903","filename":"file4"},{"photo_id":"1338729806","filename":"file1"},{"photo_id":"1338729637","filename":"file0"},{"photo_id":"1338729878","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338729637":["hashtag1","hashtag2"]},{"1338729969":["hashtag1","hashtag2"]},{"1338729903":["hashtag1","hashtag2"]},{"1338729878":["hashtag1","hashtag2"]},{"1338729875":["hashtag1","hashtag2"]},{"1338729806":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338729637, 1338729969, 1338729903, 1338729878, 1338729875, 1338729806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.441221952438354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 02:57:32.436106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/23/image_19022025_22_23_24_9452.jpg', '/home/pi/Desktop/images/19022025/22/23/image_19022025_22_23_55_10415.jpg', '/home/pi/Desktop/images/19022025/22/23/image_19022025_22_24_04_9332.jpg', '/home/pi/Desktop/images/19022025/22/24/image_19022025_22_24_44_10446.jpg', '/home/pi/Desktop/images/19022025/22/24/image_19022025_22_24_55_10410.jpg', '/home/pi/Desktop/images/19022025/22/25/image_19022025_22_25_15_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/23/image_19022025_22_23_24_9452.jpg
/home/pi/Desktop/images/19022025/22/23/image_19022025_22_23_55_10415.jpg
/home/pi/Desktop/images/19022025/22/23/image_19022025_22_24_04_9332.jpg
/home/pi/Desktop/images/19022025/22/24/image_19022025_22_24_44_10446.jpg
/home/pi/Desktop/images/19022025/22/24/image_19022025_22_24_55_10410.jpg
/home/pi/Desktop/images/19022025/22/25/image_19022025_22_25_15_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 02:59:03.948136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/23/image_19022025_22_23_24_9452.jpg', '/home/pi/Desktop/images/19022025/22/23/image_19022025_22_23_55_10415.jpg', '/home/pi/Desktop/images/19022025/22/23/image_19022025_22_24_04_9332.jpg', '/home/pi/Desktop/images/19022025/22/24/image_19022025_22_24_44_10446.jpg', '/home/pi/Desktop/images/19022025/22/24/image_19022025_22_24_55_10410.jpg', '/home/pi/Desktop/images/19022025/22/25/image_19022025_22_25_15_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/23/image_19022025_22_23_24_9452.jpg
/home/pi/Desktop/images/19022025/22/23/image_19022025_22_23_55_10415.jpg
/home/pi/Desktop/images/19022025/22/23/image_19022025_22_24_04_9332.jpg
/home/pi/Desktop/images/19022025/22/24/image_19022025_22_24_44_10446.jpg
/home/pi/Desktop/images/19022025/22/24/image_19022025_22_24_55_10410.jpg
/home/pi/Desktop/images/19022025/22/25/image_19022025_22_25_15_10336.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338730636","1338730621","1338730624","1338730632","1338730626","1338730629"],"photo_ids_order":["1338730621","1338730624","1338730626","1338730629","1338730632","1338730636"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a64a4aca7fdb17b1fdae0ce77b29520c.jpg","text":"TemporaryFile(/tmp/multipartBody8891121238147625268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103205197,"filename":"image_19022025_22_25_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a820d454a292cdc9260ed48531f3703.jpg","text":"TemporaryFile(/tmp/multipartBody8122754761357522485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103205197,"filename":"image_19022025_22_23_24_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3ac6608fc29c85acdfe3b8bfa91e2c4.jpg","text":"TemporaryFile(/tmp/multipartBody3705370562920496256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103205197,"filename":"image_19022025_22_23_55_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/60ee517a6a4448aa254639c18cd58ec3.jpg","text":"TemporaryFile(/tmp/multipartBody6459014415270435911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103205197,"filename":"image_19022025_22_24_55_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/654515f269cef613e024e3494367fc48.jpg","text":"TemporaryFile(/tmp/multipartBody4432155963913529741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103205197,"filename":"image_19022025_22_24_04_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/10ddfae51d13a4a6816ab964555de459.jpg","text":"TemporaryFile(/tmp/multipartBody7648961168209054347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103205197,"filename":"image_19022025_22_24_44_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338730626","file1":"1338730624","file0":"1338730621","file4":"1338730632","file5":"1338730636","file3":"1338730629"},"map_files_photo_id_array":[{"photo_id":"1338730636","filename":"file5"},{"photo_id":"1338730626","filename":"file2"},{"photo_id":"1338730632","filename":"file4"},{"photo_id":"1338730624","filename":"file1"},{"photo_id":"1338730621","filename":"file0"},{"photo_id":"1338730629","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338730636":["hashtag1","hashtag2"]},{"1338730621":["hashtag1","hashtag2"]},{"1338730624":["hashtag1","hashtag2"]},{"1338730632":["hashtag1","hashtag2"]},{"1338730626":["hashtag1","hashtag2"]},{"1338730629":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338730636, 1338730621, 1338730624, 1338730632, 1338730626, 1338730629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21306228637695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 02:59:42.767123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/25/image_19022025_22_25_25_10435.jpg', '/home/pi/Desktop/images/19022025/22/25/image_19022025_22_25_34_9336.jpg', '/home/pi/Desktop/images/19022025/22/25/image_19022025_22_26_04_10384.jpg', '/home/pi/Desktop/images/19022025/22/26/image_19022025_22_26_15_10388.jpg', '/home/pi/Desktop/images/19022025/22/26/image_19022025_22_26_24_9332.jpg', '/home/pi/Desktop/images/19022025/22/27/image_19022025_22_27_35_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/25/image_19022025_22_25_25_10435.jpg
/home/pi/Desktop/images/19022025/22/25/image_19022025_22_25_34_9336.jpg
/home/pi/Desktop/images/19022025/22/25/image_19022025_22_26_04_10384.jpg
/home/pi/Desktop/images/19022025/22/26/image_19022025_22_26_15_10388.jpg
/home/pi/Desktop/images/19022025/22/26/image_19022025_22_26_24_9332.jpg
/home/pi/Desktop/images/19022025/22/27/image_19022025_22_27_35_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338730802","1338730810","1338730857","1338730812","1338730806","1338730808"],"photo_ids_order":["1338730802","1338730806","1338730808","1338730810","1338730812","1338730857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/31ad4245d685e34508eb5f0a6c8696b3.jpg","text":"TemporaryFile(/tmp/multipartBody1101230016560024171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103243971,"filename":"image_19022025_22_25_25_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/30c90d6e88ee8041d7bd538ca2cc1d4e.jpg","text":"TemporaryFile(/tmp/multipartBody1600045262786823298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103243971,"filename":"image_19022025_22_26_15_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ad30e987722a6c82efe7b306162f5839.jpg","text":"TemporaryFile(/tmp/multipartBody110808904666554078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103243971,"filename":"image_19022025_22_27_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7cf3ce9d5eb747204058fed81a1c108a.jpg","text":"TemporaryFile(/tmp/multipartBody8782868006402425666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103243971,"filename":"image_19022025_22_26_24_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/553db39edb3981219503ebcf04979958.jpg","text":"TemporaryFile(/tmp/multipartBody6980198889040701951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103243971,"filename":"image_19022025_22_25_34_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2b404071360a7bc55c13e022113d7ae.jpg","text":"TemporaryFile(/tmp/multipartBody120106334753054666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103243971,"filename":"image_19022025_22_26_04_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338730808","file1":"1338730806","file0":"1338730802","file4":"1338730812","file5":"1338730857","file3":"1338730810"},"map_files_photo_id_array":[{"photo_id":"1338730857","filename":"file5"},{"photo_id":"1338730808","filename":"file2"},{"photo_id":"1338730812","filename":"file4"},{"photo_id":"1338730806","filename":"file1"},{"photo_id":"1338730802","filename":"file0"},{"photo_id":"1338730810","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338730802":["hashtag1","hashtag2"]},{"1338730810":["hashtag1","hashtag2"]},{"1338730857":["hashtag1","hashtag2"]},{"1338730812":["hashtag1","hashtag2"]},{"1338730806":["hashtag1","hashtag2"]},{"1338730808":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338730802, 1338730810, 1338730857, 1338730812, 1338730806, 1338730808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.599788427352905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:00:33.077193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/27/image_19022025_22_27_44_9403.jpg', '/home/pi/Desktop/images/19022025/22/27/image_19022025_22_27_54_10340.jpg', '/home/pi/Desktop/images/19022025/22/27/image_19022025_22_28_05_10430.jpg', '/home/pi/Desktop/images/19022025/22/29/image_19022025_22_29_14_9324.jpg', '/home/pi/Desktop/images/19022025/22/29/image_19022025_22_29_25_10343.jpg', '/home/pi/Desktop/images/19022025/22/29/image_19022025_22_29_44_9327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/27/image_19022025_22_27_44_9403.jpg
/home/pi/Desktop/images/19022025/22/27/image_19022025_22_27_54_10340.jpg
/home/pi/Desktop/images/19022025/22/27/image_19022025_22_28_05_10430.jpg
/home/pi/Desktop/images/19022025/22/29/image_19022025_22_29_14_9324.jpg
/home/pi/Desktop/images/19022025/22/29/image_19022025_22_29_25_10343.jpg
/home/pi/Desktop/images/19022025/22/29/image_19022025_22_29_44_9327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338730945","1338730948","1338730947","1338730938","1338730943","1338730940"],"photo_ids_order":["1338730938","1338730940","1338730943","1338730945","1338730947","1338730948"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5aa1dbbff78a27c8fd0dfbd23e6843b7.jpg","text":"TemporaryFile(/tmp/multipartBody4823555612790344686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103295115,"filename":"image_19022025_22_29_14_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dd703fd764422d2ea40b11c8df620489.jpg","text":"TemporaryFile(/tmp/multipartBody2059232227137376450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103295115,"filename":"image_19022025_22_29_44_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/66afe27d2491c8eb4913c287b6515f23.jpg","text":"TemporaryFile(/tmp/multipartBody5301489913473216577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103295115,"filename":"image_19022025_22_29_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7c1de1894f2b4b057cffa3eff7dd4dc.jpg","text":"TemporaryFile(/tmp/multipartBody1292741186300244384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103295115,"filename":"image_19022025_22_27_44_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e9d841e21282a64fe3b45e45fcad0e8c.jpg","text":"TemporaryFile(/tmp/multipartBody3228537421152840669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103295115,"filename":"image_19022025_22_28_05_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4536cb3efcadbdfa00e46f7a5b3442ce.jpg","text":"TemporaryFile(/tmp/multipartBody6900319058383820797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103295115,"filename":"image_19022025_22_27_54_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338730943","file1":"1338730940","file0":"1338730938","file4":"1338730947","file5":"1338730948","file3":"1338730945"},"map_files_photo_id_array":[{"photo_id":"1338730948","filename":"file5"},{"photo_id":"1338730943","filename":"file2"},{"photo_id":"1338730947","filename":"file4"},{"photo_id":"1338730940","filename":"file1"},{"photo_id":"1338730938","filename":"file0"},{"photo_id":"1338730945","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338730945":["hashtag1","hashtag2"]},{"1338730948":["hashtag1","hashtag2"]},{"1338730947":["hashtag1","hashtag2"]},{"1338730938":["hashtag1","hashtag2"]},{"1338730943":["hashtag1","hashtag2"]},{"1338730940":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338730945, 1338730948, 1338730947, 1338730938, 1338730943, 1338730940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68908715248108 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:01:32.284734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/29/image_19022025_22_29_55_10318.jpg', '/home/pi/Desktop/images/19022025/22/30/image_19022025_22_30_14_9325.jpg', '/home/pi/Desktop/images/19022025/22/30/image_19022025_22_30_25_10422.jpg', '/home/pi/Desktop/images/19022025/22/30/image_19022025_22_30_44_10476.jpg', '/home/pi/Desktop/images/19022025/22/31/image_19022025_22_31_24_9336.jpg', '/home/pi/Desktop/images/19022025/22/31/image_19022025_22_31_45_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/29/image_19022025_22_29_55_10318.jpg
/home/pi/Desktop/images/19022025/22/30/image_19022025_22_30_14_9325.jpg
/home/pi/Desktop/images/19022025/22/30/image_19022025_22_30_25_10422.jpg
/home/pi/Desktop/images/19022025/22/30/image_19022025_22_30_44_10476.jpg
/home/pi/Desktop/images/19022025/22/31/image_19022025_22_31_24_9336.jpg
/home/pi/Desktop/images/19022025/22/31/image_19022025_22_31_45_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338730972","1338730981","1338730969","1338731052","1338731177","1338731092"],"photo_ids_order":["1338730969","1338730972","1338730981","1338731052","1338731092","1338731177"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6b70e08848b1cf0254aa93d55d9558cf.jpg","text":"TemporaryFile(/tmp/multipartBody2919695085939788711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103354397,"filename":"image_19022025_22_30_14_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/35b54303f9a2d819a516811e31367021.jpg","text":"TemporaryFile(/tmp/multipartBody8678004186850471481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103354397,"filename":"image_19022025_22_30_25_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8fa01f40ff4c0a9751009ca17c250251.jpg","text":"TemporaryFile(/tmp/multipartBody1636199139017810889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103354397,"filename":"image_19022025_22_29_55_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/17c79de08b26eb00a4c85fcebbf42d08.jpg","text":"TemporaryFile(/tmp/multipartBody4860998051277972796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103354397,"filename":"image_19022025_22_30_44_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/daeb2bb5cb99a6646c37495807bf7920.jpg","text":"TemporaryFile(/tmp/multipartBody1537531816112489674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103354397,"filename":"image_19022025_22_31_45_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/78efc9c3c54478e36c503b1f7a721b8a.jpg","text":"TemporaryFile(/tmp/multipartBody2589092025347654105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103354397,"filename":"image_19022025_22_31_24_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338730981","file1":"1338730972","file0":"1338730969","file4":"1338731092","file5":"1338731177","file3":"1338731052"},"map_files_photo_id_array":[{"photo_id":"1338731177","filename":"file5"},{"photo_id":"1338730981","filename":"file2"},{"photo_id":"1338731092","filename":"file4"},{"photo_id":"1338730972","filename":"file1"},{"photo_id":"1338730969","filename":"file0"},{"photo_id":"1338731052","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338730972":["hashtag1","hashtag2"]},{"1338730981":["hashtag1","hashtag2"]},{"1338730969":["hashtag1","hashtag2"]},{"1338731052":["hashtag1","hashtag2"]},{"1338731177":["hashtag1","hashtag2"]},{"1338731092":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338730972, 1338730981, 1338730969, 1338731052, 1338731177, 1338731092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19482469558716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:02:32.454638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/33/image_19022025_22_33_14_9340.jpg', '/home/pi/Desktop/images/19022025/22/33/image_19022025_22_33_24_10420.jpg', '/home/pi/Desktop/images/19022025/22/33/image_19022025_22_33_44_9326.jpg', '/home/pi/Desktop/images/19022025/22/33/image_19022025_22_33_55_10451.jpg', '/home/pi/Desktop/images/19022025/22/33/image_19022025_22_34_04_9348.jpg', '/home/pi/Desktop/images/19022025/22/34/image_19022025_22_34_44_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/33/image_19022025_22_33_14_9340.jpg
/home/pi/Desktop/images/19022025/22/33/image_19022025_22_33_24_10420.jpg
/home/pi/Desktop/images/19022025/22/33/image_19022025_22_33_44_9326.jpg
/home/pi/Desktop/images/19022025/22/33/image_19022025_22_33_55_10451.jpg
/home/pi/Desktop/images/19022025/22/33/image_19022025_22_34_04_9348.jpg
/home/pi/Desktop/images/19022025/22/34/image_19022025_22_34_44_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338731251","1338731248","1338731250","1338731249","1338731252","1338731246"],"photo_ids_order":["1338731246","1338731248","1338731249","1338731250","1338731251","1338731252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f5b44cdac9e5f558f900f281c9d38b29.jpg","text":"TemporaryFile(/tmp/multipartBody722994162805452259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103414611,"filename":"image_19022025_22_34_04_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e7966863842bed3333eec6b5987b044.jpg","text":"TemporaryFile(/tmp/multipartBody1278730262267676670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103414611,"filename":"image_19022025_22_33_24_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dc93cc285eb55aace97157076f705d2f.jpg","text":"TemporaryFile(/tmp/multipartBody7278700004782342258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103414611,"filename":"image_19022025_22_33_55_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/25ff5eb52315fc73874a951e84eb8d8c.jpg","text":"TemporaryFile(/tmp/multipartBody4158856837220992144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103414611,"filename":"image_19022025_22_33_44_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4e4b1888b42359ed28905eda5f07a61.jpg","text":"TemporaryFile(/tmp/multipartBody1058259709800987000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103414611,"filename":"image_19022025_22_34_44_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d655315bd9b1379468c74244a2cfffbb.jpg","text":"TemporaryFile(/tmp/multipartBody8946811265780788910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103414611,"filename":"image_19022025_22_33_14_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338731249","file1":"1338731248","file0":"1338731246","file4":"1338731251","file5":"1338731252","file3":"1338731250"},"map_files_photo_id_array":[{"photo_id":"1338731252","filename":"file5"},{"photo_id":"1338731249","filename":"file2"},{"photo_id":"1338731251","filename":"file4"},{"photo_id":"1338731248","filename":"file1"},{"photo_id":"1338731246","filename":"file0"},{"photo_id":"1338731250","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338731251":["hashtag1","hashtag2"]},{"1338731248":["hashtag1","hashtag2"]},{"1338731250":["hashtag1","hashtag2"]},{"1338731249":["hashtag1","hashtag2"]},{"1338731252":["hashtag1","hashtag2"]},{"1338731246":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338731251, 1338731248, 1338731250, 1338731249, 1338731252, 1338731246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.41698503494263 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:03:32.674681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/34/image_19022025_22_34_55_10344.jpg', '/home/pi/Desktop/images/19022025/22/34/image_19022025_22_35_04_9328.jpg', '/home/pi/Desktop/images/19022025/22/35/image_19022025_22_35_15_10407.jpg', '/home/pi/Desktop/images/19022025/22/35/image_19022025_22_35_34_9442.jpg', '/home/pi/Desktop/images/19022025/22/35/image_19022025_22_35_54_9382.jpg', '/home/pi/Desktop/images/19022025/22/35/image_19022025_22_36_04_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/34/image_19022025_22_34_55_10344.jpg
/home/pi/Desktop/images/19022025/22/34/image_19022025_22_35_04_9328.jpg
/home/pi/Desktop/images/19022025/22/35/image_19022025_22_35_15_10407.jpg
/home/pi/Desktop/images/19022025/22/35/image_19022025_22_35_34_9442.jpg
/home/pi/Desktop/images/19022025/22/35/image_19022025_22_35_54_9382.jpg
/home/pi/Desktop/images/19022025/22/35/image_19022025_22_36_04_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338731269","1338731260","1338731262","1338731271","1338731267","1338731264"],"photo_ids_order":["1338731260","1338731262","1338731264","1338731267","1338731269","1338731271"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7facab44b3aa06c7c60d54cfd0e182b.jpg","text":"TemporaryFile(/tmp/multipartBody8485456721264447198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103474746,"filename":"image_19022025_22_35_54_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cdc6d1e9fadb738057a5a50277353f72.jpg","text":"TemporaryFile(/tmp/multipartBody5604443607786051606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103474746,"filename":"image_19022025_22_34_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/39480c6334ffe1581a35899d7bbf5b00.jpg","text":"TemporaryFile(/tmp/multipartBody1741156411782590827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103474746,"filename":"image_19022025_22_35_04_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eb546db59b242e052dfec0088f50ce7f.jpg","text":"TemporaryFile(/tmp/multipartBody3070772036275933750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103474746,"filename":"image_19022025_22_36_04_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2731c4544a66578ae01efb90731cc44.jpg","text":"TemporaryFile(/tmp/multipartBody4280323028737997556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103474746,"filename":"image_19022025_22_35_34_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d8e0476f23a33da3e4f15bfaa723008e.jpg","text":"TemporaryFile(/tmp/multipartBody7633914470541835768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103474746,"filename":"image_19022025_22_35_15_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338731264","file1":"1338731262","file0":"1338731260","file4":"1338731269","file5":"1338731271","file3":"1338731267"},"map_files_photo_id_array":[{"photo_id":"1338731271","filename":"file5"},{"photo_id":"1338731264","filename":"file2"},{"photo_id":"1338731269","filename":"file4"},{"photo_id":"1338731262","filename":"file1"},{"photo_id":"1338731260","filename":"file0"},{"photo_id":"1338731267","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338731269":["hashtag1","hashtag2"]},{"1338731260":["hashtag1","hashtag2"]},{"1338731262":["hashtag1","hashtag2"]},{"1338731271":["hashtag1","hashtag2"]},{"1338731267":["hashtag1","hashtag2"]},{"1338731264":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338731269, 1338731260, 1338731262, 1338731271, 1338731267, 1338731264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9271445274353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:04:32.887762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/36/image_19022025_22_36_15_10323.jpg', '/home/pi/Desktop/images/19022025/22/36/image_19022025_22_36_24_9326.jpg', '/home/pi/Desktop/images/19022025/22/36/image_19022025_22_36_34_10377.jpg', '/home/pi/Desktop/images/19022025/22/36/image_19022025_22_36_54_9355.jpg', '/home/pi/Desktop/images/19022025/22/36/image_19022025_22_37_05_10406.jpg', '/home/pi/Desktop/images/19022025/22/37/image_19022025_22_37_15_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/36/image_19022025_22_36_15_10323.jpg
/home/pi/Desktop/images/19022025/22/36/image_19022025_22_36_24_9326.jpg
/home/pi/Desktop/images/19022025/22/36/image_19022025_22_36_34_10377.jpg
/home/pi/Desktop/images/19022025/22/36/image_19022025_22_36_54_9355.jpg
/home/pi/Desktop/images/19022025/22/36/image_19022025_22_37_05_10406.jpg
/home/pi/Desktop/images/19022025/22/37/image_19022025_22_37_15_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338731287","1338731281","1338731289","1338731286","1338731288","1338731284"],"photo_ids_order":["1338731281","1338731284","1338731286","1338731287","1338731288","1338731289"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/af1d6f7d36ddd5a2391c7d87114c8df3.jpg","text":"TemporaryFile(/tmp/multipartBody5222557836233148206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103534944,"filename":"image_19022025_22_36_54_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c42430bf036edc1916ec897fa14db699.jpg","text":"TemporaryFile(/tmp/multipartBody6310284656173422709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103534944,"filename":"image_19022025_22_36_15_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/44d046535da73e79c0b5cdd98c9fe4f5.jpg","text":"TemporaryFile(/tmp/multipartBody8258449003050255652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103534944,"filename":"image_19022025_22_37_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eddfc3eb6743b8103085260c8fc33a90.jpg","text":"TemporaryFile(/tmp/multipartBody4460032110697704589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103534944,"filename":"image_19022025_22_36_34_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/25d1394675487e3c1e7f5ab90f4e6d8a.jpg","text":"TemporaryFile(/tmp/multipartBody2254852752486966035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103534944,"filename":"image_19022025_22_37_05_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9263f824999f80190b33d8bb5f0f8f50.jpg","text":"TemporaryFile(/tmp/multipartBody7270237271770863300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103534944,"filename":"image_19022025_22_36_24_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338731286","file1":"1338731284","file0":"1338731281","file4":"1338731288","file5":"1338731289","file3":"1338731287"},"map_files_photo_id_array":[{"photo_id":"1338731289","filename":"file5"},{"photo_id":"1338731286","filename":"file2"},{"photo_id":"1338731288","filename":"file4"},{"photo_id":"1338731284","filename":"file1"},{"photo_id":"1338731281","filename":"file0"},{"photo_id":"1338731287","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338731287":["hashtag1","hashtag2"]},{"1338731281":["hashtag1","hashtag2"]},{"1338731289":["hashtag1","hashtag2"]},{"1338731286":["hashtag1","hashtag2"]},{"1338731288":["hashtag1","hashtag2"]},{"1338731284":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338731287, 1338731281, 1338731289, 1338731286, 1338731288, 1338731284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76508641242981 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:05:33.164296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/37/image_19022025_22_37_24_9341.jpg', '/home/pi/Desktop/images/19022025/22/37/image_19022025_22_37_35_10432.jpg', '/home/pi/Desktop/images/19022025/22/37/image_19022025_22_37_44_9357.jpg', '/home/pi/Desktop/images/19022025/22/37/image_19022025_22_38_04_9441.jpg', '/home/pi/Desktop/images/19022025/22/38/image_19022025_22_38_14_10395.jpg', '/home/pi/Desktop/images/19022025/22/38/image_19022025_22_39_04_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/37/image_19022025_22_37_24_9341.jpg
/home/pi/Desktop/images/19022025/22/37/image_19022025_22_37_35_10432.jpg
/home/pi/Desktop/images/19022025/22/37/image_19022025_22_37_44_9357.jpg
/home/pi/Desktop/images/19022025/22/37/image_19022025_22_38_04_9441.jpg
/home/pi/Desktop/images/19022025/22/38/image_19022025_22_38_14_10395.jpg
/home/pi/Desktop/images/19022025/22/38/image_19022025_22_39_04_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338731347","1338731301","1338731304","1338731444","1338731303","1338731300"],"photo_ids_order":["1338731300","1338731301","1338731303","1338731304","1338731347","1338731444"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/60bc0ce84c64c80b3ef4bf5ddc134cfd.jpg","text":"TemporaryFile(/tmp/multipartBody2402622123787389434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103595221,"filename":"image_19022025_22_38_14_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e0fa2fda56bcc88be6c24522a167c191.jpg","text":"TemporaryFile(/tmp/multipartBody6205430440514062064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103595221,"filename":"image_19022025_22_37_35_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9f82e1c69e35ce8500e3bf468396b5c1.jpg","text":"TemporaryFile(/tmp/multipartBody5309334882131933617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103595221,"filename":"image_19022025_22_38_04_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/79c4c8369b869a98e2e1810d5818c1d3.jpg","text":"TemporaryFile(/tmp/multipartBody7815438990570592829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103595221,"filename":"image_19022025_22_39_04_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8a15bab5b33e9d48cffe4a0262e73333.jpg","text":"TemporaryFile(/tmp/multipartBody7962244691389795548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103595221,"filename":"image_19022025_22_37_44_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e4d7a1f82fc06c1f2887afb8fa37588.jpg","text":"TemporaryFile(/tmp/multipartBody7506314609820448708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103595221,"filename":"image_19022025_22_37_24_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338731303","file1":"1338731301","file0":"1338731300","file4":"1338731347","file5":"1338731444","file3":"1338731304"},"map_files_photo_id_array":[{"photo_id":"1338731444","filename":"file5"},{"photo_id":"1338731303","filename":"file2"},{"photo_id":"1338731347","filename":"file4"},{"photo_id":"1338731301","filename":"file1"},{"photo_id":"1338731300","filename":"file0"},{"photo_id":"1338731304","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338731347":["hashtag1","hashtag2"]},{"1338731301":["hashtag1","hashtag2"]},{"1338731304":["hashtag1","hashtag2"]},{"1338731444":["hashtag1","hashtag2"]},{"1338731303":["hashtag1","hashtag2"]},{"1338731300":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338731347, 1338731301, 1338731304, 1338731444, 1338731303, 1338731300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.334715127944946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:06:32.307689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/39/image_19022025_22_39_15_10397.jpg', '/home/pi/Desktop/images/19022025/22/39/image_19022025_22_39_24_9365.jpg', '/home/pi/Desktop/images/19022025/22/39/image_19022025_22_39_34_10377.jpg', '/home/pi/Desktop/images/19022025/22/39/image_19022025_22_39_45_10366.jpg', '/home/pi/Desktop/images/19022025/22/39/image_19022025_22_39_54_9388.jpg', '/home/pi/Desktop/images/19022025/22/40/image_19022025_22_40_24_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/39/image_19022025_22_39_15_10397.jpg
/home/pi/Desktop/images/19022025/22/39/image_19022025_22_39_24_9365.jpg
/home/pi/Desktop/images/19022025/22/39/image_19022025_22_39_34_10377.jpg
/home/pi/Desktop/images/19022025/22/39/image_19022025_22_39_45_10366.jpg
/home/pi/Desktop/images/19022025/22/39/image_19022025_22_39_54_9388.jpg
/home/pi/Desktop/images/19022025/22/40/image_19022025_22_40_24_9335.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.969883680343628 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 03:06:42.244617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/39/image_19022025_22_39_15_10397.jpg', '/home/pi/Desktop/images/19022025/22/39/image_19022025_22_39_24_9365.jpg', '/home/pi/Desktop/images/19022025/22/39/image_19022025_22_39_34_10377.jpg', '/home/pi/Desktop/images/19022025/22/39/image_19022025_22_39_45_10366.jpg', '/home/pi/Desktop/images/19022025/22/39/image_19022025_22_39_54_9388.jpg', '/home/pi/Desktop/images/19022025/22/40/image_19022025_22_40_24_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/39/image_19022025_22_39_15_10397.jpg
/home/pi/Desktop/images/19022025/22/39/image_19022025_22_39_24_9365.jpg
/home/pi/Desktop/images/19022025/22/39/image_19022025_22_39_34_10377.jpg
/home/pi/Desktop/images/19022025/22/39/image_19022025_22_39_45_10366.jpg
/home/pi/Desktop/images/19022025/22/39/image_19022025_22_39_54_9388.jpg
/home/pi/Desktop/images/19022025/22/40/image_19022025_22_40_24_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338732174","1338732183","1338732179","1338732164","1338732167","1338732187"],"photo_ids_order":["1338732164","1338732167","1338732174","1338732179","1338732183","1338732187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/44b5e029cdc3dcf1e86d1bcc8167095e.jpg","text":"TemporaryFile(/tmp/multipartBody1382376241425487953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103663349,"filename":"image_19022025_22_39_34_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a8d350e3b0cf640b73501ebe8dd3cd42.jpg","text":"TemporaryFile(/tmp/multipartBody7925380496643016534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103663349,"filename":"image_19022025_22_39_54_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4b8784ddc021dd441c4e80e74dac878.jpg","text":"TemporaryFile(/tmp/multipartBody944849863529952482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103663349,"filename":"image_19022025_22_39_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/01af9e7a4dbbaddfe1ac9f716579c8f1.jpg","text":"TemporaryFile(/tmp/multipartBody4541607819307067475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103663349,"filename":"image_19022025_22_39_15_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c3557dae8f48afbebd18f6613ad528f1.jpg","text":"TemporaryFile(/tmp/multipartBody2936873175468401574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103663349,"filename":"image_19022025_22_39_24_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2b61e4a054a52c41f53a6165f5a1c5c2.jpg","text":"TemporaryFile(/tmp/multipartBody1495522824438644451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103663349,"filename":"image_19022025_22_40_24_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338732174","file1":"1338732167","file0":"1338732164","file4":"1338732183","file5":"1338732187","file3":"1338732179"},"map_files_photo_id_array":[{"photo_id":"1338732187","filename":"file5"},{"photo_id":"1338732174","filename":"file2"},{"photo_id":"1338732183","filename":"file4"},{"photo_id":"1338732167","filename":"file1"},{"photo_id":"1338732164","filename":"file0"},{"photo_id":"1338732179","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338732174":["hashtag1","hashtag2"]},{"1338732183":["hashtag1","hashtag2"]},{"1338732179":["hashtag1","hashtag2"]},{"1338732164":["hashtag1","hashtag2"]},{"1338732167":["hashtag1","hashtag2"]},{"1338732187":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338732174, 1338732183, 1338732179, 1338732164, 1338732167, 1338732187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.75322437286377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:07:32.381452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/40/image_19022025_22_40_35_10334.jpg', '/home/pi/Desktop/images/19022025/22/40/image_19022025_22_40_45_10341.jpg', '/home/pi/Desktop/images/19022025/22/40/image_19022025_22_40_54_9441.jpg', '/home/pi/Desktop/images/19022025/22/40/image_19022025_22_41_05_10345.jpg', '/home/pi/Desktop/images/19022025/22/41/image_19022025_22_41_14_9320.jpg', '/home/pi/Desktop/images/19022025/22/41/image_19022025_22_41_24_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/40/image_19022025_22_40_35_10334.jpg
/home/pi/Desktop/images/19022025/22/40/image_19022025_22_40_45_10341.jpg
/home/pi/Desktop/images/19022025/22/40/image_19022025_22_40_54_9441.jpg
/home/pi/Desktop/images/19022025/22/40/image_19022025_22_41_05_10345.jpg
/home/pi/Desktop/images/19022025/22/41/image_19022025_22_41_14_9320.jpg
/home/pi/Desktop/images/19022025/22/41/image_19022025_22_41_24_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338732406","1338732400","1338732363","1338732405","1338732365","1338732359"],"photo_ids_order":["1338732359","1338732363","1338732365","1338732400","1338732405","1338732406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04143ee2f59454ba66ba46868c2f98eb.jpg","text":"TemporaryFile(/tmp/multipartBody5761735171276958274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103714416,"filename":"image_19022025_22_41_24_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e49ba25f93d272d950726b842ab8783.jpg","text":"TemporaryFile(/tmp/multipartBody8257662320398321379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103714416,"filename":"image_19022025_22_41_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/db726d7d3ac7e828605680209720799b.jpg","text":"TemporaryFile(/tmp/multipartBody2734191872266225230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103714416,"filename":"image_19022025_22_40_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1cdfb2ed5bf1a0d33726c6eb5171e11f.jpg","text":"TemporaryFile(/tmp/multipartBody3952513474830177592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103714416,"filename":"image_19022025_22_41_14_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae41134c091099b371636ca9f4a44d24.jpg","text":"TemporaryFile(/tmp/multipartBody1368397416778020695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103714416,"filename":"image_19022025_22_40_54_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b87dd063e759801f58e5cd84d3226504.jpg","text":"TemporaryFile(/tmp/multipartBody7160326565656245525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103714416,"filename":"image_19022025_22_40_35_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338732365","file1":"1338732363","file0":"1338732359","file4":"1338732405","file5":"1338732406","file3":"1338732400"},"map_files_photo_id_array":[{"photo_id":"1338732406","filename":"file5"},{"photo_id":"1338732365","filename":"file2"},{"photo_id":"1338732405","filename":"file4"},{"photo_id":"1338732363","filename":"file1"},{"photo_id":"1338732359","filename":"file0"},{"photo_id":"1338732400","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338732406":["hashtag1","hashtag2"]},{"1338732400":["hashtag1","hashtag2"]},{"1338732363":["hashtag1","hashtag2"]},{"1338732405":["hashtag1","hashtag2"]},{"1338732365":["hashtag1","hashtag2"]},{"1338732359":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338732406, 1338732400, 1338732363, 1338732405, 1338732365, 1338732359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.816909074783325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:08:32.620045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/41/image_19022025_22_41_35_10332.jpg', '/home/pi/Desktop/images/19022025/22/41/image_19022025_22_42_05_10344.jpg', '/home/pi/Desktop/images/19022025/22/42/image_19022025_22_42_14_9328.jpg', '/home/pi/Desktop/images/19022025/22/42/image_19022025_22_42_25_10458.jpg', '/home/pi/Desktop/images/19022025/22/42/image_19022025_22_42_34_9327.jpg', '/home/pi/Desktop/images/19022025/22/42/image_19022025_22_42_44_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/41/image_19022025_22_41_35_10332.jpg
/home/pi/Desktop/images/19022025/22/41/image_19022025_22_42_05_10344.jpg
/home/pi/Desktop/images/19022025/22/42/image_19022025_22_42_14_9328.jpg
/home/pi/Desktop/images/19022025/22/42/image_19022025_22_42_25_10458.jpg
/home/pi/Desktop/images/19022025/22/42/image_19022025_22_42_34_9327.jpg
/home/pi/Desktop/images/19022025/22/42/image_19022025_22_42_44_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338732459","1338732462","1338732456","1338732464","1338732460","1338732457"],"photo_ids_order":["1338732456","1338732457","1338732459","1338732460","1338732462","1338732464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/11216f4be2c60dafc0aca347735cb6ea.jpg","text":"TemporaryFile(/tmp/multipartBody7456238619840835186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103774664,"filename":"image_19022025_22_42_14_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4496d2e50d827de7747e00dc16c47a7c.jpg","text":"TemporaryFile(/tmp/multipartBody3585069448771639781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103774664,"filename":"image_19022025_22_42_34_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6bcf371fe1213a92ffc11cf5de965829.jpg","text":"TemporaryFile(/tmp/multipartBody8020098312461825125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103774664,"filename":"image_19022025_22_41_35_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/71f282d90f588d022333d2c509292ba6.jpg","text":"TemporaryFile(/tmp/multipartBody7611049667341412068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103774664,"filename":"image_19022025_22_42_44_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e12aa1c2f2a946ea09c04fc4dae49685.jpg","text":"TemporaryFile(/tmp/multipartBody2246394893394226266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103774664,"filename":"image_19022025_22_42_25_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/893e38dbc84327b902f92292817654f4.jpg","text":"TemporaryFile(/tmp/multipartBody2657145837608829828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103774664,"filename":"image_19022025_22_42_05_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338732459","file1":"1338732457","file0":"1338732456","file4":"1338732462","file5":"1338732464","file3":"1338732460"},"map_files_photo_id_array":[{"photo_id":"1338732464","filename":"file5"},{"photo_id":"1338732459","filename":"file2"},{"photo_id":"1338732462","filename":"file4"},{"photo_id":"1338732457","filename":"file1"},{"photo_id":"1338732456","filename":"file0"},{"photo_id":"1338732460","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338732459":["hashtag1","hashtag2"]},{"1338732462":["hashtag1","hashtag2"]},{"1338732456":["hashtag1","hashtag2"]},{"1338732464":["hashtag1","hashtag2"]},{"1338732460":["hashtag1","hashtag2"]},{"1338732457":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338732459, 1338732462, 1338732456, 1338732464, 1338732460, 1338732457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27029585838318 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:09:32.890120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/42/image_19022025_22_42_55_10420.jpg', '/home/pi/Desktop/images/19022025/22/42/image_19022025_22_43_04_9338.jpg', '/home/pi/Desktop/images/19022025/22/43/image_19022025_22_43_14_10381.jpg', '/home/pi/Desktop/images/19022025/22/43/image_19022025_22_43_45_10457.jpg', '/home/pi/Desktop/images/19022025/22/43/image_19022025_22_44_04_9331.jpg', '/home/pi/Desktop/images/19022025/22/44/image_19022025_22_44_25_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/42/image_19022025_22_42_55_10420.jpg
/home/pi/Desktop/images/19022025/22/42/image_19022025_22_43_04_9338.jpg
/home/pi/Desktop/images/19022025/22/43/image_19022025_22_43_14_10381.jpg
/home/pi/Desktop/images/19022025/22/43/image_19022025_22_43_45_10457.jpg
/home/pi/Desktop/images/19022025/22/43/image_19022025_22_44_04_9331.jpg
/home/pi/Desktop/images/19022025/22/44/image_19022025_22_44_25_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338733023","1338732884","1338732723","1338733061","1338732953","1338732808"],"photo_ids_order":["1338732723","1338732808","1338732884","1338732953","1338733023","1338733061"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eba1c81db62fe91c80c1ab5ffcda654a.jpg","text":"TemporaryFile(/tmp/multipartBody9187742824763605379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103834929,"filename":"image_19022025_22_44_04_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5bc2db30663fc0d08ff30dde27fb827c.jpg","text":"TemporaryFile(/tmp/multipartBody5247331402225272570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103834929,"filename":"image_19022025_22_43_14_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e01a2ffe20de054c0b1aa5a328f75147.jpg","text":"TemporaryFile(/tmp/multipartBody2137372799942782199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103834929,"filename":"image_19022025_22_42_55_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0440187dba361281a7785db6d46be510.jpg","text":"TemporaryFile(/tmp/multipartBody2110260595883449465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103834929,"filename":"image_19022025_22_44_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/928764686b83cc6a15ae6fc9688ce911.jpg","text":"TemporaryFile(/tmp/multipartBody8839842822237958377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103834929,"filename":"image_19022025_22_43_45_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/76ac5f9b9fe956f869d5318f760c267d.jpg","text":"TemporaryFile(/tmp/multipartBody1589970146864748346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103834929,"filename":"image_19022025_22_43_04_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338732884","file1":"1338732808","file0":"1338732723","file4":"1338733023","file5":"1338733061","file3":"1338732953"},"map_files_photo_id_array":[{"photo_id":"1338733061","filename":"file5"},{"photo_id":"1338732884","filename":"file2"},{"photo_id":"1338733023","filename":"file4"},{"photo_id":"1338732808","filename":"file1"},{"photo_id":"1338732723","filename":"file0"},{"photo_id":"1338732953","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338733023":["hashtag1","hashtag2"]},{"1338732884":["hashtag1","hashtag2"]},{"1338732723":["hashtag1","hashtag2"]},{"1338733061":["hashtag1","hashtag2"]},{"1338732953":["hashtag1","hashtag2"]},{"1338732808":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338733023, 1338732884, 1338732723, 1338733061, 1338732953, 1338732808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90732932090759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:10:33.117221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/44/image_19022025_22_44_34_9335.jpg', '/home/pi/Desktop/images/19022025/22/44/image_19022025_22_44_45_10361.jpg', '/home/pi/Desktop/images/19022025/22/44/image_19022025_22_45_04_9326.jpg', '/home/pi/Desktop/images/19022025/22/45/image_19022025_22_45_24_9340.jpg', '/home/pi/Desktop/images/19022025/22/45/image_19022025_22_45_45_10334.jpg', '/home/pi/Desktop/images/19022025/22/46/image_19022025_22_46_35_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/44/image_19022025_22_44_34_9335.jpg
/home/pi/Desktop/images/19022025/22/44/image_19022025_22_44_45_10361.jpg
/home/pi/Desktop/images/19022025/22/44/image_19022025_22_45_04_9326.jpg
/home/pi/Desktop/images/19022025/22/45/image_19022025_22_45_24_9340.jpg
/home/pi/Desktop/images/19022025/22/45/image_19022025_22_45_45_10334.jpg
/home/pi/Desktop/images/19022025/22/46/image_19022025_22_46_35_10403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338733248","1338733230","1338733253","1338733154","1338733084","1338733072"],"photo_ids_order":["1338733072","1338733084","1338733154","1338733230","1338733248","1338733253"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8fbf355670753758b6031cf307583dee.jpg","text":"TemporaryFile(/tmp/multipartBody1580287810065873707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103895158,"filename":"image_19022025_22_45_45_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90f03d7b74668a065709921e2167fb61.jpg","text":"TemporaryFile(/tmp/multipartBody3747108821036379106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103895158,"filename":"image_19022025_22_45_24_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d2929a38c331d7386a7223fdcf12d68c.jpg","text":"TemporaryFile(/tmp/multipartBody2173202825502431182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103895158,"filename":"image_19022025_22_46_35_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59e38db201c5f965dbef318b725a8c80.jpg","text":"TemporaryFile(/tmp/multipartBody406073145183164662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103895158,"filename":"image_19022025_22_45_04_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ca20937381ac1b9193f63a4f8e53f4c.jpg","text":"TemporaryFile(/tmp/multipartBody6535162021262802217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103895158,"filename":"image_19022025_22_44_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9709051d156dd28dea67cfabb006017e.jpg","text":"TemporaryFile(/tmp/multipartBody6887741714191661296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103895158,"filename":"image_19022025_22_44_34_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338733154","file1":"1338733084","file0":"1338733072","file4":"1338733248","file5":"1338733253","file3":"1338733230"},"map_files_photo_id_array":[{"photo_id":"1338733253","filename":"file5"},{"photo_id":"1338733154","filename":"file2"},{"photo_id":"1338733248","filename":"file4"},{"photo_id":"1338733084","filename":"file1"},{"photo_id":"1338733072","filename":"file0"},{"photo_id":"1338733230","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338733248":["hashtag1","hashtag2"]},{"1338733230":["hashtag1","hashtag2"]},{"1338733253":["hashtag1","hashtag2"]},{"1338733154":["hashtag1","hashtag2"]},{"1338733084":["hashtag1","hashtag2"]},{"1338733072":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338733248, 1338733230, 1338733253, 1338733154, 1338733084, 1338733072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.019861459732056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:11:32.221470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/46/image_19022025_22_46_44_9329.jpg', '/home/pi/Desktop/images/19022025/22/46/image_19022025_22_46_54_10420.jpg', '/home/pi/Desktop/images/19022025/22/46/image_19022025_22_47_05_10425.jpg', '/home/pi/Desktop/images/19022025/22/47/image_19022025_22_47_25_10343.jpg', '/home/pi/Desktop/images/19022025/22/47/image_19022025_22_47_35_10342.jpg', '/home/pi/Desktop/images/19022025/22/47/image_19022025_22_48_04_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/46/image_19022025_22_46_44_9329.jpg
/home/pi/Desktop/images/19022025/22/46/image_19022025_22_46_54_10420.jpg
/home/pi/Desktop/images/19022025/22/46/image_19022025_22_47_05_10425.jpg
/home/pi/Desktop/images/19022025/22/47/image_19022025_22_47_25_10343.jpg
/home/pi/Desktop/images/19022025/22/47/image_19022025_22_47_35_10342.jpg
/home/pi/Desktop/images/19022025/22/47/image_19022025_22_48_04_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338733431","1338733437","1338733376","1338733439","1338733400","1338733375"],"photo_ids_order":["1338733375","1338733376","1338733400","1338733431","1338733437","1338733439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/46ee75c3da835e87311d25d29fb077bc.jpg","text":"TemporaryFile(/tmp/multipartBody3003511277170678165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103954275,"filename":"image_19022025_22_47_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f19ac3fceab652f1dbd1faa40f199bd6.jpg","text":"TemporaryFile(/tmp/multipartBody3323140393786484213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103954275,"filename":"image_19022025_22_47_35_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/05076d53bf85ec87a0007034492abffb.jpg","text":"TemporaryFile(/tmp/multipartBody5480897704622785104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103954275,"filename":"image_19022025_22_46_54_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c26c0212a6ee31ac80fa1eeb004989c.jpg","text":"TemporaryFile(/tmp/multipartBody8537173312894124707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103954275,"filename":"image_19022025_22_48_04_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/470c8b5542805af9c3ea938c5d1fdb57.jpg","text":"TemporaryFile(/tmp/multipartBody1297605411669668002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103954275,"filename":"image_19022025_22_47_05_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2917bfcb1cba8ff1f8c1ad8212ac8f9b.jpg","text":"TemporaryFile(/tmp/multipartBody7520361526570497153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740103954275,"filename":"image_19022025_22_46_44_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338733400","file1":"1338733376","file0":"1338733375","file4":"1338733437","file5":"1338733439","file3":"1338733431"},"map_files_photo_id_array":[{"photo_id":"1338733439","filename":"file5"},{"photo_id":"1338733400","filename":"file2"},{"photo_id":"1338733437","filename":"file4"},{"photo_id":"1338733376","filename":"file1"},{"photo_id":"1338733375","filename":"file0"},{"photo_id":"1338733431","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338733431":["hashtag1","hashtag2"]},{"1338733437":["hashtag1","hashtag2"]},{"1338733376":["hashtag1","hashtag2"]},{"1338733439":["hashtag1","hashtag2"]},{"1338733400":["hashtag1","hashtag2"]},{"1338733375":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338733431, 1338733437, 1338733376, 1338733439, 1338733400, 1338733375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53677678108215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:12:32.458103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/48/image_19022025_22_48_14_10408.jpg', '/home/pi/Desktop/images/19022025/22/48/image_19022025_22_48_34_9403.jpg', '/home/pi/Desktop/images/19022025/22/48/image_19022025_22_48_45_10396.jpg', '/home/pi/Desktop/images/19022025/22/48/image_19022025_22_49_04_10441.jpg', '/home/pi/Desktop/images/19022025/22/49/image_19022025_22_49_15_10442.jpg', '/home/pi/Desktop/images/19022025/22/50/image_19022025_22_50_24_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/48/image_19022025_22_48_14_10408.jpg
/home/pi/Desktop/images/19022025/22/48/image_19022025_22_48_34_9403.jpg
/home/pi/Desktop/images/19022025/22/48/image_19022025_22_48_45_10396.jpg
/home/pi/Desktop/images/19022025/22/48/image_19022025_22_49_04_10441.jpg
/home/pi/Desktop/images/19022025/22/49/image_19022025_22_49_15_10442.jpg
/home/pi/Desktop/images/19022025/22/50/image_19022025_22_50_24_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338733740","1338733484","1338733668","1338733575","1338733497","1338733482"],"photo_ids_order":["1338733482","1338733484","1338733497","1338733575","1338733668","1338733740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9edd31eb36d812a0ea36f2e0b2a20a02.jpg","text":"TemporaryFile(/tmp/multipartBody7969857558659133906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104014494,"filename":"image_19022025_22_50_24_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e692775622ea75f99181bb6faf964f5.jpg","text":"TemporaryFile(/tmp/multipartBody7658348461546595356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104014494,"filename":"image_19022025_22_48_34_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/57560ea8da5b6c9806f724884352bb01.jpg","text":"TemporaryFile(/tmp/multipartBody144353744242789688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104014494,"filename":"image_19022025_22_49_15_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d5f922f45770a28a7e4b7c350046165.jpg","text":"TemporaryFile(/tmp/multipartBody3114559719285962318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104014494,"filename":"image_19022025_22_49_04_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1a488d3b5c94d9973303799e511c2e78.jpg","text":"TemporaryFile(/tmp/multipartBody4406297295992935478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104014494,"filename":"image_19022025_22_48_45_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/42dd706928965f0cb650e5c3d2c2fb68.jpg","text":"TemporaryFile(/tmp/multipartBody1197576351081335335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104014494,"filename":"image_19022025_22_48_14_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338733497","file1":"1338733484","file0":"1338733482","file4":"1338733668","file5":"1338733740","file3":"1338733575"},"map_files_photo_id_array":[{"photo_id":"1338733740","filename":"file5"},{"photo_id":"1338733497","filename":"file2"},{"photo_id":"1338733668","filename":"file4"},{"photo_id":"1338733484","filename":"file1"},{"photo_id":"1338733482","filename":"file0"},{"photo_id":"1338733575","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338733740":["hashtag1","hashtag2"]},{"1338733484":["hashtag1","hashtag2"]},{"1338733668":["hashtag1","hashtag2"]},{"1338733575":["hashtag1","hashtag2"]},{"1338733497":["hashtag1","hashtag2"]},{"1338733482":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338733740, 1338733484, 1338733668, 1338733575, 1338733497, 1338733482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57317662239075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:13:32.664032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/50/image_19022025_22_50_44_9358.jpg', '/home/pi/Desktop/images/19022025/22/50/image_19022025_22_50_55_10454.jpg', '/home/pi/Desktop/images/19022025/22/51/image_19022025_22_51_14_9373.jpg', '/home/pi/Desktop/images/19022025/22/51/image_19022025_22_51_25_10356.jpg', '/home/pi/Desktop/images/19022025/22/51/image_19022025_22_51_44_9333.jpg', '/home/pi/Desktop/images/19022025/22/51/image_19022025_22_52_04_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/50/image_19022025_22_50_44_9358.jpg
/home/pi/Desktop/images/19022025/22/50/image_19022025_22_50_55_10454.jpg
/home/pi/Desktop/images/19022025/22/51/image_19022025_22_51_14_9373.jpg
/home/pi/Desktop/images/19022025/22/51/image_19022025_22_51_25_10356.jpg
/home/pi/Desktop/images/19022025/22/51/image_19022025_22_51_44_9333.jpg
/home/pi/Desktop/images/19022025/22/51/image_19022025_22_52_04_9385.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9363315105438232 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 03:13:42.803035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/50/image_19022025_22_50_44_9358.jpg', '/home/pi/Desktop/images/19022025/22/50/image_19022025_22_50_55_10454.jpg', '/home/pi/Desktop/images/19022025/22/51/image_19022025_22_51_14_9373.jpg', '/home/pi/Desktop/images/19022025/22/51/image_19022025_22_51_25_10356.jpg', '/home/pi/Desktop/images/19022025/22/51/image_19022025_22_51_44_9333.jpg', '/home/pi/Desktop/images/19022025/22/51/image_19022025_22_52_04_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/50/image_19022025_22_50_44_9358.jpg
/home/pi/Desktop/images/19022025/22/50/image_19022025_22_50_55_10454.jpg
/home/pi/Desktop/images/19022025/22/51/image_19022025_22_51_14_9373.jpg
/home/pi/Desktop/images/19022025/22/51/image_19022025_22_51_25_10356.jpg
/home/pi/Desktop/images/19022025/22/51/image_19022025_22_51_44_9333.jpg
/home/pi/Desktop/images/19022025/22/51/image_19022025_22_52_04_9385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338734084","1338734039","1338734036","1338734086","1338734080","1338734088"],"photo_ids_order":["1338734036","1338734039","1338734080","1338734084","1338734086","1338734088"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/caed7df4fceb32b5ddf41b76e2c3fbcd.jpg","text":"TemporaryFile(/tmp/multipartBody166021509530887713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104083932,"filename":"image_19022025_22_51_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be9afeb38eb57e3ae84ac5df4496aae2.jpg","text":"TemporaryFile(/tmp/multipartBody4669231173103262245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104083932,"filename":"image_19022025_22_50_55_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/401226812ae9871d6b14b660d02eb832.jpg","text":"TemporaryFile(/tmp/multipartBody7217655418350915619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104083932,"filename":"image_19022025_22_50_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d9d5de40d6a741d80f5a78b6e1e09643.jpg","text":"TemporaryFile(/tmp/multipartBody1773259063246534682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104083932,"filename":"image_19022025_22_51_44_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3eb93cc0272092f52132745b3a06fee2.jpg","text":"TemporaryFile(/tmp/multipartBody3782774104072537664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104083932,"filename":"image_19022025_22_51_14_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c20b0a6c5418a067e8074405adb99ff.jpg","text":"TemporaryFile(/tmp/multipartBody1825891885665700098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104083932,"filename":"image_19022025_22_52_04_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338734080","file1":"1338734039","file0":"1338734036","file4":"1338734086","file5":"1338734088","file3":"1338734084"},"map_files_photo_id_array":[{"photo_id":"1338734088","filename":"file5"},{"photo_id":"1338734080","filename":"file2"},{"photo_id":"1338734086","filename":"file4"},{"photo_id":"1338734039","filename":"file1"},{"photo_id":"1338734036","filename":"file0"},{"photo_id":"1338734084","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338734084":["hashtag1","hashtag2"]},{"1338734039":["hashtag1","hashtag2"]},{"1338734036":["hashtag1","hashtag2"]},{"1338734086":["hashtag1","hashtag2"]},{"1338734080":["hashtag1","hashtag2"]},{"1338734088":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338734084, 1338734039, 1338734036, 1338734086, 1338734080, 1338734088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9060435295105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:14:32.847315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/52/image_19022025_22_52_54_9341.jpg', '/home/pi/Desktop/images/19022025/22/53/image_19022025_22_53_24_9355.jpg', '/home/pi/Desktop/images/19022025/22/53/image_19022025_22_53_45_10344.jpg', '/home/pi/Desktop/images/19022025/22/53/image_19022025_22_53_55_9998.jpg', '/home/pi/Desktop/images/19022025/22/53/image_19022025_22_54_04_9339.jpg', '/home/pi/Desktop/images/19022025/22/54/image_19022025_22_54_15_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/52/image_19022025_22_52_54_9341.jpg
/home/pi/Desktop/images/19022025/22/53/image_19022025_22_53_24_9355.jpg
/home/pi/Desktop/images/19022025/22/53/image_19022025_22_53_45_10344.jpg
/home/pi/Desktop/images/19022025/22/53/image_19022025_22_53_55_9998.jpg
/home/pi/Desktop/images/19022025/22/53/image_19022025_22_54_04_9339.jpg
/home/pi/Desktop/images/19022025/22/54/image_19022025_22_54_15_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338734109","1338734100","1338734099","1338734098","1338734102","1338734104"],"photo_ids_order":["1338734098","1338734099","1338734100","1338734102","1338734104","1338734109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6da8765286594a2d5fe4928fc000dc88.jpg","text":"TemporaryFile(/tmp/multipartBody1349765008169244979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104134911,"filename":"image_19022025_22_54_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/72a086451914c330e6a846d2e8cfac89.jpg","text":"TemporaryFile(/tmp/multipartBody1951520100843340206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104134911,"filename":"image_19022025_22_53_45_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/68406bd992fd2ac90705219916698162.jpg","text":"TemporaryFile(/tmp/multipartBody8609287053524734338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104134911,"filename":"image_19022025_22_53_24_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2298b135e96531c0b94405a5fe5a1c4c.jpg","text":"TemporaryFile(/tmp/multipartBody7296934664102991694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104134911,"filename":"image_19022025_22_52_54_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a6cfcbf5e62ffaa199df4513be2c8e06.jpg","text":"TemporaryFile(/tmp/multipartBody6847215787867130030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104134911,"filename":"image_19022025_22_53_55_9998.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bfa9728d4aecd216c63dc8d03fb03015.jpg","text":"TemporaryFile(/tmp/multipartBody2718821304029621959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104134911,"filename":"image_19022025_22_54_04_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338734100","file1":"1338734099","file0":"1338734098","file4":"1338734104","file5":"1338734109","file3":"1338734102"},"map_files_photo_id_array":[{"photo_id":"1338734109","filename":"file5"},{"photo_id":"1338734100","filename":"file2"},{"photo_id":"1338734104","filename":"file4"},{"photo_id":"1338734099","filename":"file1"},{"photo_id":"1338734098","filename":"file0"},{"photo_id":"1338734102","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338734109":["hashtag1","hashtag2"]},{"1338734100":["hashtag1","hashtag2"]},{"1338734099":["hashtag1","hashtag2"]},{"1338734098":["hashtag1","hashtag2"]},{"1338734102":["hashtag1","hashtag2"]},{"1338734104":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338734109, 1338734100, 1338734099, 1338734098, 1338734102, 1338734104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.915491342544556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:15:32.990885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/54/image_19022025_22_54_25_10360.jpg', '/home/pi/Desktop/images/19022025/22/55/image_19022025_22_55_15_10339.jpg', '/home/pi/Desktop/images/19022025/22/55/image_19022025_22_55_35_10446.jpg', '/home/pi/Desktop/images/19022025/22/55/image_19022025_22_55_44_9322.jpg', '/home/pi/Desktop/images/19022025/22/55/image_19022025_22_55_54_10366.jpg', '/home/pi/Desktop/images/19022025/22/56/image_19022025_22_56_44_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/54/image_19022025_22_54_25_10360.jpg
/home/pi/Desktop/images/19022025/22/55/image_19022025_22_55_15_10339.jpg
/home/pi/Desktop/images/19022025/22/55/image_19022025_22_55_35_10446.jpg
/home/pi/Desktop/images/19022025/22/55/image_19022025_22_55_44_9322.jpg
/home/pi/Desktop/images/19022025/22/55/image_19022025_22_55_54_10366.jpg
/home/pi/Desktop/images/19022025/22/56/image_19022025_22_56_44_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338734135","1338734129","1338734128","1338734143","1338734130","1338734148"],"photo_ids_order":["1338734128","1338734129","1338734130","1338734135","1338734143","1338734148"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8916c36b096bb81deb3302bf22556bb8.jpg","text":"TemporaryFile(/tmp/multipartBody5629875963122347575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104195043,"filename":"image_19022025_22_55_44_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b89c422faeadeb0ac5acbbaa77d44294.jpg","text":"TemporaryFile(/tmp/multipartBody7612438168981239426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104195043,"filename":"image_19022025_22_55_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/68177bc2d143db696eb089c673db4c41.jpg","text":"TemporaryFile(/tmp/multipartBody4538591402600977766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104195043,"filename":"image_19022025_22_54_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/34ee3a33d29f204955da29002eaa5060.jpg","text":"TemporaryFile(/tmp/multipartBody6240675472371937978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104195043,"filename":"image_19022025_22_55_54_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d8f6cadd84eae936727f931cc5f5dc5.jpg","text":"TemporaryFile(/tmp/multipartBody5302510503424257054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104195043,"filename":"image_19022025_22_55_35_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32fd48fbedc4b1449fc65c91c676f6b1.jpg","text":"TemporaryFile(/tmp/multipartBody1121688533978652663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104195043,"filename":"image_19022025_22_56_44_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338734130","file1":"1338734129","file0":"1338734128","file4":"1338734143","file5":"1338734148","file3":"1338734135"},"map_files_photo_id_array":[{"photo_id":"1338734148","filename":"file5"},{"photo_id":"1338734130","filename":"file2"},{"photo_id":"1338734143","filename":"file4"},{"photo_id":"1338734129","filename":"file1"},{"photo_id":"1338734128","filename":"file0"},{"photo_id":"1338734135","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338734135":["hashtag1","hashtag2"]},{"1338734129":["hashtag1","hashtag2"]},{"1338734128":["hashtag1","hashtag2"]},{"1338734143":["hashtag1","hashtag2"]},{"1338734130":["hashtag1","hashtag2"]},{"1338734148":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338734135, 1338734129, 1338734128, 1338734143, 1338734130, 1338734148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.95345115661621 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:16:33.197518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/22/56/image_19022025_22_56_55_10378.jpg', '/home/pi/Desktop/images/19022025/22/57/image_19022025_22_57_34_9349.jpg', '/home/pi/Desktop/images/19022025/22/57/image_19022025_22_57_55_10335.jpg', '/home/pi/Desktop/images/19022025/22/58/image_19022025_22_58_34_9357.jpg', '/home/pi/Desktop/images/19022025/22/58/image_19022025_22_58_45_10399.jpg', '/home/pi/Desktop/images/19022025/23/03/image_19022025_23_03_35_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/22/56/image_19022025_22_56_55_10378.jpg
/home/pi/Desktop/images/19022025/22/57/image_19022025_22_57_34_9349.jpg
/home/pi/Desktop/images/19022025/22/57/image_19022025_22_57_55_10335.jpg
/home/pi/Desktop/images/19022025/22/58/image_19022025_22_58_34_9357.jpg
/home/pi/Desktop/images/19022025/22/58/image_19022025_22_58_45_10399.jpg
/home/pi/Desktop/images/19022025/23/03/image_19022025_23_03_35_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338734297","1338734294","1338734296","1338734292","1338734289","1338734298"],"photo_ids_order":["1338734289","1338734292","1338734294","1338734296","1338734297","1338734298"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8e831e99784cca1b8f4f1d68cd0d3f99.jpg","text":"TemporaryFile(/tmp/multipartBody989362553695821596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104255267,"filename":"image_19022025_22_58_45_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a663e84a3490ae8f16c42d726dfb8550.jpg","text":"TemporaryFile(/tmp/multipartBody2102649048323498381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104255267,"filename":"image_19022025_22_57_55_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5da493cfde42fcbe7f89eaaab80dcf05.jpg","text":"TemporaryFile(/tmp/multipartBody3676851025126378605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104255267,"filename":"image_19022025_22_58_34_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e57ac8a60dc5f4381393289a63f093f0.jpg","text":"TemporaryFile(/tmp/multipartBody6098227018583671253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104255267,"filename":"image_19022025_22_57_34_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b5e362537247dc96b562499210f60e93.jpg","text":"TemporaryFile(/tmp/multipartBody6598536687752916147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104255267,"filename":"image_19022025_22_56_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/499289dc6432c88a45e31f5d8833e721.jpg","text":"TemporaryFile(/tmp/multipartBody6928635174094942085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104255267,"filename":"image_19022025_23_03_35_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338734294","file1":"1338734292","file0":"1338734289","file4":"1338734297","file5":"1338734298","file3":"1338734296"},"map_files_photo_id_array":[{"photo_id":"1338734298","filename":"file5"},{"photo_id":"1338734294","filename":"file2"},{"photo_id":"1338734297","filename":"file4"},{"photo_id":"1338734292","filename":"file1"},{"photo_id":"1338734289","filename":"file0"},{"photo_id":"1338734296","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338734297":["hashtag1","hashtag2"]},{"1338734294":["hashtag1","hashtag2"]},{"1338734296":["hashtag1","hashtag2"]},{"1338734292":["hashtag1","hashtag2"]},{"1338734289":["hashtag1","hashtag2"]},{"1338734298":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338734297, 1338734294, 1338734296, 1338734292, 1338734289, 1338734298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51838207244873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:17:32.281587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/03/image_19022025_23_03_45_10342.jpg', '/home/pi/Desktop/images/19022025/23/04/image_19022025_23_04_25_10405.jpg', '/home/pi/Desktop/images/19022025/23/04/image_19022025_23_04_45_9328.jpg', '/home/pi/Desktop/images/19022025/23/05/image_19022025_23_05_15_10344.jpg', '/home/pi/Desktop/images/19022025/23/05/image_19022025_23_05_25_10350.jpg', '/home/pi/Desktop/images/19022025/23/05/image_19022025_23_05_34_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/03/image_19022025_23_03_45_10342.jpg
/home/pi/Desktop/images/19022025/23/04/image_19022025_23_04_25_10405.jpg
/home/pi/Desktop/images/19022025/23/04/image_19022025_23_04_45_9328.jpg
/home/pi/Desktop/images/19022025/23/05/image_19022025_23_05_15_10344.jpg
/home/pi/Desktop/images/19022025/23/05/image_19022025_23_05_25_10350.jpg
/home/pi/Desktop/images/19022025/23/05/image_19022025_23_05_34_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338734322","1338734324","1338734320","1338734338","1338734317","1338734325"],"photo_ids_order":["1338734317","1338734320","1338734322","1338734324","1338734325","1338734338"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1f0710156ff438b1f4668527c3f4d39c.jpg","text":"TemporaryFile(/tmp/multipartBody7996542810780185702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104314318,"filename":"image_19022025_23_04_45_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/10a500997e79f5db125002028ca92753.jpg","text":"TemporaryFile(/tmp/multipartBody1863783879401484455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104314318,"filename":"image_19022025_23_05_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3795e0eb7fef4545d2466a8e23352a3a.jpg","text":"TemporaryFile(/tmp/multipartBody8326304774207823583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104314318,"filename":"image_19022025_23_04_25_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c11ce2c34a44967e51c832173b9db47.jpg","text":"TemporaryFile(/tmp/multipartBody2576215537487879171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104314318,"filename":"image_19022025_23_05_34_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61b64e88acfcae9b1bda3b7f161b9459.jpg","text":"TemporaryFile(/tmp/multipartBody5496671086245538680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104314318,"filename":"image_19022025_23_03_45_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d8de6720a44f57df7afe24e36007cf4c.jpg","text":"TemporaryFile(/tmp/multipartBody4866371908724628409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104314318,"filename":"image_19022025_23_05_25_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338734322","file1":"1338734320","file0":"1338734317","file4":"1338734325","file5":"1338734338","file3":"1338734324"},"map_files_photo_id_array":[{"photo_id":"1338734338","filename":"file5"},{"photo_id":"1338734322","filename":"file2"},{"photo_id":"1338734325","filename":"file4"},{"photo_id":"1338734320","filename":"file1"},{"photo_id":"1338734317","filename":"file0"},{"photo_id":"1338734324","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338734322":["hashtag1","hashtag2"]},{"1338734324":["hashtag1","hashtag2"]},{"1338734320":["hashtag1","hashtag2"]},{"1338734338":["hashtag1","hashtag2"]},{"1338734317":["hashtag1","hashtag2"]},{"1338734325":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338734322, 1338734324, 1338734320, 1338734338, 1338734317, 1338734325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88951110839844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:18:32.533044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/05/image_19022025_23_05_55_10433.jpg', '/home/pi/Desktop/images/19022025/23/05/image_19022025_23_06_05_9340.jpg', '/home/pi/Desktop/images/19022025/23/06/image_19022025_23_06_15_10354.jpg', '/home/pi/Desktop/images/19022025/23/06/image_19022025_23_06_24_9443.jpg', '/home/pi/Desktop/images/19022025/23/06/image_19022025_23_06_45_10334.jpg', '/home/pi/Desktop/images/19022025/23/07/image_19022025_23_07_35_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/05/image_19022025_23_05_55_10433.jpg
/home/pi/Desktop/images/19022025/23/05/image_19022025_23_06_05_9340.jpg
/home/pi/Desktop/images/19022025/23/06/image_19022025_23_06_15_10354.jpg
/home/pi/Desktop/images/19022025/23/06/image_19022025_23_06_24_9443.jpg
/home/pi/Desktop/images/19022025/23/06/image_19022025_23_06_45_10334.jpg
/home/pi/Desktop/images/19022025/23/07/image_19022025_23_07_35_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338734351","1338734348","1338734402","1338734560","1338734350","1338734353"],"photo_ids_order":["1338734348","1338734350","1338734351","1338734353","1338734402","1338734560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c345e87b55f45cdfa3ab8fde950aef97.jpg","text":"TemporaryFile(/tmp/multipartBody1831574383858355076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104374584,"filename":"image_19022025_23_06_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d35b420e6d4e74d2eda0d8bfd8157d75.jpg","text":"TemporaryFile(/tmp/multipartBody1265219548081902127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104374584,"filename":"image_19022025_23_05_55_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/970e1f2861f2e0da44dc9e4a3ee967ed.jpg","text":"TemporaryFile(/tmp/multipartBody4614864258035328670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104374584,"filename":"image_19022025_23_06_45_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e76757dfb8e2b84483eec7eacee54614.jpg","text":"TemporaryFile(/tmp/multipartBody8870107518705686007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104374584,"filename":"image_19022025_23_07_35_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/233a8005280827361365784c4044c23a.jpg","text":"TemporaryFile(/tmp/multipartBody7350892548230174547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104374584,"filename":"image_19022025_23_06_05_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7036499ab07373893fd7e68a69be2825.jpg","text":"TemporaryFile(/tmp/multipartBody5653870285741734390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104374584,"filename":"image_19022025_23_06_24_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338734351","file1":"1338734350","file0":"1338734348","file4":"1338734402","file5":"1338734560","file3":"1338734353"},"map_files_photo_id_array":[{"photo_id":"1338734560","filename":"file5"},{"photo_id":"1338734351","filename":"file2"},{"photo_id":"1338734402","filename":"file4"},{"photo_id":"1338734350","filename":"file1"},{"photo_id":"1338734348","filename":"file0"},{"photo_id":"1338734353","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338734351":["hashtag1","hashtag2"]},{"1338734348":["hashtag1","hashtag2"]},{"1338734402":["hashtag1","hashtag2"]},{"1338734560":["hashtag1","hashtag2"]},{"1338734350":["hashtag1","hashtag2"]},{"1338734353":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338734351, 1338734348, 1338734402, 1338734560, 1338734350, 1338734353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51274561882019 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:19:32.724556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/07/image_19022025_23_07_45_9390.jpg', '/home/pi/Desktop/images/19022025/23/07/image_19022025_23_07_55_10341.jpg', '/home/pi/Desktop/images/19022025/23/08/image_19022025_23_08_55_10456.jpg', '/home/pi/Desktop/images/19022025/23/08/image_19022025_23_09_05_9363.jpg', '/home/pi/Desktop/images/19022025/23/09/image_19022025_23_09_15_10393.jpg', '/home/pi/Desktop/images/19022025/23/09/image_19022025_23_09_25_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/07/image_19022025_23_07_45_9390.jpg
/home/pi/Desktop/images/19022025/23/07/image_19022025_23_07_55_10341.jpg
/home/pi/Desktop/images/19022025/23/08/image_19022025_23_08_55_10456.jpg
/home/pi/Desktop/images/19022025/23/08/image_19022025_23_09_05_9363.jpg
/home/pi/Desktop/images/19022025/23/09/image_19022025_23_09_15_10393.jpg
/home/pi/Desktop/images/19022025/23/09/image_19022025_23_09_25_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338735385","1338735404","1338735379","1338735384","1338735383","1338735362"],"photo_ids_order":["1338735362","1338735379","1338735383","1338735384","1338735385","1338735404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/361663b0292a50cac972a7397ba2c1c3.jpg","text":"TemporaryFile(/tmp/multipartBody123213412541628133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104434763,"filename":"image_19022025_23_09_15_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/de2c78299814f71c0f68c00731d45df4.jpg","text":"TemporaryFile(/tmp/multipartBody4225424813334411059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104434763,"filename":"image_19022025_23_09_25_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/47f9a5cfb51048277068ebeaf4c51f07.jpg","text":"TemporaryFile(/tmp/multipartBody4840505880953073586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104434763,"filename":"image_19022025_23_07_55_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4285a846fedc252052e4e2e8aebc7563.jpg","text":"TemporaryFile(/tmp/multipartBody4004536481290500393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104434763,"filename":"image_19022025_23_09_05_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6554141f2a97b3e7645dce187f0e9ad6.jpg","text":"TemporaryFile(/tmp/multipartBody8944131282189708872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104434763,"filename":"image_19022025_23_08_55_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/296c5ecba76b9316c5f9096e72f2c8b4.jpg","text":"TemporaryFile(/tmp/multipartBody4653766811242028943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104434763,"filename":"image_19022025_23_07_45_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338735383","file1":"1338735379","file0":"1338735362","file4":"1338735385","file5":"1338735404","file3":"1338735384"},"map_files_photo_id_array":[{"photo_id":"1338735404","filename":"file5"},{"photo_id":"1338735383","filename":"file2"},{"photo_id":"1338735385","filename":"file4"},{"photo_id":"1338735379","filename":"file1"},{"photo_id":"1338735362","filename":"file0"},{"photo_id":"1338735384","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338735385":["hashtag1","hashtag2"]},{"1338735404":["hashtag1","hashtag2"]},{"1338735379":["hashtag1","hashtag2"]},{"1338735384":["hashtag1","hashtag2"]},{"1338735383":["hashtag1","hashtag2"]},{"1338735362":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338735385, 1338735404, 1338735379, 1338735384, 1338735383, 1338735362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2830924987793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:20:32.912963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/09/image_19022025_23_09_45_10391.jpg', '/home/pi/Desktop/images/19022025/23/09/image_19022025_23_10_05_10327.jpg', '/home/pi/Desktop/images/19022025/23/10/image_19022025_23_10_15_10357.jpg', '/home/pi/Desktop/images/19022025/23/10/image_19022025_23_10_35_10342.jpg', '/home/pi/Desktop/images/19022025/23/10/image_19022025_23_10_45_10442.jpg', '/home/pi/Desktop/images/19022025/23/10/image_19022025_23_10_55_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/09/image_19022025_23_09_45_10391.jpg
/home/pi/Desktop/images/19022025/23/09/image_19022025_23_10_05_10327.jpg
/home/pi/Desktop/images/19022025/23/10/image_19022025_23_10_15_10357.jpg
/home/pi/Desktop/images/19022025/23/10/image_19022025_23_10_35_10342.jpg
/home/pi/Desktop/images/19022025/23/10/image_19022025_23_10_45_10442.jpg
/home/pi/Desktop/images/19022025/23/10/image_19022025_23_10_55_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338735763","1338735655","1338735762","1338735750","1338735651","1338735654"],"photo_ids_order":["1338735651","1338735654","1338735655","1338735750","1338735762","1338735763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c9aae56f5d3f1eeff78fdde1a71c50d.jpg","text":"TemporaryFile(/tmp/multipartBody5207806080652137289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104495119,"filename":"image_19022025_23_10_55_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8ce6a12bf01417caedcfc22e356256d0.jpg","text":"TemporaryFile(/tmp/multipartBody6116540901218505864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104495119,"filename":"image_19022025_23_10_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dd096c242db39f18521676e2176072d7.jpg","text":"TemporaryFile(/tmp/multipartBody8333526623483990410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104495119,"filename":"image_19022025_23_10_45_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/239cf88843cdc8b8be66a3b1c66c0e43.jpg","text":"TemporaryFile(/tmp/multipartBody2391514450617028707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104495119,"filename":"image_19022025_23_10_35_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bd258057d804a8a0ff9ec7446fa84f18.jpg","text":"TemporaryFile(/tmp/multipartBody3351245008688827010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104495119,"filename":"image_19022025_23_09_45_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9683612ddb1042ed83b52a4b2053e207.jpg","text":"TemporaryFile(/tmp/multipartBody5672459771361007215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104495119,"filename":"image_19022025_23_10_05_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338735655","file1":"1338735654","file0":"1338735651","file4":"1338735762","file5":"1338735763","file3":"1338735750"},"map_files_photo_id_array":[{"photo_id":"1338735763","filename":"file5"},{"photo_id":"1338735655","filename":"file2"},{"photo_id":"1338735762","filename":"file4"},{"photo_id":"1338735654","filename":"file1"},{"photo_id":"1338735651","filename":"file0"},{"photo_id":"1338735750","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338735763":["hashtag1","hashtag2"]},{"1338735655":["hashtag1","hashtag2"]},{"1338735762":["hashtag1","hashtag2"]},{"1338735750":["hashtag1","hashtag2"]},{"1338735651":["hashtag1","hashtag2"]},{"1338735654":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338735763, 1338735655, 1338735762, 1338735750, 1338735651, 1338735654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57491207122803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:21:33.135184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/10/image_19022025_23_11_05_10339.jpg', '/home/pi/Desktop/images/19022025/23/11/image_19022025_23_11_14_9419.jpg', '/home/pi/Desktop/images/19022025/23/11/image_19022025_23_11_25_10389.jpg', '/home/pi/Desktop/images/19022025/23/11/image_19022025_23_11_55_10349.jpg', '/home/pi/Desktop/images/19022025/23/12/image_19022025_23_12_15_10422.jpg', '/home/pi/Desktop/images/19022025/23/12/image_19022025_23_12_25_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/10/image_19022025_23_11_05_10339.jpg
/home/pi/Desktop/images/19022025/23/11/image_19022025_23_11_14_9419.jpg
/home/pi/Desktop/images/19022025/23/11/image_19022025_23_11_25_10389.jpg
/home/pi/Desktop/images/19022025/23/11/image_19022025_23_11_55_10349.jpg
/home/pi/Desktop/images/19022025/23/12/image_19022025_23_12_15_10422.jpg
/home/pi/Desktop/images/19022025/23/12/image_19022025_23_12_25_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338736279","1338736186","1338736180","1338736177","1338736113","1338736184"],"photo_ids_order":["1338736113","1338736177","1338736180","1338736184","1338736186","1338736279"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef2c13dbe1637b46cb0febb12ea2e7ce.jpg","text":"TemporaryFile(/tmp/multipartBody7942520133306479170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104555211,"filename":"image_19022025_23_12_25_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74b98ae8a2ab6fe8e138c5d760a95a95.jpg","text":"TemporaryFile(/tmp/multipartBody5688842647655784035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104555211,"filename":"image_19022025_23_12_15_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1fe23826ca7363b7395515d1efec58dd.jpg","text":"TemporaryFile(/tmp/multipartBody6286166813372318469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104555211,"filename":"image_19022025_23_11_25_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1fb741beb1f523ce391443c10d45bf1a.jpg","text":"TemporaryFile(/tmp/multipartBody8137837632834015303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104555211,"filename":"image_19022025_23_11_14_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/63d144044726e752dc8846b4356f7cdd.jpg","text":"TemporaryFile(/tmp/multipartBody2998440560821791085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104555211,"filename":"image_19022025_23_11_05_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b09892b48ee647cc21135bf1843b27d.jpg","text":"TemporaryFile(/tmp/multipartBody8472448552067940578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104555211,"filename":"image_19022025_23_11_55_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338736180","file1":"1338736177","file0":"1338736113","file4":"1338736186","file5":"1338736279","file3":"1338736184"},"map_files_photo_id_array":[{"photo_id":"1338736279","filename":"file5"},{"photo_id":"1338736180","filename":"file2"},{"photo_id":"1338736186","filename":"file4"},{"photo_id":"1338736177","filename":"file1"},{"photo_id":"1338736113","filename":"file0"},{"photo_id":"1338736184","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338736279":["hashtag1","hashtag2"]},{"1338736186":["hashtag1","hashtag2"]},{"1338736180":["hashtag1","hashtag2"]},{"1338736177":["hashtag1","hashtag2"]},{"1338736113":["hashtag1","hashtag2"]},{"1338736184":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338736279, 1338736186, 1338736180, 1338736177, 1338736113, 1338736184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.90267300605774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:22:32.176278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/12/image_19022025_23_12_35_9425.jpg', '/home/pi/Desktop/images/19022025/23/13/image_19022025_23_13_35_10347.jpg', '/home/pi/Desktop/images/19022025/23/14/image_19022025_23_14_15_9327.jpg', '/home/pi/Desktop/images/19022025/23/14/image_19022025_23_14_25_10402.jpg', '/home/pi/Desktop/images/19022025/23/14/image_19022025_23_14_55_10442.jpg', '/home/pi/Desktop/images/19022025/23/15/image_19022025_23_15_25_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/12/image_19022025_23_12_35_9425.jpg
/home/pi/Desktop/images/19022025/23/13/image_19022025_23_13_35_10347.jpg
/home/pi/Desktop/images/19022025/23/14/image_19022025_23_14_15_9327.jpg
/home/pi/Desktop/images/19022025/23/14/image_19022025_23_14_25_10402.jpg
/home/pi/Desktop/images/19022025/23/14/image_19022025_23_14_55_10442.jpg
/home/pi/Desktop/images/19022025/23/15/image_19022025_23_15_25_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338736660","1338736738","1338736735","1338736671","1338736740","1338736739"],"photo_ids_order":["1338736660","1338736671","1338736735","1338736738","1338736739","1338736740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bff4e9adb13486abba3626a4b95dde6b.jpg","text":"TemporaryFile(/tmp/multipartBody5821607463803222827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104614206,"filename":"image_19022025_23_12_35_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7f6453ee5d022a3a81554ba19d9b08cb.jpg","text":"TemporaryFile(/tmp/multipartBody4645702614076892502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104614206,"filename":"image_19022025_23_14_25_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1df2f31a2360637d4f9eae7bbc27a9aa.jpg","text":"TemporaryFile(/tmp/multipartBody6645293514954387069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104614206,"filename":"image_19022025_23_14_15_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5342ebea3ea6f4e03e3118ba8d242173.jpg","text":"TemporaryFile(/tmp/multipartBody7959396957822045401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104614206,"filename":"image_19022025_23_13_35_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ca2540d38724185254758228672550f.jpg","text":"TemporaryFile(/tmp/multipartBody801383559570952199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104614206,"filename":"image_19022025_23_15_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d5d82d094a4948c6e7631afa3059694.jpg","text":"TemporaryFile(/tmp/multipartBody4176401341207974949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104614206,"filename":"image_19022025_23_14_55_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338736735","file1":"1338736671","file0":"1338736660","file4":"1338736739","file5":"1338736740","file3":"1338736738"},"map_files_photo_id_array":[{"photo_id":"1338736740","filename":"file5"},{"photo_id":"1338736735","filename":"file2"},{"photo_id":"1338736739","filename":"file4"},{"photo_id":"1338736671","filename":"file1"},{"photo_id":"1338736660","filename":"file0"},{"photo_id":"1338736738","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338736660":["hashtag1","hashtag2"]},{"1338736738":["hashtag1","hashtag2"]},{"1338736735":["hashtag1","hashtag2"]},{"1338736671":["hashtag1","hashtag2"]},{"1338736740":["hashtag1","hashtag2"]},{"1338736739":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338736660, 1338736738, 1338736735, 1338736671, 1338736740, 1338736739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71191358566284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:23:32.309406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/15/image_19022025_23_15_35_9429.jpg', '/home/pi/Desktop/images/19022025/23/15/image_19022025_23_15_45_10350.jpg', '/home/pi/Desktop/images/19022025/23/15/image_19022025_23_15_54_9390.jpg', '/home/pi/Desktop/images/19022025/23/16/image_19022025_23_16_55_9417.jpg', '/home/pi/Desktop/images/19022025/23/17/image_19022025_23_17_25_10333.jpg', '/home/pi/Desktop/images/19022025/23/17/image_19022025_23_17_35_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/15/image_19022025_23_15_35_9429.jpg
/home/pi/Desktop/images/19022025/23/15/image_19022025_23_15_45_10350.jpg
/home/pi/Desktop/images/19022025/23/15/image_19022025_23_15_54_9390.jpg
/home/pi/Desktop/images/19022025/23/16/image_19022025_23_16_55_9417.jpg
/home/pi/Desktop/images/19022025/23/17/image_19022025_23_17_25_10333.jpg
/home/pi/Desktop/images/19022025/23/17/image_19022025_23_17_35_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338736802","1338736805","1338736798","1338736804","1338736796","1338736800"],"photo_ids_order":["1338736796","1338736798","1338736800","1338736802","1338736804","1338736805"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a20b67f7fccfc75286dca8bd7e9f171e.jpg","text":"TemporaryFile(/tmp/multipartBody8326120258339650829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104674363,"filename":"image_19022025_23_16_55_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0026f496ab8f8bfabb28a4719e51698e.jpg","text":"TemporaryFile(/tmp/multipartBody7658060414305573543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104674363,"filename":"image_19022025_23_17_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8620e3d4b862c4a3b33944465bd8cf3a.jpg","text":"TemporaryFile(/tmp/multipartBody6293101406401634323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104674363,"filename":"image_19022025_23_15_45_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/417cc198c0657ef9d711f0ab088f2703.jpg","text":"TemporaryFile(/tmp/multipartBody6919732862419897683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104674363,"filename":"image_19022025_23_17_25_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/72923319b859803b36054a0053d9fd64.jpg","text":"TemporaryFile(/tmp/multipartBody2762839482179933620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104674363,"filename":"image_19022025_23_15_35_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/48de5f7e7dadb0d2912cd5d472bcde2e.jpg","text":"TemporaryFile(/tmp/multipartBody302700535997590026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104674363,"filename":"image_19022025_23_15_54_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338736800","file1":"1338736798","file0":"1338736796","file4":"1338736804","file5":"1338736805","file3":"1338736802"},"map_files_photo_id_array":[{"photo_id":"1338736805","filename":"file5"},{"photo_id":"1338736800","filename":"file2"},{"photo_id":"1338736804","filename":"file4"},{"photo_id":"1338736798","filename":"file1"},{"photo_id":"1338736796","filename":"file0"},{"photo_id":"1338736802","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338736802":["hashtag1","hashtag2"]},{"1338736805":["hashtag1","hashtag2"]},{"1338736798":["hashtag1","hashtag2"]},{"1338736804":["hashtag1","hashtag2"]},{"1338736796":["hashtag1","hashtag2"]},{"1338736800":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338736802, 1338736805, 1338736798, 1338736804, 1338736796, 1338736800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92180013656616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:24:32.567417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/17/image_19022025_23_17_45_9434.jpg', '/home/pi/Desktop/images/19022025/23/17/image_19022025_23_17_55_10339.jpg', '/home/pi/Desktop/images/19022025/23/18/image_19022025_23_18_25_10340.jpg', '/home/pi/Desktop/images/19022025/23/18/image_19022025_23_18_35_9497.jpg', '/home/pi/Desktop/images/19022025/23/19/image_19022025_23_19_35_10329.jpg', '/home/pi/Desktop/images/19022025/23/19/image_19022025_23_19_45_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/17/image_19022025_23_17_45_9434.jpg
/home/pi/Desktop/images/19022025/23/17/image_19022025_23_17_55_10339.jpg
/home/pi/Desktop/images/19022025/23/18/image_19022025_23_18_25_10340.jpg
/home/pi/Desktop/images/19022025/23/18/image_19022025_23_18_35_9497.jpg
/home/pi/Desktop/images/19022025/23/19/image_19022025_23_19_35_10329.jpg
/home/pi/Desktop/images/19022025/23/19/image_19022025_23_19_45_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338736817","1338736840","1338736828","1338736836","1338736847","1338736841"],"photo_ids_order":["1338736817","1338736828","1338736836","1338736840","1338736841","1338736847"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bda8d6f6e883acb5eca07bf17775da4e.jpg","text":"TemporaryFile(/tmp/multipartBody7125142940054418082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104734632,"filename":"image_19022025_23_17_45_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a4da88bd1f277a0a9edd1a6da69ed87b.jpg","text":"TemporaryFile(/tmp/multipartBody7143833155099550823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104734632,"filename":"image_19022025_23_18_35_9497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e4b9d8dff4d5f0b5e5a4f84c7b4922a.jpg","text":"TemporaryFile(/tmp/multipartBody1909355603978137386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104734632,"filename":"image_19022025_23_17_55_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fe33dcff80e8c3300893664b5b74c7c7.jpg","text":"TemporaryFile(/tmp/multipartBody5094581303805478363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104734632,"filename":"image_19022025_23_18_25_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/803f268357b23a4b7df77c0b4ea61712.jpg","text":"TemporaryFile(/tmp/multipartBody6640168210883883908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104734632,"filename":"image_19022025_23_19_45_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90268da220c6c4c83f1c6794ca5e28e0.jpg","text":"TemporaryFile(/tmp/multipartBody4461093069177805561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104734632,"filename":"image_19022025_23_19_35_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338736836","file1":"1338736828","file0":"1338736817","file4":"1338736841","file5":"1338736847","file3":"1338736840"},"map_files_photo_id_array":[{"photo_id":"1338736847","filename":"file5"},{"photo_id":"1338736836","filename":"file2"},{"photo_id":"1338736841","filename":"file4"},{"photo_id":"1338736828","filename":"file1"},{"photo_id":"1338736817","filename":"file0"},{"photo_id":"1338736840","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338736817":["hashtag1","hashtag2"]},{"1338736840":["hashtag1","hashtag2"]},{"1338736828":["hashtag1","hashtag2"]},{"1338736836":["hashtag1","hashtag2"]},{"1338736847":["hashtag1","hashtag2"]},{"1338736841":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338736817, 1338736840, 1338736828, 1338736836, 1338736847, 1338736841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.12058401107788 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:25:32.934518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/20/image_19022025_23_20_15_10433.jpg', '/home/pi/Desktop/images/19022025/23/20/image_19022025_23_20_25_9320.jpg', '/home/pi/Desktop/images/19022025/23/20/image_19022025_23_20_44_9384.jpg', '/home/pi/Desktop/images/19022025/23/20/image_19022025_23_20_55_10345.jpg', '/home/pi/Desktop/images/19022025/23/20/image_19022025_23_21_05_10432.jpg', '/home/pi/Desktop/images/19022025/23/21/image_19022025_23_21_15_9330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/20/image_19022025_23_20_15_10433.jpg
/home/pi/Desktop/images/19022025/23/20/image_19022025_23_20_25_9320.jpg
/home/pi/Desktop/images/19022025/23/20/image_19022025_23_20_44_9384.jpg
/home/pi/Desktop/images/19022025/23/20/image_19022025_23_20_55_10345.jpg
/home/pi/Desktop/images/19022025/23/20/image_19022025_23_21_05_10432.jpg
/home/pi/Desktop/images/19022025/23/21/image_19022025_23_21_15_9330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338736882","1338736878","1338736866","1338736874","1338736862","1338736868"],"photo_ids_order":["1338736862","1338736866","1338736868","1338736874","1338736878","1338736882"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d8ed284217384ab11e31da407bf7962c.jpg","text":"TemporaryFile(/tmp/multipartBody8256374358109487708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104794973,"filename":"image_19022025_23_21_15_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0d396b3ebf2e1592b6a5bb1548f58593.jpg","text":"TemporaryFile(/tmp/multipartBody6161806208030225520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104794973,"filename":"image_19022025_23_21_05_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/926fae451e7703bc73180a7bcca73f3a.jpg","text":"TemporaryFile(/tmp/multipartBody478102389975938725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104794973,"filename":"image_19022025_23_20_25_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b14e6320552ad7424632c6b673fe8bc3.jpg","text":"TemporaryFile(/tmp/multipartBody4270236701721934118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104794973,"filename":"image_19022025_23_20_55_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/77af4d83f077b7cb16b289e582d690e1.jpg","text":"TemporaryFile(/tmp/multipartBody2068479480218952828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104794973,"filename":"image_19022025_23_20_15_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/992efab9f2387d2d537d20d78c1247f9.jpg","text":"TemporaryFile(/tmp/multipartBody5068849896138700815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104794973,"filename":"image_19022025_23_20_44_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338736868","file1":"1338736866","file0":"1338736862","file4":"1338736878","file5":"1338736882","file3":"1338736874"},"map_files_photo_id_array":[{"photo_id":"1338736882","filename":"file5"},{"photo_id":"1338736868","filename":"file2"},{"photo_id":"1338736878","filename":"file4"},{"photo_id":"1338736866","filename":"file1"},{"photo_id":"1338736862","filename":"file0"},{"photo_id":"1338736874","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338736882":["hashtag1","hashtag2"]},{"1338736878":["hashtag1","hashtag2"]},{"1338736866":["hashtag1","hashtag2"]},{"1338736874":["hashtag1","hashtag2"]},{"1338736862":["hashtag1","hashtag2"]},{"1338736868":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338736882, 1338736878, 1338736866, 1338736874, 1338736862, 1338736868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.46973371505737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:26:33.034367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/21/image_19022025_23_21_35_10340.jpg', '/home/pi/Desktop/images/19022025/23/21/image_19022025_23_21_45_9400.jpg', '/home/pi/Desktop/images/19022025/23/21/image_19022025_23_22_05_10335.jpg', '/home/pi/Desktop/images/19022025/23/22/image_19022025_23_22_15_9418.jpg', '/home/pi/Desktop/images/19022025/23/22/image_19022025_23_22_45_10345.jpg', '/home/pi/Desktop/images/19022025/23/22/image_19022025_23_22_55_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/21/image_19022025_23_21_35_10340.jpg
/home/pi/Desktop/images/19022025/23/21/image_19022025_23_21_45_9400.jpg
/home/pi/Desktop/images/19022025/23/21/image_19022025_23_22_05_10335.jpg
/home/pi/Desktop/images/19022025/23/22/image_19022025_23_22_15_9418.jpg
/home/pi/Desktop/images/19022025/23/22/image_19022025_23_22_45_10345.jpg
/home/pi/Desktop/images/19022025/23/22/image_19022025_23_22_55_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338736969","1338736957","1338736899","1338736968","1338736898","1338736897"],"photo_ids_order":["1338736897","1338736898","1338736899","1338736957","1338736968","1338736969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4acd0c28e658240f986bcc491c33d909.jpg","text":"TemporaryFile(/tmp/multipartBody7684994052741503517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104855088,"filename":"image_19022025_23_22_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2063ba16eee5612c8e2655295b52e20e.jpg","text":"TemporaryFile(/tmp/multipartBody1213170464024673624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104855088,"filename":"image_19022025_23_22_15_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be41ca11ca61ecb511705e730ab639cc.jpg","text":"TemporaryFile(/tmp/multipartBody2854902728460875290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104855088,"filename":"image_19022025_23_22_05_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5df7cc00970c1f68b77638f306ad842c.jpg","text":"TemporaryFile(/tmp/multipartBody9141371344343917532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104855088,"filename":"image_19022025_23_22_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d6539115220ca05eb1d62a7656e755a7.jpg","text":"TemporaryFile(/tmp/multipartBody1668063731411096332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104855088,"filename":"image_19022025_23_21_45_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c7d1f520c9565391345226a55c8bc06a.jpg","text":"TemporaryFile(/tmp/multipartBody6489786800691474821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104855088,"filename":"image_19022025_23_21_35_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338736899","file1":"1338736898","file0":"1338736897","file4":"1338736968","file5":"1338736969","file3":"1338736957"},"map_files_photo_id_array":[{"photo_id":"1338736969","filename":"file5"},{"photo_id":"1338736899","filename":"file2"},{"photo_id":"1338736968","filename":"file4"},{"photo_id":"1338736898","filename":"file1"},{"photo_id":"1338736897","filename":"file0"},{"photo_id":"1338736957","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338736969":["hashtag1","hashtag2"]},{"1338736957":["hashtag1","hashtag2"]},{"1338736899":["hashtag1","hashtag2"]},{"1338736968":["hashtag1","hashtag2"]},{"1338736898":["hashtag1","hashtag2"]},{"1338736897":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338736969, 1338736957, 1338736899, 1338736968, 1338736898, 1338736897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80935573577881 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:27:32.141424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/22/image_19022025_23_23_05_9395.jpg', '/home/pi/Desktop/images/19022025/23/23/image_19022025_23_23_15_10351.jpg', '/home/pi/Desktop/images/19022025/23/23/image_19022025_23_23_25_10426.jpg', '/home/pi/Desktop/images/19022025/23/23/image_19022025_23_23_54_9417.jpg', '/home/pi/Desktop/images/19022025/23/24/image_19022025_23_24_35_10320.jpg', '/home/pi/Desktop/images/19022025/23/24/image_19022025_23_24_55_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/22/image_19022025_23_23_05_9395.jpg
/home/pi/Desktop/images/19022025/23/23/image_19022025_23_23_15_10351.jpg
/home/pi/Desktop/images/19022025/23/23/image_19022025_23_23_25_10426.jpg
/home/pi/Desktop/images/19022025/23/23/image_19022025_23_23_54_9417.jpg
/home/pi/Desktop/images/19022025/23/24/image_19022025_23_24_35_10320.jpg
/home/pi/Desktop/images/19022025/23/24/image_19022025_23_24_55_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338737399","1338737375","1338737237","1338737405","1338737300","1338737170"],"photo_ids_order":["1338737170","1338737237","1338737300","1338737375","1338737399","1338737405"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6889623ce25584be350f73269d0d33af.jpg","text":"TemporaryFile(/tmp/multipartBody1456489837416274359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104914178,"filename":"image_19022025_23_24_35_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/decd5bdd2eb5e00b3ae3a2016ea0e1d6.jpg","text":"TemporaryFile(/tmp/multipartBody1419817435737336109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104914178,"filename":"image_19022025_23_23_54_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/429ace3e42d9557af3a6a1b909e6116a.jpg","text":"TemporaryFile(/tmp/multipartBody9144874820032140286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104914178,"filename":"image_19022025_23_23_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/683540b7a1446b522dbf91407dc7b01e.jpg","text":"TemporaryFile(/tmp/multipartBody4637870362932956420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104914178,"filename":"image_19022025_23_24_55_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/15844d787ab59e6bff0b2c18e6e2565d.jpg","text":"TemporaryFile(/tmp/multipartBody5413572993106854772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104914178,"filename":"image_19022025_23_23_25_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/936a0963a2cde47be368f7e4978d757e.jpg","text":"TemporaryFile(/tmp/multipartBody5886395159721340159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104914178,"filename":"image_19022025_23_23_05_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338737300","file1":"1338737237","file0":"1338737170","file4":"1338737399","file5":"1338737405","file3":"1338737375"},"map_files_photo_id_array":[{"photo_id":"1338737405","filename":"file5"},{"photo_id":"1338737300","filename":"file2"},{"photo_id":"1338737399","filename":"file4"},{"photo_id":"1338737237","filename":"file1"},{"photo_id":"1338737170","filename":"file0"},{"photo_id":"1338737375","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338737399":["hashtag1","hashtag2"]},{"1338737375":["hashtag1","hashtag2"]},{"1338737237":["hashtag1","hashtag2"]},{"1338737405":["hashtag1","hashtag2"]},{"1338737300":["hashtag1","hashtag2"]},{"1338737170":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338737399, 1338737375, 1338737237, 1338737405, 1338737300, 1338737170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.063751459121704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:28:32.482349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/24/image_19022025_23_25_05_10383.jpg', '/home/pi/Desktop/images/19022025/23/25/image_19022025_23_25_55_10342.jpg', '/home/pi/Desktop/images/19022025/23/25/image_19022025_23_26_04_9351.jpg', '/home/pi/Desktop/images/19022025/23/26/image_19022025_23_26_15_10377.jpg', '/home/pi/Desktop/images/19022025/23/26/image_19022025_23_26_25_10332.jpg', '/home/pi/Desktop/images/19022025/23/26/image_19022025_23_26_34_9407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/24/image_19022025_23_25_05_10383.jpg
/home/pi/Desktop/images/19022025/23/25/image_19022025_23_25_55_10342.jpg
/home/pi/Desktop/images/19022025/23/25/image_19022025_23_26_04_9351.jpg
/home/pi/Desktop/images/19022025/23/26/image_19022025_23_26_15_10377.jpg
/home/pi/Desktop/images/19022025/23/26/image_19022025_23_26_25_10332.jpg
/home/pi/Desktop/images/19022025/23/26/image_19022025_23_26_34_9407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338737523","1338737525","1338737612","1338737528","1338737603","1338737548"],"photo_ids_order":["1338737523","1338737525","1338737528","1338737548","1338737603","1338737612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c6bc144ff5e81a2e09160d7e30af9e24.jpg","text":"TemporaryFile(/tmp/multipartBody55819614690375116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104974516,"filename":"image_19022025_23_25_05_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ed3a9d25f02274905589614e5134ad8.jpg","text":"TemporaryFile(/tmp/multipartBody7661172829570503550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104974516,"filename":"image_19022025_23_25_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83bbac962211c4b8aa794d2174a6c415.jpg","text":"TemporaryFile(/tmp/multipartBody8105811320247105344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104974516,"filename":"image_19022025_23_26_34_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f61842439230ad9350cdef1d6fa095e.jpg","text":"TemporaryFile(/tmp/multipartBody7066923936247590441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104974516,"filename":"image_19022025_23_26_04_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6df6949fb34193b77dd10f8ebb4a75a9.jpg","text":"TemporaryFile(/tmp/multipartBody2135692645669909553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104974516,"filename":"image_19022025_23_26_25_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/adb967cb3607eb85e2bcfd16f90e6719.jpg","text":"TemporaryFile(/tmp/multipartBody419481234486338689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740104974516,"filename":"image_19022025_23_26_15_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338737528","file1":"1338737525","file0":"1338737523","file4":"1338737603","file5":"1338737612","file3":"1338737548"},"map_files_photo_id_array":[{"photo_id":"1338737612","filename":"file5"},{"photo_id":"1338737528","filename":"file2"},{"photo_id":"1338737603","filename":"file4"},{"photo_id":"1338737525","filename":"file1"},{"photo_id":"1338737523","filename":"file0"},{"photo_id":"1338737548","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338737523":["hashtag1","hashtag2"]},{"1338737525":["hashtag1","hashtag2"]},{"1338737612":["hashtag1","hashtag2"]},{"1338737528":["hashtag1","hashtag2"]},{"1338737603":["hashtag1","hashtag2"]},{"1338737548":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338737523, 1338737525, 1338737612, 1338737528, 1338737603, 1338737548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.902991771698 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:29:32.644457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/26/image_19022025_23_26_45_10413.jpg', '/home/pi/Desktop/images/19022025/23/26/image_19022025_23_26_55_10375.jpg', '/home/pi/Desktop/images/19022025/23/26/image_19022025_23_27_05_9352.jpg', '/home/pi/Desktop/images/19022025/23/27/image_19022025_23_27_25_10370.jpg', '/home/pi/Desktop/images/19022025/23/27/image_19022025_23_27_35_9404.jpg', '/home/pi/Desktop/images/19022025/23/27/image_19022025_23_27_45_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/26/image_19022025_23_26_45_10413.jpg
/home/pi/Desktop/images/19022025/23/26/image_19022025_23_26_55_10375.jpg
/home/pi/Desktop/images/19022025/23/26/image_19022025_23_27_05_9352.jpg
/home/pi/Desktop/images/19022025/23/27/image_19022025_23_27_25_10370.jpg
/home/pi/Desktop/images/19022025/23/27/image_19022025_23_27_35_9404.jpg
/home/pi/Desktop/images/19022025/23/27/image_19022025_23_27_45_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338737704","1338737701","1338737691","1338737721","1338737696","1338737714"],"photo_ids_order":["1338737691","1338737696","1338737701","1338737704","1338737714","1338737721"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c0fd59c18990734bc2829f837603e84.jpg","text":"TemporaryFile(/tmp/multipartBody4328263071144337319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105034673,"filename":"image_19022025_23_27_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/331389255330833e0c207b4b39306ba9.jpg","text":"TemporaryFile(/tmp/multipartBody4494049050038824788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105034673,"filename":"image_19022025_23_27_05_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4dcbaeab87d64c5557b7d4a869405a60.jpg","text":"TemporaryFile(/tmp/multipartBody4693813749809735069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105034673,"filename":"image_19022025_23_26_45_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b11f9cde3b0b6e39cbe67559419f1e37.jpg","text":"TemporaryFile(/tmp/multipartBody854711021237198562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105034673,"filename":"image_19022025_23_27_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e6e9098fb5fec4dfad95606da83a2465.jpg","text":"TemporaryFile(/tmp/multipartBody2130812015062770705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105034673,"filename":"image_19022025_23_26_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac92c63482f399d8e2732b39af333925.jpg","text":"TemporaryFile(/tmp/multipartBody6282031531649915525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105034673,"filename":"image_19022025_23_27_35_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338737701","file1":"1338737696","file0":"1338737691","file4":"1338737714","file5":"1338737721","file3":"1338737704"},"map_files_photo_id_array":[{"photo_id":"1338737721","filename":"file5"},{"photo_id":"1338737701","filename":"file2"},{"photo_id":"1338737714","filename":"file4"},{"photo_id":"1338737696","filename":"file1"},{"photo_id":"1338737691","filename":"file0"},{"photo_id":"1338737704","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338737704":["hashtag1","hashtag2"]},{"1338737701":["hashtag1","hashtag2"]},{"1338737691":["hashtag1","hashtag2"]},{"1338737721":["hashtag1","hashtag2"]},{"1338737696":["hashtag1","hashtag2"]},{"1338737714":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338737704, 1338737701, 1338737691, 1338737721, 1338737696, 1338737714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7310996055603 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:30:32.785769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/27/image_19022025_23_27_54_9378.jpg', '/home/pi/Desktop/images/19022025/23/28/image_19022025_23_28_15_10439.jpg', '/home/pi/Desktop/images/19022025/23/28/image_19022025_23_28_25_9343.jpg', '/home/pi/Desktop/images/19022025/23/28/image_19022025_23_28_35_10336.jpg', '/home/pi/Desktop/images/19022025/23/28/image_19022025_23_28_45_10341.jpg', '/home/pi/Desktop/images/19022025/23/28/image_19022025_23_28_55_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/27/image_19022025_23_27_54_9378.jpg
/home/pi/Desktop/images/19022025/23/28/image_19022025_23_28_15_10439.jpg
/home/pi/Desktop/images/19022025/23/28/image_19022025_23_28_25_9343.jpg
/home/pi/Desktop/images/19022025/23/28/image_19022025_23_28_35_10336.jpg
/home/pi/Desktop/images/19022025/23/28/image_19022025_23_28_45_10341.jpg
/home/pi/Desktop/images/19022025/23/28/image_19022025_23_28_55_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338737842","1338737839","1338737846","1338737909","1338737887","1338737851"],"photo_ids_order":["1338737839","1338737842","1338737846","1338737851","1338737887","1338737909"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/643917691ab7d238e246e937a11f159e.jpg","text":"TemporaryFile(/tmp/multipartBody5792534585040306581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105094829,"filename":"image_19022025_23_28_15_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8aad4593cb5e9a5d7af2a1bcf2d6ccd5.jpg","text":"TemporaryFile(/tmp/multipartBody5930911245523389809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105094829,"filename":"image_19022025_23_27_54_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e23de5fbc6658673662b5baa8b8931e1.jpg","text":"TemporaryFile(/tmp/multipartBody5069813296074107634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105094829,"filename":"image_19022025_23_28_25_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/156e619ec8a9f58f712f75ea4da789f4.jpg","text":"TemporaryFile(/tmp/multipartBody8212154151772014069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105094829,"filename":"image_19022025_23_28_55_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2c8209e388a90ec8a08bd049256b5a6f.jpg","text":"TemporaryFile(/tmp/multipartBody2043571587372912942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105094829,"filename":"image_19022025_23_28_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1589e64ece6090ffb31758897b1fc26d.jpg","text":"TemporaryFile(/tmp/multipartBody3217691008054329582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105094829,"filename":"image_19022025_23_28_35_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338737846","file1":"1338737842","file0":"1338737839","file4":"1338737887","file5":"1338737909","file3":"1338737851"},"map_files_photo_id_array":[{"photo_id":"1338737909","filename":"file5"},{"photo_id":"1338737846","filename":"file2"},{"photo_id":"1338737887","filename":"file4"},{"photo_id":"1338737842","filename":"file1"},{"photo_id":"1338737839","filename":"file0"},{"photo_id":"1338737851","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338737842":["hashtag1","hashtag2"]},{"1338737839":["hashtag1","hashtag2"]},{"1338737846":["hashtag1","hashtag2"]},{"1338737909":["hashtag1","hashtag2"]},{"1338737887":["hashtag1","hashtag2"]},{"1338737851":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338737842, 1338737839, 1338737846, 1338737909, 1338737887, 1338737851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.123623847961426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:31:33.156508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/28/image_19022025_23_29_05_10342.jpg', '/home/pi/Desktop/images/19022025/23/29/image_19022025_23_29_15_10365.jpg', '/home/pi/Desktop/images/19022025/23/29/image_19022025_23_29_25_9330.jpg', '/home/pi/Desktop/images/19022025/23/29/image_19022025_23_29_55_10329.jpg', '/home/pi/Desktop/images/19022025/23/29/image_19022025_23_30_05_10438.jpg', '/home/pi/Desktop/images/19022025/23/30/image_19022025_23_30_15_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/28/image_19022025_23_29_05_10342.jpg
/home/pi/Desktop/images/19022025/23/29/image_19022025_23_29_15_10365.jpg
/home/pi/Desktop/images/19022025/23/29/image_19022025_23_29_25_9330.jpg
/home/pi/Desktop/images/19022025/23/29/image_19022025_23_29_55_10329.jpg
/home/pi/Desktop/images/19022025/23/29/image_19022025_23_30_05_10438.jpg
/home/pi/Desktop/images/19022025/23/30/image_19022025_23_30_15_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338737949","1338738131","1338738128","1338737930","1338738070","1338738133"],"photo_ids_order":["1338737930","1338737949","1338738070","1338738128","1338738131","1338738133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fbcc680f40e1108e0a47beb08bb27e61.jpg","text":"TemporaryFile(/tmp/multipartBody659619619943982314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105155464,"filename":"image_19022025_23_29_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef3494deb9d12581ae4d450a500fe781.jpg","text":"TemporaryFile(/tmp/multipartBody7541412699078279992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105155464,"filename":"image_19022025_23_30_05_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/70a68e0f1c70279803ff71eb70efbf05.jpg","text":"TemporaryFile(/tmp/multipartBody3080533547793940972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105155464,"filename":"image_19022025_23_29_55_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b96af39973a98f256d822a54c0653560.jpg","text":"TemporaryFile(/tmp/multipartBody1824768077304192125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105155464,"filename":"image_19022025_23_29_05_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6035b06620ef9879162b85907dfe9359.jpg","text":"TemporaryFile(/tmp/multipartBody2441101910868575348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105155464,"filename":"image_19022025_23_29_25_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/968114718b86caccf8d94dbe3c671901.jpg","text":"TemporaryFile(/tmp/multipartBody9148179922820077372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105155464,"filename":"image_19022025_23_30_15_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338738070","file1":"1338737949","file0":"1338737930","file4":"1338738131","file5":"1338738133","file3":"1338738128"},"map_files_photo_id_array":[{"photo_id":"1338738133","filename":"file5"},{"photo_id":"1338738070","filename":"file2"},{"photo_id":"1338738131","filename":"file4"},{"photo_id":"1338737949","filename":"file1"},{"photo_id":"1338737930","filename":"file0"},{"photo_id":"1338738128","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338737949":["hashtag1","hashtag2"]},{"1338738131":["hashtag1","hashtag2"]},{"1338738128":["hashtag1","hashtag2"]},{"1338737930":["hashtag1","hashtag2"]},{"1338738070":["hashtag1","hashtag2"]},{"1338738133":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338737949, 1338738131, 1338738128, 1338737930, 1338738070, 1338738133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.18784499168396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:32:33.114173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/30/image_19022025_23_30_25_10334.jpg', '/home/pi/Desktop/images/19022025/23/30/image_19022025_23_30_35_10321.jpg', '/home/pi/Desktop/images/19022025/23/30/image_19022025_23_30_45_9347.jpg', '/home/pi/Desktop/images/19022025/23/30/image_19022025_23_31_04_9515.jpg', '/home/pi/Desktop/images/19022025/23/31/image_19022025_23_31_15_10324.jpg', '/home/pi/Desktop/images/19022025/23/31/image_19022025_23_31_25_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/30/image_19022025_23_30_25_10334.jpg
/home/pi/Desktop/images/19022025/23/30/image_19022025_23_30_35_10321.jpg
/home/pi/Desktop/images/19022025/23/30/image_19022025_23_30_45_9347.jpg
/home/pi/Desktop/images/19022025/23/30/image_19022025_23_31_04_9515.jpg
/home/pi/Desktop/images/19022025/23/31/image_19022025_23_31_15_10324.jpg
/home/pi/Desktop/images/19022025/23/31/image_19022025_23_31_25_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338738220","1338738225","1338738215","1338738218","1338738223","1338738226"],"photo_ids_order":["1338738215","1338738218","1338738220","1338738223","1338738225","1338738226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c160908a626e9194938349bce1604495.jpg","text":"TemporaryFile(/tmp/multipartBody4920721834591798027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105215508,"filename":"image_19022025_23_30_45_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c14fd91c8379f5da6d3e2c0e7e6bbe2f.jpg","text":"TemporaryFile(/tmp/multipartBody4597146525621426461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105215508,"filename":"image_19022025_23_31_15_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fcf2528616dc734c8c32295e765cb316.jpg","text":"TemporaryFile(/tmp/multipartBody3406639292882244567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105215508,"filename":"image_19022025_23_30_25_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c73f74ece35c1a5c6404265fb749084d.jpg","text":"TemporaryFile(/tmp/multipartBody8842264543337622482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105215508,"filename":"image_19022025_23_30_35_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80d7daa274c2d671f6d06ef00433bc6d.jpg","text":"TemporaryFile(/tmp/multipartBody5733843596131876391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105215508,"filename":"image_19022025_23_31_04_9515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d71926ff09b5f5d00f05fd94ca26c682.jpg","text":"TemporaryFile(/tmp/multipartBody7847428786062402434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105215508,"filename":"image_19022025_23_31_25_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338738220","file1":"1338738218","file0":"1338738215","file4":"1338738225","file5":"1338738226","file3":"1338738223"},"map_files_photo_id_array":[{"photo_id":"1338738226","filename":"file5"},{"photo_id":"1338738220","filename":"file2"},{"photo_id":"1338738225","filename":"file4"},{"photo_id":"1338738218","filename":"file1"},{"photo_id":"1338738215","filename":"file0"},{"photo_id":"1338738223","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338738220":["hashtag1","hashtag2"]},{"1338738225":["hashtag1","hashtag2"]},{"1338738215":["hashtag1","hashtag2"]},{"1338738218":["hashtag1","hashtag2"]},{"1338738223":["hashtag1","hashtag2"]},{"1338738226":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338738220, 1338738225, 1338738215, 1338738218, 1338738223, 1338738226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.71703338623047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:33:32.277007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/31/image_19022025_23_32_05_10329.jpg', '/home/pi/Desktop/images/19022025/23/32/image_19022025_23_32_15_10386.jpg', '/home/pi/Desktop/images/19022025/23/32/image_19022025_23_32_35_10354.jpg', '/home/pi/Desktop/images/19022025/23/32/image_19022025_23_32_45_10376.jpg', '/home/pi/Desktop/images/19022025/23/32/image_19022025_23_32_55_9411.jpg', '/home/pi/Desktop/images/19022025/23/32/image_19022025_23_33_05_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/31/image_19022025_23_32_05_10329.jpg
/home/pi/Desktop/images/19022025/23/32/image_19022025_23_32_15_10386.jpg
/home/pi/Desktop/images/19022025/23/32/image_19022025_23_32_35_10354.jpg
/home/pi/Desktop/images/19022025/23/32/image_19022025_23_32_45_10376.jpg
/home/pi/Desktop/images/19022025/23/32/image_19022025_23_32_55_9411.jpg
/home/pi/Desktop/images/19022025/23/32/image_19022025_23_33_05_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338738264","1338738267","1338738261","1338738258","1338738266","1338738265"],"photo_ids_order":["1338738258","1338738261","1338738264","1338738265","1338738266","1338738267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a3ca65bd2bc65fb5bdb8ad574c5f5bbd.jpg","text":"TemporaryFile(/tmp/multipartBody225501072501010365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105275012,"filename":"image_19022025_23_32_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06851774d1d49ac37546d1840fc4a27c.jpg","text":"TemporaryFile(/tmp/multipartBody5274066570954671440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105275012,"filename":"image_19022025_23_33_05_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/020533a2f692974810275c34b57cc3db.jpg","text":"TemporaryFile(/tmp/multipartBody4793186147576796117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105275012,"filename":"image_19022025_23_32_15_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4ed00c9cd0a3d80fe721383863806b4.jpg","text":"TemporaryFile(/tmp/multipartBody4146326898148259830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105275012,"filename":"image_19022025_23_32_05_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59e80ee95a56c3d6c1ba659fd6d8eeb5.jpg","text":"TemporaryFile(/tmp/multipartBody3407980308084404262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105275012,"filename":"image_19022025_23_32_55_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6c1caee1e79533f160faa1a4726ae97a.jpg","text":"TemporaryFile(/tmp/multipartBody8034823629640869819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105275012,"filename":"image_19022025_23_32_45_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338738264","file1":"1338738261","file0":"1338738258","file4":"1338738266","file5":"1338738267","file3":"1338738265"},"map_files_photo_id_array":[{"photo_id":"1338738267","filename":"file5"},{"photo_id":"1338738264","filename":"file2"},{"photo_id":"1338738266","filename":"file4"},{"photo_id":"1338738261","filename":"file1"},{"photo_id":"1338738258","filename":"file0"},{"photo_id":"1338738265","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338738264":["hashtag1","hashtag2"]},{"1338738267":["hashtag1","hashtag2"]},{"1338738261":["hashtag1","hashtag2"]},{"1338738258":["hashtag1","hashtag2"]},{"1338738266":["hashtag1","hashtag2"]},{"1338738265":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338738264, 1338738267, 1338738261, 1338738258, 1338738266, 1338738265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66463327407837 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:34:32.403314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/33/image_19022025_23_33_55_10432.jpg', '/home/pi/Desktop/images/19022025/23/33/image_19022025_23_34_04_9377.jpg', '/home/pi/Desktop/images/19022025/23/34/image_19022025_23_34_15_10341.jpg', '/home/pi/Desktop/images/19022025/23/34/image_19022025_23_34_25_10336.jpg', '/home/pi/Desktop/images/19022025/23/34/image_19022025_23_34_45_10390.jpg', '/home/pi/Desktop/images/19022025/23/34/image_19022025_23_35_05_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/33/image_19022025_23_33_55_10432.jpg
/home/pi/Desktop/images/19022025/23/33/image_19022025_23_34_04_9377.jpg
/home/pi/Desktop/images/19022025/23/34/image_19022025_23_34_15_10341.jpg
/home/pi/Desktop/images/19022025/23/34/image_19022025_23_34_25_10336.jpg
/home/pi/Desktop/images/19022025/23/34/image_19022025_23_34_45_10390.jpg
/home/pi/Desktop/images/19022025/23/34/image_19022025_23_35_05_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338738307","1338738301","1338738312","1338738287","1338738308","1338738310"],"photo_ids_order":["1338738287","1338738301","1338738307","1338738308","1338738310","1338738312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3dd1a2479193bd3128242e59a3e456b1.jpg","text":"TemporaryFile(/tmp/multipartBody4792499691310764363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105334459,"filename":"image_19022025_23_34_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8518403e272df2bc80ce16ef740132f2.jpg","text":"TemporaryFile(/tmp/multipartBody620525471644748517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105334459,"filename":"image_19022025_23_34_04_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f90dbb8b9d3816048d69f1b12cfc5849.jpg","text":"TemporaryFile(/tmp/multipartBody8873003430920126410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105334459,"filename":"image_19022025_23_35_05_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23b035b0be97dd64cec7c6f7ea74e547.jpg","text":"TemporaryFile(/tmp/multipartBody7073595316793297918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105334459,"filename":"image_19022025_23_33_55_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bbb514e8e287c36768437df6e386e616.jpg","text":"TemporaryFile(/tmp/multipartBody7260483525982876060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105334459,"filename":"image_19022025_23_34_25_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d4829c41d1313fb66d5ce4a695b4909.jpg","text":"TemporaryFile(/tmp/multipartBody5010073090500752645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105334459,"filename":"image_19022025_23_34_45_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338738307","file1":"1338738301","file0":"1338738287","file4":"1338738310","file5":"1338738312","file3":"1338738308"},"map_files_photo_id_array":[{"photo_id":"1338738312","filename":"file5"},{"photo_id":"1338738307","filename":"file2"},{"photo_id":"1338738310","filename":"file4"},{"photo_id":"1338738301","filename":"file1"},{"photo_id":"1338738287","filename":"file0"},{"photo_id":"1338738308","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338738307":["hashtag1","hashtag2"]},{"1338738301":["hashtag1","hashtag2"]},{"1338738312":["hashtag1","hashtag2"]},{"1338738287":["hashtag1","hashtag2"]},{"1338738308":["hashtag1","hashtag2"]},{"1338738310":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338738307, 1338738301, 1338738312, 1338738287, 1338738308, 1338738310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.275553464889526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:35:32.739704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/35/image_19022025_23_35_24_9391.jpg', '/home/pi/Desktop/images/19022025/23/35/image_19022025_23_35_35_10339.jpg', '/home/pi/Desktop/images/19022025/23/35/image_19022025_23_35_45_10382.jpg', '/home/pi/Desktop/images/19022025/23/36/image_19022025_23_36_15_10399.jpg', '/home/pi/Desktop/images/19022025/23/36/image_19022025_23_36_25_9332.jpg', '/home/pi/Desktop/images/19022025/23/36/image_19022025_23_36_35_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/35/image_19022025_23_35_24_9391.jpg
/home/pi/Desktop/images/19022025/23/35/image_19022025_23_35_35_10339.jpg
/home/pi/Desktop/images/19022025/23/35/image_19022025_23_35_45_10382.jpg
/home/pi/Desktop/images/19022025/23/36/image_19022025_23_36_15_10399.jpg
/home/pi/Desktop/images/19022025/23/36/image_19022025_23_36_25_9332.jpg
/home/pi/Desktop/images/19022025/23/36/image_19022025_23_36_35_10334.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9740822315216064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 03:35:42.827407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/35/image_19022025_23_35_24_9391.jpg', '/home/pi/Desktop/images/19022025/23/35/image_19022025_23_35_35_10339.jpg', '/home/pi/Desktop/images/19022025/23/35/image_19022025_23_35_45_10382.jpg', '/home/pi/Desktop/images/19022025/23/36/image_19022025_23_36_15_10399.jpg', '/home/pi/Desktop/images/19022025/23/36/image_19022025_23_36_25_9332.jpg', '/home/pi/Desktop/images/19022025/23/36/image_19022025_23_36_35_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/35/image_19022025_23_35_24_9391.jpg
/home/pi/Desktop/images/19022025/23/35/image_19022025_23_35_35_10339.jpg
/home/pi/Desktop/images/19022025/23/35/image_19022025_23_35_45_10382.jpg
/home/pi/Desktop/images/19022025/23/36/image_19022025_23_36_15_10399.jpg
/home/pi/Desktop/images/19022025/23/36/image_19022025_23_36_25_9332.jpg
/home/pi/Desktop/images/19022025/23/36/image_19022025_23_36_35_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338738351","1338738369","1338738342","1338738371","1338738373","1338738361"],"photo_ids_order":["1338738342","1338738351","1338738361","1338738369","1338738371","1338738373"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f0b75b26ce95928eb952d10dc9c3cb8.jpg","text":"TemporaryFile(/tmp/multipartBody7580979390658701857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105403950,"filename":"image_19022025_23_35_35_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1603113c059531a725719680b850b9b.jpg","text":"TemporaryFile(/tmp/multipartBody2957491146681062452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105403950,"filename":"image_19022025_23_36_15_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3db00de3810b0b41f3e2db830f242fe5.jpg","text":"TemporaryFile(/tmp/multipartBody6201135060261922468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105403950,"filename":"image_19022025_23_35_24_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fcf197eee89ecc7763aed77870cfd557.jpg","text":"TemporaryFile(/tmp/multipartBody6926893489349553947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105403950,"filename":"image_19022025_23_36_25_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/95c3e38e5a9a293a469e5ba4f2b5396a.jpg","text":"TemporaryFile(/tmp/multipartBody7255764057529316060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105403950,"filename":"image_19022025_23_36_35_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/85e2bfee8f4fe4b33103736a678e4590.jpg","text":"TemporaryFile(/tmp/multipartBody815475536553001304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105403950,"filename":"image_19022025_23_35_45_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338738361","file1":"1338738351","file0":"1338738342","file4":"1338738371","file5":"1338738373","file3":"1338738369"},"map_files_photo_id_array":[{"photo_id":"1338738373","filename":"file5"},{"photo_id":"1338738361","filename":"file2"},{"photo_id":"1338738371","filename":"file4"},{"photo_id":"1338738351","filename":"file1"},{"photo_id":"1338738342","filename":"file0"},{"photo_id":"1338738369","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338738351":["hashtag1","hashtag2"]},{"1338738369":["hashtag1","hashtag2"]},{"1338738342":["hashtag1","hashtag2"]},{"1338738371":["hashtag1","hashtag2"]},{"1338738373":["hashtag1","hashtag2"]},{"1338738361":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338738351, 1338738369, 1338738342, 1338738371, 1338738373, 1338738361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.39838266372681 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:36:32.987323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/36/image_19022025_23_36_45_10346.jpg', '/home/pi/Desktop/images/19022025/23/36/image_19022025_23_36_55_9353.jpg', '/home/pi/Desktop/images/19022025/23/36/image_19022025_23_37_05_10338.jpg', '/home/pi/Desktop/images/19022025/23/37/image_19022025_23_37_35_10346.jpg', '/home/pi/Desktop/images/19022025/23/37/image_19022025_23_37_45_9486.jpg', '/home/pi/Desktop/images/19022025/23/37/image_19022025_23_37_55_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/36/image_19022025_23_36_45_10346.jpg
/home/pi/Desktop/images/19022025/23/36/image_19022025_23_36_55_9353.jpg
/home/pi/Desktop/images/19022025/23/36/image_19022025_23_37_05_10338.jpg
/home/pi/Desktop/images/19022025/23/37/image_19022025_23_37_35_10346.jpg
/home/pi/Desktop/images/19022025/23/37/image_19022025_23_37_45_9486.jpg
/home/pi/Desktop/images/19022025/23/37/image_19022025_23_37_55_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338738498","1338738426","1338738569","1338738848","1338738772","1338738673"],"photo_ids_order":["1338738426","1338738498","1338738569","1338738673","1338738772","1338738848"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5abad7187271213f8a2039411bdc20c6.jpg","text":"TemporaryFile(/tmp/multipartBody977966435066047877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105455014,"filename":"image_19022025_23_36_55_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a025ee4a91e7e009733cd818b90ec730.jpg","text":"TemporaryFile(/tmp/multipartBody2675606565956795296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105455014,"filename":"image_19022025_23_36_45_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d70361a8aa10e322df81ba4152428d37.jpg","text":"TemporaryFile(/tmp/multipartBody8394910458603163571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105455014,"filename":"image_19022025_23_37_05_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eba3ac1ef7bf78a0c9a6c8a6af634908.jpg","text":"TemporaryFile(/tmp/multipartBody1957923509144547885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105455014,"filename":"image_19022025_23_37_55_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be19a2dc17ef8ac26575e07dd3fe72e2.jpg","text":"TemporaryFile(/tmp/multipartBody1147076267058727500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105455014,"filename":"image_19022025_23_37_45_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a6ebb196785333f626ec4ae684930471.jpg","text":"TemporaryFile(/tmp/multipartBody2457236250553921683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105455014,"filename":"image_19022025_23_37_35_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338738569","file1":"1338738498","file0":"1338738426","file4":"1338738772","file5":"1338738848","file3":"1338738673"},"map_files_photo_id_array":[{"photo_id":"1338738848","filename":"file5"},{"photo_id":"1338738569","filename":"file2"},{"photo_id":"1338738772","filename":"file4"},{"photo_id":"1338738498","filename":"file1"},{"photo_id":"1338738426","filename":"file0"},{"photo_id":"1338738673","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338738498":["hashtag1","hashtag2"]},{"1338738426":["hashtag1","hashtag2"]},{"1338738569":["hashtag1","hashtag2"]},{"1338738848":["hashtag1","hashtag2"]},{"1338738772":["hashtag1","hashtag2"]},{"1338738673":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338738498, 1338738426, 1338738569, 1338738848, 1338738772, 1338738673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76342749595642 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:37:33.227894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/38/image_19022025_23_38_15_9356.jpg', '/home/pi/Desktop/images/19022025/23/38/image_19022025_23_38_55_10391.jpg', '/home/pi/Desktop/images/19022025/23/38/image_19022025_23_39_05_9412.jpg', '/home/pi/Desktop/images/19022025/23/39/image_19022025_23_39_15_10319.jpg', '/home/pi/Desktop/images/19022025/23/39/image_19022025_23_39_25_10345.jpg', '/home/pi/Desktop/images/19022025/23/40/image_19022025_23_40_15_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/38/image_19022025_23_38_15_9356.jpg
/home/pi/Desktop/images/19022025/23/38/image_19022025_23_38_55_10391.jpg
/home/pi/Desktop/images/19022025/23/38/image_19022025_23_39_05_9412.jpg
/home/pi/Desktop/images/19022025/23/39/image_19022025_23_39_15_10319.jpg
/home/pi/Desktop/images/19022025/23/39/image_19022025_23_39_25_10345.jpg
/home/pi/Desktop/images/19022025/23/40/image_19022025_23_40_15_10325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338739583","1338739592","1338739493","1338739555","1338739585","1338739423"],"photo_ids_order":["1338739423","1338739493","1338739555","1338739583","1338739585","1338739592"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2619029e0368a5a03157f272ab8684ea.jpg","text":"TemporaryFile(/tmp/multipartBody6902431087763884797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105515270,"filename":"image_19022025_23_39_15_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/56cdca6aaf67fa5f1227633d218e185f.jpg","text":"TemporaryFile(/tmp/multipartBody2709689546541458102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105515270,"filename":"image_19022025_23_40_15_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/307e95d0b94e35490b6d109c4d9c0117.jpg","text":"TemporaryFile(/tmp/multipartBody1065461449751386716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105515270,"filename":"image_19022025_23_38_55_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06b857c568305ccc93b91ac1d7350909.jpg","text":"TemporaryFile(/tmp/multipartBody5157129182920617107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105515270,"filename":"image_19022025_23_39_05_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7d055a4f135d86c986ceb9d35fcf3e49.jpg","text":"TemporaryFile(/tmp/multipartBody161760263149890552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105515270,"filename":"image_19022025_23_39_25_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/85bf72c8031c73aadc9b97012849e29b.jpg","text":"TemporaryFile(/tmp/multipartBody5005354233816391017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105515270,"filename":"image_19022025_23_38_15_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338739555","file1":"1338739493","file0":"1338739423","file4":"1338739585","file5":"1338739592","file3":"1338739583"},"map_files_photo_id_array":[{"photo_id":"1338739592","filename":"file5"},{"photo_id":"1338739555","filename":"file2"},{"photo_id":"1338739585","filename":"file4"},{"photo_id":"1338739493","filename":"file1"},{"photo_id":"1338739423","filename":"file0"},{"photo_id":"1338739583","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338739583":["hashtag1","hashtag2"]},{"1338739592":["hashtag1","hashtag2"]},{"1338739493":["hashtag1","hashtag2"]},{"1338739555":["hashtag1","hashtag2"]},{"1338739585":["hashtag1","hashtag2"]},{"1338739423":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338739583, 1338739592, 1338739493, 1338739555, 1338739585, 1338739423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03865694999695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:38:32.352127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/40/image_19022025_23_40_35_10359.jpg', '/home/pi/Desktop/images/19022025/23/40/image_19022025_23_40_45_10343.jpg', '/home/pi/Desktop/images/19022025/23/40/image_19022025_23_40_55_9435.jpg', '/home/pi/Desktop/images/19022025/23/40/image_19022025_23_41_05_10347.jpg', '/home/pi/Desktop/images/19022025/23/41/image_19022025_23_41_25_10365.jpg', '/home/pi/Desktop/images/19022025/23/41/image_19022025_23_41_35_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/40/image_19022025_23_40_35_10359.jpg
/home/pi/Desktop/images/19022025/23/40/image_19022025_23_40_45_10343.jpg
/home/pi/Desktop/images/19022025/23/40/image_19022025_23_40_55_9435.jpg
/home/pi/Desktop/images/19022025/23/40/image_19022025_23_41_05_10347.jpg
/home/pi/Desktop/images/19022025/23/41/image_19022025_23_41_25_10365.jpg
/home/pi/Desktop/images/19022025/23/41/image_19022025_23_41_35_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338740151","1338740232","1338740075","1338739975","1338739918","1338740233"],"photo_ids_order":["1338739918","1338739975","1338740075","1338740151","1338740232","1338740233"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b81e2b9bcd1e54e4936bcba97b81fee8.jpg","text":"TemporaryFile(/tmp/multipartBody7487651163924592172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105574377,"filename":"image_19022025_23_41_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/91533d8720fe69bd2e1e858f3bc83ab8.jpg","text":"TemporaryFile(/tmp/multipartBody4178154458366208755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105574377,"filename":"image_19022025_23_41_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/925e01b7ad1e4cde3c337c1cb743019b.jpg","text":"TemporaryFile(/tmp/multipartBody3170889303457489621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105574377,"filename":"image_19022025_23_40_55_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f0204a36496ad19286143099434635a6.jpg","text":"TemporaryFile(/tmp/multipartBody5508666673673321449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105574377,"filename":"image_19022025_23_40_45_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d1c35170c4af14eaec88f2ebf432146.jpg","text":"TemporaryFile(/tmp/multipartBody8103984287586878958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105574377,"filename":"image_19022025_23_40_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d397611769aba29d0b565ba4c50213eb.jpg","text":"TemporaryFile(/tmp/multipartBody3373266650044564964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105574377,"filename":"image_19022025_23_41_35_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338740075","file1":"1338739975","file0":"1338739918","file4":"1338740232","file5":"1338740233","file3":"1338740151"},"map_files_photo_id_array":[{"photo_id":"1338740233","filename":"file5"},{"photo_id":"1338740075","filename":"file2"},{"photo_id":"1338740232","filename":"file4"},{"photo_id":"1338739975","filename":"file1"},{"photo_id":"1338739918","filename":"file0"},{"photo_id":"1338740151","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338740151":["hashtag1","hashtag2"]},{"1338740232":["hashtag1","hashtag2"]},{"1338740075":["hashtag1","hashtag2"]},{"1338739975":["hashtag1","hashtag2"]},{"1338739918":["hashtag1","hashtag2"]},{"1338740233":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338740151, 1338740232, 1338740075, 1338739975, 1338739918, 1338740233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22507667541504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:39:32.662923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/41/image_19022025_23_41_55_10338.jpg', '/home/pi/Desktop/images/19022025/23/41/image_19022025_23_42_05_10347.jpg', '/home/pi/Desktop/images/19022025/23/42/image_19022025_23_42_25_10346.jpg', '/home/pi/Desktop/images/19022025/23/42/image_19022025_23_42_35_10436.jpg', '/home/pi/Desktop/images/19022025/23/42/image_19022025_23_42_55_10356.jpg', '/home/pi/Desktop/images/19022025/23/42/image_19022025_23_43_04_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/41/image_19022025_23_41_55_10338.jpg
/home/pi/Desktop/images/19022025/23/41/image_19022025_23_42_05_10347.jpg
/home/pi/Desktop/images/19022025/23/42/image_19022025_23_42_25_10346.jpg
/home/pi/Desktop/images/19022025/23/42/image_19022025_23_42_35_10436.jpg
/home/pi/Desktop/images/19022025/23/42/image_19022025_23_42_55_10356.jpg
/home/pi/Desktop/images/19022025/23/42/image_19022025_23_43_04_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338740475","1338740376","1338740436","1338740424","1338740462","1338740375"],"photo_ids_order":["1338740375","1338740376","1338740424","1338740436","1338740462","1338740475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/984e614de83904a28daec0c367ff5e6e.jpg","text":"TemporaryFile(/tmp/multipartBody9014993583220804576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105634685,"filename":"image_19022025_23_43_04_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92d45927ab9c3a7d73bda489d6dd5435.jpg","text":"TemporaryFile(/tmp/multipartBody8043541196624866298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105634685,"filename":"image_19022025_23_42_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4594a1493807bfe1389d2bed7e0c080a.jpg","text":"TemporaryFile(/tmp/multipartBody7503532874800738342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105634685,"filename":"image_19022025_23_42_35_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aff91a71ba6c116e1386fbd330d2324a.jpg","text":"TemporaryFile(/tmp/multipartBody1730612060214215723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105634685,"filename":"image_19022025_23_42_25_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e5b88d7daa56d575dab82e03233f1605.jpg","text":"TemporaryFile(/tmp/multipartBody9018206312575780005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105634685,"filename":"image_19022025_23_42_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ae437fc45d7576858ede546860a2eab.jpg","text":"TemporaryFile(/tmp/multipartBody3753254676035677860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105634685,"filename":"image_19022025_23_41_55_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338740424","file1":"1338740376","file0":"1338740375","file4":"1338740462","file5":"1338740475","file3":"1338740436"},"map_files_photo_id_array":[{"photo_id":"1338740475","filename":"file5"},{"photo_id":"1338740424","filename":"file2"},{"photo_id":"1338740462","filename":"file4"},{"photo_id":"1338740376","filename":"file1"},{"photo_id":"1338740375","filename":"file0"},{"photo_id":"1338740436","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338740475":["hashtag1","hashtag2"]},{"1338740376":["hashtag1","hashtag2"]},{"1338740436":["hashtag1","hashtag2"]},{"1338740424":["hashtag1","hashtag2"]},{"1338740462":["hashtag1","hashtag2"]},{"1338740375":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338740475, 1338740376, 1338740436, 1338740424, 1338740462, 1338740375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.020073890686035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:40:32.801552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/43/image_19022025_23_43_15_10329.jpg', '/home/pi/Desktop/images/19022025/23/43/image_19022025_23_43_25_10350.jpg', '/home/pi/Desktop/images/19022025/23/43/image_19022025_23_43_45_10351.jpg', '/home/pi/Desktop/images/19022025/23/43/image_19022025_23_43_55_10339.jpg', '/home/pi/Desktop/images/19022025/23/43/image_19022025_23_44_05_9326.jpg', '/home/pi/Desktop/images/19022025/23/44/image_19022025_23_44_15_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/43/image_19022025_23_43_15_10329.jpg
/home/pi/Desktop/images/19022025/23/43/image_19022025_23_43_25_10350.jpg
/home/pi/Desktop/images/19022025/23/43/image_19022025_23_43_45_10351.jpg
/home/pi/Desktop/images/19022025/23/43/image_19022025_23_43_55_10339.jpg
/home/pi/Desktop/images/19022025/23/43/image_19022025_23_44_05_9326.jpg
/home/pi/Desktop/images/19022025/23/44/image_19022025_23_44_15_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338740490","1338740493","1338740486","1338740488","1338740497","1338740485"],"photo_ids_order":["1338740485","1338740486","1338740488","1338740490","1338740493","1338740497"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a84a4d07f7fa4566fea3bfaf04e85494.jpg","text":"TemporaryFile(/tmp/multipartBody7407345875575733957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105694832,"filename":"image_19022025_23_43_55_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/73f310397c3365da709c1ca02642519d.jpg","text":"TemporaryFile(/tmp/multipartBody5849144436527234272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105694832,"filename":"image_19022025_23_44_05_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a19478bc3a41546b0013621f6d84609.jpg","text":"TemporaryFile(/tmp/multipartBody8151193170587475939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105694832,"filename":"image_19022025_23_43_25_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/64899cf678339f1d7e4cdba2a7f3874a.jpg","text":"TemporaryFile(/tmp/multipartBody1478304569290058057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105694832,"filename":"image_19022025_23_43_45_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9caeb07bf270559bad2dac682ea90002.jpg","text":"TemporaryFile(/tmp/multipartBody4254150550171445049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105694832,"filename":"image_19022025_23_44_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cd17cce2e6be647370045e108522a061.jpg","text":"TemporaryFile(/tmp/multipartBody4444630159836591607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105694832,"filename":"image_19022025_23_43_15_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338740488","file1":"1338740486","file0":"1338740485","file4":"1338740493","file5":"1338740497","file3":"1338740490"},"map_files_photo_id_array":[{"photo_id":"1338740497","filename":"file5"},{"photo_id":"1338740488","filename":"file2"},{"photo_id":"1338740493","filename":"file4"},{"photo_id":"1338740486","filename":"file1"},{"photo_id":"1338740485","filename":"file0"},{"photo_id":"1338740490","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338740490":["hashtag1","hashtag2"]},{"1338740493":["hashtag1","hashtag2"]},{"1338740486":["hashtag1","hashtag2"]},{"1338740488":["hashtag1","hashtag2"]},{"1338740497":["hashtag1","hashtag2"]},{"1338740485":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338740490, 1338740493, 1338740486, 1338740488, 1338740497, 1338740485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.204498529434204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:41:32.983861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/44/image_19022025_23_44_24_9447.jpg', '/home/pi/Desktop/images/19022025/23/44/image_19022025_23_44_35_10410.jpg', '/home/pi/Desktop/images/19022025/23/44/image_19022025_23_44_45_10347.jpg', '/home/pi/Desktop/images/19022025/23/44/image_19022025_23_44_54_9347.jpg', '/home/pi/Desktop/images/19022025/23/44/image_19022025_23_45_05_10396.jpg', '/home/pi/Desktop/images/19022025/23/45/image_19022025_23_45_15_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/44/image_19022025_23_44_24_9447.jpg
/home/pi/Desktop/images/19022025/23/44/image_19022025_23_44_35_10410.jpg
/home/pi/Desktop/images/19022025/23/44/image_19022025_23_44_45_10347.jpg
/home/pi/Desktop/images/19022025/23/44/image_19022025_23_44_54_9347.jpg
/home/pi/Desktop/images/19022025/23/44/image_19022025_23_45_05_10396.jpg
/home/pi/Desktop/images/19022025/23/45/image_19022025_23_45_15_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338740521","1338740520","1338740523","1338740522","1338740519","1338740524"],"photo_ids_order":["1338740519","1338740520","1338740521","1338740522","1338740523","1338740524"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5215bbb41c80bedb1f72044f30ff4f1b.jpg","text":"TemporaryFile(/tmp/multipartBody5401559271142553416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105755015,"filename":"image_19022025_23_44_45_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7fd2c7a93b31127dc73dcfb7a40147d7.jpg","text":"TemporaryFile(/tmp/multipartBody1846976698147315097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105755015,"filename":"image_19022025_23_44_35_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6cf261a0d396f2d01c379b87ab16f794.jpg","text":"TemporaryFile(/tmp/multipartBody481553111185129281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105755015,"filename":"image_19022025_23_45_05_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b1420d8d180169cef0a216ca39984b6.jpg","text":"TemporaryFile(/tmp/multipartBody4913980556926207627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105755015,"filename":"image_19022025_23_44_54_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/41a21d94c1fafdf44a1d79d82eb65b98.jpg","text":"TemporaryFile(/tmp/multipartBody8350440485654545059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105755015,"filename":"image_19022025_23_44_24_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/550426b242190b63acefbae798df21be.jpg","text":"TemporaryFile(/tmp/multipartBody8440987684311879431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105755015,"filename":"image_19022025_23_45_15_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338740521","file1":"1338740520","file0":"1338740519","file4":"1338740523","file5":"1338740524","file3":"1338740522"},"map_files_photo_id_array":[{"photo_id":"1338740524","filename":"file5"},{"photo_id":"1338740521","filename":"file2"},{"photo_id":"1338740523","filename":"file4"},{"photo_id":"1338740520","filename":"file1"},{"photo_id":"1338740519","filename":"file0"},{"photo_id":"1338740522","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338740521":["hashtag1","hashtag2"]},{"1338740520":["hashtag1","hashtag2"]},{"1338740523":["hashtag1","hashtag2"]},{"1338740522":["hashtag1","hashtag2"]},{"1338740519":["hashtag1","hashtag2"]},{"1338740524":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338740521, 1338740520, 1338740523, 1338740522, 1338740519, 1338740524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96650266647339 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:42:33.115248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/45/image_19022025_23_45_25_9418.jpg', '/home/pi/Desktop/images/19022025/23/45/image_19022025_23_45_35_10342.jpg', '/home/pi/Desktop/images/19022025/23/46/image_19022025_23_46_25_10474.jpg', '/home/pi/Desktop/images/19022025/23/46/image_19022025_23_46_45_10429.jpg', '/home/pi/Desktop/images/19022025/23/46/image_19022025_23_46_55_10407.jpg', '/home/pi/Desktop/images/19022025/23/46/image_19022025_23_47_05_9324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/45/image_19022025_23_45_25_9418.jpg
/home/pi/Desktop/images/19022025/23/45/image_19022025_23_45_35_10342.jpg
/home/pi/Desktop/images/19022025/23/46/image_19022025_23_46_25_10474.jpg
/home/pi/Desktop/images/19022025/23/46/image_19022025_23_46_45_10429.jpg
/home/pi/Desktop/images/19022025/23/46/image_19022025_23_46_55_10407.jpg
/home/pi/Desktop/images/19022025/23/46/image_19022025_23_47_05_9324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338740529","1338740532","1338740534","1338740528","1338740536","1338740530"],"photo_ids_order":["1338740528","1338740529","1338740530","1338740532","1338740534","1338740536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2f546e7899077a1e3eec24a65e9fa360.jpg","text":"TemporaryFile(/tmp/multipartBody2696511960887920596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105815151,"filename":"image_19022025_23_45_35_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3ab63a06222e6d847f0e034d78d2ba6.jpg","text":"TemporaryFile(/tmp/multipartBody2765041618955274584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105815151,"filename":"image_19022025_23_46_45_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dc6e894ff18732c0671fd21ffbb4fa08.jpg","text":"TemporaryFile(/tmp/multipartBody7769572858051827271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105815151,"filename":"image_19022025_23_46_55_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2b51ea0e7151c273193f81e8c9486071.jpg","text":"TemporaryFile(/tmp/multipartBody49378179728404990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105815151,"filename":"image_19022025_23_45_25_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/264442308592ce7a94d30599a1d1802c.jpg","text":"TemporaryFile(/tmp/multipartBody6243614182963849276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105815151,"filename":"image_19022025_23_47_05_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c5bd9f338b518e8b97292755ac307984.jpg","text":"TemporaryFile(/tmp/multipartBody2725866298606657827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105815151,"filename":"image_19022025_23_46_25_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338740530","file1":"1338740529","file0":"1338740528","file4":"1338740534","file5":"1338740536","file3":"1338740532"},"map_files_photo_id_array":[{"photo_id":"1338740536","filename":"file5"},{"photo_id":"1338740530","filename":"file2"},{"photo_id":"1338740534","filename":"file4"},{"photo_id":"1338740529","filename":"file1"},{"photo_id":"1338740528","filename":"file0"},{"photo_id":"1338740532","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338740529":["hashtag1","hashtag2"]},{"1338740532":["hashtag1","hashtag2"]},{"1338740534":["hashtag1","hashtag2"]},{"1338740528":["hashtag1","hashtag2"]},{"1338740536":["hashtag1","hashtag2"]},{"1338740530":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338740529, 1338740532, 1338740534, 1338740528, 1338740536, 1338740530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.39937233924866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:43:32.138140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/47/image_19022025_23_47_35_10342.jpg', '/home/pi/Desktop/images/19022025/23/47/image_19022025_23_47_45_10361.jpg', '/home/pi/Desktop/images/19022025/23/47/image_19022025_23_47_55_9419.jpg', '/home/pi/Desktop/images/19022025/23/48/image_19022025_23_48_15_10330.jpg', '/home/pi/Desktop/images/19022025/23/48/image_19022025_23_48_25_9402.jpg', '/home/pi/Desktop/images/19022025/23/48/image_19022025_23_49_05_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/47/image_19022025_23_47_35_10342.jpg
/home/pi/Desktop/images/19022025/23/47/image_19022025_23_47_45_10361.jpg
/home/pi/Desktop/images/19022025/23/47/image_19022025_23_47_55_9419.jpg
/home/pi/Desktop/images/19022025/23/48/image_19022025_23_48_15_10330.jpg
/home/pi/Desktop/images/19022025/23/48/image_19022025_23_48_25_9402.jpg
/home/pi/Desktop/images/19022025/23/48/image_19022025_23_49_05_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338740550","1338740544","1338740552","1338740546","1338740545","1338740548"],"photo_ids_order":["1338740544","1338740545","1338740546","1338740548","1338740550","1338740552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/086131b36300a3d670aed004b33e5bc4.jpg","text":"TemporaryFile(/tmp/multipartBody1295538392377626293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105874161,"filename":"image_19022025_23_48_25_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f7c3869aae6f8f8196162896e84c440.jpg","text":"TemporaryFile(/tmp/multipartBody6127557704507802687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105874161,"filename":"image_19022025_23_47_35_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aa76ba24c55f9fb027ab42c0aa3f8ac5.jpg","text":"TemporaryFile(/tmp/multipartBody6418305306639314920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105874161,"filename":"image_19022025_23_49_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5dba864c983e8fc3e5eb21a5413c3403.jpg","text":"TemporaryFile(/tmp/multipartBody632078867245704362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105874161,"filename":"image_19022025_23_47_55_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c785e52e515950df927cf2db6b9f8b1.jpg","text":"TemporaryFile(/tmp/multipartBody7204000275841352410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105874161,"filename":"image_19022025_23_47_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c249da3c41ca01b17ae95d4b9d35a183.jpg","text":"TemporaryFile(/tmp/multipartBody2353985715120485957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105874161,"filename":"image_19022025_23_48_15_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338740546","file1":"1338740545","file0":"1338740544","file4":"1338740550","file5":"1338740552","file3":"1338740548"},"map_files_photo_id_array":[{"photo_id":"1338740552","filename":"file5"},{"photo_id":"1338740546","filename":"file2"},{"photo_id":"1338740550","filename":"file4"},{"photo_id":"1338740545","filename":"file1"},{"photo_id":"1338740544","filename":"file0"},{"photo_id":"1338740548","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338740550":["hashtag1","hashtag2"]},{"1338740544":["hashtag1","hashtag2"]},{"1338740552":["hashtag1","hashtag2"]},{"1338740546":["hashtag1","hashtag2"]},{"1338740545":["hashtag1","hashtag2"]},{"1338740548":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338740550, 1338740544, 1338740552, 1338740546, 1338740545, 1338740548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67401456832886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:44:32.433876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/49/image_19022025_23_49_14_9388.jpg', '/home/pi/Desktop/images/19022025/23/49/image_19022025_23_49_25_10360.jpg', '/home/pi/Desktop/images/19022025/23/49/image_19022025_23_49_35_10359.jpg', '/home/pi/Desktop/images/19022025/23/49/image_19022025_23_50_05_10343.jpg', '/home/pi/Desktop/images/19022025/23/50/image_19022025_23_50_25_10403.jpg', '/home/pi/Desktop/images/19022025/23/50/image_19022025_23_50_55_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/49/image_19022025_23_49_14_9388.jpg
/home/pi/Desktop/images/19022025/23/49/image_19022025_23_49_25_10360.jpg
/home/pi/Desktop/images/19022025/23/49/image_19022025_23_49_35_10359.jpg
/home/pi/Desktop/images/19022025/23/49/image_19022025_23_50_05_10343.jpg
/home/pi/Desktop/images/19022025/23/50/image_19022025_23_50_25_10403.jpg
/home/pi/Desktop/images/19022025/23/50/image_19022025_23_50_55_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338740565","1338740562","1338740567","1338740569","1338740560","1338740563"],"photo_ids_order":["1338740560","1338740562","1338740563","1338740565","1338740567","1338740569"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/efd1f22e75ee23664cc232849a07d338.jpg","text":"TemporaryFile(/tmp/multipartBody6282675218448978183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105934475,"filename":"image_19022025_23_50_05_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/05e81d57c10c157b46fed394857ec057.jpg","text":"TemporaryFile(/tmp/multipartBody3590864712497927502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105934475,"filename":"image_19022025_23_49_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/401e67d6c8cec07f5323610614f4a0c8.jpg","text":"TemporaryFile(/tmp/multipartBody7583935201569672110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105934475,"filename":"image_19022025_23_50_25_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df911f3204d79e4037b2bffeed17c61b.jpg","text":"TemporaryFile(/tmp/multipartBody3830792284740171497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105934475,"filename":"image_19022025_23_50_55_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3fda3f9370f5595733c1857ae00da511.jpg","text":"TemporaryFile(/tmp/multipartBody7651130140130916412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105934475,"filename":"image_19022025_23_49_14_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/743847acaabede44c721b607b9bd5439.jpg","text":"TemporaryFile(/tmp/multipartBody3072077727239833149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105934475,"filename":"image_19022025_23_49_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338740563","file1":"1338740562","file0":"1338740560","file4":"1338740567","file5":"1338740569","file3":"1338740565"},"map_files_photo_id_array":[{"photo_id":"1338740569","filename":"file5"},{"photo_id":"1338740563","filename":"file2"},{"photo_id":"1338740567","filename":"file4"},{"photo_id":"1338740562","filename":"file1"},{"photo_id":"1338740560","filename":"file0"},{"photo_id":"1338740565","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338740565":["hashtag1","hashtag2"]},{"1338740562":["hashtag1","hashtag2"]},{"1338740567":["hashtag1","hashtag2"]},{"1338740569":["hashtag1","hashtag2"]},{"1338740560":["hashtag1","hashtag2"]},{"1338740563":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338740565, 1338740562, 1338740567, 1338740569, 1338740560, 1338740563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71227765083313 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:45:32.726716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/50/image_19022025_23_51_04_9393.jpg', '/home/pi/Desktop/images/19022025/23/51/image_19022025_23_51_15_10371.jpg', '/home/pi/Desktop/images/19022025/23/51/image_19022025_23_51_25_10348.jpg', '/home/pi/Desktop/images/19022025/23/51/image_19022025_23_51_35_9440.jpg', '/home/pi/Desktop/images/19022025/23/51/image_19022025_23_51_55_10345.jpg', '/home/pi/Desktop/images/19022025/23/51/image_19022025_23_52_05_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/50/image_19022025_23_51_04_9393.jpg
/home/pi/Desktop/images/19022025/23/51/image_19022025_23_51_15_10371.jpg
/home/pi/Desktop/images/19022025/23/51/image_19022025_23_51_25_10348.jpg
/home/pi/Desktop/images/19022025/23/51/image_19022025_23_51_35_9440.jpg
/home/pi/Desktop/images/19022025/23/51/image_19022025_23_51_55_10345.jpg
/home/pi/Desktop/images/19022025/23/51/image_19022025_23_52_05_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338740586","1338740589","1338740580","1338740591","1338740593","1338740584"],"photo_ids_order":["1338740580","1338740584","1338740586","1338740589","1338740591","1338740593"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4727078a06b71a4f040f932e18cbb48f.jpg","text":"TemporaryFile(/tmp/multipartBody2970359951710797928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105994760,"filename":"image_19022025_23_51_25_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/07d903c2c17aeb82173f28baa673ff0b.jpg","text":"TemporaryFile(/tmp/multipartBody8884244282204586532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105994760,"filename":"image_19022025_23_51_35_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce4083f9c15c4a6875a7dfba8d426f84.jpg","text":"TemporaryFile(/tmp/multipartBody502210733693936741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105994760,"filename":"image_19022025_23_51_04_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4187e8aa269126347032f083d6fbe8ad.jpg","text":"TemporaryFile(/tmp/multipartBody8114000845092497482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105994760,"filename":"image_19022025_23_51_55_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/79134f9f788c685051f40c83b99dd816.jpg","text":"TemporaryFile(/tmp/multipartBody7274363886780627439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105994760,"filename":"image_19022025_23_52_05_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/231eb17d60aa89d9928c1e397340b984.jpg","text":"TemporaryFile(/tmp/multipartBody1617044379140647300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740105994760,"filename":"image_19022025_23_51_15_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338740586","file1":"1338740584","file0":"1338740580","file4":"1338740591","file5":"1338740593","file3":"1338740589"},"map_files_photo_id_array":[{"photo_id":"1338740593","filename":"file5"},{"photo_id":"1338740586","filename":"file2"},{"photo_id":"1338740591","filename":"file4"},{"photo_id":"1338740584","filename":"file1"},{"photo_id":"1338740580","filename":"file0"},{"photo_id":"1338740589","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338740586":["hashtag1","hashtag2"]},{"1338740589":["hashtag1","hashtag2"]},{"1338740580":["hashtag1","hashtag2"]},{"1338740591":["hashtag1","hashtag2"]},{"1338740593":["hashtag1","hashtag2"]},{"1338740584":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338740586, 1338740589, 1338740580, 1338740591, 1338740593, 1338740584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.505438566207886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:46:32.986359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/52/image_19022025_23_52_24_9316.jpg', '/home/pi/Desktop/images/19022025/23/52/image_19022025_23_52_35_10331.jpg', '/home/pi/Desktop/images/19022025/23/52/image_19022025_23_52_45_10335.jpg', '/home/pi/Desktop/images/19022025/23/52/image_19022025_23_52_55_9458.jpg', '/home/pi/Desktop/images/19022025/23/52/image_19022025_23_53_05_10329.jpg', '/home/pi/Desktop/images/19022025/23/53/image_19022025_23_53_15_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/52/image_19022025_23_52_24_9316.jpg
/home/pi/Desktop/images/19022025/23/52/image_19022025_23_52_35_10331.jpg
/home/pi/Desktop/images/19022025/23/52/image_19022025_23_52_45_10335.jpg
/home/pi/Desktop/images/19022025/23/52/image_19022025_23_52_55_9458.jpg
/home/pi/Desktop/images/19022025/23/52/image_19022025_23_53_05_10329.jpg
/home/pi/Desktop/images/19022025/23/53/image_19022025_23_53_15_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338740645","1338740630","1338740633","1338740636","1338740644","1338740638"],"photo_ids_order":["1338740630","1338740633","1338740636","1338740638","1338740644","1338740645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eb882358de7ff47de2f15b1b035173c6.jpg","text":"TemporaryFile(/tmp/multipartBody2095305401458397626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106059427,"filename":"image_19022025_23_53_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0965e37f8716cbb814d0a6e8d0f5c051.jpg","text":"TemporaryFile(/tmp/multipartBody1364693570289417508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106059427,"filename":"image_19022025_23_52_24_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/37eafd6bfa9fa09e2c1ad849c99985d5.jpg","text":"TemporaryFile(/tmp/multipartBody1319729185248417000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106059427,"filename":"image_19022025_23_52_35_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ede03fd11d1621e3a81e7a36f338544.jpg","text":"TemporaryFile(/tmp/multipartBody4919146360105389795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106059427,"filename":"image_19022025_23_52_45_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a25f2e7e372990bce9b1e2c4a450074e.jpg","text":"TemporaryFile(/tmp/multipartBody3993397113528770806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106059427,"filename":"image_19022025_23_53_05_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c246758035dcb5e8a0f825eed5a8f4c9.jpg","text":"TemporaryFile(/tmp/multipartBody5302679376240391064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106059427,"filename":"image_19022025_23_52_55_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338740636","file1":"1338740633","file0":"1338740630","file4":"1338740644","file5":"1338740645","file3":"1338740638"},"map_files_photo_id_array":[{"photo_id":"1338740645","filename":"file5"},{"photo_id":"1338740636","filename":"file2"},{"photo_id":"1338740644","filename":"file4"},{"photo_id":"1338740633","filename":"file1"},{"photo_id":"1338740630","filename":"file0"},{"photo_id":"1338740638","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338740645":["hashtag1","hashtag2"]},{"1338740630":["hashtag1","hashtag2"]},{"1338740633":["hashtag1","hashtag2"]},{"1338740636":["hashtag1","hashtag2"]},{"1338740644":["hashtag1","hashtag2"]},{"1338740638":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338740645, 1338740630, 1338740633, 1338740636, 1338740644, 1338740638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.22971296310425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:47:33.139955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/53/image_19022025_23_53_25_9334.jpg', '/home/pi/Desktop/images/19022025/23/53/image_19022025_23_53_35_10372.jpg', '/home/pi/Desktop/images/19022025/23/53/image_19022025_23_53_45_10351.jpg', '/home/pi/Desktop/images/19022025/23/53/image_19022025_23_53_55_9343.jpg', '/home/pi/Desktop/images/19022025/23/53/image_19022025_23_54_05_10336.jpg', '/home/pi/Desktop/images/19022025/23/54/image_19022025_23_54_14_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/53/image_19022025_23_53_25_9334.jpg
/home/pi/Desktop/images/19022025/23/53/image_19022025_23_53_35_10372.jpg
/home/pi/Desktop/images/19022025/23/53/image_19022025_23_53_45_10351.jpg
/home/pi/Desktop/images/19022025/23/53/image_19022025_23_53_55_9343.jpg
/home/pi/Desktop/images/19022025/23/53/image_19022025_23_54_05_10336.jpg
/home/pi/Desktop/images/19022025/23/54/image_19022025_23_54_14_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338740658","1338740661","1338740663","1338740665","1338740653","1338740656"],"photo_ids_order":["1338740653","1338740656","1338740658","1338740661","1338740663","1338740665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d7f5942d18e2c848d97b629abe192908.jpg","text":"TemporaryFile(/tmp/multipartBody1275951270377915658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106115181,"filename":"image_19022025_23_53_45_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7450b9487bbff91128783ca1c8317fd9.jpg","text":"TemporaryFile(/tmp/multipartBody3295027832989964174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106115181,"filename":"image_19022025_23_53_55_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/920d5f79ac93a87c067d4f014a4d982c.jpg","text":"TemporaryFile(/tmp/multipartBody2200124708070149463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106115181,"filename":"image_19022025_23_54_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ec8aed57296249631f8dcae41e21a810.jpg","text":"TemporaryFile(/tmp/multipartBody6001079253602396139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106115181,"filename":"image_19022025_23_54_14_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c2a755e5dd0a163c9d7adaddb267cf0.jpg","text":"TemporaryFile(/tmp/multipartBody37705239026642835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106115181,"filename":"image_19022025_23_53_25_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a88b0483a39d9361a4c107c0341e9a02.jpg","text":"TemporaryFile(/tmp/multipartBody5255352414937821206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106115181,"filename":"image_19022025_23_53_35_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338740658","file1":"1338740656","file0":"1338740653","file4":"1338740663","file5":"1338740665","file3":"1338740661"},"map_files_photo_id_array":[{"photo_id":"1338740665","filename":"file5"},{"photo_id":"1338740658","filename":"file2"},{"photo_id":"1338740663","filename":"file4"},{"photo_id":"1338740656","filename":"file1"},{"photo_id":"1338740653","filename":"file0"},{"photo_id":"1338740661","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338740658":["hashtag1","hashtag2"]},{"1338740661":["hashtag1","hashtag2"]},{"1338740663":["hashtag1","hashtag2"]},{"1338740665":["hashtag1","hashtag2"]},{"1338740653":["hashtag1","hashtag2"]},{"1338740656":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338740658, 1338740661, 1338740663, 1338740665, 1338740653, 1338740656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22248888015747 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:48:32.185012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/54/image_19022025_23_54_25_10341.jpg', '/home/pi/Desktop/images/19022025/23/54/image_19022025_23_54_35_10334.jpg', '/home/pi/Desktop/images/19022025/23/54/image_19022025_23_54_55_10342.jpg', '/home/pi/Desktop/images/19022025/23/54/image_19022025_23_55_05_10338.jpg', '/home/pi/Desktop/images/19022025/23/55/image_19022025_23_55_15_9433.jpg', '/home/pi/Desktop/images/19022025/23/55/image_19022025_23_55_25_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/54/image_19022025_23_54_25_10341.jpg
/home/pi/Desktop/images/19022025/23/54/image_19022025_23_54_35_10334.jpg
/home/pi/Desktop/images/19022025/23/54/image_19022025_23_54_55_10342.jpg
/home/pi/Desktop/images/19022025/23/54/image_19022025_23_55_05_10338.jpg
/home/pi/Desktop/images/19022025/23/55/image_19022025_23_55_15_9433.jpg
/home/pi/Desktop/images/19022025/23/55/image_19022025_23_55_25_10392.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9463205337524414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 03:48:42.287609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/54/image_19022025_23_54_25_10341.jpg', '/home/pi/Desktop/images/19022025/23/54/image_19022025_23_54_35_10334.jpg', '/home/pi/Desktop/images/19022025/23/54/image_19022025_23_54_55_10342.jpg', '/home/pi/Desktop/images/19022025/23/54/image_19022025_23_55_05_10338.jpg', '/home/pi/Desktop/images/19022025/23/55/image_19022025_23_55_15_9433.jpg', '/home/pi/Desktop/images/19022025/23/55/image_19022025_23_55_25_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/54/image_19022025_23_54_25_10341.jpg
/home/pi/Desktop/images/19022025/23/54/image_19022025_23_54_35_10334.jpg
/home/pi/Desktop/images/19022025/23/54/image_19022025_23_54_55_10342.jpg
/home/pi/Desktop/images/19022025/23/54/image_19022025_23_55_05_10338.jpg
/home/pi/Desktop/images/19022025/23/55/image_19022025_23_55_15_9433.jpg
/home/pi/Desktop/images/19022025/23/55/image_19022025_23_55_25_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338740682","1338740676","1338740679","1338740687","1338740684","1338740686"],"photo_ids_order":["1338740676","1338740679","1338740682","1338740684","1338740686","1338740687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2c68526ceffd4c57ad9d427bb4841e7b.jpg","text":"TemporaryFile(/tmp/multipartBody7842740377954774172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106183411,"filename":"image_19022025_23_54_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c65d483942c0cdcd68637d3d4fe732e9.jpg","text":"TemporaryFile(/tmp/multipartBody235032337237527983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106183411,"filename":"image_19022025_23_54_25_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/acdc52adc123d18293bab0b4bee17de9.jpg","text":"TemporaryFile(/tmp/multipartBody6541833901429883289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106183411,"filename":"image_19022025_23_54_35_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa7d7eb17736e6a8b4dba23df2dffaa2.jpg","text":"TemporaryFile(/tmp/multipartBody822888327736253451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106183411,"filename":"image_19022025_23_55_25_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ba6c6af9cbbc8c7fbae7b12d17470bf.jpg","text":"TemporaryFile(/tmp/multipartBody6080118414801704348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106183411,"filename":"image_19022025_23_55_05_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/127d72a8a7ae58ebdfee87adfff99d3c.jpg","text":"TemporaryFile(/tmp/multipartBody7374511477943169025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106183411,"filename":"image_19022025_23_55_15_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338740682","file1":"1338740679","file0":"1338740676","file4":"1338740686","file5":"1338740687","file3":"1338740684"},"map_files_photo_id_array":[{"photo_id":"1338740687","filename":"file5"},{"photo_id":"1338740682","filename":"file2"},{"photo_id":"1338740686","filename":"file4"},{"photo_id":"1338740679","filename":"file1"},{"photo_id":"1338740676","filename":"file0"},{"photo_id":"1338740684","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338740682":["hashtag1","hashtag2"]},{"1338740676":["hashtag1","hashtag2"]},{"1338740679":["hashtag1","hashtag2"]},{"1338740687":["hashtag1","hashtag2"]},{"1338740684":["hashtag1","hashtag2"]},{"1338740686":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338740682, 1338740676, 1338740679, 1338740687, 1338740684, 1338740686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16073656082153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:49:32.542198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/55/image_19022025_23_55_34_9428.jpg', '/home/pi/Desktop/images/19022025/23/55/image_19022025_23_55_45_10341.jpg', '/home/pi/Desktop/images/19022025/23/55/image_19022025_23_56_04_9335.jpg', '/home/pi/Desktop/images/19022025/23/56/image_19022025_23_56_25_10341.jpg', '/home/pi/Desktop/images/19022025/23/56/image_19022025_23_56_35_9399.jpg', '/home/pi/Desktop/images/19022025/23/56/image_19022025_23_56_45_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/55/image_19022025_23_55_34_9428.jpg
/home/pi/Desktop/images/19022025/23/55/image_19022025_23_55_45_10341.jpg
/home/pi/Desktop/images/19022025/23/55/image_19022025_23_56_04_9335.jpg
/home/pi/Desktop/images/19022025/23/56/image_19022025_23_56_25_10341.jpg
/home/pi/Desktop/images/19022025/23/56/image_19022025_23_56_35_9399.jpg
/home/pi/Desktop/images/19022025/23/56/image_19022025_23_56_45_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338740701","1338740703","1338740693","1338740699","1338740698","1338740695"],"photo_ids_order":["1338740693","1338740695","1338740698","1338740699","1338740701","1338740703"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f5b6090b67627aee8f1d1ada2720c3f.jpg","text":"TemporaryFile(/tmp/multipartBody5525597119984115752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106234577,"filename":"image_19022025_23_56_35_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf66272b18eb2e5f92300a9d89a6100f.jpg","text":"TemporaryFile(/tmp/multipartBody7458859851410251353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106234577,"filename":"image_19022025_23_56_45_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bd4cbcf98be52210cf378ccc78bcfe2e.jpg","text":"TemporaryFile(/tmp/multipartBody5670989480056834894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106234577,"filename":"image_19022025_23_55_34_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d907e4ab214dbbab5bffe4d99eee3f9.jpg","text":"TemporaryFile(/tmp/multipartBody8013032919976451113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106234577,"filename":"image_19022025_23_56_25_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2e776196359111e120202ebe24284472.jpg","text":"TemporaryFile(/tmp/multipartBody6248061070896867271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106234577,"filename":"image_19022025_23_56_04_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7fa049e744fd62cf2ed9a1deaf561adb.jpg","text":"TemporaryFile(/tmp/multipartBody7771793071512230625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106234577,"filename":"image_19022025_23_55_45_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338740698","file1":"1338740695","file0":"1338740693","file4":"1338740701","file5":"1338740703","file3":"1338740699"},"map_files_photo_id_array":[{"photo_id":"1338740703","filename":"file5"},{"photo_id":"1338740698","filename":"file2"},{"photo_id":"1338740701","filename":"file4"},{"photo_id":"1338740695","filename":"file1"},{"photo_id":"1338740693","filename":"file0"},{"photo_id":"1338740699","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338740701":["hashtag1","hashtag2"]},{"1338740703":["hashtag1","hashtag2"]},{"1338740693":["hashtag1","hashtag2"]},{"1338740699":["hashtag1","hashtag2"]},{"1338740698":["hashtag1","hashtag2"]},{"1338740695":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338740701, 1338740703, 1338740693, 1338740699, 1338740698, 1338740695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60645389556885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:50:32.640155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/57/image_19022025_23_57_15_10337.jpg', '/home/pi/Desktop/images/19022025/23/57/image_19022025_23_57_24_9421.jpg', '/home/pi/Desktop/images/19022025/23/57/image_19022025_23_57_35_10334.jpg', '/home/pi/Desktop/images/19022025/23/57/image_19022025_23_57_45_10400.jpg', '/home/pi/Desktop/images/19022025/23/57/image_19022025_23_57_55_9344.jpg', '/home/pi/Desktop/images/19022025/23/58/image_19022025_23_58_15_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/57/image_19022025_23_57_15_10337.jpg
/home/pi/Desktop/images/19022025/23/57/image_19022025_23_57_24_9421.jpg
/home/pi/Desktop/images/19022025/23/57/image_19022025_23_57_35_10334.jpg
/home/pi/Desktop/images/19022025/23/57/image_19022025_23_57_45_10400.jpg
/home/pi/Desktop/images/19022025/23/57/image_19022025_23_57_55_9344.jpg
/home/pi/Desktop/images/19022025/23/58/image_19022025_23_58_15_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338741525","1338741522","1338741524","1338741472","1338741520","1338741523"],"photo_ids_order":["1338741472","1338741520","1338741522","1338741523","1338741524","1338741525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1d704fddee7bd5ff07285e8a6061924d.jpg","text":"TemporaryFile(/tmp/multipartBody7786355952790667613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106294698,"filename":"image_19022025_23_58_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a3e4eeabf53e6885467f33362c4cead.jpg","text":"TemporaryFile(/tmp/multipartBody6051130881980148272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106294698,"filename":"image_19022025_23_57_35_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/520ceef4dec3fddb80524216b319b68a.jpg","text":"TemporaryFile(/tmp/multipartBody3928056745935858843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106294698,"filename":"image_19022025_23_57_55_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/301793427cb661a6e015ef1458576796.jpg","text":"TemporaryFile(/tmp/multipartBody3799541234853451172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106294698,"filename":"image_19022025_23_57_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/19cc6fee967eac502e7bd995137d46be.jpg","text":"TemporaryFile(/tmp/multipartBody8937291652239719973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106294698,"filename":"image_19022025_23_57_24_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23176b05ba24b2f99e53c9acfc5dc420.jpg","text":"TemporaryFile(/tmp/multipartBody1340108511410044319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106294698,"filename":"image_19022025_23_57_45_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338741522","file1":"1338741520","file0":"1338741472","file4":"1338741524","file5":"1338741525","file3":"1338741523"},"map_files_photo_id_array":[{"photo_id":"1338741525","filename":"file5"},{"photo_id":"1338741522","filename":"file2"},{"photo_id":"1338741524","filename":"file4"},{"photo_id":"1338741520","filename":"file1"},{"photo_id":"1338741472","filename":"file0"},{"photo_id":"1338741523","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338741525":["hashtag1","hashtag2"]},{"1338741522":["hashtag1","hashtag2"]},{"1338741524":["hashtag1","hashtag2"]},{"1338741472":["hashtag1","hashtag2"]},{"1338741520":["hashtag1","hashtag2"]},{"1338741523":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338741525, 1338741522, 1338741524, 1338741472, 1338741520, 1338741523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70895051956177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:51:32.846361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/58/image_19022025_23_58_25_9382.jpg', '/home/pi/Desktop/images/19022025/23/58/image_19022025_23_58_35_10348.jpg', '/home/pi/Desktop/images/19022025/23/58/image_19022025_23_58_44_9491.jpg', '/home/pi/Desktop/images/19022025/23/58/image_19022025_23_58_55_10414.jpg', '/home/pi/Desktop/images/19022025/23/59/image_19022025_23_59_15_9316.jpg', '/home/pi/Desktop/images/19022025/23/59/image_19022025_23_59_34_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/58/image_19022025_23_58_25_9382.jpg
/home/pi/Desktop/images/19022025/23/58/image_19022025_23_58_35_10348.jpg
/home/pi/Desktop/images/19022025/23/58/image_19022025_23_58_44_9491.jpg
/home/pi/Desktop/images/19022025/23/58/image_19022025_23_58_55_10414.jpg
/home/pi/Desktop/images/19022025/23/59/image_19022025_23_59_15_9316.jpg
/home/pi/Desktop/images/19022025/23/59/image_19022025_23_59_34_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338741723","1338741714","1338741717","1338741748","1338741613","1338741721"],"photo_ids_order":["1338741613","1338741714","1338741717","1338741721","1338741723","1338741748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/31042c435e248ab216be742404bd73e0.jpg","text":"TemporaryFile(/tmp/multipartBody665016535820943527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106355153,"filename":"image_19022025_23_59_15_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/739691785347901f22256914b6edf9e7.jpg","text":"TemporaryFile(/tmp/multipartBody628346076696951423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106355153,"filename":"image_19022025_23_58_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5bc4f43430096233159ddce3dd6885b2.jpg","text":"TemporaryFile(/tmp/multipartBody929768723292321733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106355153,"filename":"image_19022025_23_58_44_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3373d4977b45e7f89931fd86464b4595.jpg","text":"TemporaryFile(/tmp/multipartBody2010282384223963236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106355153,"filename":"image_19022025_23_59_34_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/66f87a172253f4863925ba3ce0edb655.jpg","text":"TemporaryFile(/tmp/multipartBody7474585547697127786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106355153,"filename":"image_19022025_23_58_25_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8e4b7d9cb56676e6d36aa6ae0a3775c3.jpg","text":"TemporaryFile(/tmp/multipartBody707507634323773059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106355153,"filename":"image_19022025_23_58_55_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338741717","file1":"1338741714","file0":"1338741613","file4":"1338741723","file5":"1338741748","file3":"1338741721"},"map_files_photo_id_array":[{"photo_id":"1338741748","filename":"file5"},{"photo_id":"1338741717","filename":"file2"},{"photo_id":"1338741723","filename":"file4"},{"photo_id":"1338741714","filename":"file1"},{"photo_id":"1338741613","filename":"file0"},{"photo_id":"1338741721","filename":"file3"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338741723":["hashtag1","hashtag2"]},{"1338741714":["hashtag1","hashtag2"]},{"1338741717":["hashtag1","hashtag2"]},{"1338741748":["hashtag1","hashtag2"]},{"1338741613":["hashtag1","hashtag2"]},{"1338741721":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338741723, 1338741714, 1338741717, 1338741748, 1338741613, 1338741721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4375102519989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:52:33.141581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/23/59/image_19022025_23_59_45_10343.jpg', '/home/pi/Desktop/images/19022025/23/59/image_19022025_23_59_55_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/23/59/image_19022025_23_59_45_10343.jpg
/home/pi/Desktop/images/19022025/23/59/image_19022025_23_59_55_10339.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338741781","1338741784"],"photo_ids_order":["1338741781","1338741784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3b98e13eeda035a3d42a83020a038d3.jpg","text":"TemporaryFile(/tmp/multipartBody4540465471984678152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106415086,"filename":"image_19022025_23_59_45_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7103e842391f93ccd6f453a954c25070.jpg","text":"TemporaryFile(/tmp/multipartBody6703176733240635977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106415086,"filename":"image_19022025_23_59_55_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338741784","file0":"1338741781"},"map_files_photo_id_array":[{"photo_id":"1338741784","filename":"file1"},{"photo_id":"1338741781","filename":"file0"}],"portfolio_id":20660698,"hashtag_by_photo_ids":[{"1338741781":["hashtag1","hashtag2"]},{"1338741784":["hashtag1","hashtag2"]}],"comms":"Portfolio 20660698 used, photo_id : ArrayBuffer(1338741781, 1338741784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.23520255088806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:52:53.141761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/23/image_20022025_16_23_47_10331.jpg', '/home/pi/Desktop/images/20022025/16/23/image_20022025_16_23_56_9339.jpg', '/home/pi/Desktop/images/20022025/16/23/image_20022025_16_24_07_10446.jpg', '/home/pi/Desktop/images/20022025/16/24/image_20022025_16_24_16_9330.jpg', '/home/pi/Desktop/images/20022025/16/24/image_20022025_16_24_26_10355.jpg', '/home/pi/Desktop/images/20022025/16/24/image_20022025_16_24_37_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/23/image_20022025_16_23_47_10331.jpg
/home/pi/Desktop/images/20022025/16/23/image_20022025_16_23_56_9339.jpg
/home/pi/Desktop/images/20022025/16/23/image_20022025_16_24_07_10446.jpg
/home/pi/Desktop/images/20022025/16/24/image_20022025_16_24_16_9330.jpg
/home/pi/Desktop/images/20022025/16/24/image_20022025_16_24_26_10355.jpg
/home/pi/Desktop/images/20022025/16/24/image_20022025_16_24_37_10416.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338741801","1338741794","1338741803","1338741799","1338741798","1338741805"],"photo_ids_order":["1338741794","1338741798","1338741799","1338741801","1338741803","1338741805"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a51dcefa07d8f3f8bd6008a1fcd3c911.jpg","text":"TemporaryFile(/tmp/multipartBody8029632850147697583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106435322,"filename":"image_20022025_16_24_16_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06886e424ac15a18588de333ec0c3773.jpg","text":"TemporaryFile(/tmp/multipartBody2850869245273039056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106435322,"filename":"image_20022025_16_23_47_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/50983163d6ba94be60dcfde19e994072.jpg","text":"TemporaryFile(/tmp/multipartBody7404846757034318533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106435322,"filename":"image_20022025_16_24_26_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3eaf315a07543047acd3deeaad90925.jpg","text":"TemporaryFile(/tmp/multipartBody5753097877512170930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106435322,"filename":"image_20022025_16_24_07_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/712b1eec24c68fa7bcbb9b3933fcc4d3.jpg","text":"TemporaryFile(/tmp/multipartBody4024857144967764735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106435322,"filename":"image_20022025_16_23_56_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bafea1d19bbca0ae909858d0c91e4ce2.jpg","text":"TemporaryFile(/tmp/multipartBody1456099658201562003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106435322,"filename":"image_20022025_16_24_37_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338741799","file1":"1338741798","file0":"1338741794","file4":"1338741803","file5":"1338741805","file3":"1338741801"},"map_files_photo_id_array":[{"photo_id":"1338741805","filename":"file5"},{"photo_id":"1338741799","filename":"file2"},{"photo_id":"1338741803","filename":"file4"},{"photo_id":"1338741798","filename":"file1"},{"photo_id":"1338741794","filename":"file0"},{"photo_id":"1338741801","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338741801":["hashtag1","hashtag2"]},{"1338741794":["hashtag1","hashtag2"]},{"1338741803":["hashtag1","hashtag2"]},{"1338741799":["hashtag1","hashtag2"]},{"1338741798":["hashtag1","hashtag2"]},{"1338741805":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338741801, 1338741794, 1338741803, 1338741799, 1338741798, 1338741805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00586938858032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:53:32.231663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/24/image_20022025_16_24_46_9321.jpg', '/home/pi/Desktop/images/20022025/16/24/image_20022025_16_24_57_10413.jpg', '/home/pi/Desktop/images/20022025/16/24/image_20022025_16_25_07_10329.jpg', '/home/pi/Desktop/images/20022025/16/25/image_20022025_16_25_16_9320.jpg', '/home/pi/Desktop/images/20022025/16/25/image_20022025_16_25_27_10463.jpg', '/home/pi/Desktop/images/20022025/16/25/image_20022025_16_25_37_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/24/image_20022025_16_24_46_9321.jpg
/home/pi/Desktop/images/20022025/16/24/image_20022025_16_24_57_10413.jpg
/home/pi/Desktop/images/20022025/16/24/image_20022025_16_25_07_10329.jpg
/home/pi/Desktop/images/20022025/16/25/image_20022025_16_25_16_9320.jpg
/home/pi/Desktop/images/20022025/16/25/image_20022025_16_25_27_10463.jpg
/home/pi/Desktop/images/20022025/16/25/image_20022025_16_25_37_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338741816","1338741813","1338741815","1338741812","1338741814","1338741817"],"photo_ids_order":["1338741812","1338741813","1338741814","1338741815","1338741816","1338741817"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c9fe2a511c11e50f665899a61691d220.jpg","text":"TemporaryFile(/tmp/multipartBody8948011755797233121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106474386,"filename":"image_20022025_16_25_27_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef927c23bd0844d2e8939595a4118c0a.jpg","text":"TemporaryFile(/tmp/multipartBody8848253986245880308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106474386,"filename":"image_20022025_16_24_57_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ee606108cf25a6fddd3a559e23e41ab.jpg","text":"TemporaryFile(/tmp/multipartBody48113136211586837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106474386,"filename":"image_20022025_16_25_16_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c356023c00706bd32bd2251fe706696c.jpg","text":"TemporaryFile(/tmp/multipartBody8064265572835820011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106474386,"filename":"image_20022025_16_24_46_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2101a5d3889f7978f6c5c21bcae52d80.jpg","text":"TemporaryFile(/tmp/multipartBody8896915361579040330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106474386,"filename":"image_20022025_16_25_07_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c116ad5c7df38f885c90b3324c303ee8.jpg","text":"TemporaryFile(/tmp/multipartBody7381917612300530049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106474386,"filename":"image_20022025_16_25_37_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338741814","file1":"1338741813","file0":"1338741812","file4":"1338741816","file5":"1338741817","file3":"1338741815"},"map_files_photo_id_array":[{"photo_id":"1338741817","filename":"file5"},{"photo_id":"1338741814","filename":"file2"},{"photo_id":"1338741816","filename":"file4"},{"photo_id":"1338741813","filename":"file1"},{"photo_id":"1338741812","filename":"file0"},{"photo_id":"1338741815","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338741816":["hashtag1","hashtag2"]},{"1338741813":["hashtag1","hashtag2"]},{"1338741815":["hashtag1","hashtag2"]},{"1338741812":["hashtag1","hashtag2"]},{"1338741814":["hashtag1","hashtag2"]},{"1338741817":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338741816, 1338741813, 1338741815, 1338741812, 1338741814, 1338741817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.7254843711853 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:54:32.462322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/25/image_20022025_16_25_46_9400.jpg', '/home/pi/Desktop/images/20022025/16/25/image_20022025_16_25_57_10454.jpg', '/home/pi/Desktop/images/20022025/16/25/image_20022025_16_26_06_9338.jpg', '/home/pi/Desktop/images/20022025/16/26/image_20022025_16_26_27_10358.jpg', '/home/pi/Desktop/images/20022025/16/26/image_20022025_16_26_36_9317.jpg', '/home/pi/Desktop/images/20022025/16/26/image_20022025_16_26_47_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/25/image_20022025_16_25_46_9400.jpg
/home/pi/Desktop/images/20022025/16/25/image_20022025_16_25_57_10454.jpg
/home/pi/Desktop/images/20022025/16/25/image_20022025_16_26_06_9338.jpg
/home/pi/Desktop/images/20022025/16/26/image_20022025_16_26_27_10358.jpg
/home/pi/Desktop/images/20022025/16/26/image_20022025_16_26_36_9317.jpg
/home/pi/Desktop/images/20022025/16/26/image_20022025_16_26_47_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338741845","1338741860","1338741848","1338741868","1338741826","1338741834"],"photo_ids_order":["1338741826","1338741834","1338741845","1338741848","1338741860","1338741868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/43a02d362b67e7fc8c5119c6827863ba.jpg","text":"TemporaryFile(/tmp/multipartBody1379449791174255083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106534606,"filename":"image_20022025_16_26_06_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/15e3613672d6cc246202e9195be7bd3b.jpg","text":"TemporaryFile(/tmp/multipartBody6971449924003452935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106534606,"filename":"image_20022025_16_26_36_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ab416a768088fd207c4033fdd786f1a5.jpg","text":"TemporaryFile(/tmp/multipartBody4497677938325422893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106534606,"filename":"image_20022025_16_26_27_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ddcbfa5d2f48934386ee95fd3973706e.jpg","text":"TemporaryFile(/tmp/multipartBody8002299942870571393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106534606,"filename":"image_20022025_16_26_47_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff1acf1ec991be3555b4415591756a1a.jpg","text":"TemporaryFile(/tmp/multipartBody1979672772752130083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106534606,"filename":"image_20022025_16_25_46_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a387ab3319d05c8555bb78fef4004cf.jpg","text":"TemporaryFile(/tmp/multipartBody5236209403764404957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106534606,"filename":"image_20022025_16_25_57_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338741845","file1":"1338741834","file0":"1338741826","file4":"1338741860","file5":"1338741868","file3":"1338741848"},"map_files_photo_id_array":[{"photo_id":"1338741868","filename":"file5"},{"photo_id":"1338741845","filename":"file2"},{"photo_id":"1338741860","filename":"file4"},{"photo_id":"1338741834","filename":"file1"},{"photo_id":"1338741826","filename":"file0"},{"photo_id":"1338741848","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338741845":["hashtag1","hashtag2"]},{"1338741860":["hashtag1","hashtag2"]},{"1338741848":["hashtag1","hashtag2"]},{"1338741868":["hashtag1","hashtag2"]},{"1338741826":["hashtag1","hashtag2"]},{"1338741834":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338741845, 1338741860, 1338741848, 1338741868, 1338741826, 1338741834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27149677276611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:55:32.620012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/26/image_20022025_16_26_57_10364.jpg', '/home/pi/Desktop/images/20022025/16/26/image_20022025_16_27_06_9354.jpg', '/home/pi/Desktop/images/20022025/16/27/image_20022025_16_27_17_10418.jpg', '/home/pi/Desktop/images/20022025/16/27/image_20022025_16_27_26_9405.jpg', '/home/pi/Desktop/images/20022025/16/27/image_20022025_16_27_37_10451.jpg', '/home/pi/Desktop/images/20022025/16/27/image_20022025_16_27_47_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/26/image_20022025_16_26_57_10364.jpg
/home/pi/Desktop/images/20022025/16/26/image_20022025_16_27_06_9354.jpg
/home/pi/Desktop/images/20022025/16/27/image_20022025_16_27_17_10418.jpg
/home/pi/Desktop/images/20022025/16/27/image_20022025_16_27_26_9405.jpg
/home/pi/Desktop/images/20022025/16/27/image_20022025_16_27_37_10451.jpg
/home/pi/Desktop/images/20022025/16/27/image_20022025_16_27_47_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338742259","1338742189","1338742057","1338742330","1338742383","1338742113"],"photo_ids_order":["1338742057","1338742113","1338742189","1338742259","1338742330","1338742383"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/48ba751fabb592114dfc29c9f6cde4c3.jpg","text":"TemporaryFile(/tmp/multipartBody2753901760155548009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106594774,"filename":"image_20022025_16_27_26_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ecc681daa1c75d1eed3f77c9a05a6dbe.jpg","text":"TemporaryFile(/tmp/multipartBody721233388789458629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106594774,"filename":"image_20022025_16_27_17_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/45f526159ee50e5238f81dad4ffc0ac6.jpg","text":"TemporaryFile(/tmp/multipartBody2605432129549664186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106594774,"filename":"image_20022025_16_26_57_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7655a61bbbe58df203b816f444afd9e3.jpg","text":"TemporaryFile(/tmp/multipartBody7271773623474848529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106594774,"filename":"image_20022025_16_27_37_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9f5e8562f8ec81dc14b8cc05d6480dd7.jpg","text":"TemporaryFile(/tmp/multipartBody9031781929240827827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106594774,"filename":"image_20022025_16_27_47_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9b1410ba177e382782d5875c6a70968c.jpg","text":"TemporaryFile(/tmp/multipartBody2188252646212446549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106594774,"filename":"image_20022025_16_27_06_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338742189","file1":"1338742113","file0":"1338742057","file4":"1338742330","file5":"1338742383","file3":"1338742259"},"map_files_photo_id_array":[{"photo_id":"1338742383","filename":"file5"},{"photo_id":"1338742189","filename":"file2"},{"photo_id":"1338742330","filename":"file4"},{"photo_id":"1338742113","filename":"file1"},{"photo_id":"1338742057","filename":"file0"},{"photo_id":"1338742259","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338742259":["hashtag1","hashtag2"]},{"1338742189":["hashtag1","hashtag2"]},{"1338742057":["hashtag1","hashtag2"]},{"1338742330":["hashtag1","hashtag2"]},{"1338742383":["hashtag1","hashtag2"]},{"1338742113":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338742259, 1338742189, 1338742057, 1338742330, 1338742383, 1338742113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.87072515487671 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:56:32.983408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/27/image_20022025_16_27_56_9325.jpg', '/home/pi/Desktop/images/20022025/16/27/image_20022025_16_28_07_10441.jpg', '/home/pi/Desktop/images/20022025/16/28/image_20022025_16_28_16_9428.jpg', '/home/pi/Desktop/images/20022025/16/28/image_20022025_16_28_37_10404.jpg', '/home/pi/Desktop/images/20022025/16/28/image_20022025_16_28_46_9348.jpg', '/home/pi/Desktop/images/20022025/16/28/image_20022025_16_28_57_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/27/image_20022025_16_27_56_9325.jpg
/home/pi/Desktop/images/20022025/16/27/image_20022025_16_28_07_10441.jpg
/home/pi/Desktop/images/20022025/16/28/image_20022025_16_28_16_9428.jpg
/home/pi/Desktop/images/20022025/16/28/image_20022025_16_28_37_10404.jpg
/home/pi/Desktop/images/20022025/16/28/image_20022025_16_28_46_9348.jpg
/home/pi/Desktop/images/20022025/16/28/image_20022025_16_28_57_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338742958","1338743065","1338743080","1338743076","1338743070","1338743028"],"photo_ids_order":["1338742958","1338743028","1338743065","1338743070","1338743076","1338743080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/feee689cc31732475f00a74410a2aafc.jpg","text":"TemporaryFile(/tmp/multipartBody5617696825611521718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106655149,"filename":"image_20022025_16_27_56_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/93bbd7f79c6de767cf4092a9235c4477.jpg","text":"TemporaryFile(/tmp/multipartBody7965000040677429956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106655149,"filename":"image_20022025_16_28_16_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a32ae3dbc8277676078f325f14966e54.jpg","text":"TemporaryFile(/tmp/multipartBody7363663405175192873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106655149,"filename":"image_20022025_16_28_57_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d3e26413868258bb986d0f5b0210629c.jpg","text":"TemporaryFile(/tmp/multipartBody1741239898782616875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106655149,"filename":"image_20022025_16_28_46_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b5d029998ae1305fac09915a883f5467.jpg","text":"TemporaryFile(/tmp/multipartBody3150101572202827847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106655149,"filename":"image_20022025_16_28_37_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/698c8c5a146f311b8ad08f321724301c.jpg","text":"TemporaryFile(/tmp/multipartBody4638432726837754850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106655149,"filename":"image_20022025_16_28_07_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338743065","file1":"1338743028","file0":"1338742958","file4":"1338743076","file5":"1338743080","file3":"1338743070"},"map_files_photo_id_array":[{"photo_id":"1338743080","filename":"file5"},{"photo_id":"1338743065","filename":"file2"},{"photo_id":"1338743076","filename":"file4"},{"photo_id":"1338743028","filename":"file1"},{"photo_id":"1338742958","filename":"file0"},{"photo_id":"1338743070","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338742958":["hashtag1","hashtag2"]},{"1338743065":["hashtag1","hashtag2"]},{"1338743080":["hashtag1","hashtag2"]},{"1338743076":["hashtag1","hashtag2"]},{"1338743070":["hashtag1","hashtag2"]},{"1338743028":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338742958, 1338743065, 1338743080, 1338743076, 1338743070, 1338743028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81066679954529 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 03:57:33.072457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/28/image_20022025_16_29_06_9336.jpg', '/home/pi/Desktop/images/20022025/16/29/image_20022025_16_29_16_10332.jpg', '/home/pi/Desktop/images/20022025/16/29/image_20022025_16_29_27_10431.jpg', '/home/pi/Desktop/images/20022025/16/29/image_20022025_16_29_47_10423.jpg', '/home/pi/Desktop/images/20022025/16/29/image_20022025_16_29_57_10346.jpg', '/home/pi/Desktop/images/20022025/16/29/image_20022025_16_30_06_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/28/image_20022025_16_29_06_9336.jpg
/home/pi/Desktop/images/20022025/16/29/image_20022025_16_29_16_10332.jpg
/home/pi/Desktop/images/20022025/16/29/image_20022025_16_29_27_10431.jpg
/home/pi/Desktop/images/20022025/16/29/image_20022025_16_29_47_10423.jpg
/home/pi/Desktop/images/20022025/16/29/image_20022025_16_29_57_10346.jpg
/home/pi/Desktop/images/20022025/16/29/image_20022025_16_30_06_9421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 03:59:03.783353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/28/image_20022025_16_29_06_9336.jpg', '/home/pi/Desktop/images/20022025/16/29/image_20022025_16_29_16_10332.jpg', '/home/pi/Desktop/images/20022025/16/29/image_20022025_16_29_27_10431.jpg', '/home/pi/Desktop/images/20022025/16/29/image_20022025_16_29_47_10423.jpg', '/home/pi/Desktop/images/20022025/16/29/image_20022025_16_29_57_10346.jpg', '/home/pi/Desktop/images/20022025/16/29/image_20022025_16_30_06_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/28/image_20022025_16_29_06_9336.jpg
/home/pi/Desktop/images/20022025/16/29/image_20022025_16_29_16_10332.jpg
/home/pi/Desktop/images/20022025/16/29/image_20022025_16_29_27_10431.jpg
/home/pi/Desktop/images/20022025/16/29/image_20022025_16_29_47_10423.jpg
/home/pi/Desktop/images/20022025/16/29/image_20022025_16_29_57_10346.jpg
/home/pi/Desktop/images/20022025/16/29/image_20022025_16_30_06_9421.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338743315","1338743309","1338743263","1338743311","1338743314","1338743265"],"photo_ids_order":["1338743263","1338743265","1338743309","1338743311","1338743314","1338743315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6736ae69025e9267b8ea5914afe41bfd.jpg","text":"TemporaryFile(/tmp/multipartBody3704340415362591264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106805290,"filename":"image_20022025_16_30_06_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/463d36a563183edd971d9cf0d4b3fc2a.jpg","text":"TemporaryFile(/tmp/multipartBody6623480177535922236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106805290,"filename":"image_20022025_16_29_27_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f82e2e99f31458425e3b89fd1b2aaa16.jpg","text":"TemporaryFile(/tmp/multipartBody2855457470045144876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106805290,"filename":"image_20022025_16_29_06_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b1e2a58858595dca2884cc86b1f6ffe1.jpg","text":"TemporaryFile(/tmp/multipartBody6292240449386703442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106805290,"filename":"image_20022025_16_29_47_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/88f31d17136405284cb51a3576ab9ecb.jpg","text":"TemporaryFile(/tmp/multipartBody1339726311015402771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106805290,"filename":"image_20022025_16_29_57_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32e905eb3bad61afdb8b50a08a98c1d8.jpg","text":"TemporaryFile(/tmp/multipartBody1015037540104843052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106805290,"filename":"image_20022025_16_29_16_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338743309","file1":"1338743265","file0":"1338743263","file4":"1338743314","file5":"1338743315","file3":"1338743311"},"map_files_photo_id_array":[{"photo_id":"1338743315","filename":"file5"},{"photo_id":"1338743309","filename":"file2"},{"photo_id":"1338743314","filename":"file4"},{"photo_id":"1338743265","filename":"file1"},{"photo_id":"1338743263","filename":"file0"},{"photo_id":"1338743311","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338743315":["hashtag1","hashtag2"]},{"1338743309":["hashtag1","hashtag2"]},{"1338743263":["hashtag1","hashtag2"]},{"1338743311":["hashtag1","hashtag2"]},{"1338743314":["hashtag1","hashtag2"]},{"1338743265":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338743315, 1338743309, 1338743263, 1338743311, 1338743314, 1338743265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.597084045410156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 03:59:42.379667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_21022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 20708309, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1740106842000}
4310
2602792
4310
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/00/image_21022025_00_00_16_10214.jpg', '/home/pi/Desktop/images/21022025/00/00/image_21022025_00_00_27_10472.jpg', '/home/pi/Desktop/images/21022025/00/00/image_21022025_00_00_46_10358.jpg', '/home/pi/Desktop/images/21022025/00/01/image_21022025_00_01_27_10499.jpg', '/home/pi/Desktop/images/21022025/00/01/image_21022025_00_01_36_9407.jpg', '/home/pi/Desktop/images/21022025/00/01/image_21022025_00_02_06_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/00/image_21022025_00_00_16_10214.jpg
/home/pi/Desktop/images/21022025/00/00/image_21022025_00_00_27_10472.jpg
/home/pi/Desktop/images/21022025/00/00/image_21022025_00_00_46_10358.jpg
/home/pi/Desktop/images/21022025/00/01/image_21022025_00_01_27_10499.jpg
/home/pi/Desktop/images/21022025/00/01/image_21022025_00_01_36_9407.jpg
/home/pi/Desktop/images/21022025/00/01/image_21022025_00_02_06_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338743339","1338743347","1338743335","1338743340","1338743337","1338743346"],"photo_ids_order":["1338743335","1338743337","1338743339","1338743340","1338743346","1338743347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/19f0e0c5d1222e4adaecbdb8ed2be36f.jpg","text":"TemporaryFile(/tmp/multipartBody6630183777984386693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106844912,"filename":"image_21022025_00_00_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef73525c1d5b489d867e416465e26aa1.jpg","text":"TemporaryFile(/tmp/multipartBody5845329812107312841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106844912,"filename":"image_21022025_00_02_06_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d49001d66ec07463df6dd2759015815.jpg","text":"TemporaryFile(/tmp/multipartBody2340511686237907220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106844912,"filename":"image_21022025_00_00_16_10214.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7cae661cb58ef0266a7db34cb5fdc70d.jpg","text":"TemporaryFile(/tmp/multipartBody7627720033152494570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106844912,"filename":"image_21022025_00_01_27_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2f1ea1e337e04ca3206fb24dc7536ba5.jpg","text":"TemporaryFile(/tmp/multipartBody7604269113350611805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106844912,"filename":"image_21022025_00_00_27_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f9054cb5ab4a71bad2219037772a7969.jpg","text":"TemporaryFile(/tmp/multipartBody1178527217406635275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106844912,"filename":"image_21022025_00_01_36_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338743339","file1":"1338743337","file0":"1338743335","file4":"1338743346","file5":"1338743347","file3":"1338743340"},"map_files_photo_id_array":[{"photo_id":"1338743347","filename":"file5"},{"photo_id":"1338743339","filename":"file2"},{"photo_id":"1338743346","filename":"file4"},{"photo_id":"1338743337","filename":"file1"},{"photo_id":"1338743335","filename":"file0"},{"photo_id":"1338743340","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338743339":["hashtag1","hashtag2"]},{"1338743347":["hashtag1","hashtag2"]},{"1338743335":["hashtag1","hashtag2"]},{"1338743340":["hashtag1","hashtag2"]},{"1338743337":["hashtag1","hashtag2"]},{"1338743346":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338743339, 1338743347, 1338743335, 1338743340, 1338743337, 1338743346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68486166000366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:00:32.454512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/02/image_21022025_00_02_17_10372.jpg', '/home/pi/Desktop/images/21022025/00/02/image_21022025_00_02_26_9341.jpg', '/home/pi/Desktop/images/21022025/00/02/image_21022025_00_02_56_9346.jpg', '/home/pi/Desktop/images/21022025/00/02/image_21022025_00_03_06_10382.jpg', '/home/pi/Desktop/images/21022025/00/03/image_21022025_00_03_17_10366.jpg', '/home/pi/Desktop/images/21022025/00/03/image_21022025_00_03_37_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/02/image_21022025_00_02_17_10372.jpg
/home/pi/Desktop/images/21022025/00/02/image_21022025_00_02_26_9341.jpg
/home/pi/Desktop/images/21022025/00/02/image_21022025_00_02_56_9346.jpg
/home/pi/Desktop/images/21022025/00/02/image_21022025_00_03_06_10382.jpg
/home/pi/Desktop/images/21022025/00/03/image_21022025_00_03_17_10366.jpg
/home/pi/Desktop/images/21022025/00/03/image_21022025_00_03_37_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338743374","1338743379","1338743367","1338743381","1338743462","1338743399"],"photo_ids_order":["1338743367","1338743374","1338743379","1338743381","1338743399","1338743462"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9184a16bf6415762959f4f794ade11a5.jpg","text":"TemporaryFile(/tmp/multipartBody735349246023696625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106892928,"filename":"image_21022025_00_02_26_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/08833911a5ccbd073d04f0e8923c33a4.jpg","text":"TemporaryFile(/tmp/multipartBody2419757434054114539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106892928,"filename":"image_21022025_00_02_56_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81abbc0468f12be9b145620c39ce6aed.jpg","text":"TemporaryFile(/tmp/multipartBody7886925290450685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106892928,"filename":"image_21022025_00_02_17_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59d91efa56dbbc8f3e60f96ee58384c7.jpg","text":"TemporaryFile(/tmp/multipartBody4074087545616815142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106892928,"filename":"image_21022025_00_03_06_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1b0f858963984769ccb1dd4404630a4.jpg","text":"TemporaryFile(/tmp/multipartBody4003101042901839760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106892928,"filename":"image_21022025_00_03_37_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0aa8258786f6c397fc93642a30deded1.jpg","text":"TemporaryFile(/tmp/multipartBody7097237117816743227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106892928,"filename":"image_21022025_00_03_17_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338743379","file1":"1338743374","file0":"1338743367","file4":"1338743399","file5":"1338743462","file3":"1338743381"},"map_files_photo_id_array":[{"photo_id":"1338743462","filename":"file5"},{"photo_id":"1338743379","filename":"file2"},{"photo_id":"1338743399","filename":"file4"},{"photo_id":"1338743374","filename":"file1"},{"photo_id":"1338743367","filename":"file0"},{"photo_id":"1338743381","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338743374":["hashtag1","hashtag2"]},{"1338743379":["hashtag1","hashtag2"]},{"1338743367":["hashtag1","hashtag2"]},{"1338743381":["hashtag1","hashtag2"]},{"1338743462":["hashtag1","hashtag2"]},{"1338743399":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338743374, 1338743379, 1338743367, 1338743381, 1338743462, 1338743399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.963831186294556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:01:32.784598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/03/image_21022025_00_03_56_10349.jpg', '/home/pi/Desktop/images/21022025/00/04/image_21022025_00_04_16_9382.jpg', '/home/pi/Desktop/images/21022025/00/04/image_21022025_00_04_37_10362.jpg', '/home/pi/Desktop/images/21022025/00/04/image_21022025_00_04_57_10450.jpg', '/home/pi/Desktop/images/21022025/00/04/image_21022025_00_05_06_9354.jpg', '/home/pi/Desktop/images/21022025/00/05/image_21022025_00_05_16_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/03/image_21022025_00_03_56_10349.jpg
/home/pi/Desktop/images/21022025/00/04/image_21022025_00_04_16_9382.jpg
/home/pi/Desktop/images/21022025/00/04/image_21022025_00_04_37_10362.jpg
/home/pi/Desktop/images/21022025/00/04/image_21022025_00_04_57_10450.jpg
/home/pi/Desktop/images/21022025/00/04/image_21022025_00_05_06_9354.jpg
/home/pi/Desktop/images/21022025/00/05/image_21022025_00_05_16_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338743590","1338743584","1338743589","1338743586","1338743588","1338743582"],"photo_ids_order":["1338743582","1338743584","1338743586","1338743588","1338743589","1338743590"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1694e25911fba1d21be1b1c0da6df51a.jpg","text":"TemporaryFile(/tmp/multipartBody5991365584095265471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106953258,"filename":"image_21022025_00_05_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d225b059437e0ac7363f426db9019b83.jpg","text":"TemporaryFile(/tmp/multipartBody6029831603781612951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106953258,"filename":"image_21022025_00_04_16_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f48da7ff9a0fdb6b99420ffeeec01167.jpg","text":"TemporaryFile(/tmp/multipartBody188397023242096483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106953258,"filename":"image_21022025_00_05_06_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a39a49e31a5279a61fa2ea2faea7a4ff.jpg","text":"TemporaryFile(/tmp/multipartBody122599558254665598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106953258,"filename":"image_21022025_00_04_37_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df868e0a354b839fe78d7f34c0ad2bbc.jpg","text":"TemporaryFile(/tmp/multipartBody6660791279159983279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106953258,"filename":"image_21022025_00_04_57_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c5dc122fcf9cac02dacd3e6cc6fecdc6.jpg","text":"TemporaryFile(/tmp/multipartBody6914397229386238497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740106953258,"filename":"image_21022025_00_03_56_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338743586","file1":"1338743584","file0":"1338743582","file4":"1338743589","file5":"1338743590","file3":"1338743588"},"map_files_photo_id_array":[{"photo_id":"1338743590","filename":"file5"},{"photo_id":"1338743586","filename":"file2"},{"photo_id":"1338743589","filename":"file4"},{"photo_id":"1338743584","filename":"file1"},{"photo_id":"1338743582","filename":"file0"},{"photo_id":"1338743588","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338743590":["hashtag1","hashtag2"]},{"1338743584":["hashtag1","hashtag2"]},{"1338743589":["hashtag1","hashtag2"]},{"1338743586":["hashtag1","hashtag2"]},{"1338743588":["hashtag1","hashtag2"]},{"1338743582":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338743590, 1338743584, 1338743589, 1338743586, 1338743588, 1338743582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00510001182556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:02:32.970279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/05/image_21022025_00_05_27_10372.jpg', '/home/pi/Desktop/images/21022025/00/05/image_21022025_00_05_36_9335.jpg', '/home/pi/Desktop/images/21022025/00/05/image_21022025_00_05_57_10348.jpg', '/home/pi/Desktop/images/21022025/00/05/image_21022025_00_06_06_9354.jpg', '/home/pi/Desktop/images/21022025/00/07/image_21022025_00_07_26_9332.jpg', '/home/pi/Desktop/images/21022025/00/07/image_21022025_00_07_36_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/05/image_21022025_00_05_27_10372.jpg
/home/pi/Desktop/images/21022025/00/05/image_21022025_00_05_36_9335.jpg
/home/pi/Desktop/images/21022025/00/05/image_21022025_00_05_57_10348.jpg
/home/pi/Desktop/images/21022025/00/05/image_21022025_00_06_06_9354.jpg
/home/pi/Desktop/images/21022025/00/07/image_21022025_00_07_26_9332.jpg
/home/pi/Desktop/images/21022025/00/07/image_21022025_00_07_36_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338743759","1338743683","1338743679","1338743673","1338743681","1338743663"],"photo_ids_order":["1338743663","1338743673","1338743679","1338743681","1338743683","1338743759"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62a6bc9c0bb5e77547e415f86de568db.jpg","text":"TemporaryFile(/tmp/multipartBody6415248377773486088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107016406,"filename":"image_21022025_00_07_36_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0b9707d6148e88ff468c542f7a1ac4eb.jpg","text":"TemporaryFile(/tmp/multipartBody2037065775053812462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107016406,"filename":"image_21022025_00_07_26_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6dbeeb3e5d261ddb5551980b5e411713.jpg","text":"TemporaryFile(/tmp/multipartBody3133213824579969873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107016406,"filename":"image_21022025_00_05_57_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b6d03c4dbf7195d3eff5ef5cf4e10508.jpg","text":"TemporaryFile(/tmp/multipartBody7468272608773080631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107016406,"filename":"image_21022025_00_05_36_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/93285da3d3b458f33e7793171f9d2130.jpg","text":"TemporaryFile(/tmp/multipartBody9057325878537421525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107016406,"filename":"image_21022025_00_06_06_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f4359acde1c91aa66b25ee36e1d9c2e1.jpg","text":"TemporaryFile(/tmp/multipartBody7915851062984473169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107016406,"filename":"image_21022025_00_05_27_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338743679","file1":"1338743673","file0":"1338743663","file4":"1338743683","file5":"1338743759","file3":"1338743681"},"map_files_photo_id_array":[{"photo_id":"1338743759","filename":"file5"},{"photo_id":"1338743679","filename":"file2"},{"photo_id":"1338743683","filename":"file4"},{"photo_id":"1338743673","filename":"file1"},{"photo_id":"1338743663","filename":"file0"},{"photo_id":"1338743681","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338743759":["hashtag1","hashtag2"]},{"1338743683":["hashtag1","hashtag2"]},{"1338743679":["hashtag1","hashtag2"]},{"1338743673":["hashtag1","hashtag2"]},{"1338743681":["hashtag1","hashtag2"]},{"1338743663":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338743759, 1338743683, 1338743679, 1338743673, 1338743681, 1338743663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41926980018616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:03:32.668648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/07/image_21022025_00_07_56_9353.jpg', '/home/pi/Desktop/images/21022025/00/07/image_21022025_00_08_07_10422.jpg', '/home/pi/Desktop/images/21022025/00/08/image_21022025_00_08_16_9303.jpg', '/home/pi/Desktop/images/21022025/00/08/image_21022025_00_08_26_10381.jpg', '/home/pi/Desktop/images/21022025/00/08/image_21022025_00_08_37_10345.jpg', '/home/pi/Desktop/images/21022025/00/08/image_21022025_00_08_46_9318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/07/image_21022025_00_07_56_9353.jpg
/home/pi/Desktop/images/21022025/00/07/image_21022025_00_08_07_10422.jpg
/home/pi/Desktop/images/21022025/00/08/image_21022025_00_08_16_9303.jpg
/home/pi/Desktop/images/21022025/00/08/image_21022025_00_08_26_10381.jpg
/home/pi/Desktop/images/21022025/00/08/image_21022025_00_08_37_10345.jpg
/home/pi/Desktop/images/21022025/00/08/image_21022025_00_08_46_9318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338744730","1338744547","1338744636","1338744843","1338744383","1338744149"],"photo_ids_order":["1338744149","1338744383","1338744547","1338744636","1338744730","1338744843"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3668eaa51d427e0af13b8afb2819f6d5.jpg","text":"TemporaryFile(/tmp/multipartBody403312418243128996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107073158,"filename":"image_21022025_00_08_37_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/33a8078233605e933c0d498791a34c92.jpg","text":"TemporaryFile(/tmp/multipartBody4520584850394763344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107073158,"filename":"image_21022025_00_08_16_9303.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9f9600094e19572266e3612b704b6e66.jpg","text":"TemporaryFile(/tmp/multipartBody1782136663907598541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107073158,"filename":"image_21022025_00_08_26_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5ff6e7ed9da8f541621edef27a27bbe3.jpg","text":"TemporaryFile(/tmp/multipartBody1735289454718231182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107073158,"filename":"image_21022025_00_08_46_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cab9ad5301d7c6869ddbbb1e3ebd9faa.jpg","text":"TemporaryFile(/tmp/multipartBody3821045237300546149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107073158,"filename":"image_21022025_00_08_07_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1fa61a445c5b562ca9583f2e84ee8f34.jpg","text":"TemporaryFile(/tmp/multipartBody3457919059502642159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107073158,"filename":"image_21022025_00_07_56_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338744547","file1":"1338744383","file0":"1338744149","file4":"1338744730","file5":"1338744843","file3":"1338744636"},"map_files_photo_id_array":[{"photo_id":"1338744843","filename":"file5"},{"photo_id":"1338744547","filename":"file2"},{"photo_id":"1338744730","filename":"file4"},{"photo_id":"1338744383","filename":"file1"},{"photo_id":"1338744149","filename":"file0"},{"photo_id":"1338744636","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338744730":["hashtag1","hashtag2"]},{"1338744547":["hashtag1","hashtag2"]},{"1338744636":["hashtag1","hashtag2"]},{"1338744843":["hashtag1","hashtag2"]},{"1338744383":["hashtag1","hashtag2"]},{"1338744149":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338744730, 1338744547, 1338744636, 1338744843, 1338744383, 1338744149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.44866418838501 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:04:32.891673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/08/image_21022025_00_08_56_10346.jpg', '/home/pi/Desktop/images/21022025/00/09/image_21022025_00_09_46_9303.jpg', '/home/pi/Desktop/images/21022025/00/09/image_21022025_00_09_57_10403.jpg', '/home/pi/Desktop/images/21022025/00/10/image_21022025_00_10_27_10360.jpg', '/home/pi/Desktop/images/21022025/00/10/image_21022025_00_10_36_9432.jpg', '/home/pi/Desktop/images/21022025/00/10/image_21022025_00_10_46_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/08/image_21022025_00_08_56_10346.jpg
/home/pi/Desktop/images/21022025/00/09/image_21022025_00_09_46_9303.jpg
/home/pi/Desktop/images/21022025/00/09/image_21022025_00_09_57_10403.jpg
/home/pi/Desktop/images/21022025/00/10/image_21022025_00_10_27_10360.jpg
/home/pi/Desktop/images/21022025/00/10/image_21022025_00_10_36_9432.jpg
/home/pi/Desktop/images/21022025/00/10/image_21022025_00_10_46_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338745468","1338745443","1338745499","1338745218","1338745492","1338745325"],"photo_ids_order":["1338745218","1338745325","1338745443","1338745468","1338745492","1338745499"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/77e97df4725c40a71938fb031214fcae.jpg","text":"TemporaryFile(/tmp/multipartBody2510206431773647911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107133379,"filename":"image_21022025_00_10_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/543019644285ad6455c446c3fe94ff8d.jpg","text":"TemporaryFile(/tmp/multipartBody2830554335958061234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107133379,"filename":"image_21022025_00_09_57_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eeb058151472ef734d73da0d311b49f0.jpg","text":"TemporaryFile(/tmp/multipartBody1974128703006225207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107133379,"filename":"image_21022025_00_10_46_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/20e4c96e0d70aba531e4ed79d149e023.jpg","text":"TemporaryFile(/tmp/multipartBody1612815387437581876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107133379,"filename":"image_21022025_00_08_56_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/13396c4fa99a91327b8c1396b622a841.jpg","text":"TemporaryFile(/tmp/multipartBody247706383101395603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107133379,"filename":"image_21022025_00_10_36_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/447515864760e5e17eae571c4ba729a2.jpg","text":"TemporaryFile(/tmp/multipartBody2097859908339260831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107133379,"filename":"image_21022025_00_09_46_9303.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338745443","file1":"1338745325","file0":"1338745218","file4":"1338745492","file5":"1338745499","file3":"1338745468"},"map_files_photo_id_array":[{"photo_id":"1338745499","filename":"file5"},{"photo_id":"1338745443","filename":"file2"},{"photo_id":"1338745492","filename":"file4"},{"photo_id":"1338745325","filename":"file1"},{"photo_id":"1338745218","filename":"file0"},{"photo_id":"1338745468","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338745468":["hashtag1","hashtag2"]},{"1338745443":["hashtag1","hashtag2"]},{"1338745499":["hashtag1","hashtag2"]},{"1338745218":["hashtag1","hashtag2"]},{"1338745492":["hashtag1","hashtag2"]},{"1338745325":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338745468, 1338745443, 1338745499, 1338745218, 1338745492, 1338745325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97972655296326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:05:32.231940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/10/image_21022025_00_11_06_9368.jpg', '/home/pi/Desktop/images/21022025/00/11/image_21022025_00_11_17_10376.jpg', '/home/pi/Desktop/images/21022025/00/11/image_21022025_00_11_26_9351.jpg', '/home/pi/Desktop/images/21022025/00/11/image_21022025_00_11_36_10341.jpg', '/home/pi/Desktop/images/21022025/00/11/image_21022025_00_11_47_10331.jpg', '/home/pi/Desktop/images/21022025/00/11/image_21022025_00_12_06_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/10/image_21022025_00_11_06_9368.jpg
/home/pi/Desktop/images/21022025/00/11/image_21022025_00_11_17_10376.jpg
/home/pi/Desktop/images/21022025/00/11/image_21022025_00_11_26_9351.jpg
/home/pi/Desktop/images/21022025/00/11/image_21022025_00_11_36_10341.jpg
/home/pi/Desktop/images/21022025/00/11/image_21022025_00_11_47_10331.jpg
/home/pi/Desktop/images/21022025/00/11/image_21022025_00_12_06_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338745546","1338745534","1338745545","1338745544","1338745547","1338745541"],"photo_ids_order":["1338745534","1338745541","1338745544","1338745545","1338745546","1338745547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3914f0e93e88bcd6bdd37f5952d19d68.jpg","text":"TemporaryFile(/tmp/multipartBody8368676329977333933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107192701,"filename":"image_21022025_00_11_47_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d86bdd2f5f30df8edac60526a0c44b6d.jpg","text":"TemporaryFile(/tmp/multipartBody8870833719775342329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107192701,"filename":"image_21022025_00_11_06_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ad0490c2ec826e6271973e609edbe21.jpg","text":"TemporaryFile(/tmp/multipartBody266801833121123474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107192701,"filename":"image_21022025_00_11_36_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d96ceb37d6fe80a7d76890d4a83deb89.jpg","text":"TemporaryFile(/tmp/multipartBody3320035005982981165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107192701,"filename":"image_21022025_00_11_26_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/651ac0494b4e7898348dda3726dce990.jpg","text":"TemporaryFile(/tmp/multipartBody3837161881604887613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107192701,"filename":"image_21022025_00_12_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f64aebdce89d1019f22a36cc1392c956.jpg","text":"TemporaryFile(/tmp/multipartBody3670099074303709949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107192701,"filename":"image_21022025_00_11_17_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338745544","file1":"1338745541","file0":"1338745534","file4":"1338745546","file5":"1338745547","file3":"1338745545"},"map_files_photo_id_array":[{"photo_id":"1338745547","filename":"file5"},{"photo_id":"1338745544","filename":"file2"},{"photo_id":"1338745546","filename":"file4"},{"photo_id":"1338745541","filename":"file1"},{"photo_id":"1338745534","filename":"file0"},{"photo_id":"1338745545","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338745546":["hashtag1","hashtag2"]},{"1338745534":["hashtag1","hashtag2"]},{"1338745545":["hashtag1","hashtag2"]},{"1338745544":["hashtag1","hashtag2"]},{"1338745547":["hashtag1","hashtag2"]},{"1338745541":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338745546, 1338745534, 1338745545, 1338745544, 1338745547, 1338745541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.991284132003784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:06:32.369814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/12/image_21022025_00_12_26_9330.jpg', '/home/pi/Desktop/images/21022025/00/12/image_21022025_00_12_36_10395.jpg', '/home/pi/Desktop/images/21022025/00/12/image_21022025_00_12_47_10327.jpg', '/home/pi/Desktop/images/21022025/00/12/image_21022025_00_13_06_10371.jpg', '/home/pi/Desktop/images/21022025/00/13/image_21022025_00_13_26_9353.jpg', '/home/pi/Desktop/images/21022025/00/13/image_21022025_00_13_56_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/12/image_21022025_00_12_26_9330.jpg
/home/pi/Desktop/images/21022025/00/12/image_21022025_00_12_36_10395.jpg
/home/pi/Desktop/images/21022025/00/12/image_21022025_00_12_47_10327.jpg
/home/pi/Desktop/images/21022025/00/12/image_21022025_00_13_06_10371.jpg
/home/pi/Desktop/images/21022025/00/13/image_21022025_00_13_26_9353.jpg
/home/pi/Desktop/images/21022025/00/13/image_21022025_00_13_56_9345.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38187646865844727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 04:06:42.289690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/12/image_21022025_00_12_26_9330.jpg', '/home/pi/Desktop/images/21022025/00/12/image_21022025_00_12_36_10395.jpg', '/home/pi/Desktop/images/21022025/00/12/image_21022025_00_12_47_10327.jpg', '/home/pi/Desktop/images/21022025/00/12/image_21022025_00_13_06_10371.jpg', '/home/pi/Desktop/images/21022025/00/13/image_21022025_00_13_26_9353.jpg', '/home/pi/Desktop/images/21022025/00/13/image_21022025_00_13_56_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/12/image_21022025_00_12_26_9330.jpg
/home/pi/Desktop/images/21022025/00/12/image_21022025_00_12_36_10395.jpg
/home/pi/Desktop/images/21022025/00/12/image_21022025_00_12_47_10327.jpg
/home/pi/Desktop/images/21022025/00/12/image_21022025_00_13_06_10371.jpg
/home/pi/Desktop/images/21022025/00/13/image_21022025_00_13_26_9353.jpg
/home/pi/Desktop/images/21022025/00/13/image_21022025_00_13_56_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338745900","1338745962","1338745884","1338745898","1338745882","1338745901"],"photo_ids_order":["1338745882","1338745884","1338745898","1338745900","1338745901","1338745962"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b9e91dea17e5a6df1a6dc9da5378c7c4.jpg","text":"TemporaryFile(/tmp/multipartBody5234802802460312439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107262755,"filename":"image_21022025_00_13_06_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e16fb16f5b5f3bca263f205617681a19.jpg","text":"TemporaryFile(/tmp/multipartBody4455265871443980996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107262755,"filename":"image_21022025_00_13_56_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7f4d1994f81e9132908ebaf857e10bf2.jpg","text":"TemporaryFile(/tmp/multipartBody1392755424354305100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107262755,"filename":"image_21022025_00_12_36_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8712c6a6ec31b9eab3022d5c58bc23c4.jpg","text":"TemporaryFile(/tmp/multipartBody4301908662982373714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107262755,"filename":"image_21022025_00_12_47_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/603187b5700754cbcc8afbc68633d774.jpg","text":"TemporaryFile(/tmp/multipartBody3286403313361868657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107262755,"filename":"image_21022025_00_12_26_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0601efc7fe96a16f0d39da682e98a959.jpg","text":"TemporaryFile(/tmp/multipartBody9134148402443850019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107262755,"filename":"image_21022025_00_13_26_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338745898","file1":"1338745884","file0":"1338745882","file4":"1338745901","file5":"1338745962","file3":"1338745900"},"map_files_photo_id_array":[{"photo_id":"1338745962","filename":"file5"},{"photo_id":"1338745898","filename":"file2"},{"photo_id":"1338745901","filename":"file4"},{"photo_id":"1338745884","filename":"file1"},{"photo_id":"1338745882","filename":"file0"},{"photo_id":"1338745900","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338745900":["hashtag1","hashtag2"]},{"1338745962":["hashtag1","hashtag2"]},{"1338745884":["hashtag1","hashtag2"]},{"1338745898":["hashtag1","hashtag2"]},{"1338745882":["hashtag1","hashtag2"]},{"1338745901":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338745900, 1338745962, 1338745884, 1338745898, 1338745882, 1338745901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37581205368042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:07:32.667483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/13/image_21022025_00_14_07_10403.jpg', '/home/pi/Desktop/images/21022025/00/14/image_21022025_00_14_16_9327.jpg', '/home/pi/Desktop/images/21022025/00/14/image_21022025_00_14_26_10352.jpg', '/home/pi/Desktop/images/21022025/00/14/image_21022025_00_14_37_10378.jpg', '/home/pi/Desktop/images/21022025/00/14/image_21022025_00_14_46_9324.jpg', '/home/pi/Desktop/images/21022025/00/14/image_21022025_00_14_56_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/13/image_21022025_00_14_07_10403.jpg
/home/pi/Desktop/images/21022025/00/14/image_21022025_00_14_16_9327.jpg
/home/pi/Desktop/images/21022025/00/14/image_21022025_00_14_26_10352.jpg
/home/pi/Desktop/images/21022025/00/14/image_21022025_00_14_37_10378.jpg
/home/pi/Desktop/images/21022025/00/14/image_21022025_00_14_46_9324.jpg
/home/pi/Desktop/images/21022025/00/14/image_21022025_00_14_56_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338746055","1338746043","1338746037","1338746040","1338746044","1338746032"],"photo_ids_order":["1338746032","1338746037","1338746040","1338746043","1338746044","1338746055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/191162cd8119a6236d662136d8fb55c9.jpg","text":"TemporaryFile(/tmp/multipartBody6940384812018364324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107313148,"filename":"image_21022025_00_14_56_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/901ef5c5158f5ead5e97c6ebece07fb3.jpg","text":"TemporaryFile(/tmp/multipartBody650281939705191297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107313148,"filename":"image_21022025_00_14_37_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3b3d3a4801b289b71355b2fbe37c77f1.jpg","text":"TemporaryFile(/tmp/multipartBody6300945505440454756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107313148,"filename":"image_21022025_00_14_16_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8ff8ad7d7d70c971ca8ea1d908f4611e.jpg","text":"TemporaryFile(/tmp/multipartBody5982366565095149587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107313148,"filename":"image_21022025_00_14_26_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac53eae52e42864e91f0c2f7a5527888.jpg","text":"TemporaryFile(/tmp/multipartBody3956143836819426021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107313148,"filename":"image_21022025_00_14_46_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ff7e868b179cdb07a78d22e5ff4a9e0.jpg","text":"TemporaryFile(/tmp/multipartBody6507955963031106139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107313148,"filename":"image_21022025_00_14_07_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338746040","file1":"1338746037","file0":"1338746032","file4":"1338746044","file5":"1338746055","file3":"1338746043"},"map_files_photo_id_array":[{"photo_id":"1338746055","filename":"file5"},{"photo_id":"1338746040","filename":"file2"},{"photo_id":"1338746044","filename":"file4"},{"photo_id":"1338746037","filename":"file1"},{"photo_id":"1338746032","filename":"file0"},{"photo_id":"1338746043","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338746055":["hashtag1","hashtag2"]},{"1338746043":["hashtag1","hashtag2"]},{"1338746037":["hashtag1","hashtag2"]},{"1338746040":["hashtag1","hashtag2"]},{"1338746044":["hashtag1","hashtag2"]},{"1338746032":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338746055, 1338746043, 1338746037, 1338746040, 1338746044, 1338746032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00525689125061 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:08:32.761072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/15/image_21022025_00_15_16_9307.jpg', '/home/pi/Desktop/images/21022025/00/15/image_21022025_00_15_37_10339.jpg', '/home/pi/Desktop/images/21022025/00/15/image_21022025_00_15_46_9328.jpg', '/home/pi/Desktop/images/21022025/00/15/image_21022025_00_15_57_10485.jpg', '/home/pi/Desktop/images/21022025/00/16/image_21022025_00_16_36_9328.jpg', '/home/pi/Desktop/images/21022025/00/16/image_21022025_00_16_47_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/15/image_21022025_00_15_16_9307.jpg
/home/pi/Desktop/images/21022025/00/15/image_21022025_00_15_37_10339.jpg
/home/pi/Desktop/images/21022025/00/15/image_21022025_00_15_46_9328.jpg
/home/pi/Desktop/images/21022025/00/15/image_21022025_00_15_57_10485.jpg
/home/pi/Desktop/images/21022025/00/16/image_21022025_00_16_36_9328.jpg
/home/pi/Desktop/images/21022025/00/16/image_21022025_00_16_47_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338746295","1338746097","1338746334","1338746142","1338746343","1338746210"],"photo_ids_order":["1338746097","1338746142","1338746210","1338746295","1338746334","1338746343"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6213fddea0eb132a574cd8dc4f7e5263.jpg","text":"TemporaryFile(/tmp/multipartBody352166846566704938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107373235,"filename":"image_21022025_00_15_57_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/30942a63a68160514ba8475412ca3717.jpg","text":"TemporaryFile(/tmp/multipartBody4193329247412508020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107373235,"filename":"image_21022025_00_15_16_9307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4ad8ff92093ca0c1f3c3451180b5f7d9.jpg","text":"TemporaryFile(/tmp/multipartBody1811938379293063150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107373235,"filename":"image_21022025_00_16_36_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4958eadc0a009e0b9f31e99f8a819780.jpg","text":"TemporaryFile(/tmp/multipartBody5216940738210286535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107373235,"filename":"image_21022025_00_15_37_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c85c95a8f02c6177933b0f7129d26a14.jpg","text":"TemporaryFile(/tmp/multipartBody2592092991588469875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107373235,"filename":"image_21022025_00_16_47_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/affda0b2836277684eefe3413766b889.jpg","text":"TemporaryFile(/tmp/multipartBody6561096925663546017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107373235,"filename":"image_21022025_00_15_46_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338746210","file1":"1338746142","file0":"1338746097","file4":"1338746334","file5":"1338746343","file3":"1338746295"},"map_files_photo_id_array":[{"photo_id":"1338746343","filename":"file5"},{"photo_id":"1338746210","filename":"file2"},{"photo_id":"1338746334","filename":"file4"},{"photo_id":"1338746142","filename":"file1"},{"photo_id":"1338746097","filename":"file0"},{"photo_id":"1338746295","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338746295":["hashtag1","hashtag2"]},{"1338746097":["hashtag1","hashtag2"]},{"1338746334":["hashtag1","hashtag2"]},{"1338746142":["hashtag1","hashtag2"]},{"1338746343":["hashtag1","hashtag2"]},{"1338746210":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338746295, 1338746097, 1338746334, 1338746142, 1338746343, 1338746210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27896428108215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:09:33.268195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/16/image_21022025_00_16_57_10346.jpg', '/home/pi/Desktop/images/21022025/00/16/image_21022025_00_17_06_9353.jpg', '/home/pi/Desktop/images/21022025/00/17/image_21022025_00_17_17_10450.jpg', '/home/pi/Desktop/images/21022025/00/17/image_21022025_00_17_36_10407.jpg', '/home/pi/Desktop/images/21022025/00/17/image_21022025_00_17_56_9352.jpg', '/home/pi/Desktop/images/21022025/00/18/image_21022025_00_18_17_10398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/16/image_21022025_00_16_57_10346.jpg
/home/pi/Desktop/images/21022025/00/16/image_21022025_00_17_06_9353.jpg
/home/pi/Desktop/images/21022025/00/17/image_21022025_00_17_17_10450.jpg
/home/pi/Desktop/images/21022025/00/17/image_21022025_00_17_36_10407.jpg
/home/pi/Desktop/images/21022025/00/17/image_21022025_00_17_56_9352.jpg
/home/pi/Desktop/images/21022025/00/18/image_21022025_00_18_17_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338746352","1338746357","1338746360","1338746354","1338746350","1338746353"],"photo_ids_order":["1338746350","1338746352","1338746353","1338746354","1338746357","1338746360"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c4701289b3f13ed84d5a6a1acf7b633.jpg","text":"TemporaryFile(/tmp/multipartBody8175591386971904124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107433736,"filename":"image_21022025_00_17_06_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74a137796746db9b33251ff7e7ac9bb2.jpg","text":"TemporaryFile(/tmp/multipartBody8046359805305893862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107433736,"filename":"image_21022025_00_17_56_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a91a95adeb7acc3e427c77defb04938c.jpg","text":"TemporaryFile(/tmp/multipartBody9086158576418764208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107433736,"filename":"image_21022025_00_18_17_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1141dd51a53aadc905e5f77e6c2b9356.jpg","text":"TemporaryFile(/tmp/multipartBody6719798166305199688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107433736,"filename":"image_21022025_00_17_36_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d5c7b19ea908226006179631649d511.jpg","text":"TemporaryFile(/tmp/multipartBody1519571911377329626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107433736,"filename":"image_21022025_00_16_57_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cec1c4535aa28764de0413e1d393e92a.jpg","text":"TemporaryFile(/tmp/multipartBody1941653202554594295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107433736,"filename":"image_21022025_00_17_17_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338746353","file1":"1338746352","file0":"1338746350","file4":"1338746357","file5":"1338746360","file3":"1338746354"},"map_files_photo_id_array":[{"photo_id":"1338746360","filename":"file5"},{"photo_id":"1338746353","filename":"file2"},{"photo_id":"1338746357","filename":"file4"},{"photo_id":"1338746352","filename":"file1"},{"photo_id":"1338746350","filename":"file0"},{"photo_id":"1338746354","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338746352":["hashtag1","hashtag2"]},{"1338746357":["hashtag1","hashtag2"]},{"1338746360":["hashtag1","hashtag2"]},{"1338746354":["hashtag1","hashtag2"]},{"1338746350":["hashtag1","hashtag2"]},{"1338746353":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338746352, 1338746357, 1338746360, 1338746354, 1338746350, 1338746353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.210177421569824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:10:32.312382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/18/image_21022025_00_18_26_9344.jpg', '/home/pi/Desktop/images/21022025/00/18/image_21022025_00_19_07_10390.jpg', '/home/pi/Desktop/images/21022025/00/19/image_21022025_00_19_16_9330.jpg', '/home/pi/Desktop/images/21022025/00/19/image_21022025_00_19_26_10323.jpg', '/home/pi/Desktop/images/21022025/00/19/image_21022025_00_19_56_10375.jpg', '/home/pi/Desktop/images/21022025/00/19/image_21022025_00_20_07_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/18/image_21022025_00_18_26_9344.jpg
/home/pi/Desktop/images/21022025/00/18/image_21022025_00_19_07_10390.jpg
/home/pi/Desktop/images/21022025/00/19/image_21022025_00_19_16_9330.jpg
/home/pi/Desktop/images/21022025/00/19/image_21022025_00_19_26_10323.jpg
/home/pi/Desktop/images/21022025/00/19/image_21022025_00_19_56_10375.jpg
/home/pi/Desktop/images/21022025/00/19/image_21022025_00_20_07_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338746415","1338746412","1338746411","1338746417","1338746419","1338746413"],"photo_ids_order":["1338746411","1338746412","1338746413","1338746415","1338746417","1338746419"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aeea2ce5424594006c3a734a5afb9207.jpg","text":"TemporaryFile(/tmp/multipartBody6561050288204158226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107492778,"filename":"image_21022025_00_19_26_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/450aba6fed6027d8e481ae25b8bf9dc6.jpg","text":"TemporaryFile(/tmp/multipartBody1774505174321032176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107492778,"filename":"image_21022025_00_19_07_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6246861ca76829469ed37c2e1e8ddb2a.jpg","text":"TemporaryFile(/tmp/multipartBody3565287521797242727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107492778,"filename":"image_21022025_00_18_26_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/58e0c54ff5969ded5f7c9a36c8adaf1a.jpg","text":"TemporaryFile(/tmp/multipartBody3371870460418543822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107492778,"filename":"image_21022025_00_19_56_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cb9a3b84f1003ddc8ba65cfa829c05c7.jpg","text":"TemporaryFile(/tmp/multipartBody2443064426299080305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107492778,"filename":"image_21022025_00_20_07_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d8cd5ea38e949c419342a7c85f601852.jpg","text":"TemporaryFile(/tmp/multipartBody7290731675203911026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107492778,"filename":"image_21022025_00_19_16_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338746413","file1":"1338746412","file0":"1338746411","file4":"1338746417","file5":"1338746419","file3":"1338746415"},"map_files_photo_id_array":[{"photo_id":"1338746419","filename":"file5"},{"photo_id":"1338746413","filename":"file2"},{"photo_id":"1338746417","filename":"file4"},{"photo_id":"1338746412","filename":"file1"},{"photo_id":"1338746411","filename":"file0"},{"photo_id":"1338746415","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338746415":["hashtag1","hashtag2"]},{"1338746412":["hashtag1","hashtag2"]},{"1338746411":["hashtag1","hashtag2"]},{"1338746417":["hashtag1","hashtag2"]},{"1338746419":["hashtag1","hashtag2"]},{"1338746413":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338746415, 1338746412, 1338746411, 1338746417, 1338746419, 1338746413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36134958267212 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:11:32.491806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/20/image_21022025_00_20_16_9365.jpg', '/home/pi/Desktop/images/21022025/00/20/image_21022025_00_20_26_10373.jpg', '/home/pi/Desktop/images/21022025/00/20/image_21022025_00_20_37_10352.jpg', '/home/pi/Desktop/images/21022025/00/20/image_21022025_00_20_46_9332.jpg', '/home/pi/Desktop/images/21022025/00/20/image_21022025_00_20_56_10344.jpg', '/home/pi/Desktop/images/21022025/00/21/image_21022025_00_21_16_9307.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/20/image_21022025_00_20_16_9365.jpg
/home/pi/Desktop/images/21022025/00/20/image_21022025_00_20_26_10373.jpg
/home/pi/Desktop/images/21022025/00/20/image_21022025_00_20_37_10352.jpg
/home/pi/Desktop/images/21022025/00/20/image_21022025_00_20_46_9332.jpg
/home/pi/Desktop/images/21022025/00/20/image_21022025_00_20_56_10344.jpg
/home/pi/Desktop/images/21022025/00/21/image_21022025_00_21_16_9307.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338746436","1338746439","1338746438","1338746441","1338746440","1338746434"],"photo_ids_order":["1338746434","1338746436","1338746438","1338746439","1338746440","1338746441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/feef96176756a68f497c39e9bf0c97ed.jpg","text":"TemporaryFile(/tmp/multipartBody8698830742849563966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107552984,"filename":"image_21022025_00_20_26_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cd83a854a85b3e2b3cda6b90b2e75d08.jpg","text":"TemporaryFile(/tmp/multipartBody8404503970551492526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107552984,"filename":"image_21022025_00_20_46_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/19da71382e8310796b2a0126bb58d766.jpg","text":"TemporaryFile(/tmp/multipartBody4316295490334928321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107552984,"filename":"image_21022025_00_20_37_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/19eeb8e9d3d07cb5163b87f8819f039e.jpg","text":"TemporaryFile(/tmp/multipartBody9109675026511522084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107552984,"filename":"image_21022025_00_21_16_9307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aa57e97657d420f7c4d8fd193e2e8fee.jpg","text":"TemporaryFile(/tmp/multipartBody1491819010315450838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107552984,"filename":"image_21022025_00_20_56_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e8e31ca8765590653441d283e573cf95.jpg","text":"TemporaryFile(/tmp/multipartBody5881380562478560457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107552984,"filename":"image_21022025_00_20_16_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338746438","file1":"1338746436","file0":"1338746434","file4":"1338746440","file5":"1338746441","file3":"1338746439"},"map_files_photo_id_array":[{"photo_id":"1338746441","filename":"file5"},{"photo_id":"1338746438","filename":"file2"},{"photo_id":"1338746440","filename":"file4"},{"photo_id":"1338746436","filename":"file1"},{"photo_id":"1338746434","filename":"file0"},{"photo_id":"1338746439","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338746436":["hashtag1","hashtag2"]},{"1338746439":["hashtag1","hashtag2"]},{"1338746438":["hashtag1","hashtag2"]},{"1338746441":["hashtag1","hashtag2"]},{"1338746440":["hashtag1","hashtag2"]},{"1338746434":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338746436, 1338746439, 1338746438, 1338746441, 1338746440, 1338746434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.683544397354126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:12:32.801624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/21/image_21022025_00_21_37_10406.jpg', '/home/pi/Desktop/images/21022025/00/21/image_21022025_00_21_46_9308.jpg', '/home/pi/Desktop/images/21022025/00/21/image_21022025_00_21_57_10491.jpg', '/home/pi/Desktop/images/21022025/00/22/image_21022025_00_22_27_10358.jpg', '/home/pi/Desktop/images/21022025/00/22/image_21022025_00_22_36_9330.jpg', '/home/pi/Desktop/images/21022025/00/22/image_21022025_00_22_57_10502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/21/image_21022025_00_21_37_10406.jpg
/home/pi/Desktop/images/21022025/00/21/image_21022025_00_21_46_9308.jpg
/home/pi/Desktop/images/21022025/00/21/image_21022025_00_21_57_10491.jpg
/home/pi/Desktop/images/21022025/00/22/image_21022025_00_22_27_10358.jpg
/home/pi/Desktop/images/21022025/00/22/image_21022025_00_22_36_9330.jpg
/home/pi/Desktop/images/21022025/00/22/image_21022025_00_22_57_10502.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338746451","1338746454","1338746450","1338746453","1338746449","1338746452"],"photo_ids_order":["1338746449","1338746450","1338746451","1338746452","1338746453","1338746454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4c13fa729c4f86d1248e4be3b7d401b1.jpg","text":"TemporaryFile(/tmp/multipartBody4420399936546503010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107613268,"filename":"image_21022025_00_21_57_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f2fbad5c8f060afe773c3dd27741b234.jpg","text":"TemporaryFile(/tmp/multipartBody7015956391515063469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107613268,"filename":"image_21022025_00_22_57_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b0d49e33cba4b791e337690ec42bdcfe.jpg","text":"TemporaryFile(/tmp/multipartBody5438883893947552443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107613268,"filename":"image_21022025_00_21_46_9308.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dbf2796416d016739fe28edd218e452a.jpg","text":"TemporaryFile(/tmp/multipartBody4909012266736587091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107613268,"filename":"image_21022025_00_22_36_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b0218b218cb962ddbd5a3a2d88049196.jpg","text":"TemporaryFile(/tmp/multipartBody9143701128900895711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107613268,"filename":"image_21022025_00_21_37_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ee54aff0aec65f50e0521a33991c2047.jpg","text":"TemporaryFile(/tmp/multipartBody4820509998812621175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107613268,"filename":"image_21022025_00_22_27_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338746451","file1":"1338746450","file0":"1338746449","file4":"1338746453","file5":"1338746454","file3":"1338746452"},"map_files_photo_id_array":[{"photo_id":"1338746454","filename":"file5"},{"photo_id":"1338746451","filename":"file2"},{"photo_id":"1338746453","filename":"file4"},{"photo_id":"1338746450","filename":"file1"},{"photo_id":"1338746449","filename":"file0"},{"photo_id":"1338746452","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338746451":["hashtag1","hashtag2"]},{"1338746454":["hashtag1","hashtag2"]},{"1338746450":["hashtag1","hashtag2"]},{"1338746453":["hashtag1","hashtag2"]},{"1338746449":["hashtag1","hashtag2"]},{"1338746452":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338746451, 1338746454, 1338746450, 1338746453, 1338746449, 1338746452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40657877922058 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:13:33.045382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/23/image_21022025_00_23_17_10403.jpg', '/home/pi/Desktop/images/21022025/00/23/image_21022025_00_23_26_9325.jpg', '/home/pi/Desktop/images/21022025/00/23/image_21022025_00_23_36_10338.jpg', '/home/pi/Desktop/images/21022025/00/23/image_21022025_00_23_47_10402.jpg', '/home/pi/Desktop/images/21022025/00/23/image_21022025_00_23_56_9352.jpg', '/home/pi/Desktop/images/21022025/00/23/image_21022025_00_24_06_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/23/image_21022025_00_23_17_10403.jpg
/home/pi/Desktop/images/21022025/00/23/image_21022025_00_23_26_9325.jpg
/home/pi/Desktop/images/21022025/00/23/image_21022025_00_23_36_10338.jpg
/home/pi/Desktop/images/21022025/00/23/image_21022025_00_23_47_10402.jpg
/home/pi/Desktop/images/21022025/00/23/image_21022025_00_23_56_9352.jpg
/home/pi/Desktop/images/21022025/00/23/image_21022025_00_24_06_10325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338746670","1338746466","1338746693","1338746561","1338746689","1338746680"],"photo_ids_order":["1338746466","1338746561","1338746670","1338746680","1338746689","1338746693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/12cf076388b782d2f9f3e2997065de00.jpg","text":"TemporaryFile(/tmp/multipartBody5338467094066793413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107673515,"filename":"image_21022025_00_23_36_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/db9d1a9c55b76325f250eaaa70855907.jpg","text":"TemporaryFile(/tmp/multipartBody6922955844463494617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107673515,"filename":"image_21022025_00_23_17_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fca7a9d68443be98a17b5465b6e26b19.jpg","text":"TemporaryFile(/tmp/multipartBody9187323966639824908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107673515,"filename":"image_21022025_00_24_06_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c0aad32a19264520278b642281e54b28.jpg","text":"TemporaryFile(/tmp/multipartBody278779833072231583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107673515,"filename":"image_21022025_00_23_26_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/530a1daa36d93e656e722c20742b4476.jpg","text":"TemporaryFile(/tmp/multipartBody7397803130068456147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107673515,"filename":"image_21022025_00_23_56_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/787354fe750d1fe7830556ac4a796016.jpg","text":"TemporaryFile(/tmp/multipartBody5021203161319082100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107673515,"filename":"image_21022025_00_23_47_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338746670","file1":"1338746561","file0":"1338746466","file4":"1338746689","file5":"1338746693","file3":"1338746680"},"map_files_photo_id_array":[{"photo_id":"1338746693","filename":"file5"},{"photo_id":"1338746670","filename":"file2"},{"photo_id":"1338746689","filename":"file4"},{"photo_id":"1338746561","filename":"file1"},{"photo_id":"1338746466","filename":"file0"},{"photo_id":"1338746680","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338746670":["hashtag1","hashtag2"]},{"1338746466":["hashtag1","hashtag2"]},{"1338746693":["hashtag1","hashtag2"]},{"1338746561":["hashtag1","hashtag2"]},{"1338746689":["hashtag1","hashtag2"]},{"1338746680":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338746670, 1338746466, 1338746693, 1338746561, 1338746689, 1338746680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.133081674575806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:14:32.160397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/24/image_21022025_00_24_17_10350.jpg', '/home/pi/Desktop/images/21022025/00/24/image_21022025_00_24_26_9337.jpg', '/home/pi/Desktop/images/21022025/00/24/image_21022025_00_24_36_10336.jpg', '/home/pi/Desktop/images/21022025/00/24/image_21022025_00_24_47_10417.jpg', '/home/pi/Desktop/images/21022025/00/24/image_21022025_00_24_56_9412.jpg', '/home/pi/Desktop/images/21022025/00/24/image_21022025_00_25_07_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/24/image_21022025_00_24_17_10350.jpg
/home/pi/Desktop/images/21022025/00/24/image_21022025_00_24_26_9337.jpg
/home/pi/Desktop/images/21022025/00/24/image_21022025_00_24_36_10336.jpg
/home/pi/Desktop/images/21022025/00/24/image_21022025_00_24_47_10417.jpg
/home/pi/Desktop/images/21022025/00/24/image_21022025_00_24_56_9412.jpg
/home/pi/Desktop/images/21022025/00/24/image_21022025_00_25_07_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338746760","1338746754","1338746756","1338746758","1338746752","1338746761"],"photo_ids_order":["1338746752","1338746754","1338746756","1338746758","1338746760","1338746761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d12a7bba1b221871650f5490509b7a53.jpg","text":"TemporaryFile(/tmp/multipartBody386640144355343802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107732708,"filename":"image_21022025_00_24_56_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/94c45607b994e0893b18f956ccac7119.jpg","text":"TemporaryFile(/tmp/multipartBody1308228005905384898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107732708,"filename":"image_21022025_00_24_26_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/31b4bacf4bc83f1fbff1d3d0ee85fcfe.jpg","text":"TemporaryFile(/tmp/multipartBody2652970973372758887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107732708,"filename":"image_21022025_00_24_36_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1da42a05862eb8f7ec96719ec6b4b31a.jpg","text":"TemporaryFile(/tmp/multipartBody8028744281870253214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107732708,"filename":"image_21022025_00_24_47_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a7e527d2173d212458d4e5b1063ba9db.jpg","text":"TemporaryFile(/tmp/multipartBody1050131176540746418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107732708,"filename":"image_21022025_00_24_17_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e74ee78527a1bcd9233374c9b0da735c.jpg","text":"TemporaryFile(/tmp/multipartBody8539407532981384948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107732708,"filename":"image_21022025_00_25_07_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338746756","file1":"1338746754","file0":"1338746752","file4":"1338746760","file5":"1338746761","file3":"1338746758"},"map_files_photo_id_array":[{"photo_id":"1338746761","filename":"file5"},{"photo_id":"1338746756","filename":"file2"},{"photo_id":"1338746760","filename":"file4"},{"photo_id":"1338746754","filename":"file1"},{"photo_id":"1338746752","filename":"file0"},{"photo_id":"1338746758","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338746760":["hashtag1","hashtag2"]},{"1338746754":["hashtag1","hashtag2"]},{"1338746756":["hashtag1","hashtag2"]},{"1338746758":["hashtag1","hashtag2"]},{"1338746752":["hashtag1","hashtag2"]},{"1338746761":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338746760, 1338746754, 1338746756, 1338746758, 1338746752, 1338746761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70279908180237 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:15:32.316693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/25/image_21022025_00_25_17_10330.jpg', '/home/pi/Desktop/images/21022025/00/25/image_21022025_00_25_26_9343.jpg', '/home/pi/Desktop/images/21022025/00/25/image_21022025_00_26_07_10424.jpg', '/home/pi/Desktop/images/21022025/00/26/image_21022025_00_26_16_9333.jpg', '/home/pi/Desktop/images/21022025/00/26/image_21022025_00_26_26_10343.jpg', '/home/pi/Desktop/images/21022025/00/26/image_21022025_00_26_37_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/25/image_21022025_00_25_17_10330.jpg
/home/pi/Desktop/images/21022025/00/25/image_21022025_00_25_26_9343.jpg
/home/pi/Desktop/images/21022025/00/25/image_21022025_00_26_07_10424.jpg
/home/pi/Desktop/images/21022025/00/26/image_21022025_00_26_16_9333.jpg
/home/pi/Desktop/images/21022025/00/26/image_21022025_00_26_26_10343.jpg
/home/pi/Desktop/images/21022025/00/26/image_21022025_00_26_37_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338746784","1338746792","1338746786","1338746789","1338746785","1338746788"],"photo_ids_order":["1338746784","1338746785","1338746786","1338746788","1338746789","1338746792"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/588946675e62db7dd11bbef01040e427.jpg","text":"TemporaryFile(/tmp/multipartBody1027614768891073075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107792790,"filename":"image_21022025_00_25_17_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/876a1ec18fafc03cd761fd51543fa869.jpg","text":"TemporaryFile(/tmp/multipartBody7971385109528966528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107792790,"filename":"image_21022025_00_26_37_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/69a67e1b4a523d13d2aeb195352377e5.jpg","text":"TemporaryFile(/tmp/multipartBody5912661944582829978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107792790,"filename":"image_21022025_00_26_07_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4c61589695f2ff5eb6b666d75a4f3395.jpg","text":"TemporaryFile(/tmp/multipartBody4279592702494419928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107792790,"filename":"image_21022025_00_26_26_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7cd2d548c7553214e5f8928f1500ceb.jpg","text":"TemporaryFile(/tmp/multipartBody4753712093550305192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107792790,"filename":"image_21022025_00_25_26_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6d477d12bcd47ea031b3410da13a0b5e.jpg","text":"TemporaryFile(/tmp/multipartBody5036051617250431704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107792790,"filename":"image_21022025_00_26_16_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338746786","file1":"1338746785","file0":"1338746784","file4":"1338746789","file5":"1338746792","file3":"1338746788"},"map_files_photo_id_array":[{"photo_id":"1338746792","filename":"file5"},{"photo_id":"1338746786","filename":"file2"},{"photo_id":"1338746789","filename":"file4"},{"photo_id":"1338746785","filename":"file1"},{"photo_id":"1338746784","filename":"file0"},{"photo_id":"1338746788","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338746784":["hashtag1","hashtag2"]},{"1338746792":["hashtag1","hashtag2"]},{"1338746786":["hashtag1","hashtag2"]},{"1338746789":["hashtag1","hashtag2"]},{"1338746785":["hashtag1","hashtag2"]},{"1338746788":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338746784, 1338746792, 1338746786, 1338746789, 1338746785, 1338746788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7410454750061 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:16:32.624684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/26/image_21022025_00_26_46_9307.jpg', '/home/pi/Desktop/images/21022025/00/26/image_21022025_00_26_57_10454.jpg', '/home/pi/Desktop/images/21022025/00/26/image_21022025_00_27_06_9328.jpg', '/home/pi/Desktop/images/21022025/00/27/image_21022025_00_27_16_10348.jpg', '/home/pi/Desktop/images/21022025/00/27/image_21022025_00_27_46_10303.jpg', '/home/pi/Desktop/images/21022025/00/27/image_21022025_00_28_06_9396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/26/image_21022025_00_26_46_9307.jpg
/home/pi/Desktop/images/21022025/00/26/image_21022025_00_26_57_10454.jpg
/home/pi/Desktop/images/21022025/00/26/image_21022025_00_27_06_9328.jpg
/home/pi/Desktop/images/21022025/00/27/image_21022025_00_27_16_10348.jpg
/home/pi/Desktop/images/21022025/00/27/image_21022025_00_27_46_10303.jpg
/home/pi/Desktop/images/21022025/00/27/image_21022025_00_28_06_9396.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38225507736206055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 04:16:42.630452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/26/image_21022025_00_26_46_9307.jpg', '/home/pi/Desktop/images/21022025/00/26/image_21022025_00_26_57_10454.jpg', '/home/pi/Desktop/images/21022025/00/26/image_21022025_00_27_06_9328.jpg', '/home/pi/Desktop/images/21022025/00/27/image_21022025_00_27_16_10348.jpg', '/home/pi/Desktop/images/21022025/00/27/image_21022025_00_27_46_10303.jpg', '/home/pi/Desktop/images/21022025/00/27/image_21022025_00_28_06_9396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/26/image_21022025_00_26_46_9307.jpg
/home/pi/Desktop/images/21022025/00/26/image_21022025_00_26_57_10454.jpg
/home/pi/Desktop/images/21022025/00/26/image_21022025_00_27_06_9328.jpg
/home/pi/Desktop/images/21022025/00/27/image_21022025_00_27_16_10348.jpg
/home/pi/Desktop/images/21022025/00/27/image_21022025_00_27_46_10303.jpg
/home/pi/Desktop/images/21022025/00/27/image_21022025_00_28_06_9396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338747021","1338746811","1338746805","1338746808","1338746813","1338746803"],"photo_ids_order":["1338746803","1338746805","1338746808","1338746811","1338746813","1338747021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4e407bcc9804b1ca38bacf6aecbeb76a.jpg","text":"TemporaryFile(/tmp/multipartBody2118152861328941733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107863103,"filename":"image_21022025_00_28_06_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/27c615ca2cbce8ef5ea7e91034fcacb3.jpg","text":"TemporaryFile(/tmp/multipartBody6774620146738745092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107863103,"filename":"image_21022025_00_27_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/48c908c1cc10884c94e0f6c1cdde15f8.jpg","text":"TemporaryFile(/tmp/multipartBody6679913916314264910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107863103,"filename":"image_21022025_00_26_57_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/075d21b172cfc209feff70872746f88a.jpg","text":"TemporaryFile(/tmp/multipartBody5061591681069734751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107863103,"filename":"image_21022025_00_27_06_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2803776710c28efb09c4cc874264b2eb.jpg","text":"TemporaryFile(/tmp/multipartBody2088592137463741417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107863103,"filename":"image_21022025_00_27_46_10303.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa8be743762e9142e226c2c09a5bbaba.jpg","text":"TemporaryFile(/tmp/multipartBody5189258187637645859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107863103,"filename":"image_21022025_00_26_46_9307.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338746808","file1":"1338746805","file0":"1338746803","file4":"1338746813","file5":"1338747021","file3":"1338746811"},"map_files_photo_id_array":[{"photo_id":"1338747021","filename":"file5"},{"photo_id":"1338746808","filename":"file2"},{"photo_id":"1338746813","filename":"file4"},{"photo_id":"1338746805","filename":"file1"},{"photo_id":"1338746803","filename":"file0"},{"photo_id":"1338746811","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338747021":["hashtag1","hashtag2"]},{"1338746811":["hashtag1","hashtag2"]},{"1338746805":["hashtag1","hashtag2"]},{"1338746808":["hashtag1","hashtag2"]},{"1338746813":["hashtag1","hashtag2"]},{"1338746803":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338747021, 1338746811, 1338746805, 1338746808, 1338746813, 1338746803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.421754598617554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:17:32.870041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/28/image_21022025_00_28_17_10385.jpg', '/home/pi/Desktop/images/21022025/00/28/image_21022025_00_28_27_10369.jpg', '/home/pi/Desktop/images/21022025/00/28/image_21022025_00_28_47_10427.jpg', '/home/pi/Desktop/images/21022025/00/28/image_21022025_00_28_56_9362.jpg', '/home/pi/Desktop/images/21022025/00/29/image_21022025_00_29_26_9327.jpg', '/home/pi/Desktop/images/21022025/00/29/image_21022025_00_29_36_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/28/image_21022025_00_28_17_10385.jpg
/home/pi/Desktop/images/21022025/00/28/image_21022025_00_28_27_10369.jpg
/home/pi/Desktop/images/21022025/00/28/image_21022025_00_28_47_10427.jpg
/home/pi/Desktop/images/21022025/00/28/image_21022025_00_28_56_9362.jpg
/home/pi/Desktop/images/21022025/00/29/image_21022025_00_29_26_9327.jpg
/home/pi/Desktop/images/21022025/00/29/image_21022025_00_29_36_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338747123","1338747242","1338747125","1338747122","1338747231","1338747168"],"photo_ids_order":["1338747122","1338747123","1338747125","1338747168","1338747231","1338747242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/279167abc3db6869e5f9552ba06189f4.jpg","text":"TemporaryFile(/tmp/multipartBody3015127278244329176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107913351,"filename":"image_21022025_00_28_27_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ad0689385569bff549c5a15ba8a4f29b.jpg","text":"TemporaryFile(/tmp/multipartBody8050254235174783596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107913351,"filename":"image_21022025_00_29_36_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06f97a54ae85d3d08e2b4b008451c17d.jpg","text":"TemporaryFile(/tmp/multipartBody7344866020440687731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107913351,"filename":"image_21022025_00_28_47_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dea0ee757dded306d2c997b55966e8ab.jpg","text":"TemporaryFile(/tmp/multipartBody3006233197575969062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107913351,"filename":"image_21022025_00_28_17_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4fe8d997decfefd181991cd82a5442f8.jpg","text":"TemporaryFile(/tmp/multipartBody4169162132737441778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107913351,"filename":"image_21022025_00_29_26_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a3579b0c538bad72e5423dec819efe4b.jpg","text":"TemporaryFile(/tmp/multipartBody5892079399114788149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107913351,"filename":"image_21022025_00_28_56_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338747125","file1":"1338747123","file0":"1338747122","file4":"1338747231","file5":"1338747242","file3":"1338747168"},"map_files_photo_id_array":[{"photo_id":"1338747242","filename":"file5"},{"photo_id":"1338747125","filename":"file2"},{"photo_id":"1338747231","filename":"file4"},{"photo_id":"1338747123","filename":"file1"},{"photo_id":"1338747122","filename":"file0"},{"photo_id":"1338747168","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338747123":["hashtag1","hashtag2"]},{"1338747242":["hashtag1","hashtag2"]},{"1338747125":["hashtag1","hashtag2"]},{"1338747122":["hashtag1","hashtag2"]},{"1338747231":["hashtag1","hashtag2"]},{"1338747168":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338747123, 1338747242, 1338747125, 1338747122, 1338747231, 1338747168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34188175201416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:18:32.998023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/29/image_21022025_00_29_47_10376.jpg', '/home/pi/Desktop/images/21022025/00/29/image_21022025_00_29_56_9327.jpg', '/home/pi/Desktop/images/21022025/00/29/image_21022025_00_30_07_10416.jpg', '/home/pi/Desktop/images/21022025/00/30/image_21022025_00_30_17_10340.jpg', '/home/pi/Desktop/images/21022025/00/30/image_21022025_00_30_37_10445.jpg', '/home/pi/Desktop/images/21022025/00/30/image_21022025_00_30_46_9326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/29/image_21022025_00_29_47_10376.jpg
/home/pi/Desktop/images/21022025/00/29/image_21022025_00_29_56_9327.jpg
/home/pi/Desktop/images/21022025/00/29/image_21022025_00_30_07_10416.jpg
/home/pi/Desktop/images/21022025/00/30/image_21022025_00_30_17_10340.jpg
/home/pi/Desktop/images/21022025/00/30/image_21022025_00_30_37_10445.jpg
/home/pi/Desktop/images/21022025/00/30/image_21022025_00_30_46_9326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338747261","1338747248","1338747247","1338747250","1338747267","1338747246"],"photo_ids_order":["1338747246","1338747247","1338747248","1338747250","1338747261","1338747267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a9d454f177a8e65ff5e51dc47c96b9a1.jpg","text":"TemporaryFile(/tmp/multipartBody6095854232297002014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107973468,"filename":"image_21022025_00_30_37_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a6de28d9b103b826789df0fb25489eb3.jpg","text":"TemporaryFile(/tmp/multipartBody8380339057210215895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107973468,"filename":"image_21022025_00_30_07_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ba5b96903c18e3323b55bab4d2cd32d4.jpg","text":"TemporaryFile(/tmp/multipartBody6539236172383037832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107973468,"filename":"image_21022025_00_29_56_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9f9243454bbaa43894321f197aaa45ce.jpg","text":"TemporaryFile(/tmp/multipartBody5694510604315640867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107973468,"filename":"image_21022025_00_30_17_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6c171672f33e14368497797148756279.jpg","text":"TemporaryFile(/tmp/multipartBody8610917688135590274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107973468,"filename":"image_21022025_00_30_46_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f38d45458a196c5a8bed02b67f72f9e8.jpg","text":"TemporaryFile(/tmp/multipartBody353008502927388619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740107973468,"filename":"image_21022025_00_29_47_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338747248","file1":"1338747247","file0":"1338747246","file4":"1338747261","file5":"1338747267","file3":"1338747250"},"map_files_photo_id_array":[{"photo_id":"1338747267","filename":"file5"},{"photo_id":"1338747248","filename":"file2"},{"photo_id":"1338747261","filename":"file4"},{"photo_id":"1338747247","filename":"file1"},{"photo_id":"1338747246","filename":"file0"},{"photo_id":"1338747250","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338747261":["hashtag1","hashtag2"]},{"1338747248":["hashtag1","hashtag2"]},{"1338747247":["hashtag1","hashtag2"]},{"1338747250":["hashtag1","hashtag2"]},{"1338747267":["hashtag1","hashtag2"]},{"1338747246":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338747261, 1338747248, 1338747247, 1338747250, 1338747267, 1338747246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.918139934539795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:19:32.253247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/30/image_21022025_00_30_56_10336.jpg', '/home/pi/Desktop/images/21022025/00/30/image_21022025_00_31_07_10342.jpg', '/home/pi/Desktop/images/21022025/00/31/image_21022025_00_31_16_9321.jpg', '/home/pi/Desktop/images/21022025/00/31/image_21022025_00_31_26_10335.jpg', '/home/pi/Desktop/images/21022025/00/31/image_21022025_00_31_37_10447.jpg', '/home/pi/Desktop/images/21022025/00/31/image_21022025_00_31_46_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/30/image_21022025_00_30_56_10336.jpg
/home/pi/Desktop/images/21022025/00/30/image_21022025_00_31_07_10342.jpg
/home/pi/Desktop/images/21022025/00/31/image_21022025_00_31_16_9321.jpg
/home/pi/Desktop/images/21022025/00/31/image_21022025_00_31_26_10335.jpg
/home/pi/Desktop/images/21022025/00/31/image_21022025_00_31_37_10447.jpg
/home/pi/Desktop/images/21022025/00/31/image_21022025_00_31_46_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338747287","1338747281","1338747290","1338747283","1338747289","1338747285"],"photo_ids_order":["1338747281","1338747283","1338747285","1338747287","1338747289","1338747290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a5b09981727fe6e1cd1b956a672eec0.jpg","text":"TemporaryFile(/tmp/multipartBody964216861205357263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108032741,"filename":"image_21022025_00_31_26_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7995d7e0cea554f54db0accbb8163266.jpg","text":"TemporaryFile(/tmp/multipartBody7333664002362157364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108032741,"filename":"image_21022025_00_30_56_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c33a70be49ed995b387add7fa3473668.jpg","text":"TemporaryFile(/tmp/multipartBody6449422089210437217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108032741,"filename":"image_21022025_00_31_46_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c5dbf40c098569443de46a8520aded76.jpg","text":"TemporaryFile(/tmp/multipartBody7300062363359023866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108032741,"filename":"image_21022025_00_31_07_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5928b90b7e6211b8d4e50d0a3834d21f.jpg","text":"TemporaryFile(/tmp/multipartBody2508013962149941530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108032741,"filename":"image_21022025_00_31_37_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bb20be2863668ce75668e6471865d150.jpg","text":"TemporaryFile(/tmp/multipartBody8093153717561693810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108032741,"filename":"image_21022025_00_31_16_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338747285","file1":"1338747283","file0":"1338747281","file4":"1338747289","file5":"1338747290","file3":"1338747287"},"map_files_photo_id_array":[{"photo_id":"1338747290","filename":"file5"},{"photo_id":"1338747285","filename":"file2"},{"photo_id":"1338747289","filename":"file4"},{"photo_id":"1338747283","filename":"file1"},{"photo_id":"1338747281","filename":"file0"},{"photo_id":"1338747287","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338747287":["hashtag1","hashtag2"]},{"1338747281":["hashtag1","hashtag2"]},{"1338747290":["hashtag1","hashtag2"]},{"1338747283":["hashtag1","hashtag2"]},{"1338747289":["hashtag1","hashtag2"]},{"1338747285":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338747287, 1338747281, 1338747290, 1338747283, 1338747289, 1338747285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51243782043457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:20:32.335908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/31/image_21022025_00_31_57_10436.jpg', '/home/pi/Desktop/images/21022025/00/31/image_21022025_00_32_06_9343.jpg', '/home/pi/Desktop/images/21022025/00/32/image_21022025_00_32_16_10414.jpg', '/home/pi/Desktop/images/21022025/00/32/image_21022025_00_32_27_10340.jpg', '/home/pi/Desktop/images/21022025/00/32/image_21022025_00_32_36_9347.jpg', '/home/pi/Desktop/images/21022025/00/32/image_21022025_00_32_57_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/31/image_21022025_00_31_57_10436.jpg
/home/pi/Desktop/images/21022025/00/31/image_21022025_00_32_06_9343.jpg
/home/pi/Desktop/images/21022025/00/32/image_21022025_00_32_16_10414.jpg
/home/pi/Desktop/images/21022025/00/32/image_21022025_00_32_27_10340.jpg
/home/pi/Desktop/images/21022025/00/32/image_21022025_00_32_36_9347.jpg
/home/pi/Desktop/images/21022025/00/32/image_21022025_00_32_57_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338747336","1338747315","1338747309","1338747325","1338747310","1338747307"],"photo_ids_order":["1338747307","1338747309","1338747310","1338747315","1338747325","1338747336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ca8118cad780343d3ae90946951d7ba9.jpg","text":"TemporaryFile(/tmp/multipartBody769537198285066665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108092802,"filename":"image_21022025_00_32_57_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fce96dff32596e4ae3343aa371ddeee0.jpg","text":"TemporaryFile(/tmp/multipartBody9201549199188302778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108092802,"filename":"image_21022025_00_32_27_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9add16c8d8674237b710018f8eb325a3.jpg","text":"TemporaryFile(/tmp/multipartBody5702919114908084624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108092802,"filename":"image_21022025_00_32_06_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/12581ae24ac2e3ae3425d747c0b8b761.jpg","text":"TemporaryFile(/tmp/multipartBody5250165957190411998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108092802,"filename":"image_21022025_00_32_36_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/daa1fbd5933a77caad5370b977a793ee.jpg","text":"TemporaryFile(/tmp/multipartBody2977023108019042707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108092802,"filename":"image_21022025_00_32_16_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3730bca431302cc42044203ab3f1fee9.jpg","text":"TemporaryFile(/tmp/multipartBody4024010092663199317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108092802,"filename":"image_21022025_00_31_57_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338747310","file1":"1338747309","file0":"1338747307","file4":"1338747325","file5":"1338747336","file3":"1338747315"},"map_files_photo_id_array":[{"photo_id":"1338747336","filename":"file5"},{"photo_id":"1338747310","filename":"file2"},{"photo_id":"1338747325","filename":"file4"},{"photo_id":"1338747309","filename":"file1"},{"photo_id":"1338747307","filename":"file0"},{"photo_id":"1338747315","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338747336":["hashtag1","hashtag2"]},{"1338747315":["hashtag1","hashtag2"]},{"1338747309":["hashtag1","hashtag2"]},{"1338747325":["hashtag1","hashtag2"]},{"1338747310":["hashtag1","hashtag2"]},{"1338747307":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338747336, 1338747315, 1338747309, 1338747325, 1338747310, 1338747307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.073081731796265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:21:32.527988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/32/image_21022025_00_33_06_9339.jpg', '/home/pi/Desktop/images/21022025/00/33/image_21022025_00_33_27_10355.jpg', '/home/pi/Desktop/images/21022025/00/33/image_21022025_00_33_36_9340.jpg', '/home/pi/Desktop/images/21022025/00/34/image_21022025_00_34_36_9325.jpg', '/home/pi/Desktop/images/21022025/00/34/image_21022025_00_34_47_10453.jpg', '/home/pi/Desktop/images/21022025/00/34/image_21022025_00_34_56_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/32/image_21022025_00_33_06_9339.jpg
/home/pi/Desktop/images/21022025/00/33/image_21022025_00_33_27_10355.jpg
/home/pi/Desktop/images/21022025/00/33/image_21022025_00_33_36_9340.jpg
/home/pi/Desktop/images/21022025/00/34/image_21022025_00_34_36_9325.jpg
/home/pi/Desktop/images/21022025/00/34/image_21022025_00_34_47_10453.jpg
/home/pi/Desktop/images/21022025/00/34/image_21022025_00_34_56_9382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338747392","1338747395","1338747391","1338747388","1338747384","1338747372"],"photo_ids_order":["1338747372","1338747384","1338747388","1338747391","1338747392","1338747395"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/036625d5d2769a6667e82563f1f38d98.jpg","text":"TemporaryFile(/tmp/multipartBody5099154082804050959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108152998,"filename":"image_21022025_00_34_47_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/adad957e00ab192aef7ffb6443bff878.jpg","text":"TemporaryFile(/tmp/multipartBody2954523626355812026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108152998,"filename":"image_21022025_00_34_56_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df3adf93577021d11a9cafd5842bdb99.jpg","text":"TemporaryFile(/tmp/multipartBody3675367318766947992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108152998,"filename":"image_21022025_00_34_36_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b23b41e5e0dc7efbd72c548b94a211e0.jpg","text":"TemporaryFile(/tmp/multipartBody7650908604648535010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108152998,"filename":"image_21022025_00_33_36_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b4ac61424041fbbb9f82fcf9f2d65473.jpg","text":"TemporaryFile(/tmp/multipartBody5211147448811190230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108152998,"filename":"image_21022025_00_33_27_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f72f0009e2b69af1b0424db01550dd35.jpg","text":"TemporaryFile(/tmp/multipartBody5629834509602480569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108152998,"filename":"image_21022025_00_33_06_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338747388","file1":"1338747384","file0":"1338747372","file4":"1338747392","file5":"1338747395","file3":"1338747391"},"map_files_photo_id_array":[{"photo_id":"1338747395","filename":"file5"},{"photo_id":"1338747388","filename":"file2"},{"photo_id":"1338747392","filename":"file4"},{"photo_id":"1338747384","filename":"file1"},{"photo_id":"1338747372","filename":"file0"},{"photo_id":"1338747391","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338747392":["hashtag1","hashtag2"]},{"1338747395":["hashtag1","hashtag2"]},{"1338747391":["hashtag1","hashtag2"]},{"1338747388":["hashtag1","hashtag2"]},{"1338747384":["hashtag1","hashtag2"]},{"1338747372":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338747392, 1338747395, 1338747391, 1338747388, 1338747384, 1338747372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55938982963562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:22:32.841911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/34/image_21022025_00_35_06_10370.jpg', '/home/pi/Desktop/images/21022025/00/35/image_21022025_00_35_17_10411.jpg', '/home/pi/Desktop/images/21022025/00/35/image_21022025_00_35_26_9440.jpg', '/home/pi/Desktop/images/21022025/00/35/image_21022025_00_35_37_10337.jpg', '/home/pi/Desktop/images/21022025/00/35/image_21022025_00_35_46_9332.jpg', '/home/pi/Desktop/images/21022025/00/36/image_21022025_00_36_27_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/34/image_21022025_00_35_06_10370.jpg
/home/pi/Desktop/images/21022025/00/35/image_21022025_00_35_17_10411.jpg
/home/pi/Desktop/images/21022025/00/35/image_21022025_00_35_26_9440.jpg
/home/pi/Desktop/images/21022025/00/35/image_21022025_00_35_37_10337.jpg
/home/pi/Desktop/images/21022025/00/35/image_21022025_00_35_46_9332.jpg
/home/pi/Desktop/images/21022025/00/36/image_21022025_00_36_27_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338747497","1338747501","1338747499","1338747541","1338747492","1338747495"],"photo_ids_order":["1338747492","1338747495","1338747497","1338747499","1338747501","1338747541"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/03bdbd6ff017e60cb9656163ea586aaf.jpg","text":"TemporaryFile(/tmp/multipartBody7929249533629847767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108213320,"filename":"image_21022025_00_35_26_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8560b229288c453f13f3cfa09d6bc1c1.jpg","text":"TemporaryFile(/tmp/multipartBody1668426008444703747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108213320,"filename":"image_21022025_00_35_46_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/446859ca7a6fd419595629f88d5f1720.jpg","text":"TemporaryFile(/tmp/multipartBody2778482859622447023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108213320,"filename":"image_21022025_00_35_37_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90f4014daab8802738b2a1a994a420dd.jpg","text":"TemporaryFile(/tmp/multipartBody3111858157989146926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108213320,"filename":"image_21022025_00_36_27_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a091e7c422bee617a3eff58bff693df.jpg","text":"TemporaryFile(/tmp/multipartBody8738561746918593371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108213320,"filename":"image_21022025_00_35_06_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/16755acd6b8c5cd2798fe5a241619414.jpg","text":"TemporaryFile(/tmp/multipartBody2265807360957941966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108213320,"filename":"image_21022025_00_35_17_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338747497","file1":"1338747495","file0":"1338747492","file4":"1338747501","file5":"1338747541","file3":"1338747499"},"map_files_photo_id_array":[{"photo_id":"1338747541","filename":"file5"},{"photo_id":"1338747497","filename":"file2"},{"photo_id":"1338747501","filename":"file4"},{"photo_id":"1338747495","filename":"file1"},{"photo_id":"1338747492","filename":"file0"},{"photo_id":"1338747499","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338747497":["hashtag1","hashtag2"]},{"1338747501":["hashtag1","hashtag2"]},{"1338747499":["hashtag1","hashtag2"]},{"1338747541":["hashtag1","hashtag2"]},{"1338747492":["hashtag1","hashtag2"]},{"1338747495":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338747497, 1338747501, 1338747499, 1338747541, 1338747492, 1338747495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92056369781494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:23:33.058862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/36/image_21022025_00_36_37_10365.jpg', '/home/pi/Desktop/images/21022025/00/36/image_21022025_00_36_46_9311.jpg', '/home/pi/Desktop/images/21022025/00/36/image_21022025_00_36_57_10467.jpg', '/home/pi/Desktop/images/21022025/00/36/image_21022025_00_37_06_9345.jpg', '/home/pi/Desktop/images/21022025/00/37/image_21022025_00_37_16_10390.jpg', '/home/pi/Desktop/images/21022025/00/37/image_21022025_00_37_27_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/36/image_21022025_00_36_37_10365.jpg
/home/pi/Desktop/images/21022025/00/36/image_21022025_00_36_46_9311.jpg
/home/pi/Desktop/images/21022025/00/36/image_21022025_00_36_57_10467.jpg
/home/pi/Desktop/images/21022025/00/36/image_21022025_00_37_06_9345.jpg
/home/pi/Desktop/images/21022025/00/37/image_21022025_00_37_16_10390.jpg
/home/pi/Desktop/images/21022025/00/37/image_21022025_00_37_27_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338747603","1338747599","1338747595","1338747598","1338747592","1338747594"],"photo_ids_order":["1338747592","1338747594","1338747595","1338747598","1338747599","1338747603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f90fee33bccbef3016a0a9d4c7f5c3f9.jpg","text":"TemporaryFile(/tmp/multipartBody6626447795569104250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108273524,"filename":"image_21022025_00_37_27_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1fac76db4c0e2cb38445de25635e56b.jpg","text":"TemporaryFile(/tmp/multipartBody6297975475400626531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108273524,"filename":"image_21022025_00_37_16_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d3070b3724796317f8abb9287347b4ac.jpg","text":"TemporaryFile(/tmp/multipartBody176900844458948133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108273524,"filename":"image_21022025_00_36_57_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9b4bf9d5d5278b0fa7860495dae7db2b.jpg","text":"TemporaryFile(/tmp/multipartBody1753926054438066267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108273524,"filename":"image_21022025_00_37_06_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fbdbf33aa0c1315100c40769f1764788.jpg","text":"TemporaryFile(/tmp/multipartBody1419523788519662823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108273524,"filename":"image_21022025_00_36_37_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3411aedf8501ddbada4bbbb7664f131.jpg","text":"TemporaryFile(/tmp/multipartBody7812103920494047250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108273524,"filename":"image_21022025_00_36_46_9311.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338747595","file1":"1338747594","file0":"1338747592","file4":"1338747599","file5":"1338747603","file3":"1338747598"},"map_files_photo_id_array":[{"photo_id":"1338747603","filename":"file5"},{"photo_id":"1338747595","filename":"file2"},{"photo_id":"1338747599","filename":"file4"},{"photo_id":"1338747594","filename":"file1"},{"photo_id":"1338747592","filename":"file0"},{"photo_id":"1338747598","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338747603":["hashtag1","hashtag2"]},{"1338747599":["hashtag1","hashtag2"]},{"1338747595":["hashtag1","hashtag2"]},{"1338747598":["hashtag1","hashtag2"]},{"1338747592":["hashtag1","hashtag2"]},{"1338747594":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338747603, 1338747599, 1338747595, 1338747598, 1338747592, 1338747594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.4106559753418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:24:32.327883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/37/image_21022025_00_37_36_9332.jpg', '/home/pi/Desktop/images/21022025/00/37/image_21022025_00_37_46_10320.jpg', '/home/pi/Desktop/images/21022025/00/37/image_21022025_00_37_57_10430.jpg', '/home/pi/Desktop/images/21022025/00/37/image_21022025_00_38_06_9402.jpg', '/home/pi/Desktop/images/21022025/00/38/image_21022025_00_38_17_10386.jpg', '/home/pi/Desktop/images/21022025/00/38/image_21022025_00_38_26_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/37/image_21022025_00_37_36_9332.jpg
/home/pi/Desktop/images/21022025/00/37/image_21022025_00_37_46_10320.jpg
/home/pi/Desktop/images/21022025/00/37/image_21022025_00_37_57_10430.jpg
/home/pi/Desktop/images/21022025/00/37/image_21022025_00_38_06_9402.jpg
/home/pi/Desktop/images/21022025/00/38/image_21022025_00_38_17_10386.jpg
/home/pi/Desktop/images/21022025/00/38/image_21022025_00_38_26_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338747651","1338747627","1338747653","1338747647","1338747644","1338747649"],"photo_ids_order":["1338747627","1338747644","1338747647","1338747649","1338747651","1338747653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae3d66bdea8529ecdd01b124e8aa391a.jpg","text":"TemporaryFile(/tmp/multipartBody4766895814681516739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108334611,"filename":"image_21022025_00_38_17_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/da0f1b4ea98b14181c13e7dafbe0cdc7.jpg","text":"TemporaryFile(/tmp/multipartBody4569247118823020734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108334611,"filename":"image_21022025_00_37_36_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/593baa9dcbc7acf62732eacc0e7d942a.jpg","text":"TemporaryFile(/tmp/multipartBody9179865943368166164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108334611,"filename":"image_21022025_00_38_26_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a1e04910ab394b72a3f0c47e53a1c05e.jpg","text":"TemporaryFile(/tmp/multipartBody1235051954337127836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108334611,"filename":"image_21022025_00_37_57_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74362b85f3920fe83437eab56a4d0bc4.jpg","text":"TemporaryFile(/tmp/multipartBody9181865620447523300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108334611,"filename":"image_21022025_00_37_46_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/174024038bf325ff712dd70b67c53611.jpg","text":"TemporaryFile(/tmp/multipartBody5856517876180952118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108334611,"filename":"image_21022025_00_38_06_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338747647","file1":"1338747644","file0":"1338747627","file4":"1338747651","file5":"1338747653","file3":"1338747649"},"map_files_photo_id_array":[{"photo_id":"1338747653","filename":"file5"},{"photo_id":"1338747647","filename":"file2"},{"photo_id":"1338747651","filename":"file4"},{"photo_id":"1338747644","filename":"file1"},{"photo_id":"1338747627","filename":"file0"},{"photo_id":"1338747649","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338747651":["hashtag1","hashtag2"]},{"1338747627":["hashtag1","hashtag2"]},{"1338747653":["hashtag1","hashtag2"]},{"1338747647":["hashtag1","hashtag2"]},{"1338747644":["hashtag1","hashtag2"]},{"1338747649":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338747651, 1338747627, 1338747653, 1338747647, 1338747644, 1338747649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.1440532207489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:25:32.458904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/38/image_21022025_00_38_36_10349.jpg', '/home/pi/Desktop/images/21022025/00/38/image_21022025_00_38_56_9350.jpg', '/home/pi/Desktop/images/21022025/00/39/image_21022025_00_39_16_9321.jpg', '/home/pi/Desktop/images/21022025/00/39/image_21022025_00_39_26_10338.jpg', '/home/pi/Desktop/images/21022025/00/39/image_21022025_00_39_37_10428.jpg', '/home/pi/Desktop/images/21022025/00/39/image_21022025_00_39_56_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/38/image_21022025_00_38_36_10349.jpg
/home/pi/Desktop/images/21022025/00/38/image_21022025_00_38_56_9350.jpg
/home/pi/Desktop/images/21022025/00/39/image_21022025_00_39_16_9321.jpg
/home/pi/Desktop/images/21022025/00/39/image_21022025_00_39_26_10338.jpg
/home/pi/Desktop/images/21022025/00/39/image_21022025_00_39_37_10428.jpg
/home/pi/Desktop/images/21022025/00/39/image_21022025_00_39_56_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338747750","1338747752","1338747749","1338747745","1338747727","1338747747"],"photo_ids_order":["1338747727","1338747745","1338747747","1338747749","1338747750","1338747752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a222a85196d1cfe9f4b2ba3a3b582879.jpg","text":"TemporaryFile(/tmp/multipartBody8024982369478355720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108393062,"filename":"image_21022025_00_39_37_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9394b63b6667513c10643406634e54f9.jpg","text":"TemporaryFile(/tmp/multipartBody6156156614820344842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108393062,"filename":"image_21022025_00_39_56_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c9e6e26cfb5db72cee09aaf328a15a4.jpg","text":"TemporaryFile(/tmp/multipartBody4351294570496059152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108393062,"filename":"image_21022025_00_39_26_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e3a8006764009123d0463004b0756e25.jpg","text":"TemporaryFile(/tmp/multipartBody2209162094997086303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108393062,"filename":"image_21022025_00_38_56_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/65f859fd1c6b07b5b8747593189cc385.jpg","text":"TemporaryFile(/tmp/multipartBody8734196356630333214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108393062,"filename":"image_21022025_00_38_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b82502c49bee82784b3650a58a8a6fe4.jpg","text":"TemporaryFile(/tmp/multipartBody7984773816321554239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108393062,"filename":"image_21022025_00_39_16_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338747747","file1":"1338747745","file0":"1338747727","file4":"1338747750","file5":"1338747752","file3":"1338747749"},"map_files_photo_id_array":[{"photo_id":"1338747752","filename":"file5"},{"photo_id":"1338747747","filename":"file2"},{"photo_id":"1338747750","filename":"file4"},{"photo_id":"1338747745","filename":"file1"},{"photo_id":"1338747727","filename":"file0"},{"photo_id":"1338747749","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338747750":["hashtag1","hashtag2"]},{"1338747752":["hashtag1","hashtag2"]},{"1338747749":["hashtag1","hashtag2"]},{"1338747745":["hashtag1","hashtag2"]},{"1338747727":["hashtag1","hashtag2"]},{"1338747747":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338747750, 1338747752, 1338747749, 1338747745, 1338747727, 1338747747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01712894439697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:26:32.759312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/39/image_21022025_00_40_07_10404.jpg', '/home/pi/Desktop/images/21022025/00/40/image_21022025_00_40_16_9387.jpg', '/home/pi/Desktop/images/21022025/00/40/image_21022025_00_40_27_10430.jpg', '/home/pi/Desktop/images/21022025/00/40/image_21022025_00_40_36_9354.jpg', '/home/pi/Desktop/images/21022025/00/40/image_21022025_00_40_46_10360.jpg', '/home/pi/Desktop/images/21022025/00/40/image_21022025_00_40_57_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/39/image_21022025_00_40_07_10404.jpg
/home/pi/Desktop/images/21022025/00/40/image_21022025_00_40_16_9387.jpg
/home/pi/Desktop/images/21022025/00/40/image_21022025_00_40_27_10430.jpg
/home/pi/Desktop/images/21022025/00/40/image_21022025_00_40_36_9354.jpg
/home/pi/Desktop/images/21022025/00/40/image_21022025_00_40_46_10360.jpg
/home/pi/Desktop/images/21022025/00/40/image_21022025_00_40_57_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338747936","1338748040","1338747866","1338747812","1338748012","1338747771"],"photo_ids_order":["1338747771","1338747812","1338747866","1338747936","1338748012","1338748040"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d696db174020a94624f9dcf0be9a4c9.jpg","text":"TemporaryFile(/tmp/multipartBody6986400616098424254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108453225,"filename":"image_21022025_00_40_36_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f2a5cdce795f7e3cd3a2d15c83ead7e.jpg","text":"TemporaryFile(/tmp/multipartBody1263568871195227482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108453225,"filename":"image_21022025_00_40_57_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7fe57a119d39baa53127dbfe159401d.jpg","text":"TemporaryFile(/tmp/multipartBody2438787810746499116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108453225,"filename":"image_21022025_00_40_27_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/135d237915b795f410a9ae13b3e8194c.jpg","text":"TemporaryFile(/tmp/multipartBody6306734892818210385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108453225,"filename":"image_21022025_00_40_16_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc0177e44d65374f536aad9a19d939a5.jpg","text":"TemporaryFile(/tmp/multipartBody6673401924280571885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108453225,"filename":"image_21022025_00_40_46_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f665592a50f4a9edf02996f7a7c90b1.jpg","text":"TemporaryFile(/tmp/multipartBody1741161579806334837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108453225,"filename":"image_21022025_00_40_07_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338747866","file1":"1338747812","file0":"1338747771","file4":"1338748012","file5":"1338748040","file3":"1338747936"},"map_files_photo_id_array":[{"photo_id":"1338748040","filename":"file5"},{"photo_id":"1338747866","filename":"file2"},{"photo_id":"1338748012","filename":"file4"},{"photo_id":"1338747812","filename":"file1"},{"photo_id":"1338747771","filename":"file0"},{"photo_id":"1338747936","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338747936":["hashtag1","hashtag2"]},{"1338748040":["hashtag1","hashtag2"]},{"1338747866":["hashtag1","hashtag2"]},{"1338747812":["hashtag1","hashtag2"]},{"1338748012":["hashtag1","hashtag2"]},{"1338747771":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338747936, 1338748040, 1338747866, 1338747812, 1338748012, 1338747771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.670931577682495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:27:32.910723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/40/image_21022025_00_41_06_9357.jpg', '/home/pi/Desktop/images/21022025/00/41/image_21022025_00_41_16_10411.jpg', '/home/pi/Desktop/images/21022025/00/41/image_21022025_00_41_27_10350.jpg', '/home/pi/Desktop/images/21022025/00/41/image_21022025_00_41_47_10437.jpg', '/home/pi/Desktop/images/21022025/00/41/image_21022025_00_41_56_9369.jpg', '/home/pi/Desktop/images/21022025/00/41/image_21022025_00_42_06_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/40/image_21022025_00_41_06_9357.jpg
/home/pi/Desktop/images/21022025/00/41/image_21022025_00_41_16_10411.jpg
/home/pi/Desktop/images/21022025/00/41/image_21022025_00_41_27_10350.jpg
/home/pi/Desktop/images/21022025/00/41/image_21022025_00_41_47_10437.jpg
/home/pi/Desktop/images/21022025/00/41/image_21022025_00_41_56_9369.jpg
/home/pi/Desktop/images/21022025/00/41/image_21022025_00_42_06_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338748249","1338748063","1338748414","1338748062","1338748335","1338748146"],"photo_ids_order":["1338748062","1338748063","1338748146","1338748249","1338748335","1338748414"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4f30c993958f146b977edef066b177e.jpg","text":"TemporaryFile(/tmp/multipartBody6651586509483969472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108513394,"filename":"image_21022025_00_41_47_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fbaea48e6b88db6d2ca9da0a56dacf53.jpg","text":"TemporaryFile(/tmp/multipartBody1725872401420726279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108513394,"filename":"image_21022025_00_41_16_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f31519ca8acb11998650961381af4fa4.jpg","text":"TemporaryFile(/tmp/multipartBody4152590757475416453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108513394,"filename":"image_21022025_00_42_06_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90a47023586796ad4d78a10587a00d45.jpg","text":"TemporaryFile(/tmp/multipartBody5515764737547738718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108513394,"filename":"image_21022025_00_41_06_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2f00afee14fcdbbf01b25ca1a4672bda.jpg","text":"TemporaryFile(/tmp/multipartBody6980944924082779882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108513394,"filename":"image_21022025_00_41_56_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/639f3f951b1880f8b3fc70489ecfcd57.jpg","text":"TemporaryFile(/tmp/multipartBody5506406931972186909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108513394,"filename":"image_21022025_00_41_27_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338748146","file1":"1338748063","file0":"1338748062","file4":"1338748335","file5":"1338748414","file3":"1338748249"},"map_files_photo_id_array":[{"photo_id":"1338748414","filename":"file5"},{"photo_id":"1338748146","filename":"file2"},{"photo_id":"1338748335","filename":"file4"},{"photo_id":"1338748063","filename":"file1"},{"photo_id":"1338748062","filename":"file0"},{"photo_id":"1338748249","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338748249":["hashtag1","hashtag2"]},{"1338748063":["hashtag1","hashtag2"]},{"1338748414":["hashtag1","hashtag2"]},{"1338748062":["hashtag1","hashtag2"]},{"1338748335":["hashtag1","hashtag2"]},{"1338748146":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338748249, 1338748063, 1338748414, 1338748062, 1338748335, 1338748146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.651596784591675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:28:33.171480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/42/image_21022025_00_42_17_10400.jpg', '/home/pi/Desktop/images/21022025/00/42/image_21022025_00_42_26_9330.jpg', '/home/pi/Desktop/images/21022025/00/42/image_21022025_00_42_36_10356.jpg', '/home/pi/Desktop/images/21022025/00/42/image_21022025_00_42_47_10430.jpg', '/home/pi/Desktop/images/21022025/00/42/image_21022025_00_42_56_9399.jpg', '/home/pi/Desktop/images/21022025/00/42/image_21022025_00_43_07_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/42/image_21022025_00_42_17_10400.jpg
/home/pi/Desktop/images/21022025/00/42/image_21022025_00_42_26_9330.jpg
/home/pi/Desktop/images/21022025/00/42/image_21022025_00_42_36_10356.jpg
/home/pi/Desktop/images/21022025/00/42/image_21022025_00_42_47_10430.jpg
/home/pi/Desktop/images/21022025/00/42/image_21022025_00_42_56_9399.jpg
/home/pi/Desktop/images/21022025/00/42/image_21022025_00_43_07_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338748751","1338748789","1338748791","1338748785","1338748752","1338748787"],"photo_ids_order":["1338748751","1338748752","1338748785","1338748787","1338748789","1338748791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02304db1f8e9df588d708b52987beaef.jpg","text":"TemporaryFile(/tmp/multipartBody3521734355575328741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108573636,"filename":"image_21022025_00_42_17_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92ed1c9f2ec0b9706f26d13e4db6c14b.jpg","text":"TemporaryFile(/tmp/multipartBody1264395466313899496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108573636,"filename":"image_21022025_00_42_56_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a0b3129e04bb3af1fc3ecc0483ef7dc0.jpg","text":"TemporaryFile(/tmp/multipartBody3975359967152731432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108573636,"filename":"image_21022025_00_43_07_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/830f7157293cf1274ca18b7d0f930148.jpg","text":"TemporaryFile(/tmp/multipartBody144761283037205163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108573636,"filename":"image_21022025_00_42_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/27ddf0eca314a9a1d8625016557a8356.jpg","text":"TemporaryFile(/tmp/multipartBody6080891161543583632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108573636,"filename":"image_21022025_00_42_26_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/501e6f21bd7665970bc4b88652dab54e.jpg","text":"TemporaryFile(/tmp/multipartBody951595177406759843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108573636,"filename":"image_21022025_00_42_47_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338748785","file1":"1338748752","file0":"1338748751","file4":"1338748789","file5":"1338748791","file3":"1338748787"},"map_files_photo_id_array":[{"photo_id":"1338748791","filename":"file5"},{"photo_id":"1338748785","filename":"file2"},{"photo_id":"1338748789","filename":"file4"},{"photo_id":"1338748752","filename":"file1"},{"photo_id":"1338748751","filename":"file0"},{"photo_id":"1338748787","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338748751":["hashtag1","hashtag2"]},{"1338748789":["hashtag1","hashtag2"]},{"1338748791":["hashtag1","hashtag2"]},{"1338748785":["hashtag1","hashtag2"]},{"1338748752":["hashtag1","hashtag2"]},{"1338748787":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338748751, 1338748789, 1338748791, 1338748785, 1338748752, 1338748787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.766905784606934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:29:32.177338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/43/image_21022025_00_43_16_9419.jpg', '/home/pi/Desktop/images/21022025/00/43/image_21022025_00_43_26_10371.jpg', '/home/pi/Desktop/images/21022025/00/43/image_21022025_00_43_37_10426.jpg', '/home/pi/Desktop/images/21022025/00/43/image_21022025_00_43_46_9309.jpg', '/home/pi/Desktop/images/21022025/00/43/image_21022025_00_43_57_10416.jpg', '/home/pi/Desktop/images/21022025/00/43/image_21022025_00_44_07_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/43/image_21022025_00_43_16_9419.jpg
/home/pi/Desktop/images/21022025/00/43/image_21022025_00_43_26_10371.jpg
/home/pi/Desktop/images/21022025/00/43/image_21022025_00_43_37_10426.jpg
/home/pi/Desktop/images/21022025/00/43/image_21022025_00_43_46_9309.jpg
/home/pi/Desktop/images/21022025/00/43/image_21022025_00_43_57_10416.jpg
/home/pi/Desktop/images/21022025/00/43/image_21022025_00_44_07_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338748976","1338748891","1338748927","1338748980","1338748929","1338748970"],"photo_ids_order":["1338748891","1338748927","1338748929","1338748970","1338748976","1338748980"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c460dd074a21199decc59f493764b360.jpg","text":"TemporaryFile(/tmp/multipartBody9030949823274308369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108632694,"filename":"image_21022025_00_43_57_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7b4e0aebf836ac6eda90dc0f21f7144c.jpg","text":"TemporaryFile(/tmp/multipartBody9127002283720189639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108632694,"filename":"image_21022025_00_43_16_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0d3ce459b367ccdea708aff5f79a68a9.jpg","text":"TemporaryFile(/tmp/multipartBody2809405724318787452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108632694,"filename":"image_21022025_00_43_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1c398c5c0c3800d772146e9804580b11.jpg","text":"TemporaryFile(/tmp/multipartBody5440273014094012608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108632694,"filename":"image_21022025_00_44_07_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b84da98e3ee2982ce4404dc7dea18748.jpg","text":"TemporaryFile(/tmp/multipartBody647316918785606450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108632694,"filename":"image_21022025_00_43_37_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ea827657f39142e9c80144140f864d19.jpg","text":"TemporaryFile(/tmp/multipartBody241458378825141628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108632694,"filename":"image_21022025_00_43_46_9309.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338748929","file1":"1338748927","file0":"1338748891","file4":"1338748976","file5":"1338748980","file3":"1338748970"},"map_files_photo_id_array":[{"photo_id":"1338748980","filename":"file5"},{"photo_id":"1338748929","filename":"file2"},{"photo_id":"1338748976","filename":"file4"},{"photo_id":"1338748927","filename":"file1"},{"photo_id":"1338748891","filename":"file0"},{"photo_id":"1338748970","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338748976":["hashtag1","hashtag2"]},{"1338748891":["hashtag1","hashtag2"]},{"1338748927":["hashtag1","hashtag2"]},{"1338748980":["hashtag1","hashtag2"]},{"1338748929":["hashtag1","hashtag2"]},{"1338748970":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338748976, 1338748891, 1338748927, 1338748980, 1338748929, 1338748970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.623379945755005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:30:32.381600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/44/image_21022025_00_44_16_9320.jpg', '/home/pi/Desktop/images/21022025/00/44/image_21022025_00_44_27_10360.jpg', '/home/pi/Desktop/images/21022025/00/44/image_21022025_00_44_36_9346.jpg', '/home/pi/Desktop/images/21022025/00/44/image_21022025_00_44_46_10334.jpg', '/home/pi/Desktop/images/21022025/00/44/image_21022025_00_44_57_10350.jpg', '/home/pi/Desktop/images/21022025/00/44/image_21022025_00_45_06_9396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/44/image_21022025_00_44_16_9320.jpg
/home/pi/Desktop/images/21022025/00/44/image_21022025_00_44_27_10360.jpg
/home/pi/Desktop/images/21022025/00/44/image_21022025_00_44_36_9346.jpg
/home/pi/Desktop/images/21022025/00/44/image_21022025_00_44_46_10334.jpg
/home/pi/Desktop/images/21022025/00/44/image_21022025_00_44_57_10350.jpg
/home/pi/Desktop/images/21022025/00/44/image_21022025_00_45_06_9396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338749105","1338749137","1338749040","1338749142","1338749037","1338749033"],"photo_ids_order":["1338749033","1338749037","1338749040","1338749105","1338749137","1338749142"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3181e7fcb4364e0295ab97fc8e7ee4a7.jpg","text":"TemporaryFile(/tmp/multipartBody4401348179379399325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108692876,"filename":"image_21022025_00_44_46_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eb1802f0c1772473a3bc56027f37b649.jpg","text":"TemporaryFile(/tmp/multipartBody7339964525133756096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108692876,"filename":"image_21022025_00_44_57_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1a8dca714aed59226d83483881138a3.jpg","text":"TemporaryFile(/tmp/multipartBody8801892459869866137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108692876,"filename":"image_21022025_00_44_36_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c196a0a086b4980a3a4fbc265c44c4f.jpg","text":"TemporaryFile(/tmp/multipartBody18446053197800758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108692876,"filename":"image_21022025_00_45_06_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/727870606a7fdd038c5e1672d8e1c06a.jpg","text":"TemporaryFile(/tmp/multipartBody1745262267339250091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108692876,"filename":"image_21022025_00_44_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d4b03da6654f49c1ac2226114fbee1a7.jpg","text":"TemporaryFile(/tmp/multipartBody2163158333091399880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108692876,"filename":"image_21022025_00_44_16_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338749040","file1":"1338749037","file0":"1338749033","file4":"1338749137","file5":"1338749142","file3":"1338749105"},"map_files_photo_id_array":[{"photo_id":"1338749142","filename":"file5"},{"photo_id":"1338749040","filename":"file2"},{"photo_id":"1338749137","filename":"file4"},{"photo_id":"1338749037","filename":"file1"},{"photo_id":"1338749033","filename":"file0"},{"photo_id":"1338749105","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338749105":["hashtag1","hashtag2"]},{"1338749137":["hashtag1","hashtag2"]},{"1338749040":["hashtag1","hashtag2"]},{"1338749142":["hashtag1","hashtag2"]},{"1338749037":["hashtag1","hashtag2"]},{"1338749033":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338749105, 1338749137, 1338749040, 1338749142, 1338749037, 1338749033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.356467962265015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:31:32.672530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/45/image_21022025_00_45_16_10331.jpg', '/home/pi/Desktop/images/21022025/00/45/image_21022025_00_45_27_10433.jpg', '/home/pi/Desktop/images/21022025/00/45/image_21022025_00_45_47_10434.jpg', '/home/pi/Desktop/images/21022025/00/45/image_21022025_00_45_56_9399.jpg', '/home/pi/Desktop/images/21022025/00/45/image_21022025_00_46_06_10321.jpg', '/home/pi/Desktop/images/21022025/00/46/image_21022025_00_46_17_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/45/image_21022025_00_45_16_10331.jpg
/home/pi/Desktop/images/21022025/00/45/image_21022025_00_45_27_10433.jpg
/home/pi/Desktop/images/21022025/00/45/image_21022025_00_45_47_10434.jpg
/home/pi/Desktop/images/21022025/00/45/image_21022025_00_45_56_9399.jpg
/home/pi/Desktop/images/21022025/00/45/image_21022025_00_46_06_10321.jpg
/home/pi/Desktop/images/21022025/00/46/image_21022025_00_46_17_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338749260","1338749251","1338749265","1338749256","1338749258","1338749246"],"photo_ids_order":["1338749246","1338749251","1338749256","1338749258","1338749260","1338749265"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bb28bea601c90ce9abd423b43b180638.jpg","text":"TemporaryFile(/tmp/multipartBody7648163754818890625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108753143,"filename":"image_21022025_00_46_06_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f3c2f053d0a6aa325c6ddb5f584303f.jpg","text":"TemporaryFile(/tmp/multipartBody5864364563589468527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108753143,"filename":"image_21022025_00_45_27_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/31aadfc554448504921b573ee8b0024d.jpg","text":"TemporaryFile(/tmp/multipartBody1465753665801929352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108753143,"filename":"image_21022025_00_46_17_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/42bf5060cbc7c375a9dc7282486de8ed.jpg","text":"TemporaryFile(/tmp/multipartBody8283365923663949654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108753143,"filename":"image_21022025_00_45_47_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7d946648939e0ecce833e9f5a14bed11.jpg","text":"TemporaryFile(/tmp/multipartBody3891048206216335470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108753143,"filename":"image_21022025_00_45_56_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5471bea5c7b37db7df889bf493885f9b.jpg","text":"TemporaryFile(/tmp/multipartBody454628911579443313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108753143,"filename":"image_21022025_00_45_16_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338749256","file1":"1338749251","file0":"1338749246","file4":"1338749260","file5":"1338749265","file3":"1338749258"},"map_files_photo_id_array":[{"photo_id":"1338749265","filename":"file5"},{"photo_id":"1338749256","filename":"file2"},{"photo_id":"1338749260","filename":"file4"},{"photo_id":"1338749251","filename":"file1"},{"photo_id":"1338749246","filename":"file0"},{"photo_id":"1338749258","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338749260":["hashtag1","hashtag2"]},{"1338749251":["hashtag1","hashtag2"]},{"1338749265":["hashtag1","hashtag2"]},{"1338749256":["hashtag1","hashtag2"]},{"1338749258":["hashtag1","hashtag2"]},{"1338749246":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338749260, 1338749251, 1338749265, 1338749256, 1338749258, 1338749246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.71431541442871 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:32:32.866035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/46/image_21022025_00_46_36_10352.jpg', '/home/pi/Desktop/images/21022025/00/46/image_21022025_00_46_47_10411.jpg', '/home/pi/Desktop/images/21022025/00/46/image_21022025_00_46_56_9344.jpg', '/home/pi/Desktop/images/21022025/00/46/image_21022025_00_47_06_10329.jpg', '/home/pi/Desktop/images/21022025/00/47/image_21022025_00_47_17_10331.jpg', '/home/pi/Desktop/images/21022025/00/47/image_21022025_00_47_36_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/46/image_21022025_00_46_36_10352.jpg
/home/pi/Desktop/images/21022025/00/46/image_21022025_00_46_47_10411.jpg
/home/pi/Desktop/images/21022025/00/46/image_21022025_00_46_56_9344.jpg
/home/pi/Desktop/images/21022025/00/46/image_21022025_00_47_06_10329.jpg
/home/pi/Desktop/images/21022025/00/47/image_21022025_00_47_17_10331.jpg
/home/pi/Desktop/images/21022025/00/47/image_21022025_00_47_36_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338749428","1338749490","1338749463","1338749472","1338749474","1338749406"],"photo_ids_order":["1338749406","1338749428","1338749463","1338749472","1338749474","1338749490"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2002b7d14147d3905fe2040769c22c94.jpg","text":"TemporaryFile(/tmp/multipartBody7710940689795001251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108813354,"filename":"image_21022025_00_46_47_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2afac8b48e6080cc2ed3d8c0e13c97f3.jpg","text":"TemporaryFile(/tmp/multipartBody87735277647961167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108813354,"filename":"image_21022025_00_47_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f12148d191d5a2fda691d3736cc7da78.jpg","text":"TemporaryFile(/tmp/multipartBody6051761684502598962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108813354,"filename":"image_21022025_00_46_56_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1d31887c91459e47da27353c303e5377.jpg","text":"TemporaryFile(/tmp/multipartBody6668678188641842743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108813354,"filename":"image_21022025_00_47_06_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/79b38bde50a1ce166e92614264774e5d.jpg","text":"TemporaryFile(/tmp/multipartBody7518242520475153454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108813354,"filename":"image_21022025_00_47_17_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2cf50aee392e235eac22d23f4479c23f.jpg","text":"TemporaryFile(/tmp/multipartBody6600789006929402985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108813354,"filename":"image_21022025_00_46_36_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338749463","file1":"1338749428","file0":"1338749406","file4":"1338749474","file5":"1338749490","file3":"1338749472"},"map_files_photo_id_array":[{"photo_id":"1338749490","filename":"file5"},{"photo_id":"1338749463","filename":"file2"},{"photo_id":"1338749474","filename":"file4"},{"photo_id":"1338749428","filename":"file1"},{"photo_id":"1338749406","filename":"file0"},{"photo_id":"1338749472","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338749428":["hashtag1","hashtag2"]},{"1338749490":["hashtag1","hashtag2"]},{"1338749463":["hashtag1","hashtag2"]},{"1338749472":["hashtag1","hashtag2"]},{"1338749474":["hashtag1","hashtag2"]},{"1338749406":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338749428, 1338749490, 1338749463, 1338749472, 1338749474, 1338749406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37930679321289 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:33:33.022927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/47/image_21022025_00_47_47_10331.jpg', '/home/pi/Desktop/images/21022025/00/47/image_21022025_00_47_56_9345.jpg', '/home/pi/Desktop/images/21022025/00/47/image_21022025_00_48_07_10410.jpg', '/home/pi/Desktop/images/21022025/00/48/image_21022025_00_48_17_10335.jpg', '/home/pi/Desktop/images/21022025/00/48/image_21022025_00_48_26_9334.jpg', '/home/pi/Desktop/images/21022025/00/48/image_21022025_00_48_37_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/47/image_21022025_00_47_47_10331.jpg
/home/pi/Desktop/images/21022025/00/47/image_21022025_00_47_56_9345.jpg
/home/pi/Desktop/images/21022025/00/47/image_21022025_00_48_07_10410.jpg
/home/pi/Desktop/images/21022025/00/48/image_21022025_00_48_17_10335.jpg
/home/pi/Desktop/images/21022025/00/48/image_21022025_00_48_26_9334.jpg
/home/pi/Desktop/images/21022025/00/48/image_21022025_00_48_37_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338749630","1338749624","1338749626","1338749575","1338749629","1338749628"],"photo_ids_order":["1338749575","1338749624","1338749626","1338749628","1338749629","1338749630"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81ec3ce6bb11352df9c4ad001b062567.jpg","text":"TemporaryFile(/tmp/multipartBody1964037882253131637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108873502,"filename":"image_21022025_00_48_37_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a056c39a7a498b9111b13c16fca75f0.jpg","text":"TemporaryFile(/tmp/multipartBody3203255485485266715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108873502,"filename":"image_21022025_00_47_56_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0de0cbb0fb12900c8e163c1f55c6f5a8.jpg","text":"TemporaryFile(/tmp/multipartBody5630168145612585412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108873502,"filename":"image_21022025_00_48_07_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/058cb9443ff5f86d57b4f6c3511164ce.jpg","text":"TemporaryFile(/tmp/multipartBody2534716602434106774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108873502,"filename":"image_21022025_00_47_47_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1571872c5eaa4a34b14cfd6d8f266a29.jpg","text":"TemporaryFile(/tmp/multipartBody8970886297117790323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108873502,"filename":"image_21022025_00_48_26_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7f2dc1ad917349649bae3f097879b13.jpg","text":"TemporaryFile(/tmp/multipartBody2892871661013484214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108873502,"filename":"image_21022025_00_48_17_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338749626","file1":"1338749624","file0":"1338749575","file4":"1338749629","file5":"1338749630","file3":"1338749628"},"map_files_photo_id_array":[{"photo_id":"1338749630","filename":"file5"},{"photo_id":"1338749626","filename":"file2"},{"photo_id":"1338749629","filename":"file4"},{"photo_id":"1338749624","filename":"file1"},{"photo_id":"1338749575","filename":"file0"},{"photo_id":"1338749628","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338749630":["hashtag1","hashtag2"]},{"1338749624":["hashtag1","hashtag2"]},{"1338749626":["hashtag1","hashtag2"]},{"1338749575":["hashtag1","hashtag2"]},{"1338749629":["hashtag1","hashtag2"]},{"1338749628":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338749630, 1338749624, 1338749626, 1338749575, 1338749629, 1338749628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.326151847839355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:34:32.058589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/48/image_21022025_00_48_46_9310.jpg', '/home/pi/Desktop/images/21022025/00/48/image_21022025_00_48_56_10359.jpg', '/home/pi/Desktop/images/21022025/00/48/image_21022025_00_49_07_10339.jpg', '/home/pi/Desktop/images/21022025/00/49/image_21022025_00_49_16_9353.jpg', '/home/pi/Desktop/images/21022025/00/49/image_21022025_00_49_26_10357.jpg', '/home/pi/Desktop/images/21022025/00/49/image_21022025_00_49_37_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/48/image_21022025_00_48_46_9310.jpg
/home/pi/Desktop/images/21022025/00/48/image_21022025_00_48_56_10359.jpg
/home/pi/Desktop/images/21022025/00/48/image_21022025_00_49_07_10339.jpg
/home/pi/Desktop/images/21022025/00/49/image_21022025_00_49_16_9353.jpg
/home/pi/Desktop/images/21022025/00/49/image_21022025_00_49_26_10357.jpg
/home/pi/Desktop/images/21022025/00/49/image_21022025_00_49_37_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338750179","1338750173","1338750169","1338750178","1338749985","1338750118"],"photo_ids_order":["1338749985","1338750118","1338750169","1338750173","1338750178","1338750179"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0cf66996b0d8381edf7c5db7155b69c2.jpg","text":"TemporaryFile(/tmp/multipartBody327118601196002375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108932523,"filename":"image_21022025_00_49_37_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/20fda60fd4ce76156e9e39392bde9780.jpg","text":"TemporaryFile(/tmp/multipartBody5058394268805982910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108932523,"filename":"image_21022025_00_49_16_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/554b45231ff1553abd9f36ed308351de.jpg","text":"TemporaryFile(/tmp/multipartBody7046976923554271571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108932523,"filename":"image_21022025_00_49_07_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce156a1f965d915a8a49ceeea6d988b4.jpg","text":"TemporaryFile(/tmp/multipartBody5751815972704506693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108932523,"filename":"image_21022025_00_49_26_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b7fbaec88f05344a41a5178304b8a360.jpg","text":"TemporaryFile(/tmp/multipartBody1956874644029734952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108932523,"filename":"image_21022025_00_48_46_9310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b25dda64b168d65634ad2e5814c6ab0.jpg","text":"TemporaryFile(/tmp/multipartBody4766388557439450022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108932523,"filename":"image_21022025_00_48_56_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338750169","file1":"1338750118","file0":"1338749985","file4":"1338750178","file5":"1338750179","file3":"1338750173"},"map_files_photo_id_array":[{"photo_id":"1338750179","filename":"file5"},{"photo_id":"1338750169","filename":"file2"},{"photo_id":"1338750178","filename":"file4"},{"photo_id":"1338750118","filename":"file1"},{"photo_id":"1338749985","filename":"file0"},{"photo_id":"1338750173","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338750179":["hashtag1","hashtag2"]},{"1338750173":["hashtag1","hashtag2"]},{"1338750169":["hashtag1","hashtag2"]},{"1338750178":["hashtag1","hashtag2"]},{"1338749985":["hashtag1","hashtag2"]},{"1338750118":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338750179, 1338750173, 1338750169, 1338750178, 1338749985, 1338750118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14851260185242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:35:32.178638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/49/image_21022025_00_49_46_9317.jpg', '/home/pi/Desktop/images/21022025/00/49/image_21022025_00_49_56_10337.jpg', '/home/pi/Desktop/images/21022025/00/49/image_21022025_00_50_07_10398.jpg', '/home/pi/Desktop/images/21022025/00/50/image_21022025_00_50_16_9328.jpg', '/home/pi/Desktop/images/21022025/00/50/image_21022025_00_50_27_10405.jpg', '/home/pi/Desktop/images/21022025/00/50/image_21022025_00_50_37_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/49/image_21022025_00_49_46_9317.jpg
/home/pi/Desktop/images/21022025/00/49/image_21022025_00_49_56_10337.jpg
/home/pi/Desktop/images/21022025/00/49/image_21022025_00_50_07_10398.jpg
/home/pi/Desktop/images/21022025/00/50/image_21022025_00_50_16_9328.jpg
/home/pi/Desktop/images/21022025/00/50/image_21022025_00_50_27_10405.jpg
/home/pi/Desktop/images/21022025/00/50/image_21022025_00_50_37_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338750374","1338750455","1338750373","1338750376","1338750418","1338750372"],"photo_ids_order":["1338750372","1338750373","1338750374","1338750376","1338750418","1338750455"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1c26c37a2fc212aafd6c473d3d057156.jpg","text":"TemporaryFile(/tmp/multipartBody6836537321292076078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108992672,"filename":"image_21022025_00_50_07_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0373794591237c5adf91a6002205470a.jpg","text":"TemporaryFile(/tmp/multipartBody215228578744316540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108992672,"filename":"image_21022025_00_50_37_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6d8b9ebf6ec11e6cc81db05ae97adc3c.jpg","text":"TemporaryFile(/tmp/multipartBody2578074778820000113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108992672,"filename":"image_21022025_00_49_56_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/30e5d2c6af741194397b6370744deb2a.jpg","text":"TemporaryFile(/tmp/multipartBody8336020908128835173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108992672,"filename":"image_21022025_00_50_16_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/544cfce1d93ff49117ef97ffa490ed5e.jpg","text":"TemporaryFile(/tmp/multipartBody5729860295223149387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108992672,"filename":"image_21022025_00_50_27_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/642e12e973ee69de65eead1cca350b81.jpg","text":"TemporaryFile(/tmp/multipartBody9182540140589021099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740108992672,"filename":"image_21022025_00_49_46_9317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338750374","file1":"1338750373","file0":"1338750372","file4":"1338750418","file5":"1338750455","file3":"1338750376"},"map_files_photo_id_array":[{"photo_id":"1338750455","filename":"file5"},{"photo_id":"1338750374","filename":"file2"},{"photo_id":"1338750418","filename":"file4"},{"photo_id":"1338750373","filename":"file1"},{"photo_id":"1338750372","filename":"file0"},{"photo_id":"1338750376","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338750374":["hashtag1","hashtag2"]},{"1338750455":["hashtag1","hashtag2"]},{"1338750373":["hashtag1","hashtag2"]},{"1338750376":["hashtag1","hashtag2"]},{"1338750418":["hashtag1","hashtag2"]},{"1338750372":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338750374, 1338750455, 1338750373, 1338750376, 1338750418, 1338750372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.188714265823364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:36:32.581478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/50/image_21022025_00_50_46_9313.jpg', '/home/pi/Desktop/images/21022025/00/50/image_21022025_00_50_57_10355.jpg', '/home/pi/Desktop/images/21022025/00/50/image_21022025_00_51_07_10338.jpg', '/home/pi/Desktop/images/21022025/00/51/image_21022025_00_51_16_9321.jpg', '/home/pi/Desktop/images/21022025/00/51/image_21022025_00_51_27_10440.jpg', '/home/pi/Desktop/images/21022025/00/51/image_21022025_00_51_36_9326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/50/image_21022025_00_50_46_9313.jpg
/home/pi/Desktop/images/21022025/00/50/image_21022025_00_50_57_10355.jpg
/home/pi/Desktop/images/21022025/00/50/image_21022025_00_51_07_10338.jpg
/home/pi/Desktop/images/21022025/00/51/image_21022025_00_51_16_9321.jpg
/home/pi/Desktop/images/21022025/00/51/image_21022025_00_51_27_10440.jpg
/home/pi/Desktop/images/21022025/00/51/image_21022025_00_51_36_9326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338750494","1338750488","1338750496","1338750490","1338750492","1338750495"],"photo_ids_order":["1338750488","1338750490","1338750492","1338750494","1338750495","1338750496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/37bde131bc4448bcad282e7284e365a6.jpg","text":"TemporaryFile(/tmp/multipartBody6595853602172911064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109053046,"filename":"image_21022025_00_51_16_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/117fe240467f1e24b411e997091b0304.jpg","text":"TemporaryFile(/tmp/multipartBody7081030552981169161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109053046,"filename":"image_21022025_00_50_46_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c91c9277ad0ea86fa5d9fb9832ea6a34.jpg","text":"TemporaryFile(/tmp/multipartBody3185257954198551465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109053046,"filename":"image_21022025_00_51_36_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cbfeee349fe7225dc55acb4cbb7dcf42.jpg","text":"TemporaryFile(/tmp/multipartBody4894089901139837501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109053046,"filename":"image_21022025_00_50_57_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cfd874dd2e4a16f015b1a1f705d34486.jpg","text":"TemporaryFile(/tmp/multipartBody9200723397045786773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109053046,"filename":"image_21022025_00_51_07_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2745a08715dfd960ebd0d202a2d24c67.jpg","text":"TemporaryFile(/tmp/multipartBody5628582480746052436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109053046,"filename":"image_21022025_00_51_27_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338750492","file1":"1338750490","file0":"1338750488","file4":"1338750495","file5":"1338750496","file3":"1338750494"},"map_files_photo_id_array":[{"photo_id":"1338750496","filename":"file5"},{"photo_id":"1338750492","filename":"file2"},{"photo_id":"1338750495","filename":"file4"},{"photo_id":"1338750490","filename":"file1"},{"photo_id":"1338750488","filename":"file0"},{"photo_id":"1338750494","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338750494":["hashtag1","hashtag2"]},{"1338750488":["hashtag1","hashtag2"]},{"1338750496":["hashtag1","hashtag2"]},{"1338750490":["hashtag1","hashtag2"]},{"1338750492":["hashtag1","hashtag2"]},{"1338750495":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338750494, 1338750488, 1338750496, 1338750490, 1338750492, 1338750495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91032576560974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:37:32.645807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/51/image_21022025_00_51_46_10328.jpg', '/home/pi/Desktop/images/21022025/00/51/image_21022025_00_51_57_10351.jpg', '/home/pi/Desktop/images/21022025/00/51/image_21022025_00_52_06_9342.jpg', '/home/pi/Desktop/images/21022025/00/52/image_21022025_00_52_16_10351.jpg', '/home/pi/Desktop/images/21022025/00/52/image_21022025_00_52_27_10344.jpg', '/home/pi/Desktop/images/21022025/00/52/image_21022025_00_52_36_9328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/51/image_21022025_00_51_46_10328.jpg
/home/pi/Desktop/images/21022025/00/51/image_21022025_00_51_57_10351.jpg
/home/pi/Desktop/images/21022025/00/51/image_21022025_00_52_06_9342.jpg
/home/pi/Desktop/images/21022025/00/52/image_21022025_00_52_16_10351.jpg
/home/pi/Desktop/images/21022025/00/52/image_21022025_00_52_27_10344.jpg
/home/pi/Desktop/images/21022025/00/52/image_21022025_00_52_36_9328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338750504","1338750503","1338750509","1338750511","1338750505","1338750507"],"photo_ids_order":["1338750503","1338750504","1338750505","1338750507","1338750509","1338750511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/25343170f807ebf6fb02ea39f8b02838.jpg","text":"TemporaryFile(/tmp/multipartBody1582951023797837497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109113192,"filename":"image_21022025_00_51_57_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cec4786e6d885b65dd00f0366d8e1d1c.jpg","text":"TemporaryFile(/tmp/multipartBody1074561496789558647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109113192,"filename":"image_21022025_00_51_46_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61a526a70ecadb44510528c15013c048.jpg","text":"TemporaryFile(/tmp/multipartBody653016468560250182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109113192,"filename":"image_21022025_00_52_27_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8bfa4587fbfac26441da3b765b1decbe.jpg","text":"TemporaryFile(/tmp/multipartBody1085717370557893267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109113192,"filename":"image_21022025_00_52_36_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/69861c82741eae94d4a5fd165e383d7e.jpg","text":"TemporaryFile(/tmp/multipartBody4126603072122613702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109113192,"filename":"image_21022025_00_52_06_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/453fa17a772a0ad5cc6b335650baa5aa.jpg","text":"TemporaryFile(/tmp/multipartBody8213758678828633473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109113192,"filename":"image_21022025_00_52_16_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338750505","file1":"1338750504","file0":"1338750503","file4":"1338750509","file5":"1338750511","file3":"1338750507"},"map_files_photo_id_array":[{"photo_id":"1338750511","filename":"file5"},{"photo_id":"1338750505","filename":"file2"},{"photo_id":"1338750509","filename":"file4"},{"photo_id":"1338750504","filename":"file1"},{"photo_id":"1338750503","filename":"file0"},{"photo_id":"1338750507","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338750504":["hashtag1","hashtag2"]},{"1338750503":["hashtag1","hashtag2"]},{"1338750509":["hashtag1","hashtag2"]},{"1338750511":["hashtag1","hashtag2"]},{"1338750505":["hashtag1","hashtag2"]},{"1338750507":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338750504, 1338750503, 1338750509, 1338750511, 1338750505, 1338750507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22801756858826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:38:33.046104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/52/image_21022025_00_52_46_10340.jpg', '/home/pi/Desktop/images/21022025/00/52/image_21022025_00_52_57_10443.jpg', '/home/pi/Desktop/images/21022025/00/53/image_21022025_00_53_17_10348.jpg', '/home/pi/Desktop/images/21022025/00/53/image_21022025_00_53_26_9373.jpg', '/home/pi/Desktop/images/21022025/00/53/image_21022025_00_53_56_9334.jpg', '/home/pi/Desktop/images/21022025/00/53/image_21022025_00_54_06_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/52/image_21022025_00_52_46_10340.jpg
/home/pi/Desktop/images/21022025/00/52/image_21022025_00_52_57_10443.jpg
/home/pi/Desktop/images/21022025/00/53/image_21022025_00_53_17_10348.jpg
/home/pi/Desktop/images/21022025/00/53/image_21022025_00_53_26_9373.jpg
/home/pi/Desktop/images/21022025/00/53/image_21022025_00_53_56_9334.jpg
/home/pi/Desktop/images/21022025/00/53/image_21022025_00_54_06_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338750530","1338750524","1338750527","1338750529","1338750523","1338750525"],"photo_ids_order":["1338750523","1338750524","1338750525","1338750527","1338750529","1338750530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bdf9697b901f150fae8d6c862a0ee528.jpg","text":"TemporaryFile(/tmp/multipartBody6842158086956660122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109173599,"filename":"image_21022025_00_54_06_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/388fb6c67507deb2b842d58089a9c109.jpg","text":"TemporaryFile(/tmp/multipartBody790119012830501757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109173599,"filename":"image_21022025_00_52_57_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e34c3ae525a6d55fb29e4b787dc03b19.jpg","text":"TemporaryFile(/tmp/multipartBody477881035166547587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109173599,"filename":"image_21022025_00_53_26_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/419e31fd82477ccd9660d8034d53849c.jpg","text":"TemporaryFile(/tmp/multipartBody8237456635381390771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109173599,"filename":"image_21022025_00_53_56_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/048814aa9ad0f69b4caf986966396e09.jpg","text":"TemporaryFile(/tmp/multipartBody7613187327643163860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109173599,"filename":"image_21022025_00_52_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9a418ff5ca05b50abac370cf90e4118e.jpg","text":"TemporaryFile(/tmp/multipartBody7273601147954134204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109173599,"filename":"image_21022025_00_53_17_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338750525","file1":"1338750524","file0":"1338750523","file4":"1338750529","file5":"1338750530","file3":"1338750527"},"map_files_photo_id_array":[{"photo_id":"1338750530","filename":"file5"},{"photo_id":"1338750525","filename":"file2"},{"photo_id":"1338750529","filename":"file4"},{"photo_id":"1338750524","filename":"file1"},{"photo_id":"1338750523","filename":"file0"},{"photo_id":"1338750527","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338750530":["hashtag1","hashtag2"]},{"1338750524":["hashtag1","hashtag2"]},{"1338750527":["hashtag1","hashtag2"]},{"1338750529":["hashtag1","hashtag2"]},{"1338750523":["hashtag1","hashtag2"]},{"1338750525":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338750530, 1338750524, 1338750527, 1338750529, 1338750523, 1338750525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8769097328186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:39:32.302192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/54/image_21022025_00_54_36_10347.jpg', '/home/pi/Desktop/images/21022025/00/54/image_21022025_00_54_47_10332.jpg', '/home/pi/Desktop/images/21022025/00/54/image_21022025_00_54_56_9331.jpg', '/home/pi/Desktop/images/21022025/00/55/image_21022025_00_55_17_10409.jpg', '/home/pi/Desktop/images/21022025/00/55/image_21022025_00_55_37_10386.jpg', '/home/pi/Desktop/images/21022025/00/55/image_21022025_00_55_47_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/54/image_21022025_00_54_36_10347.jpg
/home/pi/Desktop/images/21022025/00/54/image_21022025_00_54_47_10332.jpg
/home/pi/Desktop/images/21022025/00/54/image_21022025_00_54_56_9331.jpg
/home/pi/Desktop/images/21022025/00/55/image_21022025_00_55_17_10409.jpg
/home/pi/Desktop/images/21022025/00/55/image_21022025_00_55_37_10386.jpg
/home/pi/Desktop/images/21022025/00/55/image_21022025_00_55_47_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338750545","1338750539","1338750547","1338750541","1338750543","1338750540"],"photo_ids_order":["1338750539","1338750540","1338750541","1338750543","1338750545","1338750547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4256407e6038a07963b6ec8b80fa5b68.jpg","text":"TemporaryFile(/tmp/multipartBody6478547447664977946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109232801,"filename":"image_21022025_00_55_37_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/add391f6426469042fe73a3cca4cfa1f.jpg","text":"TemporaryFile(/tmp/multipartBody927245813065870053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109232801,"filename":"image_21022025_00_54_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bfff61b045a57f5c99dc726ef905bd05.jpg","text":"TemporaryFile(/tmp/multipartBody5150283515650175441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109232801,"filename":"image_21022025_00_55_47_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1031ad51123b80d8e87baf75da82168d.jpg","text":"TemporaryFile(/tmp/multipartBody3076519195522889335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109232801,"filename":"image_21022025_00_54_56_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1e91f45447f4ddc1ef8808fbd0d21cda.jpg","text":"TemporaryFile(/tmp/multipartBody2323131143212064702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109232801,"filename":"image_21022025_00_55_17_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/deda1eee862ce36da35df416f4724412.jpg","text":"TemporaryFile(/tmp/multipartBody2936527896279807559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109232801,"filename":"image_21022025_00_54_47_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338750541","file1":"1338750540","file0":"1338750539","file4":"1338750545","file5":"1338750547","file3":"1338750543"},"map_files_photo_id_array":[{"photo_id":"1338750547","filename":"file5"},{"photo_id":"1338750541","filename":"file2"},{"photo_id":"1338750545","filename":"file4"},{"photo_id":"1338750540","filename":"file1"},{"photo_id":"1338750539","filename":"file0"},{"photo_id":"1338750543","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338750545":["hashtag1","hashtag2"]},{"1338750539":["hashtag1","hashtag2"]},{"1338750547":["hashtag1","hashtag2"]},{"1338750541":["hashtag1","hashtag2"]},{"1338750543":["hashtag1","hashtag2"]},{"1338750540":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338750545, 1338750539, 1338750547, 1338750541, 1338750543, 1338750540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00594210624695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:40:32.439027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/55/image_21022025_00_55_56_9335.jpg', '/home/pi/Desktop/images/21022025/00/55/image_21022025_00_56_07_10343.jpg', '/home/pi/Desktop/images/21022025/00/56/image_21022025_00_56_17_10338.jpg', '/home/pi/Desktop/images/21022025/00/56/image_21022025_00_56_26_9347.jpg', '/home/pi/Desktop/images/21022025/00/56/image_21022025_00_56_37_10349.jpg', '/home/pi/Desktop/images/21022025/00/56/image_21022025_00_56_46_9329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/55/image_21022025_00_55_56_9335.jpg
/home/pi/Desktop/images/21022025/00/55/image_21022025_00_56_07_10343.jpg
/home/pi/Desktop/images/21022025/00/56/image_21022025_00_56_17_10338.jpg
/home/pi/Desktop/images/21022025/00/56/image_21022025_00_56_26_9347.jpg
/home/pi/Desktop/images/21022025/00/56/image_21022025_00_56_37_10349.jpg
/home/pi/Desktop/images/21022025/00/56/image_21022025_00_56_46_9329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338750572","1338750617","1338750571","1338750574","1338750570","1338750612"],"photo_ids_order":["1338750570","1338750571","1338750572","1338750574","1338750612","1338750617"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9f76468d10e1b4564348ed953dd224fe.jpg","text":"TemporaryFile(/tmp/multipartBody1961088622986359176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109292908,"filename":"image_21022025_00_56_17_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e5275a7eefdfec5b56120b3efebdd1d.jpg","text":"TemporaryFile(/tmp/multipartBody8650652067812486122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109292908,"filename":"image_21022025_00_56_46_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/741d551fa60baf38c69c2ae07afb9468.jpg","text":"TemporaryFile(/tmp/multipartBody4820992606778881069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109292908,"filename":"image_21022025_00_56_07_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1089fdc00c55455c808aa95f09c0a918.jpg","text":"TemporaryFile(/tmp/multipartBody3587770245995872292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109292908,"filename":"image_21022025_00_56_26_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/36964ac5e0dcfedc68c6e991158d85e7.jpg","text":"TemporaryFile(/tmp/multipartBody6440405199167988635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109292908,"filename":"image_21022025_00_55_56_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ad8542498d4d00598d9ccb6926c925fd.jpg","text":"TemporaryFile(/tmp/multipartBody794890086161483489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109292908,"filename":"image_21022025_00_56_37_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338750572","file1":"1338750571","file0":"1338750570","file4":"1338750612","file5":"1338750617","file3":"1338750574"},"map_files_photo_id_array":[{"photo_id":"1338750617","filename":"file5"},{"photo_id":"1338750572","filename":"file2"},{"photo_id":"1338750612","filename":"file4"},{"photo_id":"1338750571","filename":"file1"},{"photo_id":"1338750570","filename":"file0"},{"photo_id":"1338750574","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338750572":["hashtag1","hashtag2"]},{"1338750617":["hashtag1","hashtag2"]},{"1338750571":["hashtag1","hashtag2"]},{"1338750574":["hashtag1","hashtag2"]},{"1338750570":["hashtag1","hashtag2"]},{"1338750612":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338750572, 1338750617, 1338750571, 1338750574, 1338750570, 1338750612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03204655647278 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:41:32.685597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/56/image_21022025_00_56_56_10353.jpg', '/home/pi/Desktop/images/21022025/00/56/image_21022025_00_57_07_10376.jpg', '/home/pi/Desktop/images/21022025/00/57/image_21022025_00_57_16_9310.jpg', '/home/pi/Desktop/images/21022025/00/57/image_21022025_00_57_26_10344.jpg', '/home/pi/Desktop/images/21022025/00/57/image_21022025_00_57_37_10445.jpg', '/home/pi/Desktop/images/21022025/00/57/image_21022025_00_57_46_9318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/56/image_21022025_00_56_56_10353.jpg
/home/pi/Desktop/images/21022025/00/56/image_21022025_00_57_07_10376.jpg
/home/pi/Desktop/images/21022025/00/57/image_21022025_00_57_16_9310.jpg
/home/pi/Desktop/images/21022025/00/57/image_21022025_00_57_26_10344.jpg
/home/pi/Desktop/images/21022025/00/57/image_21022025_00_57_37_10445.jpg
/home/pi/Desktop/images/21022025/00/57/image_21022025_00_57_46_9318.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38369011878967285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 04:41:42.726038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/56/image_21022025_00_56_56_10353.jpg', '/home/pi/Desktop/images/21022025/00/56/image_21022025_00_57_07_10376.jpg', '/home/pi/Desktop/images/21022025/00/57/image_21022025_00_57_16_9310.jpg', '/home/pi/Desktop/images/21022025/00/57/image_21022025_00_57_26_10344.jpg', '/home/pi/Desktop/images/21022025/00/57/image_21022025_00_57_37_10445.jpg', '/home/pi/Desktop/images/21022025/00/57/image_21022025_00_57_46_9318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/56/image_21022025_00_56_56_10353.jpg
/home/pi/Desktop/images/21022025/00/56/image_21022025_00_57_07_10376.jpg
/home/pi/Desktop/images/21022025/00/57/image_21022025_00_57_16_9310.jpg
/home/pi/Desktop/images/21022025/00/57/image_21022025_00_57_26_10344.jpg
/home/pi/Desktop/images/21022025/00/57/image_21022025_00_57_37_10445.jpg
/home/pi/Desktop/images/21022025/00/57/image_21022025_00_57_46_9318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338750653","1338750661","1338750643","1338750640","1338750637","1338750660"],"photo_ids_order":["1338750637","1338750640","1338750643","1338750653","1338750660","1338750661"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b081ae27b4c5fb641d6ae5916d5ee889.jpg","text":"TemporaryFile(/tmp/multipartBody7487112631651815467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109363197,"filename":"image_21022025_00_57_26_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f357174fbcee9f4bf5df3ee3d28a57c7.jpg","text":"TemporaryFile(/tmp/multipartBody8646409720010483589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109363197,"filename":"image_21022025_00_57_46_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3e2d7a989b9e6605a83084058cc17700.jpg","text":"TemporaryFile(/tmp/multipartBody5711704232704757926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109363197,"filename":"image_21022025_00_57_16_9310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/48553b914621d022cace0e7bbeb0470d.jpg","text":"TemporaryFile(/tmp/multipartBody5125710733054960542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109363197,"filename":"image_21022025_00_57_07_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b29d788edfa8f23f99253cca0aaf217a.jpg","text":"TemporaryFile(/tmp/multipartBody7026797306643044546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109363197,"filename":"image_21022025_00_56_56_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5d1264f1614e5334900cf5b19dfa4258.jpg","text":"TemporaryFile(/tmp/multipartBody2722398153078069537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109363197,"filename":"image_21022025_00_57_37_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338750643","file1":"1338750640","file0":"1338750637","file4":"1338750660","file5":"1338750661","file3":"1338750653"},"map_files_photo_id_array":[{"photo_id":"1338750661","filename":"file5"},{"photo_id":"1338750643","filename":"file2"},{"photo_id":"1338750660","filename":"file4"},{"photo_id":"1338750640","filename":"file1"},{"photo_id":"1338750637","filename":"file0"},{"photo_id":"1338750653","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338750653":["hashtag1","hashtag2"]},{"1338750661":["hashtag1","hashtag2"]},{"1338750643":["hashtag1","hashtag2"]},{"1338750640":["hashtag1","hashtag2"]},{"1338750637":["hashtag1","hashtag2"]},{"1338750660":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338750653, 1338750661, 1338750643, 1338750640, 1338750637, 1338750660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76636528968811 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:42:32.905470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/57/image_21022025_00_57_56_10181.jpg', '/home/pi/Desktop/images/21022025/00/57/image_21022025_00_58_07_10406.jpg', '/home/pi/Desktop/images/21022025/00/58/image_21022025_00_58_47_10396.jpg', '/home/pi/Desktop/images/21022025/00/58/image_21022025_00_58_56_9399.jpg', '/home/pi/Desktop/images/21022025/00/58/image_21022025_00_59_07_10360.jpg', '/home/pi/Desktop/images/21022025/00/59/image_21022025_00_59_16_9318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/57/image_21022025_00_57_56_10181.jpg
/home/pi/Desktop/images/21022025/00/57/image_21022025_00_58_07_10406.jpg
/home/pi/Desktop/images/21022025/00/58/image_21022025_00_58_47_10396.jpg
/home/pi/Desktop/images/21022025/00/58/image_21022025_00_58_56_9399.jpg
/home/pi/Desktop/images/21022025/00/58/image_21022025_00_59_07_10360.jpg
/home/pi/Desktop/images/21022025/00/59/image_21022025_00_59_16_9318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338750671","1338750665","1338750668","1338750670","1338750672","1338750666"],"photo_ids_order":["1338750665","1338750666","1338750668","1338750670","1338750671","1338750672"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/29ad579fab862f707a9bcf801d290377.jpg","text":"TemporaryFile(/tmp/multipartBody1553834084467838848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109413396,"filename":"image_21022025_00_59_07_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1163df2a97cf78b393f465a658230ae0.jpg","text":"TemporaryFile(/tmp/multipartBody1846952321565307492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109413396,"filename":"image_21022025_00_57_56_10181.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b27fe9d14ed58707fa4851430cbdb2b5.jpg","text":"TemporaryFile(/tmp/multipartBody6970310018875415279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109413396,"filename":"image_21022025_00_58_47_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/67be680e29e126649cd1b47a7f1403b4.jpg","text":"TemporaryFile(/tmp/multipartBody284826971919293412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109413396,"filename":"image_21022025_00_58_56_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e2694cc48fc27787505fd0dacc6c40a1.jpg","text":"TemporaryFile(/tmp/multipartBody8712866483955536321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109413396,"filename":"image_21022025_00_59_16_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1070431d68d3e45c04b6610d01a3e4aa.jpg","text":"TemporaryFile(/tmp/multipartBody2447664488420471999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109413396,"filename":"image_21022025_00_58_07_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338750668","file1":"1338750666","file0":"1338750665","file4":"1338750671","file5":"1338750672","file3":"1338750670"},"map_files_photo_id_array":[{"photo_id":"1338750672","filename":"file5"},{"photo_id":"1338750668","filename":"file2"},{"photo_id":"1338750671","filename":"file4"},{"photo_id":"1338750666","filename":"file1"},{"photo_id":"1338750665","filename":"file0"},{"photo_id":"1338750670","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338750671":["hashtag1","hashtag2"]},{"1338750665":["hashtag1","hashtag2"]},{"1338750668":["hashtag1","hashtag2"]},{"1338750670":["hashtag1","hashtag2"]},{"1338750672":["hashtag1","hashtag2"]},{"1338750666":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338750671, 1338750665, 1338750668, 1338750670, 1338750672, 1338750666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91382575035095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:43:33.220556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/00/59/image_21022025_00_59_26_10411.jpg', '/home/pi/Desktop/images/21022025/00/59/image_21022025_00_59_37_10359.jpg', '/home/pi/Desktop/images/21022025/00/59/image_21022025_00_59_46_9312.jpg', '/home/pi/Desktop/images/21022025/01/00/image_21022025_01_00_15_10078.jpg', '/home/pi/Desktop/images/21022025/01/00/image_21022025_01_00_25_10344.jpg', '/home/pi/Desktop/images/21022025/01/00/image_21022025_01_00_36_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/00/59/image_21022025_00_59_26_10411.jpg
/home/pi/Desktop/images/21022025/00/59/image_21022025_00_59_37_10359.jpg
/home/pi/Desktop/images/21022025/00/59/image_21022025_00_59_46_9312.jpg
/home/pi/Desktop/images/21022025/01/00/image_21022025_01_00_15_10078.jpg
/home/pi/Desktop/images/21022025/01/00/image_21022025_01_00_25_10344.jpg
/home/pi/Desktop/images/21022025/01/00/image_21022025_01_00_36_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338750689","1338750682","1338750679","1338750715","1338750699","1338750690"],"photo_ids_order":["1338750679","1338750682","1338750689","1338750690","1338750699","1338750715"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/635fdb92e197794cae3bfccbded68ec5.jpg","text":"TemporaryFile(/tmp/multipartBody3952899253409767475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109473688,"filename":"image_21022025_00_59_46_9312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/af13db654737d5aafd317c995018c42d.jpg","text":"TemporaryFile(/tmp/multipartBody1681318968125237998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109473688,"filename":"image_21022025_00_59_37_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/71d943b35e3f1177a9102f000d6e4293.jpg","text":"TemporaryFile(/tmp/multipartBody6106407500804750994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109473688,"filename":"image_21022025_00_59_26_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04d87adea90b984ef82c5c85c6916411.jpg","text":"TemporaryFile(/tmp/multipartBody6118775645534350793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109473688,"filename":"image_21022025_01_00_36_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/97c1214b03464b1eaef088c1be1cbd33.jpg","text":"TemporaryFile(/tmp/multipartBody5453476618999606996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109473688,"filename":"image_21022025_01_00_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a8a8c72b9f01a2b80160e70328faf34d.jpg","text":"TemporaryFile(/tmp/multipartBody3565873670430701494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109473688,"filename":"image_21022025_01_00_15_10078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338750689","file1":"1338750682","file0":"1338750679","file4":"1338750699","file5":"1338750715","file3":"1338750690"},"map_files_photo_id_array":[{"photo_id":"1338750715","filename":"file5"},{"photo_id":"1338750689","filename":"file2"},{"photo_id":"1338750699","filename":"file4"},{"photo_id":"1338750682","filename":"file1"},{"photo_id":"1338750679","filename":"file0"},{"photo_id":"1338750690","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338750689":["hashtag1","hashtag2"]},{"1338750682":["hashtag1","hashtag2"]},{"1338750679":["hashtag1","hashtag2"]},{"1338750715":["hashtag1","hashtag2"]},{"1338750699":["hashtag1","hashtag2"]},{"1338750690":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338750689, 1338750682, 1338750679, 1338750715, 1338750699, 1338750690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.68993878364563 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:44:32.157131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/00/image_21022025_01_00_45_9319.jpg', '/home/pi/Desktop/images/21022025/01/00/image_21022025_01_01_06_10440.jpg', '/home/pi/Desktop/images/21022025/01/01/image_21022025_01_01_15_9431.jpg', '/home/pi/Desktop/images/21022025/01/01/image_21022025_01_01_25_10328.jpg', '/home/pi/Desktop/images/21022025/01/01/image_21022025_01_01_45_10402.jpg', '/home/pi/Desktop/images/21022025/01/01/image_21022025_01_01_56_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/00/image_21022025_01_00_45_9319.jpg
/home/pi/Desktop/images/21022025/01/00/image_21022025_01_01_06_10440.jpg
/home/pi/Desktop/images/21022025/01/01/image_21022025_01_01_15_9431.jpg
/home/pi/Desktop/images/21022025/01/01/image_21022025_01_01_25_10328.jpg
/home/pi/Desktop/images/21022025/01/01/image_21022025_01_01_45_10402.jpg
/home/pi/Desktop/images/21022025/01/01/image_21022025_01_01_56_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338750749","1338750728","1338750743","1338750725","1338750730","1338750727"],"photo_ids_order":["1338750725","1338750727","1338750728","1338750730","1338750743","1338750749"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dac9b4ee2f4799c9614613c409158c2a.jpg","text":"TemporaryFile(/tmp/multipartBody9217285196602433649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109532626,"filename":"image_21022025_01_01_56_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ff9fc7e95ab7f4bcf706186fb82d12a.jpg","text":"TemporaryFile(/tmp/multipartBody6916644763923232598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109532626,"filename":"image_21022025_01_01_15_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7f17964a0a2cd9ad38baae67e892bcdc.jpg","text":"TemporaryFile(/tmp/multipartBody129046633617704264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109532626,"filename":"image_21022025_01_01_45_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fdeefbacdde9b4d0c98cb44e2f5c6ba5.jpg","text":"TemporaryFile(/tmp/multipartBody1173769113591012036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109532626,"filename":"image_21022025_01_00_45_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e86f2c67df0f5de782784d7d3a3e1fd3.jpg","text":"TemporaryFile(/tmp/multipartBody5009725174351135630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109532626,"filename":"image_21022025_01_01_25_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0c537d47b0d02254f0c353ae7347d50e.jpg","text":"TemporaryFile(/tmp/multipartBody8544970793033750480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109532626,"filename":"image_21022025_01_01_06_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338750728","file1":"1338750727","file0":"1338750725","file4":"1338750743","file5":"1338750749","file3":"1338750730"},"map_files_photo_id_array":[{"photo_id":"1338750749","filename":"file5"},{"photo_id":"1338750728","filename":"file2"},{"photo_id":"1338750743","filename":"file4"},{"photo_id":"1338750727","filename":"file1"},{"photo_id":"1338750725","filename":"file0"},{"photo_id":"1338750730","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338750749":["hashtag1","hashtag2"]},{"1338750728":["hashtag1","hashtag2"]},{"1338750743":["hashtag1","hashtag2"]},{"1338750725":["hashtag1","hashtag2"]},{"1338750730":["hashtag1","hashtag2"]},{"1338750727":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338750749, 1338750728, 1338750743, 1338750725, 1338750730, 1338750727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9459388256073 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:45:32.400475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/02/image_21022025_01_02_15_10330.jpg', '/home/pi/Desktop/images/21022025/01/02/image_21022025_01_02_35_9324.jpg', '/home/pi/Desktop/images/21022025/01/02/image_21022025_01_02_45_10361.jpg', '/home/pi/Desktop/images/21022025/01/02/image_21022025_01_03_05_9327.jpg', '/home/pi/Desktop/images/21022025/01/03/image_21022025_01_03_15_10346.jpg', '/home/pi/Desktop/images/21022025/01/03/image_21022025_01_03_35_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/02/image_21022025_01_02_15_10330.jpg
/home/pi/Desktop/images/21022025/01/02/image_21022025_01_02_35_9324.jpg
/home/pi/Desktop/images/21022025/01/02/image_21022025_01_02_45_10361.jpg
/home/pi/Desktop/images/21022025/01/02/image_21022025_01_03_05_9327.jpg
/home/pi/Desktop/images/21022025/01/03/image_21022025_01_03_15_10346.jpg
/home/pi/Desktop/images/21022025/01/03/image_21022025_01_03_35_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338750791","1338750785","1338750788","1338750790","1338750787","1338750789"],"photo_ids_order":["1338750785","1338750787","1338750788","1338750789","1338750790","1338750791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bc20cac32db99e9b3c398c5b33820fb6.jpg","text":"TemporaryFile(/tmp/multipartBody6629103313087378223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109592867,"filename":"image_21022025_01_03_35_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c68516ce3c183974fc39266e33754d17.jpg","text":"TemporaryFile(/tmp/multipartBody6740661514188657302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109592867,"filename":"image_21022025_01_02_15_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/21271504b80ad9b84f7f389d958f152c.jpg","text":"TemporaryFile(/tmp/multipartBody1889654379268032220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109592867,"filename":"image_21022025_01_02_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f811822020dc567972d5d3e1acc91d0b.jpg","text":"TemporaryFile(/tmp/multipartBody3040135704942956344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109592867,"filename":"image_21022025_01_03_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02599085e98fd2e67dd2e23f32903fde.jpg","text":"TemporaryFile(/tmp/multipartBody8966307792603631462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109592867,"filename":"image_21022025_01_02_35_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c45897fec7a613c7fdc59998a393786.jpg","text":"TemporaryFile(/tmp/multipartBody2018855118515671390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109592867,"filename":"image_21022025_01_03_05_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338750788","file1":"1338750787","file0":"1338750785","file4":"1338750790","file5":"1338750791","file3":"1338750789"},"map_files_photo_id_array":[{"photo_id":"1338750791","filename":"file5"},{"photo_id":"1338750788","filename":"file2"},{"photo_id":"1338750790","filename":"file4"},{"photo_id":"1338750787","filename":"file1"},{"photo_id":"1338750785","filename":"file0"},{"photo_id":"1338750789","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338750791":["hashtag1","hashtag2"]},{"1338750785":["hashtag1","hashtag2"]},{"1338750788":["hashtag1","hashtag2"]},{"1338750790":["hashtag1","hashtag2"]},{"1338750787":["hashtag1","hashtag2"]},{"1338750789":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338750791, 1338750785, 1338750788, 1338750790, 1338750787, 1338750789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19995641708374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:46:32.595114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/03/image_21022025_01_03_45_10332.jpg', '/home/pi/Desktop/images/21022025/01/03/image_21022025_01_04_05_10435.jpg', '/home/pi/Desktop/images/21022025/01/04/image_21022025_01_04_35_10336.jpg', '/home/pi/Desktop/images/21022025/01/04/image_21022025_01_04_55_9352.jpg', '/home/pi/Desktop/images/21022025/01/05/image_21022025_01_05_45_9393.jpg', '/home/pi/Desktop/images/21022025/01/05/image_21022025_01_05_55_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/03/image_21022025_01_03_45_10332.jpg
/home/pi/Desktop/images/21022025/01/03/image_21022025_01_04_05_10435.jpg
/home/pi/Desktop/images/21022025/01/04/image_21022025_01_04_35_10336.jpg
/home/pi/Desktop/images/21022025/01/04/image_21022025_01_04_55_9352.jpg
/home/pi/Desktop/images/21022025/01/05/image_21022025_01_05_45_9393.jpg
/home/pi/Desktop/images/21022025/01/05/image_21022025_01_05_55_10442.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3842449188232422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 04:46:42.551497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/03/image_21022025_01_03_45_10332.jpg', '/home/pi/Desktop/images/21022025/01/03/image_21022025_01_04_05_10435.jpg', '/home/pi/Desktop/images/21022025/01/04/image_21022025_01_04_35_10336.jpg', '/home/pi/Desktop/images/21022025/01/04/image_21022025_01_04_55_9352.jpg', '/home/pi/Desktop/images/21022025/01/05/image_21022025_01_05_45_9393.jpg', '/home/pi/Desktop/images/21022025/01/05/image_21022025_01_05_55_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/03/image_21022025_01_03_45_10332.jpg
/home/pi/Desktop/images/21022025/01/03/image_21022025_01_04_05_10435.jpg
/home/pi/Desktop/images/21022025/01/04/image_21022025_01_04_35_10336.jpg
/home/pi/Desktop/images/21022025/01/04/image_21022025_01_04_55_9352.jpg
/home/pi/Desktop/images/21022025/01/05/image_21022025_01_05_45_9393.jpg
/home/pi/Desktop/images/21022025/01/05/image_21022025_01_05_55_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338750895","1338750891","1338750885","1338750894","1338750888","1338750896"],"photo_ids_order":["1338750885","1338750888","1338750891","1338750894","1338750895","1338750896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04fb382a8a9fcf3fe54b3aaeb6ec9cbd.jpg","text":"TemporaryFile(/tmp/multipartBody2458022754526973214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109663019,"filename":"image_21022025_01_05_45_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8b206daa2a2670dc8775d586424ab5d.jpg","text":"TemporaryFile(/tmp/multipartBody6938465208457407723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109663019,"filename":"image_21022025_01_04_35_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7753d72ba25bd371852267e1b563a319.jpg","text":"TemporaryFile(/tmp/multipartBody6829062792411439811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109663019,"filename":"image_21022025_01_03_45_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/28b1e3b317b814091e6b7c33ad476cda.jpg","text":"TemporaryFile(/tmp/multipartBody7854586055166121936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109663019,"filename":"image_21022025_01_04_55_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae3dfffb486ecdb1e5214b375eeca2ae.jpg","text":"TemporaryFile(/tmp/multipartBody3644196826596258927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109663019,"filename":"image_21022025_01_04_05_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/890f211040b67be7d5e580b4e12666f6.jpg","text":"TemporaryFile(/tmp/multipartBody5806614580644268179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109663019,"filename":"image_21022025_01_05_55_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338750891","file1":"1338750888","file0":"1338750885","file4":"1338750895","file5":"1338750896","file3":"1338750894"},"map_files_photo_id_array":[{"photo_id":"1338750896","filename":"file5"},{"photo_id":"1338750891","filename":"file2"},{"photo_id":"1338750895","filename":"file4"},{"photo_id":"1338750888","filename":"file1"},{"photo_id":"1338750885","filename":"file0"},{"photo_id":"1338750894","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338750895":["hashtag1","hashtag2"]},{"1338750891":["hashtag1","hashtag2"]},{"1338750885":["hashtag1","hashtag2"]},{"1338750894":["hashtag1","hashtag2"]},{"1338750888":["hashtag1","hashtag2"]},{"1338750896":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338750895, 1338750891, 1338750885, 1338750894, 1338750888, 1338750896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.194355726242065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:47:32.781241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/05/image_21022025_01_06_06_10406.jpg', '/home/pi/Desktop/images/21022025/01/06/image_21022025_01_06_25_10349.jpg', '/home/pi/Desktop/images/21022025/01/07/image_21022025_01_07_26_10409.jpg', '/home/pi/Desktop/images/21022025/01/07/image_21022025_01_07_45_10338.jpg', '/home/pi/Desktop/images/21022025/01/07/image_21022025_01_07_56_10398.jpg', '/home/pi/Desktop/images/21022025/01/07/image_21022025_01_08_05_9323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/05/image_21022025_01_06_06_10406.jpg
/home/pi/Desktop/images/21022025/01/06/image_21022025_01_06_25_10349.jpg
/home/pi/Desktop/images/21022025/01/07/image_21022025_01_07_26_10409.jpg
/home/pi/Desktop/images/21022025/01/07/image_21022025_01_07_45_10338.jpg
/home/pi/Desktop/images/21022025/01/07/image_21022025_01_07_56_10398.jpg
/home/pi/Desktop/images/21022025/01/07/image_21022025_01_08_05_9323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338750956","1338750950","1338750938","1338750940","1338750942","1338750924"],"photo_ids_order":["1338750924","1338750938","1338750940","1338750942","1338750950","1338750956"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90fb3b673ba6e2e9a55453274043312f.jpg","text":"TemporaryFile(/tmp/multipartBody7194092193949386017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109713250,"filename":"image_21022025_01_08_05_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cbb98980db16ad16070cb796a657b471.jpg","text":"TemporaryFile(/tmp/multipartBody3866753830573344926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109713250,"filename":"image_21022025_01_07_56_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7262d675a1eb26a13037c23e2622de3.jpg","text":"TemporaryFile(/tmp/multipartBody1186262803213082919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109713250,"filename":"image_21022025_01_06_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0c8ea49d8c999415f2aab6628643c42b.jpg","text":"TemporaryFile(/tmp/multipartBody6332672417829564136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109713250,"filename":"image_21022025_01_07_26_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/12f8273f6d91324daaad417380597ec1.jpg","text":"TemporaryFile(/tmp/multipartBody118328616443834595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109713250,"filename":"image_21022025_01_07_45_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ecef7b43dfc07cf540ac9a70fd095fef.jpg","text":"TemporaryFile(/tmp/multipartBody5583136156757143137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109713250,"filename":"image_21022025_01_06_06_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338750940","file1":"1338750938","file0":"1338750924","file4":"1338750950","file5":"1338750956","file3":"1338750942"},"map_files_photo_id_array":[{"photo_id":"1338750956","filename":"file5"},{"photo_id":"1338750940","filename":"file2"},{"photo_id":"1338750950","filename":"file4"},{"photo_id":"1338750938","filename":"file1"},{"photo_id":"1338750924","filename":"file0"},{"photo_id":"1338750942","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338750956":["hashtag1","hashtag2"]},{"1338750950":["hashtag1","hashtag2"]},{"1338750938":["hashtag1","hashtag2"]},{"1338750940":["hashtag1","hashtag2"]},{"1338750942":["hashtag1","hashtag2"]},{"1338750924":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338750956, 1338750950, 1338750938, 1338750940, 1338750942, 1338750924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.132256269454956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:48:33.023601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/08/image_21022025_01_08_15_10327.jpg', '/home/pi/Desktop/images/21022025/01/08/image_21022025_01_08_26_10330.jpg', '/home/pi/Desktop/images/21022025/01/08/image_21022025_01_08_45_10326.jpg', '/home/pi/Desktop/images/21022025/01/08/image_21022025_01_08_56_10422.jpg', '/home/pi/Desktop/images/21022025/01/09/image_21022025_01_09_15_10334.jpg', '/home/pi/Desktop/images/21022025/01/09/image_21022025_01_09_25_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/08/image_21022025_01_08_15_10327.jpg
/home/pi/Desktop/images/21022025/01/08/image_21022025_01_08_26_10330.jpg
/home/pi/Desktop/images/21022025/01/08/image_21022025_01_08_45_10326.jpg
/home/pi/Desktop/images/21022025/01/08/image_21022025_01_08_56_10422.jpg
/home/pi/Desktop/images/21022025/01/09/image_21022025_01_09_15_10334.jpg
/home/pi/Desktop/images/21022025/01/09/image_21022025_01_09_25_9385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338751177","1338751191","1338751170","1338751173","1338751193","1338751187"],"photo_ids_order":["1338751170","1338751173","1338751177","1338751187","1338751191","1338751193"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4e37e7eb7309cf7877b8d47f7189d31d.jpg","text":"TemporaryFile(/tmp/multipartBody5910715038923639032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109773507,"filename":"image_21022025_01_08_45_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/49df73e886570c28ef705ee8d979303f.jpg","text":"TemporaryFile(/tmp/multipartBody2923659116687285065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109773507,"filename":"image_21022025_01_09_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5a4ac2bf9be304c14603d50fde32c881.jpg","text":"TemporaryFile(/tmp/multipartBody9190416482142417992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109773507,"filename":"image_21022025_01_08_15_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/54d69e9c6db72794a82514d271243af9.jpg","text":"TemporaryFile(/tmp/multipartBody1935852599843409197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109773507,"filename":"image_21022025_01_08_26_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/767d34b4338e3a8f7d3412e4ba8be2c9.jpg","text":"TemporaryFile(/tmp/multipartBody6200208746364066736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109773507,"filename":"image_21022025_01_09_25_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/642474568f18c49e31b7657b07c5359b.jpg","text":"TemporaryFile(/tmp/multipartBody9144937331202759158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109773507,"filename":"image_21022025_01_08_56_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338751177","file1":"1338751173","file0":"1338751170","file4":"1338751191","file5":"1338751193","file3":"1338751187"},"map_files_photo_id_array":[{"photo_id":"1338751193","filename":"file5"},{"photo_id":"1338751177","filename":"file2"},{"photo_id":"1338751191","filename":"file4"},{"photo_id":"1338751173","filename":"file1"},{"photo_id":"1338751170","filename":"file0"},{"photo_id":"1338751187","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338751177":["hashtag1","hashtag2"]},{"1338751191":["hashtag1","hashtag2"]},{"1338751170":["hashtag1","hashtag2"]},{"1338751173":["hashtag1","hashtag2"]},{"1338751193":["hashtag1","hashtag2"]},{"1338751187":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338751177, 1338751191, 1338751170, 1338751173, 1338751193, 1338751187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67123007774353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:49:32.060097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/09/image_21022025_01_09_55_9339.jpg', '/home/pi/Desktop/images/21022025/01/10/image_21022025_01_10_16_10355.jpg', '/home/pi/Desktop/images/21022025/01/10/image_21022025_01_10_46_10356.jpg', '/home/pi/Desktop/images/21022025/01/10/image_21022025_01_10_55_9342.jpg', '/home/pi/Desktop/images/21022025/01/10/image_21022025_01_11_05_10339.jpg', '/home/pi/Desktop/images/21022025/01/11/image_21022025_01_11_16_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/09/image_21022025_01_09_55_9339.jpg
/home/pi/Desktop/images/21022025/01/10/image_21022025_01_10_16_10355.jpg
/home/pi/Desktop/images/21022025/01/10/image_21022025_01_10_46_10356.jpg
/home/pi/Desktop/images/21022025/01/10/image_21022025_01_10_55_9342.jpg
/home/pi/Desktop/images/21022025/01/10/image_21022025_01_11_05_10339.jpg
/home/pi/Desktop/images/21022025/01/11/image_21022025_01_11_16_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338751294","1338751313","1338751288","1338751311","1338751314","1338751292"],"photo_ids_order":["1338751288","1338751292","1338751294","1338751311","1338751313","1338751314"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c221d7a1272d119559318a3a83b3113.jpg","text":"TemporaryFile(/tmp/multipartBody7036022155287767109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109832528,"filename":"image_21022025_01_10_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ab4478377be5f1ba5ffa225f26de43b.jpg","text":"TemporaryFile(/tmp/multipartBody1487323411025767236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109832528,"filename":"image_21022025_01_11_05_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6faa73f021b10740dc58a2ffb5cd26ca.jpg","text":"TemporaryFile(/tmp/multipartBody7430941711247184523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109832528,"filename":"image_21022025_01_09_55_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf61dd95810d472831307972ee32175c.jpg","text":"TemporaryFile(/tmp/multipartBody8752706681051233698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109832528,"filename":"image_21022025_01_10_55_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ed96becb042abb0dd890b2cebdc0473.jpg","text":"TemporaryFile(/tmp/multipartBody1855930323481772677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109832528,"filename":"image_21022025_01_11_16_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2dba80ca1a65d7ac590db2896047fb80.jpg","text":"TemporaryFile(/tmp/multipartBody6192221048031543509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109832528,"filename":"image_21022025_01_10_16_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338751294","file1":"1338751292","file0":"1338751288","file4":"1338751313","file5":"1338751314","file3":"1338751311"},"map_files_photo_id_array":[{"photo_id":"1338751314","filename":"file5"},{"photo_id":"1338751294","filename":"file2"},{"photo_id":"1338751313","filename":"file4"},{"photo_id":"1338751292","filename":"file1"},{"photo_id":"1338751288","filename":"file0"},{"photo_id":"1338751311","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338751294":["hashtag1","hashtag2"]},{"1338751313":["hashtag1","hashtag2"]},{"1338751288":["hashtag1","hashtag2"]},{"1338751311":["hashtag1","hashtag2"]},{"1338751314":["hashtag1","hashtag2"]},{"1338751292":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338751294, 1338751313, 1338751288, 1338751311, 1338751314, 1338751292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.203057050704956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:50:32.289247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/11/image_21022025_01_11_36_10414.jpg', '/home/pi/Desktop/images/21022025/01/11/image_21022025_01_11_45_9326.jpg', '/home/pi/Desktop/images/21022025/01/12/image_21022025_01_12_15_9324.jpg', '/home/pi/Desktop/images/21022025/01/12/image_21022025_01_12_25_10334.jpg', '/home/pi/Desktop/images/21022025/01/12/image_21022025_01_12_36_10356.jpg', '/home/pi/Desktop/images/21022025/01/12/image_21022025_01_12_55_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/11/image_21022025_01_11_36_10414.jpg
/home/pi/Desktop/images/21022025/01/11/image_21022025_01_11_45_9326.jpg
/home/pi/Desktop/images/21022025/01/12/image_21022025_01_12_15_9324.jpg
/home/pi/Desktop/images/21022025/01/12/image_21022025_01_12_25_10334.jpg
/home/pi/Desktop/images/21022025/01/12/image_21022025_01_12_36_10356.jpg
/home/pi/Desktop/images/21022025/01/12/image_21022025_01_12_55_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338751502","1338751504","1338751501","1338751494","1338751496","1338751413"],"photo_ids_order":["1338751413","1338751494","1338751496","1338751501","1338751502","1338751504"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/17b6552977f08cfedc0379952e57694f.jpg","text":"TemporaryFile(/tmp/multipartBody4101322888926615280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109892760,"filename":"image_21022025_01_12_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8151fca8b519da7954a33b0aae9224d2.jpg","text":"TemporaryFile(/tmp/multipartBody7416432166449306756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109892760,"filename":"image_21022025_01_12_55_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9add3e37b936742fcc80114e8b562619.jpg","text":"TemporaryFile(/tmp/multipartBody3818383924615309733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109892760,"filename":"image_21022025_01_12_25_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/228233de9a18534b7814ff15166a65cb.jpg","text":"TemporaryFile(/tmp/multipartBody6661230155758577648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109892760,"filename":"image_21022025_01_11_45_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/882881d37f10f98c9126d202754b6f22.jpg","text":"TemporaryFile(/tmp/multipartBody7626797643231324984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109892760,"filename":"image_21022025_01_12_15_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d811f6202f5d74d311bcfd3a9b3088fc.jpg","text":"TemporaryFile(/tmp/multipartBody5567303666442901917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109892760,"filename":"image_21022025_01_11_36_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338751496","file1":"1338751494","file0":"1338751413","file4":"1338751502","file5":"1338751504","file3":"1338751501"},"map_files_photo_id_array":[{"photo_id":"1338751504","filename":"file5"},{"photo_id":"1338751496","filename":"file2"},{"photo_id":"1338751502","filename":"file4"},{"photo_id":"1338751494","filename":"file1"},{"photo_id":"1338751413","filename":"file0"},{"photo_id":"1338751501","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338751502":["hashtag1","hashtag2"]},{"1338751504":["hashtag1","hashtag2"]},{"1338751501":["hashtag1","hashtag2"]},{"1338751494":["hashtag1","hashtag2"]},{"1338751496":["hashtag1","hashtag2"]},{"1338751413":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338751502, 1338751504, 1338751501, 1338751494, 1338751496, 1338751413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62513065338135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:51:32.467765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/12/image_21022025_01_13_06_10340.jpg', '/home/pi/Desktop/images/21022025/01/13/image_21022025_01_13_15_9337.jpg', '/home/pi/Desktop/images/21022025/01/13/image_21022025_01_13_25_10342.jpg', '/home/pi/Desktop/images/21022025/01/13/image_21022025_01_13_36_10338.jpg', '/home/pi/Desktop/images/21022025/01/13/image_21022025_01_13_45_9330.jpg', '/home/pi/Desktop/images/21022025/01/13/image_21022025_01_13_55_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/12/image_21022025_01_13_06_10340.jpg
/home/pi/Desktop/images/21022025/01/13/image_21022025_01_13_15_9337.jpg
/home/pi/Desktop/images/21022025/01/13/image_21022025_01_13_25_10342.jpg
/home/pi/Desktop/images/21022025/01/13/image_21022025_01_13_36_10338.jpg
/home/pi/Desktop/images/21022025/01/13/image_21022025_01_13_45_9330.jpg
/home/pi/Desktop/images/21022025/01/13/image_21022025_01_13_55_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338751517","1338751567","1338751516","1338751569","1338751515","1338751571"],"photo_ids_order":["1338751515","1338751516","1338751517","1338751567","1338751569","1338751571"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ab674dab961e04835695912ad7e8ffb7.jpg","text":"TemporaryFile(/tmp/multipartBody672859023971117203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109952934,"filename":"image_21022025_01_13_25_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eddd25e7b8e2ba6805252c2bc4f24b23.jpg","text":"TemporaryFile(/tmp/multipartBody5126634952838851597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109952934,"filename":"image_21022025_01_13_36_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d5b9c49310b8c7fb6b03a44cd5225af0.jpg","text":"TemporaryFile(/tmp/multipartBody9111182104462203277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109952934,"filename":"image_21022025_01_13_15_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/985770973cd812a8485679b18c0508a7.jpg","text":"TemporaryFile(/tmp/multipartBody7396484313968520951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109952934,"filename":"image_21022025_01_13_45_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04219992c6aa14023ed3487a90a578e6.jpg","text":"TemporaryFile(/tmp/multipartBody6450082248771080254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109952934,"filename":"image_21022025_01_13_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4bd6f4575e95c8bb5b5407fb5fe2a761.jpg","text":"TemporaryFile(/tmp/multipartBody493421794915966886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740109952934,"filename":"image_21022025_01_13_55_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338751517","file1":"1338751516","file0":"1338751515","file4":"1338751569","file5":"1338751571","file3":"1338751567"},"map_files_photo_id_array":[{"photo_id":"1338751571","filename":"file5"},{"photo_id":"1338751517","filename":"file2"},{"photo_id":"1338751569","filename":"file4"},{"photo_id":"1338751516","filename":"file1"},{"photo_id":"1338751515","filename":"file0"},{"photo_id":"1338751567","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338751517":["hashtag1","hashtag2"]},{"1338751567":["hashtag1","hashtag2"]},{"1338751516":["hashtag1","hashtag2"]},{"1338751569":["hashtag1","hashtag2"]},{"1338751515":["hashtag1","hashtag2"]},{"1338751571":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338751517, 1338751567, 1338751516, 1338751569, 1338751515, 1338751571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.401082038879395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:52:32.613808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/13/image_21022025_01_14_06_10331.jpg', '/home/pi/Desktop/images/21022025/01/14/image_21022025_01_14_15_9365.jpg', '/home/pi/Desktop/images/21022025/01/14/image_21022025_01_14_25_10319.jpg', '/home/pi/Desktop/images/21022025/01/14/image_21022025_01_14_36_10409.jpg', '/home/pi/Desktop/images/21022025/01/15/image_21022025_01_15_26_10441.jpg', '/home/pi/Desktop/images/21022025/01/15/image_21022025_01_15_35_9328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/13/image_21022025_01_14_06_10331.jpg
/home/pi/Desktop/images/21022025/01/14/image_21022025_01_14_15_9365.jpg
/home/pi/Desktop/images/21022025/01/14/image_21022025_01_14_25_10319.jpg
/home/pi/Desktop/images/21022025/01/14/image_21022025_01_14_36_10409.jpg
/home/pi/Desktop/images/21022025/01/15/image_21022025_01_15_26_10441.jpg
/home/pi/Desktop/images/21022025/01/15/image_21022025_01_15_35_9328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338751588","1338751582","1338751584","1338751581","1338751580","1338751586"],"photo_ids_order":["1338751580","1338751581","1338751582","1338751584","1338751586","1338751588"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/38d1178619640c8b1a1f37402710933a.jpg","text":"TemporaryFile(/tmp/multipartBody1370231433753468657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110013078,"filename":"image_21022025_01_15_35_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/636f90d995c2de5e955a32eb1a55f238.jpg","text":"TemporaryFile(/tmp/multipartBody6479583182304535434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110013078,"filename":"image_21022025_01_14_25_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9cb4341fb01295a4b352c382c18a1aad.jpg","text":"TemporaryFile(/tmp/multipartBody1402871231506278610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110013078,"filename":"image_21022025_01_14_36_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0717795014165f0a788e805aad43a63e.jpg","text":"TemporaryFile(/tmp/multipartBody1013411593343821476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110013078,"filename":"image_21022025_01_14_15_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1ae84afce29fd10dd5e272bc47862e7.jpg","text":"TemporaryFile(/tmp/multipartBody5503897582143349747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110013078,"filename":"image_21022025_01_14_06_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d62b01754d23c2a1d04491a0ff34e75.jpg","text":"TemporaryFile(/tmp/multipartBody4131731735350152363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110013078,"filename":"image_21022025_01_15_26_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338751582","file1":"1338751581","file0":"1338751580","file4":"1338751586","file5":"1338751588","file3":"1338751584"},"map_files_photo_id_array":[{"photo_id":"1338751588","filename":"file5"},{"photo_id":"1338751582","filename":"file2"},{"photo_id":"1338751586","filename":"file4"},{"photo_id":"1338751581","filename":"file1"},{"photo_id":"1338751580","filename":"file0"},{"photo_id":"1338751584","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338751588":["hashtag1","hashtag2"]},{"1338751582":["hashtag1","hashtag2"]},{"1338751584":["hashtag1","hashtag2"]},{"1338751581":["hashtag1","hashtag2"]},{"1338751580":["hashtag1","hashtag2"]},{"1338751586":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338751588, 1338751582, 1338751584, 1338751581, 1338751580, 1338751586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52254271507263 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:53:32.950874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/15/image_21022025_01_15_45_10326.jpg', '/home/pi/Desktop/images/21022025/01/15/image_21022025_01_15_56_10335.jpg', '/home/pi/Desktop/images/21022025/01/15/image_21022025_01_16_05_9346.jpg', '/home/pi/Desktop/images/21022025/01/16/image_21022025_01_16_26_10334.jpg', '/home/pi/Desktop/images/21022025/01/16/image_21022025_01_16_45_10345.jpg', '/home/pi/Desktop/images/21022025/01/16/image_21022025_01_16_55_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/15/image_21022025_01_15_45_10326.jpg
/home/pi/Desktop/images/21022025/01/15/image_21022025_01_15_56_10335.jpg
/home/pi/Desktop/images/21022025/01/15/image_21022025_01_16_05_9346.jpg
/home/pi/Desktop/images/21022025/01/16/image_21022025_01_16_26_10334.jpg
/home/pi/Desktop/images/21022025/01/16/image_21022025_01_16_45_10345.jpg
/home/pi/Desktop/images/21022025/01/16/image_21022025_01_16_55_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338751603","1338751596","1338751600","1338751602","1338751595","1338751598"],"photo_ids_order":["1338751595","1338751596","1338751598","1338751600","1338751602","1338751603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3b0ee27dcd30b6e14bac082617f40c3e.jpg","text":"TemporaryFile(/tmp/multipartBody1352497788320231805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110073438,"filename":"image_21022025_01_16_55_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/944f512d3d0e7f8379b2632c66eb22bf.jpg","text":"TemporaryFile(/tmp/multipartBody7774135061399078035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110073438,"filename":"image_21022025_01_15_56_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a9fe01641dbfad2b87d9a614b526431a.jpg","text":"TemporaryFile(/tmp/multipartBody1607203299107514699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110073438,"filename":"image_21022025_01_16_26_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/16dedc69d0213b6f8f521eccd298654e.jpg","text":"TemporaryFile(/tmp/multipartBody7935537306793975606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110073438,"filename":"image_21022025_01_16_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/52e5c53804b26542bf4d97b4cfda1eae.jpg","text":"TemporaryFile(/tmp/multipartBody2942873969308372031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110073438,"filename":"image_21022025_01_15_45_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c830477ad56a793d46da71dd3ae898f6.jpg","text":"TemporaryFile(/tmp/multipartBody9208001730601075770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110073438,"filename":"image_21022025_01_16_05_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338751598","file1":"1338751596","file0":"1338751595","file4":"1338751602","file5":"1338751603","file3":"1338751600"},"map_files_photo_id_array":[{"photo_id":"1338751603","filename":"file5"},{"photo_id":"1338751598","filename":"file2"},{"photo_id":"1338751602","filename":"file4"},{"photo_id":"1338751596","filename":"file1"},{"photo_id":"1338751595","filename":"file0"},{"photo_id":"1338751600","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338751603":["hashtag1","hashtag2"]},{"1338751596":["hashtag1","hashtag2"]},{"1338751600":["hashtag1","hashtag2"]},{"1338751602":["hashtag1","hashtag2"]},{"1338751595":["hashtag1","hashtag2"]},{"1338751598":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338751603, 1338751596, 1338751600, 1338751602, 1338751595, 1338751598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82482624053955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:54:32.906575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/16/image_21022025_01_17_05_10343.jpg', '/home/pi/Desktop/images/21022025/01/17/image_21022025_01_17_16_10456.jpg', '/home/pi/Desktop/images/21022025/01/17/image_21022025_01_17_25_9399.jpg', '/home/pi/Desktop/images/21022025/01/17/image_21022025_01_17_35_10383.jpg', '/home/pi/Desktop/images/21022025/01/17/image_21022025_01_17_46_10336.jpg', '/home/pi/Desktop/images/21022025/01/17/image_21022025_01_18_06_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/16/image_21022025_01_17_05_10343.jpg
/home/pi/Desktop/images/21022025/01/17/image_21022025_01_17_16_10456.jpg
/home/pi/Desktop/images/21022025/01/17/image_21022025_01_17_25_9399.jpg
/home/pi/Desktop/images/21022025/01/17/image_21022025_01_17_35_10383.jpg
/home/pi/Desktop/images/21022025/01/17/image_21022025_01_17_46_10336.jpg
/home/pi/Desktop/images/21022025/01/17/image_21022025_01_18_06_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338751733","1338751610","1338751681","1338751648","1338751796","1338751859"],"photo_ids_order":["1338751610","1338751648","1338751681","1338751733","1338751796","1338751859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/43f7d7fe75aaaccd60e43d5eac08c4d8.jpg","text":"TemporaryFile(/tmp/multipartBody6668500416834224365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110133387,"filename":"image_21022025_01_17_35_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a622e10fc873d92c42637441b41391ac.jpg","text":"TemporaryFile(/tmp/multipartBody5386964978592449889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110133387,"filename":"image_21022025_01_17_05_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ec25c9d870160af28a30f307169640b1.jpg","text":"TemporaryFile(/tmp/multipartBody2617280007493586309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110133387,"filename":"image_21022025_01_17_25_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/50c6e98dafc8da2234dfeba40a0689b1.jpg","text":"TemporaryFile(/tmp/multipartBody4809103817541255992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110133387,"filename":"image_21022025_01_17_16_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e147087f496a3cc6bceaac957b19093d.jpg","text":"TemporaryFile(/tmp/multipartBody1818506509943774930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110133387,"filename":"image_21022025_01_17_46_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/33c6141cb7457f965654cdf0609daf4f.jpg","text":"TemporaryFile(/tmp/multipartBody764641919718933279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110133387,"filename":"image_21022025_01_18_06_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338751681","file1":"1338751648","file0":"1338751610","file4":"1338751796","file5":"1338751859","file3":"1338751733"},"map_files_photo_id_array":[{"photo_id":"1338751859","filename":"file5"},{"photo_id":"1338751681","filename":"file2"},{"photo_id":"1338751796","filename":"file4"},{"photo_id":"1338751648","filename":"file1"},{"photo_id":"1338751610","filename":"file0"},{"photo_id":"1338751733","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338751733":["hashtag1","hashtag2"]},{"1338751610":["hashtag1","hashtag2"]},{"1338751681":["hashtag1","hashtag2"]},{"1338751648":["hashtag1","hashtag2"]},{"1338751796":["hashtag1","hashtag2"]},{"1338751859":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338751733, 1338751610, 1338751681, 1338751648, 1338751796, 1338751859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45436239242554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:55:33.138161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/18/image_21022025_01_18_15_9329.jpg', '/home/pi/Desktop/images/21022025/01/18/image_21022025_01_18_25_10328.jpg', '/home/pi/Desktop/images/21022025/01/18/image_21022025_01_18_45_9329.jpg', '/home/pi/Desktop/images/21022025/01/18/image_21022025_01_19_06_10443.jpg', '/home/pi/Desktop/images/21022025/01/19/image_21022025_01_19_25_10333.jpg', '/home/pi/Desktop/images/21022025/01/19/image_21022025_01_19_55_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/18/image_21022025_01_18_15_9329.jpg
/home/pi/Desktop/images/21022025/01/18/image_21022025_01_18_25_10328.jpg
/home/pi/Desktop/images/21022025/01/18/image_21022025_01_18_45_9329.jpg
/home/pi/Desktop/images/21022025/01/18/image_21022025_01_19_06_10443.jpg
/home/pi/Desktop/images/21022025/01/19/image_21022025_01_19_25_10333.jpg
/home/pi/Desktop/images/21022025/01/19/image_21022025_01_19_55_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338752088","1338752049","1338752079","1338752046","1338752072","1338752051"],"photo_ids_order":["1338752046","1338752049","1338752051","1338752072","1338752079","1338752088"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e3192dbf54d0e05c211b59cc036c1f27.jpg","text":"TemporaryFile(/tmp/multipartBody7581727454592578752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110193618,"filename":"image_21022025_01_19_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/48080ea7994aba6e5556ac9e919508c7.jpg","text":"TemporaryFile(/tmp/multipartBody3097323070363614251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110193618,"filename":"image_21022025_01_18_25_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f871eec048160b405b2602497c88f334.jpg","text":"TemporaryFile(/tmp/multipartBody3992672582494460550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110193618,"filename":"image_21022025_01_19_25_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f280077612f6cbfb311eb1a1efcf0492.jpg","text":"TemporaryFile(/tmp/multipartBody2210965677288475132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110193618,"filename":"image_21022025_01_18_15_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6b1368b3d46358a4b0e78f950e2fd1b1.jpg","text":"TemporaryFile(/tmp/multipartBody2285642601939766013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110193618,"filename":"image_21022025_01_19_06_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a5b8e1b38d2e19c1c315190c1670da62.jpg","text":"TemporaryFile(/tmp/multipartBody2516086538141564857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110193618,"filename":"image_21022025_01_18_45_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338752051","file1":"1338752049","file0":"1338752046","file4":"1338752079","file5":"1338752088","file3":"1338752072"},"map_files_photo_id_array":[{"photo_id":"1338752088","filename":"file5"},{"photo_id":"1338752051","filename":"file2"},{"photo_id":"1338752079","filename":"file4"},{"photo_id":"1338752049","filename":"file1"},{"photo_id":"1338752046","filename":"file0"},{"photo_id":"1338752072","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338752088":["hashtag1","hashtag2"]},{"1338752049":["hashtag1","hashtag2"]},{"1338752079":["hashtag1","hashtag2"]},{"1338752046":["hashtag1","hashtag2"]},{"1338752072":["hashtag1","hashtag2"]},{"1338752051":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338752088, 1338752049, 1338752079, 1338752046, 1338752072, 1338752051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67371320724487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:56:32.151050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/20/image_21022025_01_20_15_9321.jpg', '/home/pi/Desktop/images/21022025/01/20/image_21022025_01_20_26_10451.jpg', '/home/pi/Desktop/images/21022025/01/20/image_21022025_01_20_35_9333.jpg', '/home/pi/Desktop/images/21022025/01/20/image_21022025_01_20_45_10349.jpg', '/home/pi/Desktop/images/21022025/01/20/image_21022025_01_20_56_10376.jpg', '/home/pi/Desktop/images/21022025/01/20/image_21022025_01_21_05_9327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/20/image_21022025_01_20_15_9321.jpg
/home/pi/Desktop/images/21022025/01/20/image_21022025_01_20_26_10451.jpg
/home/pi/Desktop/images/21022025/01/20/image_21022025_01_20_35_9333.jpg
/home/pi/Desktop/images/21022025/01/20/image_21022025_01_20_45_10349.jpg
/home/pi/Desktop/images/21022025/01/20/image_21022025_01_20_56_10376.jpg
/home/pi/Desktop/images/21022025/01/20/image_21022025_01_21_05_9327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338752104","1338752097","1338752099","1338752102","1338752111","1338752095"],"photo_ids_order":["1338752095","1338752097","1338752099","1338752102","1338752104","1338752111"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/18e9dfc2e644ad8781613d120370262c.jpg","text":"TemporaryFile(/tmp/multipartBody8807256221671991492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110252622,"filename":"image_21022025_01_20_56_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/73e0f0e2bb2a34f378a69aef9cd7a893.jpg","text":"TemporaryFile(/tmp/multipartBody6247870449186228999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110252622,"filename":"image_21022025_01_20_26_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/304e9c3d16f0a1a5a0a10efc5d16594c.jpg","text":"TemporaryFile(/tmp/multipartBody8563050671839370172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110252622,"filename":"image_21022025_01_20_35_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a971407864367317e38687611940b7a8.jpg","text":"TemporaryFile(/tmp/multipartBody2637261043822148512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110252622,"filename":"image_21022025_01_20_45_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ccff8ea5205f49b1d2a715e2df8644c9.jpg","text":"TemporaryFile(/tmp/multipartBody2080660570902642893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110252622,"filename":"image_21022025_01_21_05_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/66bb41fe80a04cb622dd3956415793c2.jpg","text":"TemporaryFile(/tmp/multipartBody3042867455893504551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110252622,"filename":"image_21022025_01_20_15_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338752099","file1":"1338752097","file0":"1338752095","file4":"1338752104","file5":"1338752111","file3":"1338752102"},"map_files_photo_id_array":[{"photo_id":"1338752111","filename":"file5"},{"photo_id":"1338752099","filename":"file2"},{"photo_id":"1338752104","filename":"file4"},{"photo_id":"1338752097","filename":"file1"},{"photo_id":"1338752095","filename":"file0"},{"photo_id":"1338752102","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338752104":["hashtag1","hashtag2"]},{"1338752097":["hashtag1","hashtag2"]},{"1338752099":["hashtag1","hashtag2"]},{"1338752102":["hashtag1","hashtag2"]},{"1338752111":["hashtag1","hashtag2"]},{"1338752095":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338752104, 1338752097, 1338752099, 1338752102, 1338752111, 1338752095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.20926761627197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 04:57:32.559086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/21/image_21022025_01_21_35_9344.jpg', '/home/pi/Desktop/images/21022025/01/21/image_21022025_01_21_45_10341.jpg', '/home/pi/Desktop/images/21022025/01/21/image_21022025_01_21_56_10417.jpg', '/home/pi/Desktop/images/21022025/01/22/image_21022025_01_22_26_10324.jpg', '/home/pi/Desktop/images/21022025/01/22/image_21022025_01_22_35_9319.jpg', '/home/pi/Desktop/images/21022025/01/22/image_21022025_01_22_45_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/21/image_21022025_01_21_35_9344.jpg
/home/pi/Desktop/images/21022025/01/21/image_21022025_01_21_45_10341.jpg
/home/pi/Desktop/images/21022025/01/21/image_21022025_01_21_56_10417.jpg
/home/pi/Desktop/images/21022025/01/22/image_21022025_01_22_26_10324.jpg
/home/pi/Desktop/images/21022025/01/22/image_21022025_01_22_35_9319.jpg
/home/pi/Desktop/images/21022025/01/22/image_21022025_01_22_45_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 04:59:04.374058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/21/image_21022025_01_21_35_9344.jpg', '/home/pi/Desktop/images/21022025/01/21/image_21022025_01_21_45_10341.jpg', '/home/pi/Desktop/images/21022025/01/21/image_21022025_01_21_56_10417.jpg', '/home/pi/Desktop/images/21022025/01/22/image_21022025_01_22_26_10324.jpg', '/home/pi/Desktop/images/21022025/01/22/image_21022025_01_22_35_9319.jpg', '/home/pi/Desktop/images/21022025/01/22/image_21022025_01_22_45_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/21/image_21022025_01_21_35_9344.jpg
/home/pi/Desktop/images/21022025/01/21/image_21022025_01_21_45_10341.jpg
/home/pi/Desktop/images/21022025/01/21/image_21022025_01_21_56_10417.jpg
/home/pi/Desktop/images/21022025/01/22/image_21022025_01_22_26_10324.jpg
/home/pi/Desktop/images/21022025/01/22/image_21022025_01_22_35_9319.jpg
/home/pi/Desktop/images/21022025/01/22/image_21022025_01_22_45_10332.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338752575","1338752629","1338752573","1338752576","1338752579","1338752627"],"photo_ids_order":["1338752573","1338752575","1338752576","1338752579","1338752627","1338752629"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c0edff6c80e53962a173bc323e04843.jpg","text":"TemporaryFile(/tmp/multipartBody7064889188230624483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110404929,"filename":"image_21022025_01_21_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87752fb14f32530f8df45e78fcace6d5.jpg","text":"TemporaryFile(/tmp/multipartBody8315060678163889455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110404929,"filename":"image_21022025_01_22_45_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4c1eaeb480e0997f8c704bf2498815d.jpg","text":"TemporaryFile(/tmp/multipartBody6981977367540823105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110404929,"filename":"image_21022025_01_21_35_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1aadb641727028e02dba977c5b085a31.jpg","text":"TemporaryFile(/tmp/multipartBody3374935388720340581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110404929,"filename":"image_21022025_01_21_56_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/553bfba3874d155ddac116e2a958ccb0.jpg","text":"TemporaryFile(/tmp/multipartBody9161444577265162891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110404929,"filename":"image_21022025_01_22_26_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1a96b6d1b93223edcca5a68a27537252.jpg","text":"TemporaryFile(/tmp/multipartBody4689078218251492086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110404929,"filename":"image_21022025_01_22_35_9319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338752576","file1":"1338752575","file0":"1338752573","file4":"1338752627","file5":"1338752629","file3":"1338752579"},"map_files_photo_id_array":[{"photo_id":"1338752629","filename":"file5"},{"photo_id":"1338752576","filename":"file2"},{"photo_id":"1338752627","filename":"file4"},{"photo_id":"1338752575","filename":"file1"},{"photo_id":"1338752573","filename":"file0"},{"photo_id":"1338752579","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338752575":["hashtag1","hashtag2"]},{"1338752629":["hashtag1","hashtag2"]},{"1338752573":["hashtag1","hashtag2"]},{"1338752576":["hashtag1","hashtag2"]},{"1338752579":["hashtag1","hashtag2"]},{"1338752627":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338752575, 1338752629, 1338752573, 1338752576, 1338752579, 1338752627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.512444734573364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 04:59:43.103421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/22/image_21022025_01_22_56_10354.jpg', '/home/pi/Desktop/images/21022025/01/22/image_21022025_01_23_05_9345.jpg', '/home/pi/Desktop/images/21022025/01/23/image_21022025_01_23_16_10421.jpg', '/home/pi/Desktop/images/21022025/01/23/image_21022025_01_23_25_9343.jpg', '/home/pi/Desktop/images/21022025/01/23/image_21022025_01_23_46_10372.jpg', '/home/pi/Desktop/images/21022025/01/23/image_21022025_01_23_55_9323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/22/image_21022025_01_22_56_10354.jpg
/home/pi/Desktop/images/21022025/01/22/image_21022025_01_23_05_9345.jpg
/home/pi/Desktop/images/21022025/01/23/image_21022025_01_23_16_10421.jpg
/home/pi/Desktop/images/21022025/01/23/image_21022025_01_23_25_9343.jpg
/home/pi/Desktop/images/21022025/01/23/image_21022025_01_23_46_10372.jpg
/home/pi/Desktop/images/21022025/01/23/image_21022025_01_23_55_9323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338752680","1338752682","1338752685","1338752684","1338752687","1338752683"],"photo_ids_order":["1338752680","1338752682","1338752683","1338752684","1338752685","1338752687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6336ba87919de9be978bab21aee7d41a.jpg","text":"TemporaryFile(/tmp/multipartBody1654544714121210269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110443637,"filename":"image_21022025_01_22_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bbc6731498774c491a0f5e5451758579.jpg","text":"TemporaryFile(/tmp/multipartBody8970811945653761383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110443637,"filename":"image_21022025_01_23_05_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/03f13d098a24905c13994b5428c2ad79.jpg","text":"TemporaryFile(/tmp/multipartBody7625606775146796758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110443637,"filename":"image_21022025_01_23_46_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/19398e64fdf4254cfb3051180d46691a.jpg","text":"TemporaryFile(/tmp/multipartBody61661343282957436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110443637,"filename":"image_21022025_01_23_25_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/07b73fcf4a5ef7cab64a13218f26befa.jpg","text":"TemporaryFile(/tmp/multipartBody8247843037325758145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110443637,"filename":"image_21022025_01_23_55_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c4cea1901eaec7b5326a7cc1b620d9c5.jpg","text":"TemporaryFile(/tmp/multipartBody5230535793013768627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110443637,"filename":"image_21022025_01_23_16_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338752683","file1":"1338752682","file0":"1338752680","file4":"1338752685","file5":"1338752687","file3":"1338752684"},"map_files_photo_id_array":[{"photo_id":"1338752687","filename":"file5"},{"photo_id":"1338752683","filename":"file2"},{"photo_id":"1338752685","filename":"file4"},{"photo_id":"1338752682","filename":"file1"},{"photo_id":"1338752680","filename":"file0"},{"photo_id":"1338752684","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338752680":["hashtag1","hashtag2"]},{"1338752682":["hashtag1","hashtag2"]},{"1338752685":["hashtag1","hashtag2"]},{"1338752684":["hashtag1","hashtag2"]},{"1338752687":["hashtag1","hashtag2"]},{"1338752683":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338752680, 1338752682, 1338752685, 1338752684, 1338752687, 1338752683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00580883026123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:00:32.171290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/23/image_21022025_01_24_05_10330.jpg', '/home/pi/Desktop/images/21022025/01/24/image_21022025_01_24_16_10470.jpg', '/home/pi/Desktop/images/21022025/01/24/image_21022025_01_24_25_9358.jpg', '/home/pi/Desktop/images/21022025/01/24/image_21022025_01_24_35_10339.jpg', '/home/pi/Desktop/images/21022025/01/24/image_21022025_01_24_46_10336.jpg', '/home/pi/Desktop/images/21022025/01/24/image_21022025_01_24_55_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/23/image_21022025_01_24_05_10330.jpg
/home/pi/Desktop/images/21022025/01/24/image_21022025_01_24_16_10470.jpg
/home/pi/Desktop/images/21022025/01/24/image_21022025_01_24_25_9358.jpg
/home/pi/Desktop/images/21022025/01/24/image_21022025_01_24_35_10339.jpg
/home/pi/Desktop/images/21022025/01/24/image_21022025_01_24_46_10336.jpg
/home/pi/Desktop/images/21022025/01/24/image_21022025_01_24_55_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338752694","1338752697","1338752693","1338752696","1338752695","1338752698"],"photo_ids_order":["1338752693","1338752694","1338752695","1338752696","1338752697","1338752698"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b7d1220bf356998458c06aede27e558.jpg","text":"TemporaryFile(/tmp/multipartBody5693697071435303953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110492663,"filename":"image_21022025_01_24_16_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80ede8d02d8c56be4406dc72ff7423a2.jpg","text":"TemporaryFile(/tmp/multipartBody6840469141121264918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110492663,"filename":"image_21022025_01_24_46_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e52c66667d0ddbbe5a5c289dbfb3d32e.jpg","text":"TemporaryFile(/tmp/multipartBody1802984355166367064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110492663,"filename":"image_21022025_01_24_05_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a16faa58c6cdd4dd59cad04fa279c914.jpg","text":"TemporaryFile(/tmp/multipartBody6708072430076740073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110492663,"filename":"image_21022025_01_24_35_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4966b1972eb66f3cdb22f4a924c57bac.jpg","text":"TemporaryFile(/tmp/multipartBody4422685043198606870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110492663,"filename":"image_21022025_01_24_25_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fdfef6b4ae36642f4ce2483959cf8516.jpg","text":"TemporaryFile(/tmp/multipartBody1074207619781662155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110492663,"filename":"image_21022025_01_24_55_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338752695","file1":"1338752694","file0":"1338752693","file4":"1338752697","file5":"1338752698","file3":"1338752696"},"map_files_photo_id_array":[{"photo_id":"1338752698","filename":"file5"},{"photo_id":"1338752695","filename":"file2"},{"photo_id":"1338752697","filename":"file4"},{"photo_id":"1338752694","filename":"file1"},{"photo_id":"1338752693","filename":"file0"},{"photo_id":"1338752696","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338752694":["hashtag1","hashtag2"]},{"1338752697":["hashtag1","hashtag2"]},{"1338752693":["hashtag1","hashtag2"]},{"1338752696":["hashtag1","hashtag2"]},{"1338752695":["hashtag1","hashtag2"]},{"1338752698":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338752694, 1338752697, 1338752693, 1338752696, 1338752695, 1338752698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37251353263855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:01:32.445409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/25/image_21022025_01_25_15_9394.jpg', '/home/pi/Desktop/images/21022025/01/25/image_21022025_01_25_36_10399.jpg', '/home/pi/Desktop/images/21022025/01/25/image_21022025_01_25_45_9340.jpg', '/home/pi/Desktop/images/21022025/01/26/image_21022025_01_26_15_9329.jpg', '/home/pi/Desktop/images/21022025/01/26/image_21022025_01_26_25_10348.jpg', '/home/pi/Desktop/images/21022025/01/26/image_21022025_01_26_36_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/25/image_21022025_01_25_15_9394.jpg
/home/pi/Desktop/images/21022025/01/25/image_21022025_01_25_36_10399.jpg
/home/pi/Desktop/images/21022025/01/25/image_21022025_01_25_45_9340.jpg
/home/pi/Desktop/images/21022025/01/26/image_21022025_01_26_15_9329.jpg
/home/pi/Desktop/images/21022025/01/26/image_21022025_01_26_25_10348.jpg
/home/pi/Desktop/images/21022025/01/26/image_21022025_01_26_36_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338752707","1338752710","1338752712","1338752709","1338752711","1338752708"],"photo_ids_order":["1338752707","1338752708","1338752709","1338752710","1338752711","1338752712"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eed2e108630a9e4ab5167799176ee930.jpg","text":"TemporaryFile(/tmp/multipartBody2958134680363118643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110552925,"filename":"image_21022025_01_25_15_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dc940a7d08d7b2a49025a1fbc7f8d144.jpg","text":"TemporaryFile(/tmp/multipartBody1113664016074740573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110552925,"filename":"image_21022025_01_26_15_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be4838447d1d7ba0094b0a2c73aea325.jpg","text":"TemporaryFile(/tmp/multipartBody5827874038431708450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110552925,"filename":"image_21022025_01_26_36_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cac0c79de514e70c7de9809d221b4640.jpg","text":"TemporaryFile(/tmp/multipartBody7375586218605256313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110552925,"filename":"image_21022025_01_25_45_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1addf94157336041c865ecd5b2798f2.jpg","text":"TemporaryFile(/tmp/multipartBody8979885989683163677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110552925,"filename":"image_21022025_01_26_25_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e52f8dc8b06bc599d76ab3bdc828526d.jpg","text":"TemporaryFile(/tmp/multipartBody2976801040837161381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110552925,"filename":"image_21022025_01_25_36_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338752709","file1":"1338752708","file0":"1338752707","file4":"1338752711","file5":"1338752712","file3":"1338752710"},"map_files_photo_id_array":[{"photo_id":"1338752712","filename":"file5"},{"photo_id":"1338752709","filename":"file2"},{"photo_id":"1338752711","filename":"file4"},{"photo_id":"1338752708","filename":"file1"},{"photo_id":"1338752707","filename":"file0"},{"photo_id":"1338752710","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338752707":["hashtag1","hashtag2"]},{"1338752710":["hashtag1","hashtag2"]},{"1338752712":["hashtag1","hashtag2"]},{"1338752709":["hashtag1","hashtag2"]},{"1338752711":["hashtag1","hashtag2"]},{"1338752708":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338752707, 1338752710, 1338752712, 1338752709, 1338752711, 1338752708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7203254699707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:02:32.773247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/27/image_21022025_01_27_56_10344.jpg', '/home/pi/Desktop/images/21022025/01/27/image_21022025_01_28_05_9323.jpg', '/home/pi/Desktop/images/21022025/01/28/image_21022025_01_28_15_10345.jpg', '/home/pi/Desktop/images/21022025/01/28/image_21022025_01_28_26_10420.jpg', '/home/pi/Desktop/images/21022025/01/28/image_21022025_01_28_45_10349.jpg', '/home/pi/Desktop/images/21022025/01/28/image_21022025_01_28_56_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/27/image_21022025_01_27_56_10344.jpg
/home/pi/Desktop/images/21022025/01/27/image_21022025_01_28_05_9323.jpg
/home/pi/Desktop/images/21022025/01/28/image_21022025_01_28_15_10345.jpg
/home/pi/Desktop/images/21022025/01/28/image_21022025_01_28_26_10420.jpg
/home/pi/Desktop/images/21022025/01/28/image_21022025_01_28_45_10349.jpg
/home/pi/Desktop/images/21022025/01/28/image_21022025_01_28_56_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338752722","1338752719","1338752724","1338752721","1338752720","1338752723"],"photo_ids_order":["1338752719","1338752720","1338752721","1338752722","1338752723","1338752724"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f55506b5a633c1c22f06bc72e0c17e7.jpg","text":"TemporaryFile(/tmp/multipartBody6705302441797654257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110613243,"filename":"image_21022025_01_28_26_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a730f5ddec8a63340dfb54ade7b753cb.jpg","text":"TemporaryFile(/tmp/multipartBody2448515040292851407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110613243,"filename":"image_21022025_01_27_56_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ace1057734c4076385f0393e036f23b.jpg","text":"TemporaryFile(/tmp/multipartBody7977704987715470475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110613243,"filename":"image_21022025_01_28_56_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ec1e3a85089792ebc30e58948b48ec0.jpg","text":"TemporaryFile(/tmp/multipartBody6773402253067515362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110613243,"filename":"image_21022025_01_28_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d44a9d014b06c0846d33194361fe13fd.jpg","text":"TemporaryFile(/tmp/multipartBody3523360074042186214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110613243,"filename":"image_21022025_01_28_05_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/985a488eeef6c8b18fb68b06d690c57f.jpg","text":"TemporaryFile(/tmp/multipartBody5412018497415016863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110613243,"filename":"image_21022025_01_28_45_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338752721","file1":"1338752720","file0":"1338752719","file4":"1338752723","file5":"1338752724","file3":"1338752722"},"map_files_photo_id_array":[{"photo_id":"1338752724","filename":"file5"},{"photo_id":"1338752721","filename":"file2"},{"photo_id":"1338752723","filename":"file4"},{"photo_id":"1338752720","filename":"file1"},{"photo_id":"1338752719","filename":"file0"},{"photo_id":"1338752722","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338752722":["hashtag1","hashtag2"]},{"1338752719":["hashtag1","hashtag2"]},{"1338752724":["hashtag1","hashtag2"]},{"1338752721":["hashtag1","hashtag2"]},{"1338752720":["hashtag1","hashtag2"]},{"1338752723":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338752722, 1338752719, 1338752724, 1338752721, 1338752720, 1338752723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38511538505554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:03:33.018375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/28/image_21022025_01_29_05_9326.jpg', '/home/pi/Desktop/images/21022025/01/29/image_21022025_01_29_26_10325.jpg', '/home/pi/Desktop/images/21022025/01/29/image_21022025_01_29_35_9325.jpg', '/home/pi/Desktop/images/21022025/01/29/image_21022025_01_29_45_10343.jpg', '/home/pi/Desktop/images/21022025/01/29/image_21022025_01_30_05_10341.jpg', '/home/pi/Desktop/images/21022025/01/30/image_21022025_01_30_16_10491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/28/image_21022025_01_29_05_9326.jpg
/home/pi/Desktop/images/21022025/01/29/image_21022025_01_29_26_10325.jpg
/home/pi/Desktop/images/21022025/01/29/image_21022025_01_29_35_9325.jpg
/home/pi/Desktop/images/21022025/01/29/image_21022025_01_29_45_10343.jpg
/home/pi/Desktop/images/21022025/01/29/image_21022025_01_30_05_10341.jpg
/home/pi/Desktop/images/21022025/01/30/image_21022025_01_30_16_10491.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338752770","1338752767","1338752790","1338752769","1338752760","1338752771"],"photo_ids_order":["1338752760","1338752767","1338752769","1338752770","1338752771","1338752790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/570b56e9de37cd23b78600bce27ecbfe.jpg","text":"TemporaryFile(/tmp/multipartBody4847972395849767252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110673483,"filename":"image_21022025_01_29_45_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3bb6c8750e20a723f66289a6bd6dc421.jpg","text":"TemporaryFile(/tmp/multipartBody396360901658177522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110673483,"filename":"image_21022025_01_29_26_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f17a3243ef45fa081626ef1da81fc2c7.jpg","text":"TemporaryFile(/tmp/multipartBody8518586653325960000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110673483,"filename":"image_21022025_01_30_16_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90e212fc007ba025f0058c91701fc3f2.jpg","text":"TemporaryFile(/tmp/multipartBody7340792448609957112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110673483,"filename":"image_21022025_01_29_35_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75b1a0a72823f533d49c73ce2756b27f.jpg","text":"TemporaryFile(/tmp/multipartBody5916514760137306684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110673483,"filename":"image_21022025_01_29_05_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d3de40adcfa530b56b3a2d3e74364c8a.jpg","text":"TemporaryFile(/tmp/multipartBody1780623131651191640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110673483,"filename":"image_21022025_01_30_05_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338752769","file1":"1338752767","file0":"1338752760","file4":"1338752771","file5":"1338752790","file3":"1338752770"},"map_files_photo_id_array":[{"photo_id":"1338752790","filename":"file5"},{"photo_id":"1338752769","filename":"file2"},{"photo_id":"1338752771","filename":"file4"},{"photo_id":"1338752767","filename":"file1"},{"photo_id":"1338752760","filename":"file0"},{"photo_id":"1338752770","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338752770":["hashtag1","hashtag2"]},{"1338752767":["hashtag1","hashtag2"]},{"1338752790":["hashtag1","hashtag2"]},{"1338752769":["hashtag1","hashtag2"]},{"1338752760":["hashtag1","hashtag2"]},{"1338752771":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338752770, 1338752767, 1338752790, 1338752769, 1338752760, 1338752771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49689221382141 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:04:32.125851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/30/image_21022025_01_30_25_9353.jpg', '/home/pi/Desktop/images/21022025/01/30/image_21022025_01_30_55_10344.jpg', '/home/pi/Desktop/images/21022025/01/30/image_21022025_01_31_06_10387.jpg', '/home/pi/Desktop/images/21022025/01/31/image_21022025_01_31_15_9340.jpg', '/home/pi/Desktop/images/21022025/01/31/image_21022025_01_31_45_9329.jpg', '/home/pi/Desktop/images/21022025/01/32/image_21022025_01_32_25_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/30/image_21022025_01_30_25_9353.jpg
/home/pi/Desktop/images/21022025/01/30/image_21022025_01_30_55_10344.jpg
/home/pi/Desktop/images/21022025/01/30/image_21022025_01_31_06_10387.jpg
/home/pi/Desktop/images/21022025/01/31/image_21022025_01_31_15_9340.jpg
/home/pi/Desktop/images/21022025/01/31/image_21022025_01_31_45_9329.jpg
/home/pi/Desktop/images/21022025/01/32/image_21022025_01_32_25_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338753378","1338753249","1338753263","1338753266","1338753379","1338753268"],"photo_ids_order":["1338753249","1338753263","1338753266","1338753268","1338753378","1338753379"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bdcbbe67a65186bff731c26da95f307b.jpg","text":"TemporaryFile(/tmp/multipartBody603166042873849690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110732610,"filename":"image_21022025_01_31_45_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c14fa86ef1be88ee2fbb107606031bab.jpg","text":"TemporaryFile(/tmp/multipartBody6714414389674993196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110732610,"filename":"image_21022025_01_30_25_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e90682c5d6da5f202bb985556fd43176.jpg","text":"TemporaryFile(/tmp/multipartBody3569462372254917316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110732610,"filename":"image_21022025_01_30_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/123633cb49d069d0e219a2b205c54f1a.jpg","text":"TemporaryFile(/tmp/multipartBody4386748120513064213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110732610,"filename":"image_21022025_01_31_06_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f94723fa7890fbeec07e0d4e1b6fbe7e.jpg","text":"TemporaryFile(/tmp/multipartBody2671185674684329286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110732610,"filename":"image_21022025_01_32_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1b14e613eedb7e36b180a1b0a8f4703.jpg","text":"TemporaryFile(/tmp/multipartBody8471045868739314395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110732610,"filename":"image_21022025_01_31_15_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338753266","file1":"1338753263","file0":"1338753249","file4":"1338753378","file5":"1338753379","file3":"1338753268"},"map_files_photo_id_array":[{"photo_id":"1338753379","filename":"file5"},{"photo_id":"1338753266","filename":"file2"},{"photo_id":"1338753378","filename":"file4"},{"photo_id":"1338753263","filename":"file1"},{"photo_id":"1338753249","filename":"file0"},{"photo_id":"1338753268","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338753378":["hashtag1","hashtag2"]},{"1338753249":["hashtag1","hashtag2"]},{"1338753263":["hashtag1","hashtag2"]},{"1338753266":["hashtag1","hashtag2"]},{"1338753379":["hashtag1","hashtag2"]},{"1338753268":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338753378, 1338753249, 1338753263, 1338753266, 1338753379, 1338753268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.157928466796875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:05:32.334953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/32/image_21022025_01_33_05_9389.jpg', '/home/pi/Desktop/images/21022025/01/33/image_21022025_01_33_15_10342.jpg', '/home/pi/Desktop/images/21022025/01/33/image_21022025_01_33_35_9322.jpg', '/home/pi/Desktop/images/21022025/01/33/image_21022025_01_33_56_10411.jpg', '/home/pi/Desktop/images/21022025/01/33/image_21022025_01_34_05_9311.jpg', '/home/pi/Desktop/images/21022025/01/34/image_21022025_01_34_56_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/32/image_21022025_01_33_05_9389.jpg
/home/pi/Desktop/images/21022025/01/33/image_21022025_01_33_15_10342.jpg
/home/pi/Desktop/images/21022025/01/33/image_21022025_01_33_35_9322.jpg
/home/pi/Desktop/images/21022025/01/33/image_21022025_01_33_56_10411.jpg
/home/pi/Desktop/images/21022025/01/33/image_21022025_01_34_05_9311.jpg
/home/pi/Desktop/images/21022025/01/34/image_21022025_01_34_56_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338753573","1338753582","1338753621","1338753578","1338753574","1338753571"],"photo_ids_order":["1338753571","1338753573","1338753574","1338753578","1338753582","1338753621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9119dc4dc6d199c3059ae015c5dc6bba.jpg","text":"TemporaryFile(/tmp/multipartBody8687757004534358192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110792864,"filename":"image_21022025_01_33_15_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8e96e289311e52c2c1870cbc645dfb8c.jpg","text":"TemporaryFile(/tmp/multipartBody5766350607090388579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110792864,"filename":"image_21022025_01_34_05_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/910738755b0654b87cc825110e1da838.jpg","text":"TemporaryFile(/tmp/multipartBody1558391364658064940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110792864,"filename":"image_21022025_01_34_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b75b017b19b98c9053f2d38bb1cf2ed.jpg","text":"TemporaryFile(/tmp/multipartBody5493650970635776459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110792864,"filename":"image_21022025_01_33_56_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8f025f2bf6cbfab25a8669615c454fb7.jpg","text":"TemporaryFile(/tmp/multipartBody852342413218240733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110792864,"filename":"image_21022025_01_33_35_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a39cba418a2566f3fecc571fb6932db3.jpg","text":"TemporaryFile(/tmp/multipartBody656917828742578972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110792864,"filename":"image_21022025_01_33_05_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338753574","file1":"1338753573","file0":"1338753571","file4":"1338753582","file5":"1338753621","file3":"1338753578"},"map_files_photo_id_array":[{"photo_id":"1338753621","filename":"file5"},{"photo_id":"1338753574","filename":"file2"},{"photo_id":"1338753582","filename":"file4"},{"photo_id":"1338753573","filename":"file1"},{"photo_id":"1338753571","filename":"file0"},{"photo_id":"1338753578","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338753573":["hashtag1","hashtag2"]},{"1338753582":["hashtag1","hashtag2"]},{"1338753621":["hashtag1","hashtag2"]},{"1338753578":["hashtag1","hashtag2"]},{"1338753574":["hashtag1","hashtag2"]},{"1338753571":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338753573, 1338753582, 1338753621, 1338753578, 1338753574, 1338753571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53002858161926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:06:32.380234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/34/image_21022025_01_35_05_9419.jpg', '/home/pi/Desktop/images/21022025/01/35/image_21022025_01_35_16_10394.jpg', '/home/pi/Desktop/images/21022025/01/35/image_21022025_01_35_25_9382.jpg', '/home/pi/Desktop/images/21022025/01/35/image_21022025_01_35_36_10666.jpg', '/home/pi/Desktop/images/21022025/01/35/image_21022025_01_35_45_9365.jpg', '/home/pi/Desktop/images/21022025/01/35/image_21022025_01_35_55_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/34/image_21022025_01_35_05_9419.jpg
/home/pi/Desktop/images/21022025/01/35/image_21022025_01_35_16_10394.jpg
/home/pi/Desktop/images/21022025/01/35/image_21022025_01_35_25_9382.jpg
/home/pi/Desktop/images/21022025/01/35/image_21022025_01_35_36_10666.jpg
/home/pi/Desktop/images/21022025/01/35/image_21022025_01_35_45_9365.jpg
/home/pi/Desktop/images/21022025/01/35/image_21022025_01_35_55_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338753640","1338753642","1338753639","1338753635","1338753637","1338753631"],"photo_ids_order":["1338753631","1338753635","1338753637","1338753639","1338753640","1338753642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/15543f89aaebf4063548186eadcd2bc9.jpg","text":"TemporaryFile(/tmp/multipartBody4828040500919253918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110852850,"filename":"image_21022025_01_35_45_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/68eb8061cbd420a60d99b61c402f355d.jpg","text":"TemporaryFile(/tmp/multipartBody6347147262037720475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110852850,"filename":"image_21022025_01_35_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/60606e969d1c31c6b71875296152ef3d.jpg","text":"TemporaryFile(/tmp/multipartBody6621712713256318202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110852850,"filename":"image_21022025_01_35_36_10666.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d0706930706f73a4d71d0f598d0eba73.jpg","text":"TemporaryFile(/tmp/multipartBody1072581803538577048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110852850,"filename":"image_21022025_01_35_16_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d1cccfd6d8acbd93b38a1e24de335ce.jpg","text":"TemporaryFile(/tmp/multipartBody2291512540646707092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110852850,"filename":"image_21022025_01_35_25_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c684a8a9cc6c2ebe15bf38ee4e52dcd.jpg","text":"TemporaryFile(/tmp/multipartBody1243109083366235907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110852850,"filename":"image_21022025_01_35_05_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338753637","file1":"1338753635","file0":"1338753631","file4":"1338753640","file5":"1338753642","file3":"1338753639"},"map_files_photo_id_array":[{"photo_id":"1338753642","filename":"file5"},{"photo_id":"1338753637","filename":"file2"},{"photo_id":"1338753640","filename":"file4"},{"photo_id":"1338753635","filename":"file1"},{"photo_id":"1338753631","filename":"file0"},{"photo_id":"1338753639","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338753640":["hashtag1","hashtag2"]},{"1338753642":["hashtag1","hashtag2"]},{"1338753639":["hashtag1","hashtag2"]},{"1338753635":["hashtag1","hashtag2"]},{"1338753637":["hashtag1","hashtag2"]},{"1338753631":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338753640, 1338753642, 1338753639, 1338753635, 1338753637, 1338753631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.364256858825684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:07:32.665895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/35/image_21022025_01_36_06_10423.jpg', '/home/pi/Desktop/images/21022025/01/36/image_21022025_01_36_56_10377.jpg', '/home/pi/Desktop/images/21022025/01/36/image_21022025_01_37_05_9322.jpg', '/home/pi/Desktop/images/21022025/01/37/image_21022025_01_37_26_10320.jpg', '/home/pi/Desktop/images/21022025/01/37/image_21022025_01_37_35_9341.jpg', '/home/pi/Desktop/images/21022025/01/37/image_21022025_01_37_45_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/35/image_21022025_01_36_06_10423.jpg
/home/pi/Desktop/images/21022025/01/36/image_21022025_01_36_56_10377.jpg
/home/pi/Desktop/images/21022025/01/36/image_21022025_01_37_05_9322.jpg
/home/pi/Desktop/images/21022025/01/37/image_21022025_01_37_26_10320.jpg
/home/pi/Desktop/images/21022025/01/37/image_21022025_01_37_35_9341.jpg
/home/pi/Desktop/images/21022025/01/37/image_21022025_01_37_45_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338753649","1338753678","1338753671","1338753673","1338753676","1338753679"],"photo_ids_order":["1338753649","1338753671","1338753673","1338753676","1338753678","1338753679"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1817a77dd1d960a0073277232c23c11e.jpg","text":"TemporaryFile(/tmp/multipartBody5266322176352519634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110913292,"filename":"image_21022025_01_36_06_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/05c1a3a191b368570702cd51678a8a63.jpg","text":"TemporaryFile(/tmp/multipartBody7956986285370216208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110913292,"filename":"image_21022025_01_37_35_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/26c6684577a63f82ec95df48374f99dc.jpg","text":"TemporaryFile(/tmp/multipartBody5851297355494752800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110913292,"filename":"image_21022025_01_36_56_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0b35d625f39d30c0f9975e8431984408.jpg","text":"TemporaryFile(/tmp/multipartBody5852438690022949083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110913292,"filename":"image_21022025_01_37_05_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7101bbecbf466efc413e48e6ddeddd44.jpg","text":"TemporaryFile(/tmp/multipartBody498862756106849076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110913292,"filename":"image_21022025_01_37_26_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/93acb76b26ddf103a7c23028162076ff.jpg","text":"TemporaryFile(/tmp/multipartBody4905827924563906831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110913292,"filename":"image_21022025_01_37_45_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338753673","file1":"1338753671","file0":"1338753649","file4":"1338753678","file5":"1338753679","file3":"1338753676"},"map_files_photo_id_array":[{"photo_id":"1338753679","filename":"file5"},{"photo_id":"1338753673","filename":"file2"},{"photo_id":"1338753678","filename":"file4"},{"photo_id":"1338753671","filename":"file1"},{"photo_id":"1338753649","filename":"file0"},{"photo_id":"1338753676","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338753649":["hashtag1","hashtag2"]},{"1338753678":["hashtag1","hashtag2"]},{"1338753671":["hashtag1","hashtag2"]},{"1338753673":["hashtag1","hashtag2"]},{"1338753676":["hashtag1","hashtag2"]},{"1338753679":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338753649, 1338753678, 1338753671, 1338753673, 1338753676, 1338753679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26361131668091 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:08:32.868303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/37/image_21022025_01_37_56_10441.jpg', '/home/pi/Desktop/images/21022025/01/37/image_21022025_01_38_05_9329.jpg', '/home/pi/Desktop/images/21022025/01/38/image_21022025_01_38_15_10332.jpg', '/home/pi/Desktop/images/21022025/01/38/image_21022025_01_38_25_9421.jpg', '/home/pi/Desktop/images/21022025/01/38/image_21022025_01_38_35_10335.jpg', '/home/pi/Desktop/images/21022025/01/38/image_21022025_01_38_46_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/37/image_21022025_01_37_56_10441.jpg
/home/pi/Desktop/images/21022025/01/37/image_21022025_01_38_05_9329.jpg
/home/pi/Desktop/images/21022025/01/38/image_21022025_01_38_15_10332.jpg
/home/pi/Desktop/images/21022025/01/38/image_21022025_01_38_25_9421.jpg
/home/pi/Desktop/images/21022025/01/38/image_21022025_01_38_35_10335.jpg
/home/pi/Desktop/images/21022025/01/38/image_21022025_01_38_46_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338753706","1338753696","1338753703","1338753705","1338753698","1338753701"],"photo_ids_order":["1338753696","1338753698","1338753701","1338753703","1338753705","1338753706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1f283c5c714ff8573aa31850cc501b8f.jpg","text":"TemporaryFile(/tmp/multipartBody3973104953069233778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110973337,"filename":"image_21022025_01_38_46_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/128b36daf1ce40461b985eefbef578e5.jpg","text":"TemporaryFile(/tmp/multipartBody2775573095185640908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110973337,"filename":"image_21022025_01_37_56_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/69630bf55610a9617ba9b299a21508ea.jpg","text":"TemporaryFile(/tmp/multipartBody2377228811123196104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110973337,"filename":"image_21022025_01_38_25_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/94fb9ea78f13f179e731bbce3a8f298c.jpg","text":"TemporaryFile(/tmp/multipartBody1471819553876603726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110973337,"filename":"image_21022025_01_38_35_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e6635cd18ee1d1cf7e39f4cc2130588a.jpg","text":"TemporaryFile(/tmp/multipartBody8804730055447845356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110973337,"filename":"image_21022025_01_38_05_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/395c718e991474459e2daeabc902c717.jpg","text":"TemporaryFile(/tmp/multipartBody79495243321353120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740110973337,"filename":"image_21022025_01_38_15_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338753701","file1":"1338753698","file0":"1338753696","file4":"1338753705","file5":"1338753706","file3":"1338753703"},"map_files_photo_id_array":[{"photo_id":"1338753706","filename":"file5"},{"photo_id":"1338753701","filename":"file2"},{"photo_id":"1338753705","filename":"file4"},{"photo_id":"1338753698","filename":"file1"},{"photo_id":"1338753696","filename":"file0"},{"photo_id":"1338753703","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338753706":["hashtag1","hashtag2"]},{"1338753696":["hashtag1","hashtag2"]},{"1338753703":["hashtag1","hashtag2"]},{"1338753705":["hashtag1","hashtag2"]},{"1338753698":["hashtag1","hashtag2"]},{"1338753701":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338753706, 1338753696, 1338753703, 1338753705, 1338753698, 1338753701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87720847129822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:09:33.070923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/38/image_21022025_01_39_05_10335.jpg', '/home/pi/Desktop/images/21022025/01/39/image_21022025_01_39_16_10425.jpg', '/home/pi/Desktop/images/21022025/01/39/image_21022025_01_39_25_9338.jpg', '/home/pi/Desktop/images/21022025/01/39/image_21022025_01_39_35_10336.jpg', '/home/pi/Desktop/images/21022025/01/39/image_21022025_01_39_46_10408.jpg', '/home/pi/Desktop/images/21022025/01/40/image_21022025_01_40_15_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/38/image_21022025_01_39_05_10335.jpg
/home/pi/Desktop/images/21022025/01/39/image_21022025_01_39_16_10425.jpg
/home/pi/Desktop/images/21022025/01/39/image_21022025_01_39_25_9338.jpg
/home/pi/Desktop/images/21022025/01/39/image_21022025_01_39_35_10336.jpg
/home/pi/Desktop/images/21022025/01/39/image_21022025_01_39_46_10408.jpg
/home/pi/Desktop/images/21022025/01/40/image_21022025_01_40_15_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338753712","1338753715","1338753717","1338753713","1338753710","1338753718"],"photo_ids_order":["1338753710","1338753712","1338753713","1338753715","1338753717","1338753718"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b58b5dd53f0b164a7c01f8c722b91f3.jpg","text":"TemporaryFile(/tmp/multipartBody7270469929143116433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111033550,"filename":"image_21022025_01_39_16_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8d94297dad8456b716764922fc7adb06.jpg","text":"TemporaryFile(/tmp/multipartBody359552164816521975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111033550,"filename":"image_21022025_01_39_35_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/89b4c88659735f70b6e5fca9d3d374b9.jpg","text":"TemporaryFile(/tmp/multipartBody1119264378810394965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111033550,"filename":"image_21022025_01_39_46_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a57656763e821005ebaa07fa72e0cceb.jpg","text":"TemporaryFile(/tmp/multipartBody7048359675174051339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111033550,"filename":"image_21022025_01_39_25_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a70a151ce8ea55104c78aef2b4e76a7f.jpg","text":"TemporaryFile(/tmp/multipartBody1073150203767927651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111033550,"filename":"image_21022025_01_39_05_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/929bfd6e46ee43ecb23c31318a2483ac.jpg","text":"TemporaryFile(/tmp/multipartBody5721349219658794618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111033550,"filename":"image_21022025_01_40_15_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338753713","file1":"1338753712","file0":"1338753710","file4":"1338753717","file5":"1338753718","file3":"1338753715"},"map_files_photo_id_array":[{"photo_id":"1338753718","filename":"file5"},{"photo_id":"1338753713","filename":"file2"},{"photo_id":"1338753717","filename":"file4"},{"photo_id":"1338753712","filename":"file1"},{"photo_id":"1338753710","filename":"file0"},{"photo_id":"1338753715","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338753712":["hashtag1","hashtag2"]},{"1338753715":["hashtag1","hashtag2"]},{"1338753717":["hashtag1","hashtag2"]},{"1338753713":["hashtag1","hashtag2"]},{"1338753710":["hashtag1","hashtag2"]},{"1338753718":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338753712, 1338753715, 1338753717, 1338753713, 1338753710, 1338753718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.184818983078 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:10:32.350720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/40/image_21022025_01_40_25_10345.jpg', '/home/pi/Desktop/images/21022025/01/40/image_21022025_01_40_36_10347.jpg', '/home/pi/Desktop/images/21022025/01/40/image_21022025_01_40_45_9409.jpg', '/home/pi/Desktop/images/21022025/01/40/image_21022025_01_40_55_10337.jpg', '/home/pi/Desktop/images/21022025/01/40/image_21022025_01_41_06_10361.jpg', '/home/pi/Desktop/images/21022025/01/41/image_21022025_01_41_15_9319.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/40/image_21022025_01_40_25_10345.jpg
/home/pi/Desktop/images/21022025/01/40/image_21022025_01_40_36_10347.jpg
/home/pi/Desktop/images/21022025/01/40/image_21022025_01_40_45_9409.jpg
/home/pi/Desktop/images/21022025/01/40/image_21022025_01_40_55_10337.jpg
/home/pi/Desktop/images/21022025/01/40/image_21022025_01_41_06_10361.jpg
/home/pi/Desktop/images/21022025/01/41/image_21022025_01_41_15_9319.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338753733","1338753735","1338753729","1338753726","1338753731","1338753734"],"photo_ids_order":["1338753726","1338753729","1338753731","1338753733","1338753734","1338753735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6b855305dea48f06611663dd721536e9.jpg","text":"TemporaryFile(/tmp/multipartBody1868161966414207956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111092819,"filename":"image_21022025_01_40_55_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bfc6a652470b48e3b571b0f036eb362b.jpg","text":"TemporaryFile(/tmp/multipartBody1370530253086415914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111092819,"filename":"image_21022025_01_41_15_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e8b12eac38059cc16a5372fbf7a3223b.jpg","text":"TemporaryFile(/tmp/multipartBody8955628613972202854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111092819,"filename":"image_21022025_01_40_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c8046591491cb84ef3179b66789e6a78.jpg","text":"TemporaryFile(/tmp/multipartBody8247739093823527133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111092819,"filename":"image_21022025_01_40_25_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0b3e39de9738c55b89177d8da44cf94c.jpg","text":"TemporaryFile(/tmp/multipartBody8425003803138810616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111092819,"filename":"image_21022025_01_40_45_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf9caffef38c255ed837ac6d0a673416.jpg","text":"TemporaryFile(/tmp/multipartBody5934038134766921124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111092819,"filename":"image_21022025_01_41_06_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338753731","file1":"1338753729","file0":"1338753726","file4":"1338753734","file5":"1338753735","file3":"1338753733"},"map_files_photo_id_array":[{"photo_id":"1338753735","filename":"file5"},{"photo_id":"1338753731","filename":"file2"},{"photo_id":"1338753734","filename":"file4"},{"photo_id":"1338753729","filename":"file1"},{"photo_id":"1338753726","filename":"file0"},{"photo_id":"1338753733","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338753733":["hashtag1","hashtag2"]},{"1338753735":["hashtag1","hashtag2"]},{"1338753729":["hashtag1","hashtag2"]},{"1338753726":["hashtag1","hashtag2"]},{"1338753731":["hashtag1","hashtag2"]},{"1338753734":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338753733, 1338753735, 1338753729, 1338753726, 1338753731, 1338753734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.602632999420166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:11:32.775582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/41/image_21022025_01_41_25_10354.jpg', '/home/pi/Desktop/images/21022025/01/41/image_21022025_01_42_05_9479.jpg', '/home/pi/Desktop/images/21022025/01/42/image_21022025_01_42_15_10315.jpg', '/home/pi/Desktop/images/21022025/01/42/image_21022025_01_42_26_10338.jpg', '/home/pi/Desktop/images/21022025/01/42/image_21022025_01_42_35_9322.jpg', '/home/pi/Desktop/images/21022025/01/42/image_21022025_01_42_45_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/41/image_21022025_01_41_25_10354.jpg
/home/pi/Desktop/images/21022025/01/41/image_21022025_01_42_05_9479.jpg
/home/pi/Desktop/images/21022025/01/42/image_21022025_01_42_15_10315.jpg
/home/pi/Desktop/images/21022025/01/42/image_21022025_01_42_26_10338.jpg
/home/pi/Desktop/images/21022025/01/42/image_21022025_01_42_35_9322.jpg
/home/pi/Desktop/images/21022025/01/42/image_21022025_01_42_45_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338753993","1338753990","1338754002","1338753992","1338754028","1338754009"],"photo_ids_order":["1338753990","1338753992","1338753993","1338754002","1338754009","1338754028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/20b9d3b9184c107aa56154d8f94a2983.jpg","text":"TemporaryFile(/tmp/multipartBody9213505907723016880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111153263,"filename":"image_21022025_01_42_15_10315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff016523ffd2230a783fd58daf47c59f.jpg","text":"TemporaryFile(/tmp/multipartBody5625987450498501248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111153263,"filename":"image_21022025_01_41_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/96376eaac82ce11549b1cad2a11000e8.jpg","text":"TemporaryFile(/tmp/multipartBody550476826718733169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111153263,"filename":"image_21022025_01_42_26_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df9f99f587d57a3d0e911e30903087f6.jpg","text":"TemporaryFile(/tmp/multipartBody5943386293222516672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111153263,"filename":"image_21022025_01_42_05_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/95c9d5b1ac8a5b3e839fa2b6485e6f89.jpg","text":"TemporaryFile(/tmp/multipartBody9124486149697383092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111153263,"filename":"image_21022025_01_42_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cb342a0e81e78f0db16eb1202a45d8ff.jpg","text":"TemporaryFile(/tmp/multipartBody605179063024269905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111153263,"filename":"image_21022025_01_42_35_9322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338753993","file1":"1338753992","file0":"1338753990","file4":"1338754009","file5":"1338754028","file3":"1338754002"},"map_files_photo_id_array":[{"photo_id":"1338754028","filename":"file5"},{"photo_id":"1338753993","filename":"file2"},{"photo_id":"1338754009","filename":"file4"},{"photo_id":"1338753992","filename":"file1"},{"photo_id":"1338753990","filename":"file0"},{"photo_id":"1338754002","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338753993":["hashtag1","hashtag2"]},{"1338753990":["hashtag1","hashtag2"]},{"1338754002":["hashtag1","hashtag2"]},{"1338753992":["hashtag1","hashtag2"]},{"1338754028":["hashtag1","hashtag2"]},{"1338754009":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338753993, 1338753990, 1338754002, 1338753992, 1338754028, 1338754009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.84238839149475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:12:32.750908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/43/image_21022025_01_43_25_9395.jpg', '/home/pi/Desktop/images/21022025/01/43/image_21022025_01_43_35_10347.jpg', '/home/pi/Desktop/images/21022025/01/43/image_21022025_01_43_46_10391.jpg', '/home/pi/Desktop/images/21022025/01/43/image_21022025_01_43_55_9338.jpg', '/home/pi/Desktop/images/21022025/01/44/image_21022025_01_44_25_9315.jpg', '/home/pi/Desktop/images/21022025/01/44/image_21022025_01_44_45_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/43/image_21022025_01_43_25_9395.jpg
/home/pi/Desktop/images/21022025/01/43/image_21022025_01_43_35_10347.jpg
/home/pi/Desktop/images/21022025/01/43/image_21022025_01_43_46_10391.jpg
/home/pi/Desktop/images/21022025/01/43/image_21022025_01_43_55_9338.jpg
/home/pi/Desktop/images/21022025/01/44/image_21022025_01_44_25_9315.jpg
/home/pi/Desktop/images/21022025/01/44/image_21022025_01_44_45_9432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338754083","1338754077","1338754056","1338754059","1338754100","1338754089"],"photo_ids_order":["1338754056","1338754059","1338754077","1338754083","1338754089","1338754100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5a064869bf5c61cb4cb4bc80cd2b3f60.jpg","text":"TemporaryFile(/tmp/multipartBody1282605013147568581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111213242,"filename":"image_21022025_01_43_55_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9261e7bd7adde27e18f30b3f4a5b5e5e.jpg","text":"TemporaryFile(/tmp/multipartBody2062412985469132333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111213242,"filename":"image_21022025_01_43_46_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7b451e2e01a91e4e715e02165118af5.jpg","text":"TemporaryFile(/tmp/multipartBody1078397396385090470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111213242,"filename":"image_21022025_01_43_25_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/93a6323c0a199fe569b1be6505445ca8.jpg","text":"TemporaryFile(/tmp/multipartBody1619789176358153855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111213242,"filename":"image_21022025_01_43_35_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e432c5af36e3615b941ae57e8550275.jpg","text":"TemporaryFile(/tmp/multipartBody2702011791907547663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111213242,"filename":"image_21022025_01_44_45_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bd9ae4d4422974f52013eb3b425a3cf6.jpg","text":"TemporaryFile(/tmp/multipartBody8036236732955217383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111213242,"filename":"image_21022025_01_44_25_9315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338754077","file1":"1338754059","file0":"1338754056","file4":"1338754089","file5":"1338754100","file3":"1338754083"},"map_files_photo_id_array":[{"photo_id":"1338754100","filename":"file5"},{"photo_id":"1338754077","filename":"file2"},{"photo_id":"1338754089","filename":"file4"},{"photo_id":"1338754059","filename":"file1"},{"photo_id":"1338754056","filename":"file0"},{"photo_id":"1338754083","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338754083":["hashtag1","hashtag2"]},{"1338754077":["hashtag1","hashtag2"]},{"1338754056":["hashtag1","hashtag2"]},{"1338754059":["hashtag1","hashtag2"]},{"1338754100":["hashtag1","hashtag2"]},{"1338754089":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338754083, 1338754077, 1338754056, 1338754059, 1338754100, 1338754089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.91097402572632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:13:33.009426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/45/image_21022025_01_45_25_10345.jpg', '/home/pi/Desktop/images/21022025/01/45/image_21022025_01_45_36_10413.jpg', '/home/pi/Desktop/images/21022025/01/45/image_21022025_01_45_45_9336.jpg', '/home/pi/Desktop/images/21022025/01/45/image_21022025_01_45_55_10342.jpg', '/home/pi/Desktop/images/21022025/01/46/image_21022025_01_46_15_9316.jpg', '/home/pi/Desktop/images/21022025/01/46/image_21022025_01_46_36_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/45/image_21022025_01_45_25_10345.jpg
/home/pi/Desktop/images/21022025/01/45/image_21022025_01_45_36_10413.jpg
/home/pi/Desktop/images/21022025/01/45/image_21022025_01_45_45_9336.jpg
/home/pi/Desktop/images/21022025/01/45/image_21022025_01_45_55_10342.jpg
/home/pi/Desktop/images/21022025/01/46/image_21022025_01_46_15_9316.jpg
/home/pi/Desktop/images/21022025/01/46/image_21022025_01_46_36_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338754182","1338754185","1338754200","1338754190","1338754187","1338754192"],"photo_ids_order":["1338754182","1338754185","1338754187","1338754190","1338754192","1338754200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b69d8334924e31094aa7f7537bfb587.jpg","text":"TemporaryFile(/tmp/multipartBody2321237988314226045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111273476,"filename":"image_21022025_01_45_25_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2e30abe726b79c425befe294ac0b8f0f.jpg","text":"TemporaryFile(/tmp/multipartBody2817327477324258801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111273476,"filename":"image_21022025_01_45_36_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e8a7e556cb35c03471474c9db62d634b.jpg","text":"TemporaryFile(/tmp/multipartBody8876464045265898811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111273476,"filename":"image_21022025_01_46_36_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a0622ffd0b173ae4d3919654596b8767.jpg","text":"TemporaryFile(/tmp/multipartBody7921056133914994493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111273476,"filename":"image_21022025_01_45_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ad75578b46aa4aae59b55776e12f3f2a.jpg","text":"TemporaryFile(/tmp/multipartBody3551980748345430943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111273476,"filename":"image_21022025_01_45_45_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/12327d3823dbae71874d367ff169be72.jpg","text":"TemporaryFile(/tmp/multipartBody7597091626435047679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111273476,"filename":"image_21022025_01_46_15_9316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338754187","file1":"1338754185","file0":"1338754182","file4":"1338754192","file5":"1338754200","file3":"1338754190"},"map_files_photo_id_array":[{"photo_id":"1338754200","filename":"file5"},{"photo_id":"1338754187","filename":"file2"},{"photo_id":"1338754192","filename":"file4"},{"photo_id":"1338754185","filename":"file1"},{"photo_id":"1338754182","filename":"file0"},{"photo_id":"1338754190","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338754182":["hashtag1","hashtag2"]},{"1338754185":["hashtag1","hashtag2"]},{"1338754200":["hashtag1","hashtag2"]},{"1338754190":["hashtag1","hashtag2"]},{"1338754187":["hashtag1","hashtag2"]},{"1338754192":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338754182, 1338754185, 1338754200, 1338754190, 1338754187, 1338754192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08685326576233 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:14:33.238893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/46/image_21022025_01_46_45_9253.jpg', '/home/pi/Desktop/images/21022025/01/46/image_21022025_01_46_55_10343.jpg', '/home/pi/Desktop/images/21022025/01/46/image_21022025_01_47_05_9409.jpg', '/home/pi/Desktop/images/21022025/01/47/image_21022025_01_47_15_10336.jpg', '/home/pi/Desktop/images/21022025/01/47/image_21022025_01_47_26_10412.jpg', '/home/pi/Desktop/images/21022025/01/47/image_21022025_01_47_35_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/46/image_21022025_01_46_45_9253.jpg
/home/pi/Desktop/images/21022025/01/46/image_21022025_01_46_55_10343.jpg
/home/pi/Desktop/images/21022025/01/46/image_21022025_01_47_05_9409.jpg
/home/pi/Desktop/images/21022025/01/47/image_21022025_01_47_15_10336.jpg
/home/pi/Desktop/images/21022025/01/47/image_21022025_01_47_26_10412.jpg
/home/pi/Desktop/images/21022025/01/47/image_21022025_01_47_35_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338754296","1338754305","1338754298","1338754301","1338754303","1338754293"],"photo_ids_order":["1338754293","1338754296","1338754298","1338754301","1338754303","1338754305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c86550b2a7a34bd7a4d0c8cadbc6519f.jpg","text":"TemporaryFile(/tmp/multipartBody1951416995748337091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111333709,"filename":"image_21022025_01_46_55_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cce8aaaaed14554769f977535e66e6bf.jpg","text":"TemporaryFile(/tmp/multipartBody911982903835288102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111333709,"filename":"image_21022025_01_47_35_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f2e29f898ccbe62803c1bc3b78172757.jpg","text":"TemporaryFile(/tmp/multipartBody3000257274042182521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111333709,"filename":"image_21022025_01_47_05_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/98b1a125ec5efdc6b4369a379d0e6a84.jpg","text":"TemporaryFile(/tmp/multipartBody1803516702380944594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111333709,"filename":"image_21022025_01_47_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d643bdebc87798daac93b8e12a68a438.jpg","text":"TemporaryFile(/tmp/multipartBody252749393013157037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111333709,"filename":"image_21022025_01_47_26_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0095330bb662937117da471aeb8a4276.jpg","text":"TemporaryFile(/tmp/multipartBody7873438219113866041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111333709,"filename":"image_21022025_01_46_45_9253.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338754298","file1":"1338754296","file0":"1338754293","file4":"1338754303","file5":"1338754305","file3":"1338754301"},"map_files_photo_id_array":[{"photo_id":"1338754305","filename":"file5"},{"photo_id":"1338754298","filename":"file2"},{"photo_id":"1338754303","filename":"file4"},{"photo_id":"1338754296","filename":"file1"},{"photo_id":"1338754293","filename":"file0"},{"photo_id":"1338754301","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338754296":["hashtag1","hashtag2"]},{"1338754305":["hashtag1","hashtag2"]},{"1338754298":["hashtag1","hashtag2"]},{"1338754301":["hashtag1","hashtag2"]},{"1338754303":["hashtag1","hashtag2"]},{"1338754293":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338754296, 1338754305, 1338754298, 1338754301, 1338754303, 1338754293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96789598464966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:15:32.197216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/47/image_21022025_01_47_56_10455.jpg', '/home/pi/Desktop/images/21022025/01/47/image_21022025_01_48_05_9337.jpg', '/home/pi/Desktop/images/21022025/01/48/image_21022025_01_48_15_10355.jpg', '/home/pi/Desktop/images/21022025/01/48/image_21022025_01_48_35_9312.jpg', '/home/pi/Desktop/images/21022025/01/48/image_21022025_01_48_55_9383.jpg', '/home/pi/Desktop/images/21022025/01/48/image_21022025_01_49_05_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/47/image_21022025_01_47_56_10455.jpg
/home/pi/Desktop/images/21022025/01/47/image_21022025_01_48_05_9337.jpg
/home/pi/Desktop/images/21022025/01/48/image_21022025_01_48_15_10355.jpg
/home/pi/Desktop/images/21022025/01/48/image_21022025_01_48_35_9312.jpg
/home/pi/Desktop/images/21022025/01/48/image_21022025_01_48_55_9383.jpg
/home/pi/Desktop/images/21022025/01/48/image_21022025_01_49_05_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338754335","1338754326","1338754329","1338754331","1338754333","1338754336"],"photo_ids_order":["1338754326","1338754329","1338754331","1338754333","1338754335","1338754336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7fed3ce7d28f83908ed8f8edc9887605.jpg","text":"TemporaryFile(/tmp/multipartBody752450255635819425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111392683,"filename":"image_21022025_01_48_55_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e90349d1d0f2e5950d707c394a68b920.jpg","text":"TemporaryFile(/tmp/multipartBody2776255297793907452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111392683,"filename":"image_21022025_01_47_56_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9326ce1fedb7e0b87ea220c574dcf52a.jpg","text":"TemporaryFile(/tmp/multipartBody3225451599909369346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111392683,"filename":"image_21022025_01_48_05_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be189a348995dd27662318ca77cc231d.jpg","text":"TemporaryFile(/tmp/multipartBody6297218956538963183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111392683,"filename":"image_21022025_01_48_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f6f603e666913238ca7ce143d3ea5e0d.jpg","text":"TemporaryFile(/tmp/multipartBody9175605533579230129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111392683,"filename":"image_21022025_01_48_35_9312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b23bc402e8ca36f66370fc0405157991.jpg","text":"TemporaryFile(/tmp/multipartBody6706906087096986997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111392683,"filename":"image_21022025_01_49_05_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338754331","file1":"1338754329","file0":"1338754326","file4":"1338754335","file5":"1338754336","file3":"1338754333"},"map_files_photo_id_array":[{"photo_id":"1338754336","filename":"file5"},{"photo_id":"1338754331","filename":"file2"},{"photo_id":"1338754335","filename":"file4"},{"photo_id":"1338754329","filename":"file1"},{"photo_id":"1338754326","filename":"file0"},{"photo_id":"1338754333","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338754335":["hashtag1","hashtag2"]},{"1338754326":["hashtag1","hashtag2"]},{"1338754329":["hashtag1","hashtag2"]},{"1338754331":["hashtag1","hashtag2"]},{"1338754333":["hashtag1","hashtag2"]},{"1338754336":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338754335, 1338754326, 1338754329, 1338754331, 1338754333, 1338754336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03135347366333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:16:32.426943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/49/image_21022025_01_49_16_10404.jpg', '/home/pi/Desktop/images/21022025/01/49/image_21022025_01_49_25_9327.jpg', '/home/pi/Desktop/images/21022025/01/49/image_21022025_01_49_35_10349.jpg', '/home/pi/Desktop/images/21022025/01/49/image_21022025_01_49_46_10390.jpg', '/home/pi/Desktop/images/21022025/01/50/image_21022025_01_50_25_10324.jpg', '/home/pi/Desktop/images/21022025/01/50/image_21022025_01_50_35_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/49/image_21022025_01_49_16_10404.jpg
/home/pi/Desktop/images/21022025/01/49/image_21022025_01_49_25_9327.jpg
/home/pi/Desktop/images/21022025/01/49/image_21022025_01_49_35_10349.jpg
/home/pi/Desktop/images/21022025/01/49/image_21022025_01_49_46_10390.jpg
/home/pi/Desktop/images/21022025/01/50/image_21022025_01_50_25_10324.jpg
/home/pi/Desktop/images/21022025/01/50/image_21022025_01_50_35_10332.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3847963809967041 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 05:16:42.481183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/49/image_21022025_01_49_16_10404.jpg', '/home/pi/Desktop/images/21022025/01/49/image_21022025_01_49_25_9327.jpg', '/home/pi/Desktop/images/21022025/01/49/image_21022025_01_49_35_10349.jpg', '/home/pi/Desktop/images/21022025/01/49/image_21022025_01_49_46_10390.jpg', '/home/pi/Desktop/images/21022025/01/50/image_21022025_01_50_25_10324.jpg', '/home/pi/Desktop/images/21022025/01/50/image_21022025_01_50_35_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/49/image_21022025_01_49_16_10404.jpg
/home/pi/Desktop/images/21022025/01/49/image_21022025_01_49_25_9327.jpg
/home/pi/Desktop/images/21022025/01/49/image_21022025_01_49_35_10349.jpg
/home/pi/Desktop/images/21022025/01/49/image_21022025_01_49_46_10390.jpg
/home/pi/Desktop/images/21022025/01/50/image_21022025_01_50_25_10324.jpg
/home/pi/Desktop/images/21022025/01/50/image_21022025_01_50_35_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338754358","1338754352","1338754361","1338754355","1338754349","1338754354"],"photo_ids_order":["1338754349","1338754352","1338754354","1338754355","1338754358","1338754361"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c5369437f2a92ebd76e8c79d9f351c4.jpg","text":"TemporaryFile(/tmp/multipartBody4069679027916615969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111462965,"filename":"image_21022025_01_50_25_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8522ace48c2cede2cebc0e2aaa227f20.jpg","text":"TemporaryFile(/tmp/multipartBody5923301233051936078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111462965,"filename":"image_21022025_01_49_25_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f87b514767abdb2f1c414c8eb7a1c58c.jpg","text":"TemporaryFile(/tmp/multipartBody5141122964586297855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111462965,"filename":"image_21022025_01_50_35_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/47c15af4aa298edad6316e61f9539762.jpg","text":"TemporaryFile(/tmp/multipartBody1342984143908047562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111462965,"filename":"image_21022025_01_49_46_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80aa35fa9547d5d0ee0debad10b4c263.jpg","text":"TemporaryFile(/tmp/multipartBody5602804505548898010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111462965,"filename":"image_21022025_01_49_16_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b1fcd84b9ca270f2678334e4cea15829.jpg","text":"TemporaryFile(/tmp/multipartBody2198649279650071343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111462965,"filename":"image_21022025_01_49_35_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338754354","file1":"1338754352","file0":"1338754349","file4":"1338754358","file5":"1338754361","file3":"1338754355"},"map_files_photo_id_array":[{"photo_id":"1338754361","filename":"file5"},{"photo_id":"1338754354","filename":"file2"},{"photo_id":"1338754358","filename":"file4"},{"photo_id":"1338754352","filename":"file1"},{"photo_id":"1338754349","filename":"file0"},{"photo_id":"1338754355","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338754358":["hashtag1","hashtag2"]},{"1338754352":["hashtag1","hashtag2"]},{"1338754361":["hashtag1","hashtag2"]},{"1338754355":["hashtag1","hashtag2"]},{"1338754349":["hashtag1","hashtag2"]},{"1338754354":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338754358, 1338754352, 1338754361, 1338754355, 1338754349, 1338754354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.44536805152893 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:17:32.791461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/50/image_21022025_01_50_45_9376.jpg', '/home/pi/Desktop/images/21022025/01/50/image_21022025_01_50_55_10329.jpg', '/home/pi/Desktop/images/21022025/01/50/image_21022025_01_51_06_10400.jpg', '/home/pi/Desktop/images/21022025/01/51/image_21022025_01_51_15_9344.jpg', '/home/pi/Desktop/images/21022025/01/51/image_21022025_01_51_25_10323.jpg', '/home/pi/Desktop/images/21022025/01/51/image_21022025_01_51_36_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/50/image_21022025_01_50_45_9376.jpg
/home/pi/Desktop/images/21022025/01/50/image_21022025_01_50_55_10329.jpg
/home/pi/Desktop/images/21022025/01/50/image_21022025_01_51_06_10400.jpg
/home/pi/Desktop/images/21022025/01/51/image_21022025_01_51_15_9344.jpg
/home/pi/Desktop/images/21022025/01/51/image_21022025_01_51_25_10323.jpg
/home/pi/Desktop/images/21022025/01/51/image_21022025_01_51_36_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338754380","1338754382","1338754375","1338754384","1338754378","1338754372"],"photo_ids_order":["1338754372","1338754375","1338754378","1338754380","1338754382","1338754384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c2f967b6a9683b4b48dcdf2b27532d29.jpg","text":"TemporaryFile(/tmp/multipartBody4154870421757380044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111513257,"filename":"image_21022025_01_51_15_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac1645a5a1df6d0c627c3434a0318dd0.jpg","text":"TemporaryFile(/tmp/multipartBody652571735697063025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111513257,"filename":"image_21022025_01_51_25_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/778b887b39ae5948103800097e7c1049.jpg","text":"TemporaryFile(/tmp/multipartBody7926935483454025290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111513257,"filename":"image_21022025_01_50_55_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cb0ff41c7e20778db0f1c86a2f033040.jpg","text":"TemporaryFile(/tmp/multipartBody1839414961408990906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111513257,"filename":"image_21022025_01_51_36_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1839d06b370dafc33fa77250d6bce731.jpg","text":"TemporaryFile(/tmp/multipartBody9034324545144478839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111513257,"filename":"image_21022025_01_51_06_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef1a74c150676bc65cb1325a41306926.jpg","text":"TemporaryFile(/tmp/multipartBody3631645763593659399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111513257,"filename":"image_21022025_01_50_45_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338754378","file1":"1338754375","file0":"1338754372","file4":"1338754382","file5":"1338754384","file3":"1338754380"},"map_files_photo_id_array":[{"photo_id":"1338754384","filename":"file5"},{"photo_id":"1338754378","filename":"file2"},{"photo_id":"1338754382","filename":"file4"},{"photo_id":"1338754375","filename":"file1"},{"photo_id":"1338754372","filename":"file0"},{"photo_id":"1338754380","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338754380":["hashtag1","hashtag2"]},{"1338754382":["hashtag1","hashtag2"]},{"1338754375":["hashtag1","hashtag2"]},{"1338754384":["hashtag1","hashtag2"]},{"1338754378":["hashtag1","hashtag2"]},{"1338754372":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338754380, 1338754382, 1338754375, 1338754384, 1338754378, 1338754372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11927676200867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:18:32.896658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/51/image_21022025_01_52_06_10354.jpg', '/home/pi/Desktop/images/21022025/01/52/image_21022025_01_52_15_9327.jpg', '/home/pi/Desktop/images/21022025/01/52/image_21022025_01_52_25_10365.jpg', '/home/pi/Desktop/images/21022025/01/52/image_21022025_01_53_05_9341.jpg', '/home/pi/Desktop/images/21022025/01/53/image_21022025_01_53_15_10326.jpg', '/home/pi/Desktop/images/21022025/01/53/image_21022025_01_53_25_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/51/image_21022025_01_52_06_10354.jpg
/home/pi/Desktop/images/21022025/01/52/image_21022025_01_52_15_9327.jpg
/home/pi/Desktop/images/21022025/01/52/image_21022025_01_52_25_10365.jpg
/home/pi/Desktop/images/21022025/01/52/image_21022025_01_53_05_9341.jpg
/home/pi/Desktop/images/21022025/01/53/image_21022025_01_53_15_10326.jpg
/home/pi/Desktop/images/21022025/01/53/image_21022025_01_53_25_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338754409","1338754393","1338754406","1338754396","1338754408","1338754402"],"photo_ids_order":["1338754393","1338754396","1338754402","1338754406","1338754408","1338754409"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7951d075bbadab7100c3e75a21017cd9.jpg","text":"TemporaryFile(/tmp/multipartBody2401521539793829432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111573360,"filename":"image_21022025_01_53_25_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f837f7a358c7f6bdc8376a13c6c505ae.jpg","text":"TemporaryFile(/tmp/multipartBody8763766296857846654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111573360,"filename":"image_21022025_01_52_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eb6f0c43d68a37b8c5033595fd465a5d.jpg","text":"TemporaryFile(/tmp/multipartBody2870657582125560627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111573360,"filename":"image_21022025_01_53_05_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/581f53e926f671a513f269eb2292ead3.jpg","text":"TemporaryFile(/tmp/multipartBody6606603902530281807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111573360,"filename":"image_21022025_01_52_15_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e94b1929f45ba299e66e164c530da650.jpg","text":"TemporaryFile(/tmp/multipartBody7478211627942981927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111573360,"filename":"image_21022025_01_53_15_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c9e7b0cc6cc4ea2c0874b0d3d1ccf09.jpg","text":"TemporaryFile(/tmp/multipartBody8928802023966696867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111573360,"filename":"image_21022025_01_52_25_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338754402","file1":"1338754396","file0":"1338754393","file4":"1338754408","file5":"1338754409","file3":"1338754406"},"map_files_photo_id_array":[{"photo_id":"1338754409","filename":"file5"},{"photo_id":"1338754402","filename":"file2"},{"photo_id":"1338754408","filename":"file4"},{"photo_id":"1338754396","filename":"file1"},{"photo_id":"1338754393","filename":"file0"},{"photo_id":"1338754406","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338754409":["hashtag1","hashtag2"]},{"1338754393":["hashtag1","hashtag2"]},{"1338754406":["hashtag1","hashtag2"]},{"1338754396":["hashtag1","hashtag2"]},{"1338754408":["hashtag1","hashtag2"]},{"1338754402":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338754409, 1338754393, 1338754406, 1338754396, 1338754408, 1338754402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.878352642059326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:19:33.017346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/53/image_21022025_01_53_35_9373.jpg', '/home/pi/Desktop/images/21022025/01/53/image_21022025_01_53_45_10326.jpg', '/home/pi/Desktop/images/21022025/01/53/image_21022025_01_53_56_10432.jpg', '/home/pi/Desktop/images/21022025/01/53/image_21022025_01_54_05_9321.jpg', '/home/pi/Desktop/images/21022025/01/54/image_21022025_01_54_35_9318.jpg', '/home/pi/Desktop/images/21022025/01/54/image_21022025_01_54_45_10327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/53/image_21022025_01_53_35_9373.jpg
/home/pi/Desktop/images/21022025/01/53/image_21022025_01_53_45_10326.jpg
/home/pi/Desktop/images/21022025/01/53/image_21022025_01_53_56_10432.jpg
/home/pi/Desktop/images/21022025/01/53/image_21022025_01_54_05_9321.jpg
/home/pi/Desktop/images/21022025/01/54/image_21022025_01_54_35_9318.jpg
/home/pi/Desktop/images/21022025/01/54/image_21022025_01_54_45_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338754572","1338754601","1338754585","1338754594","1338754576","1338754600"],"photo_ids_order":["1338754572","1338754576","1338754585","1338754594","1338754600","1338754601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0300d170aa1bf7a102a5c1b82907d82f.jpg","text":"TemporaryFile(/tmp/multipartBody694190948189614578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111633492,"filename":"image_21022025_01_53_35_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/99d349483cc4c2af9392e8dc109e440f.jpg","text":"TemporaryFile(/tmp/multipartBody8093240319351692485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111633492,"filename":"image_21022025_01_54_45_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/71c777fa1c3d3436fff7940da7f17854.jpg","text":"TemporaryFile(/tmp/multipartBody4454516120927242376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111633492,"filename":"image_21022025_01_53_56_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8af9f450ac38d2784df2df9241081b06.jpg","text":"TemporaryFile(/tmp/multipartBody7588820113316089615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111633492,"filename":"image_21022025_01_54_05_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a33543370ee1dcd235d1af5e1c3ea746.jpg","text":"TemporaryFile(/tmp/multipartBody1813161323475360527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111633492,"filename":"image_21022025_01_53_45_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a82ceccd6afc7c527010e49f698521e.jpg","text":"TemporaryFile(/tmp/multipartBody6021414790060988160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111633492,"filename":"image_21022025_01_54_35_9318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338754585","file1":"1338754576","file0":"1338754572","file4":"1338754600","file5":"1338754601","file3":"1338754594"},"map_files_photo_id_array":[{"photo_id":"1338754601","filename":"file5"},{"photo_id":"1338754585","filename":"file2"},{"photo_id":"1338754600","filename":"file4"},{"photo_id":"1338754576","filename":"file1"},{"photo_id":"1338754572","filename":"file0"},{"photo_id":"1338754594","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338754572":["hashtag1","hashtag2"]},{"1338754601":["hashtag1","hashtag2"]},{"1338754585":["hashtag1","hashtag2"]},{"1338754594":["hashtag1","hashtag2"]},{"1338754576":["hashtag1","hashtag2"]},{"1338754600":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338754572, 1338754601, 1338754585, 1338754594, 1338754576, 1338754600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54304265975952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:20:32.094507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/54/image_21022025_01_54_56_10338.jpg', '/home/pi/Desktop/images/21022025/01/54/image_21022025_01_55_05_9396.jpg', '/home/pi/Desktop/images/21022025/01/55/image_21022025_01_55_15_10333.jpg', '/home/pi/Desktop/images/21022025/01/55/image_21022025_01_55_26_10318.jpg', '/home/pi/Desktop/images/21022025/01/55/image_21022025_01_55_35_9399.jpg', '/home/pi/Desktop/images/21022025/01/55/image_21022025_01_55_55_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/54/image_21022025_01_54_56_10338.jpg
/home/pi/Desktop/images/21022025/01/54/image_21022025_01_55_05_9396.jpg
/home/pi/Desktop/images/21022025/01/55/image_21022025_01_55_15_10333.jpg
/home/pi/Desktop/images/21022025/01/55/image_21022025_01_55_26_10318.jpg
/home/pi/Desktop/images/21022025/01/55/image_21022025_01_55_35_9399.jpg
/home/pi/Desktop/images/21022025/01/55/image_21022025_01_55_55_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338754686","1338754684","1338754681","1338754675","1338754669","1338754654"],"photo_ids_order":["1338754654","1338754669","1338754675","1338754681","1338754684","1338754686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e118a6b7a49f83f9adf9387b37cd7bdc.jpg","text":"TemporaryFile(/tmp/multipartBody4005770761048761194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111692563,"filename":"image_21022025_01_55_55_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2028b6902107166622735341a5ae7f8f.jpg","text":"TemporaryFile(/tmp/multipartBody5504828141556679066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111692563,"filename":"image_21022025_01_55_35_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8df890298bce0d223dc7126238335d53.jpg","text":"TemporaryFile(/tmp/multipartBody1633554635990556072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111692563,"filename":"image_21022025_01_55_26_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7eec26533ee346da31ece2f262b60b7b.jpg","text":"TemporaryFile(/tmp/multipartBody926573497988769056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111692563,"filename":"image_21022025_01_55_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8981270e58eaaaa59af9e83fc1090fe.jpg","text":"TemporaryFile(/tmp/multipartBody5042678458050832830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111692563,"filename":"image_21022025_01_55_05_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a41046b54eba9965fb7018cd99d09692.jpg","text":"TemporaryFile(/tmp/multipartBody711829614448701870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111692563,"filename":"image_21022025_01_54_56_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338754675","file1":"1338754669","file0":"1338754654","file4":"1338754684","file5":"1338754686","file3":"1338754681"},"map_files_photo_id_array":[{"photo_id":"1338754686","filename":"file5"},{"photo_id":"1338754675","filename":"file2"},{"photo_id":"1338754684","filename":"file4"},{"photo_id":"1338754669","filename":"file1"},{"photo_id":"1338754654","filename":"file0"},{"photo_id":"1338754681","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338754686":["hashtag1","hashtag2"]},{"1338754684":["hashtag1","hashtag2"]},{"1338754681":["hashtag1","hashtag2"]},{"1338754675":["hashtag1","hashtag2"]},{"1338754669":["hashtag1","hashtag2"]},{"1338754654":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338754686, 1338754684, 1338754681, 1338754675, 1338754669, 1338754654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88919186592102 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:21:32.311034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/55/image_21022025_01_56_05_10349.jpg', '/home/pi/Desktop/images/21022025/01/56/image_21022025_01_56_16_10359.jpg', '/home/pi/Desktop/images/21022025/01/56/image_21022025_01_56_25_9330.jpg', '/home/pi/Desktop/images/21022025/01/56/image_21022025_01_56_35_10389.jpg', '/home/pi/Desktop/images/21022025/01/56/image_21022025_01_56_46_10333.jpg', '/home/pi/Desktop/images/21022025/01/56/image_21022025_01_56_55_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/55/image_21022025_01_56_05_10349.jpg
/home/pi/Desktop/images/21022025/01/56/image_21022025_01_56_16_10359.jpg
/home/pi/Desktop/images/21022025/01/56/image_21022025_01_56_25_9330.jpg
/home/pi/Desktop/images/21022025/01/56/image_21022025_01_56_35_10389.jpg
/home/pi/Desktop/images/21022025/01/56/image_21022025_01_56_46_10333.jpg
/home/pi/Desktop/images/21022025/01/56/image_21022025_01_56_55_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338754719","1338754712","1338754721","1338754715","1338754723","1338754717"],"photo_ids_order":["1338754712","1338754715","1338754717","1338754719","1338754721","1338754723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/538524e26ed92288b33779cf93bc21be.jpg","text":"TemporaryFile(/tmp/multipartBody5088048352406074912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111752808,"filename":"image_21022025_01_56_35_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/691cdf3fbbb4bb21a216b8e57ba5b27d.jpg","text":"TemporaryFile(/tmp/multipartBody3518442738147537632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111752808,"filename":"image_21022025_01_56_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3bd8394b385a976506e2b305859f77c4.jpg","text":"TemporaryFile(/tmp/multipartBody3985324420548261635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111752808,"filename":"image_21022025_01_56_46_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/72bba77861ddd866e9a7ebce5c8fee1f.jpg","text":"TemporaryFile(/tmp/multipartBody148296557792348580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111752808,"filename":"image_21022025_01_56_16_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6af9538b14a7b222148a5221c362ba35.jpg","text":"TemporaryFile(/tmp/multipartBody3235764261862922951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111752808,"filename":"image_21022025_01_56_55_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2934d3ff33f1544dd2fe32553d53d6c6.jpg","text":"TemporaryFile(/tmp/multipartBody3449770416734422513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111752808,"filename":"image_21022025_01_56_25_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338754717","file1":"1338754715","file0":"1338754712","file4":"1338754721","file5":"1338754723","file3":"1338754719"},"map_files_photo_id_array":[{"photo_id":"1338754723","filename":"file5"},{"photo_id":"1338754717","filename":"file2"},{"photo_id":"1338754721","filename":"file4"},{"photo_id":"1338754715","filename":"file1"},{"photo_id":"1338754712","filename":"file0"},{"photo_id":"1338754719","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338754719":["hashtag1","hashtag2"]},{"1338754712":["hashtag1","hashtag2"]},{"1338754721":["hashtag1","hashtag2"]},{"1338754715":["hashtag1","hashtag2"]},{"1338754723":["hashtag1","hashtag2"]},{"1338754717":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338754719, 1338754712, 1338754721, 1338754715, 1338754723, 1338754717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32361841201782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:22:32.436792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/56/image_21022025_01_57_05_10335.jpg', '/home/pi/Desktop/images/21022025/01/57/image_21022025_01_57_16_10350.jpg', '/home/pi/Desktop/images/21022025/01/57/image_21022025_01_57_25_9325.jpg', '/home/pi/Desktop/images/21022025/01/57/image_21022025_01_57_35_10344.jpg', '/home/pi/Desktop/images/21022025/01/57/image_21022025_01_57_46_10427.jpg', '/home/pi/Desktop/images/21022025/01/57/image_21022025_01_57_55_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/56/image_21022025_01_57_05_10335.jpg
/home/pi/Desktop/images/21022025/01/57/image_21022025_01_57_16_10350.jpg
/home/pi/Desktop/images/21022025/01/57/image_21022025_01_57_25_9325.jpg
/home/pi/Desktop/images/21022025/01/57/image_21022025_01_57_35_10344.jpg
/home/pi/Desktop/images/21022025/01/57/image_21022025_01_57_46_10427.jpg
/home/pi/Desktop/images/21022025/01/57/image_21022025_01_57_55_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338754749","1338754745","1338754733","1338754747","1338754741","1338754738"],"photo_ids_order":["1338754733","1338754738","1338754741","1338754745","1338754747","1338754749"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4153024a31c490b629a22b5cf316430d.jpg","text":"TemporaryFile(/tmp/multipartBody5875275372945437042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111812907,"filename":"image_21022025_01_57_55_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2687ada293f3a2e838689217ce983f21.jpg","text":"TemporaryFile(/tmp/multipartBody2118035374886961945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111812907,"filename":"image_21022025_01_57_35_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa52f283cdcfada2fc1fafd7ecb57c3d.jpg","text":"TemporaryFile(/tmp/multipartBody2600752061683608165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111812907,"filename":"image_21022025_01_57_05_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a2cdede643f1dc5898eddebe936c47b.jpg","text":"TemporaryFile(/tmp/multipartBody2475417384391963923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111812907,"filename":"image_21022025_01_57_46_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/38ac5c4862116444f3ffd7ae7cad03ab.jpg","text":"TemporaryFile(/tmp/multipartBody1574177133351660994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111812907,"filename":"image_21022025_01_57_25_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/85c661fc0b04efe0c049199fa6285f05.jpg","text":"TemporaryFile(/tmp/multipartBody9115731945093618807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111812907,"filename":"image_21022025_01_57_16_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338754741","file1":"1338754738","file0":"1338754733","file4":"1338754747","file5":"1338754749","file3":"1338754745"},"map_files_photo_id_array":[{"photo_id":"1338754749","filename":"file5"},{"photo_id":"1338754741","filename":"file2"},{"photo_id":"1338754747","filename":"file4"},{"photo_id":"1338754738","filename":"file1"},{"photo_id":"1338754733","filename":"file0"},{"photo_id":"1338754745","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338754749":["hashtag1","hashtag2"]},{"1338754745":["hashtag1","hashtag2"]},{"1338754733":["hashtag1","hashtag2"]},{"1338754747":["hashtag1","hashtag2"]},{"1338754741":["hashtag1","hashtag2"]},{"1338754738":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338754749, 1338754745, 1338754733, 1338754747, 1338754741, 1338754738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81561017036438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:23:32.624146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/57/image_21022025_01_58_06_10465.jpg', '/home/pi/Desktop/images/21022025/01/58/image_21022025_01_58_15_9322.jpg', '/home/pi/Desktop/images/21022025/01/58/image_21022025_01_58_25_10326.jpg', '/home/pi/Desktop/images/21022025/01/58/image_21022025_01_58_36_10364.jpg', '/home/pi/Desktop/images/21022025/01/58/image_21022025_01_58_45_9311.jpg', '/home/pi/Desktop/images/21022025/01/58/image_21022025_01_58_55_10326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/57/image_21022025_01_58_06_10465.jpg
/home/pi/Desktop/images/21022025/01/58/image_21022025_01_58_15_9322.jpg
/home/pi/Desktop/images/21022025/01/58/image_21022025_01_58_25_10326.jpg
/home/pi/Desktop/images/21022025/01/58/image_21022025_01_58_36_10364.jpg
/home/pi/Desktop/images/21022025/01/58/image_21022025_01_58_45_9311.jpg
/home/pi/Desktop/images/21022025/01/58/image_21022025_01_58_55_10326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338755132","1338755123","1338755095","1338755143","1338755110","1338755091"],"photo_ids_order":["1338755091","1338755095","1338755110","1338755123","1338755132","1338755143"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9d70af4e10779d071386bc4107f3b491.jpg","text":"TemporaryFile(/tmp/multipartBody1535839832617307243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111873094,"filename":"image_21022025_01_58_45_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b7256af780ac2eb9de8df21a350af2bb.jpg","text":"TemporaryFile(/tmp/multipartBody9203441665489113715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111873094,"filename":"image_21022025_01_58_36_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e99a6d461fb37bcf53daf7a819c8f0d0.jpg","text":"TemporaryFile(/tmp/multipartBody4791636325009141235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111873094,"filename":"image_21022025_01_58_15_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c5a4596e49fe3646074bd054709e301.jpg","text":"TemporaryFile(/tmp/multipartBody5563454264428874915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111873094,"filename":"image_21022025_01_58_55_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/77dfea1c276dbe2cfd3b9e7e462cee57.jpg","text":"TemporaryFile(/tmp/multipartBody123594127867289305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111873094,"filename":"image_21022025_01_58_25_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ab0a0e0a84d610c073fc10b185ee8be0.jpg","text":"TemporaryFile(/tmp/multipartBody2221932640807953796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111873094,"filename":"image_21022025_01_58_06_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338755110","file1":"1338755095","file0":"1338755091","file4":"1338755132","file5":"1338755143","file3":"1338755123"},"map_files_photo_id_array":[{"photo_id":"1338755143","filename":"file5"},{"photo_id":"1338755110","filename":"file2"},{"photo_id":"1338755132","filename":"file4"},{"photo_id":"1338755095","filename":"file1"},{"photo_id":"1338755091","filename":"file0"},{"photo_id":"1338755123","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338755132":["hashtag1","hashtag2"]},{"1338755123":["hashtag1","hashtag2"]},{"1338755095":["hashtag1","hashtag2"]},{"1338755143":["hashtag1","hashtag2"]},{"1338755110":["hashtag1","hashtag2"]},{"1338755091":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338755132, 1338755123, 1338755095, 1338755143, 1338755110, 1338755091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.50999212265015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:24:32.931728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/01/58/image_21022025_01_59_06_10264.jpg', '/home/pi/Desktop/images/21022025/01/59/image_21022025_01_59_15_9333.jpg', '/home/pi/Desktop/images/21022025/01/59/image_21022025_01_59_25_10323.jpg', '/home/pi/Desktop/images/21022025/01/59/image_21022025_01_59_36_10404.jpg', '/home/pi/Desktop/images/21022025/01/59/image_21022025_01_59_45_9321.jpg', '/home/pi/Desktop/images/21022025/02/00/image_21022025_02_00_15_10079.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/01/58/image_21022025_01_59_06_10264.jpg
/home/pi/Desktop/images/21022025/01/59/image_21022025_01_59_15_9333.jpg
/home/pi/Desktop/images/21022025/01/59/image_21022025_01_59_25_10323.jpg
/home/pi/Desktop/images/21022025/01/59/image_21022025_01_59_36_10404.jpg
/home/pi/Desktop/images/21022025/01/59/image_21022025_01_59_45_9321.jpg
/home/pi/Desktop/images/21022025/02/00/image_21022025_02_00_15_10079.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338755226","1338755233","1338755206","1338755209","1338755151","1338755235"],"photo_ids_order":["1338755151","1338755206","1338755209","1338755226","1338755233","1338755235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1505cd5ae0a08b6d5a150e7d363319c.jpg","text":"TemporaryFile(/tmp/multipartBody3413951793686730022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111933460,"filename":"image_21022025_01_59_36_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f3258d57794deb4fd30622eaf5ed805.jpg","text":"TemporaryFile(/tmp/multipartBody6267674328157760851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111933460,"filename":"image_21022025_01_59_45_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/17cb1324dd060a4b1f5a21ea762978d8.jpg","text":"TemporaryFile(/tmp/multipartBody8063998759647570237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111933460,"filename":"image_21022025_01_59_15_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1a442d4aa7ccf6b7d4542b1bd8f8a44.jpg","text":"TemporaryFile(/tmp/multipartBody889369643003272231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111933460,"filename":"image_21022025_01_59_25_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b0dfa6dfba271130becc7f062ca63053.jpg","text":"TemporaryFile(/tmp/multipartBody4136155413091928793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111933460,"filename":"image_21022025_01_59_06_10264.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/470fc295a1c72735ae13e753c5000dab.jpg","text":"TemporaryFile(/tmp/multipartBody3347807469526237613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111933460,"filename":"image_21022025_02_00_15_10079.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338755209","file1":"1338755206","file0":"1338755151","file4":"1338755233","file5":"1338755235","file3":"1338755226"},"map_files_photo_id_array":[{"photo_id":"1338755235","filename":"file5"},{"photo_id":"1338755209","filename":"file2"},{"photo_id":"1338755233","filename":"file4"},{"photo_id":"1338755206","filename":"file1"},{"photo_id":"1338755151","filename":"file0"},{"photo_id":"1338755226","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338755226":["hashtag1","hashtag2"]},{"1338755233":["hashtag1","hashtag2"]},{"1338755206":["hashtag1","hashtag2"]},{"1338755209":["hashtag1","hashtag2"]},{"1338755151":["hashtag1","hashtag2"]},{"1338755235":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338755226, 1338755233, 1338755206, 1338755209, 1338755151, 1338755235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.360004901885986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:25:33.074710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/00/image_21022025_02_00_25_10329.jpg', '/home/pi/Desktop/images/21022025/02/00/image_21022025_02_00_36_10399.jpg', '/home/pi/Desktop/images/21022025/02/00/image_21022025_02_00_45_9311.jpg', '/home/pi/Desktop/images/21022025/02/00/image_21022025_02_00_55_10425.jpg', '/home/pi/Desktop/images/21022025/02/00/image_21022025_02_01_06_10416.jpg', '/home/pi/Desktop/images/21022025/02/01/image_21022025_02_01_15_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/00/image_21022025_02_00_25_10329.jpg
/home/pi/Desktop/images/21022025/02/00/image_21022025_02_00_36_10399.jpg
/home/pi/Desktop/images/21022025/02/00/image_21022025_02_00_45_9311.jpg
/home/pi/Desktop/images/21022025/02/00/image_21022025_02_00_55_10425.jpg
/home/pi/Desktop/images/21022025/02/00/image_21022025_02_01_06_10416.jpg
/home/pi/Desktop/images/21022025/02/01/image_21022025_02_01_15_9397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338755421","1338755415","1338755418","1338755423","1338755426","1338755428"],"photo_ids_order":["1338755415","1338755418","1338755421","1338755423","1338755426","1338755428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/63fc52bc3efb2b263d7a085c1d940e98.jpg","text":"TemporaryFile(/tmp/multipartBody1759761647093640423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111993582,"filename":"image_21022025_02_00_45_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ec8ec3858acc61e03c4448da349908c.jpg","text":"TemporaryFile(/tmp/multipartBody6330492564495413921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111993582,"filename":"image_21022025_02_00_25_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c73cc6636ebd05da34a2a1476d1c4513.jpg","text":"TemporaryFile(/tmp/multipartBody5469639149199079713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111993582,"filename":"image_21022025_02_00_36_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ad382ac043b1db52fa401575e3fad9e8.jpg","text":"TemporaryFile(/tmp/multipartBody4992561257842384791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111993582,"filename":"image_21022025_02_00_55_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/46d0aa56c4b41f72591f2e87f9102591.jpg","text":"TemporaryFile(/tmp/multipartBody8795160915361006115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111993582,"filename":"image_21022025_02_01_06_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc40d8e8ad424312cd7a8c62829b5698.jpg","text":"TemporaryFile(/tmp/multipartBody1241429103119669146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740111993582,"filename":"image_21022025_02_01_15_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338755421","file1":"1338755418","file0":"1338755415","file4":"1338755426","file5":"1338755428","file3":"1338755423"},"map_files_photo_id_array":[{"photo_id":"1338755428","filename":"file5"},{"photo_id":"1338755421","filename":"file2"},{"photo_id":"1338755426","filename":"file4"},{"photo_id":"1338755418","filename":"file1"},{"photo_id":"1338755415","filename":"file0"},{"photo_id":"1338755423","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338755421":["hashtag1","hashtag2"]},{"1338755415":["hashtag1","hashtag2"]},{"1338755418":["hashtag1","hashtag2"]},{"1338755423":["hashtag1","hashtag2"]},{"1338755426":["hashtag1","hashtag2"]},{"1338755428":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338755421, 1338755415, 1338755418, 1338755423, 1338755426, 1338755428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61862325668335 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:26:32.123119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/01/image_21022025_02_01_26_10380.jpg', '/home/pi/Desktop/images/21022025/02/01/image_21022025_02_01_35_9334.jpg', '/home/pi/Desktop/images/21022025/02/01/image_21022025_02_01_45_10325.jpg', '/home/pi/Desktop/images/21022025/02/01/image_21022025_02_01_56_10368.jpg', '/home/pi/Desktop/images/21022025/02/02/image_21022025_02_02_26_10416.jpg', '/home/pi/Desktop/images/21022025/02/02/image_21022025_02_02_35_9305.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/01/image_21022025_02_01_26_10380.jpg
/home/pi/Desktop/images/21022025/02/01/image_21022025_02_01_35_9334.jpg
/home/pi/Desktop/images/21022025/02/01/image_21022025_02_01_45_10325.jpg
/home/pi/Desktop/images/21022025/02/01/image_21022025_02_01_56_10368.jpg
/home/pi/Desktop/images/21022025/02/02/image_21022025_02_02_26_10416.jpg
/home/pi/Desktop/images/21022025/02/02/image_21022025_02_02_35_9305.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338755442","1338755438","1338755435","1338755446","1338755449","1338755448"],"photo_ids_order":["1338755435","1338755438","1338755442","1338755446","1338755448","1338755449"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1e1199b5208761b33efc4835b0e22829.jpg","text":"TemporaryFile(/tmp/multipartBody1401835938003312086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112052597,"filename":"image_21022025_02_01_45_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7fda9e9cdd1c89728e92469cf8dc65cc.jpg","text":"TemporaryFile(/tmp/multipartBody2253163680072713454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112052597,"filename":"image_21022025_02_01_35_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7519ffe85bd045df56064f88dd779d4a.jpg","text":"TemporaryFile(/tmp/multipartBody2162665524202597627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112052597,"filename":"image_21022025_02_01_26_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f395f6358b1e93f9b8ada7b8f8ca4494.jpg","text":"TemporaryFile(/tmp/multipartBody1916726619950216580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112052597,"filename":"image_21022025_02_01_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/699b78e0fb841ab8562de0350fce272f.jpg","text":"TemporaryFile(/tmp/multipartBody7109083701436110023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112052597,"filename":"image_21022025_02_02_35_9305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b78276105423068ace9d0fb43772d96a.jpg","text":"TemporaryFile(/tmp/multipartBody3746992475413465312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112052597,"filename":"image_21022025_02_02_26_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338755442","file1":"1338755438","file0":"1338755435","file4":"1338755448","file5":"1338755449","file3":"1338755446"},"map_files_photo_id_array":[{"photo_id":"1338755449","filename":"file5"},{"photo_id":"1338755442","filename":"file2"},{"photo_id":"1338755448","filename":"file4"},{"photo_id":"1338755438","filename":"file1"},{"photo_id":"1338755435","filename":"file0"},{"photo_id":"1338755446","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338755442":["hashtag1","hashtag2"]},{"1338755438":["hashtag1","hashtag2"]},{"1338755435":["hashtag1","hashtag2"]},{"1338755446":["hashtag1","hashtag2"]},{"1338755449":["hashtag1","hashtag2"]},{"1338755448":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338755442, 1338755438, 1338755435, 1338755446, 1338755449, 1338755448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.543121099472046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:27:32.311963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/02/image_21022025_02_02_45_10428.jpg', '/home/pi/Desktop/images/21022025/02/02/image_21022025_02_02_55_9438.jpg', '/home/pi/Desktop/images/21022025/02/02/image_21022025_02_03_05_10336.jpg', '/home/pi/Desktop/images/21022025/02/03/image_21022025_02_03_16_10410.jpg', '/home/pi/Desktop/images/21022025/02/03/image_21022025_02_03_25_9327.jpg', '/home/pi/Desktop/images/21022025/02/03/image_21022025_02_03_35_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/02/image_21022025_02_02_45_10428.jpg
/home/pi/Desktop/images/21022025/02/02/image_21022025_02_02_55_9438.jpg
/home/pi/Desktop/images/21022025/02/02/image_21022025_02_03_05_10336.jpg
/home/pi/Desktop/images/21022025/02/03/image_21022025_02_03_16_10410.jpg
/home/pi/Desktop/images/21022025/02/03/image_21022025_02_03_25_9327.jpg
/home/pi/Desktop/images/21022025/02/03/image_21022025_02_03_35_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338755465","1338755459","1338755464","1338755461","1338755463","1338755466"],"photo_ids_order":["1338755459","1338755461","1338755463","1338755464","1338755465","1338755466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/56e42f30f4d59966a800944fcc3b7ba4.jpg","text":"TemporaryFile(/tmp/multipartBody5193805047254302045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112112788,"filename":"image_21022025_02_03_25_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0709ed0b34b5d5e87f9c269ca22dd182.jpg","text":"TemporaryFile(/tmp/multipartBody769603439400231834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112112788,"filename":"image_21022025_02_02_45_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/88a0f512a8a9381fa22ed10049bf11d3.jpg","text":"TemporaryFile(/tmp/multipartBody9074128566112803813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112112788,"filename":"image_21022025_02_03_16_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b831a911d95d7cdf2856295690aa3e5d.jpg","text":"TemporaryFile(/tmp/multipartBody3309808478866854655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112112788,"filename":"image_21022025_02_02_55_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/327ef9f4659353c0542af7b72b75711f.jpg","text":"TemporaryFile(/tmp/multipartBody1024542958505699355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112112788,"filename":"image_21022025_02_03_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/513cf042a9c5a129be29b3bd4891a70a.jpg","text":"TemporaryFile(/tmp/multipartBody3722649072576845237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112112788,"filename":"image_21022025_02_03_35_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338755463","file1":"1338755461","file0":"1338755459","file4":"1338755465","file5":"1338755466","file3":"1338755464"},"map_files_photo_id_array":[{"photo_id":"1338755466","filename":"file5"},{"photo_id":"1338755463","filename":"file2"},{"photo_id":"1338755465","filename":"file4"},{"photo_id":"1338755461","filename":"file1"},{"photo_id":"1338755459","filename":"file0"},{"photo_id":"1338755464","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338755465":["hashtag1","hashtag2"]},{"1338755459":["hashtag1","hashtag2"]},{"1338755464":["hashtag1","hashtag2"]},{"1338755461":["hashtag1","hashtag2"]},{"1338755463":["hashtag1","hashtag2"]},{"1338755466":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338755465, 1338755459, 1338755464, 1338755461, 1338755463, 1338755466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92627787590027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:28:32.431044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/03/image_21022025_02_03_46_10422.jpg', '/home/pi/Desktop/images/21022025/02/03/image_21022025_02_04_05_10341.jpg', '/home/pi/Desktop/images/21022025/02/04/image_21022025_02_04_15_9410.jpg', '/home/pi/Desktop/images/21022025/02/04/image_21022025_02_04_36_10416.jpg', '/home/pi/Desktop/images/21022025/02/04/image_21022025_02_04_55_10333.jpg', '/home/pi/Desktop/images/21022025/02/04/image_21022025_02_05_06_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/03/image_21022025_02_03_46_10422.jpg
/home/pi/Desktop/images/21022025/02/03/image_21022025_02_04_05_10341.jpg
/home/pi/Desktop/images/21022025/02/04/image_21022025_02_04_15_9410.jpg
/home/pi/Desktop/images/21022025/02/04/image_21022025_02_04_36_10416.jpg
/home/pi/Desktop/images/21022025/02/04/image_21022025_02_04_55_10333.jpg
/home/pi/Desktop/images/21022025/02/04/image_21022025_02_05_06_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338755517","1338755495","1338755510","1338755497","1338755524","1338755493"],"photo_ids_order":["1338755493","1338755495","1338755497","1338755510","1338755517","1338755524"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4aa84773d425469a6b93b714e67a5867.jpg","text":"TemporaryFile(/tmp/multipartBody8638539041884185000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112172905,"filename":"image_21022025_02_04_55_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ded39191e54a51b0969193c9b16efbd4.jpg","text":"TemporaryFile(/tmp/multipartBody1309123826285853637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112172905,"filename":"image_21022025_02_04_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f70a25252d7ac618ac28d037901b683.jpg","text":"TemporaryFile(/tmp/multipartBody3167247261914022458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112172905,"filename":"image_21022025_02_04_36_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dcf19ba984dd0b7d43a9edfac8a55c3e.jpg","text":"TemporaryFile(/tmp/multipartBody3062499278664241535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112172905,"filename":"image_21022025_02_04_15_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4e34e3e0dd555d70a90ced7ab66d7560.jpg","text":"TemporaryFile(/tmp/multipartBody4116009507188254180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112172905,"filename":"image_21022025_02_05_06_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7459c66efd865b09a331c98722538fb7.jpg","text":"TemporaryFile(/tmp/multipartBody1680911784655091882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112172905,"filename":"image_21022025_02_03_46_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338755497","file1":"1338755495","file0":"1338755493","file4":"1338755517","file5":"1338755524","file3":"1338755510"},"map_files_photo_id_array":[{"photo_id":"1338755524","filename":"file5"},{"photo_id":"1338755497","filename":"file2"},{"photo_id":"1338755517","filename":"file4"},{"photo_id":"1338755495","filename":"file1"},{"photo_id":"1338755493","filename":"file0"},{"photo_id":"1338755510","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338755517":["hashtag1","hashtag2"]},{"1338755495":["hashtag1","hashtag2"]},{"1338755510":["hashtag1","hashtag2"]},{"1338755497":["hashtag1","hashtag2"]},{"1338755524":["hashtag1","hashtag2"]},{"1338755493":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338755517, 1338755495, 1338755510, 1338755497, 1338755524, 1338755493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64618253707886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:29:32.708076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/05/image_21022025_02_05_15_9349.jpg', '/home/pi/Desktop/images/21022025/02/05/image_21022025_02_05_25_10330.jpg', '/home/pi/Desktop/images/21022025/02/05/image_21022025_02_05_45_9333.jpg', '/home/pi/Desktop/images/21022025/02/05/image_21022025_02_05_55_10417.jpg', '/home/pi/Desktop/images/21022025/02/05/image_21022025_02_06_05_9403.jpg', '/home/pi/Desktop/images/21022025/02/06/image_21022025_02_06_15_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/05/image_21022025_02_05_15_9349.jpg
/home/pi/Desktop/images/21022025/02/05/image_21022025_02_05_25_10330.jpg
/home/pi/Desktop/images/21022025/02/05/image_21022025_02_05_45_9333.jpg
/home/pi/Desktop/images/21022025/02/05/image_21022025_02_05_55_10417.jpg
/home/pi/Desktop/images/21022025/02/05/image_21022025_02_06_05_9403.jpg
/home/pi/Desktop/images/21022025/02/06/image_21022025_02_06_15_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338755567","1338755555","1338755566","1338755560","1338755568","1338755565"],"photo_ids_order":["1338755555","1338755560","1338755565","1338755566","1338755567","1338755568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0933d8d737a87d043a8cf6736b6c0ae1.jpg","text":"TemporaryFile(/tmp/multipartBody7244348797633021215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112233196,"filename":"image_21022025_02_06_05_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c9ea0ace7ffc7e9151a94f8baebb9fab.jpg","text":"TemporaryFile(/tmp/multipartBody3718149195715089014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112233196,"filename":"image_21022025_02_05_15_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5cfc076d7221085ad1fca3b440fb8128.jpg","text":"TemporaryFile(/tmp/multipartBody6095681870755391646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112233196,"filename":"image_21022025_02_05_55_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1fbf8cbee7d29387c0d022c803e0d9f6.jpg","text":"TemporaryFile(/tmp/multipartBody2309084242514412232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112233196,"filename":"image_21022025_02_05_25_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/192ee6f5313d363448bccf6ed5599b34.jpg","text":"TemporaryFile(/tmp/multipartBody9059464427568992425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112233196,"filename":"image_21022025_02_06_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9bf51f1875e5b4f7d5d6cab9295f3158.jpg","text":"TemporaryFile(/tmp/multipartBody3535364167973105716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112233196,"filename":"image_21022025_02_05_45_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338755565","file1":"1338755560","file0":"1338755555","file4":"1338755567","file5":"1338755568","file3":"1338755566"},"map_files_photo_id_array":[{"photo_id":"1338755568","filename":"file5"},{"photo_id":"1338755565","filename":"file2"},{"photo_id":"1338755567","filename":"file4"},{"photo_id":"1338755560","filename":"file1"},{"photo_id":"1338755555","filename":"file0"},{"photo_id":"1338755566","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338755567":["hashtag1","hashtag2"]},{"1338755555":["hashtag1","hashtag2"]},{"1338755566":["hashtag1","hashtag2"]},{"1338755560":["hashtag1","hashtag2"]},{"1338755568":["hashtag1","hashtag2"]},{"1338755565":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338755567, 1338755555, 1338755566, 1338755560, 1338755568, 1338755565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24936556816101 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:30:33.010152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/06/image_21022025_02_06_26_10450.jpg', '/home/pi/Desktop/images/21022025/02/06/image_21022025_02_06_35_9332.jpg', '/home/pi/Desktop/images/21022025/02/06/image_21022025_02_06_45_10330.jpg', '/home/pi/Desktop/images/21022025/02/07/image_21022025_02_07_15_10339.jpg', '/home/pi/Desktop/images/21022025/02/07/image_21022025_02_07_25_9396.jpg', '/home/pi/Desktop/images/21022025/02/07/image_21022025_02_07_35_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/06/image_21022025_02_06_26_10450.jpg
/home/pi/Desktop/images/21022025/02/06/image_21022025_02_06_35_9332.jpg
/home/pi/Desktop/images/21022025/02/06/image_21022025_02_06_45_10330.jpg
/home/pi/Desktop/images/21022025/02/07/image_21022025_02_07_15_10339.jpg
/home/pi/Desktop/images/21022025/02/07/image_21022025_02_07_25_9396.jpg
/home/pi/Desktop/images/21022025/02/07/image_21022025_02_07_35_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338755585","1338755588","1338755582","1338755587","1338755586","1338755580"],"photo_ids_order":["1338755580","1338755582","1338755585","1338755586","1338755587","1338755588"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9b2370a61eefb42ac34699854a19851a.jpg","text":"TemporaryFile(/tmp/multipartBody6220857974691586622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112293477,"filename":"image_21022025_02_06_45_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/209a7ae348dba914b69f698cd9f885b9.jpg","text":"TemporaryFile(/tmp/multipartBody3605831632267540273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112293477,"filename":"image_21022025_02_07_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/619800cf7c274bd287fc73249b7a2399.jpg","text":"TemporaryFile(/tmp/multipartBody4314451475200105231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112293477,"filename":"image_21022025_02_06_35_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/642ba1138f2d430064a18d7b9f0b554d.jpg","text":"TemporaryFile(/tmp/multipartBody4935225707802454352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112293477,"filename":"image_21022025_02_07_25_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc0b2cfe29e9fcb5ed37b76f64f847ac.jpg","text":"TemporaryFile(/tmp/multipartBody9142826368601687415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112293477,"filename":"image_21022025_02_07_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9a4c88b763a3db7c2f90bfae3c14513d.jpg","text":"TemporaryFile(/tmp/multipartBody5011806200186064820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112293477,"filename":"image_21022025_02_06_26_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338755585","file1":"1338755582","file0":"1338755580","file4":"1338755587","file5":"1338755588","file3":"1338755586"},"map_files_photo_id_array":[{"photo_id":"1338755588","filename":"file5"},{"photo_id":"1338755585","filename":"file2"},{"photo_id":"1338755587","filename":"file4"},{"photo_id":"1338755582","filename":"file1"},{"photo_id":"1338755580","filename":"file0"},{"photo_id":"1338755586","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338755585":["hashtag1","hashtag2"]},{"1338755588":["hashtag1","hashtag2"]},{"1338755582":["hashtag1","hashtag2"]},{"1338755587":["hashtag1","hashtag2"]},{"1338755586":["hashtag1","hashtag2"]},{"1338755580":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338755585, 1338755588, 1338755582, 1338755587, 1338755586, 1338755580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41615653038025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:31:32.119094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/07/image_21022025_02_07_46_10474.jpg', '/home/pi/Desktop/images/21022025/02/07/image_21022025_02_07_55_9394.jpg', '/home/pi/Desktop/images/21022025/02/07/image_21022025_02_08_05_10337.jpg', '/home/pi/Desktop/images/21022025/02/08/image_21022025_02_08_16_10358.jpg', '/home/pi/Desktop/images/21022025/02/08/image_21022025_02_08_35_10341.jpg', '/home/pi/Desktop/images/21022025/02/08/image_21022025_02_08_46_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/07/image_21022025_02_07_46_10474.jpg
/home/pi/Desktop/images/21022025/02/07/image_21022025_02_07_55_9394.jpg
/home/pi/Desktop/images/21022025/02/07/image_21022025_02_08_05_10337.jpg
/home/pi/Desktop/images/21022025/02/08/image_21022025_02_08_16_10358.jpg
/home/pi/Desktop/images/21022025/02/08/image_21022025_02_08_35_10341.jpg
/home/pi/Desktop/images/21022025/02/08/image_21022025_02_08_46_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338755613","1338755616","1338755594","1338755615","1338755606","1338755617"],"photo_ids_order":["1338755594","1338755606","1338755613","1338755615","1338755616","1338755617"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cc6b06115154548efc394ec325ebea73.jpg","text":"TemporaryFile(/tmp/multipartBody114937696479636717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112352617,"filename":"image_21022025_02_08_05_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4050a0f8c1e20ed0361f945689b2c091.jpg","text":"TemporaryFile(/tmp/multipartBody1031282635671030358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112352617,"filename":"image_21022025_02_08_35_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f6a7f5eb8898dd6900d112d8f29f481.jpg","text":"TemporaryFile(/tmp/multipartBody3218631499411022219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112352617,"filename":"image_21022025_02_07_46_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d7815ebd75e1e2a7a3cedb9fd6914d3e.jpg","text":"TemporaryFile(/tmp/multipartBody2810154169234294400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112352617,"filename":"image_21022025_02_08_16_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4704d173c823fbd86f4e8e16d6edca13.jpg","text":"TemporaryFile(/tmp/multipartBody8344328030056647468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112352617,"filename":"image_21022025_02_07_55_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4e8ad3e5a1d35d4870afcd46d885fa93.jpg","text":"TemporaryFile(/tmp/multipartBody2076357684559318290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112352617,"filename":"image_21022025_02_08_46_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338755613","file1":"1338755606","file0":"1338755594","file4":"1338755616","file5":"1338755617","file3":"1338755615"},"map_files_photo_id_array":[{"photo_id":"1338755617","filename":"file5"},{"photo_id":"1338755613","filename":"file2"},{"photo_id":"1338755616","filename":"file4"},{"photo_id":"1338755606","filename":"file1"},{"photo_id":"1338755594","filename":"file0"},{"photo_id":"1338755615","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338755613":["hashtag1","hashtag2"]},{"1338755616":["hashtag1","hashtag2"]},{"1338755594":["hashtag1","hashtag2"]},{"1338755615":["hashtag1","hashtag2"]},{"1338755606":["hashtag1","hashtag2"]},{"1338755617":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338755613, 1338755616, 1338755594, 1338755615, 1338755606, 1338755617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.902565717697144 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:32:32.383447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/08/image_21022025_02_08_55_9355.jpg', '/home/pi/Desktop/images/21022025/02/09/image_21022025_02_09_15_9344.jpg', '/home/pi/Desktop/images/21022025/02/09/image_21022025_02_09_25_10339.jpg', '/home/pi/Desktop/images/21022025/02/09/image_21022025_02_09_36_10344.jpg', '/home/pi/Desktop/images/21022025/02/09/image_21022025_02_09_55_10331.jpg', '/home/pi/Desktop/images/21022025/02/10/image_21022025_02_10_15_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/08/image_21022025_02_08_55_9355.jpg
/home/pi/Desktop/images/21022025/02/09/image_21022025_02_09_15_9344.jpg
/home/pi/Desktop/images/21022025/02/09/image_21022025_02_09_25_10339.jpg
/home/pi/Desktop/images/21022025/02/09/image_21022025_02_09_36_10344.jpg
/home/pi/Desktop/images/21022025/02/09/image_21022025_02_09_55_10331.jpg
/home/pi/Desktop/images/21022025/02/10/image_21022025_02_10_15_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338755633","1338755636","1338755647","1338755641","1338755635","1338755649"],"photo_ids_order":["1338755633","1338755635","1338755636","1338755641","1338755647","1338755649"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/efd08b853dad50a93b389a06a964ca9a.jpg","text":"TemporaryFile(/tmp/multipartBody2617780940957607346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112412854,"filename":"image_21022025_02_08_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ba3799e36a171930bd7c4661c6eb2bdb.jpg","text":"TemporaryFile(/tmp/multipartBody8420584033333708849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112412854,"filename":"image_21022025_02_09_25_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/479c107bb7dee32d1973e3c1c6df3886.jpg","text":"TemporaryFile(/tmp/multipartBody1545378727895666630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112412854,"filename":"image_21022025_02_09_55_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4bf2b1a8ff6865942cc9734960e8fd4c.jpg","text":"TemporaryFile(/tmp/multipartBody5003263844394587615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112412854,"filename":"image_21022025_02_09_36_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/63c5d8c54ceb78fff5204ac4cdff6e78.jpg","text":"TemporaryFile(/tmp/multipartBody735149898534324539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112412854,"filename":"image_21022025_02_09_15_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c6920217771ed6caea676da60cf3c299.jpg","text":"TemporaryFile(/tmp/multipartBody1941493182331094495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112412854,"filename":"image_21022025_02_10_15_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338755636","file1":"1338755635","file0":"1338755633","file4":"1338755647","file5":"1338755649","file3":"1338755641"},"map_files_photo_id_array":[{"photo_id":"1338755649","filename":"file5"},{"photo_id":"1338755636","filename":"file2"},{"photo_id":"1338755647","filename":"file4"},{"photo_id":"1338755635","filename":"file1"},{"photo_id":"1338755633","filename":"file0"},{"photo_id":"1338755641","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338755633":["hashtag1","hashtag2"]},{"1338755636":["hashtag1","hashtag2"]},{"1338755647":["hashtag1","hashtag2"]},{"1338755641":["hashtag1","hashtag2"]},{"1338755635":["hashtag1","hashtag2"]},{"1338755649":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338755633, 1338755636, 1338755647, 1338755641, 1338755635, 1338755649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.341798543930054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:33:32.741997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/10/image_21022025_02_10_36_10411.jpg', '/home/pi/Desktop/images/21022025/02/10/image_21022025_02_10_45_9327.jpg', '/home/pi/Desktop/images/21022025/02/10/image_21022025_02_10_55_10356.jpg', '/home/pi/Desktop/images/21022025/02/10/image_21022025_02_11_05_9385.jpg', '/home/pi/Desktop/images/21022025/02/11/image_21022025_02_11_15_10342.jpg', '/home/pi/Desktop/images/21022025/02/11/image_21022025_02_11_26_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/10/image_21022025_02_10_36_10411.jpg
/home/pi/Desktop/images/21022025/02/10/image_21022025_02_10_45_9327.jpg
/home/pi/Desktop/images/21022025/02/10/image_21022025_02_10_55_10356.jpg
/home/pi/Desktop/images/21022025/02/10/image_21022025_02_11_05_9385.jpg
/home/pi/Desktop/images/21022025/02/11/image_21022025_02_11_15_10342.jpg
/home/pi/Desktop/images/21022025/02/11/image_21022025_02_11_26_10464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338755687","1338755681","1338755689","1338755683","1338755692","1338755691"],"photo_ids_order":["1338755681","1338755683","1338755687","1338755689","1338755691","1338755692"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/67a13e9298d8d6d2a96bfa5c21208b5f.jpg","text":"TemporaryFile(/tmp/multipartBody8861254180717203838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112473210,"filename":"image_21022025_02_10_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7eed55592160889bf0b32e169dac084f.jpg","text":"TemporaryFile(/tmp/multipartBody8332349927296429884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112473210,"filename":"image_21022025_02_10_36_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4bc1b968087c3cefe56b47711670ba3d.jpg","text":"TemporaryFile(/tmp/multipartBody4549064488152243112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112473210,"filename":"image_21022025_02_11_05_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/95ab9e124548255fd946dd26aeb22795.jpg","text":"TemporaryFile(/tmp/multipartBody7285514917631883460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112473210,"filename":"image_21022025_02_10_45_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/455a0c804007c39d358392d22f9ca575.jpg","text":"TemporaryFile(/tmp/multipartBody4246783580415887673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112473210,"filename":"image_21022025_02_11_26_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c78c391e6fa1d08e47b7f4af70dda776.jpg","text":"TemporaryFile(/tmp/multipartBody1656907991756109890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112473210,"filename":"image_21022025_02_11_15_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338755687","file1":"1338755683","file0":"1338755681","file4":"1338755691","file5":"1338755692","file3":"1338755689"},"map_files_photo_id_array":[{"photo_id":"1338755692","filename":"file5"},{"photo_id":"1338755687","filename":"file2"},{"photo_id":"1338755691","filename":"file4"},{"photo_id":"1338755683","filename":"file1"},{"photo_id":"1338755681","filename":"file0"},{"photo_id":"1338755689","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338755687":["hashtag1","hashtag2"]},{"1338755681":["hashtag1","hashtag2"]},{"1338755689":["hashtag1","hashtag2"]},{"1338755683":["hashtag1","hashtag2"]},{"1338755692":["hashtag1","hashtag2"]},{"1338755691":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338755687, 1338755681, 1338755689, 1338755683, 1338755692, 1338755691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81592106819153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:34:32.773324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/11/image_21022025_02_11_35_9330.jpg', '/home/pi/Desktop/images/21022025/02/11/image_21022025_02_11_45_10346.jpg', '/home/pi/Desktop/images/21022025/02/11/image_21022025_02_11_56_10330.jpg', '/home/pi/Desktop/images/21022025/02/11/image_21022025_02_12_05_9412.jpg', '/home/pi/Desktop/images/21022025/02/12/image_21022025_02_12_25_9404.jpg', '/home/pi/Desktop/images/21022025/02/12/image_21022025_02_12_35_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/11/image_21022025_02_11_35_9330.jpg
/home/pi/Desktop/images/21022025/02/11/image_21022025_02_11_45_10346.jpg
/home/pi/Desktop/images/21022025/02/11/image_21022025_02_11_56_10330.jpg
/home/pi/Desktop/images/21022025/02/11/image_21022025_02_12_05_9412.jpg
/home/pi/Desktop/images/21022025/02/12/image_21022025_02_12_25_9404.jpg
/home/pi/Desktop/images/21022025/02/12/image_21022025_02_12_35_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338755808","1338755807","1338755797","1338755809","1338755799","1338755803"],"photo_ids_order":["1338755797","1338755799","1338755803","1338755807","1338755808","1338755809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/849c54d84bde2812b83afcf592e13e24.jpg","text":"TemporaryFile(/tmp/multipartBody3715000200280927535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112533260,"filename":"image_21022025_02_12_25_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/60fbeb45e5b84f4590e2dfe5a2cbc175.jpg","text":"TemporaryFile(/tmp/multipartBody818149130987852376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112533260,"filename":"image_21022025_02_12_05_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b3778e2eafbd02ab437eef390427d352.jpg","text":"TemporaryFile(/tmp/multipartBody7536966021837457313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112533260,"filename":"image_21022025_02_11_35_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a4a3fc3a6319983a2b1e06e57f1f6b84.jpg","text":"TemporaryFile(/tmp/multipartBody5533382623280933418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112533260,"filename":"image_21022025_02_12_35_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7007ef3b4181b14d5e09880aab6d4748.jpg","text":"TemporaryFile(/tmp/multipartBody1011960009760363354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112533260,"filename":"image_21022025_02_11_45_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61c5b5f3eb4b7014b03efad94e34ae01.jpg","text":"TemporaryFile(/tmp/multipartBody467781449896356229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112533260,"filename":"image_21022025_02_11_56_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338755803","file1":"1338755799","file0":"1338755797","file4":"1338755808","file5":"1338755809","file3":"1338755807"},"map_files_photo_id_array":[{"photo_id":"1338755809","filename":"file5"},{"photo_id":"1338755803","filename":"file2"},{"photo_id":"1338755808","filename":"file4"},{"photo_id":"1338755799","filename":"file1"},{"photo_id":"1338755797","filename":"file0"},{"photo_id":"1338755807","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338755808":["hashtag1","hashtag2"]},{"1338755807":["hashtag1","hashtag2"]},{"1338755797":["hashtag1","hashtag2"]},{"1338755809":["hashtag1","hashtag2"]},{"1338755799":["hashtag1","hashtag2"]},{"1338755803":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338755808, 1338755807, 1338755797, 1338755809, 1338755799, 1338755803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.895137548446655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:35:32.986290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/12/image_21022025_02_12_45_10336.jpg', '/home/pi/Desktop/images/21022025/02/12/image_21022025_02_13_05_10349.jpg', '/home/pi/Desktop/images/21022025/02/13/image_21022025_02_13_16_10394.jpg', '/home/pi/Desktop/images/21022025/02/13/image_21022025_02_13_25_9316.jpg', '/home/pi/Desktop/images/21022025/02/13/image_21022025_02_13_35_10414.jpg', '/home/pi/Desktop/images/21022025/02/13/image_21022025_02_13_46_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/12/image_21022025_02_12_45_10336.jpg
/home/pi/Desktop/images/21022025/02/12/image_21022025_02_13_05_10349.jpg
/home/pi/Desktop/images/21022025/02/13/image_21022025_02_13_16_10394.jpg
/home/pi/Desktop/images/21022025/02/13/image_21022025_02_13_25_9316.jpg
/home/pi/Desktop/images/21022025/02/13/image_21022025_02_13_35_10414.jpg
/home/pi/Desktop/images/21022025/02/13/image_21022025_02_13_46_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338755907","1338755909","1338755899","1338755903","1338755905","1338755902"],"photo_ids_order":["1338755899","1338755902","1338755903","1338755905","1338755907","1338755909"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dabe5aa2a8d1957f2838c84d686d6872.jpg","text":"TemporaryFile(/tmp/multipartBody2784751914798698414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112593451,"filename":"image_21022025_02_13_35_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/298a53ade86f4200f954d9038dd78cb6.jpg","text":"TemporaryFile(/tmp/multipartBody5379742577321934457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112593451,"filename":"image_21022025_02_13_46_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5fc355cf928ff5b23db81fc02decd5bb.jpg","text":"TemporaryFile(/tmp/multipartBody4881008236366973776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112593451,"filename":"image_21022025_02_12_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c89ad8b64c179bb24f20b46437f8d91.jpg","text":"TemporaryFile(/tmp/multipartBody2577482466015158968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112593451,"filename":"image_21022025_02_13_16_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81e40ec3042529e0e5a4a415684c94df.jpg","text":"TemporaryFile(/tmp/multipartBody861640145131467528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112593451,"filename":"image_21022025_02_13_25_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92173762f2c3cbd122d49f31f4803616.jpg","text":"TemporaryFile(/tmp/multipartBody2281547635579969368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112593451,"filename":"image_21022025_02_13_05_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338755903","file1":"1338755902","file0":"1338755899","file4":"1338755907","file5":"1338755909","file3":"1338755905"},"map_files_photo_id_array":[{"photo_id":"1338755909","filename":"file5"},{"photo_id":"1338755903","filename":"file2"},{"photo_id":"1338755907","filename":"file4"},{"photo_id":"1338755902","filename":"file1"},{"photo_id":"1338755899","filename":"file0"},{"photo_id":"1338755905","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338755907":["hashtag1","hashtag2"]},{"1338755909":["hashtag1","hashtag2"]},{"1338755899":["hashtag1","hashtag2"]},{"1338755903":["hashtag1","hashtag2"]},{"1338755905":["hashtag1","hashtag2"]},{"1338755902":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338755907, 1338755909, 1338755899, 1338755903, 1338755905, 1338755902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09552597999573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:36:32.314327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/13/image_21022025_02_13_55_9358.jpg', '/home/pi/Desktop/images/21022025/02/13/image_21022025_02_14_06_10410.jpg', '/home/pi/Desktop/images/21022025/02/14/image_21022025_02_14_35_9338.jpg', '/home/pi/Desktop/images/21022025/02/14/image_21022025_02_14_45_10341.jpg', '/home/pi/Desktop/images/21022025/02/14/image_21022025_02_14_55_9393.jpg', '/home/pi/Desktop/images/21022025/02/14/image_21022025_02_15_05_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/13/image_21022025_02_13_55_9358.jpg
/home/pi/Desktop/images/21022025/02/13/image_21022025_02_14_06_10410.jpg
/home/pi/Desktop/images/21022025/02/14/image_21022025_02_14_35_9338.jpg
/home/pi/Desktop/images/21022025/02/14/image_21022025_02_14_45_10341.jpg
/home/pi/Desktop/images/21022025/02/14/image_21022025_02_14_55_9393.jpg
/home/pi/Desktop/images/21022025/02/14/image_21022025_02_15_05_10325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338755945","1338755965","1338755959","1338755929","1338755955","1338755937"],"photo_ids_order":["1338755929","1338755937","1338755945","1338755955","1338755959","1338755965"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc010ab77bf99818e6bdfd96acc78ddd.jpg","text":"TemporaryFile(/tmp/multipartBody5548256886318587145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112652811,"filename":"image_21022025_02_14_35_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/301febdef61123810e15e77c0eb656c4.jpg","text":"TemporaryFile(/tmp/multipartBody3061555153432537272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112652811,"filename":"image_21022025_02_15_05_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/405acd6209d4cb30409d903c987aaf55.jpg","text":"TemporaryFile(/tmp/multipartBody4069165806741129433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112652811,"filename":"image_21022025_02_14_55_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/527ca52c006146e10e8e5da04945457b.jpg","text":"TemporaryFile(/tmp/multipartBody4534649692818902632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112652811,"filename":"image_21022025_02_13_55_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dcdd242a6075dbf1df7f1ed1d7a43d06.jpg","text":"TemporaryFile(/tmp/multipartBody5960660540135494794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112652811,"filename":"image_21022025_02_14_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d48436d296f38f12ca1f2b0fc4957261.jpg","text":"TemporaryFile(/tmp/multipartBody3158196090161077427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112652811,"filename":"image_21022025_02_14_06_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338755945","file1":"1338755937","file0":"1338755929","file4":"1338755959","file5":"1338755965","file3":"1338755955"},"map_files_photo_id_array":[{"photo_id":"1338755965","filename":"file5"},{"photo_id":"1338755945","filename":"file2"},{"photo_id":"1338755959","filename":"file4"},{"photo_id":"1338755937","filename":"file1"},{"photo_id":"1338755929","filename":"file0"},{"photo_id":"1338755955","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338755945":["hashtag1","hashtag2"]},{"1338755965":["hashtag1","hashtag2"]},{"1338755959":["hashtag1","hashtag2"]},{"1338755929":["hashtag1","hashtag2"]},{"1338755955":["hashtag1","hashtag2"]},{"1338755937":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338755945, 1338755965, 1338755959, 1338755929, 1338755955, 1338755937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.226619482040405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:37:32.391355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/15/image_21022025_02_15_16_10391.jpg', '/home/pi/Desktop/images/21022025/02/15/image_21022025_02_15_25_9324.jpg', '/home/pi/Desktop/images/21022025/02/15/image_21022025_02_15_35_10323.jpg', '/home/pi/Desktop/images/21022025/02/15/image_21022025_02_15_46_10414.jpg', '/home/pi/Desktop/images/21022025/02/15/image_21022025_02_15_55_9344.jpg', '/home/pi/Desktop/images/21022025/02/15/image_21022025_02_16_05_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/15/image_21022025_02_15_16_10391.jpg
/home/pi/Desktop/images/21022025/02/15/image_21022025_02_15_25_9324.jpg
/home/pi/Desktop/images/21022025/02/15/image_21022025_02_15_35_10323.jpg
/home/pi/Desktop/images/21022025/02/15/image_21022025_02_15_46_10414.jpg
/home/pi/Desktop/images/21022025/02/15/image_21022025_02_15_55_9344.jpg
/home/pi/Desktop/images/21022025/02/15/image_21022025_02_16_05_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338756055","1338756049","1338755974","1338756019","1338756051","1338756054"],"photo_ids_order":["1338755974","1338756019","1338756049","1338756051","1338756054","1338756055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6c73a62a2db48586728e8b1d487e363e.jpg","text":"TemporaryFile(/tmp/multipartBody3809521690565611086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112712879,"filename":"image_21022025_02_16_05_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/21b324acfa471811f81383eead3a3906.jpg","text":"TemporaryFile(/tmp/multipartBody2994654316514776106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112712879,"filename":"image_21022025_02_15_35_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83500ca5d27a83bc568227b81b2e4205.jpg","text":"TemporaryFile(/tmp/multipartBody5506084021093706102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112712879,"filename":"image_21022025_02_15_16_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/91385bdde41454c83dc0ddb17967d69b.jpg","text":"TemporaryFile(/tmp/multipartBody7764535455126110859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112712879,"filename":"image_21022025_02_15_25_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/91fb161ca988f6d0aad3f4f468561c77.jpg","text":"TemporaryFile(/tmp/multipartBody8557575942759255431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112712879,"filename":"image_21022025_02_15_46_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1fb9d065a7e0da9be020ec53f8b7d7a0.jpg","text":"TemporaryFile(/tmp/multipartBody4088641611050885903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112712879,"filename":"image_21022025_02_15_55_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338756049","file1":"1338756019","file0":"1338755974","file4":"1338756054","file5":"1338756055","file3":"1338756051"},"map_files_photo_id_array":[{"photo_id":"1338756055","filename":"file5"},{"photo_id":"1338756049","filename":"file2"},{"photo_id":"1338756054","filename":"file4"},{"photo_id":"1338756019","filename":"file1"},{"photo_id":"1338755974","filename":"file0"},{"photo_id":"1338756051","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338756055":["hashtag1","hashtag2"]},{"1338756049":["hashtag1","hashtag2"]},{"1338755974":["hashtag1","hashtag2"]},{"1338756019":["hashtag1","hashtag2"]},{"1338756051":["hashtag1","hashtag2"]},{"1338756054":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338756055, 1338756049, 1338755974, 1338756019, 1338756051, 1338756054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17630743980408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:38:32.826620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/16/image_21022025_02_16_16_10414.jpg', '/home/pi/Desktop/images/21022025/02/16/image_21022025_02_16_25_9338.jpg', '/home/pi/Desktop/images/21022025/02/16/image_21022025_02_16_35_10318.jpg', '/home/pi/Desktop/images/21022025/02/16/image_21022025_02_16_55_9350.jpg', '/home/pi/Desktop/images/21022025/02/16/image_21022025_02_17_05_10348.jpg', '/home/pi/Desktop/images/21022025/02/17/image_21022025_02_17_25_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/16/image_21022025_02_16_16_10414.jpg
/home/pi/Desktop/images/21022025/02/16/image_21022025_02_16_25_9338.jpg
/home/pi/Desktop/images/21022025/02/16/image_21022025_02_16_35_10318.jpg
/home/pi/Desktop/images/21022025/02/16/image_21022025_02_16_55_9350.jpg
/home/pi/Desktop/images/21022025/02/16/image_21022025_02_17_05_10348.jpg
/home/pi/Desktop/images/21022025/02/17/image_21022025_02_17_25_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338756083","1338756070","1338756081","1338756084","1338756072","1338756074"],"photo_ids_order":["1338756070","1338756072","1338756074","1338756081","1338756083","1338756084"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d3b7bf0a42ad6eb358bb663a81eadf6d.jpg","text":"TemporaryFile(/tmp/multipartBody1631647769686419943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112773316,"filename":"image_21022025_02_17_05_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd518611a0878a31b94d47002f38dbbf.jpg","text":"TemporaryFile(/tmp/multipartBody8820340378424919135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112773316,"filename":"image_21022025_02_16_16_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/47b8ef2930659c2ae3f669bac82c1e5f.jpg","text":"TemporaryFile(/tmp/multipartBody7502682851547431774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112773316,"filename":"image_21022025_02_16_55_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dd16a1b2f5cc930b707faad533c35b6b.jpg","text":"TemporaryFile(/tmp/multipartBody8871850836127660769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112773316,"filename":"image_21022025_02_17_25_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2c75b4985fb2f683da73b4d2a5f07e69.jpg","text":"TemporaryFile(/tmp/multipartBody4800478686033602129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112773316,"filename":"image_21022025_02_16_25_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/184fa53f5b36ccdea0d968b2b5c16330.jpg","text":"TemporaryFile(/tmp/multipartBody8080573815892452399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112773316,"filename":"image_21022025_02_16_35_10318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338756074","file1":"1338756072","file0":"1338756070","file4":"1338756083","file5":"1338756084","file3":"1338756081"},"map_files_photo_id_array":[{"photo_id":"1338756084","filename":"file5"},{"photo_id":"1338756074","filename":"file2"},{"photo_id":"1338756083","filename":"file4"},{"photo_id":"1338756072","filename":"file1"},{"photo_id":"1338756070","filename":"file0"},{"photo_id":"1338756081","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338756083":["hashtag1","hashtag2"]},{"1338756070":["hashtag1","hashtag2"]},{"1338756081":["hashtag1","hashtag2"]},{"1338756084":["hashtag1","hashtag2"]},{"1338756072":["hashtag1","hashtag2"]},{"1338756074":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338756083, 1338756070, 1338756081, 1338756084, 1338756072, 1338756074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1114239692688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:39:32.978499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/17/image_21022025_02_17_35_10328.jpg', '/home/pi/Desktop/images/21022025/02/17/image_21022025_02_17_55_10383.jpg', '/home/pi/Desktop/images/21022025/02/18/image_21022025_02_18_15_9375.jpg', '/home/pi/Desktop/images/21022025/02/18/image_21022025_02_18_25_10341.jpg', '/home/pi/Desktop/images/21022025/02/18/image_21022025_02_18_36_10333.jpg', '/home/pi/Desktop/images/21022025/02/18/image_21022025_02_18_45_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/17/image_21022025_02_17_35_10328.jpg
/home/pi/Desktop/images/21022025/02/17/image_21022025_02_17_55_10383.jpg
/home/pi/Desktop/images/21022025/02/18/image_21022025_02_18_15_9375.jpg
/home/pi/Desktop/images/21022025/02/18/image_21022025_02_18_25_10341.jpg
/home/pi/Desktop/images/21022025/02/18/image_21022025_02_18_36_10333.jpg
/home/pi/Desktop/images/21022025/02/18/image_21022025_02_18_45_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338756098","1338756104","1338756094","1338756096","1338756100","1338756102"],"photo_ids_order":["1338756094","1338756096","1338756098","1338756100","1338756102","1338756104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/53b47a5cfc70d14554998c4e5bc59d41.jpg","text":"TemporaryFile(/tmp/multipartBody2655463152422642476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112833489,"filename":"image_21022025_02_18_15_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e3ea88d3b997ad5a2ecca8aabe7bebfb.jpg","text":"TemporaryFile(/tmp/multipartBody7744791075286237244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112833489,"filename":"image_21022025_02_18_45_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/550d82a15e96c9f7a66ef7b1808567db.jpg","text":"TemporaryFile(/tmp/multipartBody867151587678030541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112833489,"filename":"image_21022025_02_17_35_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b4f73f56c63cadb730da9e909de748d9.jpg","text":"TemporaryFile(/tmp/multipartBody3366031658963395842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112833489,"filename":"image_21022025_02_17_55_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e8161ed27e538b1544271810e3e8a92c.jpg","text":"TemporaryFile(/tmp/multipartBody1955976306935044193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112833489,"filename":"image_21022025_02_18_25_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bb0d44e17c9e468cc14be332de4c7974.jpg","text":"TemporaryFile(/tmp/multipartBody6939903374037990424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112833489,"filename":"image_21022025_02_18_36_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338756098","file1":"1338756096","file0":"1338756094","file4":"1338756102","file5":"1338756104","file3":"1338756100"},"map_files_photo_id_array":[{"photo_id":"1338756104","filename":"file5"},{"photo_id":"1338756098","filename":"file2"},{"photo_id":"1338756102","filename":"file4"},{"photo_id":"1338756096","filename":"file1"},{"photo_id":"1338756094","filename":"file0"},{"photo_id":"1338756100","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338756098":["hashtag1","hashtag2"]},{"1338756104":["hashtag1","hashtag2"]},{"1338756094":["hashtag1","hashtag2"]},{"1338756096":["hashtag1","hashtag2"]},{"1338756100":["hashtag1","hashtag2"]},{"1338756102":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338756098, 1338756104, 1338756094, 1338756096, 1338756100, 1338756102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.95242476463318 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:40:32.182276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/18/image_21022025_02_18_55_10341.jpg', '/home/pi/Desktop/images/21022025/02/18/image_21022025_02_19_06_10387.jpg', '/home/pi/Desktop/images/21022025/02/19/image_21022025_02_19_25_10348.jpg', '/home/pi/Desktop/images/21022025/02/19/image_21022025_02_19_35_9406.jpg', '/home/pi/Desktop/images/21022025/02/19/image_21022025_02_19_45_10339.jpg', '/home/pi/Desktop/images/21022025/02/19/image_21022025_02_19_56_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/18/image_21022025_02_18_55_10341.jpg
/home/pi/Desktop/images/21022025/02/18/image_21022025_02_19_06_10387.jpg
/home/pi/Desktop/images/21022025/02/19/image_21022025_02_19_25_10348.jpg
/home/pi/Desktop/images/21022025/02/19/image_21022025_02_19_35_9406.jpg
/home/pi/Desktop/images/21022025/02/19/image_21022025_02_19_45_10339.jpg
/home/pi/Desktop/images/21022025/02/19/image_21022025_02_19_56_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338756119","1338756113","1338756122","1338756116","1338756124","1338756127"],"photo_ids_order":["1338756113","1338756116","1338756119","1338756122","1338756124","1338756127"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/616554eb6b128e2bfc52fbaf74b657bc.jpg","text":"TemporaryFile(/tmp/multipartBody5960105391318508757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112892653,"filename":"image_21022025_02_19_25_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59b6125cb20e97ab6bd173b6b1826e03.jpg","text":"TemporaryFile(/tmp/multipartBody6948960401212889612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112892653,"filename":"image_21022025_02_18_55_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1f2161eb486bd8e2feddf281e02002ac.jpg","text":"TemporaryFile(/tmp/multipartBody6644326871171215432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112892653,"filename":"image_21022025_02_19_35_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/381ca742b1ce9d6f1c9798af0d4503d9.jpg","text":"TemporaryFile(/tmp/multipartBody9206454046704381337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112892653,"filename":"image_21022025_02_19_06_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/efd1142d5fb031cb3e16d26594b77a62.jpg","text":"TemporaryFile(/tmp/multipartBody5374100751094619521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112892653,"filename":"image_21022025_02_19_45_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c331447a7a6c9a1539caa852b64997c0.jpg","text":"TemporaryFile(/tmp/multipartBody3280323539170446495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112892653,"filename":"image_21022025_02_19_56_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338756119","file1":"1338756116","file0":"1338756113","file4":"1338756124","file5":"1338756127","file3":"1338756122"},"map_files_photo_id_array":[{"photo_id":"1338756127","filename":"file5"},{"photo_id":"1338756119","filename":"file2"},{"photo_id":"1338756124","filename":"file4"},{"photo_id":"1338756116","filename":"file1"},{"photo_id":"1338756113","filename":"file0"},{"photo_id":"1338756122","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338756119":["hashtag1","hashtag2"]},{"1338756113":["hashtag1","hashtag2"]},{"1338756122":["hashtag1","hashtag2"]},{"1338756116":["hashtag1","hashtag2"]},{"1338756124":["hashtag1","hashtag2"]},{"1338756127":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338756119, 1338756113, 1338756122, 1338756116, 1338756124, 1338756127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38018608093262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:41:32.521851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/19/image_21022025_02_20_05_9316.jpg', '/home/pi/Desktop/images/21022025/02/20/image_21022025_02_20_15_10474.jpg', '/home/pi/Desktop/images/21022025/02/20/image_21022025_02_20_26_10324.jpg', '/home/pi/Desktop/images/21022025/02/20/image_21022025_02_20_35_9335.jpg', '/home/pi/Desktop/images/21022025/02/20/image_21022025_02_20_45_10322.jpg', '/home/pi/Desktop/images/21022025/02/20/image_21022025_02_20_56_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/19/image_21022025_02_20_05_9316.jpg
/home/pi/Desktop/images/21022025/02/20/image_21022025_02_20_15_10474.jpg
/home/pi/Desktop/images/21022025/02/20/image_21022025_02_20_26_10324.jpg
/home/pi/Desktop/images/21022025/02/20/image_21022025_02_20_35_9335.jpg
/home/pi/Desktop/images/21022025/02/20/image_21022025_02_20_45_10322.jpg
/home/pi/Desktop/images/21022025/02/20/image_21022025_02_20_56_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338756161","1338756164","1338756158","1338756169","1338756162","1338756165"],"photo_ids_order":["1338756158","1338756161","1338756162","1338756164","1338756165","1338756169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d55e38ed10652136574ebed803f06053.jpg","text":"TemporaryFile(/tmp/multipartBody4314697754119954336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112952989,"filename":"image_21022025_02_20_15_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9a5cad1e9b05aaeeaf821d75067ec1ad.jpg","text":"TemporaryFile(/tmp/multipartBody3893993852084293066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112952989,"filename":"image_21022025_02_20_35_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9122abc4291dc1b11be8753be47a4215.jpg","text":"TemporaryFile(/tmp/multipartBody5707869252500857798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112952989,"filename":"image_21022025_02_20_05_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9f98a3b6d2bb15135f949435e68a8096.jpg","text":"TemporaryFile(/tmp/multipartBody2743266663679506017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112952989,"filename":"image_21022025_02_20_56_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/37307cc44fb067d87cd6aedcfa63ad0d.jpg","text":"TemporaryFile(/tmp/multipartBody472781856861431987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112952989,"filename":"image_21022025_02_20_26_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2fbf56283d436c9f9989e2ca0dbb28cf.jpg","text":"TemporaryFile(/tmp/multipartBody4458860660998645131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740112952989,"filename":"image_21022025_02_20_45_10322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338756162","file1":"1338756161","file0":"1338756158","file4":"1338756165","file5":"1338756169","file3":"1338756164"},"map_files_photo_id_array":[{"photo_id":"1338756169","filename":"file5"},{"photo_id":"1338756162","filename":"file2"},{"photo_id":"1338756165","filename":"file4"},{"photo_id":"1338756161","filename":"file1"},{"photo_id":"1338756158","filename":"file0"},{"photo_id":"1338756164","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338756161":["hashtag1","hashtag2"]},{"1338756164":["hashtag1","hashtag2"]},{"1338756158":["hashtag1","hashtag2"]},{"1338756169":["hashtag1","hashtag2"]},{"1338756162":["hashtag1","hashtag2"]},{"1338756165":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338756161, 1338756164, 1338756158, 1338756169, 1338756162, 1338756165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86474800109863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:42:32.727442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/20/image_21022025_02_21_05_9335.jpg', '/home/pi/Desktop/images/21022025/02/21/image_21022025_02_21_15_10347.jpg', '/home/pi/Desktop/images/21022025/02/21/image_21022025_02_21_25_9432.jpg', '/home/pi/Desktop/images/21022025/02/21/image_21022025_02_21_35_10335.jpg', '/home/pi/Desktop/images/21022025/02/21/image_21022025_02_21_46_10399.jpg', '/home/pi/Desktop/images/21022025/02/21/image_21022025_02_21_55_9328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/20/image_21022025_02_21_05_9335.jpg
/home/pi/Desktop/images/21022025/02/21/image_21022025_02_21_15_10347.jpg
/home/pi/Desktop/images/21022025/02/21/image_21022025_02_21_25_9432.jpg
/home/pi/Desktop/images/21022025/02/21/image_21022025_02_21_35_10335.jpg
/home/pi/Desktop/images/21022025/02/21/image_21022025_02_21_46_10399.jpg
/home/pi/Desktop/images/21022025/02/21/image_21022025_02_21_55_9328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338756271","1338756259","1338756268","1338756253","1338756282","1338756287"],"photo_ids_order":["1338756253","1338756259","1338756268","1338756271","1338756282","1338756287"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83eb33323cc8b3053a31bed86482aae6.jpg","text":"TemporaryFile(/tmp/multipartBody8357882658329282205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113013210,"filename":"image_21022025_02_21_35_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6cc32f908f07afc5cf38127d5624bacb.jpg","text":"TemporaryFile(/tmp/multipartBody6745866297622008445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113013210,"filename":"image_21022025_02_21_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/11587fdcc40d2f2cd2692a08ba282fed.jpg","text":"TemporaryFile(/tmp/multipartBody8455323388714645170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113013210,"filename":"image_21022025_02_21_25_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1286de3e388ce276e91eb3b08b587e1.jpg","text":"TemporaryFile(/tmp/multipartBody8989530600496226655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113013210,"filename":"image_21022025_02_21_05_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c9e1eb891a1f239a03f452d9adbe38d5.jpg","text":"TemporaryFile(/tmp/multipartBody8451063592681166840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113013210,"filename":"image_21022025_02_21_46_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1d0ee909c65bdb1bd00fa3e59d0f24dd.jpg","text":"TemporaryFile(/tmp/multipartBody9157502685761949678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113013210,"filename":"image_21022025_02_21_55_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338756268","file1":"1338756259","file0":"1338756253","file4":"1338756282","file5":"1338756287","file3":"1338756271"},"map_files_photo_id_array":[{"photo_id":"1338756287","filename":"file5"},{"photo_id":"1338756268","filename":"file2"},{"photo_id":"1338756282","filename":"file4"},{"photo_id":"1338756259","filename":"file1"},{"photo_id":"1338756253","filename":"file0"},{"photo_id":"1338756271","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338756271":["hashtag1","hashtag2"]},{"1338756259":["hashtag1","hashtag2"]},{"1338756268":["hashtag1","hashtag2"]},{"1338756253":["hashtag1","hashtag2"]},{"1338756282":["hashtag1","hashtag2"]},{"1338756287":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338756271, 1338756259, 1338756268, 1338756253, 1338756282, 1338756287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.885913372039795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:43:32.989168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/21/image_21022025_02_22_05_10408.jpg', '/home/pi/Desktop/images/21022025/02/22/image_21022025_02_22_35_10331.jpg', '/home/pi/Desktop/images/21022025/02/22/image_21022025_02_22_46_10410.jpg', '/home/pi/Desktop/images/21022025/02/22/image_21022025_02_22_55_9336.jpg', '/home/pi/Desktop/images/21022025/02/22/image_21022025_02_23_06_10409.jpg', '/home/pi/Desktop/images/21022025/02/23/image_21022025_02_23_15_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/21/image_21022025_02_22_05_10408.jpg
/home/pi/Desktop/images/21022025/02/22/image_21022025_02_22_35_10331.jpg
/home/pi/Desktop/images/21022025/02/22/image_21022025_02_22_46_10410.jpg
/home/pi/Desktop/images/21022025/02/22/image_21022025_02_22_55_9336.jpg
/home/pi/Desktop/images/21022025/02/22/image_21022025_02_23_06_10409.jpg
/home/pi/Desktop/images/21022025/02/23/image_21022025_02_23_15_9409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338756314","1338756316","1338756325","1338756319","1338756330","1338756321"],"photo_ids_order":["1338756314","1338756316","1338756319","1338756321","1338756325","1338756330"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/98fd0a6e94a5f2f511b37d7799a6a7cc.jpg","text":"TemporaryFile(/tmp/multipartBody6118324799568745324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113073467,"filename":"image_21022025_02_22_05_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e8d4fa79f40a6195e9f44bd3493eec3c.jpg","text":"TemporaryFile(/tmp/multipartBody6414198128756235984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113073467,"filename":"image_21022025_02_22_35_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e5a1e545e39eb6e31d78ebb0f7fdbae9.jpg","text":"TemporaryFile(/tmp/multipartBody2783734373856296311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113073467,"filename":"image_21022025_02_23_06_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/325ad7f627c8b99afc0503f6b5dd44a2.jpg","text":"TemporaryFile(/tmp/multipartBody5730642650014465422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113073467,"filename":"image_21022025_02_22_46_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/737a3a54943fd989d63f45a47d1d8e0e.jpg","text":"TemporaryFile(/tmp/multipartBody8647121031571369005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113073467,"filename":"image_21022025_02_23_15_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2f125c3d8496d0d72a798b07a5c521a5.jpg","text":"TemporaryFile(/tmp/multipartBody3844304012019977623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113073467,"filename":"image_21022025_02_22_55_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338756319","file1":"1338756316","file0":"1338756314","file4":"1338756325","file5":"1338756330","file3":"1338756321"},"map_files_photo_id_array":[{"photo_id":"1338756330","filename":"file5"},{"photo_id":"1338756319","filename":"file2"},{"photo_id":"1338756325","filename":"file4"},{"photo_id":"1338756316","filename":"file1"},{"photo_id":"1338756314","filename":"file0"},{"photo_id":"1338756321","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338756314":["hashtag1","hashtag2"]},{"1338756316":["hashtag1","hashtag2"]},{"1338756325":["hashtag1","hashtag2"]},{"1338756319":["hashtag1","hashtag2"]},{"1338756330":["hashtag1","hashtag2"]},{"1338756321":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338756314, 1338756316, 1338756325, 1338756319, 1338756330, 1338756321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54999613761902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:44:33.156514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/23/image_21022025_02_23_25_10343.jpg', '/home/pi/Desktop/images/21022025/02/23/image_21022025_02_23_36_10436.jpg', '/home/pi/Desktop/images/21022025/02/23/image_21022025_02_23_45_9323.jpg', '/home/pi/Desktop/images/21022025/02/24/image_21022025_02_24_15_9336.jpg', '/home/pi/Desktop/images/21022025/02/24/image_21022025_02_24_25_10334.jpg', '/home/pi/Desktop/images/21022025/02/24/image_21022025_02_24_45_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/23/image_21022025_02_23_25_10343.jpg
/home/pi/Desktop/images/21022025/02/23/image_21022025_02_23_36_10436.jpg
/home/pi/Desktop/images/21022025/02/23/image_21022025_02_23_45_9323.jpg
/home/pi/Desktop/images/21022025/02/24/image_21022025_02_24_15_9336.jpg
/home/pi/Desktop/images/21022025/02/24/image_21022025_02_24_25_10334.jpg
/home/pi/Desktop/images/21022025/02/24/image_21022025_02_24_45_9384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338756401","1338756410","1338756413","1338756412","1338756406","1338756411"],"photo_ids_order":["1338756401","1338756406","1338756410","1338756411","1338756412","1338756413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2b5c9fddb6dc404f9290821608a8a352.jpg","text":"TemporaryFile(/tmp/multipartBody5611456484306200916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113133632,"filename":"image_21022025_02_23_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b0a97c6a2b16ec771ae44920fe97578e.jpg","text":"TemporaryFile(/tmp/multipartBody3052976018200236823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113133632,"filename":"image_21022025_02_23_45_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/54d45ef2e5e07adaa2500eca55e4cc85.jpg","text":"TemporaryFile(/tmp/multipartBody66001240148705038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113133632,"filename":"image_21022025_02_24_45_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ea50f2b73f65d44639f3f493a9fe85f9.jpg","text":"TemporaryFile(/tmp/multipartBody1908955823270148459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113133632,"filename":"image_21022025_02_24_25_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/761286bd42aec5bc2295c642db8bcdbc.jpg","text":"TemporaryFile(/tmp/multipartBody3716609252630577777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113133632,"filename":"image_21022025_02_23_36_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/63d5ed515078de0a582cdf1f88c460de.jpg","text":"TemporaryFile(/tmp/multipartBody2042362097138003246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113133632,"filename":"image_21022025_02_24_15_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338756410","file1":"1338756406","file0":"1338756401","file4":"1338756412","file5":"1338756413","file3":"1338756411"},"map_files_photo_id_array":[{"photo_id":"1338756413","filename":"file5"},{"photo_id":"1338756410","filename":"file2"},{"photo_id":"1338756412","filename":"file4"},{"photo_id":"1338756406","filename":"file1"},{"photo_id":"1338756401","filename":"file0"},{"photo_id":"1338756411","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338756401":["hashtag1","hashtag2"]},{"1338756410":["hashtag1","hashtag2"]},{"1338756413":["hashtag1","hashtag2"]},{"1338756412":["hashtag1","hashtag2"]},{"1338756406":["hashtag1","hashtag2"]},{"1338756411":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338756401, 1338756410, 1338756413, 1338756412, 1338756406, 1338756411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.529571533203125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:45:32.429085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/24/image_21022025_02_24_56_10381.jpg', '/home/pi/Desktop/images/21022025/02/24/image_21022025_02_25_05_9329.jpg', '/home/pi/Desktop/images/21022025/02/25/image_21022025_02_25_15_10347.jpg', '/home/pi/Desktop/images/21022025/02/25/image_21022025_02_25_26_10386.jpg', '/home/pi/Desktop/images/21022025/02/25/image_21022025_02_25_35_9332.jpg', '/home/pi/Desktop/images/21022025/02/25/image_21022025_02_25_45_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/24/image_21022025_02_24_56_10381.jpg
/home/pi/Desktop/images/21022025/02/24/image_21022025_02_25_05_9329.jpg
/home/pi/Desktop/images/21022025/02/25/image_21022025_02_25_15_10347.jpg
/home/pi/Desktop/images/21022025/02/25/image_21022025_02_25_26_10386.jpg
/home/pi/Desktop/images/21022025/02/25/image_21022025_02_25_35_9332.jpg
/home/pi/Desktop/images/21022025/02/25/image_21022025_02_25_45_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338756446","1338756461","1338756449","1338756443","1338756457","1338756448"],"photo_ids_order":["1338756443","1338756446","1338756448","1338756449","1338756457","1338756461"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7e25d07786a6966c55a567b218ed5fa1.jpg","text":"TemporaryFile(/tmp/multipartBody8437162817212835260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113192905,"filename":"image_21022025_02_25_05_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0419f61c45a59a573a782695ac6e9f1e.jpg","text":"TemporaryFile(/tmp/multipartBody7274915985184062994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113192905,"filename":"image_21022025_02_25_45_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/738e2a3f353493396c76222dc04ac3c2.jpg","text":"TemporaryFile(/tmp/multipartBody6986215264577072419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113192905,"filename":"image_21022025_02_25_26_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c09a8fee0fdb16dbe161f22f8b35a4af.jpg","text":"TemporaryFile(/tmp/multipartBody7504445582039385931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113192905,"filename":"image_21022025_02_24_56_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3efb14667b019116941abc0f30cbc338.jpg","text":"TemporaryFile(/tmp/multipartBody6644082573765345170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113192905,"filename":"image_21022025_02_25_35_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/73791eb76b6640c55aec2d0fd041867f.jpg","text":"TemporaryFile(/tmp/multipartBody2460667057066380199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113192905,"filename":"image_21022025_02_25_15_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338756448","file1":"1338756446","file0":"1338756443","file4":"1338756457","file5":"1338756461","file3":"1338756449"},"map_files_photo_id_array":[{"photo_id":"1338756461","filename":"file5"},{"photo_id":"1338756448","filename":"file2"},{"photo_id":"1338756457","filename":"file4"},{"photo_id":"1338756446","filename":"file1"},{"photo_id":"1338756443","filename":"file0"},{"photo_id":"1338756449","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338756446":["hashtag1","hashtag2"]},{"1338756461":["hashtag1","hashtag2"]},{"1338756449":["hashtag1","hashtag2"]},{"1338756443":["hashtag1","hashtag2"]},{"1338756457":["hashtag1","hashtag2"]},{"1338756448":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338756446, 1338756461, 1338756449, 1338756443, 1338756457, 1338756448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91321897506714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:46:32.538360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/25/image_21022025_02_25_56_10362.jpg', '/home/pi/Desktop/images/21022025/02/25/image_21022025_02_26_05_9375.jpg', '/home/pi/Desktop/images/21022025/02/26/image_21022025_02_26_15_10410.jpg', '/home/pi/Desktop/images/21022025/02/26/image_21022025_02_26_25_9380.jpg', '/home/pi/Desktop/images/21022025/02/26/image_21022025_02_26_46_10422.jpg', '/home/pi/Desktop/images/21022025/02/27/image_21022025_02_27_25_9324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/25/image_21022025_02_25_56_10362.jpg
/home/pi/Desktop/images/21022025/02/25/image_21022025_02_26_05_9375.jpg
/home/pi/Desktop/images/21022025/02/26/image_21022025_02_26_15_10410.jpg
/home/pi/Desktop/images/21022025/02/26/image_21022025_02_26_25_9380.jpg
/home/pi/Desktop/images/21022025/02/26/image_21022025_02_26_46_10422.jpg
/home/pi/Desktop/images/21022025/02/27/image_21022025_02_27_25_9324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338756629","1338756934","1338756628","1338756660","1338756741","1338756837"],"photo_ids_order":["1338756628","1338756629","1338756660","1338756741","1338756837","1338756934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/731a33d6fecffe4130f0620fac2e8131.jpg","text":"TemporaryFile(/tmp/multipartBody8038189005364503838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113253011,"filename":"image_21022025_02_26_05_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae0333f5082329f02eb8c9e551635857.jpg","text":"TemporaryFile(/tmp/multipartBody5083840381705804687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113253011,"filename":"image_21022025_02_27_25_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/384623052ae862fd76d5bd842d110bd9.jpg","text":"TemporaryFile(/tmp/multipartBody6359847135723279548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113253011,"filename":"image_21022025_02_25_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/05aa44261a71f9e7c5acece0f4f4dea6.jpg","text":"TemporaryFile(/tmp/multipartBody1033244333218441433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113253011,"filename":"image_21022025_02_26_15_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59759be1dcea8b6f8001ab19f8094ef2.jpg","text":"TemporaryFile(/tmp/multipartBody7066617774898350587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113253011,"filename":"image_21022025_02_26_25_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/38f82f5851d489aa44dd6b13328767e8.jpg","text":"TemporaryFile(/tmp/multipartBody120663107755140657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113253011,"filename":"image_21022025_02_26_46_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338756660","file1":"1338756629","file0":"1338756628","file4":"1338756837","file5":"1338756934","file3":"1338756741"},"map_files_photo_id_array":[{"photo_id":"1338756934","filename":"file5"},{"photo_id":"1338756660","filename":"file2"},{"photo_id":"1338756837","filename":"file4"},{"photo_id":"1338756629","filename":"file1"},{"photo_id":"1338756628","filename":"file0"},{"photo_id":"1338756741","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338756629":["hashtag1","hashtag2"]},{"1338756934":["hashtag1","hashtag2"]},{"1338756628":["hashtag1","hashtag2"]},{"1338756660":["hashtag1","hashtag2"]},{"1338756741":["hashtag1","hashtag2"]},{"1338756837":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338756629, 1338756934, 1338756628, 1338756660, 1338756741, 1338756837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.772489070892334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:47:33.069991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/27/image_21022025_02_27_35_10316.jpg', '/home/pi/Desktop/images/21022025/02/27/image_21022025_02_27_46_10398.jpg', '/home/pi/Desktop/images/21022025/02/28/image_21022025_02_28_15_9424.jpg', '/home/pi/Desktop/images/21022025/02/28/image_21022025_02_28_25_10343.jpg', '/home/pi/Desktop/images/21022025/02/28/image_21022025_02_28_45_9336.jpg', '/home/pi/Desktop/images/21022025/02/28/image_21022025_02_29_05_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/27/image_21022025_02_27_35_10316.jpg
/home/pi/Desktop/images/21022025/02/27/image_21022025_02_27_46_10398.jpg
/home/pi/Desktop/images/21022025/02/28/image_21022025_02_28_15_9424.jpg
/home/pi/Desktop/images/21022025/02/28/image_21022025_02_28_25_10343.jpg
/home/pi/Desktop/images/21022025/02/28/image_21022025_02_28_45_9336.jpg
/home/pi/Desktop/images/21022025/02/28/image_21022025_02_29_05_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338757042","1338757039","1338757026","1338757041","1338757034","1338757037"],"photo_ids_order":["1338757026","1338757034","1338757037","1338757039","1338757041","1338757042"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d24e833142ddf1af36e355b1d045735c.jpg","text":"TemporaryFile(/tmp/multipartBody8839390663698292325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113313549,"filename":"image_21022025_02_29_05_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f35485d108a4aa4d2346dc1a881cc27b.jpg","text":"TemporaryFile(/tmp/multipartBody3832616953532450294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113313549,"filename":"image_21022025_02_28_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7459bfa622779f230211723bb9517fe6.jpg","text":"TemporaryFile(/tmp/multipartBody2713025030418876498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113313549,"filename":"image_21022025_02_27_35_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7c1609a7c4ca202e691a7f63e721730.jpg","text":"TemporaryFile(/tmp/multipartBody349209383374678628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113313549,"filename":"image_21022025_02_28_45_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce27cef5b084c815ea3eae94cc7465d7.jpg","text":"TemporaryFile(/tmp/multipartBody3413388586973086252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113313549,"filename":"image_21022025_02_27_46_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/751185727196c22b9cb1ad0552243d7d.jpg","text":"TemporaryFile(/tmp/multipartBody6525771675667960007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113313549,"filename":"image_21022025_02_28_15_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338757037","file1":"1338757034","file0":"1338757026","file4":"1338757041","file5":"1338757042","file3":"1338757039"},"map_files_photo_id_array":[{"photo_id":"1338757042","filename":"file5"},{"photo_id":"1338757037","filename":"file2"},{"photo_id":"1338757041","filename":"file4"},{"photo_id":"1338757034","filename":"file1"},{"photo_id":"1338757026","filename":"file0"},{"photo_id":"1338757039","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338757042":["hashtag1","hashtag2"]},{"1338757039":["hashtag1","hashtag2"]},{"1338757026":["hashtag1","hashtag2"]},{"1338757041":["hashtag1","hashtag2"]},{"1338757034":["hashtag1","hashtag2"]},{"1338757037":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338757042, 1338757039, 1338757026, 1338757041, 1338757034, 1338757037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45276856422424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:48:32.103367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/29/image_21022025_02_29_15_10357.jpg', '/home/pi/Desktop/images/21022025/02/29/image_21022025_02_29_26_10398.jpg', '/home/pi/Desktop/images/21022025/02/29/image_21022025_02_29_45_10327.jpg', '/home/pi/Desktop/images/21022025/02/29/image_21022025_02_29_56_10411.jpg', '/home/pi/Desktop/images/21022025/02/30/image_21022025_02_30_16_10687.jpg', '/home/pi/Desktop/images/21022025/02/30/image_21022025_02_30_45_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/29/image_21022025_02_29_15_10357.jpg
/home/pi/Desktop/images/21022025/02/29/image_21022025_02_29_26_10398.jpg
/home/pi/Desktop/images/21022025/02/29/image_21022025_02_29_45_10327.jpg
/home/pi/Desktop/images/21022025/02/29/image_21022025_02_29_56_10411.jpg
/home/pi/Desktop/images/21022025/02/30/image_21022025_02_30_16_10687.jpg
/home/pi/Desktop/images/21022025/02/30/image_21022025_02_30_45_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338757078","1338757080","1338757062","1338757065","1338757067","1338757082"],"photo_ids_order":["1338757062","1338757065","1338757067","1338757078","1338757080","1338757082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ed892a435ec3435746c44234182eab17.jpg","text":"TemporaryFile(/tmp/multipartBody4394667202054116388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113372571,"filename":"image_21022025_02_29_56_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d2dcce500eff760754df726725bb54d5.jpg","text":"TemporaryFile(/tmp/multipartBody1771712152008287850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113372571,"filename":"image_21022025_02_30_16_10687.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e2db664b78a86e8094f48583a0ea48bf.jpg","text":"TemporaryFile(/tmp/multipartBody8584791913097374738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113372571,"filename":"image_21022025_02_29_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8f51eb9d1e38c043c9b454c40690b5f2.jpg","text":"TemporaryFile(/tmp/multipartBody6402464122260814196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113372571,"filename":"image_21022025_02_29_26_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3837911ded7194c12d19ba15718ef8ff.jpg","text":"TemporaryFile(/tmp/multipartBody499248626373158661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113372571,"filename":"image_21022025_02_29_45_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e8d1f54290be34607f1e8e2502303832.jpg","text":"TemporaryFile(/tmp/multipartBody1625409550811318209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113372571,"filename":"image_21022025_02_30_45_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338757067","file1":"1338757065","file0":"1338757062","file4":"1338757080","file5":"1338757082","file3":"1338757078"},"map_files_photo_id_array":[{"photo_id":"1338757082","filename":"file5"},{"photo_id":"1338757067","filename":"file2"},{"photo_id":"1338757080","filename":"file4"},{"photo_id":"1338757065","filename":"file1"},{"photo_id":"1338757062","filename":"file0"},{"photo_id":"1338757078","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338757078":["hashtag1","hashtag2"]},{"1338757080":["hashtag1","hashtag2"]},{"1338757062":["hashtag1","hashtag2"]},{"1338757065":["hashtag1","hashtag2"]},{"1338757067":["hashtag1","hashtag2"]},{"1338757082":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338757078, 1338757080, 1338757062, 1338757065, 1338757067, 1338757082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06690716743469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:49:32.278364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/30/image_21022025_02_30_55_10388.jpg', '/home/pi/Desktop/images/21022025/02/30/image_21022025_02_31_05_9428.jpg', '/home/pi/Desktop/images/21022025/02/31/image_21022025_02_31_15_10352.jpg', '/home/pi/Desktop/images/21022025/02/31/image_21022025_02_31_35_9349.jpg', '/home/pi/Desktop/images/21022025/02/31/image_21022025_02_31_45_10432.jpg', '/home/pi/Desktop/images/21022025/02/31/image_21022025_02_32_05_9311.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/30/image_21022025_02_30_55_10388.jpg
/home/pi/Desktop/images/21022025/02/30/image_21022025_02_31_05_9428.jpg
/home/pi/Desktop/images/21022025/02/31/image_21022025_02_31_15_10352.jpg
/home/pi/Desktop/images/21022025/02/31/image_21022025_02_31_35_9349.jpg
/home/pi/Desktop/images/21022025/02/31/image_21022025_02_31_45_10432.jpg
/home/pi/Desktop/images/21022025/02/31/image_21022025_02_32_05_9311.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338757106","1338757092","1338757105","1338757098","1338757104","1338757101"],"photo_ids_order":["1338757092","1338757098","1338757101","1338757104","1338757105","1338757106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c7f5c3cf88cfa38c4d32ad383e5e424d.jpg","text":"TemporaryFile(/tmp/multipartBody4018288819364328488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113432771,"filename":"image_21022025_02_32_05_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2add1e2d0ed66196b5b6d9c8aa434eef.jpg","text":"TemporaryFile(/tmp/multipartBody3553522670512244756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113432771,"filename":"image_21022025_02_30_55_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/78f3174906f284b14443e3b0779afbbe.jpg","text":"TemporaryFile(/tmp/multipartBody8201012655174006075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113432771,"filename":"image_21022025_02_31_45_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3629a02a59e5a0df077ec82f6a624b37.jpg","text":"TemporaryFile(/tmp/multipartBody196018741451152606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113432771,"filename":"image_21022025_02_31_05_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0ab0bb820d1e450b3ba03fc7a4171faf.jpg","text":"TemporaryFile(/tmp/multipartBody4669724013895555803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113432771,"filename":"image_21022025_02_31_35_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/33e0c3477d620aa729ac7f8adacefbfd.jpg","text":"TemporaryFile(/tmp/multipartBody5845353676793489666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113432771,"filename":"image_21022025_02_31_15_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338757101","file1":"1338757098","file0":"1338757092","file4":"1338757105","file5":"1338757106","file3":"1338757104"},"map_files_photo_id_array":[{"photo_id":"1338757106","filename":"file5"},{"photo_id":"1338757101","filename":"file2"},{"photo_id":"1338757105","filename":"file4"},{"photo_id":"1338757098","filename":"file1"},{"photo_id":"1338757092","filename":"file0"},{"photo_id":"1338757104","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338757106":["hashtag1","hashtag2"]},{"1338757092":["hashtag1","hashtag2"]},{"1338757105":["hashtag1","hashtag2"]},{"1338757098":["hashtag1","hashtag2"]},{"1338757104":["hashtag1","hashtag2"]},{"1338757101":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338757106, 1338757092, 1338757105, 1338757098, 1338757104, 1338757101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.347086906433105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:50:32.594542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/32/image_21022025_02_32_15_10332.jpg', '/home/pi/Desktop/images/21022025/02/32/image_21022025_02_32_26_10426.jpg', '/home/pi/Desktop/images/21022025/02/32/image_21022025_02_32_55_9383.jpg', '/home/pi/Desktop/images/21022025/02/32/image_21022025_02_33_05_10345.jpg', '/home/pi/Desktop/images/21022025/02/33/image_21022025_02_33_16_10466.jpg', '/home/pi/Desktop/images/21022025/02/33/image_21022025_02_33_35_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/32/image_21022025_02_32_15_10332.jpg
/home/pi/Desktop/images/21022025/02/32/image_21022025_02_32_26_10426.jpg
/home/pi/Desktop/images/21022025/02/32/image_21022025_02_32_55_9383.jpg
/home/pi/Desktop/images/21022025/02/32/image_21022025_02_33_05_10345.jpg
/home/pi/Desktop/images/21022025/02/33/image_21022025_02_33_16_10466.jpg
/home/pi/Desktop/images/21022025/02/33/image_21022025_02_33_35_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338757124","1338757123","1338757117","1338757125","1338757119","1338757121"],"photo_ids_order":["1338757117","1338757119","1338757121","1338757123","1338757124","1338757125"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae59db834033ef9143d6a0f9dbf91c59.jpg","text":"TemporaryFile(/tmp/multipartBody8733059915224494371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113493081,"filename":"image_21022025_02_33_16_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a4a775c47c63962386c1aa1d2e83f3c7.jpg","text":"TemporaryFile(/tmp/multipartBody1129456949928588902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113493081,"filename":"image_21022025_02_33_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/527ed08339524d1280d16b9412c39ba4.jpg","text":"TemporaryFile(/tmp/multipartBody3166058081346474097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113493081,"filename":"image_21022025_02_32_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/57fd33698a31cff5c6274d1b64311a29.jpg","text":"TemporaryFile(/tmp/multipartBody3877883863295538800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113493081,"filename":"image_21022025_02_33_35_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f68505a1dc6d8286718549e08d7ca49.jpg","text":"TemporaryFile(/tmp/multipartBody7511658055586509802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113493081,"filename":"image_21022025_02_32_26_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ddf40607278970c0176fdf99193e9099.jpg","text":"TemporaryFile(/tmp/multipartBody96948934545161977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113493081,"filename":"image_21022025_02_32_55_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338757121","file1":"1338757119","file0":"1338757117","file4":"1338757124","file5":"1338757125","file3":"1338757123"},"map_files_photo_id_array":[{"photo_id":"1338757125","filename":"file5"},{"photo_id":"1338757121","filename":"file2"},{"photo_id":"1338757124","filename":"file4"},{"photo_id":"1338757119","filename":"file1"},{"photo_id":"1338757117","filename":"file0"},{"photo_id":"1338757123","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338757124":["hashtag1","hashtag2"]},{"1338757123":["hashtag1","hashtag2"]},{"1338757117":["hashtag1","hashtag2"]},{"1338757125":["hashtag1","hashtag2"]},{"1338757119":["hashtag1","hashtag2"]},{"1338757121":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338757124, 1338757123, 1338757117, 1338757125, 1338757119, 1338757121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.40146017074585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:51:32.966311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/33/image_21022025_02_33_46_10382.jpg', '/home/pi/Desktop/images/21022025/02/33/image_21022025_02_33_55_9324.jpg', '/home/pi/Desktop/images/21022025/02/34/image_21022025_02_34_16_10351.jpg', '/home/pi/Desktop/images/21022025/02/34/image_21022025_02_34_25_9322.jpg', '/home/pi/Desktop/images/21022025/02/34/image_21022025_02_34_55_9353.jpg', '/home/pi/Desktop/images/21022025/02/34/image_21022025_02_35_05_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/33/image_21022025_02_33_46_10382.jpg
/home/pi/Desktop/images/21022025/02/33/image_21022025_02_33_55_9324.jpg
/home/pi/Desktop/images/21022025/02/34/image_21022025_02_34_16_10351.jpg
/home/pi/Desktop/images/21022025/02/34/image_21022025_02_34_25_9322.jpg
/home/pi/Desktop/images/21022025/02/34/image_21022025_02_34_55_9353.jpg
/home/pi/Desktop/images/21022025/02/34/image_21022025_02_35_05_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338757756","1338757595","1338757475","1338757541","1338757439","1338757433"],"photo_ids_order":["1338757433","1338757439","1338757475","1338757541","1338757595","1338757756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c10827cf3f41543f5d9d22ec9c23e427.jpg","text":"TemporaryFile(/tmp/multipartBody6477360013704861172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113553441,"filename":"image_21022025_02_35_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/08ec6211128ee86c9e84e2e8138ecebe.jpg","text":"TemporaryFile(/tmp/multipartBody478303102952324456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113553441,"filename":"image_21022025_02_34_55_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/895ae5d90dc059f35f6c80ab13108d76.jpg","text":"TemporaryFile(/tmp/multipartBody4017038674448714901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113553441,"filename":"image_21022025_02_34_16_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/13f21f958ddafbc6947aecfd3c3b238a.jpg","text":"TemporaryFile(/tmp/multipartBody6159771312566072562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113553441,"filename":"image_21022025_02_34_25_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/256fba9c9f985e8e1e324ec7426d4c36.jpg","text":"TemporaryFile(/tmp/multipartBody6250225140457357281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113553441,"filename":"image_21022025_02_33_55_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/020573fcdd2cd21b36b42d51edad4c1b.jpg","text":"TemporaryFile(/tmp/multipartBody5223805327165381004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113553441,"filename":"image_21022025_02_33_46_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338757475","file1":"1338757439","file0":"1338757433","file4":"1338757595","file5":"1338757756","file3":"1338757541"},"map_files_photo_id_array":[{"photo_id":"1338757756","filename":"file5"},{"photo_id":"1338757475","filename":"file2"},{"photo_id":"1338757595","filename":"file4"},{"photo_id":"1338757439","filename":"file1"},{"photo_id":"1338757433","filename":"file0"},{"photo_id":"1338757541","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338757756":["hashtag1","hashtag2"]},{"1338757595":["hashtag1","hashtag2"]},{"1338757475":["hashtag1","hashtag2"]},{"1338757541":["hashtag1","hashtag2"]},{"1338757439":["hashtag1","hashtag2"]},{"1338757433":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338757756, 1338757595, 1338757475, 1338757541, 1338757439, 1338757433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.72604584693909 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:52:33.044104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/35/image_21022025_02_35_16_10362.jpg', '/home/pi/Desktop/images/21022025/02/35/image_21022025_02_35_25_9351.jpg', '/home/pi/Desktop/images/21022025/02/35/image_21022025_02_35_35_10320.jpg', '/home/pi/Desktop/images/21022025/02/35/image_21022025_02_35_46_10338.jpg', '/home/pi/Desktop/images/21022025/02/35/image_21022025_02_36_05_10349.jpg', '/home/pi/Desktop/images/21022025/02/36/image_21022025_02_36_15_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/35/image_21022025_02_35_16_10362.jpg
/home/pi/Desktop/images/21022025/02/35/image_21022025_02_35_25_9351.jpg
/home/pi/Desktop/images/21022025/02/35/image_21022025_02_35_35_10320.jpg
/home/pi/Desktop/images/21022025/02/35/image_21022025_02_35_46_10338.jpg
/home/pi/Desktop/images/21022025/02/35/image_21022025_02_36_05_10349.jpg
/home/pi/Desktop/images/21022025/02/36/image_21022025_02_36_15_9411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338758391","1338758232","1338758154","1338758076","1338758313","1338758003"],"photo_ids_order":["1338758003","1338758076","1338758154","1338758232","1338758313","1338758391"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a209cf50cbae20b9ef05f9c0189524f.jpg","text":"TemporaryFile(/tmp/multipartBody4844364995534290273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113613538,"filename":"image_21022025_02_36_15_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9187bbdcdfc7a5434552ccd1752dccaf.jpg","text":"TemporaryFile(/tmp/multipartBody8788236890332889790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113613538,"filename":"image_21022025_02_35_46_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/962e4f0af23b6c87917c27ed837daae2.jpg","text":"TemporaryFile(/tmp/multipartBody2975106627600000513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113613538,"filename":"image_21022025_02_35_35_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/edb66f7175e9227324bc0ab31677dfc3.jpg","text":"TemporaryFile(/tmp/multipartBody2315821924703067955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113613538,"filename":"image_21022025_02_35_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/454b7aa3bec3b707d14e51f3abf00a17.jpg","text":"TemporaryFile(/tmp/multipartBody1431748822532834858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113613538,"filename":"image_21022025_02_36_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fab67c74bb4041f5671bd0b6f97adb23.jpg","text":"TemporaryFile(/tmp/multipartBody7010600923412090309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113613538,"filename":"image_21022025_02_35_16_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338758154","file1":"1338758076","file0":"1338758003","file4":"1338758313","file5":"1338758391","file3":"1338758232"},"map_files_photo_id_array":[{"photo_id":"1338758391","filename":"file5"},{"photo_id":"1338758154","filename":"file2"},{"photo_id":"1338758313","filename":"file4"},{"photo_id":"1338758076","filename":"file1"},{"photo_id":"1338758003","filename":"file0"},{"photo_id":"1338758232","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338758391":["hashtag1","hashtag2"]},{"1338758232":["hashtag1","hashtag2"]},{"1338758154":["hashtag1","hashtag2"]},{"1338758076":["hashtag1","hashtag2"]},{"1338758313":["hashtag1","hashtag2"]},{"1338758003":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338758391, 1338758232, 1338758154, 1338758076, 1338758313, 1338758003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76894497871399 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:53:32.178369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/36/image_21022025_02_36_25_10372.jpg', '/home/pi/Desktop/images/21022025/02/36/image_21022025_02_36_45_9355.jpg', '/home/pi/Desktop/images/21022025/02/36/image_21022025_02_36_55_10314.jpg', '/home/pi/Desktop/images/21022025/02/36/image_21022025_02_37_06_10440.jpg', '/home/pi/Desktop/images/21022025/02/37/image_21022025_02_37_15_9381.jpg', '/home/pi/Desktop/images/21022025/02/37/image_21022025_02_37_26_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/36/image_21022025_02_36_25_10372.jpg
/home/pi/Desktop/images/21022025/02/36/image_21022025_02_36_45_9355.jpg
/home/pi/Desktop/images/21022025/02/36/image_21022025_02_36_55_10314.jpg
/home/pi/Desktop/images/21022025/02/36/image_21022025_02_37_06_10440.jpg
/home/pi/Desktop/images/21022025/02/37/image_21022025_02_37_15_9381.jpg
/home/pi/Desktop/images/21022025/02/37/image_21022025_02_37_26_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338758638","1338758611","1338758608","1338758622","1338758631","1338758628"],"photo_ids_order":["1338758608","1338758611","1338758622","1338758628","1338758631","1338758638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e48ff989d170b57a59cb639e97620f9b.jpg","text":"TemporaryFile(/tmp/multipartBody6366780194592317984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113672649,"filename":"image_21022025_02_37_26_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c8cb47d361f3755115335beda71d69fb.jpg","text":"TemporaryFile(/tmp/multipartBody3192820363497491072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113672649,"filename":"image_21022025_02_36_45_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cc27c07a8767c3da5c1e8d85a4492e1c.jpg","text":"TemporaryFile(/tmp/multipartBody8019294597969235904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113672649,"filename":"image_21022025_02_36_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/192466aeba3a4b3713c4f423037e4db2.jpg","text":"TemporaryFile(/tmp/multipartBody2789351107826229004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113672649,"filename":"image_21022025_02_36_55_10314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/24275059ececce814c1951c30f8c4d54.jpg","text":"TemporaryFile(/tmp/multipartBody3071351073839343579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113672649,"filename":"image_21022025_02_37_15_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/161bbb3408ef718edf5135c072463422.jpg","text":"TemporaryFile(/tmp/multipartBody4135246007819560279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113672649,"filename":"image_21022025_02_37_06_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338758622","file1":"1338758611","file0":"1338758608","file4":"1338758631","file5":"1338758638","file3":"1338758628"},"map_files_photo_id_array":[{"photo_id":"1338758638","filename":"file5"},{"photo_id":"1338758622","filename":"file2"},{"photo_id":"1338758631","filename":"file4"},{"photo_id":"1338758611","filename":"file1"},{"photo_id":"1338758608","filename":"file0"},{"photo_id":"1338758628","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338758638":["hashtag1","hashtag2"]},{"1338758611":["hashtag1","hashtag2"]},{"1338758608":["hashtag1","hashtag2"]},{"1338758622":["hashtag1","hashtag2"]},{"1338758631":["hashtag1","hashtag2"]},{"1338758628":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338758638, 1338758611, 1338758608, 1338758622, 1338758631, 1338758628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33488941192627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:54:32.510543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/37/image_21022025_02_37_56_10331.jpg', '/home/pi/Desktop/images/21022025/02/37/image_21022025_02_38_05_9427.jpg', '/home/pi/Desktop/images/21022025/02/38/image_21022025_02_38_15_10355.jpg', '/home/pi/Desktop/images/21022025/02/38/image_21022025_02_38_26_10334.jpg', '/home/pi/Desktop/images/21022025/02/38/image_21022025_02_38_35_9353.jpg', '/home/pi/Desktop/images/21022025/02/38/image_21022025_02_38_46_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/37/image_21022025_02_37_56_10331.jpg
/home/pi/Desktop/images/21022025/02/37/image_21022025_02_38_05_9427.jpg
/home/pi/Desktop/images/21022025/02/38/image_21022025_02_38_15_10355.jpg
/home/pi/Desktop/images/21022025/02/38/image_21022025_02_38_26_10334.jpg
/home/pi/Desktop/images/21022025/02/38/image_21022025_02_38_35_9353.jpg
/home/pi/Desktop/images/21022025/02/38/image_21022025_02_38_46_10457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338758760","1338758754","1338758676","1338758763","1338758761","1338758662"],"photo_ids_order":["1338758662","1338758676","1338758754","1338758760","1338758761","1338758763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b42674633603800e0c36559ebe11a215.jpg","text":"TemporaryFile(/tmp/multipartBody2323854903229677747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113732994,"filename":"image_21022025_02_38_26_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59331b887c72cf764b4823f27163c286.jpg","text":"TemporaryFile(/tmp/multipartBody506058794888301229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113732994,"filename":"image_21022025_02_38_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1c3fb653b99be396f82492e762c9fde.jpg","text":"TemporaryFile(/tmp/multipartBody7503092374179119877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113732994,"filename":"image_21022025_02_38_05_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3edbd3938398386542939cee15519654.jpg","text":"TemporaryFile(/tmp/multipartBody6245765312607706091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113732994,"filename":"image_21022025_02_38_46_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/695675d378be562e1cecf5c77530e8b4.jpg","text":"TemporaryFile(/tmp/multipartBody6321239878114644648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113732994,"filename":"image_21022025_02_38_35_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/85bb89499a986b4e76a51573466ec427.jpg","text":"TemporaryFile(/tmp/multipartBody1186187929448430520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113732994,"filename":"image_21022025_02_37_56_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338758754","file1":"1338758676","file0":"1338758662","file4":"1338758761","file5":"1338758763","file3":"1338758760"},"map_files_photo_id_array":[{"photo_id":"1338758763","filename":"file5"},{"photo_id":"1338758754","filename":"file2"},{"photo_id":"1338758761","filename":"file4"},{"photo_id":"1338758676","filename":"file1"},{"photo_id":"1338758662","filename":"file0"},{"photo_id":"1338758760","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338758760":["hashtag1","hashtag2"]},{"1338758754":["hashtag1","hashtag2"]},{"1338758676":["hashtag1","hashtag2"]},{"1338758763":["hashtag1","hashtag2"]},{"1338758761":["hashtag1","hashtag2"]},{"1338758662":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338758760, 1338758754, 1338758676, 1338758763, 1338758761, 1338758662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9196879863739 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:55:32.647571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/38/image_21022025_02_38_55_9390.jpg', '/home/pi/Desktop/images/21022025/02/38/image_21022025_02_39_05_10329.jpg', '/home/pi/Desktop/images/21022025/02/39/image_21022025_02_39_16_10462.jpg', '/home/pi/Desktop/images/21022025/02/39/image_21022025_02_39_25_9332.jpg', '/home/pi/Desktop/images/21022025/02/39/image_21022025_02_39_35_10347.jpg', '/home/pi/Desktop/images/21022025/02/39/image_21022025_02_39_45_9444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/38/image_21022025_02_38_55_9390.jpg
/home/pi/Desktop/images/21022025/02/38/image_21022025_02_39_05_10329.jpg
/home/pi/Desktop/images/21022025/02/39/image_21022025_02_39_16_10462.jpg
/home/pi/Desktop/images/21022025/02/39/image_21022025_02_39_25_9332.jpg
/home/pi/Desktop/images/21022025/02/39/image_21022025_02_39_35_10347.jpg
/home/pi/Desktop/images/21022025/02/39/image_21022025_02_39_45_9444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338758785","1338758793","1338758789","1338758780","1338758783","1338758791"],"photo_ids_order":["1338758780","1338758783","1338758785","1338758789","1338758791","1338758793"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/405888a0d842cb4831d114e14ac01b9b.jpg","text":"TemporaryFile(/tmp/multipartBody9008624061743016816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113793125,"filename":"image_21022025_02_39_16_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/225182d1df27c9ad982ffe77c8759e8c.jpg","text":"TemporaryFile(/tmp/multipartBody3653509357930769529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113793125,"filename":"image_21022025_02_39_45_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/227d4818fddca1a4a810ef8fbb26dfea.jpg","text":"TemporaryFile(/tmp/multipartBody8804279480144192136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113793125,"filename":"image_21022025_02_39_25_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9b166d7d7a11eff1f68c9bf28e5792f6.jpg","text":"TemporaryFile(/tmp/multipartBody8418288513361069649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113793125,"filename":"image_21022025_02_38_55_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b91bd036b733dad6b6a1b9c0d402e7b1.jpg","text":"TemporaryFile(/tmp/multipartBody1515524589831086121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113793125,"filename":"image_21022025_02_39_05_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ca1ddb79252bddd916c8b1ab9afe8ca.jpg","text":"TemporaryFile(/tmp/multipartBody3890668363658918529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113793125,"filename":"image_21022025_02_39_35_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338758785","file1":"1338758783","file0":"1338758780","file4":"1338758791","file5":"1338758793","file3":"1338758789"},"map_files_photo_id_array":[{"photo_id":"1338758793","filename":"file5"},{"photo_id":"1338758785","filename":"file2"},{"photo_id":"1338758791","filename":"file4"},{"photo_id":"1338758783","filename":"file1"},{"photo_id":"1338758780","filename":"file0"},{"photo_id":"1338758789","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338758785":["hashtag1","hashtag2"]},{"1338758793":["hashtag1","hashtag2"]},{"1338758789":["hashtag1","hashtag2"]},{"1338758780":["hashtag1","hashtag2"]},{"1338758783":["hashtag1","hashtag2"]},{"1338758791":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338758785, 1338758793, 1338758789, 1338758780, 1338758783, 1338758791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.24645948410034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:56:33.039099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/39/image_21022025_02_39_55_10311.jpg', '/home/pi/Desktop/images/21022025/02/39/image_21022025_02_40_06_10425.jpg', '/home/pi/Desktop/images/21022025/02/40/image_21022025_02_40_15_9448.jpg', '/home/pi/Desktop/images/21022025/02/40/image_21022025_02_40_25_10368.jpg', '/home/pi/Desktop/images/21022025/02/40/image_21022025_02_40_45_10338.jpg', '/home/pi/Desktop/images/21022025/02/40/image_21022025_02_40_56_10484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/39/image_21022025_02_39_55_10311.jpg
/home/pi/Desktop/images/21022025/02/39/image_21022025_02_40_06_10425.jpg
/home/pi/Desktop/images/21022025/02/40/image_21022025_02_40_15_9448.jpg
/home/pi/Desktop/images/21022025/02/40/image_21022025_02_40_25_10368.jpg
/home/pi/Desktop/images/21022025/02/40/image_21022025_02_40_45_10338.jpg
/home/pi/Desktop/images/21022025/02/40/image_21022025_02_40_56_10484.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338758812","1338758815","1338758809","1338758805","1338758816","1338758801"],"photo_ids_order":["1338758801","1338758805","1338758809","1338758812","1338758815","1338758816"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3dccac9dd490b4a29e0f01007d5cee02.jpg","text":"TemporaryFile(/tmp/multipartBody7429501354911819099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113853529,"filename":"image_21022025_02_40_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/338f8f139656a6e589906cbe03e46949.jpg","text":"TemporaryFile(/tmp/multipartBody9098498469588150261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113853529,"filename":"image_21022025_02_40_45_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4bd021fe90e97b441fb3087740a05c4b.jpg","text":"TemporaryFile(/tmp/multipartBody3803528451187501224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113853529,"filename":"image_21022025_02_40_15_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/85e194d42707835070d5219714f812cb.jpg","text":"TemporaryFile(/tmp/multipartBody50098650631842809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113853529,"filename":"image_21022025_02_40_06_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0b282a5c4c6ea8b1eba2df5ba5a1d8f8.jpg","text":"TemporaryFile(/tmp/multipartBody1689075656485489817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113853529,"filename":"image_21022025_02_40_56_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4bd1f33b952758ee932fd78ef76169ad.jpg","text":"TemporaryFile(/tmp/multipartBody217983939418911870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740113853529,"filename":"image_21022025_02_39_55_10311.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338758809","file1":"1338758805","file0":"1338758801","file4":"1338758815","file5":"1338758816","file3":"1338758812"},"map_files_photo_id_array":[{"photo_id":"1338758816","filename":"file5"},{"photo_id":"1338758809","filename":"file2"},{"photo_id":"1338758815","filename":"file4"},{"photo_id":"1338758805","filename":"file1"},{"photo_id":"1338758801","filename":"file0"},{"photo_id":"1338758812","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338758812":["hashtag1","hashtag2"]},{"1338758815":["hashtag1","hashtag2"]},{"1338758809":["hashtag1","hashtag2"]},{"1338758805":["hashtag1","hashtag2"]},{"1338758816":["hashtag1","hashtag2"]},{"1338758801":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338758812, 1338758815, 1338758809, 1338758805, 1338758816, 1338758801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87259030342102 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:57:32.162755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/40/image_21022025_02_41_05_9349.jpg', '/home/pi/Desktop/images/21022025/02/41/image_21022025_02_41_15_10328.jpg', '/home/pi/Desktop/images/21022025/02/41/image_21022025_02_41_26_10320.jpg', '/home/pi/Desktop/images/21022025/02/41/image_21022025_02_41_35_9361.jpg', '/home/pi/Desktop/images/21022025/02/41/image_21022025_02_41_45_10336.jpg', '/home/pi/Desktop/images/21022025/02/41/image_21022025_02_41_56_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/40/image_21022025_02_41_05_9349.jpg
/home/pi/Desktop/images/21022025/02/41/image_21022025_02_41_15_10328.jpg
/home/pi/Desktop/images/21022025/02/41/image_21022025_02_41_26_10320.jpg
/home/pi/Desktop/images/21022025/02/41/image_21022025_02_41_35_9361.jpg
/home/pi/Desktop/images/21022025/02/41/image_21022025_02_41_45_10336.jpg
/home/pi/Desktop/images/21022025/02/41/image_21022025_02_41_56_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 05:59:03.709401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/40/image_21022025_02_41_05_9349.jpg', '/home/pi/Desktop/images/21022025/02/41/image_21022025_02_41_15_10328.jpg', '/home/pi/Desktop/images/21022025/02/41/image_21022025_02_41_26_10320.jpg', '/home/pi/Desktop/images/21022025/02/41/image_21022025_02_41_35_9361.jpg', '/home/pi/Desktop/images/21022025/02/41/image_21022025_02_41_45_10336.jpg', '/home/pi/Desktop/images/21022025/02/41/image_21022025_02_41_56_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/40/image_21022025_02_41_05_9349.jpg
/home/pi/Desktop/images/21022025/02/41/image_21022025_02_41_15_10328.jpg
/home/pi/Desktop/images/21022025/02/41/image_21022025_02_41_26_10320.jpg
/home/pi/Desktop/images/21022025/02/41/image_21022025_02_41_35_9361.jpg
/home/pi/Desktop/images/21022025/02/41/image_21022025_02_41_45_10336.jpg
/home/pi/Desktop/images/21022025/02/41/image_21022025_02_41_56_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338758993","1338758996","1338758999","1338758978","1338759002","1338758983"],"photo_ids_order":["1338758978","1338758983","1338758993","1338758996","1338758999","1338759002"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ebe72d843f4a935c025916e61e2eb4b.jpg","text":"TemporaryFile(/tmp/multipartBody8917534619147054825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114004325,"filename":"image_21022025_02_41_26_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f41f71960f15d619486c7a86885d8c4.jpg","text":"TemporaryFile(/tmp/multipartBody4541859135723548728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114004325,"filename":"image_21022025_02_41_35_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a6a40bec3a2b4cd9f529b7b81c962e43.jpg","text":"TemporaryFile(/tmp/multipartBody6955645483798107384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114004325,"filename":"image_21022025_02_41_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/37f1642451d63614c4313120ae916c9b.jpg","text":"TemporaryFile(/tmp/multipartBody2366132418879470798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114004325,"filename":"image_21022025_02_41_05_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8814795bb58d14da1dddba328fe16e19.jpg","text":"TemporaryFile(/tmp/multipartBody1829371728438530735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114004325,"filename":"image_21022025_02_41_56_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e6032e25ba115046a7e090de28276ae.jpg","text":"TemporaryFile(/tmp/multipartBody1545415948884259120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114004325,"filename":"image_21022025_02_41_15_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338758993","file1":"1338758983","file0":"1338758978","file4":"1338758999","file5":"1338759002","file3":"1338758996"},"map_files_photo_id_array":[{"photo_id":"1338759002","filename":"file5"},{"photo_id":"1338758993","filename":"file2"},{"photo_id":"1338758999","filename":"file4"},{"photo_id":"1338758983","filename":"file1"},{"photo_id":"1338758978","filename":"file0"},{"photo_id":"1338758996","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338758993":["hashtag1","hashtag2"]},{"1338758996":["hashtag1","hashtag2"]},{"1338758999":["hashtag1","hashtag2"]},{"1338758978":["hashtag1","hashtag2"]},{"1338759002":["hashtag1","hashtag2"]},{"1338758983":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338758993, 1338758996, 1338758999, 1338758978, 1338759002, 1338758983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.87323021888733 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 05:59:52.755151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/41/image_21022025_02_42_05_9320.jpg', '/home/pi/Desktop/images/21022025/02/42/image_21022025_02_42_15_10359.jpg', '/home/pi/Desktop/images/21022025/02/42/image_21022025_02_42_35_10326.jpg', '/home/pi/Desktop/images/21022025/02/42/image_21022025_02_42_46_10390.jpg', '/home/pi/Desktop/images/21022025/02/42/image_21022025_02_42_55_9327.jpg', '/home/pi/Desktop/images/21022025/02/42/image_21022025_02_43_05_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/41/image_21022025_02_42_05_9320.jpg
/home/pi/Desktop/images/21022025/02/42/image_21022025_02_42_15_10359.jpg
/home/pi/Desktop/images/21022025/02/42/image_21022025_02_42_35_10326.jpg
/home/pi/Desktop/images/21022025/02/42/image_21022025_02_42_46_10390.jpg
/home/pi/Desktop/images/21022025/02/42/image_21022025_02_42_55_9327.jpg
/home/pi/Desktop/images/21022025/02/42/image_21022025_02_43_05_10339.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338759111","1338759080","1338759011","1338759113","1338759115","1338759109"],"photo_ids_order":["1338759011","1338759080","1338759109","1338759111","1338759113","1338759115"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4c061917eb8004a7d476c611b5b96154.jpg","text":"TemporaryFile(/tmp/multipartBody8578251503343715846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114053248,"filename":"image_21022025_02_42_46_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/827f01c93478bf76bffebee1112ecd9f.jpg","text":"TemporaryFile(/tmp/multipartBody9067409242188822910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114053248,"filename":"image_21022025_02_42_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d5080f68bfe20fd2fbe3d58901865ad0.jpg","text":"TemporaryFile(/tmp/multipartBody3132420325241240447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114053248,"filename":"image_21022025_02_42_05_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7069d2459e4209e930236fbad02e3154.jpg","text":"TemporaryFile(/tmp/multipartBody6225339640871736127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114053248,"filename":"image_21022025_02_42_55_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4241116975177c11457fcca9a645cdb6.jpg","text":"TemporaryFile(/tmp/multipartBody1705309736047764088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114053248,"filename":"image_21022025_02_43_05_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c23929fff3bb000f556756e79f3fa9d5.jpg","text":"TemporaryFile(/tmp/multipartBody5538700695259678649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114053248,"filename":"image_21022025_02_42_35_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338759109","file1":"1338759080","file0":"1338759011","file4":"1338759113","file5":"1338759115","file3":"1338759111"},"map_files_photo_id_array":[{"photo_id":"1338759115","filename":"file5"},{"photo_id":"1338759109","filename":"file2"},{"photo_id":"1338759113","filename":"file4"},{"photo_id":"1338759080","filename":"file1"},{"photo_id":"1338759011","filename":"file0"},{"photo_id":"1338759111","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338759111":["hashtag1","hashtag2"]},{"1338759080":["hashtag1","hashtag2"]},{"1338759011":["hashtag1","hashtag2"]},{"1338759113":["hashtag1","hashtag2"]},{"1338759115":["hashtag1","hashtag2"]},{"1338759109":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338759111, 1338759080, 1338759011, 1338759113, 1338759115, 1338759109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.448017835617065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:00:32.908035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/43/image_21022025_02_43_25_9328.jpg', '/home/pi/Desktop/images/21022025/02/43/image_21022025_02_43_35_10335.jpg', '/home/pi/Desktop/images/21022025/02/43/image_21022025_02_43_46_10398.jpg', '/home/pi/Desktop/images/21022025/02/43/image_21022025_02_43_55_9323.jpg', '/home/pi/Desktop/images/21022025/02/45/image_21022025_02_45_35_9325.jpg', '/home/pi/Desktop/images/21022025/02/45/image_21022025_02_45_45_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/43/image_21022025_02_43_25_9328.jpg
/home/pi/Desktop/images/21022025/02/43/image_21022025_02_43_35_10335.jpg
/home/pi/Desktop/images/21022025/02/43/image_21022025_02_43_46_10398.jpg
/home/pi/Desktop/images/21022025/02/43/image_21022025_02_43_55_9323.jpg
/home/pi/Desktop/images/21022025/02/45/image_21022025_02_45_35_9325.jpg
/home/pi/Desktop/images/21022025/02/45/image_21022025_02_45_45_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338759138","1338759132","1338759135","1338759129","1338759140","1338759137"],"photo_ids_order":["1338759129","1338759132","1338759135","1338759137","1338759138","1338759140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2f215a37ed456406ca7dc2682c8dc20b.jpg","text":"TemporaryFile(/tmp/multipartBody3984305782320763354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114093386,"filename":"image_21022025_02_45_35_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e8a3ac9aa1a36039b5b72cc3fab66b7a.jpg","text":"TemporaryFile(/tmp/multipartBody6779093101572912041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114093386,"filename":"image_21022025_02_43_35_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/55d031e50f007e1a8395007db4f727fc.jpg","text":"TemporaryFile(/tmp/multipartBody4634526250291727623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114093386,"filename":"image_21022025_02_43_46_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e2928a9a2351c7cb3954d1429bf454cb.jpg","text":"TemporaryFile(/tmp/multipartBody2651237674294343194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114093386,"filename":"image_21022025_02_43_25_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f5663fb8a590d588adc6e564c87eadc4.jpg","text":"TemporaryFile(/tmp/multipartBody1095165027823714880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114093386,"filename":"image_21022025_02_45_45_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/41ba7c8f295643770e58f0e765d5338d.jpg","text":"TemporaryFile(/tmp/multipartBody3554167950333689346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114093386,"filename":"image_21022025_02_43_55_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338759135","file1":"1338759132","file0":"1338759129","file4":"1338759138","file5":"1338759140","file3":"1338759137"},"map_files_photo_id_array":[{"photo_id":"1338759140","filename":"file5"},{"photo_id":"1338759135","filename":"file2"},{"photo_id":"1338759138","filename":"file4"},{"photo_id":"1338759132","filename":"file1"},{"photo_id":"1338759129","filename":"file0"},{"photo_id":"1338759137","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338759138":["hashtag1","hashtag2"]},{"1338759132":["hashtag1","hashtag2"]},{"1338759135":["hashtag1","hashtag2"]},{"1338759129":["hashtag1","hashtag2"]},{"1338759140":["hashtag1","hashtag2"]},{"1338759137":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338759138, 1338759132, 1338759135, 1338759129, 1338759140, 1338759137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85914373397827 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:01:33.156616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/45/image_21022025_02_45_55_9401.jpg', '/home/pi/Desktop/images/21022025/02/46/image_21022025_02_46_25_9434.jpg', '/home/pi/Desktop/images/21022025/02/46/image_21022025_02_46_35_10322.jpg', '/home/pi/Desktop/images/21022025/02/46/image_21022025_02_46_46_10326.jpg', '/home/pi/Desktop/images/21022025/02/46/image_21022025_02_46_55_9330.jpg', '/home/pi/Desktop/images/21022025/02/46/image_21022025_02_47_05_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/45/image_21022025_02_45_55_9401.jpg
/home/pi/Desktop/images/21022025/02/46/image_21022025_02_46_25_9434.jpg
/home/pi/Desktop/images/21022025/02/46/image_21022025_02_46_35_10322.jpg
/home/pi/Desktop/images/21022025/02/46/image_21022025_02_46_46_10326.jpg
/home/pi/Desktop/images/21022025/02/46/image_21022025_02_46_55_9330.jpg
/home/pi/Desktop/images/21022025/02/46/image_21022025_02_47_05_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338759174","1338759162","1338759168","1338759164","1338759158","1338759160"],"photo_ids_order":["1338759158","1338759160","1338759162","1338759164","1338759168","1338759174"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/88a31bd51837da7fa61255d5b94aa71e.jpg","text":"TemporaryFile(/tmp/multipartBody381269413288988006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114153623,"filename":"image_21022025_02_47_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ce29a6e2ae86fc96231097a058a3db8.jpg","text":"TemporaryFile(/tmp/multipartBody4471939862605729724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114153623,"filename":"image_21022025_02_46_35_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4362688fa950853687aed1333f4caf0a.jpg","text":"TemporaryFile(/tmp/multipartBody1845088633491492701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114153623,"filename":"image_21022025_02_46_55_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74c18932c2016c3470b5d3f04cf8588e.jpg","text":"TemporaryFile(/tmp/multipartBody5782581050404485067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114153623,"filename":"image_21022025_02_46_46_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2f8ef4ec048b37042a8555e8d236d411.jpg","text":"TemporaryFile(/tmp/multipartBody7859027715465823053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114153623,"filename":"image_21022025_02_45_55_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2fab0132b692fcb4cfb4a55e75f847d2.jpg","text":"TemporaryFile(/tmp/multipartBody5303560789345776473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114153623,"filename":"image_21022025_02_46_25_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338759162","file1":"1338759160","file0":"1338759158","file4":"1338759168","file5":"1338759174","file3":"1338759164"},"map_files_photo_id_array":[{"photo_id":"1338759174","filename":"file5"},{"photo_id":"1338759162","filename":"file2"},{"photo_id":"1338759168","filename":"file4"},{"photo_id":"1338759160","filename":"file1"},{"photo_id":"1338759158","filename":"file0"},{"photo_id":"1338759164","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338759174":["hashtag1","hashtag2"]},{"1338759162":["hashtag1","hashtag2"]},{"1338759168":["hashtag1","hashtag2"]},{"1338759164":["hashtag1","hashtag2"]},{"1338759158":["hashtag1","hashtag2"]},{"1338759160":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338759174, 1338759162, 1338759168, 1338759164, 1338759158, 1338759160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.598790645599365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:02:32.180286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/47/image_21022025_02_47_16_10444.jpg', '/home/pi/Desktop/images/21022025/02/47/image_21022025_02_47_25_9341.jpg', '/home/pi/Desktop/images/21022025/02/47/image_21022025_02_47_35_10340.jpg', '/home/pi/Desktop/images/21022025/02/47/image_21022025_02_47_45_9705.jpg', '/home/pi/Desktop/images/21022025/02/48/image_21022025_02_48_26_10343.jpg', '/home/pi/Desktop/images/21022025/02/48/image_21022025_02_48_35_9329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/47/image_21022025_02_47_16_10444.jpg
/home/pi/Desktop/images/21022025/02/47/image_21022025_02_47_25_9341.jpg
/home/pi/Desktop/images/21022025/02/47/image_21022025_02_47_35_10340.jpg
/home/pi/Desktop/images/21022025/02/47/image_21022025_02_47_45_9705.jpg
/home/pi/Desktop/images/21022025/02/48/image_21022025_02_48_26_10343.jpg
/home/pi/Desktop/images/21022025/02/48/image_21022025_02_48_35_9329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338759202","1338759205","1338759207","1338759209","1338759199","1338759208"],"photo_ids_order":["1338759199","1338759202","1338759205","1338759207","1338759208","1338759209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e138b23e40da3a893f667dd2695fb74e.jpg","text":"TemporaryFile(/tmp/multipartBody2799151243247269110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114212695,"filename":"image_21022025_02_47_25_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/600764224a75fb254ac11059b25c1e5b.jpg","text":"TemporaryFile(/tmp/multipartBody4035502984825810526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114212695,"filename":"image_21022025_02_47_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6b5b8438b9caaf3515f2c8ae16c21fad.jpg","text":"TemporaryFile(/tmp/multipartBody471040640728375747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114212695,"filename":"image_21022025_02_47_45_9705.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/120cf1f621704634ffbe26efc3106df0.jpg","text":"TemporaryFile(/tmp/multipartBody3174387473642171142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114212695,"filename":"image_21022025_02_48_35_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c7a55a4f93e670a53cabcab39eb4e5f9.jpg","text":"TemporaryFile(/tmp/multipartBody5267994258911895681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114212695,"filename":"image_21022025_02_47_16_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eb87a5e49b3def9ccdc7ee8bea4fe438.jpg","text":"TemporaryFile(/tmp/multipartBody8941475965298286891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114212695,"filename":"image_21022025_02_48_26_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338759205","file1":"1338759202","file0":"1338759199","file4":"1338759208","file5":"1338759209","file3":"1338759207"},"map_files_photo_id_array":[{"photo_id":"1338759209","filename":"file5"},{"photo_id":"1338759205","filename":"file2"},{"photo_id":"1338759208","filename":"file4"},{"photo_id":"1338759202","filename":"file1"},{"photo_id":"1338759199","filename":"file0"},{"photo_id":"1338759207","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338759202":["hashtag1","hashtag2"]},{"1338759205":["hashtag1","hashtag2"]},{"1338759207":["hashtag1","hashtag2"]},{"1338759209":["hashtag1","hashtag2"]},{"1338759199":["hashtag1","hashtag2"]},{"1338759208":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338759202, 1338759205, 1338759207, 1338759209, 1338759199, 1338759208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.831910848617554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:03:32.308455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/48/image_21022025_02_48_56_10387.jpg', '/home/pi/Desktop/images/21022025/02/48/image_21022025_02_49_05_9313.jpg', '/home/pi/Desktop/images/21022025/02/49/image_21022025_02_49_26_10323.jpg', '/home/pi/Desktop/images/21022025/02/49/image_21022025_02_49_35_9330.jpg', '/home/pi/Desktop/images/21022025/02/49/image_21022025_02_49_45_10329.jpg', '/home/pi/Desktop/images/21022025/02/49/image_21022025_02_49_56_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/48/image_21022025_02_48_56_10387.jpg
/home/pi/Desktop/images/21022025/02/48/image_21022025_02_49_05_9313.jpg
/home/pi/Desktop/images/21022025/02/49/image_21022025_02_49_26_10323.jpg
/home/pi/Desktop/images/21022025/02/49/image_21022025_02_49_35_9330.jpg
/home/pi/Desktop/images/21022025/02/49/image_21022025_02_49_45_10329.jpg
/home/pi/Desktop/images/21022025/02/49/image_21022025_02_49_56_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338759237","1338759225","1338759242","1338759233","1338759227","1338759241"],"photo_ids_order":["1338759225","1338759227","1338759233","1338759237","1338759241","1338759242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/675e2763cb75494837fcd0ae2bc5e733.jpg","text":"TemporaryFile(/tmp/multipartBody2683560558252741659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114272779,"filename":"image_21022025_02_49_35_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c3b72891683783cc7a0cceeb0d9aaaeb.jpg","text":"TemporaryFile(/tmp/multipartBody2389353906879152742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114272779,"filename":"image_21022025_02_48_56_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df1c257c6f82a87e11d4defa251a96e9.jpg","text":"TemporaryFile(/tmp/multipartBody6868579518795360680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114272779,"filename":"image_21022025_02_49_56_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0987fd80f87d401a20bc209beee2fcd8.jpg","text":"TemporaryFile(/tmp/multipartBody2365365432521231127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114272779,"filename":"image_21022025_02_49_26_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b04774c2bc7ca9c93aa07702184dcb9d.jpg","text":"TemporaryFile(/tmp/multipartBody2392153290020841870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114272779,"filename":"image_21022025_02_49_05_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce411b6eadf6e34c1f46a7d5903afa8d.jpg","text":"TemporaryFile(/tmp/multipartBody8186435171397657986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114272779,"filename":"image_21022025_02_49_45_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338759233","file1":"1338759227","file0":"1338759225","file4":"1338759241","file5":"1338759242","file3":"1338759237"},"map_files_photo_id_array":[{"photo_id":"1338759242","filename":"file5"},{"photo_id":"1338759233","filename":"file2"},{"photo_id":"1338759241","filename":"file4"},{"photo_id":"1338759227","filename":"file1"},{"photo_id":"1338759225","filename":"file0"},{"photo_id":"1338759237","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338759237":["hashtag1","hashtag2"]},{"1338759225":["hashtag1","hashtag2"]},{"1338759242":["hashtag1","hashtag2"]},{"1338759233":["hashtag1","hashtag2"]},{"1338759227":["hashtag1","hashtag2"]},{"1338759241":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338759237, 1338759225, 1338759242, 1338759233, 1338759227, 1338759241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74535608291626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:04:32.671949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/49/image_21022025_02_50_05_9324.jpg', '/home/pi/Desktop/images/21022025/02/50/image_21022025_02_50_26_10335.jpg', '/home/pi/Desktop/images/21022025/02/50/image_21022025_02_50_45_10155.jpg', '/home/pi/Desktop/images/21022025/02/50/image_21022025_02_50_56_10454.jpg', '/home/pi/Desktop/images/21022025/02/50/image_21022025_02_51_05_9336.jpg', '/home/pi/Desktop/images/21022025/02/51/image_21022025_02_51_16_10545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/49/image_21022025_02_50_05_9324.jpg
/home/pi/Desktop/images/21022025/02/50/image_21022025_02_50_26_10335.jpg
/home/pi/Desktop/images/21022025/02/50/image_21022025_02_50_45_10155.jpg
/home/pi/Desktop/images/21022025/02/50/image_21022025_02_50_56_10454.jpg
/home/pi/Desktop/images/21022025/02/50/image_21022025_02_51_05_9336.jpg
/home/pi/Desktop/images/21022025/02/51/image_21022025_02_51_16_10545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338759261","1338759270","1338759272","1338759257","1338759265","1338759268"],"photo_ids_order":["1338759257","1338759261","1338759265","1338759268","1338759270","1338759272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ddb2492553f1bc8d59323f2333297273.jpg","text":"TemporaryFile(/tmp/multipartBody781538960277127811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114333150,"filename":"image_21022025_02_50_26_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5d014801d152dfc3d9d9d6a47b5bf5bd.jpg","text":"TemporaryFile(/tmp/multipartBody9203963511065751641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114333150,"filename":"image_21022025_02_51_05_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/78e514ab4a5e2b3fccc3064de95addcc.jpg","text":"TemporaryFile(/tmp/multipartBody2897199293381232849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114333150,"filename":"image_21022025_02_51_16_10545.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0022672fec6f6bcbafccaf485f6222a0.jpg","text":"TemporaryFile(/tmp/multipartBody4458151684127316393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114333150,"filename":"image_21022025_02_50_05_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0b6d9de51e9c04b867338a1af3a56464.jpg","text":"TemporaryFile(/tmp/multipartBody3247586248550675969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114333150,"filename":"image_21022025_02_50_45_10155.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f781b9227032c973a1f1299f1c189eca.jpg","text":"TemporaryFile(/tmp/multipartBody6178119249705073992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114333150,"filename":"image_21022025_02_50_56_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338759265","file1":"1338759261","file0":"1338759257","file4":"1338759270","file5":"1338759272","file3":"1338759268"},"map_files_photo_id_array":[{"photo_id":"1338759272","filename":"file5"},{"photo_id":"1338759265","filename":"file2"},{"photo_id":"1338759270","filename":"file4"},{"photo_id":"1338759261","filename":"file1"},{"photo_id":"1338759257","filename":"file0"},{"photo_id":"1338759268","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338759261":["hashtag1","hashtag2"]},{"1338759270":["hashtag1","hashtag2"]},{"1338759272":["hashtag1","hashtag2"]},{"1338759257":["hashtag1","hashtag2"]},{"1338759265":["hashtag1","hashtag2"]},{"1338759268":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338759261, 1338759270, 1338759272, 1338759257, 1338759265, 1338759268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60759663581848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:05:32.857525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/51/image_21022025_02_52_05_10321.jpg', '/home/pi/Desktop/images/21022025/02/52/image_21022025_02_52_16_10401.jpg', '/home/pi/Desktop/images/21022025/02/52/image_21022025_02_52_25_9358.jpg', '/home/pi/Desktop/images/21022025/02/52/image_21022025_02_52_35_10334.jpg', '/home/pi/Desktop/images/21022025/02/52/image_21022025_02_52_55_9339.jpg', '/home/pi/Desktop/images/21022025/02/52/image_21022025_02_53_05_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/51/image_21022025_02_52_05_10321.jpg
/home/pi/Desktop/images/21022025/02/52/image_21022025_02_52_16_10401.jpg
/home/pi/Desktop/images/21022025/02/52/image_21022025_02_52_25_9358.jpg
/home/pi/Desktop/images/21022025/02/52/image_21022025_02_52_35_10334.jpg
/home/pi/Desktop/images/21022025/02/52/image_21022025_02_52_55_9339.jpg
/home/pi/Desktop/images/21022025/02/52/image_21022025_02_53_05_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338759316","1338759294","1338759312","1338759315","1338759311","1338759305"],"photo_ids_order":["1338759294","1338759305","1338759311","1338759312","1338759315","1338759316"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2640f6caf4f4a3e6deb35211425c9b8.jpg","text":"TemporaryFile(/tmp/multipartBody7499103738682143899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114393323,"filename":"image_21022025_02_53_05_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c4504a78c8cae68f720d9a48f1536085.jpg","text":"TemporaryFile(/tmp/multipartBody7971235602301389633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114393323,"filename":"image_21022025_02_52_05_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/997f5b4811f6f7c1e574d6aaf79a21c6.jpg","text":"TemporaryFile(/tmp/multipartBody3475353240436856932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114393323,"filename":"image_21022025_02_52_35_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ab40a10119a19338d35528b0c76fe12.jpg","text":"TemporaryFile(/tmp/multipartBody7899428680642228183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114393323,"filename":"image_21022025_02_52_55_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/228bf6bcd1401fdc29d2d0b52fc58787.jpg","text":"TemporaryFile(/tmp/multipartBody8142830263900122636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114393323,"filename":"image_21022025_02_52_25_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b908e4496b070b3b5733e9bdf9005e16.jpg","text":"TemporaryFile(/tmp/multipartBody5137765842490940344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114393323,"filename":"image_21022025_02_52_16_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338759311","file1":"1338759305","file0":"1338759294","file4":"1338759315","file5":"1338759316","file3":"1338759312"},"map_files_photo_id_array":[{"photo_id":"1338759316","filename":"file5"},{"photo_id":"1338759311","filename":"file2"},{"photo_id":"1338759315","filename":"file4"},{"photo_id":"1338759305","filename":"file1"},{"photo_id":"1338759294","filename":"file0"},{"photo_id":"1338759312","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338759316":["hashtag1","hashtag2"]},{"1338759294":["hashtag1","hashtag2"]},{"1338759312":["hashtag1","hashtag2"]},{"1338759315":["hashtag1","hashtag2"]},{"1338759311":["hashtag1","hashtag2"]},{"1338759305":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338759316, 1338759294, 1338759312, 1338759315, 1338759311, 1338759305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.777326345443726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:06:33.046879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/53/image_21022025_02_53_16_10356.jpg', '/home/pi/Desktop/images/21022025/02/53/image_21022025_02_53_25_9348.jpg', '/home/pi/Desktop/images/21022025/02/53/image_21022025_02_53_36_10460.jpg', '/home/pi/Desktop/images/21022025/02/53/image_21022025_02_53_45_9893.jpg', '/home/pi/Desktop/images/21022025/02/53/image_21022025_02_53_55_9365.jpg', '/home/pi/Desktop/images/21022025/02/54/image_21022025_02_54_15_10031.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/53/image_21022025_02_53_16_10356.jpg
/home/pi/Desktop/images/21022025/02/53/image_21022025_02_53_25_9348.jpg
/home/pi/Desktop/images/21022025/02/53/image_21022025_02_53_36_10460.jpg
/home/pi/Desktop/images/21022025/02/53/image_21022025_02_53_45_9893.jpg
/home/pi/Desktop/images/21022025/02/53/image_21022025_02_53_55_9365.jpg
/home/pi/Desktop/images/21022025/02/54/image_21022025_02_54_15_10031.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338759474","1338759933","1338760098","1338759779","1338760226","1338759637"],"photo_ids_order":["1338759474","1338759637","1338759779","1338759933","1338760098","1338760226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/31bb7084d93dd9ca7f6b9592deab3037.jpg","text":"TemporaryFile(/tmp/multipartBody4966635540920351260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114453522,"filename":"image_21022025_02_53_16_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d7155e6c58f94fd8be22a6d0c46f136f.jpg","text":"TemporaryFile(/tmp/multipartBody1467374179602216661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114453522,"filename":"image_21022025_02_53_45_9893.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b994996f7e885041d62b8b7c5666ac0a.jpg","text":"TemporaryFile(/tmp/multipartBody1872104536679465907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114453522,"filename":"image_21022025_02_53_55_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e12c6edf633f79706d8921946c2262f.jpg","text":"TemporaryFile(/tmp/multipartBody202365163747580422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114453522,"filename":"image_21022025_02_53_36_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/89018c4503c42c4093c2e31e04b2c947.jpg","text":"TemporaryFile(/tmp/multipartBody9041088016844869030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114453522,"filename":"image_21022025_02_54_15_10031.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/12b2858cc2d05ac56cb3979fb1b954d8.jpg","text":"TemporaryFile(/tmp/multipartBody2554813431075066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114453522,"filename":"image_21022025_02_53_25_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338759779","file1":"1338759637","file0":"1338759474","file4":"1338760098","file5":"1338760226","file3":"1338759933"},"map_files_photo_id_array":[{"photo_id":"1338760226","filename":"file5"},{"photo_id":"1338759779","filename":"file2"},{"photo_id":"1338760098","filename":"file4"},{"photo_id":"1338759637","filename":"file1"},{"photo_id":"1338759474","filename":"file0"},{"photo_id":"1338759933","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338759474":["hashtag1","hashtag2"]},{"1338759933":["hashtag1","hashtag2"]},{"1338760098":["hashtag1","hashtag2"]},{"1338759779":["hashtag1","hashtag2"]},{"1338760226":["hashtag1","hashtag2"]},{"1338759637":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338759474, 1338759933, 1338760098, 1338759779, 1338760226, 1338759637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00791049003601 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:07:32.228575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/54/image_21022025_02_54_26_10414.jpg', '/home/pi/Desktop/images/21022025/02/54/image_21022025_02_54_45_10333.jpg', '/home/pi/Desktop/images/21022025/02/54/image_21022025_02_54_56_10393.jpg', '/home/pi/Desktop/images/21022025/02/54/image_21022025_02_55_05_9341.jpg', '/home/pi/Desktop/images/21022025/02/55/image_21022025_02_55_15_10363.jpg', '/home/pi/Desktop/images/21022025/02/55/image_21022025_02_55_25_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/54/image_21022025_02_54_26_10414.jpg
/home/pi/Desktop/images/21022025/02/54/image_21022025_02_54_45_10333.jpg
/home/pi/Desktop/images/21022025/02/54/image_21022025_02_54_56_10393.jpg
/home/pi/Desktop/images/21022025/02/54/image_21022025_02_55_05_9341.jpg
/home/pi/Desktop/images/21022025/02/55/image_21022025_02_55_15_10363.jpg
/home/pi/Desktop/images/21022025/02/55/image_21022025_02_55_25_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338760237","1338760252","1338760234","1338760254","1338760256","1338760244"],"photo_ids_order":["1338760234","1338760237","1338760244","1338760252","1338760254","1338760256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/76ad8b1467b254cd0588a46bc0c67c11.jpg","text":"TemporaryFile(/tmp/multipartBody7887417301218758780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114512701,"filename":"image_21022025_02_54_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/86fb3d7a045de0550256054ba7d79b1a.jpg","text":"TemporaryFile(/tmp/multipartBody1619054278090661336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114512701,"filename":"image_21022025_02_55_05_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d20071fcd8b28b20680690bce1036e00.jpg","text":"TemporaryFile(/tmp/multipartBody4351687882626586795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114512701,"filename":"image_21022025_02_54_26_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc246167fd817b6bc3177311c8dc344a.jpg","text":"TemporaryFile(/tmp/multipartBody4148214418312372604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114512701,"filename":"image_21022025_02_55_15_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f491ff9042261c1d2a8d1e04e56dfc7e.jpg","text":"TemporaryFile(/tmp/multipartBody8637779727012528265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114512701,"filename":"image_21022025_02_55_25_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b29b2c4cd2eec8e049ba74b06a602533.jpg","text":"TemporaryFile(/tmp/multipartBody1164813020921267018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114512701,"filename":"image_21022025_02_54_56_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338760244","file1":"1338760237","file0":"1338760234","file4":"1338760254","file5":"1338760256","file3":"1338760252"},"map_files_photo_id_array":[{"photo_id":"1338760256","filename":"file5"},{"photo_id":"1338760244","filename":"file2"},{"photo_id":"1338760254","filename":"file4"},{"photo_id":"1338760237","filename":"file1"},{"photo_id":"1338760234","filename":"file0"},{"photo_id":"1338760252","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338760237":["hashtag1","hashtag2"]},{"1338760252":["hashtag1","hashtag2"]},{"1338760234":["hashtag1","hashtag2"]},{"1338760254":["hashtag1","hashtag2"]},{"1338760256":["hashtag1","hashtag2"]},{"1338760244":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338760237, 1338760252, 1338760234, 1338760254, 1338760256, 1338760244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20228433609009 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:08:32.472852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/55/image_21022025_02_55_35_10328.jpg', '/home/pi/Desktop/images/21022025/02/55/image_21022025_02_55_46_10373.jpg', '/home/pi/Desktop/images/21022025/02/55/image_21022025_02_55_55_9374.jpg', '/home/pi/Desktop/images/21022025/02/55/image_21022025_02_56_05_10342.jpg', '/home/pi/Desktop/images/21022025/02/56/image_21022025_02_56_25_9328.jpg', '/home/pi/Desktop/images/21022025/02/56/image_21022025_02_56_35_10316.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/55/image_21022025_02_55_35_10328.jpg
/home/pi/Desktop/images/21022025/02/55/image_21022025_02_55_46_10373.jpg
/home/pi/Desktop/images/21022025/02/55/image_21022025_02_55_55_9374.jpg
/home/pi/Desktop/images/21022025/02/55/image_21022025_02_56_05_10342.jpg
/home/pi/Desktop/images/21022025/02/56/image_21022025_02_56_25_9328.jpg
/home/pi/Desktop/images/21022025/02/56/image_21022025_02_56_35_10316.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338760537","1338760595","1338760562","1338760532","1338760597","1338760535"],"photo_ids_order":["1338760532","1338760535","1338760537","1338760562","1338760595","1338760597"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1d56a1bb0ae7568386b25b343f109eb7.jpg","text":"TemporaryFile(/tmp/multipartBody5195499094609080226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114572946,"filename":"image_21022025_02_55_55_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3ccf8867f1bbaa402583ee14181c3472.jpg","text":"TemporaryFile(/tmp/multipartBody5587724451384995804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114572946,"filename":"image_21022025_02_56_25_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b3a2995b53e1cda7a64a55d94f50f430.jpg","text":"TemporaryFile(/tmp/multipartBody6866305984015274865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114572946,"filename":"image_21022025_02_56_05_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/396393f1b697e9e7bbe7b9381e5178f4.jpg","text":"TemporaryFile(/tmp/multipartBody8191849106082685071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114572946,"filename":"image_21022025_02_55_35_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3314212fc22277ea02973fedcd1d591c.jpg","text":"TemporaryFile(/tmp/multipartBody6592983788048117638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114572946,"filename":"image_21022025_02_56_35_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8bce75eee747b280aef185bd3434c8c5.jpg","text":"TemporaryFile(/tmp/multipartBody2805796410344999139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114572946,"filename":"image_21022025_02_55_46_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338760537","file1":"1338760535","file0":"1338760532","file4":"1338760595","file5":"1338760597","file3":"1338760562"},"map_files_photo_id_array":[{"photo_id":"1338760597","filename":"file5"},{"photo_id":"1338760537","filename":"file2"},{"photo_id":"1338760595","filename":"file4"},{"photo_id":"1338760535","filename":"file1"},{"photo_id":"1338760532","filename":"file0"},{"photo_id":"1338760562","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338760537":["hashtag1","hashtag2"]},{"1338760595":["hashtag1","hashtag2"]},{"1338760562":["hashtag1","hashtag2"]},{"1338760532":["hashtag1","hashtag2"]},{"1338760597":["hashtag1","hashtag2"]},{"1338760535":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338760537, 1338760595, 1338760562, 1338760532, 1338760597, 1338760535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53494739532471 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:09:32.796569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/56/image_21022025_02_56_55_9342.jpg', '/home/pi/Desktop/images/21022025/02/56/image_21022025_02_57_05_10405.jpg', '/home/pi/Desktop/images/21022025/02/57/image_21022025_02_57_36_10409.jpg', '/home/pi/Desktop/images/21022025/02/57/image_21022025_02_57_45_9318.jpg', '/home/pi/Desktop/images/21022025/02/57/image_21022025_02_57_55_10335.jpg', '/home/pi/Desktop/images/21022025/02/58/image_21022025_02_58_56_10477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/56/image_21022025_02_56_55_9342.jpg
/home/pi/Desktop/images/21022025/02/56/image_21022025_02_57_05_10405.jpg
/home/pi/Desktop/images/21022025/02/57/image_21022025_02_57_36_10409.jpg
/home/pi/Desktop/images/21022025/02/57/image_21022025_02_57_45_9318.jpg
/home/pi/Desktop/images/21022025/02/57/image_21022025_02_57_55_10335.jpg
/home/pi/Desktop/images/21022025/02/58/image_21022025_02_58_56_10477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338760654","1338760656","1338760659","1338760658","1338760652","1338760616"],"photo_ids_order":["1338760616","1338760652","1338760654","1338760656","1338760658","1338760659"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/53944a299576adbfabd57a8162a815e1.jpg","text":"TemporaryFile(/tmp/multipartBody2450096949579875979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114633271,"filename":"image_21022025_02_57_36_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b95c3b920218ead9a0aee464bcc8463.jpg","text":"TemporaryFile(/tmp/multipartBody1359376609753188188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114633271,"filename":"image_21022025_02_57_45_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/661479aea6b54edab29fbb4149a5c6c8.jpg","text":"TemporaryFile(/tmp/multipartBody5370095434906603812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114633271,"filename":"image_21022025_02_58_56_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8035d060c875c3e30156d72e9c3c4876.jpg","text":"TemporaryFile(/tmp/multipartBody3955183532215649804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114633271,"filename":"image_21022025_02_57_55_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa94baec24c514e4b24772b4ac3bb19c.jpg","text":"TemporaryFile(/tmp/multipartBody1929403789309138900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114633271,"filename":"image_21022025_02_57_05_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c70fc5375f1bd495734d1fbc0254aa8d.jpg","text":"TemporaryFile(/tmp/multipartBody3492793484466207819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114633271,"filename":"image_21022025_02_56_55_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338760654","file1":"1338760652","file0":"1338760616","file4":"1338760658","file5":"1338760659","file3":"1338760656"},"map_files_photo_id_array":[{"photo_id":"1338760659","filename":"file5"},{"photo_id":"1338760654","filename":"file2"},{"photo_id":"1338760658","filename":"file4"},{"photo_id":"1338760652","filename":"file1"},{"photo_id":"1338760616","filename":"file0"},{"photo_id":"1338760656","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338760654":["hashtag1","hashtag2"]},{"1338760656":["hashtag1","hashtag2"]},{"1338760659":["hashtag1","hashtag2"]},{"1338760658":["hashtag1","hashtag2"]},{"1338760652":["hashtag1","hashtag2"]},{"1338760616":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338760654, 1338760656, 1338760659, 1338760658, 1338760652, 1338760616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98715376853943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:10:32.906670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/02/58/image_21022025_02_59_05_9338.jpg', '/home/pi/Desktop/images/21022025/02/59/image_21022025_02_59_15_10346.jpg', '/home/pi/Desktop/images/21022025/02/59/image_21022025_02_59_26_10393.jpg', '/home/pi/Desktop/images/21022025/02/59/image_21022025_02_59_35_9357.jpg', '/home/pi/Desktop/images/21022025/02/59/image_21022025_02_59_45_10377.jpg', '/home/pi/Desktop/images/21022025/03/00/image_21022025_03_00_15_10069.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/02/58/image_21022025_02_59_05_9338.jpg
/home/pi/Desktop/images/21022025/02/59/image_21022025_02_59_15_10346.jpg
/home/pi/Desktop/images/21022025/02/59/image_21022025_02_59_26_10393.jpg
/home/pi/Desktop/images/21022025/02/59/image_21022025_02_59_35_9357.jpg
/home/pi/Desktop/images/21022025/02/59/image_21022025_02_59_45_10377.jpg
/home/pi/Desktop/images/21022025/03/00/image_21022025_03_00_15_10069.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338760720","1338760702","1338760705","1338760715","1338760709","1338760693"],"photo_ids_order":["1338760693","1338760702","1338760705","1338760709","1338760715","1338760720"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/86bdb73ee42c3e115852b4bb48589396.jpg","text":"TemporaryFile(/tmp/multipartBody4606752329672276958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114693386,"filename":"image_21022025_03_00_15_10069.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/112f7ffe662bd930ce99fc4b0ed798f9.jpg","text":"TemporaryFile(/tmp/multipartBody6898312240923213058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114693386,"filename":"image_21022025_02_59_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0561d0053e309a3d0a21bfa87bd7ddd1.jpg","text":"TemporaryFile(/tmp/multipartBody7362265497332011272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114693386,"filename":"image_21022025_02_59_26_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a530ce29a6283c9c174cf1453678bc18.jpg","text":"TemporaryFile(/tmp/multipartBody5155567455422670976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114693386,"filename":"image_21022025_02_59_45_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e075fdec6944a646e1610c7fda77e267.jpg","text":"TemporaryFile(/tmp/multipartBody3404396755583306681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114693386,"filename":"image_21022025_02_59_35_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bc81d9f7369d8b6aaac6b8ae6ac920a2.jpg","text":"TemporaryFile(/tmp/multipartBody8162375288287973103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114693386,"filename":"image_21022025_02_59_05_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338760705","file1":"1338760702","file0":"1338760693","file4":"1338760715","file5":"1338760720","file3":"1338760709"},"map_files_photo_id_array":[{"photo_id":"1338760720","filename":"file5"},{"photo_id":"1338760705","filename":"file2"},{"photo_id":"1338760715","filename":"file4"},{"photo_id":"1338760702","filename":"file1"},{"photo_id":"1338760693","filename":"file0"},{"photo_id":"1338760709","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338760720":["hashtag1","hashtag2"]},{"1338760702":["hashtag1","hashtag2"]},{"1338760705":["hashtag1","hashtag2"]},{"1338760715":["hashtag1","hashtag2"]},{"1338760709":["hashtag1","hashtag2"]},{"1338760693":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338760720, 1338760702, 1338760705, 1338760715, 1338760709, 1338760693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.540995836257935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:11:33.071073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/00/image_21022025_03_00_26_10364.jpg', '/home/pi/Desktop/images/21022025/03/00/image_21022025_03_00_56_10357.jpg', '/home/pi/Desktop/images/21022025/03/00/image_21022025_03_01_06_10335.jpg', '/home/pi/Desktop/images/21022025/03/01/image_21022025_03_01_16_9331.jpg', '/home/pi/Desktop/images/21022025/03/01/image_21022025_03_01_26_10335.jpg', '/home/pi/Desktop/images/21022025/03/01/image_21022025_03_01_36_10327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/00/image_21022025_03_00_26_10364.jpg
/home/pi/Desktop/images/21022025/03/00/image_21022025_03_00_56_10357.jpg
/home/pi/Desktop/images/21022025/03/00/image_21022025_03_01_06_10335.jpg
/home/pi/Desktop/images/21022025/03/01/image_21022025_03_01_16_9331.jpg
/home/pi/Desktop/images/21022025/03/01/image_21022025_03_01_26_10335.jpg
/home/pi/Desktop/images/21022025/03/01/image_21022025_03_01_36_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338760737","1338760752","1338760746","1338760734","1338760748","1338760751"],"photo_ids_order":["1338760734","1338760737","1338760746","1338760748","1338760751","1338760752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4ed2c4edef9ff3dea26a9563fc9d88f1.jpg","text":"TemporaryFile(/tmp/multipartBody2448769408404614013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114753542,"filename":"image_21022025_03_00_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/47e01e3977fdfe5bd7fc3141f8c7f13a.jpg","text":"TemporaryFile(/tmp/multipartBody7908820274432207076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114753542,"filename":"image_21022025_03_01_36_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b4ec8657eac63a546dc92d837073064.jpg","text":"TemporaryFile(/tmp/multipartBody865950367621422569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114753542,"filename":"image_21022025_03_01_06_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5084cd5e72473bf69aafa5823051e978.jpg","text":"TemporaryFile(/tmp/multipartBody2259099581594286905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114753542,"filename":"image_21022025_03_00_26_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bde4863a32ae9bb7165c13d223573bcd.jpg","text":"TemporaryFile(/tmp/multipartBody664935389543385483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114753542,"filename":"image_21022025_03_01_16_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c7cc8d5de1c0fa8ba7200861b4462eb.jpg","text":"TemporaryFile(/tmp/multipartBody7646304937822855744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114753542,"filename":"image_21022025_03_01_26_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338760746","file1":"1338760737","file0":"1338760734","file4":"1338760751","file5":"1338760752","file3":"1338760748"},"map_files_photo_id_array":[{"photo_id":"1338760752","filename":"file5"},{"photo_id":"1338760746","filename":"file2"},{"photo_id":"1338760751","filename":"file4"},{"photo_id":"1338760737","filename":"file1"},{"photo_id":"1338760734","filename":"file0"},{"photo_id":"1338760748","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338760737":["hashtag1","hashtag2"]},{"1338760752":["hashtag1","hashtag2"]},{"1338760746":["hashtag1","hashtag2"]},{"1338760734":["hashtag1","hashtag2"]},{"1338760748":["hashtag1","hashtag2"]},{"1338760751":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338760737, 1338760752, 1338760746, 1338760734, 1338760748, 1338760751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82461762428284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:12:32.183697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/01/image_21022025_03_01_46_9412.jpg', '/home/pi/Desktop/images/21022025/03/01/image_21022025_03_01_56_10350.jpg', '/home/pi/Desktop/images/21022025/03/01/image_21022025_03_02_06_10327.jpg', '/home/pi/Desktop/images/21022025/03/02/image_21022025_03_02_16_9406.jpg', '/home/pi/Desktop/images/21022025/03/02/image_21022025_03_02_26_10322.jpg', '/home/pi/Desktop/images/21022025/03/02/image_21022025_03_02_36_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/01/image_21022025_03_01_46_9412.jpg
/home/pi/Desktop/images/21022025/03/01/image_21022025_03_01_56_10350.jpg
/home/pi/Desktop/images/21022025/03/01/image_21022025_03_02_06_10327.jpg
/home/pi/Desktop/images/21022025/03/02/image_21022025_03_02_16_9406.jpg
/home/pi/Desktop/images/21022025/03/02/image_21022025_03_02_26_10322.jpg
/home/pi/Desktop/images/21022025/03/02/image_21022025_03_02_36_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338760774","1338760762","1338760773","1338760775","1338760771","1338760765"],"photo_ids_order":["1338760762","1338760765","1338760771","1338760773","1338760774","1338760775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d5de732058a26b98adccbc5bdc1ee5cd.jpg","text":"TemporaryFile(/tmp/multipartBody4892148814541272726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114812685,"filename":"image_21022025_03_02_26_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d2858ac4b559bea0245939d88caf766f.jpg","text":"TemporaryFile(/tmp/multipartBody6909302218410095717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114812685,"filename":"image_21022025_03_01_46_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fcfb563fe172a686e65051b1e4f4e5bf.jpg","text":"TemporaryFile(/tmp/multipartBody4690416500723003208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114812685,"filename":"image_21022025_03_02_16_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9aa6d334f502a2a3457d33b87033b717.jpg","text":"TemporaryFile(/tmp/multipartBody952996152217210324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114812685,"filename":"image_21022025_03_02_36_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef5f17df96cc11eade08008b5e16332b.jpg","text":"TemporaryFile(/tmp/multipartBody8112857613951645750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114812685,"filename":"image_21022025_03_02_06_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c06a631b23eb68d721b08842422ef4a.jpg","text":"TemporaryFile(/tmp/multipartBody7901994940166347070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114812685,"filename":"image_21022025_03_01_56_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338760771","file1":"1338760765","file0":"1338760762","file4":"1338760774","file5":"1338760775","file3":"1338760773"},"map_files_photo_id_array":[{"photo_id":"1338760775","filename":"file5"},{"photo_id":"1338760771","filename":"file2"},{"photo_id":"1338760774","filename":"file4"},{"photo_id":"1338760765","filename":"file1"},{"photo_id":"1338760762","filename":"file0"},{"photo_id":"1338760773","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338760774":["hashtag1","hashtag2"]},{"1338760762":["hashtag1","hashtag2"]},{"1338760773":["hashtag1","hashtag2"]},{"1338760775":["hashtag1","hashtag2"]},{"1338760771":["hashtag1","hashtag2"]},{"1338760765":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338760774, 1338760762, 1338760773, 1338760775, 1338760771, 1338760765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.890820264816284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:13:32.349764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/02/image_21022025_03_02_46_10346.jpg', '/home/pi/Desktop/images/21022025/03/02/image_21022025_03_02_56_10364.jpg', '/home/pi/Desktop/images/21022025/03/03/image_21022025_03_03_16_10351.jpg', '/home/pi/Desktop/images/21022025/03/03/image_21022025_03_03_26_10356.jpg', '/home/pi/Desktop/images/21022025/03/03/image_21022025_03_03_36_9424.jpg', '/home/pi/Desktop/images/21022025/03/03/image_21022025_03_04_06_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/02/image_21022025_03_02_46_10346.jpg
/home/pi/Desktop/images/21022025/03/02/image_21022025_03_02_56_10364.jpg
/home/pi/Desktop/images/21022025/03/03/image_21022025_03_03_16_10351.jpg
/home/pi/Desktop/images/21022025/03/03/image_21022025_03_03_26_10356.jpg
/home/pi/Desktop/images/21022025/03/03/image_21022025_03_03_36_9424.jpg
/home/pi/Desktop/images/21022025/03/03/image_21022025_03_04_06_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338760813","1338760810","1338760804","1338760800","1338760802","1338760798"],"photo_ids_order":["1338760798","1338760800","1338760802","1338760804","1338760810","1338760813"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/caadfcbc9cb50c5d46a6892b5635f159.jpg","text":"TemporaryFile(/tmp/multipartBody6359230575731582720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114872834,"filename":"image_21022025_03_04_06_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/67899085a514aed04634fdf5b0385c3b.jpg","text":"TemporaryFile(/tmp/multipartBody796856913206573544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114872834,"filename":"image_21022025_03_03_36_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/10af5651601f797b57dc65a69d7a1141.jpg","text":"TemporaryFile(/tmp/multipartBody2453783715013834848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114872834,"filename":"image_21022025_03_03_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f348478d780a3522c228bb96237586d5.jpg","text":"TemporaryFile(/tmp/multipartBody638558881796575140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114872834,"filename":"image_21022025_03_02_56_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b769f01303dea13371eaa407751887df.jpg","text":"TemporaryFile(/tmp/multipartBody3265736780769761392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114872834,"filename":"image_21022025_03_03_16_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2370794fa85d1d6b5f59ec363e5507a1.jpg","text":"TemporaryFile(/tmp/multipartBody1895616199648785323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114872834,"filename":"image_21022025_03_02_46_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338760802","file1":"1338760800","file0":"1338760798","file4":"1338760810","file5":"1338760813","file3":"1338760804"},"map_files_photo_id_array":[{"photo_id":"1338760813","filename":"file5"},{"photo_id":"1338760802","filename":"file2"},{"photo_id":"1338760810","filename":"file4"},{"photo_id":"1338760800","filename":"file1"},{"photo_id":"1338760798","filename":"file0"},{"photo_id":"1338760804","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338760813":["hashtag1","hashtag2"]},{"1338760810":["hashtag1","hashtag2"]},{"1338760804":["hashtag1","hashtag2"]},{"1338760800":["hashtag1","hashtag2"]},{"1338760802":["hashtag1","hashtag2"]},{"1338760798":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338760813, 1338760810, 1338760804, 1338760800, 1338760802, 1338760798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30238747596741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:14:32.513219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/04/image_21022025_03_04_16_10326.jpg', '/home/pi/Desktop/images/21022025/03/04/image_21022025_03_04_26_9350.jpg', '/home/pi/Desktop/images/21022025/03/04/image_21022025_03_04_36_10350.jpg', '/home/pi/Desktop/images/21022025/03/04/image_21022025_03_04_46_10317.jpg', '/home/pi/Desktop/images/21022025/03/04/image_21022025_03_04_56_9418.jpg', '/home/pi/Desktop/images/21022025/03/04/image_21022025_03_05_06_10323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/04/image_21022025_03_04_16_10326.jpg
/home/pi/Desktop/images/21022025/03/04/image_21022025_03_04_26_9350.jpg
/home/pi/Desktop/images/21022025/03/04/image_21022025_03_04_36_10350.jpg
/home/pi/Desktop/images/21022025/03/04/image_21022025_03_04_46_10317.jpg
/home/pi/Desktop/images/21022025/03/04/image_21022025_03_04_56_9418.jpg
/home/pi/Desktop/images/21022025/03/04/image_21022025_03_05_06_10323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338760834","1338760821","1338760829","1338760838","1338760823","1338760826"],"photo_ids_order":["1338760821","1338760823","1338760826","1338760829","1338760834","1338760838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e9acf10439d0e39677e8052391c68627.jpg","text":"TemporaryFile(/tmp/multipartBody4710152852433474217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114932997,"filename":"image_21022025_03_04_56_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9081a25253d68753de39bec9eb732981.jpg","text":"TemporaryFile(/tmp/multipartBody8537096137771372558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114932997,"filename":"image_21022025_03_04_16_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3053b3de8a87cab70a41d3132703dc6e.jpg","text":"TemporaryFile(/tmp/multipartBody9032169557156872463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114932997,"filename":"image_21022025_03_04_46_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c8dcee4a2b2c6cd5bfcf4a915963a1f.jpg","text":"TemporaryFile(/tmp/multipartBody1502482644114400445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114932997,"filename":"image_21022025_03_05_06_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ddd7f9ee24956a6846b547cc34a2d38a.jpg","text":"TemporaryFile(/tmp/multipartBody5535939020951595461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114932997,"filename":"image_21022025_03_04_26_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/456f46f1fee25a874b807d853be62527.jpg","text":"TemporaryFile(/tmp/multipartBody4467439815377154612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114932997,"filename":"image_21022025_03_04_36_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338760826","file1":"1338760823","file0":"1338760821","file4":"1338760834","file5":"1338760838","file3":"1338760829"},"map_files_photo_id_array":[{"photo_id":"1338760838","filename":"file5"},{"photo_id":"1338760826","filename":"file2"},{"photo_id":"1338760834","filename":"file4"},{"photo_id":"1338760823","filename":"file1"},{"photo_id":"1338760821","filename":"file0"},{"photo_id":"1338760829","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338760834":["hashtag1","hashtag2"]},{"1338760821":["hashtag1","hashtag2"]},{"1338760829":["hashtag1","hashtag2"]},{"1338760838":["hashtag1","hashtag2"]},{"1338760823":["hashtag1","hashtag2"]},{"1338760826":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338760834, 1338760821, 1338760829, 1338760838, 1338760823, 1338760826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.718613386154175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:15:32.790124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/05/image_21022025_03_05_16_10337.jpg', '/home/pi/Desktop/images/21022025/03/05/image_21022025_03_05_26_9331.jpg', '/home/pi/Desktop/images/21022025/03/05/image_21022025_03_05_36_10331.jpg', '/home/pi/Desktop/images/21022025/03/06/image_21022025_03_06_56_10330.jpg', '/home/pi/Desktop/images/21022025/03/06/image_21022025_03_07_06_10373.jpg', '/home/pi/Desktop/images/21022025/03/07/image_21022025_03_08_06_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/05/image_21022025_03_05_16_10337.jpg
/home/pi/Desktop/images/21022025/03/05/image_21022025_03_05_26_9331.jpg
/home/pi/Desktop/images/21022025/03/05/image_21022025_03_05_36_10331.jpg
/home/pi/Desktop/images/21022025/03/06/image_21022025_03_06_56_10330.jpg
/home/pi/Desktop/images/21022025/03/06/image_21022025_03_07_06_10373.jpg
/home/pi/Desktop/images/21022025/03/07/image_21022025_03_08_06_9403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338760867","1338760852","1338760860","1338760848","1338760853","1338760870"],"photo_ids_order":["1338760848","1338760852","1338760853","1338760860","1338760867","1338760870"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/68708c6c37a2730a02965bb0ea3c1fc1.jpg","text":"TemporaryFile(/tmp/multipartBody2437048136096680453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114993265,"filename":"image_21022025_03_07_06_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5dd69a1ae4db767791b78120c8164e65.jpg","text":"TemporaryFile(/tmp/multipartBody5164332823169319744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114993265,"filename":"image_21022025_03_05_26_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/295eefab8f4bc1ce2c7d883bfa9ac37e.jpg","text":"TemporaryFile(/tmp/multipartBody5505115285811010018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114993265,"filename":"image_21022025_03_06_56_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/039d0ce522f5b9ef9268cda983e0a122.jpg","text":"TemporaryFile(/tmp/multipartBody620639362451425180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114993265,"filename":"image_21022025_03_05_16_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b728c8b46b3fb30ce9dcd44e25b002bc.jpg","text":"TemporaryFile(/tmp/multipartBody4413337816058095892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114993265,"filename":"image_21022025_03_05_36_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d90e6347af873311d41971d6faae2875.jpg","text":"TemporaryFile(/tmp/multipartBody1384969287073709051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740114993265,"filename":"image_21022025_03_08_06_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338760853","file1":"1338760852","file0":"1338760848","file4":"1338760867","file5":"1338760870","file3":"1338760860"},"map_files_photo_id_array":[{"photo_id":"1338760870","filename":"file5"},{"photo_id":"1338760853","filename":"file2"},{"photo_id":"1338760867","filename":"file4"},{"photo_id":"1338760852","filename":"file1"},{"photo_id":"1338760848","filename":"file0"},{"photo_id":"1338760860","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338760867":["hashtag1","hashtag2"]},{"1338760852":["hashtag1","hashtag2"]},{"1338760860":["hashtag1","hashtag2"]},{"1338760848":["hashtag1","hashtag2"]},{"1338760853":["hashtag1","hashtag2"]},{"1338760870":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338760867, 1338760852, 1338760860, 1338760848, 1338760853, 1338760870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23261594772339 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:16:33.158516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/08/image_21022025_03_08_16_10401.jpg', '/home/pi/Desktop/images/21022025/03/08/image_21022025_03_08_26_10334.jpg', '/home/pi/Desktop/images/21022025/03/08/image_21022025_03_08_36_9418.jpg', '/home/pi/Desktop/images/21022025/03/08/image_21022025_03_08_46_10379.jpg', '/home/pi/Desktop/images/21022025/03/08/image_21022025_03_08_55_9335.jpg', '/home/pi/Desktop/images/21022025/03/08/image_21022025_03_09_06_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/08/image_21022025_03_08_16_10401.jpg
/home/pi/Desktop/images/21022025/03/08/image_21022025_03_08_26_10334.jpg
/home/pi/Desktop/images/21022025/03/08/image_21022025_03_08_36_9418.jpg
/home/pi/Desktop/images/21022025/03/08/image_21022025_03_08_46_10379.jpg
/home/pi/Desktop/images/21022025/03/08/image_21022025_03_08_55_9335.jpg
/home/pi/Desktop/images/21022025/03/08/image_21022025_03_09_06_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338760915","1338760881","1338760889","1338760916","1338760901","1338760885"],"photo_ids_order":["1338760881","1338760885","1338760889","1338760901","1338760915","1338760916"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9553343cb658556641076eef7b507291.jpg","text":"TemporaryFile(/tmp/multipartBody8534132071517780499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115053651,"filename":"image_21022025_03_08_55_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/906be8de667e2561c9d167aea64518ca.jpg","text":"TemporaryFile(/tmp/multipartBody8108212140988628653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115053651,"filename":"image_21022025_03_08_16_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c452aa8d422d477c5936d01c90322752.jpg","text":"TemporaryFile(/tmp/multipartBody7542901677106255361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115053651,"filename":"image_21022025_03_08_36_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/684b15ab72a35d3bee689aa0256b8d1e.jpg","text":"TemporaryFile(/tmp/multipartBody7982312442124958058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115053651,"filename":"image_21022025_03_09_06_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bd1530ac1093560bcf66dea322955260.jpg","text":"TemporaryFile(/tmp/multipartBody2758435195027633195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115053651,"filename":"image_21022025_03_08_46_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/addd3fc18312a4ad01789af25de11855.jpg","text":"TemporaryFile(/tmp/multipartBody5006927574764520721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115053651,"filename":"image_21022025_03_08_26_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338760889","file1":"1338760885","file0":"1338760881","file4":"1338760915","file5":"1338760916","file3":"1338760901"},"map_files_photo_id_array":[{"photo_id":"1338760916","filename":"file5"},{"photo_id":"1338760889","filename":"file2"},{"photo_id":"1338760915","filename":"file4"},{"photo_id":"1338760885","filename":"file1"},{"photo_id":"1338760881","filename":"file0"},{"photo_id":"1338760901","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338760915":["hashtag1","hashtag2"]},{"1338760881":["hashtag1","hashtag2"]},{"1338760889":["hashtag1","hashtag2"]},{"1338760916":["hashtag1","hashtag2"]},{"1338760901":["hashtag1","hashtag2"]},{"1338760885":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338760915, 1338760881, 1338760889, 1338760916, 1338760901, 1338760885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11579608917236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:17:32.239614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/09/image_21022025_03_09_16_10329.jpg', '/home/pi/Desktop/images/21022025/03/09/image_21022025_03_09_36_10346.jpg', '/home/pi/Desktop/images/21022025/03/09/image_21022025_03_09_46_10337.jpg', '/home/pi/Desktop/images/21022025/03/09/image_21022025_03_09_56_9446.jpg', '/home/pi/Desktop/images/21022025/03/09/image_21022025_03_10_06_10349.jpg', '/home/pi/Desktop/images/21022025/03/10/image_21022025_03_10_15_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/09/image_21022025_03_09_16_10329.jpg
/home/pi/Desktop/images/21022025/03/09/image_21022025_03_09_36_10346.jpg
/home/pi/Desktop/images/21022025/03/09/image_21022025_03_09_46_10337.jpg
/home/pi/Desktop/images/21022025/03/09/image_21022025_03_09_56_9446.jpg
/home/pi/Desktop/images/21022025/03/09/image_21022025_03_10_06_10349.jpg
/home/pi/Desktop/images/21022025/03/10/image_21022025_03_10_15_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338760945","1338760954","1338760953","1338760947","1338760952","1338760949"],"photo_ids_order":["1338760945","1338760947","1338760949","1338760952","1338760953","1338760954"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/63bfaf939cbd0dac35e2ecc0b4af67de.jpg","text":"TemporaryFile(/tmp/multipartBody232027425975586405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115112726,"filename":"image_21022025_03_09_16_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/afeae856e51a35cf806cf0e93ac65e4f.jpg","text":"TemporaryFile(/tmp/multipartBody8767315383780116601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115112726,"filename":"image_21022025_03_10_15_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/34e62cbd94d6aa46c824d7637c622bd8.jpg","text":"TemporaryFile(/tmp/multipartBody5150271021333892197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115112726,"filename":"image_21022025_03_10_06_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/94d369250113be7edf1563cc5687c24a.jpg","text":"TemporaryFile(/tmp/multipartBody8430405882164363489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115112726,"filename":"image_21022025_03_09_36_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5050d0bec068ba4d54678bacd61b7574.jpg","text":"TemporaryFile(/tmp/multipartBody8992205295042318311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115112726,"filename":"image_21022025_03_09_56_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9f793a5bad0cb936cedad3db10505f1c.jpg","text":"TemporaryFile(/tmp/multipartBody4621618018080983259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115112726,"filename":"image_21022025_03_09_46_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338760949","file1":"1338760947","file0":"1338760945","file4":"1338760953","file5":"1338760954","file3":"1338760952"},"map_files_photo_id_array":[{"photo_id":"1338760954","filename":"file5"},{"photo_id":"1338760949","filename":"file2"},{"photo_id":"1338760953","filename":"file4"},{"photo_id":"1338760947","filename":"file1"},{"photo_id":"1338760945","filename":"file0"},{"photo_id":"1338760952","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338760945":["hashtag1","hashtag2"]},{"1338760954":["hashtag1","hashtag2"]},{"1338760953":["hashtag1","hashtag2"]},{"1338760947":["hashtag1","hashtag2"]},{"1338760952":["hashtag1","hashtag2"]},{"1338760949":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338760945, 1338760954, 1338760953, 1338760947, 1338760952, 1338760949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.80677509307861 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:18:32.383639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/10/image_21022025_03_10_46_9487.jpg', '/home/pi/Desktop/images/21022025/03/10/image_21022025_03_10_56_10346.jpg', '/home/pi/Desktop/images/21022025/03/10/image_21022025_03_11_06_10345.jpg', '/home/pi/Desktop/images/21022025/03/11/image_21022025_03_11_16_9327.jpg', '/home/pi/Desktop/images/21022025/03/11/image_21022025_03_11_26_10391.jpg', '/home/pi/Desktop/images/21022025/03/11/image_21022025_03_11_35_9321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/10/image_21022025_03_10_46_9487.jpg
/home/pi/Desktop/images/21022025/03/10/image_21022025_03_10_56_10346.jpg
/home/pi/Desktop/images/21022025/03/10/image_21022025_03_11_06_10345.jpg
/home/pi/Desktop/images/21022025/03/11/image_21022025_03_11_16_9327.jpg
/home/pi/Desktop/images/21022025/03/11/image_21022025_03_11_26_10391.jpg
/home/pi/Desktop/images/21022025/03/11/image_21022025_03_11_35_9321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338760972","1338760998","1338760992","1338760986","1338760988","1338760975"],"photo_ids_order":["1338760972","1338760975","1338760986","1338760988","1338760992","1338760998"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4c5e9664109e9b84c8e2d02f3da833bd.jpg","text":"TemporaryFile(/tmp/multipartBody6153754383842616140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115172860,"filename":"image_21022025_03_10_46_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6c9d645dbcefa0398a3f20b0889b3ec0.jpg","text":"TemporaryFile(/tmp/multipartBody2362003921477831377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115172860,"filename":"image_21022025_03_11_35_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/169ce2c5e269b9be5a1e07f71c71a4c3.jpg","text":"TemporaryFile(/tmp/multipartBody1984935261309397724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115172860,"filename":"image_21022025_03_11_26_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bec2cf8543bde56cf48cdb6f837a2bda.jpg","text":"TemporaryFile(/tmp/multipartBody4630261273135511769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115172860,"filename":"image_21022025_03_11_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e08b9427f93e28d4105d9805ff2dafa4.jpg","text":"TemporaryFile(/tmp/multipartBody4986367454998827544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115172860,"filename":"image_21022025_03_11_16_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d71046db98164ed992ad6ea0ec1bb59e.jpg","text":"TemporaryFile(/tmp/multipartBody685683710718325158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115172860,"filename":"image_21022025_03_10_56_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338760986","file1":"1338760975","file0":"1338760972","file4":"1338760992","file5":"1338760998","file3":"1338760988"},"map_files_photo_id_array":[{"photo_id":"1338760998","filename":"file5"},{"photo_id":"1338760986","filename":"file2"},{"photo_id":"1338760992","filename":"file4"},{"photo_id":"1338760975","filename":"file1"},{"photo_id":"1338760972","filename":"file0"},{"photo_id":"1338760988","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338760972":["hashtag1","hashtag2"]},{"1338760998":["hashtag1","hashtag2"]},{"1338760992":["hashtag1","hashtag2"]},{"1338760986":["hashtag1","hashtag2"]},{"1338760988":["hashtag1","hashtag2"]},{"1338760975":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338760972, 1338760998, 1338760992, 1338760986, 1338760988, 1338760975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.693710803985596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:19:32.822964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/11/image_21022025_03_11_56_10443.jpg', '/home/pi/Desktop/images/21022025/03/12/image_21022025_03_12_26_9432.jpg', '/home/pi/Desktop/images/21022025/03/12/image_21022025_03_12_36_10326.jpg', '/home/pi/Desktop/images/21022025/03/12/image_21022025_03_12_46_10355.jpg', '/home/pi/Desktop/images/21022025/03/12/image_21022025_03_12_56_9340.jpg', '/home/pi/Desktop/images/21022025/03/13/image_21022025_03_13_16_10319.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/11/image_21022025_03_11_56_10443.jpg
/home/pi/Desktop/images/21022025/03/12/image_21022025_03_12_26_9432.jpg
/home/pi/Desktop/images/21022025/03/12/image_21022025_03_12_36_10326.jpg
/home/pi/Desktop/images/21022025/03/12/image_21022025_03_12_46_10355.jpg
/home/pi/Desktop/images/21022025/03/12/image_21022025_03_12_56_9340.jpg
/home/pi/Desktop/images/21022025/03/13/image_21022025_03_13_16_10319.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338761035","1338761029","1338761017","1338761031","1338761025","1338761033"],"photo_ids_order":["1338761017","1338761025","1338761029","1338761031","1338761033","1338761035"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/42bebb05a1879f73fb44da0573552f1f.jpg","text":"TemporaryFile(/tmp/multipartBody2259507764356643999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115233301,"filename":"image_21022025_03_13_16_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f86f1fad01cd7b0f73d3ed91b04e3301.jpg","text":"TemporaryFile(/tmp/multipartBody5911107027114126522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115233301,"filename":"image_21022025_03_12_36_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cd80ca1380d9f4f9593e7d920858b86a.jpg","text":"TemporaryFile(/tmp/multipartBody3307812703886985709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115233301,"filename":"image_21022025_03_11_56_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1296f6b384dafb7a39299a330c7e574.jpg","text":"TemporaryFile(/tmp/multipartBody5576478612011245050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115233301,"filename":"image_21022025_03_12_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ba6c71c1c7935fa1f112e349612a8d30.jpg","text":"TemporaryFile(/tmp/multipartBody9160534682754536961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115233301,"filename":"image_21022025_03_12_26_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cdf55450ac891ad63a5bb645550922ba.jpg","text":"TemporaryFile(/tmp/multipartBody2471389195679455050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115233301,"filename":"image_21022025_03_12_56_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338761029","file1":"1338761025","file0":"1338761017","file4":"1338761033","file5":"1338761035","file3":"1338761031"},"map_files_photo_id_array":[{"photo_id":"1338761035","filename":"file5"},{"photo_id":"1338761029","filename":"file2"},{"photo_id":"1338761033","filename":"file4"},{"photo_id":"1338761025","filename":"file1"},{"photo_id":"1338761017","filename":"file0"},{"photo_id":"1338761031","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338761035":["hashtag1","hashtag2"]},{"1338761029":["hashtag1","hashtag2"]},{"1338761017":["hashtag1","hashtag2"]},{"1338761031":["hashtag1","hashtag2"]},{"1338761025":["hashtag1","hashtag2"]},{"1338761033":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338761035, 1338761029, 1338761017, 1338761031, 1338761025, 1338761033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63873910903931 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:20:32.941307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/13/image_21022025_03_13_26_9440.jpg', '/home/pi/Desktop/images/21022025/03/13/image_21022025_03_13_36_10441.jpg', '/home/pi/Desktop/images/21022025/03/13/image_21022025_03_13_46_9440.jpg', '/home/pi/Desktop/images/21022025/03/14/image_21022025_03_14_36_10326.jpg', '/home/pi/Desktop/images/21022025/03/14/image_21022025_03_14_46_9394.jpg', '/home/pi/Desktop/images/21022025/03/14/image_21022025_03_14_56_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/13/image_21022025_03_13_26_9440.jpg
/home/pi/Desktop/images/21022025/03/13/image_21022025_03_13_36_10441.jpg
/home/pi/Desktop/images/21022025/03/13/image_21022025_03_13_46_9440.jpg
/home/pi/Desktop/images/21022025/03/14/image_21022025_03_14_36_10326.jpg
/home/pi/Desktop/images/21022025/03/14/image_21022025_03_14_46_9394.jpg
/home/pi/Desktop/images/21022025/03/14/image_21022025_03_14_56_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338761085","1338761067","1338761078","1338761087","1338761069","1338761074"],"photo_ids_order":["1338761067","1338761069","1338761074","1338761078","1338761085","1338761087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6b25e759b02b338de315f4928f2fab5a.jpg","text":"TemporaryFile(/tmp/multipartBody3656258702363692854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115293423,"filename":"image_21022025_03_14_46_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be45ea23866dc5aa43b30431677d81e1.jpg","text":"TemporaryFile(/tmp/multipartBody5556291544887276783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115293423,"filename":"image_21022025_03_13_26_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c232df332b97dd9a22b4fbce216bb52.jpg","text":"TemporaryFile(/tmp/multipartBody6747916300923393326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115293423,"filename":"image_21022025_03_14_36_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8502eb60a95ea992c6137b7ee54f9a59.jpg","text":"TemporaryFile(/tmp/multipartBody7397282305127997573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115293423,"filename":"image_21022025_03_14_56_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/31d84fb8942c97c0a21c3e98b6bb4957.jpg","text":"TemporaryFile(/tmp/multipartBody1914544050870491599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115293423,"filename":"image_21022025_03_13_36_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ba589e9a3256c8687dbcaff100b74ada.jpg","text":"TemporaryFile(/tmp/multipartBody3940875482533385885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115293423,"filename":"image_21022025_03_13_46_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338761074","file1":"1338761069","file0":"1338761067","file4":"1338761085","file5":"1338761087","file3":"1338761078"},"map_files_photo_id_array":[{"photo_id":"1338761087","filename":"file5"},{"photo_id":"1338761074","filename":"file2"},{"photo_id":"1338761085","filename":"file4"},{"photo_id":"1338761069","filename":"file1"},{"photo_id":"1338761067","filename":"file0"},{"photo_id":"1338761078","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338761085":["hashtag1","hashtag2"]},{"1338761067":["hashtag1","hashtag2"]},{"1338761078":["hashtag1","hashtag2"]},{"1338761087":["hashtag1","hashtag2"]},{"1338761069":["hashtag1","hashtag2"]},{"1338761074":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338761085, 1338761067, 1338761078, 1338761087, 1338761069, 1338761074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.961769104003906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:21:33.280395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/14/image_21022025_03_15_05_9360.jpg', '/home/pi/Desktop/images/21022025/03/15/image_21022025_03_15_26_10325.jpg', '/home/pi/Desktop/images/21022025/03/15/image_21022025_03_15_36_9441.jpg', '/home/pi/Desktop/images/21022025/03/15/image_21022025_03_15_56_10336.jpg', '/home/pi/Desktop/images/21022025/03/15/image_21022025_03_16_06_9357.jpg', '/home/pi/Desktop/images/21022025/03/16/image_21022025_03_16_16_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/14/image_21022025_03_15_05_9360.jpg
/home/pi/Desktop/images/21022025/03/15/image_21022025_03_15_26_10325.jpg
/home/pi/Desktop/images/21022025/03/15/image_21022025_03_15_36_9441.jpg
/home/pi/Desktop/images/21022025/03/15/image_21022025_03_15_56_10336.jpg
/home/pi/Desktop/images/21022025/03/15/image_21022025_03_16_06_9357.jpg
/home/pi/Desktop/images/21022025/03/16/image_21022025_03_16_16_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338761116","1338761103","1338761106","1338761109","1338761108","1338761110"],"photo_ids_order":["1338761103","1338761106","1338761108","1338761109","1338761110","1338761116"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c3003dfe683b2bcfb2fe846b3a6c7ab.jpg","text":"TemporaryFile(/tmp/multipartBody1084377386447948965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115353762,"filename":"image_21022025_03_16_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1448017b0b5956eb6562b14f927262fb.jpg","text":"TemporaryFile(/tmp/multipartBody213174136391621491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115353762,"filename":"image_21022025_03_15_05_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/97979bf2fa5c77856c69bcdefeabada8.jpg","text":"TemporaryFile(/tmp/multipartBody1710921078333455592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115353762,"filename":"image_21022025_03_15_26_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/71fb841e0ff58b1bc7bf80c70ea656aa.jpg","text":"TemporaryFile(/tmp/multipartBody6418106937439964289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115353762,"filename":"image_21022025_03_15_56_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1748c6a4c6b57e0f9aa94699cb0b76b.jpg","text":"TemporaryFile(/tmp/multipartBody8469781006820500476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115353762,"filename":"image_21022025_03_15_36_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d26d82767c5fd83ddf4d8e3b1a7b22f.jpg","text":"TemporaryFile(/tmp/multipartBody6306875308193632322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115353762,"filename":"image_21022025_03_16_06_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338761108","file1":"1338761106","file0":"1338761103","file4":"1338761110","file5":"1338761116","file3":"1338761109"},"map_files_photo_id_array":[{"photo_id":"1338761116","filename":"file5"},{"photo_id":"1338761108","filename":"file2"},{"photo_id":"1338761110","filename":"file4"},{"photo_id":"1338761106","filename":"file1"},{"photo_id":"1338761103","filename":"file0"},{"photo_id":"1338761109","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338761116":["hashtag1","hashtag2"]},{"1338761103":["hashtag1","hashtag2"]},{"1338761106":["hashtag1","hashtag2"]},{"1338761109":["hashtag1","hashtag2"]},{"1338761108":["hashtag1","hashtag2"]},{"1338761110":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338761116, 1338761103, 1338761106, 1338761109, 1338761108, 1338761110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.976086139678955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:22:32.207925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/16/image_21022025_03_16_26_10334.jpg', '/home/pi/Desktop/images/21022025/03/16/image_21022025_03_16_36_9395.jpg', '/home/pi/Desktop/images/21022025/03/16/image_21022025_03_16_46_10348.jpg', '/home/pi/Desktop/images/21022025/03/16/image_21022025_03_16_56_10340.jpg', '/home/pi/Desktop/images/21022025/03/16/image_21022025_03_17_06_9419.jpg', '/home/pi/Desktop/images/21022025/03/17/image_21022025_03_17_16_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/16/image_21022025_03_16_26_10334.jpg
/home/pi/Desktop/images/21022025/03/16/image_21022025_03_16_36_9395.jpg
/home/pi/Desktop/images/21022025/03/16/image_21022025_03_16_46_10348.jpg
/home/pi/Desktop/images/21022025/03/16/image_21022025_03_16_56_10340.jpg
/home/pi/Desktop/images/21022025/03/16/image_21022025_03_17_06_9419.jpg
/home/pi/Desktop/images/21022025/03/17/image_21022025_03_17_16_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338761166","1338761169","1338761163","1338761171","1338761159","1338761152"],"photo_ids_order":["1338761152","1338761159","1338761163","1338761166","1338761169","1338761171"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d90c380752b5977a703c820ceebb5c2a.jpg","text":"TemporaryFile(/tmp/multipartBody8778361262498581246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115412704,"filename":"image_21022025_03_16_56_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/193a7b61060c83fa853c13205b874b21.jpg","text":"TemporaryFile(/tmp/multipartBody9053239337161537299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115412704,"filename":"image_21022025_03_17_06_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cba9f42cb98ba387ac914a18a6b54e3f.jpg","text":"TemporaryFile(/tmp/multipartBody2646606012399007990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115412704,"filename":"image_21022025_03_16_46_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/45e9d624f02aba835517aa102918e113.jpg","text":"TemporaryFile(/tmp/multipartBody6029118979281081630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115412704,"filename":"image_21022025_03_17_16_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1153bef0c3e5971f7e2dfb52f20222b.jpg","text":"TemporaryFile(/tmp/multipartBody1766852071284365605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115412704,"filename":"image_21022025_03_16_36_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cff30931487dd9ddbae760f4791930dc.jpg","text":"TemporaryFile(/tmp/multipartBody6136867088835103442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115412704,"filename":"image_21022025_03_16_26_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338761163","file1":"1338761159","file0":"1338761152","file4":"1338761169","file5":"1338761171","file3":"1338761166"},"map_files_photo_id_array":[{"photo_id":"1338761171","filename":"file5"},{"photo_id":"1338761163","filename":"file2"},{"photo_id":"1338761169","filename":"file4"},{"photo_id":"1338761159","filename":"file1"},{"photo_id":"1338761152","filename":"file0"},{"photo_id":"1338761166","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338761166":["hashtag1","hashtag2"]},{"1338761169":["hashtag1","hashtag2"]},{"1338761163":["hashtag1","hashtag2"]},{"1338761171":["hashtag1","hashtag2"]},{"1338761159":["hashtag1","hashtag2"]},{"1338761152":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338761166, 1338761169, 1338761163, 1338761171, 1338761159, 1338761152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16201615333557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:23:32.350487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/17/image_21022025_03_17_26_9352.jpg', '/home/pi/Desktop/images/21022025/03/17/image_21022025_03_17_46_10318.jpg', '/home/pi/Desktop/images/21022025/03/17/image_21022025_03_17_56_9451.jpg', '/home/pi/Desktop/images/21022025/03/18/image_21022025_03_18_16_10324.jpg', '/home/pi/Desktop/images/21022025/03/18/image_21022025_03_18_26_9440.jpg', '/home/pi/Desktop/images/21022025/03/18/image_21022025_03_18_46_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/17/image_21022025_03_17_26_9352.jpg
/home/pi/Desktop/images/21022025/03/17/image_21022025_03_17_46_10318.jpg
/home/pi/Desktop/images/21022025/03/17/image_21022025_03_17_56_9451.jpg
/home/pi/Desktop/images/21022025/03/18/image_21022025_03_18_16_10324.jpg
/home/pi/Desktop/images/21022025/03/18/image_21022025_03_18_26_9440.jpg
/home/pi/Desktop/images/21022025/03/18/image_21022025_03_18_46_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338761451","1338761430","1338761427","1338761447","1338761432","1338761434"],"photo_ids_order":["1338761427","1338761430","1338761432","1338761434","1338761447","1338761451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8dff9acd77ee98b2f4d4ed9d78c7ed12.jpg","text":"TemporaryFile(/tmp/multipartBody5404449233213582143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115472845,"filename":"image_21022025_03_18_46_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a4123e532cd6ac830c6e11e58999929c.jpg","text":"TemporaryFile(/tmp/multipartBody6210459139240871393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115472845,"filename":"image_21022025_03_17_46_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/51b47af8fd2ee655ba3966c31aaaf684.jpg","text":"TemporaryFile(/tmp/multipartBody1059060585023614588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115472845,"filename":"image_21022025_03_17_26_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8a0ce62af069e74636876b5c62a2bceb.jpg","text":"TemporaryFile(/tmp/multipartBody5316317289803800388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115472845,"filename":"image_21022025_03_18_26_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d52e210aaf83e02e47fc36ec5fc9ebc.jpg","text":"TemporaryFile(/tmp/multipartBody1203361221135715356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115472845,"filename":"image_21022025_03_17_56_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f5ca85109c8346546ab10fcedead4ce6.jpg","text":"TemporaryFile(/tmp/multipartBody5473573843987242300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115472845,"filename":"image_21022025_03_18_16_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338761432","file1":"1338761430","file0":"1338761427","file4":"1338761447","file5":"1338761451","file3":"1338761434"},"map_files_photo_id_array":[{"photo_id":"1338761451","filename":"file5"},{"photo_id":"1338761432","filename":"file2"},{"photo_id":"1338761447","filename":"file4"},{"photo_id":"1338761430","filename":"file1"},{"photo_id":"1338761427","filename":"file0"},{"photo_id":"1338761434","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338761451":["hashtag1","hashtag2"]},{"1338761430":["hashtag1","hashtag2"]},{"1338761427":["hashtag1","hashtag2"]},{"1338761447":["hashtag1","hashtag2"]},{"1338761432":["hashtag1","hashtag2"]},{"1338761434":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338761451, 1338761430, 1338761427, 1338761447, 1338761432, 1338761434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48542881011963 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:24:32.564946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/18/image_21022025_03_19_06_10350.jpg', '/home/pi/Desktop/images/21022025/03/19/image_21022025_03_19_16_10422.jpg', '/home/pi/Desktop/images/21022025/03/19/image_21022025_03_19_26_9345.jpg', '/home/pi/Desktop/images/21022025/03/19/image_21022025_03_19_36_10416.jpg', '/home/pi/Desktop/images/21022025/03/19/image_21022025_03_19_56_9330.jpg', '/home/pi/Desktop/images/21022025/03/19/image_21022025_03_20_06_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/18/image_21022025_03_19_06_10350.jpg
/home/pi/Desktop/images/21022025/03/19/image_21022025_03_19_16_10422.jpg
/home/pi/Desktop/images/21022025/03/19/image_21022025_03_19_26_9345.jpg
/home/pi/Desktop/images/21022025/03/19/image_21022025_03_19_36_10416.jpg
/home/pi/Desktop/images/21022025/03/19/image_21022025_03_19_56_9330.jpg
/home/pi/Desktop/images/21022025/03/19/image_21022025_03_20_06_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338761481","1338761490","1338761486","1338761483","1338761476","1338761479"],"photo_ids_order":["1338761476","1338761479","1338761481","1338761483","1338761486","1338761490"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b52665c652643bf77d69aca967c7b572.jpg","text":"TemporaryFile(/tmp/multipartBody3489748759928820001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115533119,"filename":"image_21022025_03_19_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b08d3f79cffa7f52322ffd810525f0d6.jpg","text":"TemporaryFile(/tmp/multipartBody7964581098781512157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115533119,"filename":"image_21022025_03_20_06_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b5f798522e64eab4e120f8590bc646f7.jpg","text":"TemporaryFile(/tmp/multipartBody7816375967011106615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115533119,"filename":"image_21022025_03_19_56_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ccc17867bf6b6d1cac7cdd87a8e1eb1a.jpg","text":"TemporaryFile(/tmp/multipartBody7761838298035704915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115533119,"filename":"image_21022025_03_19_36_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/709dea2d067f173fd1b7e075b0dbaf0d.jpg","text":"TemporaryFile(/tmp/multipartBody6686457665532950770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115533119,"filename":"image_21022025_03_19_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/27a2efb9d61efcfd0d8aa154a8e09b65.jpg","text":"TemporaryFile(/tmp/multipartBody2516692076050892607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115533119,"filename":"image_21022025_03_19_16_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338761481","file1":"1338761479","file0":"1338761476","file4":"1338761486","file5":"1338761490","file3":"1338761483"},"map_files_photo_id_array":[{"photo_id":"1338761490","filename":"file5"},{"photo_id":"1338761481","filename":"file2"},{"photo_id":"1338761486","filename":"file4"},{"photo_id":"1338761479","filename":"file1"},{"photo_id":"1338761476","filename":"file0"},{"photo_id":"1338761483","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338761481":["hashtag1","hashtag2"]},{"1338761490":["hashtag1","hashtag2"]},{"1338761486":["hashtag1","hashtag2"]},{"1338761483":["hashtag1","hashtag2"]},{"1338761476":["hashtag1","hashtag2"]},{"1338761479":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338761481, 1338761490, 1338761486, 1338761483, 1338761476, 1338761479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62087893486023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:25:33.635251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/20/image_21022025_03_20_15_9341.jpg', '/home/pi/Desktop/images/21022025/03/20/image_21022025_03_20_26_10432.jpg', '/home/pi/Desktop/images/21022025/03/20/image_21022025_03_20_36_10337.jpg', '/home/pi/Desktop/images/21022025/03/20/image_21022025_03_20_46_9431.jpg', '/home/pi/Desktop/images/21022025/03/20/image_21022025_03_20_56_10350.jpg', '/home/pi/Desktop/images/21022025/03/20/image_21022025_03_21_06_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/20/image_21022025_03_20_15_9341.jpg
/home/pi/Desktop/images/21022025/03/20/image_21022025_03_20_26_10432.jpg
/home/pi/Desktop/images/21022025/03/20/image_21022025_03_20_36_10337.jpg
/home/pi/Desktop/images/21022025/03/20/image_21022025_03_20_46_9431.jpg
/home/pi/Desktop/images/21022025/03/20/image_21022025_03_20_56_10350.jpg
/home/pi/Desktop/images/21022025/03/20/image_21022025_03_21_06_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338761541","1338761538","1338761540","1338761534","1338761542","1338761536"],"photo_ids_order":["1338761534","1338761536","1338761538","1338761540","1338761541","1338761542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/85daa037a3578ea0e49e0aa14d7ef630.jpg","text":"TemporaryFile(/tmp/multipartBody2998190360950099165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115594108,"filename":"image_21022025_03_20_56_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a5d04ad16e9f1d84418b3b82b7109c3.jpg","text":"TemporaryFile(/tmp/multipartBody4526650614816022811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115594108,"filename":"image_21022025_03_20_36_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2c02712a502fe86eacb1976de1ec5da0.jpg","text":"TemporaryFile(/tmp/multipartBody7130126423470392807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115594108,"filename":"image_21022025_03_20_46_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1935557736ff3560e954599c050aaea.jpg","text":"TemporaryFile(/tmp/multipartBody5102654310065540521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115594108,"filename":"image_21022025_03_20_15_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/520bdba10c86b9c3e435681417eed92d.jpg","text":"TemporaryFile(/tmp/multipartBody3604468831565925519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115594108,"filename":"image_21022025_03_21_06_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f290cac533b4e8cb6c4c41f2ed42a7eb.jpg","text":"TemporaryFile(/tmp/multipartBody8614416385677529452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115594108,"filename":"image_21022025_03_20_26_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338761538","file1":"1338761536","file0":"1338761534","file4":"1338761541","file5":"1338761542","file3":"1338761540"},"map_files_photo_id_array":[{"photo_id":"1338761542","filename":"file5"},{"photo_id":"1338761538","filename":"file2"},{"photo_id":"1338761541","filename":"file4"},{"photo_id":"1338761536","filename":"file1"},{"photo_id":"1338761534","filename":"file0"},{"photo_id":"1338761540","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338761541":["hashtag1","hashtag2"]},{"1338761538":["hashtag1","hashtag2"]},{"1338761540":["hashtag1","hashtag2"]},{"1338761534":["hashtag1","hashtag2"]},{"1338761542":["hashtag1","hashtag2"]},{"1338761536":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338761541, 1338761538, 1338761540, 1338761534, 1338761542, 1338761536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.47514200210571 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:26:32.583712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/21/image_21022025_03_21_26_10332.jpg', '/home/pi/Desktop/images/21022025/03/21/image_21022025_03_21_35_9340.jpg', '/home/pi/Desktop/images/21022025/03/21/image_21022025_03_21_46_10442.jpg', '/home/pi/Desktop/images/21022025/03/22/image_21022025_03_22_16_10342.jpg', '/home/pi/Desktop/images/21022025/03/22/image_21022025_03_22_26_10342.jpg', '/home/pi/Desktop/images/21022025/03/22/image_21022025_03_22_36_9323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/21/image_21022025_03_21_26_10332.jpg
/home/pi/Desktop/images/21022025/03/21/image_21022025_03_21_35_9340.jpg
/home/pi/Desktop/images/21022025/03/21/image_21022025_03_21_46_10442.jpg
/home/pi/Desktop/images/21022025/03/22/image_21022025_03_22_16_10342.jpg
/home/pi/Desktop/images/21022025/03/22/image_21022025_03_22_26_10342.jpg
/home/pi/Desktop/images/21022025/03/22/image_21022025_03_22_36_9323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338761841","1338761838","1338761840","1338761836","1338761839","1338761833"],"photo_ids_order":["1338761833","1338761836","1338761838","1338761839","1338761840","1338761841"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8310dab2523e9ddf7dda6f46550a1720.jpg","text":"TemporaryFile(/tmp/multipartBody4542458016413744504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115653053,"filename":"image_21022025_03_22_36_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2da41d3010110ad7cb65f1015759015a.jpg","text":"TemporaryFile(/tmp/multipartBody3885990380533228307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115653053,"filename":"image_21022025_03_21_46_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/614bef4fa196a7cf18a96a84029ad4cc.jpg","text":"TemporaryFile(/tmp/multipartBody936931847029532387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115653053,"filename":"image_21022025_03_22_26_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a5935c7b8d76f231da4065bbaa4185e.jpg","text":"TemporaryFile(/tmp/multipartBody6996137506380544816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115653053,"filename":"image_21022025_03_21_35_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/41dff00b619ee7b31bb2a6c911bddb1a.jpg","text":"TemporaryFile(/tmp/multipartBody1192533450214734196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115653053,"filename":"image_21022025_03_22_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5fe0592eac9ddff739113354ab78c185.jpg","text":"TemporaryFile(/tmp/multipartBody3489198188418234387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115653053,"filename":"image_21022025_03_21_26_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338761838","file1":"1338761836","file0":"1338761833","file4":"1338761840","file5":"1338761841","file3":"1338761839"},"map_files_photo_id_array":[{"photo_id":"1338761841","filename":"file5"},{"photo_id":"1338761838","filename":"file2"},{"photo_id":"1338761840","filename":"file4"},{"photo_id":"1338761836","filename":"file1"},{"photo_id":"1338761833","filename":"file0"},{"photo_id":"1338761839","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338761841":["hashtag1","hashtag2"]},{"1338761838":["hashtag1","hashtag2"]},{"1338761840":["hashtag1","hashtag2"]},{"1338761836":["hashtag1","hashtag2"]},{"1338761839":["hashtag1","hashtag2"]},{"1338761833":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338761841, 1338761838, 1338761840, 1338761836, 1338761839, 1338761833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.204371213912964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:27:32.750326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/22/image_21022025_03_22_46_10345.jpg', '/home/pi/Desktop/images/21022025/03/22/image_21022025_03_22_56_10343.jpg', '/home/pi/Desktop/images/21022025/03/23/image_21022025_03_23_16_10341.jpg', '/home/pi/Desktop/images/21022025/03/23/image_21022025_03_23_25_9344.jpg', '/home/pi/Desktop/images/21022025/03/23/image_21022025_03_23_36_10394.jpg', '/home/pi/Desktop/images/21022025/03/23/image_21022025_03_23_46_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/22/image_21022025_03_22_46_10345.jpg
/home/pi/Desktop/images/21022025/03/22/image_21022025_03_22_56_10343.jpg
/home/pi/Desktop/images/21022025/03/23/image_21022025_03_23_16_10341.jpg
/home/pi/Desktop/images/21022025/03/23/image_21022025_03_23_25_9344.jpg
/home/pi/Desktop/images/21022025/03/23/image_21022025_03_23_36_10394.jpg
/home/pi/Desktop/images/21022025/03/23/image_21022025_03_23_46_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338761930","1338761933","1338761936","1338761941","1338761935","1338761938"],"photo_ids_order":["1338761930","1338761933","1338761935","1338761936","1338761938","1338761941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/34b8811553daac42c4340d7c1516751a.jpg","text":"TemporaryFile(/tmp/multipartBody6695741270954206830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115713249,"filename":"image_21022025_03_22_46_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c7149f4cba6fa737e1d957f2f9735fbd.jpg","text":"TemporaryFile(/tmp/multipartBody8939772033427991106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115713249,"filename":"image_21022025_03_22_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/411f8030c9f513e0b831b5f5ecc16b3c.jpg","text":"TemporaryFile(/tmp/multipartBody1697316936971274289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115713249,"filename":"image_21022025_03_23_25_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c2526fbf5ac2182cfd5735360b9098e4.jpg","text":"TemporaryFile(/tmp/multipartBody7004693613814651707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115713249,"filename":"image_21022025_03_23_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/738b868540d081b84a1df53ba9ed6ff7.jpg","text":"TemporaryFile(/tmp/multipartBody3863328832003625835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115713249,"filename":"image_21022025_03_23_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/86cdf704183dc5fc802bfdd265f9097d.jpg","text":"TemporaryFile(/tmp/multipartBody2066428587516830030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115713249,"filename":"image_21022025_03_23_36_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338761935","file1":"1338761933","file0":"1338761930","file4":"1338761938","file5":"1338761941","file3":"1338761936"},"map_files_photo_id_array":[{"photo_id":"1338761941","filename":"file5"},{"photo_id":"1338761935","filename":"file2"},{"photo_id":"1338761938","filename":"file4"},{"photo_id":"1338761933","filename":"file1"},{"photo_id":"1338761930","filename":"file0"},{"photo_id":"1338761936","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338761930":["hashtag1","hashtag2"]},{"1338761933":["hashtag1","hashtag2"]},{"1338761936":["hashtag1","hashtag2"]},{"1338761941":["hashtag1","hashtag2"]},{"1338761935":["hashtag1","hashtag2"]},{"1338761938":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338761930, 1338761933, 1338761936, 1338761941, 1338761935, 1338761938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51837515830994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:28:33.023768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/23/image_21022025_03_23_56_9412.jpg', '/home/pi/Desktop/images/21022025/03/23/image_21022025_03_24_06_10341.jpg', '/home/pi/Desktop/images/21022025/03/24/image_21022025_03_24_16_10348.jpg', '/home/pi/Desktop/images/21022025/03/24/image_21022025_03_24_36_10441.jpg', '/home/pi/Desktop/images/21022025/03/24/image_21022025_03_24_56_9385.jpg', '/home/pi/Desktop/images/21022025/03/24/image_21022025_03_25_06_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/23/image_21022025_03_23_56_9412.jpg
/home/pi/Desktop/images/21022025/03/23/image_21022025_03_24_06_10341.jpg
/home/pi/Desktop/images/21022025/03/24/image_21022025_03_24_16_10348.jpg
/home/pi/Desktop/images/21022025/03/24/image_21022025_03_24_36_10441.jpg
/home/pi/Desktop/images/21022025/03/24/image_21022025_03_24_56_9385.jpg
/home/pi/Desktop/images/21022025/03/24/image_21022025_03_25_06_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338761958","1338761967","1338761971","1338761974","1338761956","1338761959"],"photo_ids_order":["1338761956","1338761958","1338761959","1338761967","1338761971","1338761974"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81c0b58898bdc1ca40f74dccac27181c.jpg","text":"TemporaryFile(/tmp/multipartBody2929654571964482060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115773519,"filename":"image_21022025_03_24_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/188628ff0c9c41c18a9051bb0e3738de.jpg","text":"TemporaryFile(/tmp/multipartBody8809450925189941992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115773519,"filename":"image_21022025_03_24_36_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7b26b06a53ad9b05e1d9183285202da.jpg","text":"TemporaryFile(/tmp/multipartBody4119851990918030669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115773519,"filename":"image_21022025_03_24_56_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/412cc1e23753ed02470ead17a42f8df9.jpg","text":"TemporaryFile(/tmp/multipartBody1937094861376452604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115773519,"filename":"image_21022025_03_25_06_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5bbac22e6dc34c166cb70843a0c5944e.jpg","text":"TemporaryFile(/tmp/multipartBody4047188007602891211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115773519,"filename":"image_21022025_03_23_56_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/970e88ac72580a616912de836288a0c0.jpg","text":"TemporaryFile(/tmp/multipartBody8544431143187336624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115773519,"filename":"image_21022025_03_24_16_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338761959","file1":"1338761958","file0":"1338761956","file4":"1338761971","file5":"1338761974","file3":"1338761967"},"map_files_photo_id_array":[{"photo_id":"1338761974","filename":"file5"},{"photo_id":"1338761959","filename":"file2"},{"photo_id":"1338761971","filename":"file4"},{"photo_id":"1338761958","filename":"file1"},{"photo_id":"1338761956","filename":"file0"},{"photo_id":"1338761967","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338761958":["hashtag1","hashtag2"]},{"1338761967":["hashtag1","hashtag2"]},{"1338761971":["hashtag1","hashtag2"]},{"1338761974":["hashtag1","hashtag2"]},{"1338761956":["hashtag1","hashtag2"]},{"1338761959":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338761958, 1338761967, 1338761971, 1338761974, 1338761956, 1338761959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.385242223739624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:29:32.153279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/25/image_21022025_03_25_15_9327.jpg', '/home/pi/Desktop/images/21022025/03/25/image_21022025_03_25_26_10388.jpg', '/home/pi/Desktop/images/21022025/03/25/image_21022025_03_25_56_10362.jpg', '/home/pi/Desktop/images/21022025/03/25/image_21022025_03_26_06_10344.jpg', '/home/pi/Desktop/images/21022025/03/26/image_21022025_03_26_26_10333.jpg', '/home/pi/Desktop/images/21022025/03/26/image_21022025_03_26_36_10326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/25/image_21022025_03_25_15_9327.jpg
/home/pi/Desktop/images/21022025/03/25/image_21022025_03_25_26_10388.jpg
/home/pi/Desktop/images/21022025/03/25/image_21022025_03_25_56_10362.jpg
/home/pi/Desktop/images/21022025/03/25/image_21022025_03_26_06_10344.jpg
/home/pi/Desktop/images/21022025/03/26/image_21022025_03_26_26_10333.jpg
/home/pi/Desktop/images/21022025/03/26/image_21022025_03_26_36_10326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338762032","1338762035","1338762029","1338762049","1338762043","1338762037"],"photo_ids_order":["1338762029","1338762032","1338762035","1338762037","1338762043","1338762049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/816b0eb271869d357b09fd1f49ae43da.jpg","text":"TemporaryFile(/tmp/multipartBody105867784966896158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115832623,"filename":"image_21022025_03_25_26_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/297f6c7d7c13a46876c327a442f6cffa.jpg","text":"TemporaryFile(/tmp/multipartBody4099940055554322193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115832623,"filename":"image_21022025_03_25_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b7a5030969796f8be1a9452dd177426b.jpg","text":"TemporaryFile(/tmp/multipartBody4432875265324319382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115832623,"filename":"image_21022025_03_25_15_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/88c32b4f2fdfd37cdfa95ff301aece07.jpg","text":"TemporaryFile(/tmp/multipartBody2346964651230511550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115832623,"filename":"image_21022025_03_26_36_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8173f4ec95da9f4c4abc77b0d51787fc.jpg","text":"TemporaryFile(/tmp/multipartBody3013413573649061181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115832623,"filename":"image_21022025_03_26_26_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/234e0f8515c4ff426af156a57501d114.jpg","text":"TemporaryFile(/tmp/multipartBody1409388048344129018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115832623,"filename":"image_21022025_03_26_06_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338762035","file1":"1338762032","file0":"1338762029","file4":"1338762043","file5":"1338762049","file3":"1338762037"},"map_files_photo_id_array":[{"photo_id":"1338762049","filename":"file5"},{"photo_id":"1338762035","filename":"file2"},{"photo_id":"1338762043","filename":"file4"},{"photo_id":"1338762032","filename":"file1"},{"photo_id":"1338762029","filename":"file0"},{"photo_id":"1338762037","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338762032":["hashtag1","hashtag2"]},{"1338762035":["hashtag1","hashtag2"]},{"1338762029":["hashtag1","hashtag2"]},{"1338762049":["hashtag1","hashtag2"]},{"1338762043":["hashtag1","hashtag2"]},{"1338762037":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338762032, 1338762035, 1338762029, 1338762049, 1338762043, 1338762037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.246885776519775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:30:32.446102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/26/image_21022025_03_26_46_9408.jpg', '/home/pi/Desktop/images/21022025/03/26/image_21022025_03_26_56_10352.jpg', '/home/pi/Desktop/images/21022025/03/26/image_21022025_03_27_06_10348.jpg', '/home/pi/Desktop/images/21022025/03/27/image_21022025_03_27_16_9432.jpg', '/home/pi/Desktop/images/21022025/03/27/image_21022025_03_27_26_10328.jpg', '/home/pi/Desktop/images/21022025/03/27/image_21022025_03_27_36_9390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/26/image_21022025_03_26_46_9408.jpg
/home/pi/Desktop/images/21022025/03/26/image_21022025_03_26_56_10352.jpg
/home/pi/Desktop/images/21022025/03/26/image_21022025_03_27_06_10348.jpg
/home/pi/Desktop/images/21022025/03/27/image_21022025_03_27_16_9432.jpg
/home/pi/Desktop/images/21022025/03/27/image_21022025_03_27_26_10328.jpg
/home/pi/Desktop/images/21022025/03/27/image_21022025_03_27_36_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338762068","1338762062","1338762071","1338762065","1338762059","1338762070"],"photo_ids_order":["1338762059","1338762062","1338762065","1338762068","1338762070","1338762071"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8512008a06aaa46049fd9abf5438a15b.jpg","text":"TemporaryFile(/tmp/multipartBody8217158567751714263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115892921,"filename":"image_21022025_03_27_16_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cfee16cd7411cd6625f4637bf599dfa8.jpg","text":"TemporaryFile(/tmp/multipartBody1892103016108630961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115892921,"filename":"image_21022025_03_26_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/540df8b4fa3a971fe9f7cf3ce1ed1a26.jpg","text":"TemporaryFile(/tmp/multipartBody4701706552862409793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115892921,"filename":"image_21022025_03_27_36_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a8535fab6b301327a6e5e3160c7eafbb.jpg","text":"TemporaryFile(/tmp/multipartBody3319257356945967243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115892921,"filename":"image_21022025_03_27_06_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4cc4d8b30c0e9ea52c0d7d3034eab298.jpg","text":"TemporaryFile(/tmp/multipartBody752212452197756518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115892921,"filename":"image_21022025_03_26_46_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5445fc49ad2f3a1f69a03fdf0d6db362.jpg","text":"TemporaryFile(/tmp/multipartBody7091765143066357390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115892921,"filename":"image_21022025_03_27_26_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338762065","file1":"1338762062","file0":"1338762059","file4":"1338762070","file5":"1338762071","file3":"1338762068"},"map_files_photo_id_array":[{"photo_id":"1338762071","filename":"file5"},{"photo_id":"1338762065","filename":"file2"},{"photo_id":"1338762070","filename":"file4"},{"photo_id":"1338762062","filename":"file1"},{"photo_id":"1338762059","filename":"file0"},{"photo_id":"1338762068","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338762068":["hashtag1","hashtag2"]},{"1338762062":["hashtag1","hashtag2"]},{"1338762071":["hashtag1","hashtag2"]},{"1338762065":["hashtag1","hashtag2"]},{"1338762059":["hashtag1","hashtag2"]},{"1338762070":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338762068, 1338762062, 1338762071, 1338762065, 1338762059, 1338762070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.49707388877869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:31:32.621214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/27/image_21022025_03_27_46_10338.jpg', '/home/pi/Desktop/images/21022025/03/27/image_21022025_03_27_56_10356.jpg', '/home/pi/Desktop/images/21022025/03/27/image_21022025_03_28_06_9461.jpg', '/home/pi/Desktop/images/21022025/03/28/image_21022025_03_28_26_10350.jpg', '/home/pi/Desktop/images/21022025/03/28/image_21022025_03_28_36_9436.jpg', '/home/pi/Desktop/images/21022025/03/28/image_21022025_03_28_56_9394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/27/image_21022025_03_27_46_10338.jpg
/home/pi/Desktop/images/21022025/03/27/image_21022025_03_27_56_10356.jpg
/home/pi/Desktop/images/21022025/03/27/image_21022025_03_28_06_9461.jpg
/home/pi/Desktop/images/21022025/03/28/image_21022025_03_28_26_10350.jpg
/home/pi/Desktop/images/21022025/03/28/image_21022025_03_28_36_9436.jpg
/home/pi/Desktop/images/21022025/03/28/image_21022025_03_28_56_9394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338762108","1338762102","1338762110","1338762094","1338762103","1338762109"],"photo_ids_order":["1338762094","1338762102","1338762103","1338762108","1338762109","1338762110"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/674707b6de96b22c19dc1915b5b98673.jpg","text":"TemporaryFile(/tmp/multipartBody5788353807581981076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115953123,"filename":"image_21022025_03_28_26_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f30c6eeaeae3f185eac3ad8b3f4631b4.jpg","text":"TemporaryFile(/tmp/multipartBody7790283801495785006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115953123,"filename":"image_21022025_03_27_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2c7b7b22f5f04b4c6c36eb69e153e1d2.jpg","text":"TemporaryFile(/tmp/multipartBody4103395745599099811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115953123,"filename":"image_21022025_03_28_56_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c5c0ee8521289e87abfd1a9edac2e4ef.jpg","text":"TemporaryFile(/tmp/multipartBody5235194165921117245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115953123,"filename":"image_21022025_03_27_46_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d909527650479f36e0792bb2c813365.jpg","text":"TemporaryFile(/tmp/multipartBody4807982306282714080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115953123,"filename":"image_21022025_03_28_06_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fe96ded5d5bc53bc604a282fb109e02f.jpg","text":"TemporaryFile(/tmp/multipartBody6246448792677721661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740115953123,"filename":"image_21022025_03_28_36_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338762103","file1":"1338762102","file0":"1338762094","file4":"1338762109","file5":"1338762110","file3":"1338762108"},"map_files_photo_id_array":[{"photo_id":"1338762110","filename":"file5"},{"photo_id":"1338762103","filename":"file2"},{"photo_id":"1338762109","filename":"file4"},{"photo_id":"1338762102","filename":"file1"},{"photo_id":"1338762094","filename":"file0"},{"photo_id":"1338762108","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338762108":["hashtag1","hashtag2"]},{"1338762102":["hashtag1","hashtag2"]},{"1338762110":["hashtag1","hashtag2"]},{"1338762094":["hashtag1","hashtag2"]},{"1338762103":["hashtag1","hashtag2"]},{"1338762109":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338762108, 1338762102, 1338762110, 1338762094, 1338762103, 1338762109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51878309249878 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:32:33.175073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/29/image_21022025_03_29_16_10349.jpg', '/home/pi/Desktop/images/21022025/03/29/image_21022025_03_29_36_10355.jpg', '/home/pi/Desktop/images/21022025/03/29/image_21022025_03_29_46_10353.jpg', '/home/pi/Desktop/images/21022025/03/29/image_21022025_03_29_56_9445.jpg', '/home/pi/Desktop/images/21022025/03/29/image_21022025_03_30_06_10339.jpg', '/home/pi/Desktop/images/21022025/03/30/image_21022025_03_30_16_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/29/image_21022025_03_29_16_10349.jpg
/home/pi/Desktop/images/21022025/03/29/image_21022025_03_29_36_10355.jpg
/home/pi/Desktop/images/21022025/03/29/image_21022025_03_29_46_10353.jpg
/home/pi/Desktop/images/21022025/03/29/image_21022025_03_29_56_9445.jpg
/home/pi/Desktop/images/21022025/03/29/image_21022025_03_30_06_10339.jpg
/home/pi/Desktop/images/21022025/03/30/image_21022025_03_30_16_9377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338762129","1338762131","1338762134","1338762160","1338762157","1338762127"],"photo_ids_order":["1338762127","1338762129","1338762131","1338762134","1338762157","1338762160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/416b0a2850515c4c089a0023caaf873a.jpg","text":"TemporaryFile(/tmp/multipartBody4025701788856553813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116013656,"filename":"image_21022025_03_29_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e132b9e625fda4bd5de3ba55eacc6d0.jpg","text":"TemporaryFile(/tmp/multipartBody5722862395921214200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116013656,"filename":"image_21022025_03_29_46_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ed8c7a13b275b991af8b23083728bfa0.jpg","text":"TemporaryFile(/tmp/multipartBody7031609514382487386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116013656,"filename":"image_21022025_03_29_56_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5a189df5957cf5d3a2d5439f3d7ac27c.jpg","text":"TemporaryFile(/tmp/multipartBody8029572380497596621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116013656,"filename":"image_21022025_03_30_16_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/688ab8c34ddc4690fca323549322f023.jpg","text":"TemporaryFile(/tmp/multipartBody9135977049214634361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116013656,"filename":"image_21022025_03_30_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ee2bf9a5b468857f4aa3d1913cfbee34.jpg","text":"TemporaryFile(/tmp/multipartBody6596283303406145234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116013656,"filename":"image_21022025_03_29_16_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338762131","file1":"1338762129","file0":"1338762127","file4":"1338762157","file5":"1338762160","file3":"1338762134"},"map_files_photo_id_array":[{"photo_id":"1338762160","filename":"file5"},{"photo_id":"1338762131","filename":"file2"},{"photo_id":"1338762157","filename":"file4"},{"photo_id":"1338762129","filename":"file1"},{"photo_id":"1338762127","filename":"file0"},{"photo_id":"1338762134","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338762129":["hashtag1","hashtag2"]},{"1338762131":["hashtag1","hashtag2"]},{"1338762134":["hashtag1","hashtag2"]},{"1338762160":["hashtag1","hashtag2"]},{"1338762157":["hashtag1","hashtag2"]},{"1338762127":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338762129, 1338762131, 1338762134, 1338762160, 1338762157, 1338762127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61436080932617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:33:32.390248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/30/image_21022025_03_30_26_10349.jpg', '/home/pi/Desktop/images/21022025/03/30/image_21022025_03_30_36_10359.jpg', '/home/pi/Desktop/images/21022025/03/30/image_21022025_03_30_46_9421.jpg', '/home/pi/Desktop/images/21022025/03/30/image_21022025_03_30_56_10372.jpg', '/home/pi/Desktop/images/21022025/03/31/image_21022025_03_31_16_9403.jpg', '/home/pi/Desktop/images/21022025/03/31/image_21022025_03_31_26_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/30/image_21022025_03_30_26_10349.jpg
/home/pi/Desktop/images/21022025/03/30/image_21022025_03_30_36_10359.jpg
/home/pi/Desktop/images/21022025/03/30/image_21022025_03_30_46_9421.jpg
/home/pi/Desktop/images/21022025/03/30/image_21022025_03_30_56_10372.jpg
/home/pi/Desktop/images/21022025/03/31/image_21022025_03_31_16_9403.jpg
/home/pi/Desktop/images/21022025/03/31/image_21022025_03_31_26_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338762204","1338762176","1338762179","1338762206","1338762190","1338762174"],"photo_ids_order":["1338762174","1338762176","1338762179","1338762190","1338762204","1338762206"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0d72d3e90718541f5bcd604022ebda7a.jpg","text":"TemporaryFile(/tmp/multipartBody4730072113908369522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116072885,"filename":"image_21022025_03_31_16_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/65a49a47b613b3f5fb1333540ce04ae6.jpg","text":"TemporaryFile(/tmp/multipartBody1248435752384554405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116072885,"filename":"image_21022025_03_30_36_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/39c2155f74dd4470b049f365bc531a34.jpg","text":"TemporaryFile(/tmp/multipartBody3642515758854293032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116072885,"filename":"image_21022025_03_30_46_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23ac8d67b564dd8b819ff9bc0ff919bf.jpg","text":"TemporaryFile(/tmp/multipartBody3156532265060207215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116072885,"filename":"image_21022025_03_31_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0204b571db810ef71a9b51e5192cefbe.jpg","text":"TemporaryFile(/tmp/multipartBody7745914885990436080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116072885,"filename":"image_21022025_03_30_56_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2e023b9e2bab50ae1c839134e95ce1ee.jpg","text":"TemporaryFile(/tmp/multipartBody595522311045298900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116072885,"filename":"image_21022025_03_30_26_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338762179","file1":"1338762176","file0":"1338762174","file4":"1338762204","file5":"1338762206","file3":"1338762190"},"map_files_photo_id_array":[{"photo_id":"1338762206","filename":"file5"},{"photo_id":"1338762179","filename":"file2"},{"photo_id":"1338762204","filename":"file4"},{"photo_id":"1338762176","filename":"file1"},{"photo_id":"1338762174","filename":"file0"},{"photo_id":"1338762190","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338762204":["hashtag1","hashtag2"]},{"1338762176":["hashtag1","hashtag2"]},{"1338762179":["hashtag1","hashtag2"]},{"1338762206":["hashtag1","hashtag2"]},{"1338762190":["hashtag1","hashtag2"]},{"1338762174":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338762204, 1338762176, 1338762179, 1338762206, 1338762190, 1338762174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75222086906433 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:34:32.478870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/31/image_21022025_03_31_36_9417.jpg', '/home/pi/Desktop/images/21022025/03/31/image_21022025_03_31_56_10329.jpg', '/home/pi/Desktop/images/21022025/03/31/image_21022025_03_32_06_9342.jpg', '/home/pi/Desktop/images/21022025/03/32/image_21022025_03_32_16_10331.jpg', '/home/pi/Desktop/images/21022025/03/32/image_21022025_03_32_26_10326.jpg', '/home/pi/Desktop/images/21022025/03/32/image_21022025_03_32_36_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/31/image_21022025_03_31_36_9417.jpg
/home/pi/Desktop/images/21022025/03/31/image_21022025_03_31_56_10329.jpg
/home/pi/Desktop/images/21022025/03/31/image_21022025_03_32_06_9342.jpg
/home/pi/Desktop/images/21022025/03/32/image_21022025_03_32_16_10331.jpg
/home/pi/Desktop/images/21022025/03/32/image_21022025_03_32_26_10326.jpg
/home/pi/Desktop/images/21022025/03/32/image_21022025_03_32_36_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338762231","1338762219","1338762228","1338762222","1338762230","1338762226"],"photo_ids_order":["1338762219","1338762222","1338762226","1338762228","1338762230","1338762231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/65b14da8e25eb2401c52e551e716be14.jpg","text":"TemporaryFile(/tmp/multipartBody4018563390293808444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116132961,"filename":"image_21022025_03_32_36_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/addd0a2915f3d0237c9dec809aab3210.jpg","text":"TemporaryFile(/tmp/multipartBody3275849431480029896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116132961,"filename":"image_21022025_03_31_36_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e70bda2a2ab3498d27d7cb8ee6f78c74.jpg","text":"TemporaryFile(/tmp/multipartBody4354744085046939445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116132961,"filename":"image_21022025_03_32_16_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fbb0057202ee0500270a911d902ae962.jpg","text":"TemporaryFile(/tmp/multipartBody6389352315623496562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116132961,"filename":"image_21022025_03_31_56_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5e4ec31af598d15835da5f66dad515f6.jpg","text":"TemporaryFile(/tmp/multipartBody7063307350124436493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116132961,"filename":"image_21022025_03_32_26_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87ba2845a847183ce7a72dc2d18d3096.jpg","text":"TemporaryFile(/tmp/multipartBody1330098537977924518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116132961,"filename":"image_21022025_03_32_06_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338762226","file1":"1338762222","file0":"1338762219","file4":"1338762230","file5":"1338762231","file3":"1338762228"},"map_files_photo_id_array":[{"photo_id":"1338762231","filename":"file5"},{"photo_id":"1338762226","filename":"file2"},{"photo_id":"1338762230","filename":"file4"},{"photo_id":"1338762222","filename":"file1"},{"photo_id":"1338762219","filename":"file0"},{"photo_id":"1338762228","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338762231":["hashtag1","hashtag2"]},{"1338762219":["hashtag1","hashtag2"]},{"1338762228":["hashtag1","hashtag2"]},{"1338762222":["hashtag1","hashtag2"]},{"1338762230":["hashtag1","hashtag2"]},{"1338762226":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338762231, 1338762219, 1338762228, 1338762222, 1338762230, 1338762226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.99822211265564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:35:32.611021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/32/image_21022025_03_32_56_10373.jpg', '/home/pi/Desktop/images/21022025/03/32/image_21022025_03_33_06_9424.jpg', '/home/pi/Desktop/images/21022025/03/33/image_21022025_03_33_16_10321.jpg', '/home/pi/Desktop/images/21022025/03/33/image_21022025_03_33_36_10322.jpg', '/home/pi/Desktop/images/21022025/03/33/image_21022025_03_33_46_10327.jpg', '/home/pi/Desktop/images/21022025/03/34/image_21022025_03_34_26_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/32/image_21022025_03_32_56_10373.jpg
/home/pi/Desktop/images/21022025/03/32/image_21022025_03_33_06_9424.jpg
/home/pi/Desktop/images/21022025/03/33/image_21022025_03_33_16_10321.jpg
/home/pi/Desktop/images/21022025/03/33/image_21022025_03_33_36_10322.jpg
/home/pi/Desktop/images/21022025/03/33/image_21022025_03_33_46_10327.jpg
/home/pi/Desktop/images/21022025/03/34/image_21022025_03_34_26_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338762296","1338762284","1338762293","1338762272","1338762269","1338762277"],"photo_ids_order":["1338762269","1338762272","1338762277","1338762284","1338762293","1338762296"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/03a24d4d6e2cafe0ecc43a0d4eb70c59.jpg","text":"TemporaryFile(/tmp/multipartBody6526153580282169158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116193098,"filename":"image_21022025_03_34_26_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7f1a5ff5ed0f8a9f27bc76e21da46133.jpg","text":"TemporaryFile(/tmp/multipartBody8032976711671789965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116193098,"filename":"image_21022025_03_33_36_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e563f11a379f536ee55969f622bd6cbf.jpg","text":"TemporaryFile(/tmp/multipartBody6660186092820901652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116193098,"filename":"image_21022025_03_33_46_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f05c130fc34b6c99b098c1dc0fee2780.jpg","text":"TemporaryFile(/tmp/multipartBody6996819586067003520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116193098,"filename":"image_21022025_03_33_06_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7235e9d143825c99a03285917e53158e.jpg","text":"TemporaryFile(/tmp/multipartBody6873567654447123740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116193098,"filename":"image_21022025_03_32_56_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/476711ca054e5aa651ec85ddc858395e.jpg","text":"TemporaryFile(/tmp/multipartBody7998813723605503088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116193098,"filename":"image_21022025_03_33_16_10321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338762277","file1":"1338762272","file0":"1338762269","file4":"1338762293","file5":"1338762296","file3":"1338762284"},"map_files_photo_id_array":[{"photo_id":"1338762296","filename":"file5"},{"photo_id":"1338762277","filename":"file2"},{"photo_id":"1338762293","filename":"file4"},{"photo_id":"1338762272","filename":"file1"},{"photo_id":"1338762269","filename":"file0"},{"photo_id":"1338762284","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338762296":["hashtag1","hashtag2"]},{"1338762284":["hashtag1","hashtag2"]},{"1338762293":["hashtag1","hashtag2"]},{"1338762272":["hashtag1","hashtag2"]},{"1338762269":["hashtag1","hashtag2"]},{"1338762277":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338762296, 1338762284, 1338762293, 1338762272, 1338762269, 1338762277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76292085647583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:36:32.937409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/34/image_21022025_03_34_46_9442.jpg', '/home/pi/Desktop/images/21022025/03/35/image_21022025_03_35_16_9432.jpg', '/home/pi/Desktop/images/21022025/03/35/image_21022025_03_35_26_10329.jpg', '/home/pi/Desktop/images/21022025/03/35/image_21022025_03_35_36_10337.jpg', '/home/pi/Desktop/images/21022025/03/35/image_21022025_03_35_46_9416.jpg', '/home/pi/Desktop/images/21022025/03/38/image_21022025_03_38_26_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/34/image_21022025_03_34_46_9442.jpg
/home/pi/Desktop/images/21022025/03/35/image_21022025_03_35_16_9432.jpg
/home/pi/Desktop/images/21022025/03/35/image_21022025_03_35_26_10329.jpg
/home/pi/Desktop/images/21022025/03/35/image_21022025_03_35_36_10337.jpg
/home/pi/Desktop/images/21022025/03/35/image_21022025_03_35_46_9416.jpg
/home/pi/Desktop/images/21022025/03/38/image_21022025_03_38_26_9405.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38573336601257324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 06:36:42.998111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/34/image_21022025_03_34_46_9442.jpg', '/home/pi/Desktop/images/21022025/03/35/image_21022025_03_35_16_9432.jpg', '/home/pi/Desktop/images/21022025/03/35/image_21022025_03_35_26_10329.jpg', '/home/pi/Desktop/images/21022025/03/35/image_21022025_03_35_36_10337.jpg', '/home/pi/Desktop/images/21022025/03/35/image_21022025_03_35_46_9416.jpg', '/home/pi/Desktop/images/21022025/03/38/image_21022025_03_38_26_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/34/image_21022025_03_34_46_9442.jpg
/home/pi/Desktop/images/21022025/03/35/image_21022025_03_35_16_9432.jpg
/home/pi/Desktop/images/21022025/03/35/image_21022025_03_35_26_10329.jpg
/home/pi/Desktop/images/21022025/03/35/image_21022025_03_35_36_10337.jpg
/home/pi/Desktop/images/21022025/03/35/image_21022025_03_35_46_9416.jpg
/home/pi/Desktop/images/21022025/03/38/image_21022025_03_38_26_9405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338762392","1338762397","1338762382","1338762376","1338762379","1338762387"],"photo_ids_order":["1338762376","1338762379","1338762382","1338762387","1338762392","1338762397"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c2bfdd5f09c3e52f662f70879ea1409e.jpg","text":"TemporaryFile(/tmp/multipartBody4377082714424994728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116263486,"filename":"image_21022025_03_35_46_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b2211c8619c7e030a56f8546fa471f8.jpg","text":"TemporaryFile(/tmp/multipartBody1130323870030572099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116263486,"filename":"image_21022025_03_38_26_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/512348e5ef9206c471477e810b7d33a0.jpg","text":"TemporaryFile(/tmp/multipartBody2967614068595686690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116263486,"filename":"image_21022025_03_35_26_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8130ea7414ca4da37cec74c5211f488b.jpg","text":"TemporaryFile(/tmp/multipartBody8817700910467683251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116263486,"filename":"image_21022025_03_34_46_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6809722e6c7327ebbf60e900a342b7ac.jpg","text":"TemporaryFile(/tmp/multipartBody4409167657118343316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116263486,"filename":"image_21022025_03_35_16_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/759d8933e2b11b87d1d09b55f0a83e77.jpg","text":"TemporaryFile(/tmp/multipartBody1234005294892288529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116263486,"filename":"image_21022025_03_35_36_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338762382","file1":"1338762379","file0":"1338762376","file4":"1338762392","file5":"1338762397","file3":"1338762387"},"map_files_photo_id_array":[{"photo_id":"1338762397","filename":"file5"},{"photo_id":"1338762382","filename":"file2"},{"photo_id":"1338762392","filename":"file4"},{"photo_id":"1338762379","filename":"file1"},{"photo_id":"1338762376","filename":"file0"},{"photo_id":"1338762387","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338762392":["hashtag1","hashtag2"]},{"1338762397":["hashtag1","hashtag2"]},{"1338762382":["hashtag1","hashtag2"]},{"1338762376":["hashtag1","hashtag2"]},{"1338762379":["hashtag1","hashtag2"]},{"1338762387":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338762392, 1338762397, 1338762382, 1338762376, 1338762379, 1338762387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61766028404236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:37:33.146105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/38/image_21022025_03_38_36_10326.jpg', '/home/pi/Desktop/images/21022025/03/39/image_21022025_03_39_16_10353.jpg', '/home/pi/Desktop/images/21022025/03/39/image_21022025_03_39_26_9413.jpg', '/home/pi/Desktop/images/21022025/03/39/image_21022025_03_39_36_10329.jpg', '/home/pi/Desktop/images/21022025/03/39/image_21022025_03_39_56_10418.jpg', '/home/pi/Desktop/images/21022025/03/40/image_21022025_03_40_26_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/38/image_21022025_03_38_36_10326.jpg
/home/pi/Desktop/images/21022025/03/39/image_21022025_03_39_16_10353.jpg
/home/pi/Desktop/images/21022025/03/39/image_21022025_03_39_26_9413.jpg
/home/pi/Desktop/images/21022025/03/39/image_21022025_03_39_36_10329.jpg
/home/pi/Desktop/images/21022025/03/39/image_21022025_03_39_56_10418.jpg
/home/pi/Desktop/images/21022025/03/40/image_21022025_03_40_26_10325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338762603","1338762606","1338762600","1338762611","1338762608","1338762610"],"photo_ids_order":["1338762600","1338762603","1338762606","1338762608","1338762610","1338762611"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf7c5cfb03491569a79ee0a4fd14c21b.jpg","text":"TemporaryFile(/tmp/multipartBody4097973888042181213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116313618,"filename":"image_21022025_03_39_16_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4275a6af4b2686f7ecbe011c2a4aba7c.jpg","text":"TemporaryFile(/tmp/multipartBody5162658318503814226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116313618,"filename":"image_21022025_03_39_26_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c38303547bab684c58cdcd552008785f.jpg","text":"TemporaryFile(/tmp/multipartBody1377695299147880762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116313618,"filename":"image_21022025_03_38_36_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8718f65dadf2a9a16a7f5f17517369f0.jpg","text":"TemporaryFile(/tmp/multipartBody8609030780373485541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116313618,"filename":"image_21022025_03_40_26_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/903717ebd91b153551bbe98e99fe9894.jpg","text":"TemporaryFile(/tmp/multipartBody2286589540634555598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116313618,"filename":"image_21022025_03_39_36_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9fb3a94910c7a3ad6a191782a4525243.jpg","text":"TemporaryFile(/tmp/multipartBody3573965388394970119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116313618,"filename":"image_21022025_03_39_56_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338762606","file1":"1338762603","file0":"1338762600","file4":"1338762610","file5":"1338762611","file3":"1338762608"},"map_files_photo_id_array":[{"photo_id":"1338762611","filename":"file5"},{"photo_id":"1338762606","filename":"file2"},{"photo_id":"1338762610","filename":"file4"},{"photo_id":"1338762603","filename":"file1"},{"photo_id":"1338762600","filename":"file0"},{"photo_id":"1338762608","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338762603":["hashtag1","hashtag2"]},{"1338762606":["hashtag1","hashtag2"]},{"1338762600":["hashtag1","hashtag2"]},{"1338762611":["hashtag1","hashtag2"]},{"1338762608":["hashtag1","hashtag2"]},{"1338762610":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338762603, 1338762606, 1338762600, 1338762611, 1338762608, 1338762610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.617196559906006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:38:32.258115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/40/image_21022025_03_40_36_10336.jpg', '/home/pi/Desktop/images/21022025/03/41/image_21022025_03_41_16_9385.jpg', '/home/pi/Desktop/images/21022025/03/41/image_21022025_03_41_26_10358.jpg', '/home/pi/Desktop/images/21022025/03/41/image_21022025_03_41_35_9436.jpg', '/home/pi/Desktop/images/21022025/03/41/image_21022025_03_41_56_10331.jpg', '/home/pi/Desktop/images/21022025/03/42/image_21022025_03_42_16_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/40/image_21022025_03_40_36_10336.jpg
/home/pi/Desktop/images/21022025/03/41/image_21022025_03_41_16_9385.jpg
/home/pi/Desktop/images/21022025/03/41/image_21022025_03_41_26_10358.jpg
/home/pi/Desktop/images/21022025/03/41/image_21022025_03_41_35_9436.jpg
/home/pi/Desktop/images/21022025/03/41/image_21022025_03_41_56_10331.jpg
/home/pi/Desktop/images/21022025/03/42/image_21022025_03_42_16_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338762633","1338762621","1338762630","1338762624","1338762635","1338762637"],"photo_ids_order":["1338762621","1338762624","1338762630","1338762633","1338762635","1338762637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4aa23ad91842d9ac0d1eb3f8e704405b.jpg","text":"TemporaryFile(/tmp/multipartBody2867649643602106393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116372721,"filename":"image_21022025_03_41_35_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/acd9b8d5bf73263c453cd2994d6f46aa.jpg","text":"TemporaryFile(/tmp/multipartBody9062548523286184788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116372721,"filename":"image_21022025_03_40_36_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4774fa287954bbfd56c30fb1f78d8c47.jpg","text":"TemporaryFile(/tmp/multipartBody7648018560117356596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116372721,"filename":"image_21022025_03_41_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e555229c37281c5b4d0ee5b55640fb17.jpg","text":"TemporaryFile(/tmp/multipartBody9028598225765422762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116372721,"filename":"image_21022025_03_41_16_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0eed222c003b741733f58645ac6664e2.jpg","text":"TemporaryFile(/tmp/multipartBody4306237027037356852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116372721,"filename":"image_21022025_03_41_56_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/144cb4b54b4943297afb91050853244d.jpg","text":"TemporaryFile(/tmp/multipartBody5499845606629995971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116372721,"filename":"image_21022025_03_42_16_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338762630","file1":"1338762624","file0":"1338762621","file4":"1338762635","file5":"1338762637","file3":"1338762633"},"map_files_photo_id_array":[{"photo_id":"1338762637","filename":"file5"},{"photo_id":"1338762630","filename":"file2"},{"photo_id":"1338762635","filename":"file4"},{"photo_id":"1338762624","filename":"file1"},{"photo_id":"1338762621","filename":"file0"},{"photo_id":"1338762633","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338762633":["hashtag1","hashtag2"]},{"1338762621":["hashtag1","hashtag2"]},{"1338762630":["hashtag1","hashtag2"]},{"1338762624":["hashtag1","hashtag2"]},{"1338762635":["hashtag1","hashtag2"]},{"1338762637":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338762633, 1338762621, 1338762630, 1338762624, 1338762635, 1338762637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90334892272949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:39:32.457919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/42/image_21022025_03_42_26_10334.jpg', '/home/pi/Desktop/images/21022025/03/42/image_21022025_03_42_36_9440.jpg', '/home/pi/Desktop/images/21022025/03/42/image_21022025_03_42_46_10326.jpg', '/home/pi/Desktop/images/21022025/03/43/image_21022025_03_43_16_10330.jpg', '/home/pi/Desktop/images/21022025/03/43/image_21022025_03_43_26_10333.jpg', '/home/pi/Desktop/images/21022025/03/43/image_21022025_03_43_36_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/42/image_21022025_03_42_26_10334.jpg
/home/pi/Desktop/images/21022025/03/42/image_21022025_03_42_36_9440.jpg
/home/pi/Desktop/images/21022025/03/42/image_21022025_03_42_46_10326.jpg
/home/pi/Desktop/images/21022025/03/43/image_21022025_03_43_16_10330.jpg
/home/pi/Desktop/images/21022025/03/43/image_21022025_03_43_26_10333.jpg
/home/pi/Desktop/images/21022025/03/43/image_21022025_03_43_36_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338762695","1338762689","1338762698","1338762697","1338762664","1338762693"],"photo_ids_order":["1338762664","1338762689","1338762693","1338762695","1338762697","1338762698"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b6d60d141204e52233417a101743b0bd.jpg","text":"TemporaryFile(/tmp/multipartBody3809309405471646219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116432932,"filename":"image_21022025_03_43_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4602d2e6bbd1ffadb526a0d91ba5d863.jpg","text":"TemporaryFile(/tmp/multipartBody2192004945929188574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116432932,"filename":"image_21022025_03_42_36_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d65c32422e0dc272ea9e6b2109fe8610.jpg","text":"TemporaryFile(/tmp/multipartBody665575203725942906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116432932,"filename":"image_21022025_03_43_36_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/21d0bbdfb68c13502e03d9aad8a6cb11.jpg","text":"TemporaryFile(/tmp/multipartBody151185916271160697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116432932,"filename":"image_21022025_03_43_26_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d8a28459e1bb4a3229607eaf5a2644d.jpg","text":"TemporaryFile(/tmp/multipartBody1992874192173258683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116432932,"filename":"image_21022025_03_42_26_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23a5e59ebfde8749aeff8b511468f7cf.jpg","text":"TemporaryFile(/tmp/multipartBody2123295968646708353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116432932,"filename":"image_21022025_03_42_46_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338762693","file1":"1338762689","file0":"1338762664","file4":"1338762697","file5":"1338762698","file3":"1338762695"},"map_files_photo_id_array":[{"photo_id":"1338762698","filename":"file5"},{"photo_id":"1338762693","filename":"file2"},{"photo_id":"1338762697","filename":"file4"},{"photo_id":"1338762689","filename":"file1"},{"photo_id":"1338762664","filename":"file0"},{"photo_id":"1338762695","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338762695":["hashtag1","hashtag2"]},{"1338762689":["hashtag1","hashtag2"]},{"1338762698":["hashtag1","hashtag2"]},{"1338762697":["hashtag1","hashtag2"]},{"1338762664":["hashtag1","hashtag2"]},{"1338762693":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338762695, 1338762689, 1338762698, 1338762697, 1338762664, 1338762693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71948504447937 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:40:32.524126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/43/image_21022025_03_43_46_10324.jpg', '/home/pi/Desktop/images/21022025/03/43/image_21022025_03_44_06_9412.jpg', '/home/pi/Desktop/images/21022025/03/44/image_21022025_03_44_16_10343.jpg', '/home/pi/Desktop/images/21022025/03/44/image_21022025_03_44_26_9461.jpg', '/home/pi/Desktop/images/21022025/03/44/image_21022025_03_44_36_10377.jpg', '/home/pi/Desktop/images/21022025/03/44/image_21022025_03_44_46_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/43/image_21022025_03_43_46_10324.jpg
/home/pi/Desktop/images/21022025/03/43/image_21022025_03_44_06_9412.jpg
/home/pi/Desktop/images/21022025/03/44/image_21022025_03_44_16_10343.jpg
/home/pi/Desktop/images/21022025/03/44/image_21022025_03_44_26_9461.jpg
/home/pi/Desktop/images/21022025/03/44/image_21022025_03_44_36_10377.jpg
/home/pi/Desktop/images/21022025/03/44/image_21022025_03_44_46_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338762732","1338762723","1338762731","1338762721","1338762718","1338762715"],"photo_ids_order":["1338762715","1338762718","1338762721","1338762723","1338762731","1338762732"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e87e38dc36748b514d03c88b37f50eee.jpg","text":"TemporaryFile(/tmp/multipartBody8578032921221380828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116493009,"filename":"image_21022025_03_44_46_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3ac50ea5376261637cb8d65ab7b78135.jpg","text":"TemporaryFile(/tmp/multipartBody7115044433437783951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116493009,"filename":"image_21022025_03_44_26_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8bdc8b5323db980292573fe1db847919.jpg","text":"TemporaryFile(/tmp/multipartBody7669624913819737125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116493009,"filename":"image_21022025_03_44_36_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f666bf0f2d50eae9eddb0228fe1cf533.jpg","text":"TemporaryFile(/tmp/multipartBody5218298132582816074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116493009,"filename":"image_21022025_03_44_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/af7306919fc972bc607096f35ffdc60b.jpg","text":"TemporaryFile(/tmp/multipartBody5628116365668988920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116493009,"filename":"image_21022025_03_44_06_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f9e0604355cefe9706811a53084f3f7c.jpg","text":"TemporaryFile(/tmp/multipartBody4544183940130159700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116493009,"filename":"image_21022025_03_43_46_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338762721","file1":"1338762718","file0":"1338762715","file4":"1338762731","file5":"1338762732","file3":"1338762723"},"map_files_photo_id_array":[{"photo_id":"1338762732","filename":"file5"},{"photo_id":"1338762721","filename":"file2"},{"photo_id":"1338762731","filename":"file4"},{"photo_id":"1338762718","filename":"file1"},{"photo_id":"1338762715","filename":"file0"},{"photo_id":"1338762723","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338762732":["hashtag1","hashtag2"]},{"1338762723":["hashtag1","hashtag2"]},{"1338762731":["hashtag1","hashtag2"]},{"1338762721":["hashtag1","hashtag2"]},{"1338762718":["hashtag1","hashtag2"]},{"1338762715":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338762732, 1338762723, 1338762731, 1338762721, 1338762718, 1338762715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.552786350250244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:41:32.793925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/44/image_21022025_03_44_56_9416.jpg', '/home/pi/Desktop/images/21022025/03/45/image_21022025_03_45_26_10414.jpg', '/home/pi/Desktop/images/21022025/03/45/image_21022025_03_45_36_10419.jpg', '/home/pi/Desktop/images/21022025/03/45/image_21022025_03_45_46_9342.jpg', '/home/pi/Desktop/images/21022025/03/46/image_21022025_03_46_16_9410.jpg', '/home/pi/Desktop/images/21022025/03/46/image_21022025_03_46_26_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/44/image_21022025_03_44_56_9416.jpg
/home/pi/Desktop/images/21022025/03/45/image_21022025_03_45_26_10414.jpg
/home/pi/Desktop/images/21022025/03/45/image_21022025_03_45_36_10419.jpg
/home/pi/Desktop/images/21022025/03/45/image_21022025_03_45_46_9342.jpg
/home/pi/Desktop/images/21022025/03/46/image_21022025_03_46_16_9410.jpg
/home/pi/Desktop/images/21022025/03/46/image_21022025_03_46_26_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338762741","1338762746","1338762749","1338762748","1338762751","1338762744"],"photo_ids_order":["1338762741","1338762744","1338762746","1338762748","1338762749","1338762751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac510e0f6cbd96d9054ce64c53281da2.jpg","text":"TemporaryFile(/tmp/multipartBody4561317828421233901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116553271,"filename":"image_21022025_03_44_56_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dc0f8235ef75221e87f47133e86d7664.jpg","text":"TemporaryFile(/tmp/multipartBody8859063101181968178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116553271,"filename":"image_21022025_03_45_36_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8686bbb102516e910e16cd916fc912b7.jpg","text":"TemporaryFile(/tmp/multipartBody7413082688441654161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116553271,"filename":"image_21022025_03_46_16_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8be397286f08d1386212a99516d643d5.jpg","text":"TemporaryFile(/tmp/multipartBody7382536150796171018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116553271,"filename":"image_21022025_03_45_46_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d85456da37b1b7004f5aab5e3bf0c69e.jpg","text":"TemporaryFile(/tmp/multipartBody1984912371303998501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116553271,"filename":"image_21022025_03_46_26_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9b5847e39b7622eb69fbe439950dea2f.jpg","text":"TemporaryFile(/tmp/multipartBody7620723551786988262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116553271,"filename":"image_21022025_03_45_26_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338762746","file1":"1338762744","file0":"1338762741","file4":"1338762749","file5":"1338762751","file3":"1338762748"},"map_files_photo_id_array":[{"photo_id":"1338762751","filename":"file5"},{"photo_id":"1338762746","filename":"file2"},{"photo_id":"1338762749","filename":"file4"},{"photo_id":"1338762744","filename":"file1"},{"photo_id":"1338762741","filename":"file0"},{"photo_id":"1338762748","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338762741":["hashtag1","hashtag2"]},{"1338762746":["hashtag1","hashtag2"]},{"1338762749":["hashtag1","hashtag2"]},{"1338762748":["hashtag1","hashtag2"]},{"1338762751":["hashtag1","hashtag2"]},{"1338762744":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338762741, 1338762746, 1338762749, 1338762748, 1338762751, 1338762744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63602948188782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:42:33.161433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/46/image_21022025_03_46_46_10410.jpg', '/home/pi/Desktop/images/21022025/03/46/image_21022025_03_46_56_9436.jpg', '/home/pi/Desktop/images/21022025/03/47/image_21022025_03_47_36_10322.jpg', '/home/pi/Desktop/images/21022025/03/48/image_21022025_03_49_05_9415.jpg', '/home/pi/Desktop/images/21022025/03/49/image_21022025_03_49_16_10346.jpg', '/home/pi/Desktop/images/21022025/03/49/image_21022025_03_49_26_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/46/image_21022025_03_46_46_10410.jpg
/home/pi/Desktop/images/21022025/03/46/image_21022025_03_46_56_9436.jpg
/home/pi/Desktop/images/21022025/03/47/image_21022025_03_47_36_10322.jpg
/home/pi/Desktop/images/21022025/03/48/image_21022025_03_49_05_9415.jpg
/home/pi/Desktop/images/21022025/03/49/image_21022025_03_49_16_10346.jpg
/home/pi/Desktop/images/21022025/03/49/image_21022025_03_49_26_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338762872","1338762911","1338762908","1338762883","1338762876","1338762885"],"photo_ids_order":["1338762872","1338762876","1338762883","1338762885","1338762908","1338762911"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae3e9f5bf9b66b2f072697c5d9993533.jpg","text":"TemporaryFile(/tmp/multipartBody5693103249441263198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116613624,"filename":"image_21022025_03_46_46_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5eea282201661baa0531070d0be3f3f8.jpg","text":"TemporaryFile(/tmp/multipartBody5929281394639267875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116613624,"filename":"image_21022025_03_49_26_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c56d750d9a00764acfa9354289eccf28.jpg","text":"TemporaryFile(/tmp/multipartBody2277446849677811572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116613624,"filename":"image_21022025_03_49_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4126e0fb8885d83c53b202e54a7a50dd.jpg","text":"TemporaryFile(/tmp/multipartBody3719179655261958634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116613624,"filename":"image_21022025_03_47_36_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bcc0f619e51c23798af263c9df7191e7.jpg","text":"TemporaryFile(/tmp/multipartBody6143708344630675094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116613624,"filename":"image_21022025_03_46_56_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd3f4f28057ee00a7996e34031131f0a.jpg","text":"TemporaryFile(/tmp/multipartBody6195919653392005167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116613624,"filename":"image_21022025_03_49_05_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338762883","file1":"1338762876","file0":"1338762872","file4":"1338762908","file5":"1338762911","file3":"1338762885"},"map_files_photo_id_array":[{"photo_id":"1338762911","filename":"file5"},{"photo_id":"1338762883","filename":"file2"},{"photo_id":"1338762908","filename":"file4"},{"photo_id":"1338762876","filename":"file1"},{"photo_id":"1338762872","filename":"file0"},{"photo_id":"1338762885","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338762872":["hashtag1","hashtag2"]},{"1338762911":["hashtag1","hashtag2"]},{"1338762908":["hashtag1","hashtag2"]},{"1338762883":["hashtag1","hashtag2"]},{"1338762876":["hashtag1","hashtag2"]},{"1338762885":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338762872, 1338762911, 1338762908, 1338762883, 1338762876, 1338762885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.594858169555664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:43:32.104363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/49/image_21022025_03_49_35_9328.jpg', '/home/pi/Desktop/images/21022025/03/50/image_21022025_03_50_26_10366.jpg', '/home/pi/Desktop/images/21022025/03/50/image_21022025_03_50_36_9380.jpg', '/home/pi/Desktop/images/21022025/03/50/image_21022025_03_50_46_10334.jpg', '/home/pi/Desktop/images/21022025/03/51/image_21022025_03_51_26_10343.jpg', '/home/pi/Desktop/images/21022025/03/51/image_21022025_03_51_36_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/49/image_21022025_03_49_35_9328.jpg
/home/pi/Desktop/images/21022025/03/50/image_21022025_03_50_26_10366.jpg
/home/pi/Desktop/images/21022025/03/50/image_21022025_03_50_36_9380.jpg
/home/pi/Desktop/images/21022025/03/50/image_21022025_03_50_46_10334.jpg
/home/pi/Desktop/images/21022025/03/51/image_21022025_03_51_26_10343.jpg
/home/pi/Desktop/images/21022025/03/51/image_21022025_03_51_36_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338762939","1338762930","1338762927","1338762935","1338762938","1338762932"],"photo_ids_order":["1338762927","1338762930","1338762932","1338762935","1338762938","1338762939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a94e4e7a6ce6690e015c87a0c74bc38.jpg","text":"TemporaryFile(/tmp/multipartBody4032482186135052101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116672596,"filename":"image_21022025_03_51_36_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74cd05b0bca56ec59b63a3a6cf723cfc.jpg","text":"TemporaryFile(/tmp/multipartBody5148366615894402405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116672596,"filename":"image_21022025_03_50_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/633a0069c134754b4062e02899d9a3d7.jpg","text":"TemporaryFile(/tmp/multipartBody4770761657105573153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116672596,"filename":"image_21022025_03_49_35_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/da29830f575d5b87d6a4081b4a0e8787.jpg","text":"TemporaryFile(/tmp/multipartBody4735462601462473687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116672596,"filename":"image_21022025_03_50_46_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c0926045b0bc191697308391bd9a174.jpg","text":"TemporaryFile(/tmp/multipartBody7880121933103413473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116672596,"filename":"image_21022025_03_51_26_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/589b7fc246e1b4dec9b8172303bc38c6.jpg","text":"TemporaryFile(/tmp/multipartBody7186062404557249499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116672596,"filename":"image_21022025_03_50_36_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338762932","file1":"1338762930","file0":"1338762927","file4":"1338762938","file5":"1338762939","file3":"1338762935"},"map_files_photo_id_array":[{"photo_id":"1338762939","filename":"file5"},{"photo_id":"1338762932","filename":"file2"},{"photo_id":"1338762938","filename":"file4"},{"photo_id":"1338762930","filename":"file1"},{"photo_id":"1338762927","filename":"file0"},{"photo_id":"1338762935","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338762939":["hashtag1","hashtag2"]},{"1338762930":["hashtag1","hashtag2"]},{"1338762927":["hashtag1","hashtag2"]},{"1338762935":["hashtag1","hashtag2"]},{"1338762938":["hashtag1","hashtag2"]},{"1338762932":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338762939, 1338762930, 1338762927, 1338762935, 1338762938, 1338762932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1599702835083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:44:32.292131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/51/image_21022025_03_51_46_10423.jpg', '/home/pi/Desktop/images/21022025/03/51/image_21022025_03_51_56_10373.jpg', '/home/pi/Desktop/images/21022025/03/52/image_21022025_03_52_16_10326.jpg', '/home/pi/Desktop/images/21022025/03/52/image_21022025_03_52_46_10337.jpg', '/home/pi/Desktop/images/21022025/03/52/image_21022025_03_52_56_9539.jpg', '/home/pi/Desktop/images/21022025/03/52/image_21022025_03_53_06_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/51/image_21022025_03_51_46_10423.jpg
/home/pi/Desktop/images/21022025/03/51/image_21022025_03_51_56_10373.jpg
/home/pi/Desktop/images/21022025/03/52/image_21022025_03_52_16_10326.jpg
/home/pi/Desktop/images/21022025/03/52/image_21022025_03_52_46_10337.jpg
/home/pi/Desktop/images/21022025/03/52/image_21022025_03_52_56_9539.jpg
/home/pi/Desktop/images/21022025/03/52/image_21022025_03_53_06_10400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338762966","1338762962","1338762956","1338762958","1338762949","1338762960"],"photo_ids_order":["1338762949","1338762956","1338762958","1338762960","1338762962","1338762966"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/27e534a8d307d75b5cc15d4280ab78ec.jpg","text":"TemporaryFile(/tmp/multipartBody2866180893048598235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116732772,"filename":"image_21022025_03_53_06_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/380c2998335655ecac2a339cfd3635a5.jpg","text":"TemporaryFile(/tmp/multipartBody2990414898934965898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116732772,"filename":"image_21022025_03_52_56_9539.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b85701c3539d64664b05c037bdf6d417.jpg","text":"TemporaryFile(/tmp/multipartBody882819532265350701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116732772,"filename":"image_21022025_03_51_56_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6566fde7e9eca332243bc960c70940e3.jpg","text":"TemporaryFile(/tmp/multipartBody8806783346547503914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116732772,"filename":"image_21022025_03_52_16_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/01068286161aaee08eee2f35d9660228.jpg","text":"TemporaryFile(/tmp/multipartBody8612004230334052663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116732772,"filename":"image_21022025_03_51_46_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1e385ba1dad9f6aa0ba9b295c0bd088.jpg","text":"TemporaryFile(/tmp/multipartBody3816687482058754859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116732772,"filename":"image_21022025_03_52_46_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338762958","file1":"1338762956","file0":"1338762949","file4":"1338762962","file5":"1338762966","file3":"1338762960"},"map_files_photo_id_array":[{"photo_id":"1338762966","filename":"file5"},{"photo_id":"1338762958","filename":"file2"},{"photo_id":"1338762962","filename":"file4"},{"photo_id":"1338762956","filename":"file1"},{"photo_id":"1338762949","filename":"file0"},{"photo_id":"1338762960","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338762966":["hashtag1","hashtag2"]},{"1338762962":["hashtag1","hashtag2"]},{"1338762956":["hashtag1","hashtag2"]},{"1338762958":["hashtag1","hashtag2"]},{"1338762949":["hashtag1","hashtag2"]},{"1338762960":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338762966, 1338762962, 1338762956, 1338762958, 1338762949, 1338762960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.447227239608765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:45:32.482311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/53/image_21022025_03_53_26_10335.jpg', '/home/pi/Desktop/images/21022025/03/53/image_21022025_03_53_36_10332.jpg', '/home/pi/Desktop/images/21022025/03/53/image_21022025_03_53_56_10327.jpg', '/home/pi/Desktop/images/21022025/03/53/image_21022025_03_54_06_9486.jpg', '/home/pi/Desktop/images/21022025/03/54/image_21022025_03_54_16_10365.jpg', '/home/pi/Desktop/images/21022025/03/54/image_21022025_03_54_26_10318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/53/image_21022025_03_53_26_10335.jpg
/home/pi/Desktop/images/21022025/03/53/image_21022025_03_53_36_10332.jpg
/home/pi/Desktop/images/21022025/03/53/image_21022025_03_53_56_10327.jpg
/home/pi/Desktop/images/21022025/03/53/image_21022025_03_54_06_9486.jpg
/home/pi/Desktop/images/21022025/03/54/image_21022025_03_54_16_10365.jpg
/home/pi/Desktop/images/21022025/03/54/image_21022025_03_54_26_10318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338763017","1338763001","1338762994","1338763012","1338763021","1338762996"],"photo_ids_order":["1338762994","1338762996","1338763001","1338763012","1338763017","1338763021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c7d0fd821d05c3bb2611682f93167960.jpg","text":"TemporaryFile(/tmp/multipartBody436434571643802187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116792956,"filename":"image_21022025_03_54_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2f6370a86df1b1ff5a93e9c9f3d92b18.jpg","text":"TemporaryFile(/tmp/multipartBody6960452457430392829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116792956,"filename":"image_21022025_03_53_56_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c53b47fa6763f36f47f85aad8c9057d0.jpg","text":"TemporaryFile(/tmp/multipartBody7947310158460988359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116792956,"filename":"image_21022025_03_53_26_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/40f74fa30a8066abc2433ea7db8bd6f0.jpg","text":"TemporaryFile(/tmp/multipartBody4410915945838970329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116792956,"filename":"image_21022025_03_54_06_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4107cbd21a31646a70bb0f66b975f33.jpg","text":"TemporaryFile(/tmp/multipartBody883835379476940434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116792956,"filename":"image_21022025_03_54_26_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/157274536a90f3fc0ef3910b5fc297eb.jpg","text":"TemporaryFile(/tmp/multipartBody8557860830745180784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116792956,"filename":"image_21022025_03_53_36_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338763001","file1":"1338762996","file0":"1338762994","file4":"1338763017","file5":"1338763021","file3":"1338763012"},"map_files_photo_id_array":[{"photo_id":"1338763021","filename":"file5"},{"photo_id":"1338763001","filename":"file2"},{"photo_id":"1338763017","filename":"file4"},{"photo_id":"1338762996","filename":"file1"},{"photo_id":"1338762994","filename":"file0"},{"photo_id":"1338763012","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338763017":["hashtag1","hashtag2"]},{"1338763001":["hashtag1","hashtag2"]},{"1338762994":["hashtag1","hashtag2"]},{"1338763012":["hashtag1","hashtag2"]},{"1338763021":["hashtag1","hashtag2"]},{"1338762996":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338763017, 1338763001, 1338762994, 1338763012, 1338763021, 1338762996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87802171707153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:46:32.573487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/54/image_21022025_03_54_46_10334.jpg', '/home/pi/Desktop/images/21022025/03/54/image_21022025_03_54_56_10358.jpg', '/home/pi/Desktop/images/21022025/03/54/image_21022025_03_55_06_9321.jpg', '/home/pi/Desktop/images/21022025/03/55/image_21022025_03_55_16_10319.jpg', '/home/pi/Desktop/images/21022025/03/55/image_21022025_03_55_26_10337.jpg', '/home/pi/Desktop/images/21022025/03/55/image_21022025_03_55_56_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/54/image_21022025_03_54_46_10334.jpg
/home/pi/Desktop/images/21022025/03/54/image_21022025_03_54_56_10358.jpg
/home/pi/Desktop/images/21022025/03/54/image_21022025_03_55_06_9321.jpg
/home/pi/Desktop/images/21022025/03/55/image_21022025_03_55_16_10319.jpg
/home/pi/Desktop/images/21022025/03/55/image_21022025_03_55_26_10337.jpg
/home/pi/Desktop/images/21022025/03/55/image_21022025_03_55_56_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338763103","1338763112","1338763039","1338763042","1338763102","1338763104"],"photo_ids_order":["1338763039","1338763042","1338763102","1338763103","1338763104","1338763112"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a0774cbe351f4315d54fba1806d3be07.jpg","text":"TemporaryFile(/tmp/multipartBody28102884927679834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116853065,"filename":"image_21022025_03_55_16_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1df404ce61dd8ad6c6d9a95c678231b.jpg","text":"TemporaryFile(/tmp/multipartBody7582932190518964628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116853065,"filename":"image_21022025_03_55_56_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8ac235339a36d8d2cc5c4b0d83740472.jpg","text":"TemporaryFile(/tmp/multipartBody2843490998894181945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116853065,"filename":"image_21022025_03_54_46_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8597592ebce5f92962a0b25e23c85f58.jpg","text":"TemporaryFile(/tmp/multipartBody7402130298298914200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116853065,"filename":"image_21022025_03_54_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/225dc63dd60a138afd413045ec566043.jpg","text":"TemporaryFile(/tmp/multipartBody3931441553448058064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116853065,"filename":"image_21022025_03_55_06_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/794a6bf0f7482c3d796ee5d4d0ed1522.jpg","text":"TemporaryFile(/tmp/multipartBody1407499906962017245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116853065,"filename":"image_21022025_03_55_26_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338763102","file1":"1338763042","file0":"1338763039","file4":"1338763104","file5":"1338763112","file3":"1338763103"},"map_files_photo_id_array":[{"photo_id":"1338763112","filename":"file5"},{"photo_id":"1338763102","filename":"file2"},{"photo_id":"1338763104","filename":"file4"},{"photo_id":"1338763042","filename":"file1"},{"photo_id":"1338763039","filename":"file0"},{"photo_id":"1338763103","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338763103":["hashtag1","hashtag2"]},{"1338763112":["hashtag1","hashtag2"]},{"1338763039":["hashtag1","hashtag2"]},{"1338763042":["hashtag1","hashtag2"]},{"1338763102":["hashtag1","hashtag2"]},{"1338763104":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338763103, 1338763112, 1338763039, 1338763042, 1338763102, 1338763104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3007538318634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:47:32.830752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/56/image_21022025_03_56_26_9435.jpg', '/home/pi/Desktop/images/21022025/03/56/image_21022025_03_56_36_10351.jpg', '/home/pi/Desktop/images/21022025/03/56/image_21022025_03_56_46_10363.jpg', '/home/pi/Desktop/images/21022025/03/56/image_21022025_03_56_56_9343.jpg', '/home/pi/Desktop/images/21022025/03/56/image_21022025_03_57_06_10408.jpg', '/home/pi/Desktop/images/21022025/03/57/image_21022025_03_57_16_9454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/56/image_21022025_03_56_26_9435.jpg
/home/pi/Desktop/images/21022025/03/56/image_21022025_03_56_36_10351.jpg
/home/pi/Desktop/images/21022025/03/56/image_21022025_03_56_46_10363.jpg
/home/pi/Desktop/images/21022025/03/56/image_21022025_03_56_56_9343.jpg
/home/pi/Desktop/images/21022025/03/56/image_21022025_03_57_06_10408.jpg
/home/pi/Desktop/images/21022025/03/57/image_21022025_03_57_16_9454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338763151","1338763145","1338763142","1338763147","1338763149","1338763152"],"photo_ids_order":["1338763142","1338763145","1338763147","1338763149","1338763151","1338763152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b20271b0dd7c203931506daf1bfb443.jpg","text":"TemporaryFile(/tmp/multipartBody8868776279631173292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116913313,"filename":"image_21022025_03_57_06_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/18d59fe6cbd63532b0ca957d56272c27.jpg","text":"TemporaryFile(/tmp/multipartBody5238318883993427775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116913313,"filename":"image_21022025_03_56_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/93fd5a0d963cee1969d02905f8a8f8bc.jpg","text":"TemporaryFile(/tmp/multipartBody8680060408815084590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116913313,"filename":"image_21022025_03_56_26_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5111f853c985cb84df9097f235b0a0ca.jpg","text":"TemporaryFile(/tmp/multipartBody8424182174823382446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116913313,"filename":"image_21022025_03_56_46_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c36c02c9a3d434354780af9ceba209f8.jpg","text":"TemporaryFile(/tmp/multipartBody1499887967757456299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116913313,"filename":"image_21022025_03_56_56_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3434c08f95069eb8a99faa5673323d7e.jpg","text":"TemporaryFile(/tmp/multipartBody7326148460018637579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116913313,"filename":"image_21022025_03_57_16_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338763147","file1":"1338763145","file0":"1338763142","file4":"1338763151","file5":"1338763152","file3":"1338763149"},"map_files_photo_id_array":[{"photo_id":"1338763152","filename":"file5"},{"photo_id":"1338763147","filename":"file2"},{"photo_id":"1338763151","filename":"file4"},{"photo_id":"1338763145","filename":"file1"},{"photo_id":"1338763142","filename":"file0"},{"photo_id":"1338763149","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338763151":["hashtag1","hashtag2"]},{"1338763145":["hashtag1","hashtag2"]},{"1338763142":["hashtag1","hashtag2"]},{"1338763147":["hashtag1","hashtag2"]},{"1338763149":["hashtag1","hashtag2"]},{"1338763152":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338763151, 1338763145, 1338763142, 1338763147, 1338763149, 1338763152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01269507408142 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:48:33.107836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/57/image_21022025_03_57_26_10344.jpg', '/home/pi/Desktop/images/21022025/03/57/image_21022025_03_57_36_10327.jpg', '/home/pi/Desktop/images/21022025/03/57/image_21022025_03_57_46_9355.jpg', '/home/pi/Desktop/images/21022025/03/57/image_21022025_03_57_56_10340.jpg', '/home/pi/Desktop/images/21022025/03/57/image_21022025_03_58_06_10350.jpg', '/home/pi/Desktop/images/21022025/03/58/image_21022025_03_58_26_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/57/image_21022025_03_57_26_10344.jpg
/home/pi/Desktop/images/21022025/03/57/image_21022025_03_57_36_10327.jpg
/home/pi/Desktop/images/21022025/03/57/image_21022025_03_57_46_9355.jpg
/home/pi/Desktop/images/21022025/03/57/image_21022025_03_57_56_10340.jpg
/home/pi/Desktop/images/21022025/03/57/image_21022025_03_58_06_10350.jpg
/home/pi/Desktop/images/21022025/03/58/image_21022025_03_58_26_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338763209","1338763202","1338763174","1338763183","1338763177","1338763176"],"photo_ids_order":["1338763174","1338763176","1338763177","1338763183","1338763202","1338763209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c2621578a40413fc329d4837fea269e7.jpg","text":"TemporaryFile(/tmp/multipartBody5094331715791769227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116973579,"filename":"image_21022025_03_58_26_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/050103827f367064ca0d517084bd74a2.jpg","text":"TemporaryFile(/tmp/multipartBody3419149896552818670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116973579,"filename":"image_21022025_03_58_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/266b4cbb60f8efee1d9129b6299b65b0.jpg","text":"TemporaryFile(/tmp/multipartBody2601599300066224818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116973579,"filename":"image_21022025_03_57_26_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e119d65b67ab8b0874f44b10e772da58.jpg","text":"TemporaryFile(/tmp/multipartBody6421267252726636600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116973579,"filename":"image_21022025_03_57_56_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a16c765103ca067a9affab67a26ca2e.jpg","text":"TemporaryFile(/tmp/multipartBody6831790036394064017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116973579,"filename":"image_21022025_03_57_46_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3e40d1366a5547d797642efeb2db06be.jpg","text":"TemporaryFile(/tmp/multipartBody45401011200678902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740116973579,"filename":"image_21022025_03_57_36_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338763177","file1":"1338763176","file0":"1338763174","file4":"1338763202","file5":"1338763209","file3":"1338763183"},"map_files_photo_id_array":[{"photo_id":"1338763209","filename":"file5"},{"photo_id":"1338763177","filename":"file2"},{"photo_id":"1338763202","filename":"file4"},{"photo_id":"1338763176","filename":"file1"},{"photo_id":"1338763174","filename":"file0"},{"photo_id":"1338763183","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338763209":["hashtag1","hashtag2"]},{"1338763202":["hashtag1","hashtag2"]},{"1338763174":["hashtag1","hashtag2"]},{"1338763183":["hashtag1","hashtag2"]},{"1338763177":["hashtag1","hashtag2"]},{"1338763176":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338763209, 1338763202, 1338763174, 1338763183, 1338763177, 1338763176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60163402557373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:49:32.214770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/03/58/image_21022025_03_58_36_10328.jpg', '/home/pi/Desktop/images/21022025/03/58/image_21022025_03_58_46_9411.jpg', '/home/pi/Desktop/images/21022025/03/59/image_21022025_03_59_46_10360.jpg', '/home/pi/Desktop/images/21022025/03/59/image_21022025_03_59_56_9429.jpg', '/home/pi/Desktop/images/21022025/04/00/image_21022025_04_00_15_10060.jpg', '/home/pi/Desktop/images/21022025/04/00/image_21022025_04_00_26_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/03/58/image_21022025_03_58_36_10328.jpg
/home/pi/Desktop/images/21022025/03/58/image_21022025_03_58_46_9411.jpg
/home/pi/Desktop/images/21022025/03/59/image_21022025_03_59_46_10360.jpg
/home/pi/Desktop/images/21022025/03/59/image_21022025_03_59_56_9429.jpg
/home/pi/Desktop/images/21022025/04/00/image_21022025_04_00_15_10060.jpg
/home/pi/Desktop/images/21022025/04/00/image_21022025_04_00_26_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338763244","1338763240","1338763242","1338763221","1338763245","1338763230"],"photo_ids_order":["1338763221","1338763230","1338763240","1338763242","1338763244","1338763245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f52c375d2117a9c6303d51e2000738da.jpg","text":"TemporaryFile(/tmp/multipartBody8256884074801765887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117032694,"filename":"image_21022025_04_00_15_10060.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9fc415edd324773891f2cc86a86a7160.jpg","text":"TemporaryFile(/tmp/multipartBody4355644469676471800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117032694,"filename":"image_21022025_03_59_46_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a06184b7db3b0c2d81f7f0ed81648358.jpg","text":"TemporaryFile(/tmp/multipartBody545878132310319965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117032694,"filename":"image_21022025_03_59_56_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5a15cf8af95e68c74660fa76f7271baf.jpg","text":"TemporaryFile(/tmp/multipartBody65187776956780244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117032694,"filename":"image_21022025_03_58_36_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c4d8f1b6926b9feaf070db4e1951b12.jpg","text":"TemporaryFile(/tmp/multipartBody7229050184299421403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117032694,"filename":"image_21022025_04_00_26_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eefec9836a0b0b6a116870cc9880ed61.jpg","text":"TemporaryFile(/tmp/multipartBody6284276501671126716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117032694,"filename":"image_21022025_03_58_46_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338763240","file1":"1338763230","file0":"1338763221","file4":"1338763244","file5":"1338763245","file3":"1338763242"},"map_files_photo_id_array":[{"photo_id":"1338763245","filename":"file5"},{"photo_id":"1338763240","filename":"file2"},{"photo_id":"1338763244","filename":"file4"},{"photo_id":"1338763230","filename":"file1"},{"photo_id":"1338763221","filename":"file0"},{"photo_id":"1338763242","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338763244":["hashtag1","hashtag2"]},{"1338763240":["hashtag1","hashtag2"]},{"1338763242":["hashtag1","hashtag2"]},{"1338763221":["hashtag1","hashtag2"]},{"1338763245":["hashtag1","hashtag2"]},{"1338763230":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338763244, 1338763240, 1338763242, 1338763221, 1338763245, 1338763230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33640480041504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:50:32.368194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/00/image_21022025_04_00_36_10362.jpg', '/home/pi/Desktop/images/21022025/04/00/image_21022025_04_00_46_9527.jpg', '/home/pi/Desktop/images/21022025/04/00/image_21022025_04_00_56_10324.jpg', '/home/pi/Desktop/images/21022025/04/00/image_21022025_04_01_06_10351.jpg', '/home/pi/Desktop/images/21022025/04/01/image_21022025_04_01_16_9379.jpg', '/home/pi/Desktop/images/21022025/04/01/image_21022025_04_01_26_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/00/image_21022025_04_00_36_10362.jpg
/home/pi/Desktop/images/21022025/04/00/image_21022025_04_00_46_9527.jpg
/home/pi/Desktop/images/21022025/04/00/image_21022025_04_00_56_10324.jpg
/home/pi/Desktop/images/21022025/04/00/image_21022025_04_01_06_10351.jpg
/home/pi/Desktop/images/21022025/04/01/image_21022025_04_01_16_9379.jpg
/home/pi/Desktop/images/21022025/04/01/image_21022025_04_01_26_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338763262","1338763265","1338763260","1338763254","1338763257","1338763251"],"photo_ids_order":["1338763251","1338763254","1338763257","1338763260","1338763262","1338763265"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3abb6230faa6fac36e9ac0e8bbe41b5.jpg","text":"TemporaryFile(/tmp/multipartBody2160032951926834114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117092845,"filename":"image_21022025_04_01_16_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e848141c7dc329ed20ad7131a41f28fe.jpg","text":"TemporaryFile(/tmp/multipartBody3037262246507422514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117092845,"filename":"image_21022025_04_01_26_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/580effadf38d600c36a6ee504da7813e.jpg","text":"TemporaryFile(/tmp/multipartBody6362907240553623716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117092845,"filename":"image_21022025_04_01_06_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2555c0c899a37d28052e6f5830c3f2d1.jpg","text":"TemporaryFile(/tmp/multipartBody3729514794782385514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117092845,"filename":"image_21022025_04_00_46_9527.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ea9a9bcc6b685194667c9eddfa821cb9.jpg","text":"TemporaryFile(/tmp/multipartBody7446799332614548346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117092845,"filename":"image_21022025_04_00_56_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3000d0cc25c212cf2d7a1e7de9a0df43.jpg","text":"TemporaryFile(/tmp/multipartBody5728912199522145889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117092845,"filename":"image_21022025_04_00_36_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338763257","file1":"1338763254","file0":"1338763251","file4":"1338763262","file5":"1338763265","file3":"1338763260"},"map_files_photo_id_array":[{"photo_id":"1338763265","filename":"file5"},{"photo_id":"1338763257","filename":"file2"},{"photo_id":"1338763262","filename":"file4"},{"photo_id":"1338763254","filename":"file1"},{"photo_id":"1338763251","filename":"file0"},{"photo_id":"1338763260","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338763262":["hashtag1","hashtag2"]},{"1338763265":["hashtag1","hashtag2"]},{"1338763260":["hashtag1","hashtag2"]},{"1338763254":["hashtag1","hashtag2"]},{"1338763257":["hashtag1","hashtag2"]},{"1338763251":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338763262, 1338763265, 1338763260, 1338763254, 1338763257, 1338763251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2469379901886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:51:32.629756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/01/image_21022025_04_01_35_9332.jpg', '/home/pi/Desktop/images/21022025/04/01/image_21022025_04_01_46_10416.jpg', '/home/pi/Desktop/images/21022025/04/01/image_21022025_04_02_05_9349.jpg', '/home/pi/Desktop/images/21022025/04/02/image_21022025_04_02_16_10324.jpg', '/home/pi/Desktop/images/21022025/04/02/image_21022025_04_02_46_10370.jpg', '/home/pi/Desktop/images/21022025/04/02/image_21022025_04_02_55_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/01/image_21022025_04_01_35_9332.jpg
/home/pi/Desktop/images/21022025/04/01/image_21022025_04_01_46_10416.jpg
/home/pi/Desktop/images/21022025/04/01/image_21022025_04_02_05_9349.jpg
/home/pi/Desktop/images/21022025/04/02/image_21022025_04_02_16_10324.jpg
/home/pi/Desktop/images/21022025/04/02/image_21022025_04_02_46_10370.jpg
/home/pi/Desktop/images/21022025/04/02/image_21022025_04_02_55_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338763291","1338763294","1338763297","1338763300","1338763303","1338763302"],"photo_ids_order":["1338763291","1338763294","1338763297","1338763300","1338763302","1338763303"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fcf0804908da2eabd59c4150d6770f17.jpg","text":"TemporaryFile(/tmp/multipartBody3710612858487229249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117153107,"filename":"image_21022025_04_01_35_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/46f2df570f79faaa0e47c1f2283c3ff0.jpg","text":"TemporaryFile(/tmp/multipartBody1820733414694330545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117153107,"filename":"image_21022025_04_01_46_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b1028a37f4e8542f66446a116e407e5.jpg","text":"TemporaryFile(/tmp/multipartBody9055065572338364468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117153107,"filename":"image_21022025_04_02_05_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ccd48f69694cbb90290b86983fcb5ddd.jpg","text":"TemporaryFile(/tmp/multipartBody4292084880222667708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117153107,"filename":"image_21022025_04_02_16_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1576c7915b2fc0c1059a8ab952be6459.jpg","text":"TemporaryFile(/tmp/multipartBody2976791492289696356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117153107,"filename":"image_21022025_04_02_55_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a52f7aad54ac5a82e7bc73a5bd78f414.jpg","text":"TemporaryFile(/tmp/multipartBody7835984268173318805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117153107,"filename":"image_21022025_04_02_46_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338763297","file1":"1338763294","file0":"1338763291","file4":"1338763302","file5":"1338763303","file3":"1338763300"},"map_files_photo_id_array":[{"photo_id":"1338763303","filename":"file5"},{"photo_id":"1338763297","filename":"file2"},{"photo_id":"1338763302","filename":"file4"},{"photo_id":"1338763294","filename":"file1"},{"photo_id":"1338763291","filename":"file0"},{"photo_id":"1338763300","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338763291":["hashtag1","hashtag2"]},{"1338763294":["hashtag1","hashtag2"]},{"1338763297":["hashtag1","hashtag2"]},{"1338763300":["hashtag1","hashtag2"]},{"1338763303":["hashtag1","hashtag2"]},{"1338763302":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338763291, 1338763294, 1338763297, 1338763300, 1338763303, 1338763302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52138018608093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:52:32.882954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/02/image_21022025_04_03_06_10326.jpg', '/home/pi/Desktop/images/21022025/04/03/image_21022025_04_03_16_10348.jpg', '/home/pi/Desktop/images/21022025/04/03/image_21022025_04_03_46_10331.jpg', '/home/pi/Desktop/images/21022025/04/04/image_21022025_04_04_36_10355.jpg', '/home/pi/Desktop/images/21022025/04/04/image_21022025_04_04_46_9433.jpg', '/home/pi/Desktop/images/21022025/04/04/image_21022025_04_04_56_10323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/02/image_21022025_04_03_06_10326.jpg
/home/pi/Desktop/images/21022025/04/03/image_21022025_04_03_16_10348.jpg
/home/pi/Desktop/images/21022025/04/03/image_21022025_04_03_46_10331.jpg
/home/pi/Desktop/images/21022025/04/04/image_21022025_04_04_36_10355.jpg
/home/pi/Desktop/images/21022025/04/04/image_21022025_04_04_46_9433.jpg
/home/pi/Desktop/images/21022025/04/04/image_21022025_04_04_56_10323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338763311","1338763308","1338763321","1338763320","1338763314","1338763317"],"photo_ids_order":["1338763308","1338763311","1338763314","1338763317","1338763320","1338763321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c2ddb3bbeab944d9e71685909b4db6e2.jpg","text":"TemporaryFile(/tmp/multipartBody5418562415506565306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117213398,"filename":"image_21022025_04_03_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4dda43cadef8268098599e403b92fe70.jpg","text":"TemporaryFile(/tmp/multipartBody7051386581891900265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117213398,"filename":"image_21022025_04_03_06_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/21974c788213efddbe128693c0ecf39c.jpg","text":"TemporaryFile(/tmp/multipartBody5497216061495523655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117213398,"filename":"image_21022025_04_04_56_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/392ed725e0990a91f95bcefcfe5c2378.jpg","text":"TemporaryFile(/tmp/multipartBody7966832079321984152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117213398,"filename":"image_21022025_04_04_46_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/216e2e8e80b8d05797d591e2cbe79db1.jpg","text":"TemporaryFile(/tmp/multipartBody429536306689839208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117213398,"filename":"image_21022025_04_03_46_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c6f5cd2d440c37b775766148729c7ab0.jpg","text":"TemporaryFile(/tmp/multipartBody2001926446955516257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117213398,"filename":"image_21022025_04_04_36_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338763314","file1":"1338763311","file0":"1338763308","file4":"1338763320","file5":"1338763321","file3":"1338763317"},"map_files_photo_id_array":[{"photo_id":"1338763321","filename":"file5"},{"photo_id":"1338763314","filename":"file2"},{"photo_id":"1338763320","filename":"file4"},{"photo_id":"1338763311","filename":"file1"},{"photo_id":"1338763308","filename":"file0"},{"photo_id":"1338763317","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338763311":["hashtag1","hashtag2"]},{"1338763308":["hashtag1","hashtag2"]},{"1338763321":["hashtag1","hashtag2"]},{"1338763320":["hashtag1","hashtag2"]},{"1338763314":["hashtag1","hashtag2"]},{"1338763317":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338763311, 1338763308, 1338763321, 1338763320, 1338763314, 1338763317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.43665528297424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:53:32.217955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/04/image_21022025_04_05_05_9322.jpg', '/home/pi/Desktop/images/21022025/04/05/image_21022025_04_05_16_10346.jpg', '/home/pi/Desktop/images/21022025/04/05/image_21022025_04_05_26_10339.jpg', '/home/pi/Desktop/images/21022025/04/05/image_21022025_04_05_35_9343.jpg', '/home/pi/Desktop/images/21022025/04/05/image_21022025_04_05_46_10441.jpg', '/home/pi/Desktop/images/21022025/04/05/image_21022025_04_05_56_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/04/image_21022025_04_05_05_9322.jpg
/home/pi/Desktop/images/21022025/04/05/image_21022025_04_05_16_10346.jpg
/home/pi/Desktop/images/21022025/04/05/image_21022025_04_05_26_10339.jpg
/home/pi/Desktop/images/21022025/04/05/image_21022025_04_05_35_9343.jpg
/home/pi/Desktop/images/21022025/04/05/image_21022025_04_05_46_10441.jpg
/home/pi/Desktop/images/21022025/04/05/image_21022025_04_05_56_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338763343","1338763346","1338763345","1338763339","1338763341","1338763344"],"photo_ids_order":["1338763339","1338763341","1338763343","1338763344","1338763345","1338763346"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/efaec323c1f5aec49f99d15e78b99284.jpg","text":"TemporaryFile(/tmp/multipartBody1443776904307340018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117272762,"filename":"image_21022025_04_05_26_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3ba8b087e94dacef8e8d2fcda387cc20.jpg","text":"TemporaryFile(/tmp/multipartBody6359857015242179377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117272762,"filename":"image_21022025_04_05_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/adf007bd2770d3462e7e160f49cd49ca.jpg","text":"TemporaryFile(/tmp/multipartBody7816283301549649355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117272762,"filename":"image_21022025_04_05_46_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/381430677ab82ce6029b983d6572d7a4.jpg","text":"TemporaryFile(/tmp/multipartBody3214273068018528164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117272762,"filename":"image_21022025_04_05_05_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/43d6b8534eda85c42a9697e257ac6050.jpg","text":"TemporaryFile(/tmp/multipartBody2850000138210884718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117272762,"filename":"image_21022025_04_05_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/654cd7dc5b5c30eaf1527a9ece316852.jpg","text":"TemporaryFile(/tmp/multipartBody9084940132783761078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117272762,"filename":"image_21022025_04_05_35_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338763343","file1":"1338763341","file0":"1338763339","file4":"1338763345","file5":"1338763346","file3":"1338763344"},"map_files_photo_id_array":[{"photo_id":"1338763346","filename":"file5"},{"photo_id":"1338763343","filename":"file2"},{"photo_id":"1338763345","filename":"file4"},{"photo_id":"1338763341","filename":"file1"},{"photo_id":"1338763339","filename":"file0"},{"photo_id":"1338763344","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338763343":["hashtag1","hashtag2"]},{"1338763346":["hashtag1","hashtag2"]},{"1338763345":["hashtag1","hashtag2"]},{"1338763339":["hashtag1","hashtag2"]},{"1338763341":["hashtag1","hashtag2"]},{"1338763344":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338763343, 1338763346, 1338763345, 1338763339, 1338763341, 1338763344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.72902989387512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:54:32.430988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/05/image_21022025_04_06_06_9438.jpg', '/home/pi/Desktop/images/21022025/04/06/image_21022025_04_06_16_10335.jpg', '/home/pi/Desktop/images/21022025/04/06/image_21022025_04_06_25_9359.jpg', '/home/pi/Desktop/images/21022025/04/06/image_21022025_04_06_36_10416.jpg', '/home/pi/Desktop/images/21022025/04/06/image_21022025_04_06_46_10352.jpg', '/home/pi/Desktop/images/21022025/04/06/image_21022025_04_06_55_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/05/image_21022025_04_06_06_9438.jpg
/home/pi/Desktop/images/21022025/04/06/image_21022025_04_06_16_10335.jpg
/home/pi/Desktop/images/21022025/04/06/image_21022025_04_06_25_9359.jpg
/home/pi/Desktop/images/21022025/04/06/image_21022025_04_06_36_10416.jpg
/home/pi/Desktop/images/21022025/04/06/image_21022025_04_06_46_10352.jpg
/home/pi/Desktop/images/21022025/04/06/image_21022025_04_06_55_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338763394","1338763397","1338763391","1338763390","1338763387","1338763396"],"photo_ids_order":["1338763387","1338763390","1338763391","1338763394","1338763396","1338763397"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ace8b52ab2b1c0acecc9040613107115.jpg","text":"TemporaryFile(/tmp/multipartBody5445295190510332059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117332919,"filename":"image_21022025_04_06_36_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/05dc913a788685a4c02ef336aa93c87d.jpg","text":"TemporaryFile(/tmp/multipartBody6568161060963004175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117332919,"filename":"image_21022025_04_06_55_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7e9d9c2b3165b5dd1f27941d0ec9fe33.jpg","text":"TemporaryFile(/tmp/multipartBody3911845069650588032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117332919,"filename":"image_21022025_04_06_25_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/14aca99ab23885a584deb9a93c6c82fe.jpg","text":"TemporaryFile(/tmp/multipartBody6744777227097397127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117332919,"filename":"image_21022025_04_06_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/84b21d8e3397035269a50b26ad450609.jpg","text":"TemporaryFile(/tmp/multipartBody3234416023927955408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117332919,"filename":"image_21022025_04_06_06_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4dbe16dde9b9565ce90640193f582f6d.jpg","text":"TemporaryFile(/tmp/multipartBody7878630878216300006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117332919,"filename":"image_21022025_04_06_46_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338763391","file1":"1338763390","file0":"1338763387","file4":"1338763396","file5":"1338763397","file3":"1338763394"},"map_files_photo_id_array":[{"photo_id":"1338763397","filename":"file5"},{"photo_id":"1338763391","filename":"file2"},{"photo_id":"1338763396","filename":"file4"},{"photo_id":"1338763390","filename":"file1"},{"photo_id":"1338763387","filename":"file0"},{"photo_id":"1338763394","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338763394":["hashtag1","hashtag2"]},{"1338763397":["hashtag1","hashtag2"]},{"1338763391":["hashtag1","hashtag2"]},{"1338763390":["hashtag1","hashtag2"]},{"1338763387":["hashtag1","hashtag2"]},{"1338763396":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338763394, 1338763397, 1338763391, 1338763390, 1338763387, 1338763396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.236265659332275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:55:32.526222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/07/image_21022025_04_07_16_10414.jpg', '/home/pi/Desktop/images/21022025/04/07/image_21022025_04_07_26_9428.jpg', '/home/pi/Desktop/images/21022025/04/07/image_21022025_04_07_36_10353.jpg', '/home/pi/Desktop/images/21022025/04/07/image_21022025_04_07_46_10317.jpg', '/home/pi/Desktop/images/21022025/04/07/image_21022025_04_07_56_9383.jpg', '/home/pi/Desktop/images/21022025/04/08/image_21022025_04_08_15_9321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/07/image_21022025_04_07_16_10414.jpg
/home/pi/Desktop/images/21022025/04/07/image_21022025_04_07_26_9428.jpg
/home/pi/Desktop/images/21022025/04/07/image_21022025_04_07_36_10353.jpg
/home/pi/Desktop/images/21022025/04/07/image_21022025_04_07_46_10317.jpg
/home/pi/Desktop/images/21022025/04/07/image_21022025_04_07_56_9383.jpg
/home/pi/Desktop/images/21022025/04/08/image_21022025_04_08_15_9321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338763451","1338763439","1338763433","1338763436","1338763441","1338763435"],"photo_ids_order":["1338763433","1338763435","1338763436","1338763439","1338763441","1338763451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bfdcb900ae33f07d94d7670c838f969d.jpg","text":"TemporaryFile(/tmp/multipartBody6616431871480680060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117392999,"filename":"image_21022025_04_08_15_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/554efbfed0ee32737e59d59459e11c0b.jpg","text":"TemporaryFile(/tmp/multipartBody4282035931025093223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117392999,"filename":"image_21022025_04_07_46_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a94713cfc642f968767562c2ee33bd8.jpg","text":"TemporaryFile(/tmp/multipartBody4797633881140903967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117392999,"filename":"image_21022025_04_07_16_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cd189dc7452a725b3b106930cb2db1e4.jpg","text":"TemporaryFile(/tmp/multipartBody9078712418589375202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117392999,"filename":"image_21022025_04_07_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/849df00444dc59ab01bc7504520a17d3.jpg","text":"TemporaryFile(/tmp/multipartBody8012189440485837473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117392999,"filename":"image_21022025_04_07_56_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cbbf31c0b0c461ab2061922b931fb460.jpg","text":"TemporaryFile(/tmp/multipartBody2982110139167541163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117392999,"filename":"image_21022025_04_07_26_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338763436","file1":"1338763435","file0":"1338763433","file4":"1338763441","file5":"1338763451","file3":"1338763439"},"map_files_photo_id_array":[{"photo_id":"1338763451","filename":"file5"},{"photo_id":"1338763436","filename":"file2"},{"photo_id":"1338763441","filename":"file4"},{"photo_id":"1338763435","filename":"file1"},{"photo_id":"1338763433","filename":"file0"},{"photo_id":"1338763439","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338763451":["hashtag1","hashtag2"]},{"1338763439":["hashtag1","hashtag2"]},{"1338763433":["hashtag1","hashtag2"]},{"1338763436":["hashtag1","hashtag2"]},{"1338763441":["hashtag1","hashtag2"]},{"1338763435":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338763451, 1338763439, 1338763433, 1338763436, 1338763441, 1338763435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.570348262786865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:56:32.977957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/08/image_21022025_04_08_36_10337.jpg', '/home/pi/Desktop/images/21022025/04/08/image_21022025_04_08_45_9314.jpg', '/home/pi/Desktop/images/21022025/04/08/image_21022025_04_09_06_10406.jpg', '/home/pi/Desktop/images/21022025/04/09/image_21022025_04_09_16_9406.jpg', '/home/pi/Desktop/images/21022025/04/09/image_21022025_04_09_36_10342.jpg', '/home/pi/Desktop/images/21022025/04/09/image_21022025_04_09_46_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/08/image_21022025_04_08_36_10337.jpg
/home/pi/Desktop/images/21022025/04/08/image_21022025_04_08_45_9314.jpg
/home/pi/Desktop/images/21022025/04/08/image_21022025_04_09_06_10406.jpg
/home/pi/Desktop/images/21022025/04/09/image_21022025_04_09_16_9406.jpg
/home/pi/Desktop/images/21022025/04/09/image_21022025_04_09_36_10342.jpg
/home/pi/Desktop/images/21022025/04/09/image_21022025_04_09_46_9370.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.384166955947876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 06:56:42.818177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/08/image_21022025_04_08_36_10337.jpg', '/home/pi/Desktop/images/21022025/04/08/image_21022025_04_08_45_9314.jpg', '/home/pi/Desktop/images/21022025/04/08/image_21022025_04_09_06_10406.jpg', '/home/pi/Desktop/images/21022025/04/09/image_21022025_04_09_16_9406.jpg', '/home/pi/Desktop/images/21022025/04/09/image_21022025_04_09_36_10342.jpg', '/home/pi/Desktop/images/21022025/04/09/image_21022025_04_09_46_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/08/image_21022025_04_08_36_10337.jpg
/home/pi/Desktop/images/21022025/04/08/image_21022025_04_08_45_9314.jpg
/home/pi/Desktop/images/21022025/04/08/image_21022025_04_09_06_10406.jpg
/home/pi/Desktop/images/21022025/04/09/image_21022025_04_09_16_9406.jpg
/home/pi/Desktop/images/21022025/04/09/image_21022025_04_09_36_10342.jpg
/home/pi/Desktop/images/21022025/04/09/image_21022025_04_09_46_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338763481","1338763471","1338763474","1338763468","1338763477","1338763479"],"photo_ids_order":["1338763468","1338763471","1338763474","1338763477","1338763479","1338763481"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/784137ee7822ba959f9ad82592b77dea.jpg","text":"TemporaryFile(/tmp/multipartBody6032348601085983535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117463382,"filename":"image_21022025_04_09_46_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d7d96ac2761c24b84005c5d8dbb74bb4.jpg","text":"TemporaryFile(/tmp/multipartBody1862292695926990211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117463382,"filename":"image_21022025_04_08_45_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4948bb57e6fda4afcae88fa23144827e.jpg","text":"TemporaryFile(/tmp/multipartBody3853456980114749667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117463382,"filename":"image_21022025_04_09_06_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac721a261133eeff7b60ea7f58633a87.jpg","text":"TemporaryFile(/tmp/multipartBody6413274317691268283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117463382,"filename":"image_21022025_04_08_36_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/44196f6aafba6971093ada17690d5c74.jpg","text":"TemporaryFile(/tmp/multipartBody2619718410915888257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117463382,"filename":"image_21022025_04_09_16_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a17b581e734dbfea68ddf09f822369b.jpg","text":"TemporaryFile(/tmp/multipartBody1392491161397058834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117463382,"filename":"image_21022025_04_09_36_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338763474","file1":"1338763471","file0":"1338763468","file4":"1338763479","file5":"1338763481","file3":"1338763477"},"map_files_photo_id_array":[{"photo_id":"1338763481","filename":"file5"},{"photo_id":"1338763474","filename":"file2"},{"photo_id":"1338763479","filename":"file4"},{"photo_id":"1338763471","filename":"file1"},{"photo_id":"1338763468","filename":"file0"},{"photo_id":"1338763477","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338763481":["hashtag1","hashtag2"]},{"1338763471":["hashtag1","hashtag2"]},{"1338763474":["hashtag1","hashtag2"]},{"1338763468":["hashtag1","hashtag2"]},{"1338763477":["hashtag1","hashtag2"]},{"1338763479":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338763481, 1338763471, 1338763474, 1338763468, 1338763477, 1338763479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62599968910217 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:57:33.084955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/09/image_21022025_04_09_56_10363.jpg', '/home/pi/Desktop/images/21022025/04/09/image_21022025_04_10_05_9475.jpg', '/home/pi/Desktop/images/21022025/04/10/image_21022025_04_10_16_10397.jpg', '/home/pi/Desktop/images/21022025/04/10/image_21022025_04_10_36_9400.jpg', '/home/pi/Desktop/images/21022025/04/10/image_21022025_04_10_46_10382.jpg', '/home/pi/Desktop/images/21022025/04/10/image_21022025_04_10_55_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/09/image_21022025_04_09_56_10363.jpg
/home/pi/Desktop/images/21022025/04/09/image_21022025_04_10_05_9475.jpg
/home/pi/Desktop/images/21022025/04/10/image_21022025_04_10_16_10397.jpg
/home/pi/Desktop/images/21022025/04/10/image_21022025_04_10_36_9400.jpg
/home/pi/Desktop/images/21022025/04/10/image_21022025_04_10_46_10382.jpg
/home/pi/Desktop/images/21022025/04/10/image_21022025_04_10_55_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 06:59:03.591628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/09/image_21022025_04_09_56_10363.jpg', '/home/pi/Desktop/images/21022025/04/09/image_21022025_04_10_05_9475.jpg', '/home/pi/Desktop/images/21022025/04/10/image_21022025_04_10_16_10397.jpg', '/home/pi/Desktop/images/21022025/04/10/image_21022025_04_10_36_9400.jpg', '/home/pi/Desktop/images/21022025/04/10/image_21022025_04_10_46_10382.jpg', '/home/pi/Desktop/images/21022025/04/10/image_21022025_04_10_55_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/09/image_21022025_04_09_56_10363.jpg
/home/pi/Desktop/images/21022025/04/09/image_21022025_04_10_05_9475.jpg
/home/pi/Desktop/images/21022025/04/10/image_21022025_04_10_16_10397.jpg
/home/pi/Desktop/images/21022025/04/10/image_21022025_04_10_36_9400.jpg
/home/pi/Desktop/images/21022025/04/10/image_21022025_04_10_46_10382.jpg
/home/pi/Desktop/images/21022025/04/10/image_21022025_04_10_55_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338763967","1338763993","1338763969","1338763971","1338763974","1338763977"],"photo_ids_order":["1338763967","1338763969","1338763971","1338763974","1338763977","1338763993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/21c0a592d4a413b787ee31078df58428.jpg","text":"TemporaryFile(/tmp/multipartBody6673864548545888787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117604258,"filename":"image_21022025_04_09_56_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0d0791e971f74cc729af78ccd852e0ca.jpg","text":"TemporaryFile(/tmp/multipartBody5858566581601729277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117604258,"filename":"image_21022025_04_10_55_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/425bfe159bfb6c9b64b1cddec0273812.jpg","text":"TemporaryFile(/tmp/multipartBody5229630816243676807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117604258,"filename":"image_21022025_04_10_05_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b339c8de95722d7d29177bdfe06393b.jpg","text":"TemporaryFile(/tmp/multipartBody2964342040337166462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117604258,"filename":"image_21022025_04_10_16_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f6fe4a392826398e14461ed04bc7e08.jpg","text":"TemporaryFile(/tmp/multipartBody2707407577155593033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117604258,"filename":"image_21022025_04_10_36_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/db10c511941ddbd87d2d4747a7607f45.jpg","text":"TemporaryFile(/tmp/multipartBody3750474574864189549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117604258,"filename":"image_21022025_04_10_46_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338763971","file1":"1338763969","file0":"1338763967","file4":"1338763977","file5":"1338763993","file3":"1338763974"},"map_files_photo_id_array":[{"photo_id":"1338763993","filename":"file5"},{"photo_id":"1338763971","filename":"file2"},{"photo_id":"1338763977","filename":"file4"},{"photo_id":"1338763969","filename":"file1"},{"photo_id":"1338763967","filename":"file0"},{"photo_id":"1338763974","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338763967":["hashtag1","hashtag2"]},{"1338763993":["hashtag1","hashtag2"]},{"1338763969":["hashtag1","hashtag2"]},{"1338763971":["hashtag1","hashtag2"]},{"1338763974":["hashtag1","hashtag2"]},{"1338763977":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338763967, 1338763993, 1338763969, 1338763971, 1338763974, 1338763977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.583282232284546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 06:59:52.927157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/10/image_21022025_04_11_06_10411.jpg', '/home/pi/Desktop/images/21022025/04/11/image_21022025_04_11_16_10345.jpg', '/home/pi/Desktop/images/21022025/04/11/image_21022025_04_11_25_9363.jpg', '/home/pi/Desktop/images/21022025/04/11/image_21022025_04_11_36_10412.jpg', '/home/pi/Desktop/images/21022025/04/11/image_21022025_04_11_46_10346.jpg', '/home/pi/Desktop/images/21022025/04/12/image_21022025_04_12_26_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/10/image_21022025_04_11_06_10411.jpg
/home/pi/Desktop/images/21022025/04/11/image_21022025_04_11_16_10345.jpg
/home/pi/Desktop/images/21022025/04/11/image_21022025_04_11_25_9363.jpg
/home/pi/Desktop/images/21022025/04/11/image_21022025_04_11_36_10412.jpg
/home/pi/Desktop/images/21022025/04/11/image_21022025_04_11_46_10346.jpg
/home/pi/Desktop/images/21022025/04/12/image_21022025_04_12_26_9456.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338764000","1338764003","1338764006","1338764011","1338764014","1338764001"],"photo_ids_order":["1338764000","1338764001","1338764003","1338764006","1338764011","1338764014"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/69eefbcbe6697f4d9a15351228f56bce.jpg","text":"TemporaryFile(/tmp/multipartBody5567550993033933492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117653428,"filename":"image_21022025_04_11_06_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1b50939a2941096e61bbbb5af911269.jpg","text":"TemporaryFile(/tmp/multipartBody6120176361034259187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117653428,"filename":"image_21022025_04_11_25_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/05927a43ef59518fd11a9fdb1e2c7f12.jpg","text":"TemporaryFile(/tmp/multipartBody8556572227101157008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117653428,"filename":"image_21022025_04_11_36_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/339b904ed8577c22bf34307aacc5a50e.jpg","text":"TemporaryFile(/tmp/multipartBody5106097596542938552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117653428,"filename":"image_21022025_04_11_46_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c08af78e14e19642b50dccdd9fbcb605.jpg","text":"TemporaryFile(/tmp/multipartBody5957785777382249344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117653428,"filename":"image_21022025_04_12_26_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d44cc0bebdcf99066a17edc4362f368c.jpg","text":"TemporaryFile(/tmp/multipartBody489199374565561455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117653428,"filename":"image_21022025_04_11_16_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338764003","file1":"1338764001","file0":"1338764000","file4":"1338764011","file5":"1338764014","file3":"1338764006"},"map_files_photo_id_array":[{"photo_id":"1338764014","filename":"file5"},{"photo_id":"1338764003","filename":"file2"},{"photo_id":"1338764011","filename":"file4"},{"photo_id":"1338764001","filename":"file1"},{"photo_id":"1338764000","filename":"file0"},{"photo_id":"1338764006","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338764000":["hashtag1","hashtag2"]},{"1338764003":["hashtag1","hashtag2"]},{"1338764006":["hashtag1","hashtag2"]},{"1338764011":["hashtag1","hashtag2"]},{"1338764014":["hashtag1","hashtag2"]},{"1338764001":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338764000, 1338764003, 1338764006, 1338764011, 1338764014, 1338764001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59384226799011 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:00:33.069630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/12/image_21022025_04_12_36_10346.jpg', '/home/pi/Desktop/images/21022025/04/12/image_21022025_04_12_45_9388.jpg', '/home/pi/Desktop/images/21022025/04/12/image_21022025_04_12_56_10333.jpg', '/home/pi/Desktop/images/21022025/04/12/image_21022025_04_13_06_10326.jpg', '/home/pi/Desktop/images/21022025/04/13/image_21022025_04_13_45_9334.jpg', '/home/pi/Desktop/images/21022025/04/13/image_21022025_04_13_56_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/12/image_21022025_04_12_36_10346.jpg
/home/pi/Desktop/images/21022025/04/12/image_21022025_04_12_45_9388.jpg
/home/pi/Desktop/images/21022025/04/12/image_21022025_04_12_56_10333.jpg
/home/pi/Desktop/images/21022025/04/12/image_21022025_04_13_06_10326.jpg
/home/pi/Desktop/images/21022025/04/13/image_21022025_04_13_45_9334.jpg
/home/pi/Desktop/images/21022025/04/13/image_21022025_04_13_56_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338764030","1338764033","1338764021","1338764024","1338764026","1338764037"],"photo_ids_order":["1338764021","1338764024","1338764026","1338764030","1338764033","1338764037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dc72802dccce947d5e399e58450742e9.jpg","text":"TemporaryFile(/tmp/multipartBody5084312687403963062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117693553,"filename":"image_21022025_04_13_06_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7f3684901bcd733084b316c1dd8af679.jpg","text":"TemporaryFile(/tmp/multipartBody1705277877078197677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117693553,"filename":"image_21022025_04_13_45_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62824374f39e3e6b629088e02e67bfab.jpg","text":"TemporaryFile(/tmp/multipartBody9047042153933053963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117693553,"filename":"image_21022025_04_12_36_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/50ed80735c7335603fbc8bdfa505487a.jpg","text":"TemporaryFile(/tmp/multipartBody2070540780731669617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117693553,"filename":"image_21022025_04_12_45_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ccbe6eff000e8177acaf055c846be90.jpg","text":"TemporaryFile(/tmp/multipartBody2795427161365132733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117693553,"filename":"image_21022025_04_12_56_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ccdd5e5167c8b08325d44f2267c9dde.jpg","text":"TemporaryFile(/tmp/multipartBody7859503752829544840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117693553,"filename":"image_21022025_04_13_56_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338764026","file1":"1338764024","file0":"1338764021","file4":"1338764033","file5":"1338764037","file3":"1338764030"},"map_files_photo_id_array":[{"photo_id":"1338764037","filename":"file5"},{"photo_id":"1338764026","filename":"file2"},{"photo_id":"1338764033","filename":"file4"},{"photo_id":"1338764024","filename":"file1"},{"photo_id":"1338764021","filename":"file0"},{"photo_id":"1338764030","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338764030":["hashtag1","hashtag2"]},{"1338764033":["hashtag1","hashtag2"]},{"1338764021":["hashtag1","hashtag2"]},{"1338764024":["hashtag1","hashtag2"]},{"1338764026":["hashtag1","hashtag2"]},{"1338764037":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338764030, 1338764033, 1338764021, 1338764024, 1338764026, 1338764037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.403956174850464 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:01:32.873389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/14/image_21022025_04_14_15_9335.jpg', '/home/pi/Desktop/images/21022025/04/14/image_21022025_04_14_36_10323.jpg', '/home/pi/Desktop/images/21022025/04/14/image_21022025_04_14_56_10358.jpg', '/home/pi/Desktop/images/21022025/04/15/image_21022025_04_15_16_9348.jpg', '/home/pi/Desktop/images/21022025/04/15/image_21022025_04_15_26_10335.jpg', '/home/pi/Desktop/images/21022025/04/15/image_21022025_04_16_05_9325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/14/image_21022025_04_14_15_9335.jpg
/home/pi/Desktop/images/21022025/04/14/image_21022025_04_14_36_10323.jpg
/home/pi/Desktop/images/21022025/04/14/image_21022025_04_14_56_10358.jpg
/home/pi/Desktop/images/21022025/04/15/image_21022025_04_15_16_9348.jpg
/home/pi/Desktop/images/21022025/04/15/image_21022025_04_15_26_10335.jpg
/home/pi/Desktop/images/21022025/04/15/image_21022025_04_16_05_9325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338764402","1338764405","1338764407","1338764397","1338764400","1338764384"],"photo_ids_order":["1338764384","1338764397","1338764400","1338764402","1338764405","1338764407"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5d9f88cec5d9e23123e3733f28c489c4.jpg","text":"TemporaryFile(/tmp/multipartBody5377563649468055014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117753368,"filename":"image_21022025_04_15_16_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/457074cf605c555a30c687e9202a4471.jpg","text":"TemporaryFile(/tmp/multipartBody3046609654277184974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117753368,"filename":"image_21022025_04_15_26_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/07acbb8b90dcb6323ad1826d3d9c6a40.jpg","text":"TemporaryFile(/tmp/multipartBody8386038455217927253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117753368,"filename":"image_21022025_04_16_05_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c49601f0bfbe28b28fef2483d7fb231.jpg","text":"TemporaryFile(/tmp/multipartBody8000037227038051534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117753368,"filename":"image_21022025_04_14_36_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d10bfd1924506de37731f5c75b550cb3.jpg","text":"TemporaryFile(/tmp/multipartBody586447603068967507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117753368,"filename":"image_21022025_04_14_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eaff3c31c3bf17f7c43440c52049b279.jpg","text":"TemporaryFile(/tmp/multipartBody8856141239413777083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117753368,"filename":"image_21022025_04_14_15_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338764400","file1":"1338764397","file0":"1338764384","file4":"1338764405","file5":"1338764407","file3":"1338764402"},"map_files_photo_id_array":[{"photo_id":"1338764407","filename":"file5"},{"photo_id":"1338764400","filename":"file2"},{"photo_id":"1338764405","filename":"file4"},{"photo_id":"1338764397","filename":"file1"},{"photo_id":"1338764384","filename":"file0"},{"photo_id":"1338764402","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338764402":["hashtag1","hashtag2"]},{"1338764405":["hashtag1","hashtag2"]},{"1338764407":["hashtag1","hashtag2"]},{"1338764397":["hashtag1","hashtag2"]},{"1338764400":["hashtag1","hashtag2"]},{"1338764384":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338764402, 1338764405, 1338764407, 1338764397, 1338764400, 1338764384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29983305931091 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:02:33.077766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/16/image_21022025_04_16_16_10411.jpg', '/home/pi/Desktop/images/21022025/04/16/image_21022025_04_16_26_10329.jpg', '/home/pi/Desktop/images/21022025/04/16/image_21022025_04_16_36_9434.jpg', '/home/pi/Desktop/images/21022025/04/16/image_21022025_04_16_46_10339.jpg', '/home/pi/Desktop/images/21022025/04/16/image_21022025_04_16_56_10346.jpg', '/home/pi/Desktop/images/21022025/04/16/image_21022025_04_17_06_9323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/16/image_21022025_04_16_16_10411.jpg
/home/pi/Desktop/images/21022025/04/16/image_21022025_04_16_26_10329.jpg
/home/pi/Desktop/images/21022025/04/16/image_21022025_04_16_36_9434.jpg
/home/pi/Desktop/images/21022025/04/16/image_21022025_04_16_46_10339.jpg
/home/pi/Desktop/images/21022025/04/16/image_21022025_04_16_56_10346.jpg
/home/pi/Desktop/images/21022025/04/16/image_21022025_04_17_06_9323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338764435","1338764438","1338764432","1338764458","1338764442","1338764447"],"photo_ids_order":["1338764432","1338764435","1338764438","1338764442","1338764447","1338764458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c609be7d0eac63f934012e9c65888816.jpg","text":"TemporaryFile(/tmp/multipartBody7923461781900623257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117813575,"filename":"image_21022025_04_16_26_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bb70cf2483f45b32f42b457bcdfe6784.jpg","text":"TemporaryFile(/tmp/multipartBody7987630194366182559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117813575,"filename":"image_21022025_04_16_36_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ade14a371a0dc522becb4d575362d8ff.jpg","text":"TemporaryFile(/tmp/multipartBody2397618320608660566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117813575,"filename":"image_21022025_04_16_16_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc00b022d2890fddc4f5e719697420d1.jpg","text":"TemporaryFile(/tmp/multipartBody1401512112048873376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117813575,"filename":"image_21022025_04_17_06_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/76e64d680eba5ec3ac402710079714e6.jpg","text":"TemporaryFile(/tmp/multipartBody4131525353689916670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117813575,"filename":"image_21022025_04_16_46_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f52d55f6825af73fe067ecbb9b3db63e.jpg","text":"TemporaryFile(/tmp/multipartBody1084043471220587321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117813575,"filename":"image_21022025_04_16_56_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338764438","file1":"1338764435","file0":"1338764432","file4":"1338764447","file5":"1338764458","file3":"1338764442"},"map_files_photo_id_array":[{"photo_id":"1338764458","filename":"file5"},{"photo_id":"1338764438","filename":"file2"},{"photo_id":"1338764447","filename":"file4"},{"photo_id":"1338764435","filename":"file1"},{"photo_id":"1338764432","filename":"file0"},{"photo_id":"1338764442","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338764435":["hashtag1","hashtag2"]},{"1338764438":["hashtag1","hashtag2"]},{"1338764432":["hashtag1","hashtag2"]},{"1338764458":["hashtag1","hashtag2"]},{"1338764442":["hashtag1","hashtag2"]},{"1338764447":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338764435, 1338764438, 1338764432, 1338764458, 1338764442, 1338764447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.778417348861694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:03:32.247597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/17/image_21022025_04_17_26_10333.jpg', '/home/pi/Desktop/images/21022025/04/17/image_21022025_04_17_36_9416.jpg', '/home/pi/Desktop/images/21022025/04/17/image_21022025_04_17_46_10337.jpg', '/home/pi/Desktop/images/21022025/04/17/image_21022025_04_17_55_9328.jpg', '/home/pi/Desktop/images/21022025/04/17/image_21022025_04_18_06_10337.jpg', '/home/pi/Desktop/images/21022025/04/18/image_21022025_04_18_16_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/17/image_21022025_04_17_26_10333.jpg
/home/pi/Desktop/images/21022025/04/17/image_21022025_04_17_36_9416.jpg
/home/pi/Desktop/images/21022025/04/17/image_21022025_04_17_46_10337.jpg
/home/pi/Desktop/images/21022025/04/17/image_21022025_04_17_55_9328.jpg
/home/pi/Desktop/images/21022025/04/17/image_21022025_04_18_06_10337.jpg
/home/pi/Desktop/images/21022025/04/18/image_21022025_04_18_16_10328.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38529038429260254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 07:03:42.320038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/17/image_21022025_04_17_26_10333.jpg', '/home/pi/Desktop/images/21022025/04/17/image_21022025_04_17_36_9416.jpg', '/home/pi/Desktop/images/21022025/04/17/image_21022025_04_17_46_10337.jpg', '/home/pi/Desktop/images/21022025/04/17/image_21022025_04_17_55_9328.jpg', '/home/pi/Desktop/images/21022025/04/17/image_21022025_04_18_06_10337.jpg', '/home/pi/Desktop/images/21022025/04/18/image_21022025_04_18_16_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/17/image_21022025_04_17_26_10333.jpg
/home/pi/Desktop/images/21022025/04/17/image_21022025_04_17_36_9416.jpg
/home/pi/Desktop/images/21022025/04/17/image_21022025_04_17_46_10337.jpg
/home/pi/Desktop/images/21022025/04/17/image_21022025_04_17_55_9328.jpg
/home/pi/Desktop/images/21022025/04/17/image_21022025_04_18_06_10337.jpg
/home/pi/Desktop/images/21022025/04/18/image_21022025_04_18_16_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338764482","1338764485","1338764479","1338764488","1338764499","1338764505"],"photo_ids_order":["1338764479","1338764482","1338764485","1338764488","1338764499","1338764505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3e908dcbd55dbd4689446037cf81e621.jpg","text":"TemporaryFile(/tmp/multipartBody1682175290003235872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117882800,"filename":"image_21022025_04_17_36_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4dd99acdb93d3b09e9a70c996560201b.jpg","text":"TemporaryFile(/tmp/multipartBody8325207556250553052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117882800,"filename":"image_21022025_04_17_46_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d200e98201ca348a9039a8617bcd1c49.jpg","text":"TemporaryFile(/tmp/multipartBody4317334068949196846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117882800,"filename":"image_21022025_04_17_26_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4bef692221e078aee7160cdf62b6a810.jpg","text":"TemporaryFile(/tmp/multipartBody5178508961359847133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117882800,"filename":"image_21022025_04_17_55_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff03c1de32417f836b23d53e03ab6c15.jpg","text":"TemporaryFile(/tmp/multipartBody8282727049321645506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117882800,"filename":"image_21022025_04_18_06_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f858608cb28d9dd99f9769bbdc28c174.jpg","text":"TemporaryFile(/tmp/multipartBody4552851441406630372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117882800,"filename":"image_21022025_04_18_16_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338764485","file1":"1338764482","file0":"1338764479","file4":"1338764499","file5":"1338764505","file3":"1338764488"},"map_files_photo_id_array":[{"photo_id":"1338764505","filename":"file5"},{"photo_id":"1338764485","filename":"file2"},{"photo_id":"1338764499","filename":"file4"},{"photo_id":"1338764482","filename":"file1"},{"photo_id":"1338764479","filename":"file0"},{"photo_id":"1338764488","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338764482":["hashtag1","hashtag2"]},{"1338764485":["hashtag1","hashtag2"]},{"1338764479":["hashtag1","hashtag2"]},{"1338764488":["hashtag1","hashtag2"]},{"1338764499":["hashtag1","hashtag2"]},{"1338764505":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338764482, 1338764485, 1338764479, 1338764488, 1338764499, 1338764505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17718982696533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:04:32.497581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/18/image_21022025_04_18_25_9445.jpg', '/home/pi/Desktop/images/21022025/04/18/image_21022025_04_18_46_10331.jpg', '/home/pi/Desktop/images/21022025/04/18/image_21022025_04_18_56_9449.jpg', '/home/pi/Desktop/images/21022025/04/18/image_21022025_04_19_06_10322.jpg', '/home/pi/Desktop/images/21022025/04/19/image_21022025_04_19_15_9300.jpg', '/home/pi/Desktop/images/21022025/04/19/image_21022025_04_19_26_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/18/image_21022025_04_18_25_9445.jpg
/home/pi/Desktop/images/21022025/04/18/image_21022025_04_18_46_10331.jpg
/home/pi/Desktop/images/21022025/04/18/image_21022025_04_18_56_9449.jpg
/home/pi/Desktop/images/21022025/04/18/image_21022025_04_19_06_10322.jpg
/home/pi/Desktop/images/21022025/04/19/image_21022025_04_19_15_9300.jpg
/home/pi/Desktop/images/21022025/04/19/image_21022025_04_19_26_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338764557","1338764554","1338764556","1338764550","1338764544","1338764552"],"photo_ids_order":["1338764544","1338764550","1338764552","1338764554","1338764556","1338764557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bcc7ccbae85814823047b47e1372bdc2.jpg","text":"TemporaryFile(/tmp/multipartBody3624407111287280662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117932986,"filename":"image_21022025_04_19_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9048b54dea2697b9e5c8124bc11b6074.jpg","text":"TemporaryFile(/tmp/multipartBody1976245819747807733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117932986,"filename":"image_21022025_04_19_06_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1df480be465fb22dba6d0674b6c137b2.jpg","text":"TemporaryFile(/tmp/multipartBody8705529378077449515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117932986,"filename":"image_21022025_04_19_15_9300.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3efdab1c50758595ba26236691b29fc8.jpg","text":"TemporaryFile(/tmp/multipartBody5872360002244532593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117932986,"filename":"image_21022025_04_18_46_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62cd497b47f490e5231e0fbf5d5c2000.jpg","text":"TemporaryFile(/tmp/multipartBody7670335305224307258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117932986,"filename":"image_21022025_04_18_25_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc6a40b00e4c496122a1294ca2f860dc.jpg","text":"TemporaryFile(/tmp/multipartBody374730112786760255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117932986,"filename":"image_21022025_04_18_56_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338764552","file1":"1338764550","file0":"1338764544","file4":"1338764556","file5":"1338764557","file3":"1338764554"},"map_files_photo_id_array":[{"photo_id":"1338764557","filename":"file5"},{"photo_id":"1338764552","filename":"file2"},{"photo_id":"1338764556","filename":"file4"},{"photo_id":"1338764550","filename":"file1"},{"photo_id":"1338764544","filename":"file0"},{"photo_id":"1338764554","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338764557":["hashtag1","hashtag2"]},{"1338764554":["hashtag1","hashtag2"]},{"1338764556":["hashtag1","hashtag2"]},{"1338764550":["hashtag1","hashtag2"]},{"1338764544":["hashtag1","hashtag2"]},{"1338764552":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338764557, 1338764554, 1338764556, 1338764550, 1338764544, 1338764552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92200684547424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:05:32.842340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/19/image_21022025_04_19_36_10344.jpg', '/home/pi/Desktop/images/21022025/04/19/image_21022025_04_19_45_9409.jpg', '/home/pi/Desktop/images/21022025/04/19/image_21022025_04_19_56_10379.jpg', '/home/pi/Desktop/images/21022025/04/19/image_21022025_04_20_06_10408.jpg', '/home/pi/Desktop/images/21022025/04/20/image_21022025_04_20_16_9408.jpg', '/home/pi/Desktop/images/21022025/04/20/image_21022025_04_20_26_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/19/image_21022025_04_19_36_10344.jpg
/home/pi/Desktop/images/21022025/04/19/image_21022025_04_19_45_9409.jpg
/home/pi/Desktop/images/21022025/04/19/image_21022025_04_19_56_10379.jpg
/home/pi/Desktop/images/21022025/04/19/image_21022025_04_20_06_10408.jpg
/home/pi/Desktop/images/21022025/04/20/image_21022025_04_20_16_9408.jpg
/home/pi/Desktop/images/21022025/04/20/image_21022025_04_20_26_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338764593","1338764590","1338764592","1338764605","1338764601","1338764594"],"photo_ids_order":["1338764590","1338764592","1338764593","1338764594","1338764601","1338764605"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d4d69271fb9e10fa4337c50737a46380.jpg","text":"TemporaryFile(/tmp/multipartBody5963404430949968817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117993326,"filename":"image_21022025_04_19_56_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/159aa92975a5cf3d1da3e978d4925774.jpg","text":"TemporaryFile(/tmp/multipartBody1085379604609817663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117993326,"filename":"image_21022025_04_19_36_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/681d9402c1484ca1706d1080a5f73e7b.jpg","text":"TemporaryFile(/tmp/multipartBody4824479137390544984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117993326,"filename":"image_21022025_04_19_45_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ceade224ab7e38937579c8de3c338b53.jpg","text":"TemporaryFile(/tmp/multipartBody8356314503817687729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117993326,"filename":"image_21022025_04_20_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1ab0bbdc518ed2dd966e79798038089.jpg","text":"TemporaryFile(/tmp/multipartBody5629662858293463764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117993326,"filename":"image_21022025_04_20_16_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aeb9580da669706c926ba4c5cd8b32c2.jpg","text":"TemporaryFile(/tmp/multipartBody3983639223843731716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740117993326,"filename":"image_21022025_04_20_06_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338764593","file1":"1338764592","file0":"1338764590","file4":"1338764601","file5":"1338764605","file3":"1338764594"},"map_files_photo_id_array":[{"photo_id":"1338764605","filename":"file5"},{"photo_id":"1338764593","filename":"file2"},{"photo_id":"1338764601","filename":"file4"},{"photo_id":"1338764592","filename":"file1"},{"photo_id":"1338764590","filename":"file0"},{"photo_id":"1338764594","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338764593":["hashtag1","hashtag2"]},{"1338764590":["hashtag1","hashtag2"]},{"1338764592":["hashtag1","hashtag2"]},{"1338764605":["hashtag1","hashtag2"]},{"1338764601":["hashtag1","hashtag2"]},{"1338764594":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338764593, 1338764590, 1338764592, 1338764605, 1338764601, 1338764594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02678942680359 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:06:32.912314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/20/image_21022025_04_20_46_10356.jpg', '/home/pi/Desktop/images/21022025/04/20/image_21022025_04_20_56_10337.jpg', '/home/pi/Desktop/images/21022025/04/20/image_21022025_04_21_05_9324.jpg', '/home/pi/Desktop/images/21022025/04/21/image_21022025_04_21_16_10327.jpg', '/home/pi/Desktop/images/21022025/04/21/image_21022025_04_21_26_10338.jpg', '/home/pi/Desktop/images/21022025/04/21/image_21022025_04_21_35_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/20/image_21022025_04_20_46_10356.jpg
/home/pi/Desktop/images/21022025/04/20/image_21022025_04_20_56_10337.jpg
/home/pi/Desktop/images/21022025/04/20/image_21022025_04_21_05_9324.jpg
/home/pi/Desktop/images/21022025/04/21/image_21022025_04_21_16_10327.jpg
/home/pi/Desktop/images/21022025/04/21/image_21022025_04_21_26_10338.jpg
/home/pi/Desktop/images/21022025/04/21/image_21022025_04_21_35_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338764654","1338764621","1338764624","1338764629","1338764658","1338764625"],"photo_ids_order":["1338764621","1338764624","1338764625","1338764629","1338764654","1338764658"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5967d8d564edca853cfd261dedd76b94.jpg","text":"TemporaryFile(/tmp/multipartBody741653523103735360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118053422,"filename":"image_21022025_04_21_26_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3964e39d826db2fb7dd1dee3c8401744.jpg","text":"TemporaryFile(/tmp/multipartBody5378027603717213790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118053422,"filename":"image_21022025_04_20_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/73e253bb11e3f8a7af392a7704a60708.jpg","text":"TemporaryFile(/tmp/multipartBody7629856962608114372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118053422,"filename":"image_21022025_04_20_56_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d5d2e5a971174cde6360340ee0ddaa73.jpg","text":"TemporaryFile(/tmp/multipartBody1771907477060744757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118053422,"filename":"image_21022025_04_21_16_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a2ddfc5afa7b5abcd88ca24d43fcddca.jpg","text":"TemporaryFile(/tmp/multipartBody4212721242453597329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118053422,"filename":"image_21022025_04_21_35_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/781d57bfb775f330bd4ffbc885dfaf4e.jpg","text":"TemporaryFile(/tmp/multipartBody8299298193288239434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118053422,"filename":"image_21022025_04_21_05_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338764625","file1":"1338764624","file0":"1338764621","file4":"1338764654","file5":"1338764658","file3":"1338764629"},"map_files_photo_id_array":[{"photo_id":"1338764658","filename":"file5"},{"photo_id":"1338764625","filename":"file2"},{"photo_id":"1338764654","filename":"file4"},{"photo_id":"1338764624","filename":"file1"},{"photo_id":"1338764621","filename":"file0"},{"photo_id":"1338764629","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338764654":["hashtag1","hashtag2"]},{"1338764621":["hashtag1","hashtag2"]},{"1338764624":["hashtag1","hashtag2"]},{"1338764629":["hashtag1","hashtag2"]},{"1338764658":["hashtag1","hashtag2"]},{"1338764625":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338764654, 1338764621, 1338764624, 1338764629, 1338764658, 1338764625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66840887069702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:07:33.245251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/21/image_21022025_04_21_46_10411.jpg', '/home/pi/Desktop/images/21022025/04/21/image_21022025_04_21_56_10428.jpg', '/home/pi/Desktop/images/21022025/04/22/image_21022025_04_22_16_10319.jpg', '/home/pi/Desktop/images/21022025/04/22/image_21022025_04_22_26_10328.jpg', '/home/pi/Desktop/images/21022025/04/22/image_21022025_04_22_36_9352.jpg', '/home/pi/Desktop/images/21022025/04/22/image_21022025_04_22_46_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/21/image_21022025_04_21_46_10411.jpg
/home/pi/Desktop/images/21022025/04/21/image_21022025_04_21_56_10428.jpg
/home/pi/Desktop/images/21022025/04/22/image_21022025_04_22_16_10319.jpg
/home/pi/Desktop/images/21022025/04/22/image_21022025_04_22_26_10328.jpg
/home/pi/Desktop/images/21022025/04/22/image_21022025_04_22_36_9352.jpg
/home/pi/Desktop/images/21022025/04/22/image_21022025_04_22_46_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338764708","1338764689","1338764704","1338764697","1338764691","1338764712"],"photo_ids_order":["1338764689","1338764691","1338764697","1338764704","1338764708","1338764712"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f17efa177a273e9edac1a5b277d8a7f.jpg","text":"TemporaryFile(/tmp/multipartBody4229601361275560236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118113723,"filename":"image_21022025_04_22_36_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e5ec702866da9beaa22211ad9c57661c.jpg","text":"TemporaryFile(/tmp/multipartBody4710615658109907186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118113723,"filename":"image_21022025_04_21_46_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3e5472e7d546640b44a193c43cc588b3.jpg","text":"TemporaryFile(/tmp/multipartBody1074991901252435226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118113723,"filename":"image_21022025_04_22_26_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c92b01524605cbd1d26f1ca74120f7a0.jpg","text":"TemporaryFile(/tmp/multipartBody225393363076456889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118113723,"filename":"image_21022025_04_22_16_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f94ab4b7092c2c878ff6dd651b0880e5.jpg","text":"TemporaryFile(/tmp/multipartBody3352088744301151910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118113723,"filename":"image_21022025_04_21_56_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9f8533bbcf1cc0d7462257d00bfdcb26.jpg","text":"TemporaryFile(/tmp/multipartBody425533909232054948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118113723,"filename":"image_21022025_04_22_46_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338764697","file1":"1338764691","file0":"1338764689","file4":"1338764708","file5":"1338764712","file3":"1338764704"},"map_files_photo_id_array":[{"photo_id":"1338764712","filename":"file5"},{"photo_id":"1338764697","filename":"file2"},{"photo_id":"1338764708","filename":"file4"},{"photo_id":"1338764691","filename":"file1"},{"photo_id":"1338764689","filename":"file0"},{"photo_id":"1338764704","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338764708":["hashtag1","hashtag2"]},{"1338764689":["hashtag1","hashtag2"]},{"1338764704":["hashtag1","hashtag2"]},{"1338764697":["hashtag1","hashtag2"]},{"1338764691":["hashtag1","hashtag2"]},{"1338764712":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338764708, 1338764689, 1338764704, 1338764697, 1338764691, 1338764712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.47805190086365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:08:32.437350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/23/image_21022025_04_23_16_10313.jpg', '/home/pi/Desktop/images/21022025/04/23/image_21022025_04_23_25_9323.jpg', '/home/pi/Desktop/images/21022025/04/23/image_21022025_04_23_46_10328.jpg', '/home/pi/Desktop/images/21022025/04/23/image_21022025_04_24_06_10343.jpg', '/home/pi/Desktop/images/21022025/04/24/image_21022025_04_24_25_9337.jpg', '/home/pi/Desktop/images/21022025/04/24/image_21022025_04_24_36_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/23/image_21022025_04_23_16_10313.jpg
/home/pi/Desktop/images/21022025/04/23/image_21022025_04_23_25_9323.jpg
/home/pi/Desktop/images/21022025/04/23/image_21022025_04_23_46_10328.jpg
/home/pi/Desktop/images/21022025/04/23/image_21022025_04_24_06_10343.jpg
/home/pi/Desktop/images/21022025/04/24/image_21022025_04_24_25_9337.jpg
/home/pi/Desktop/images/21022025/04/24/image_21022025_04_24_36_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338764813","1338764821","1338764824","1338764818","1338764814","1338764811"],"photo_ids_order":["1338764811","1338764813","1338764814","1338764818","1338764821","1338764824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0b22c6d41982fe3edd293b9629212c96.jpg","text":"TemporaryFile(/tmp/multipartBody7808565420730796382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118172921,"filename":"image_21022025_04_23_25_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/19006952e42695a125593c9b828ba23b.jpg","text":"TemporaryFile(/tmp/multipartBody6576643929915064069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118172921,"filename":"image_21022025_04_24_25_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d6e42794b09618fec5271c0e50be15d.jpg","text":"TemporaryFile(/tmp/multipartBody7075294249598460200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118172921,"filename":"image_21022025_04_24_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c9b1d700f1e910aefef13b007b3832d.jpg","text":"TemporaryFile(/tmp/multipartBody6469947503500971069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118172921,"filename":"image_21022025_04_24_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c6a0971a99e832fa1ba80260231e6f92.jpg","text":"TemporaryFile(/tmp/multipartBody1555825729259294437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118172921,"filename":"image_21022025_04_23_46_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/57d4c7efba3e7b72e2b54dd68036cf0c.jpg","text":"TemporaryFile(/tmp/multipartBody7889249566349035057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118172921,"filename":"image_21022025_04_23_16_10313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338764814","file1":"1338764813","file0":"1338764811","file4":"1338764821","file5":"1338764824","file3":"1338764818"},"map_files_photo_id_array":[{"photo_id":"1338764824","filename":"file5"},{"photo_id":"1338764814","filename":"file2"},{"photo_id":"1338764821","filename":"file4"},{"photo_id":"1338764813","filename":"file1"},{"photo_id":"1338764811","filename":"file0"},{"photo_id":"1338764818","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338764813":["hashtag1","hashtag2"]},{"1338764821":["hashtag1","hashtag2"]},{"1338764824":["hashtag1","hashtag2"]},{"1338764818":["hashtag1","hashtag2"]},{"1338764814":["hashtag1","hashtag2"]},{"1338764811":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338764813, 1338764821, 1338764824, 1338764818, 1338764814, 1338764811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73280477523804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:09:32.642643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/24/image_21022025_04_24_46_10321.jpg', '/home/pi/Desktop/images/21022025/04/24/image_21022025_04_25_06_10334.jpg', '/home/pi/Desktop/images/21022025/04/25/image_21022025_04_25_15_9421.jpg', '/home/pi/Desktop/images/21022025/04/25/image_21022025_04_25_26_10408.jpg', '/home/pi/Desktop/images/21022025/04/25/image_21022025_04_25_36_10336.jpg', '/home/pi/Desktop/images/21022025/04/25/image_21022025_04_25_56_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/24/image_21022025_04_24_46_10321.jpg
/home/pi/Desktop/images/21022025/04/24/image_21022025_04_25_06_10334.jpg
/home/pi/Desktop/images/21022025/04/25/image_21022025_04_25_15_9421.jpg
/home/pi/Desktop/images/21022025/04/25/image_21022025_04_25_26_10408.jpg
/home/pi/Desktop/images/21022025/04/25/image_21022025_04_25_36_10336.jpg
/home/pi/Desktop/images/21022025/04/25/image_21022025_04_25_56_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338765128","1338765101","1338765115","1338765099","1338765095","1338765104"],"photo_ids_order":["1338765095","1338765099","1338765101","1338765104","1338765115","1338765128"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/19212718e6420615f639f46da9fcf290.jpg","text":"TemporaryFile(/tmp/multipartBody6248002088060016258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118233140,"filename":"image_21022025_04_25_56_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b9672b14fe5ca41b38086e9211a0b94.jpg","text":"TemporaryFile(/tmp/multipartBody1845904738680461601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118233140,"filename":"image_21022025_04_25_15_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a82c9972123392c974d08a1c363ba0a.jpg","text":"TemporaryFile(/tmp/multipartBody1832248218078959228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118233140,"filename":"image_21022025_04_25_36_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/89ca7b1ae0767ecbaac4bcc100411738.jpg","text":"TemporaryFile(/tmp/multipartBody342630788851739050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118233140,"filename":"image_21022025_04_25_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/96fb0300ff9f3b0e03731fc421024caa.jpg","text":"TemporaryFile(/tmp/multipartBody4089950026350941179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118233140,"filename":"image_21022025_04_24_46_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f9078659ba6f1e8b3bdbad614b77d9c0.jpg","text":"TemporaryFile(/tmp/multipartBody3088513541842217814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118233140,"filename":"image_21022025_04_25_26_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338765101","file1":"1338765099","file0":"1338765095","file4":"1338765115","file5":"1338765128","file3":"1338765104"},"map_files_photo_id_array":[{"photo_id":"1338765128","filename":"file5"},{"photo_id":"1338765101","filename":"file2"},{"photo_id":"1338765115","filename":"file4"},{"photo_id":"1338765099","filename":"file1"},{"photo_id":"1338765095","filename":"file0"},{"photo_id":"1338765104","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338765128":["hashtag1","hashtag2"]},{"1338765101":["hashtag1","hashtag2"]},{"1338765115":["hashtag1","hashtag2"]},{"1338765099":["hashtag1","hashtag2"]},{"1338765095":["hashtag1","hashtag2"]},{"1338765104":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338765128, 1338765101, 1338765115, 1338765099, 1338765095, 1338765104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.39153528213501 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:10:33.004224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/26/image_21022025_04_26_46_10431.jpg', '/home/pi/Desktop/images/21022025/04/26/image_21022025_04_26_56_10344.jpg', '/home/pi/Desktop/images/21022025/04/26/image_21022025_04_27_06_9458.jpg', '/home/pi/Desktop/images/21022025/04/27/image_21022025_04_27_16_10336.jpg', '/home/pi/Desktop/images/21022025/04/27/image_21022025_04_27_25_9345.jpg', '/home/pi/Desktop/images/21022025/04/27/image_21022025_04_27_46_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/26/image_21022025_04_26_46_10431.jpg
/home/pi/Desktop/images/21022025/04/26/image_21022025_04_26_56_10344.jpg
/home/pi/Desktop/images/21022025/04/26/image_21022025_04_27_06_9458.jpg
/home/pi/Desktop/images/21022025/04/27/image_21022025_04_27_16_10336.jpg
/home/pi/Desktop/images/21022025/04/27/image_21022025_04_27_25_9345.jpg
/home/pi/Desktop/images/21022025/04/27/image_21022025_04_27_46_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338765169","1338765174","1338765162","1338765165","1338765159","1338765215"],"photo_ids_order":["1338765159","1338765162","1338765165","1338765169","1338765174","1338765215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/54026a70e0492ca1fd2a5d714139028a.jpg","text":"TemporaryFile(/tmp/multipartBody2918211209547653114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118293566,"filename":"image_21022025_04_27_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ea37f3049a0b7e490a6b512c3481216c.jpg","text":"TemporaryFile(/tmp/multipartBody4145046439268008925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118293566,"filename":"image_21022025_04_27_25_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/675221ee7c15047180dab0965c19f88e.jpg","text":"TemporaryFile(/tmp/multipartBody5217030423536720395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118293566,"filename":"image_21022025_04_26_56_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/047cf040073849cb4dd186a711357a7a.jpg","text":"TemporaryFile(/tmp/multipartBody8152561746757332344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118293566,"filename":"image_21022025_04_27_06_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b4a9d410316285bfca6f942ec264bbba.jpg","text":"TemporaryFile(/tmp/multipartBody7637872892585248997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118293566,"filename":"image_21022025_04_26_46_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/67193bbb79cbf8469ada072b8eab02c7.jpg","text":"TemporaryFile(/tmp/multipartBody6277429185204329992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118293566,"filename":"image_21022025_04_27_46_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338765165","file1":"1338765162","file0":"1338765159","file4":"1338765174","file5":"1338765215","file3":"1338765169"},"map_files_photo_id_array":[{"photo_id":"1338765215","filename":"file5"},{"photo_id":"1338765165","filename":"file2"},{"photo_id":"1338765174","filename":"file4"},{"photo_id":"1338765162","filename":"file1"},{"photo_id":"1338765159","filename":"file0"},{"photo_id":"1338765169","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338765169":["hashtag1","hashtag2"]},{"1338765174":["hashtag1","hashtag2"]},{"1338765162":["hashtag1","hashtag2"]},{"1338765165":["hashtag1","hashtag2"]},{"1338765159":["hashtag1","hashtag2"]},{"1338765215":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338765169, 1338765174, 1338765162, 1338765165, 1338765159, 1338765215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9512665271759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:11:33.143840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/27/image_21022025_04_27_56_9401.jpg', '/home/pi/Desktop/images/21022025/04/27/image_21022025_04_28_06_10359.jpg', '/home/pi/Desktop/images/21022025/04/28/image_21022025_04_28_26_9463.jpg', '/home/pi/Desktop/images/21022025/04/28/image_21022025_04_28_36_10339.jpg', '/home/pi/Desktop/images/21022025/04/28/image_21022025_04_28_56_10334.jpg', '/home/pi/Desktop/images/21022025/04/28/image_21022025_04_29_06_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/27/image_21022025_04_27_56_9401.jpg
/home/pi/Desktop/images/21022025/04/27/image_21022025_04_28_06_10359.jpg
/home/pi/Desktop/images/21022025/04/28/image_21022025_04_28_26_9463.jpg
/home/pi/Desktop/images/21022025/04/28/image_21022025_04_28_36_10339.jpg
/home/pi/Desktop/images/21022025/04/28/image_21022025_04_28_56_10334.jpg
/home/pi/Desktop/images/21022025/04/28/image_21022025_04_29_06_10336.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38416528701782227 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 07:11:43.069770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/27/image_21022025_04_27_56_9401.jpg', '/home/pi/Desktop/images/21022025/04/27/image_21022025_04_28_06_10359.jpg', '/home/pi/Desktop/images/21022025/04/28/image_21022025_04_28_26_9463.jpg', '/home/pi/Desktop/images/21022025/04/28/image_21022025_04_28_36_10339.jpg', '/home/pi/Desktop/images/21022025/04/28/image_21022025_04_28_56_10334.jpg', '/home/pi/Desktop/images/21022025/04/28/image_21022025_04_29_06_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/27/image_21022025_04_27_56_9401.jpg
/home/pi/Desktop/images/21022025/04/27/image_21022025_04_28_06_10359.jpg
/home/pi/Desktop/images/21022025/04/28/image_21022025_04_28_26_9463.jpg
/home/pi/Desktop/images/21022025/04/28/image_21022025_04_28_36_10339.jpg
/home/pi/Desktop/images/21022025/04/28/image_21022025_04_28_56_10334.jpg
/home/pi/Desktop/images/21022025/04/28/image_21022025_04_29_06_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338765250","1338765253","1338765247","1338765249","1338765243","1338765239"],"photo_ids_order":["1338765239","1338765243","1338765247","1338765249","1338765250","1338765253"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5add40de2e15748580054e71d9795e99.jpg","text":"TemporaryFile(/tmp/multipartBody1253386513528098996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118363561,"filename":"image_21022025_04_28_56_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/055dc3e98e3f16e48d6ff053b974a4a5.jpg","text":"TemporaryFile(/tmp/multipartBody9207889353826158293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118363561,"filename":"image_21022025_04_29_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8ade2839113d5bd51bb139d239d79d95.jpg","text":"TemporaryFile(/tmp/multipartBody1773980933218138793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118363561,"filename":"image_21022025_04_28_26_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a6daf5c1e2b74d4524732dcb86a8de22.jpg","text":"TemporaryFile(/tmp/multipartBody4840502929235067176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118363561,"filename":"image_21022025_04_28_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c4901c317d4ef80f8b60099fa9e3de2.jpg","text":"TemporaryFile(/tmp/multipartBody7110323724672163022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118363561,"filename":"image_21022025_04_28_06_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0c377e22c9a3e7e0f2be1e400061d171.jpg","text":"TemporaryFile(/tmp/multipartBody3893694146185939867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118363561,"filename":"image_21022025_04_27_56_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338765247","file1":"1338765243","file0":"1338765239","file4":"1338765250","file5":"1338765253","file3":"1338765249"},"map_files_photo_id_array":[{"photo_id":"1338765253","filename":"file5"},{"photo_id":"1338765247","filename":"file2"},{"photo_id":"1338765250","filename":"file4"},{"photo_id":"1338765243","filename":"file1"},{"photo_id":"1338765239","filename":"file0"},{"photo_id":"1338765249","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338765250":["hashtag1","hashtag2"]},{"1338765253":["hashtag1","hashtag2"]},{"1338765247":["hashtag1","hashtag2"]},{"1338765249":["hashtag1","hashtag2"]},{"1338765243":["hashtag1","hashtag2"]},{"1338765239":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338765250, 1338765253, 1338765247, 1338765249, 1338765243, 1338765239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62892413139343 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:12:32.142290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/29/image_21022025_04_29_15_9311.jpg', '/home/pi/Desktop/images/21022025/04/30/image_21022025_04_30_15_9314.jpg', '/home/pi/Desktop/images/21022025/04/30/image_21022025_04_30_26_10379.jpg', '/home/pi/Desktop/images/21022025/04/30/image_21022025_04_30_36_10353.jpg', '/home/pi/Desktop/images/21022025/04/30/image_21022025_04_30_46_9428.jpg', '/home/pi/Desktop/images/21022025/04/30/image_21022025_04_30_56_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/29/image_21022025_04_29_15_9311.jpg
/home/pi/Desktop/images/21022025/04/30/image_21022025_04_30_15_9314.jpg
/home/pi/Desktop/images/21022025/04/30/image_21022025_04_30_26_10379.jpg
/home/pi/Desktop/images/21022025/04/30/image_21022025_04_30_36_10353.jpg
/home/pi/Desktop/images/21022025/04/30/image_21022025_04_30_46_9428.jpg
/home/pi/Desktop/images/21022025/04/30/image_21022025_04_30_56_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338765283","1338765271","1338765291","1338765267","1338765300","1338765275"],"photo_ids_order":["1338765267","1338765271","1338765275","1338765283","1338765291","1338765300"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ced89570879d9524b9ef8ea64d544a2c.jpg","text":"TemporaryFile(/tmp/multipartBody1955660432396902897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118412634,"filename":"image_21022025_04_30_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ed7bf7b577907de9e6eeb98ae9ed0dc9.jpg","text":"TemporaryFile(/tmp/multipartBody7048533331129106482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118412634,"filename":"image_21022025_04_30_15_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/96d26f9621ada2af1c2badb190245479.jpg","text":"TemporaryFile(/tmp/multipartBody8095834628072436242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118412634,"filename":"image_21022025_04_30_46_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8035dbc01bfecdd341f0b6c776e45b36.jpg","text":"TemporaryFile(/tmp/multipartBody6983161617418350127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118412634,"filename":"image_21022025_04_29_15_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b47653c62d3dbe84283f441b6fe7d179.jpg","text":"TemporaryFile(/tmp/multipartBody1038913660719648270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118412634,"filename":"image_21022025_04_30_56_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/359e8c3457406f8c15f03ec173cbdd55.jpg","text":"TemporaryFile(/tmp/multipartBody903612552434689171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118412634,"filename":"image_21022025_04_30_26_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338765275","file1":"1338765271","file0":"1338765267","file4":"1338765291","file5":"1338765300","file3":"1338765283"},"map_files_photo_id_array":[{"photo_id":"1338765300","filename":"file5"},{"photo_id":"1338765275","filename":"file2"},{"photo_id":"1338765291","filename":"file4"},{"photo_id":"1338765271","filename":"file1"},{"photo_id":"1338765267","filename":"file0"},{"photo_id":"1338765283","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338765283":["hashtag1","hashtag2"]},{"1338765271":["hashtag1","hashtag2"]},{"1338765291":["hashtag1","hashtag2"]},{"1338765267":["hashtag1","hashtag2"]},{"1338765300":["hashtag1","hashtag2"]},{"1338765275":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338765283, 1338765271, 1338765291, 1338765267, 1338765300, 1338765275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.377228021621704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:13:32.278476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/31/image_21022025_04_31_16_10408.jpg', '/home/pi/Desktop/images/21022025/04/31/image_21022025_04_31_26_10335.jpg', '/home/pi/Desktop/images/21022025/04/31/image_21022025_04_31_36_9471.jpg', '/home/pi/Desktop/images/21022025/04/31/image_21022025_04_31_46_10344.jpg', '/home/pi/Desktop/images/21022025/04/32/image_21022025_04_32_16_10336.jpg', '/home/pi/Desktop/images/21022025/04/32/image_21022025_04_32_36_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/31/image_21022025_04_31_16_10408.jpg
/home/pi/Desktop/images/21022025/04/31/image_21022025_04_31_26_10335.jpg
/home/pi/Desktop/images/21022025/04/31/image_21022025_04_31_36_9471.jpg
/home/pi/Desktop/images/21022025/04/31/image_21022025_04_31_46_10344.jpg
/home/pi/Desktop/images/21022025/04/32/image_21022025_04_32_16_10336.jpg
/home/pi/Desktop/images/21022025/04/32/image_21022025_04_32_36_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338765349","1338765348","1338765342","1338765345","1338765350","1338765338"],"photo_ids_order":["1338765338","1338765342","1338765345","1338765348","1338765349","1338765350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1e9582ca984d483b9b6694dac2688d02.jpg","text":"TemporaryFile(/tmp/multipartBody1072284127497593017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118472747,"filename":"image_21022025_04_32_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/96d6048c074d2d85adfc3a5b9eedb78a.jpg","text":"TemporaryFile(/tmp/multipartBody615410072782715524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118472747,"filename":"image_21022025_04_31_46_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/febfe4879c5458c2e914a405a1e79d50.jpg","text":"TemporaryFile(/tmp/multipartBody688966544165767524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118472747,"filename":"image_21022025_04_31_26_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a94c226ed442a295647604017a2427c.jpg","text":"TemporaryFile(/tmp/multipartBody2240732343259170868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118472747,"filename":"image_21022025_04_31_36_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/16810b613de941454197739c84ddc709.jpg","text":"TemporaryFile(/tmp/multipartBody6622242237629232027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118472747,"filename":"image_21022025_04_32_36_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/624c79ebd7b7636c22058718751f04f6.jpg","text":"TemporaryFile(/tmp/multipartBody5880572020563894334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118472747,"filename":"image_21022025_04_31_16_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338765345","file1":"1338765342","file0":"1338765338","file4":"1338765349","file5":"1338765350","file3":"1338765348"},"map_files_photo_id_array":[{"photo_id":"1338765350","filename":"file5"},{"photo_id":"1338765345","filename":"file2"},{"photo_id":"1338765349","filename":"file4"},{"photo_id":"1338765342","filename":"file1"},{"photo_id":"1338765338","filename":"file0"},{"photo_id":"1338765348","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338765349":["hashtag1","hashtag2"]},{"1338765348":["hashtag1","hashtag2"]},{"1338765342":["hashtag1","hashtag2"]},{"1338765345":["hashtag1","hashtag2"]},{"1338765350":["hashtag1","hashtag2"]},{"1338765338":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338765349, 1338765348, 1338765342, 1338765345, 1338765350, 1338765338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.712352991104126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:14:32.530039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/32/image_21022025_04_32_46_10340.jpg', '/home/pi/Desktop/images/21022025/04/32/image_21022025_04_32_55_9325.jpg', '/home/pi/Desktop/images/21022025/04/33/image_21022025_04_33_36_10344.jpg', '/home/pi/Desktop/images/21022025/04/33/image_21022025_04_33_56_10426.jpg', '/home/pi/Desktop/images/21022025/04/33/image_21022025_04_34_06_10346.jpg', '/home/pi/Desktop/images/21022025/04/34/image_21022025_04_34_36_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/32/image_21022025_04_32_46_10340.jpg
/home/pi/Desktop/images/21022025/04/32/image_21022025_04_32_55_9325.jpg
/home/pi/Desktop/images/21022025/04/33/image_21022025_04_33_36_10344.jpg
/home/pi/Desktop/images/21022025/04/33/image_21022025_04_33_56_10426.jpg
/home/pi/Desktop/images/21022025/04/33/image_21022025_04_34_06_10346.jpg
/home/pi/Desktop/images/21022025/04/34/image_21022025_04_34_36_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338765388","1338765403","1338765395","1338765398","1338765392","1338765401"],"photo_ids_order":["1338765388","1338765392","1338765395","1338765398","1338765401","1338765403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/da68af76a56c0d9d555f9fff12a59f38.jpg","text":"TemporaryFile(/tmp/multipartBody4807136640716983686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118533078,"filename":"image_21022025_04_32_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c271ee96e3b2e78e7e2cf71462a1a8a5.jpg","text":"TemporaryFile(/tmp/multipartBody3401378451341739347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118533078,"filename":"image_21022025_04_34_36_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d58fc0f6ae826eb20e80bfa71a7c0299.jpg","text":"TemporaryFile(/tmp/multipartBody3311221199799474248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118533078,"filename":"image_21022025_04_33_36_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7fae9791d8e386192b04cce57a0b57f4.jpg","text":"TemporaryFile(/tmp/multipartBody2096382737624856608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118533078,"filename":"image_21022025_04_33_56_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/91e68ec5a04b1127a3eae0ca9bf80991.jpg","text":"TemporaryFile(/tmp/multipartBody6073176358633690662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118533078,"filename":"image_21022025_04_32_55_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3bebf3b90df8a0367fc7f5009514045d.jpg","text":"TemporaryFile(/tmp/multipartBody3449733148335866125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118533078,"filename":"image_21022025_04_34_06_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338765395","file1":"1338765392","file0":"1338765388","file4":"1338765401","file5":"1338765403","file3":"1338765398"},"map_files_photo_id_array":[{"photo_id":"1338765403","filename":"file5"},{"photo_id":"1338765395","filename":"file2"},{"photo_id":"1338765401","filename":"file4"},{"photo_id":"1338765392","filename":"file1"},{"photo_id":"1338765388","filename":"file0"},{"photo_id":"1338765398","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338765388":["hashtag1","hashtag2"]},{"1338765403":["hashtag1","hashtag2"]},{"1338765395":["hashtag1","hashtag2"]},{"1338765398":["hashtag1","hashtag2"]},{"1338765392":["hashtag1","hashtag2"]},{"1338765401":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338765388, 1338765403, 1338765395, 1338765398, 1338765392, 1338765401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.647087812423706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:15:32.675643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/34/image_21022025_04_34_45_9347.jpg', '/home/pi/Desktop/images/21022025/04/34/image_21022025_04_34_56_10392.jpg', '/home/pi/Desktop/images/21022025/04/35/image_21022025_04_35_36_10333.jpg', '/home/pi/Desktop/images/21022025/04/35/image_21022025_04_35_46_9411.jpg', '/home/pi/Desktop/images/21022025/04/35/image_21022025_04_35_56_10353.jpg', '/home/pi/Desktop/images/21022025/04/35/image_21022025_04_36_05_9321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/34/image_21022025_04_34_45_9347.jpg
/home/pi/Desktop/images/21022025/04/34/image_21022025_04_34_56_10392.jpg
/home/pi/Desktop/images/21022025/04/35/image_21022025_04_35_36_10333.jpg
/home/pi/Desktop/images/21022025/04/35/image_21022025_04_35_46_9411.jpg
/home/pi/Desktop/images/21022025/04/35/image_21022025_04_35_56_10353.jpg
/home/pi/Desktop/images/21022025/04/35/image_21022025_04_36_05_9321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338765425","1338765457","1338765442","1338765453","1338765447","1338765432"],"photo_ids_order":["1338765425","1338765432","1338765442","1338765447","1338765453","1338765457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e57c575f393348906d8cefbe8be9960.jpg","text":"TemporaryFile(/tmp/multipartBody7222328484932949431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118593155,"filename":"image_21022025_04_34_45_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a7fbc9c4b5835f9c8b9e0fe4e14eb59f.jpg","text":"TemporaryFile(/tmp/multipartBody1233408868357524406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118593155,"filename":"image_21022025_04_36_05_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3665772d5ac505373112e090ff7361c1.jpg","text":"TemporaryFile(/tmp/multipartBody6953229804201124313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118593155,"filename":"image_21022025_04_35_36_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90acef4d80b9995e4c958d73b7025e8e.jpg","text":"TemporaryFile(/tmp/multipartBody5838010708138385272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118593155,"filename":"image_21022025_04_35_56_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/661731295f85fc178eb2437f33644612.jpg","text":"TemporaryFile(/tmp/multipartBody6390785910318883549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118593155,"filename":"image_21022025_04_35_46_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/afde77947b2060d1fe3c0acc73708443.jpg","text":"TemporaryFile(/tmp/multipartBody4338443183355718239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118593155,"filename":"image_21022025_04_34_56_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338765442","file1":"1338765432","file0":"1338765425","file4":"1338765453","file5":"1338765457","file3":"1338765447"},"map_files_photo_id_array":[{"photo_id":"1338765457","filename":"file5"},{"photo_id":"1338765442","filename":"file2"},{"photo_id":"1338765453","filename":"file4"},{"photo_id":"1338765432","filename":"file1"},{"photo_id":"1338765425","filename":"file0"},{"photo_id":"1338765447","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338765425":["hashtag1","hashtag2"]},{"1338765457":["hashtag1","hashtag2"]},{"1338765442":["hashtag1","hashtag2"]},{"1338765453":["hashtag1","hashtag2"]},{"1338765447":["hashtag1","hashtag2"]},{"1338765432":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338765425, 1338765457, 1338765442, 1338765453, 1338765447, 1338765432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.65580868721008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:16:33.048841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/36/image_21022025_04_36_35_9352.jpg', '/home/pi/Desktop/images/21022025/04/36/image_21022025_04_36_46_10415.jpg', '/home/pi/Desktop/images/21022025/04/36/image_21022025_04_36_56_10345.jpg', '/home/pi/Desktop/images/21022025/04/37/image_21022025_04_37_46_10335.jpg', '/home/pi/Desktop/images/21022025/04/37/image_21022025_04_37_55_9348.jpg', '/home/pi/Desktop/images/21022025/04/37/image_21022025_04_38_06_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/36/image_21022025_04_36_35_9352.jpg
/home/pi/Desktop/images/21022025/04/36/image_21022025_04_36_46_10415.jpg
/home/pi/Desktop/images/21022025/04/36/image_21022025_04_36_56_10345.jpg
/home/pi/Desktop/images/21022025/04/37/image_21022025_04_37_46_10335.jpg
/home/pi/Desktop/images/21022025/04/37/image_21022025_04_37_55_9348.jpg
/home/pi/Desktop/images/21022025/04/37/image_21022025_04_38_06_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338765496","1338765798","1338765489","1338765674","1338765644","1338765515"],"photo_ids_order":["1338765489","1338765496","1338765515","1338765644","1338765674","1338765798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2c4fc6685481be93a280d2316214e895.jpg","text":"TemporaryFile(/tmp/multipartBody1654266558060394554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118653537,"filename":"image_21022025_04_36_46_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ea08242e47d80e8614d338d617fbc0d8.jpg","text":"TemporaryFile(/tmp/multipartBody1083709411337587528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118653537,"filename":"image_21022025_04_38_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7abf0b428801e83276d6ed9936b52d2f.jpg","text":"TemporaryFile(/tmp/multipartBody3370748718642360435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118653537,"filename":"image_21022025_04_36_35_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f72cf8f59245140476539ab5d71eee69.jpg","text":"TemporaryFile(/tmp/multipartBody3858490506007382809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118653537,"filename":"image_21022025_04_37_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ca0b0b3bc9b016a310a9c9f4b0a44ec7.jpg","text":"TemporaryFile(/tmp/multipartBody6924620317958744390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118653537,"filename":"image_21022025_04_37_46_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5af5cebe34a923e4c9b115de8fbaf762.jpg","text":"TemporaryFile(/tmp/multipartBody3928972270429061908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118653537,"filename":"image_21022025_04_36_56_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338765515","file1":"1338765496","file0":"1338765489","file4":"1338765674","file5":"1338765798","file3":"1338765644"},"map_files_photo_id_array":[{"photo_id":"1338765798","filename":"file5"},{"photo_id":"1338765515","filename":"file2"},{"photo_id":"1338765674","filename":"file4"},{"photo_id":"1338765496","filename":"file1"},{"photo_id":"1338765489","filename":"file0"},{"photo_id":"1338765644","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338765496":["hashtag1","hashtag2"]},{"1338765798":["hashtag1","hashtag2"]},{"1338765489":["hashtag1","hashtag2"]},{"1338765674":["hashtag1","hashtag2"]},{"1338765644":["hashtag1","hashtag2"]},{"1338765515":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338765496, 1338765798, 1338765489, 1338765674, 1338765644, 1338765515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.648844957351685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:17:32.254884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/38/image_21022025_04_38_16_10391.jpg', '/home/pi/Desktop/images/21022025/04/38/image_21022025_04_38_25_9343.jpg', '/home/pi/Desktop/images/21022025/04/39/image_21022025_04_39_16_10336.jpg', '/home/pi/Desktop/images/21022025/04/39/image_21022025_04_39_26_9411.jpg', '/home/pi/Desktop/images/21022025/04/39/image_21022025_04_39_36_10341.jpg', '/home/pi/Desktop/images/21022025/04/39/image_21022025_04_39_46_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/38/image_21022025_04_38_16_10391.jpg
/home/pi/Desktop/images/21022025/04/38/image_21022025_04_38_25_9343.jpg
/home/pi/Desktop/images/21022025/04/39/image_21022025_04_39_16_10336.jpg
/home/pi/Desktop/images/21022025/04/39/image_21022025_04_39_26_9411.jpg
/home/pi/Desktop/images/21022025/04/39/image_21022025_04_39_36_10341.jpg
/home/pi/Desktop/images/21022025/04/39/image_21022025_04_39_46_9766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338765908","1338765898","1338765913","1338765891","1338765910","1338765915"],"photo_ids_order":["1338765891","1338765898","1338765908","1338765910","1338765913","1338765915"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c963d35e6dd0d90dab5b94036144d6b3.jpg","text":"TemporaryFile(/tmp/multipartBody232319130838797947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118712759,"filename":"image_21022025_04_39_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3bf10a26e884eb0f15920264372e8233.jpg","text":"TemporaryFile(/tmp/multipartBody668225137161346527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118712759,"filename":"image_21022025_04_38_25_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/09a3b0ee237e3498f9e6b2c4941e78fb.jpg","text":"TemporaryFile(/tmp/multipartBody8768791740928679430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118712759,"filename":"image_21022025_04_39_36_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d8bf0e07259e99dd9ad83afcd25c681d.jpg","text":"TemporaryFile(/tmp/multipartBody5807329890116849732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118712759,"filename":"image_21022025_04_38_16_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b2cb278f6bc71a252c5e6388c99f4de.jpg","text":"TemporaryFile(/tmp/multipartBody6577575706388572509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118712759,"filename":"image_21022025_04_39_26_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3506247c631467350dfc517448f5bdfd.jpg","text":"TemporaryFile(/tmp/multipartBody1215515343246017792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118712759,"filename":"image_21022025_04_39_46_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338765908","file1":"1338765898","file0":"1338765891","file4":"1338765913","file5":"1338765915","file3":"1338765910"},"map_files_photo_id_array":[{"photo_id":"1338765915","filename":"file5"},{"photo_id":"1338765908","filename":"file2"},{"photo_id":"1338765913","filename":"file4"},{"photo_id":"1338765898","filename":"file1"},{"photo_id":"1338765891","filename":"file0"},{"photo_id":"1338765910","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338765908":["hashtag1","hashtag2"]},{"1338765898":["hashtag1","hashtag2"]},{"1338765913":["hashtag1","hashtag2"]},{"1338765891":["hashtag1","hashtag2"]},{"1338765910":["hashtag1","hashtag2"]},{"1338765915":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338765908, 1338765898, 1338765913, 1338765891, 1338765910, 1338765915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.844682455062866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:18:32.503928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/39/image_21022025_04_39_56_10341.jpg', '/home/pi/Desktop/images/21022025/04/40/image_21022025_04_40_26_10397.jpg', '/home/pi/Desktop/images/21022025/04/41/image_21022025_04_41_46_10428.jpg', '/home/pi/Desktop/images/21022025/04/41/image_21022025_04_42_06_10437.jpg', '/home/pi/Desktop/images/21022025/04/42/image_21022025_04_42_16_10328.jpg', '/home/pi/Desktop/images/21022025/04/42/image_21022025_04_42_36_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/39/image_21022025_04_39_56_10341.jpg
/home/pi/Desktop/images/21022025/04/40/image_21022025_04_40_26_10397.jpg
/home/pi/Desktop/images/21022025/04/41/image_21022025_04_41_46_10428.jpg
/home/pi/Desktop/images/21022025/04/41/image_21022025_04_42_06_10437.jpg
/home/pi/Desktop/images/21022025/04/42/image_21022025_04_42_16_10328.jpg
/home/pi/Desktop/images/21022025/04/42/image_21022025_04_42_36_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338765967","1338765981","1338765992","1338765986","1338765989","1338765959"],"photo_ids_order":["1338765959","1338765967","1338765981","1338765986","1338765989","1338765992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/db3f53e4f2a9fcf7d0ee49e0dc640f92.jpg","text":"TemporaryFile(/tmp/multipartBody6573921366025861874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118773000,"filename":"image_21022025_04_40_26_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/130e20c7f1c5333627b31ef6711fa5a2.jpg","text":"TemporaryFile(/tmp/multipartBody6540283768198803336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118773000,"filename":"image_21022025_04_41_46_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2b59311032b6f425c1008b611069716f.jpg","text":"TemporaryFile(/tmp/multipartBody4887477073619807531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118773000,"filename":"image_21022025_04_42_36_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f81972072cb8010dd99c193720988f5a.jpg","text":"TemporaryFile(/tmp/multipartBody2398638365967931061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118773000,"filename":"image_21022025_04_42_06_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/822a1987832a175bb29cd8030bf624e2.jpg","text":"TemporaryFile(/tmp/multipartBody7967437532403370952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118773000,"filename":"image_21022025_04_42_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1f8045998cd28fc455132880c53ed3c8.jpg","text":"TemporaryFile(/tmp/multipartBody7449974469011164170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118773000,"filename":"image_21022025_04_39_56_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338765981","file1":"1338765967","file0":"1338765959","file4":"1338765989","file5":"1338765992","file3":"1338765986"},"map_files_photo_id_array":[{"photo_id":"1338765992","filename":"file5"},{"photo_id":"1338765981","filename":"file2"},{"photo_id":"1338765989","filename":"file4"},{"photo_id":"1338765967","filename":"file1"},{"photo_id":"1338765959","filename":"file0"},{"photo_id":"1338765986","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338765967":["hashtag1","hashtag2"]},{"1338765981":["hashtag1","hashtag2"]},{"1338765992":["hashtag1","hashtag2"]},{"1338765986":["hashtag1","hashtag2"]},{"1338765989":["hashtag1","hashtag2"]},{"1338765959":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338765967, 1338765981, 1338765992, 1338765986, 1338765989, 1338765959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.679577589035034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:19:32.769274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/42/image_21022025_04_42_56_9412.jpg', '/home/pi/Desktop/images/21022025/04/42/image_21022025_04_43_06_10345.jpg', '/home/pi/Desktop/images/21022025/04/43/image_21022025_04_43_16_10334.jpg', '/home/pi/Desktop/images/21022025/04/43/image_21022025_04_43_26_9355.jpg', '/home/pi/Desktop/images/21022025/04/43/image_21022025_04_43_36_10354.jpg', '/home/pi/Desktop/images/21022025/04/44/image_21022025_04_44_26_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/42/image_21022025_04_42_56_9412.jpg
/home/pi/Desktop/images/21022025/04/42/image_21022025_04_43_06_10345.jpg
/home/pi/Desktop/images/21022025/04/43/image_21022025_04_43_16_10334.jpg
/home/pi/Desktop/images/21022025/04/43/image_21022025_04_43_26_9355.jpg
/home/pi/Desktop/images/21022025/04/43/image_21022025_04_43_36_10354.jpg
/home/pi/Desktop/images/21022025/04/44/image_21022025_04_44_26_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338766027","1338766024","1338766017","1338766014","1338766001","1338766004"],"photo_ids_order":["1338766001","1338766004","1338766014","1338766017","1338766024","1338766027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cb7856f17f70dbffad7a08c41a3d058d.jpg","text":"TemporaryFile(/tmp/multipartBody6022169158973520652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118833254,"filename":"image_21022025_04_44_26_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7bec74d620512eb498dfe7dd333c1b0b.jpg","text":"TemporaryFile(/tmp/multipartBody3165976467926644183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118833254,"filename":"image_21022025_04_43_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1a4bd51c8227188bb9bed1a70355b24c.jpg","text":"TemporaryFile(/tmp/multipartBody4317608242580472128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118833254,"filename":"image_21022025_04_43_26_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87b5478e2681b92b0c682731db26fd93.jpg","text":"TemporaryFile(/tmp/multipartBody3071301992773977172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118833254,"filename":"image_21022025_04_43_16_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f9ef77757edba2d25e954b21d644a77c.jpg","text":"TemporaryFile(/tmp/multipartBody4615476076988019231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118833254,"filename":"image_21022025_04_42_56_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c1bedb5bc415d995fecd41b4cc88f6c.jpg","text":"TemporaryFile(/tmp/multipartBody3731866209856225021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118833254,"filename":"image_21022025_04_43_06_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338766014","file1":"1338766004","file0":"1338766001","file4":"1338766024","file5":"1338766027","file3":"1338766017"},"map_files_photo_id_array":[{"photo_id":"1338766027","filename":"file5"},{"photo_id":"1338766014","filename":"file2"},{"photo_id":"1338766024","filename":"file4"},{"photo_id":"1338766004","filename":"file1"},{"photo_id":"1338766001","filename":"file0"},{"photo_id":"1338766017","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338766027":["hashtag1","hashtag2"]},{"1338766024":["hashtag1","hashtag2"]},{"1338766017":["hashtag1","hashtag2"]},{"1338766014":["hashtag1","hashtag2"]},{"1338766001":["hashtag1","hashtag2"]},{"1338766004":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338766027, 1338766024, 1338766017, 1338766014, 1338766001, 1338766004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.35357856750488 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:20:32.876507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/44/image_21022025_04_44_36_10401.jpg', '/home/pi/Desktop/images/21022025/04/44/image_21022025_04_44_46_9418.jpg', '/home/pi/Desktop/images/21022025/04/44/image_21022025_04_44_56_10334.jpg', '/home/pi/Desktop/images/21022025/04/44/image_21022025_04_45_05_9334.jpg', '/home/pi/Desktop/images/21022025/04/45/image_21022025_04_45_16_10431.jpg', '/home/pi/Desktop/images/21022025/04/45/image_21022025_04_45_46_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/44/image_21022025_04_44_36_10401.jpg
/home/pi/Desktop/images/21022025/04/44/image_21022025_04_44_46_9418.jpg
/home/pi/Desktop/images/21022025/04/44/image_21022025_04_44_56_10334.jpg
/home/pi/Desktop/images/21022025/04/44/image_21022025_04_45_05_9334.jpg
/home/pi/Desktop/images/21022025/04/45/image_21022025_04_45_16_10431.jpg
/home/pi/Desktop/images/21022025/04/45/image_21022025_04_45_46_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338766051","1338766036","1338766038","1338766046","1338766055","1338766042"],"photo_ids_order":["1338766036","1338766038","1338766042","1338766046","1338766051","1338766055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/953e8f3b384ff229e29a799b9bc10906.jpg","text":"TemporaryFile(/tmp/multipartBody5048188490296780056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118893358,"filename":"image_21022025_04_45_16_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2cb411998f97bb67f31657bd4a29191e.jpg","text":"TemporaryFile(/tmp/multipartBody5946694756381051397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118893358,"filename":"image_21022025_04_44_36_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/074f2077aa4dd1252960176cc0839c0f.jpg","text":"TemporaryFile(/tmp/multipartBody8451421560384072536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118893358,"filename":"image_21022025_04_44_46_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f7e02c943ba1f93ff8d9d6298a844b1.jpg","text":"TemporaryFile(/tmp/multipartBody7457518770367949569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118893358,"filename":"image_21022025_04_45_05_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/175192db73ef44fd364356808f6ac97f.jpg","text":"TemporaryFile(/tmp/multipartBody5536978684920688692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118893358,"filename":"image_21022025_04_45_46_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a74239e67b0c756c6c2105d543d72415.jpg","text":"TemporaryFile(/tmp/multipartBody36343249544485969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118893358,"filename":"image_21022025_04_44_56_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338766042","file1":"1338766038","file0":"1338766036","file4":"1338766051","file5":"1338766055","file3":"1338766046"},"map_files_photo_id_array":[{"photo_id":"1338766055","filename":"file5"},{"photo_id":"1338766042","filename":"file2"},{"photo_id":"1338766051","filename":"file4"},{"photo_id":"1338766038","filename":"file1"},{"photo_id":"1338766036","filename":"file0"},{"photo_id":"1338766046","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338766051":["hashtag1","hashtag2"]},{"1338766036":["hashtag1","hashtag2"]},{"1338766038":["hashtag1","hashtag2"]},{"1338766046":["hashtag1","hashtag2"]},{"1338766055":["hashtag1","hashtag2"]},{"1338766042":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338766051, 1338766036, 1338766038, 1338766046, 1338766055, 1338766042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76817536354065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:21:33.138203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/45/image_21022025_04_45_55_9410.jpg', '/home/pi/Desktop/images/21022025/04/45/image_21022025_04_46_06_10345.jpg', '/home/pi/Desktop/images/21022025/04/46/image_21022025_04_46_16_10342.jpg', '/home/pi/Desktop/images/21022025/04/46/image_21022025_04_46_25_9361.jpg', '/home/pi/Desktop/images/21022025/04/46/image_21022025_04_46_36_10443.jpg', '/home/pi/Desktop/images/21022025/04/46/image_21022025_04_46_46_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/45/image_21022025_04_45_55_9410.jpg
/home/pi/Desktop/images/21022025/04/45/image_21022025_04_46_06_10345.jpg
/home/pi/Desktop/images/21022025/04/46/image_21022025_04_46_16_10342.jpg
/home/pi/Desktop/images/21022025/04/46/image_21022025_04_46_25_9361.jpg
/home/pi/Desktop/images/21022025/04/46/image_21022025_04_46_36_10443.jpg
/home/pi/Desktop/images/21022025/04/46/image_21022025_04_46_46_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338766108","1338766117","1338766104","1338766115","1338766112","1338766099"],"photo_ids_order":["1338766099","1338766104","1338766108","1338766112","1338766115","1338766117"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5d7665d3aecfb482a470cdd867bef983.jpg","text":"TemporaryFile(/tmp/multipartBody6119559627696639427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118953620,"filename":"image_21022025_04_46_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a8ddbb3b1594d93298793d7466d7eb3b.jpg","text":"TemporaryFile(/tmp/multipartBody7203910577556145094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118953620,"filename":"image_21022025_04_46_46_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ec2310d9a530965ca7e62883ed9be40.jpg","text":"TemporaryFile(/tmp/multipartBody2823373895109025442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118953620,"filename":"image_21022025_04_46_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e8b40c293cbc5f5622215d2531de975b.jpg","text":"TemporaryFile(/tmp/multipartBody8736668882390097128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118953620,"filename":"image_21022025_04_46_36_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/77f37969fe30446e04a28c1242303f3a.jpg","text":"TemporaryFile(/tmp/multipartBody4537663631119854700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118953620,"filename":"image_21022025_04_46_25_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2b1d363e7b1d3f46d59736373bfdf47d.jpg","text":"TemporaryFile(/tmp/multipartBody7081510964755898612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740118953620,"filename":"image_21022025_04_45_55_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338766108","file1":"1338766104","file0":"1338766099","file4":"1338766115","file5":"1338766117","file3":"1338766112"},"map_files_photo_id_array":[{"photo_id":"1338766117","filename":"file5"},{"photo_id":"1338766108","filename":"file2"},{"photo_id":"1338766115","filename":"file4"},{"photo_id":"1338766104","filename":"file1"},{"photo_id":"1338766099","filename":"file0"},{"photo_id":"1338766112","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338766108":["hashtag1","hashtag2"]},{"1338766117":["hashtag1","hashtag2"]},{"1338766104":["hashtag1","hashtag2"]},{"1338766115":["hashtag1","hashtag2"]},{"1338766112":["hashtag1","hashtag2"]},{"1338766099":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338766108, 1338766117, 1338766104, 1338766115, 1338766112, 1338766099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60169053077698 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:22:32.311130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/46/image_21022025_04_46_56_9435.jpg', '/home/pi/Desktop/images/21022025/04/46/image_21022025_04_47_06_10434.jpg', '/home/pi/Desktop/images/21022025/04/48/image_21022025_04_48_16_9418.jpg', '/home/pi/Desktop/images/21022025/04/48/image_21022025_04_48_36_10335.jpg', '/home/pi/Desktop/images/21022025/04/48/image_21022025_04_48_56_10326.jpg', '/home/pi/Desktop/images/21022025/04/48/image_21022025_04_49_05_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/46/image_21022025_04_46_56_9435.jpg
/home/pi/Desktop/images/21022025/04/46/image_21022025_04_47_06_10434.jpg
/home/pi/Desktop/images/21022025/04/48/image_21022025_04_48_16_9418.jpg
/home/pi/Desktop/images/21022025/04/48/image_21022025_04_48_36_10335.jpg
/home/pi/Desktop/images/21022025/04/48/image_21022025_04_48_56_10326.jpg
/home/pi/Desktop/images/21022025/04/48/image_21022025_04_49_05_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338766147","1338766173","1338766158","1338766172","1338766168","1338766162"],"photo_ids_order":["1338766147","1338766158","1338766162","1338766168","1338766172","1338766173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/217e97e0d93fa905f47fb92207ae4fdf.jpg","text":"TemporaryFile(/tmp/multipartBody3785680129308270216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119012788,"filename":"image_21022025_04_46_56_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e3a2a5b86cc646444b2533ff7ec0e8c7.jpg","text":"TemporaryFile(/tmp/multipartBody3391053918913761944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119012788,"filename":"image_21022025_04_49_05_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b6e062c1e7e1f510ffd6b16521162a3.jpg","text":"TemporaryFile(/tmp/multipartBody7813038683035471102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119012788,"filename":"image_21022025_04_47_06_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8189e66754fc582c7b0099ea8b4a7d8c.jpg","text":"TemporaryFile(/tmp/multipartBody2729151452812142303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119012788,"filename":"image_21022025_04_48_56_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/58b503786572a866256e19012bf80ff5.jpg","text":"TemporaryFile(/tmp/multipartBody8687810933562370332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119012788,"filename":"image_21022025_04_48_36_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b335b6498b168ab725644f01ef452b7.jpg","text":"TemporaryFile(/tmp/multipartBody5678506052097039761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119012788,"filename":"image_21022025_04_48_16_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338766162","file1":"1338766158","file0":"1338766147","file4":"1338766172","file5":"1338766173","file3":"1338766168"},"map_files_photo_id_array":[{"photo_id":"1338766173","filename":"file5"},{"photo_id":"1338766162","filename":"file2"},{"photo_id":"1338766172","filename":"file4"},{"photo_id":"1338766158","filename":"file1"},{"photo_id":"1338766147","filename":"file0"},{"photo_id":"1338766168","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338766147":["hashtag1","hashtag2"]},{"1338766173":["hashtag1","hashtag2"]},{"1338766158":["hashtag1","hashtag2"]},{"1338766172":["hashtag1","hashtag2"]},{"1338766168":["hashtag1","hashtag2"]},{"1338766162":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338766147, 1338766173, 1338766158, 1338766172, 1338766168, 1338766162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84138107299805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:23:32.423687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/50/image_21022025_04_50_25_9400.jpg', '/home/pi/Desktop/images/21022025/04/50/image_21022025_04_50_46_10329.jpg', '/home/pi/Desktop/images/21022025/04/50/image_21022025_04_50_55_9331.jpg', '/home/pi/Desktop/images/21022025/04/50/image_21022025_04_51_06_10444.jpg', '/home/pi/Desktop/images/21022025/04/51/image_21022025_04_51_16_10329.jpg', '/home/pi/Desktop/images/21022025/04/51/image_21022025_04_51_25_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/50/image_21022025_04_50_25_9400.jpg
/home/pi/Desktop/images/21022025/04/50/image_21022025_04_50_46_10329.jpg
/home/pi/Desktop/images/21022025/04/50/image_21022025_04_50_55_9331.jpg
/home/pi/Desktop/images/21022025/04/50/image_21022025_04_51_06_10444.jpg
/home/pi/Desktop/images/21022025/04/51/image_21022025_04_51_16_10329.jpg
/home/pi/Desktop/images/21022025/04/51/image_21022025_04_51_25_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338766210","1338766245","1338766224","1338766212","1338766235","1338766249"],"photo_ids_order":["1338766210","1338766212","1338766224","1338766235","1338766245","1338766249"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/db311d32ec30bab31331fd72f464c38b.jpg","text":"TemporaryFile(/tmp/multipartBody3224187811807001856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119072904,"filename":"image_21022025_04_50_25_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce7f0a2f00566c9311582845577ed4d8.jpg","text":"TemporaryFile(/tmp/multipartBody4769409100960407586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119072904,"filename":"image_21022025_04_51_16_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c50d2fbb57ef50b7ac9505a276c819ca.jpg","text":"TemporaryFile(/tmp/multipartBody1759686988417522825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119072904,"filename":"image_21022025_04_50_55_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/20c3f15f8b235f1c7389ca6b94836a06.jpg","text":"TemporaryFile(/tmp/multipartBody8301759739459493059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119072904,"filename":"image_21022025_04_50_46_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b2f9f6ab1fb05c7ebdc8dd4064f2760.jpg","text":"TemporaryFile(/tmp/multipartBody4586996131959245022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119072904,"filename":"image_21022025_04_51_06_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32bb58df9b387b632c433d32a6b99a47.jpg","text":"TemporaryFile(/tmp/multipartBody1021730116908585107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119072904,"filename":"image_21022025_04_51_25_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338766224","file1":"1338766212","file0":"1338766210","file4":"1338766245","file5":"1338766249","file3":"1338766235"},"map_files_photo_id_array":[{"photo_id":"1338766249","filename":"file5"},{"photo_id":"1338766224","filename":"file2"},{"photo_id":"1338766245","filename":"file4"},{"photo_id":"1338766212","filename":"file1"},{"photo_id":"1338766210","filename":"file0"},{"photo_id":"1338766235","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338766210":["hashtag1","hashtag2"]},{"1338766245":["hashtag1","hashtag2"]},{"1338766224":["hashtag1","hashtag2"]},{"1338766212":["hashtag1","hashtag2"]},{"1338766235":["hashtag1","hashtag2"]},{"1338766249":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338766210, 1338766245, 1338766224, 1338766212, 1338766235, 1338766249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09079432487488 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:24:32.917993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/51/image_21022025_04_51_36_10343.jpg', '/home/pi/Desktop/images/21022025/04/51/image_21022025_04_51_46_10344.jpg', '/home/pi/Desktop/images/21022025/04/51/image_21022025_04_51_56_9415.jpg', '/home/pi/Desktop/images/21022025/04/51/image_21022025_04_52_06_10400.jpg', '/home/pi/Desktop/images/21022025/04/52/image_21022025_04_52_15_9321.jpg', '/home/pi/Desktop/images/21022025/04/52/image_21022025_04_52_26_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/51/image_21022025_04_51_36_10343.jpg
/home/pi/Desktop/images/21022025/04/51/image_21022025_04_51_46_10344.jpg
/home/pi/Desktop/images/21022025/04/51/image_21022025_04_51_56_9415.jpg
/home/pi/Desktop/images/21022025/04/51/image_21022025_04_52_06_10400.jpg
/home/pi/Desktop/images/21022025/04/52/image_21022025_04_52_15_9321.jpg
/home/pi/Desktop/images/21022025/04/52/image_21022025_04_52_26_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338766279","1338766324","1338766327","1338766320","1338766319","1338766322"],"photo_ids_order":["1338766279","1338766319","1338766320","1338766322","1338766324","1338766327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/821eb7e3450e043f24923931e8eaea7c.jpg","text":"TemporaryFile(/tmp/multipartBody4395080396659054706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119133414,"filename":"image_21022025_04_51_36_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a4922497d6921f4307dd7fc122f3e2c9.jpg","text":"TemporaryFile(/tmp/multipartBody6258333520151340057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119133414,"filename":"image_21022025_04_52_15_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d738efd0fe1197de280c6d12d3bfead1.jpg","text":"TemporaryFile(/tmp/multipartBody2886236471682371497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119133414,"filename":"image_21022025_04_52_26_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7bee32a3d2c34e44ee51a39bc017d3ef.jpg","text":"TemporaryFile(/tmp/multipartBody3584755927155225667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119133414,"filename":"image_21022025_04_51_56_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/663bbb3aa51ece8ea6c320b46c28cf89.jpg","text":"TemporaryFile(/tmp/multipartBody988242057506268515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119133414,"filename":"image_21022025_04_51_46_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d0e3edd4eb6c51ee7f3db9fe84b5b3cb.jpg","text":"TemporaryFile(/tmp/multipartBody3716562705221739594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119133414,"filename":"image_21022025_04_52_06_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338766320","file1":"1338766319","file0":"1338766279","file4":"1338766324","file5":"1338766327","file3":"1338766322"},"map_files_photo_id_array":[{"photo_id":"1338766327","filename":"file5"},{"photo_id":"1338766320","filename":"file2"},{"photo_id":"1338766324","filename":"file4"},{"photo_id":"1338766319","filename":"file1"},{"photo_id":"1338766279","filename":"file0"},{"photo_id":"1338766322","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338766279":["hashtag1","hashtag2"]},{"1338766324":["hashtag1","hashtag2"]},{"1338766327":["hashtag1","hashtag2"]},{"1338766320":["hashtag1","hashtag2"]},{"1338766319":["hashtag1","hashtag2"]},{"1338766322":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338766279, 1338766324, 1338766327, 1338766320, 1338766319, 1338766322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73986339569092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:25:32.108159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/52/image_21022025_04_52_36_10349.jpg', '/home/pi/Desktop/images/21022025/04/52/image_21022025_04_52_45_9397.jpg', '/home/pi/Desktop/images/21022025/04/52/image_21022025_04_52_56_10376.jpg', '/home/pi/Desktop/images/21022025/04/53/image_21022025_04_53_15_9337.jpg', '/home/pi/Desktop/images/21022025/04/53/image_21022025_04_53_26_10431.jpg', '/home/pi/Desktop/images/21022025/04/53/image_21022025_04_53_46_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/52/image_21022025_04_52_36_10349.jpg
/home/pi/Desktop/images/21022025/04/52/image_21022025_04_52_45_9397.jpg
/home/pi/Desktop/images/21022025/04/52/image_21022025_04_52_56_10376.jpg
/home/pi/Desktop/images/21022025/04/53/image_21022025_04_53_15_9337.jpg
/home/pi/Desktop/images/21022025/04/53/image_21022025_04_53_26_10431.jpg
/home/pi/Desktop/images/21022025/04/53/image_21022025_04_53_46_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338766383","1338766374","1338766382","1338766376","1338766379","1338766370"],"photo_ids_order":["1338766370","1338766374","1338766376","1338766379","1338766382","1338766383"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3316981ab3003ed371ddc510d589aef0.jpg","text":"TemporaryFile(/tmp/multipartBody6935946394727498936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119192601,"filename":"image_21022025_04_53_46_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bbfc53e2b8f7b24679377e15c03eccca.jpg","text":"TemporaryFile(/tmp/multipartBody5308080427662388053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119192601,"filename":"image_21022025_04_52_45_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6d5770391eac01ad5ba7878834d04ac5.jpg","text":"TemporaryFile(/tmp/multipartBody1461098442320021689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119192601,"filename":"image_21022025_04_53_26_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80f68c27a0d1a31da878b089a995fcaa.jpg","text":"TemporaryFile(/tmp/multipartBody5972699307756570818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119192601,"filename":"image_21022025_04_52_56_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fda859aa534aa61dfb4a6cc1d92a7093.jpg","text":"TemporaryFile(/tmp/multipartBody4639493435124053075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119192601,"filename":"image_21022025_04_53_15_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/60b7db32627ef70a1f4e81a3be3ea78e.jpg","text":"TemporaryFile(/tmp/multipartBody3879115138427517555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119192601,"filename":"image_21022025_04_52_36_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338766376","file1":"1338766374","file0":"1338766370","file4":"1338766382","file5":"1338766383","file3":"1338766379"},"map_files_photo_id_array":[{"photo_id":"1338766383","filename":"file5"},{"photo_id":"1338766376","filename":"file2"},{"photo_id":"1338766382","filename":"file4"},{"photo_id":"1338766374","filename":"file1"},{"photo_id":"1338766370","filename":"file0"},{"photo_id":"1338766379","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338766383":["hashtag1","hashtag2"]},{"1338766374":["hashtag1","hashtag2"]},{"1338766382":["hashtag1","hashtag2"]},{"1338766376":["hashtag1","hashtag2"]},{"1338766379":["hashtag1","hashtag2"]},{"1338766370":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338766383, 1338766374, 1338766382, 1338766376, 1338766379, 1338766370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.67508053779602 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:26:32.257556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/53/image_21022025_04_53_56_10343.jpg', '/home/pi/Desktop/images/21022025/04/53/image_21022025_04_54_05_9322.jpg', '/home/pi/Desktop/images/21022025/04/54/image_21022025_04_54_35_9425.jpg', '/home/pi/Desktop/images/21022025/04/54/image_21022025_04_54_46_10394.jpg', '/home/pi/Desktop/images/21022025/04/54/image_21022025_04_54_56_10358.jpg', '/home/pi/Desktop/images/21022025/04/54/image_21022025_04_55_06_9475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/53/image_21022025_04_53_56_10343.jpg
/home/pi/Desktop/images/21022025/04/53/image_21022025_04_54_05_9322.jpg
/home/pi/Desktop/images/21022025/04/54/image_21022025_04_54_35_9425.jpg
/home/pi/Desktop/images/21022025/04/54/image_21022025_04_54_46_10394.jpg
/home/pi/Desktop/images/21022025/04/54/image_21022025_04_54_56_10358.jpg
/home/pi/Desktop/images/21022025/04/54/image_21022025_04_55_06_9475.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338766402","1338766426","1338766425","1338766418","1338766406","1338766409"],"photo_ids_order":["1338766402","1338766406","1338766409","1338766418","1338766425","1338766426"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ffe886238299eee5c80da055b65f1919.jpg","text":"TemporaryFile(/tmp/multipartBody4628428093527965044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119252842,"filename":"image_21022025_04_53_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5ef0fd1997649ec546cd53b4af898224.jpg","text":"TemporaryFile(/tmp/multipartBody7015037371600193344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119252842,"filename":"image_21022025_04_55_06_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/97fd2a80fd1558ede5aa1cc3b3389f9e.jpg","text":"TemporaryFile(/tmp/multipartBody4538124129379811096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119252842,"filename":"image_21022025_04_54_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c8a6ae2ee85ecedec2c1947418487e4.jpg","text":"TemporaryFile(/tmp/multipartBody2675228540887381036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119252842,"filename":"image_21022025_04_54_46_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87e333984b6334f56482e1fa49f6204d.jpg","text":"TemporaryFile(/tmp/multipartBody5559084507860285891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119252842,"filename":"image_21022025_04_54_05_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/353776bf2b49c97aca1cc601e545f346.jpg","text":"TemporaryFile(/tmp/multipartBody3850028112091875427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119252842,"filename":"image_21022025_04_54_35_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338766409","file1":"1338766406","file0":"1338766402","file4":"1338766425","file5":"1338766426","file3":"1338766418"},"map_files_photo_id_array":[{"photo_id":"1338766426","filename":"file5"},{"photo_id":"1338766409","filename":"file2"},{"photo_id":"1338766425","filename":"file4"},{"photo_id":"1338766406","filename":"file1"},{"photo_id":"1338766402","filename":"file0"},{"photo_id":"1338766418","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338766402":["hashtag1","hashtag2"]},{"1338766426":["hashtag1","hashtag2"]},{"1338766425":["hashtag1","hashtag2"]},{"1338766418":["hashtag1","hashtag2"]},{"1338766406":["hashtag1","hashtag2"]},{"1338766409":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338766402, 1338766426, 1338766425, 1338766418, 1338766406, 1338766409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64372968673706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:27:32.551942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/55/image_21022025_04_55_16_10337.jpg', '/home/pi/Desktop/images/21022025/04/55/image_21022025_04_55_25_9351.jpg', '/home/pi/Desktop/images/21022025/04/55/image_21022025_04_55_36_10347.jpg', '/home/pi/Desktop/images/21022025/04/55/image_21022025_04_55_46_10335.jpg', '/home/pi/Desktop/images/21022025/04/55/image_21022025_04_55_55_9354.jpg', '/home/pi/Desktop/images/21022025/04/55/image_21022025_04_56_06_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/55/image_21022025_04_55_16_10337.jpg
/home/pi/Desktop/images/21022025/04/55/image_21022025_04_55_25_9351.jpg
/home/pi/Desktop/images/21022025/04/55/image_21022025_04_55_36_10347.jpg
/home/pi/Desktop/images/21022025/04/55/image_21022025_04_55_46_10335.jpg
/home/pi/Desktop/images/21022025/04/55/image_21022025_04_55_55_9354.jpg
/home/pi/Desktop/images/21022025/04/55/image_21022025_04_56_06_10439.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3854794502258301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 07:27:42.580508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/55/image_21022025_04_55_16_10337.jpg', '/home/pi/Desktop/images/21022025/04/55/image_21022025_04_55_25_9351.jpg', '/home/pi/Desktop/images/21022025/04/55/image_21022025_04_55_36_10347.jpg', '/home/pi/Desktop/images/21022025/04/55/image_21022025_04_55_46_10335.jpg', '/home/pi/Desktop/images/21022025/04/55/image_21022025_04_55_55_9354.jpg', '/home/pi/Desktop/images/21022025/04/55/image_21022025_04_56_06_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/55/image_21022025_04_55_16_10337.jpg
/home/pi/Desktop/images/21022025/04/55/image_21022025_04_55_25_9351.jpg
/home/pi/Desktop/images/21022025/04/55/image_21022025_04_55_36_10347.jpg
/home/pi/Desktop/images/21022025/04/55/image_21022025_04_55_46_10335.jpg
/home/pi/Desktop/images/21022025/04/55/image_21022025_04_55_55_9354.jpg
/home/pi/Desktop/images/21022025/04/55/image_21022025_04_56_06_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338766482","1338766472","1338766475","1338766478","1338766480","1338766468"],"photo_ids_order":["1338766468","1338766472","1338766475","1338766478","1338766480","1338766482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/de1b54a1825b099f7959a90b74bea515.jpg","text":"TemporaryFile(/tmp/multipartBody6540338962035789107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119323067,"filename":"image_21022025_04_56_06_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fe2832beac164ead2d9388e1a3b11c58.jpg","text":"TemporaryFile(/tmp/multipartBody9134138489111285477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119323067,"filename":"image_21022025_04_55_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6226e979fa917d479ce49bebf250d3a2.jpg","text":"TemporaryFile(/tmp/multipartBody230256179425295850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119323067,"filename":"image_21022025_04_55_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d5b3f1432ad60c97cbda60d6392b42bd.jpg","text":"TemporaryFile(/tmp/multipartBody4387862919808759524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119323067,"filename":"image_21022025_04_55_46_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87788f9a27d4c7e7b9611cf24c021de2.jpg","text":"TemporaryFile(/tmp/multipartBody6423535363701501930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119323067,"filename":"image_21022025_04_55_55_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/309aaca60d18bd685525754ccf96c520.jpg","text":"TemporaryFile(/tmp/multipartBody8383848290476562806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119323067,"filename":"image_21022025_04_55_16_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338766475","file1":"1338766472","file0":"1338766468","file4":"1338766480","file5":"1338766482","file3":"1338766478"},"map_files_photo_id_array":[{"photo_id":"1338766482","filename":"file5"},{"photo_id":"1338766475","filename":"file2"},{"photo_id":"1338766480","filename":"file4"},{"photo_id":"1338766472","filename":"file1"},{"photo_id":"1338766468","filename":"file0"},{"photo_id":"1338766478","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338766482":["hashtag1","hashtag2"]},{"1338766472":["hashtag1","hashtag2"]},{"1338766475":["hashtag1","hashtag2"]},{"1338766478":["hashtag1","hashtag2"]},{"1338766480":["hashtag1","hashtag2"]},{"1338766468":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338766482, 1338766472, 1338766475, 1338766478, 1338766480, 1338766468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.757755517959595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:28:32.618890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/56/image_21022025_04_56_16_10322.jpg', '/home/pi/Desktop/images/21022025/04/56/image_21022025_04_56_26_9406.jpg', '/home/pi/Desktop/images/21022025/04/56/image_21022025_04_56_36_10355.jpg', '/home/pi/Desktop/images/21022025/04/56/image_21022025_04_56_46_10324.jpg', '/home/pi/Desktop/images/21022025/04/56/image_21022025_04_56_56_9338.jpg', '/home/pi/Desktop/images/21022025/04/56/image_21022025_04_57_06_10311.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/56/image_21022025_04_56_16_10322.jpg
/home/pi/Desktop/images/21022025/04/56/image_21022025_04_56_26_9406.jpg
/home/pi/Desktop/images/21022025/04/56/image_21022025_04_56_36_10355.jpg
/home/pi/Desktop/images/21022025/04/56/image_21022025_04_56_46_10324.jpg
/home/pi/Desktop/images/21022025/04/56/image_21022025_04_56_56_9338.jpg
/home/pi/Desktop/images/21022025/04/56/image_21022025_04_57_06_10311.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338766507","1338766500","1338766496","1338766517","1338766511","1338766508"],"photo_ids_order":["1338766496","1338766500","1338766507","1338766508","1338766511","1338766517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8eb2f476d24c01bc5f2e35db1b87c7ae.jpg","text":"TemporaryFile(/tmp/multipartBody9130575530149420188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119373141,"filename":"image_21022025_04_56_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/19fd448f60e1bd6b1906774efc2abc00.jpg","text":"TemporaryFile(/tmp/multipartBody5059679666921148801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119373141,"filename":"image_21022025_04_56_26_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7519a01883702e5a4effd756e091e336.jpg","text":"TemporaryFile(/tmp/multipartBody6046132095002829431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119373141,"filename":"image_21022025_04_56_16_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a8210aa2b3f016e324a8a4f9cd8192b6.jpg","text":"TemporaryFile(/tmp/multipartBody4834269790271285688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119373141,"filename":"image_21022025_04_57_06_10311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a470bf2b408c1e895a01bfa628462e1e.jpg","text":"TemporaryFile(/tmp/multipartBody4202946624978817535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119373141,"filename":"image_21022025_04_56_56_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3b0fb4d0806554cd80032c8059a892aa.jpg","text":"TemporaryFile(/tmp/multipartBody9035215057995743874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119373141,"filename":"image_21022025_04_56_46_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338766507","file1":"1338766500","file0":"1338766496","file4":"1338766511","file5":"1338766517","file3":"1338766508"},"map_files_photo_id_array":[{"photo_id":"1338766517","filename":"file5"},{"photo_id":"1338766507","filename":"file2"},{"photo_id":"1338766511","filename":"file4"},{"photo_id":"1338766500","filename":"file1"},{"photo_id":"1338766496","filename":"file0"},{"photo_id":"1338766508","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338766507":["hashtag1","hashtag2"]},{"1338766500":["hashtag1","hashtag2"]},{"1338766496":["hashtag1","hashtag2"]},{"1338766517":["hashtag1","hashtag2"]},{"1338766511":["hashtag1","hashtag2"]},{"1338766508":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338766507, 1338766500, 1338766496, 1338766517, 1338766511, 1338766508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54258131980896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:29:32.885318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/57/image_21022025_04_57_15_9428.jpg', '/home/pi/Desktop/images/21022025/04/57/image_21022025_04_58_06_10322.jpg', '/home/pi/Desktop/images/21022025/04/58/image_21022025_04_58_15_9343.jpg', '/home/pi/Desktop/images/21022025/04/58/image_21022025_04_58_36_10336.jpg', '/home/pi/Desktop/images/21022025/04/58/image_21022025_04_58_46_9442.jpg', '/home/pi/Desktop/images/21022025/04/59/image_21022025_04_59_16_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/57/image_21022025_04_57_15_9428.jpg
/home/pi/Desktop/images/21022025/04/57/image_21022025_04_58_06_10322.jpg
/home/pi/Desktop/images/21022025/04/58/image_21022025_04_58_15_9343.jpg
/home/pi/Desktop/images/21022025/04/58/image_21022025_04_58_36_10336.jpg
/home/pi/Desktop/images/21022025/04/58/image_21022025_04_58_46_9442.jpg
/home/pi/Desktop/images/21022025/04/59/image_21022025_04_59_16_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338766575","1338766563","1338766568","1338766541","1338766547","1338766576"],"photo_ids_order":["1338766541","1338766547","1338766563","1338766568","1338766575","1338766576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e059a5570eb52083baa8b198188c484b.jpg","text":"TemporaryFile(/tmp/multipartBody4226538719133023343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119433374,"filename":"image_21022025_04_58_46_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e0b33877648d02806620d0974b223b7d.jpg","text":"TemporaryFile(/tmp/multipartBody1487829968508076246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119433374,"filename":"image_21022025_04_58_15_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/89d7095e273934583b952d9cedf55e1c.jpg","text":"TemporaryFile(/tmp/multipartBody8266929064285498199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119433374,"filename":"image_21022025_04_58_36_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f0acb2c033bcc842cb1fa30c12b1d318.jpg","text":"TemporaryFile(/tmp/multipartBody9033661862883303221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119433374,"filename":"image_21022025_04_57_15_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e2cde3d5bd4649fa1f255d9eadc65163.jpg","text":"TemporaryFile(/tmp/multipartBody2999275305335351808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119433374,"filename":"image_21022025_04_58_06_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ce65a820f605b3a8c5d632428b85ebc.jpg","text":"TemporaryFile(/tmp/multipartBody4242371028252146287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119433374,"filename":"image_21022025_04_59_16_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338766563","file1":"1338766547","file0":"1338766541","file4":"1338766575","file5":"1338766576","file3":"1338766568"},"map_files_photo_id_array":[{"photo_id":"1338766576","filename":"file5"},{"photo_id":"1338766563","filename":"file2"},{"photo_id":"1338766575","filename":"file4"},{"photo_id":"1338766547","filename":"file1"},{"photo_id":"1338766541","filename":"file0"},{"photo_id":"1338766568","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338766575":["hashtag1","hashtag2"]},{"1338766563":["hashtag1","hashtag2"]},{"1338766568":["hashtag1","hashtag2"]},{"1338766541":["hashtag1","hashtag2"]},{"1338766547":["hashtag1","hashtag2"]},{"1338766576":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338766575, 1338766563, 1338766568, 1338766541, 1338766547, 1338766576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55948615074158 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:30:33.067186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/04/59/image_21022025_04_59_46_10348.jpg', '/home/pi/Desktop/images/21022025/04/59/image_21022025_04_59_56_10342.jpg', '/home/pi/Desktop/images/21022025/05/01/image_21022025_05_01_14_10076.jpg', '/home/pi/Desktop/images/21022025/05/01/image_21022025_05_01_24_10365.jpg', '/home/pi/Desktop/images/21022025/05/01/image_21022025_05_01_35_10423.jpg', '/home/pi/Desktop/images/21022025/05/02/image_21022025_05_02_14_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/04/59/image_21022025_04_59_46_10348.jpg
/home/pi/Desktop/images/21022025/04/59/image_21022025_04_59_56_10342.jpg
/home/pi/Desktop/images/21022025/05/01/image_21022025_05_01_14_10076.jpg
/home/pi/Desktop/images/21022025/05/01/image_21022025_05_01_24_10365.jpg
/home/pi/Desktop/images/21022025/05/01/image_21022025_05_01_35_10423.jpg
/home/pi/Desktop/images/21022025/05/02/image_21022025_05_02_14_9445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338766600","1338766596","1338766599","1338766598","1338766602","1338766601"],"photo_ids_order":["1338766596","1338766598","1338766599","1338766600","1338766601","1338766602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3481dafd361a72c0e524b3415d9b7629.jpg","text":"TemporaryFile(/tmp/multipartBody5303170571759864087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119493548,"filename":"image_21022025_05_01_24_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/41f89b3f8b5898946cf7c1b58b0e912e.jpg","text":"TemporaryFile(/tmp/multipartBody5255581403040914852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119493548,"filename":"image_21022025_04_59_46_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2550350f7e039c57225466a7bd09ddb8.jpg","text":"TemporaryFile(/tmp/multipartBody214089450261430537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119493548,"filename":"image_21022025_05_01_14_10076.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ae8fed9edd138277aae48c783ceda69.jpg","text":"TemporaryFile(/tmp/multipartBody6743230345002284605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119493548,"filename":"image_21022025_04_59_56_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/442e725de3f1000146424a3b921ca23f.jpg","text":"TemporaryFile(/tmp/multipartBody5368118555134141165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119493548,"filename":"image_21022025_05_02_14_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/366611bbdf8289f1363087a888b7052f.jpg","text":"TemporaryFile(/tmp/multipartBody6299003698899262170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119493548,"filename":"image_21022025_05_01_35_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338766599","file1":"1338766598","file0":"1338766596","file4":"1338766601","file5":"1338766602","file3":"1338766600"},"map_files_photo_id_array":[{"photo_id":"1338766602","filename":"file5"},{"photo_id":"1338766599","filename":"file2"},{"photo_id":"1338766601","filename":"file4"},{"photo_id":"1338766598","filename":"file1"},{"photo_id":"1338766596","filename":"file0"},{"photo_id":"1338766600","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338766600":["hashtag1","hashtag2"]},{"1338766596":["hashtag1","hashtag2"]},{"1338766599":["hashtag1","hashtag2"]},{"1338766598":["hashtag1","hashtag2"]},{"1338766602":["hashtag1","hashtag2"]},{"1338766601":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338766600, 1338766596, 1338766599, 1338766598, 1338766602, 1338766601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81180548667908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:31:32.262718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/02/image_21022025_05_02_34_9344.jpg', '/home/pi/Desktop/images/21022025/05/02/image_21022025_05_02_44_10331.jpg', '/home/pi/Desktop/images/21022025/05/02/image_21022025_05_02_55_10405.jpg', '/home/pi/Desktop/images/21022025/05/03/image_21022025_05_03_14_10351.jpg', '/home/pi/Desktop/images/21022025/05/03/image_21022025_05_03_25_10395.jpg', '/home/pi/Desktop/images/21022025/05/03/image_21022025_05_03_34_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/02/image_21022025_05_02_34_9344.jpg
/home/pi/Desktop/images/21022025/05/02/image_21022025_05_02_44_10331.jpg
/home/pi/Desktop/images/21022025/05/02/image_21022025_05_02_55_10405.jpg
/home/pi/Desktop/images/21022025/05/03/image_21022025_05_03_14_10351.jpg
/home/pi/Desktop/images/21022025/05/03/image_21022025_05_03_25_10395.jpg
/home/pi/Desktop/images/21022025/05/03/image_21022025_05_03_34_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338766761","1338766758","1338766632","1338766635","1338766763","1338766760"],"photo_ids_order":["1338766632","1338766635","1338766758","1338766760","1338766761","1338766763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/51d84f1cf626f5832c5b66ab11945259.jpg","text":"TemporaryFile(/tmp/multipartBody5637696546178334087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119552768,"filename":"image_21022025_05_03_25_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a68e4bc04abe93eb9860230a75b750ee.jpg","text":"TemporaryFile(/tmp/multipartBody7028509035301892864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119552768,"filename":"image_21022025_05_02_55_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5be431039e62c3f3dd23d2880b60948b.jpg","text":"TemporaryFile(/tmp/multipartBody1763585132965677972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119552768,"filename":"image_21022025_05_02_34_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b6697c9bce0f746337c5d960b5df152d.jpg","text":"TemporaryFile(/tmp/multipartBody5271399767105684245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119552768,"filename":"image_21022025_05_02_44_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9cc77fee9c4a780bb2a2935fb41e150d.jpg","text":"TemporaryFile(/tmp/multipartBody7133173485427046850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119552768,"filename":"image_21022025_05_03_34_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5fbaa26e9dd841e459f4487f7fe470ec.jpg","text":"TemporaryFile(/tmp/multipartBody1199485405312486839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119552768,"filename":"image_21022025_05_03_14_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338766758","file1":"1338766635","file0":"1338766632","file4":"1338766761","file5":"1338766763","file3":"1338766760"},"map_files_photo_id_array":[{"photo_id":"1338766763","filename":"file5"},{"photo_id":"1338766758","filename":"file2"},{"photo_id":"1338766761","filename":"file4"},{"photo_id":"1338766635","filename":"file1"},{"photo_id":"1338766632","filename":"file0"},{"photo_id":"1338766760","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338766761":["hashtag1","hashtag2"]},{"1338766758":["hashtag1","hashtag2"]},{"1338766632":["hashtag1","hashtag2"]},{"1338766635":["hashtag1","hashtag2"]},{"1338766763":["hashtag1","hashtag2"]},{"1338766760":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338766761, 1338766758, 1338766632, 1338766635, 1338766763, 1338766760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.99380016326904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:32:32.482336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/03/image_21022025_05_03_45_10380.jpg', '/home/pi/Desktop/images/21022025/05/03/image_21022025_05_03_55_10321.jpg', '/home/pi/Desktop/images/21022025/05/04/image_21022025_05_04_15_10485.jpg', '/home/pi/Desktop/images/21022025/05/04/image_21022025_05_04_35_10394.jpg', '/home/pi/Desktop/images/21022025/05/04/image_21022025_05_04_55_9804.jpg', '/home/pi/Desktop/images/21022025/05/05/image_21022025_05_05_14_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/03/image_21022025_05_03_45_10380.jpg
/home/pi/Desktop/images/21022025/05/03/image_21022025_05_03_55_10321.jpg
/home/pi/Desktop/images/21022025/05/04/image_21022025_05_04_15_10485.jpg
/home/pi/Desktop/images/21022025/05/04/image_21022025_05_04_35_10394.jpg
/home/pi/Desktop/images/21022025/05/04/image_21022025_05_04_55_9804.jpg
/home/pi/Desktop/images/21022025/05/05/image_21022025_05_05_14_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338766831","1338766828","1338766816","1338766801","1338766830","1338766806"],"photo_ids_order":["1338766801","1338766806","1338766816","1338766828","1338766830","1338766831"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/997f31ddeeef2083e08a06a96d04b2f8.jpg","text":"TemporaryFile(/tmp/multipartBody7813185684285716574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119612972,"filename":"image_21022025_05_05_14_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/081eae395db74383a5ec74199a2114ee.jpg","text":"TemporaryFile(/tmp/multipartBody3594990842870115017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119612972,"filename":"image_21022025_05_04_35_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ad77c689bc01a987cf54a8462b5e613.jpg","text":"TemporaryFile(/tmp/multipartBody8136789031718915915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119612972,"filename":"image_21022025_05_04_15_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32cf8afc73cd8c89c1d5f9961754ce8e.jpg","text":"TemporaryFile(/tmp/multipartBody5093247952571059160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119612972,"filename":"image_21022025_05_03_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bd91816be40d01a35e343ccd50c8fba6.jpg","text":"TemporaryFile(/tmp/multipartBody670899554529995839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119612972,"filename":"image_21022025_05_04_55_9804.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1715d95daa2d63e46aaab7c6b528fc2b.jpg","text":"TemporaryFile(/tmp/multipartBody3828235159494783744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119612972,"filename":"image_21022025_05_03_55_10321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338766816","file1":"1338766806","file0":"1338766801","file4":"1338766830","file5":"1338766831","file3":"1338766828"},"map_files_photo_id_array":[{"photo_id":"1338766831","filename":"file5"},{"photo_id":"1338766816","filename":"file2"},{"photo_id":"1338766830","filename":"file4"},{"photo_id":"1338766806","filename":"file1"},{"photo_id":"1338766801","filename":"file0"},{"photo_id":"1338766828","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338766831":["hashtag1","hashtag2"]},{"1338766828":["hashtag1","hashtag2"]},{"1338766816":["hashtag1","hashtag2"]},{"1338766801":["hashtag1","hashtag2"]},{"1338766830":["hashtag1","hashtag2"]},{"1338766806":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338766831, 1338766828, 1338766816, 1338766801, 1338766830, 1338766806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29438495635986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:33:32.824843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/05/image_21022025_05_05_34_9337.jpg', '/home/pi/Desktop/images/21022025/05/05/image_21022025_05_05_45_10404.jpg', '/home/pi/Desktop/images/21022025/05/05/image_21022025_05_05_55_10342.jpg', '/home/pi/Desktop/images/21022025/05/05/image_21022025_05_06_04_9347.jpg', '/home/pi/Desktop/images/21022025/05/06/image_21022025_05_06_24_9343.jpg', '/home/pi/Desktop/images/21022025/05/06/image_21022025_05_06_34_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/05/image_21022025_05_05_34_9337.jpg
/home/pi/Desktop/images/21022025/05/05/image_21022025_05_05_45_10404.jpg
/home/pi/Desktop/images/21022025/05/05/image_21022025_05_05_55_10342.jpg
/home/pi/Desktop/images/21022025/05/05/image_21022025_05_06_04_9347.jpg
/home/pi/Desktop/images/21022025/05/06/image_21022025_05_06_24_9343.jpg
/home/pi/Desktop/images/21022025/05/06/image_21022025_05_06_34_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338766866","1338766881","1338766851","1338766853","1338766873","1338766879"],"photo_ids_order":["1338766851","1338766853","1338766866","1338766873","1338766879","1338766881"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e915b4bc392661306ce342555a4a5d7e.jpg","text":"TemporaryFile(/tmp/multipartBody4683753831494801114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119673324,"filename":"image_21022025_05_05_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/67a9e05ad3862bc3941aebce12b1ef37.jpg","text":"TemporaryFile(/tmp/multipartBody3842036964762263125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119673324,"filename":"image_21022025_05_06_34_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/85669094abff113ad266e3d64298ce42.jpg","text":"TemporaryFile(/tmp/multipartBody8880037477202497334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119673324,"filename":"image_21022025_05_05_34_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f17c55659f9bf266943dd06905b9d1a7.jpg","text":"TemporaryFile(/tmp/multipartBody6776757840173968040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119673324,"filename":"image_21022025_05_05_45_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9cfa96ab497bb22d5ea34a4ab15a7369.jpg","text":"TemporaryFile(/tmp/multipartBody7081763395423648898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119673324,"filename":"image_21022025_05_06_04_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f588aa66fe3516f91fdc3f1836c09f6e.jpg","text":"TemporaryFile(/tmp/multipartBody4421529370965972527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119673324,"filename":"image_21022025_05_06_24_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338766866","file1":"1338766853","file0":"1338766851","file4":"1338766879","file5":"1338766881","file3":"1338766873"},"map_files_photo_id_array":[{"photo_id":"1338766881","filename":"file5"},{"photo_id":"1338766866","filename":"file2"},{"photo_id":"1338766879","filename":"file4"},{"photo_id":"1338766853","filename":"file1"},{"photo_id":"1338766851","filename":"file0"},{"photo_id":"1338766873","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338766866":["hashtag1","hashtag2"]},{"1338766881":["hashtag1","hashtag2"]},{"1338766851":["hashtag1","hashtag2"]},{"1338766853":["hashtag1","hashtag2"]},{"1338766873":["hashtag1","hashtag2"]},{"1338766879":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338766866, 1338766881, 1338766851, 1338766853, 1338766873, 1338766879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6485378742218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:34:33.146865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/08/image_21022025_05_08_34_10388.jpg', '/home/pi/Desktop/images/21022025/05/08/image_21022025_05_08_45_10335.jpg', '/home/pi/Desktop/images/21022025/05/08/image_21022025_05_08_54_9332.jpg', '/home/pi/Desktop/images/21022025/05/08/image_21022025_05_09_04_10350.jpg', '/home/pi/Desktop/images/21022025/05/09/image_21022025_05_09_34_10339.jpg', '/home/pi/Desktop/images/21022025/05/09/image_21022025_05_09_45_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/08/image_21022025_05_08_34_10388.jpg
/home/pi/Desktop/images/21022025/05/08/image_21022025_05_08_45_10335.jpg
/home/pi/Desktop/images/21022025/05/08/image_21022025_05_08_54_9332.jpg
/home/pi/Desktop/images/21022025/05/08/image_21022025_05_09_04_10350.jpg
/home/pi/Desktop/images/21022025/05/09/image_21022025_05_09_34_10339.jpg
/home/pi/Desktop/images/21022025/05/09/image_21022025_05_09_45_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338766930","1338766903","1338766920","1338766925","1338766928","1338766916"],"photo_ids_order":["1338766903","1338766916","1338766920","1338766925","1338766928","1338766930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e3aff49e65550790ca73095c0e5fffe.jpg","text":"TemporaryFile(/tmp/multipartBody4161448351124961427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119733641,"filename":"image_21022025_05_09_45_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/64bf162a6c156a439ecb7a45df08db0e.jpg","text":"TemporaryFile(/tmp/multipartBody8094539330127462388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119733641,"filename":"image_21022025_05_08_34_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/915669a5e27f17d2404795caebd92170.jpg","text":"TemporaryFile(/tmp/multipartBody7531107576315829348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119733641,"filename":"image_21022025_05_08_54_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a2da7e85391ef262dc10f7b4c845841.jpg","text":"TemporaryFile(/tmp/multipartBody5173806173870624433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119733641,"filename":"image_21022025_05_09_04_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/208b6fd94b9e0bad40697351460be3c2.jpg","text":"TemporaryFile(/tmp/multipartBody1293277513794718077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119733641,"filename":"image_21022025_05_09_34_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a4d812ceed88d915d4ea9f581bcb07c.jpg","text":"TemporaryFile(/tmp/multipartBody1100213762874723955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119733641,"filename":"image_21022025_05_08_45_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338766920","file1":"1338766916","file0":"1338766903","file4":"1338766928","file5":"1338766930","file3":"1338766925"},"map_files_photo_id_array":[{"photo_id":"1338766930","filename":"file5"},{"photo_id":"1338766920","filename":"file2"},{"photo_id":"1338766928","filename":"file4"},{"photo_id":"1338766916","filename":"file1"},{"photo_id":"1338766903","filename":"file0"},{"photo_id":"1338766925","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338766930":["hashtag1","hashtag2"]},{"1338766903":["hashtag1","hashtag2"]},{"1338766920":["hashtag1","hashtag2"]},{"1338766925":["hashtag1","hashtag2"]},{"1338766928":["hashtag1","hashtag2"]},{"1338766916":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338766930, 1338766903, 1338766920, 1338766925, 1338766928, 1338766916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.93663454055786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:35:32.336435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/09/image_21022025_05_10_05_10389.jpg', '/home/pi/Desktop/images/21022025/05/10/image_21022025_05_10_35_10360.jpg', '/home/pi/Desktop/images/21022025/05/10/image_21022025_05_10_44_9350.jpg', '/home/pi/Desktop/images/21022025/05/10/image_21022025_05_10_54_10334.jpg', '/home/pi/Desktop/images/21022025/05/11/image_21022025_05_11_24_10333.jpg', '/home/pi/Desktop/images/21022025/05/11/image_21022025_05_11_44_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/09/image_21022025_05_10_05_10389.jpg
/home/pi/Desktop/images/21022025/05/10/image_21022025_05_10_35_10360.jpg
/home/pi/Desktop/images/21022025/05/10/image_21022025_05_10_44_9350.jpg
/home/pi/Desktop/images/21022025/05/10/image_21022025_05_10_54_10334.jpg
/home/pi/Desktop/images/21022025/05/11/image_21022025_05_11_24_10333.jpg
/home/pi/Desktop/images/21022025/05/11/image_21022025_05_11_44_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338766979","1338766972","1338766981","1338766969","1338766960","1338766963"],"photo_ids_order":["1338766960","1338766963","1338766969","1338766972","1338766979","1338766981"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/421b9775b818a0e7f32f872355925f23.jpg","text":"TemporaryFile(/tmp/multipartBody1405438049676264585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119792831,"filename":"image_21022025_05_11_24_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/30d98c803749b8d793a7f2052ce31db1.jpg","text":"TemporaryFile(/tmp/multipartBody8593632658693195827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119792831,"filename":"image_21022025_05_10_54_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0ae3a70173c298875a41ef5895d20acb.jpg","text":"TemporaryFile(/tmp/multipartBody7070652920070203653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119792831,"filename":"image_21022025_05_11_44_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a7591559a53f0acf9f03d42bcd472a4.jpg","text":"TemporaryFile(/tmp/multipartBody7859404647315547786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119792831,"filename":"image_21022025_05_10_44_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e5e9af0db649afb5630b73f5a1a8a5fc.jpg","text":"TemporaryFile(/tmp/multipartBody357322112124840272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119792831,"filename":"image_21022025_05_10_05_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2b10d1fe69c928c1654cd01037e063f3.jpg","text":"TemporaryFile(/tmp/multipartBody3176943503509139055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119792831,"filename":"image_21022025_05_10_35_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338766969","file1":"1338766963","file0":"1338766960","file4":"1338766979","file5":"1338766981","file3":"1338766972"},"map_files_photo_id_array":[{"photo_id":"1338766981","filename":"file5"},{"photo_id":"1338766969","filename":"file2"},{"photo_id":"1338766979","filename":"file4"},{"photo_id":"1338766963","filename":"file1"},{"photo_id":"1338766960","filename":"file0"},{"photo_id":"1338766972","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338766979":["hashtag1","hashtag2"]},{"1338766972":["hashtag1","hashtag2"]},{"1338766981":["hashtag1","hashtag2"]},{"1338766969":["hashtag1","hashtag2"]},{"1338766960":["hashtag1","hashtag2"]},{"1338766963":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338766979, 1338766972, 1338766981, 1338766969, 1338766960, 1338766963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36780405044556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:36:32.359038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/11/image_21022025_05_11_54_10337.jpg', '/home/pi/Desktop/images/21022025/05/12/image_21022025_05_12_14_9327.jpg', '/home/pi/Desktop/images/21022025/05/16/image_21022025_05_16_24_10327.jpg', '/home/pi/Desktop/images/21022025/05/16/image_21022025_05_16_55_10331.jpg', '/home/pi/Desktop/images/21022025/05/16/image_21022025_05_17_04_9333.jpg', '/home/pi/Desktop/images/21022025/05/17/image_21022025_05_17_14_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/11/image_21022025_05_11_54_10337.jpg
/home/pi/Desktop/images/21022025/05/12/image_21022025_05_12_14_9327.jpg
/home/pi/Desktop/images/21022025/05/16/image_21022025_05_16_24_10327.jpg
/home/pi/Desktop/images/21022025/05/16/image_21022025_05_16_55_10331.jpg
/home/pi/Desktop/images/21022025/05/16/image_21022025_05_17_04_9333.jpg
/home/pi/Desktop/images/21022025/05/17/image_21022025_05_17_14_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338767075","1338767069","1338767072","1338767086","1338767080","1338767077"],"photo_ids_order":["1338767069","1338767072","1338767075","1338767077","1338767080","1338767086"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/932ad4fe4d3fa184bf0f334ad296674d.jpg","text":"TemporaryFile(/tmp/multipartBody3450475159834041168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119852880,"filename":"image_21022025_05_16_24_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/faa2d84159f78d64608587f95ee757b0.jpg","text":"TemporaryFile(/tmp/multipartBody6199495953551031725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119852880,"filename":"image_21022025_05_11_54_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3965200e902a505077315ebb23dc457e.jpg","text":"TemporaryFile(/tmp/multipartBody6617621906771306143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119852880,"filename":"image_21022025_05_12_14_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ad723ac3b6bf5532e716d3b38a58c3dc.jpg","text":"TemporaryFile(/tmp/multipartBody2387419617943051823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119852880,"filename":"image_21022025_05_17_14_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06bd1fa1519ca91a491d14b336ff68ba.jpg","text":"TemporaryFile(/tmp/multipartBody6746099960154350069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119852880,"filename":"image_21022025_05_17_04_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/859edbb8d39cd6b9eca5defabd651181.jpg","text":"TemporaryFile(/tmp/multipartBody4438950400936206361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119852880,"filename":"image_21022025_05_16_55_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338767075","file1":"1338767072","file0":"1338767069","file4":"1338767080","file5":"1338767086","file3":"1338767077"},"map_files_photo_id_array":[{"photo_id":"1338767086","filename":"file5"},{"photo_id":"1338767075","filename":"file2"},{"photo_id":"1338767080","filename":"file4"},{"photo_id":"1338767072","filename":"file1"},{"photo_id":"1338767069","filename":"file0"},{"photo_id":"1338767077","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338767075":["hashtag1","hashtag2"]},{"1338767069":["hashtag1","hashtag2"]},{"1338767072":["hashtag1","hashtag2"]},{"1338767086":["hashtag1","hashtag2"]},{"1338767080":["hashtag1","hashtag2"]},{"1338767077":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338767075, 1338767069, 1338767072, 1338767086, 1338767080, 1338767077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41800332069397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:37:32.512134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/17/image_21022025_05_17_25_10404.jpg', '/home/pi/Desktop/images/21022025/05/17/image_21022025_05_17_45_10481.jpg', '/home/pi/Desktop/images/21022025/05/18/image_21022025_05_18_15_10388.jpg', '/home/pi/Desktop/images/21022025/05/20/image_21022025_05_20_14_9321.jpg', '/home/pi/Desktop/images/21022025/05/20/image_21022025_05_20_35_10430.jpg', '/home/pi/Desktop/images/21022025/05/20/image_21022025_05_20_44_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/17/image_21022025_05_17_25_10404.jpg
/home/pi/Desktop/images/21022025/05/17/image_21022025_05_17_45_10481.jpg
/home/pi/Desktop/images/21022025/05/18/image_21022025_05_18_15_10388.jpg
/home/pi/Desktop/images/21022025/05/20/image_21022025_05_20_14_9321.jpg
/home/pi/Desktop/images/21022025/05/20/image_21022025_05_20_35_10430.jpg
/home/pi/Desktop/images/21022025/05/20/image_21022025_05_20_44_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338767113","1338767109","1338767112","1338767111","1338767110","1338767104"],"photo_ids_order":["1338767104","1338767109","1338767110","1338767111","1338767112","1338767113"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce319772157ec47aa5938c2e7c51cb95.jpg","text":"TemporaryFile(/tmp/multipartBody3489233834450490835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119912996,"filename":"image_21022025_05_20_44_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8ec81b3b185323a3dd84e9ec1717daab.jpg","text":"TemporaryFile(/tmp/multipartBody5375032974189893017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119912996,"filename":"image_21022025_05_17_45_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac91fa1a04b6b7163cf8820f1fbe01e9.jpg","text":"TemporaryFile(/tmp/multipartBody6756524106817717704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119912996,"filename":"image_21022025_05_20_35_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8dd3532c178375e62edf15b9537c58ff.jpg","text":"TemporaryFile(/tmp/multipartBody8663345380239933068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119912996,"filename":"image_21022025_05_20_14_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a68201e98dd205dc4772615d3af4ce5.jpg","text":"TemporaryFile(/tmp/multipartBody819030215869030272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119912996,"filename":"image_21022025_05_18_15_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/afdeabc628887462e152be7497d862ed.jpg","text":"TemporaryFile(/tmp/multipartBody2112773843552276038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119912996,"filename":"image_21022025_05_17_25_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338767110","file1":"1338767109","file0":"1338767104","file4":"1338767112","file5":"1338767113","file3":"1338767111"},"map_files_photo_id_array":[{"photo_id":"1338767113","filename":"file5"},{"photo_id":"1338767110","filename":"file2"},{"photo_id":"1338767112","filename":"file4"},{"photo_id":"1338767109","filename":"file1"},{"photo_id":"1338767104","filename":"file0"},{"photo_id":"1338767111","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338767113":["hashtag1","hashtag2"]},{"1338767109":["hashtag1","hashtag2"]},{"1338767112":["hashtag1","hashtag2"]},{"1338767111":["hashtag1","hashtag2"]},{"1338767110":["hashtag1","hashtag2"]},{"1338767104":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338767113, 1338767109, 1338767112, 1338767111, 1338767110, 1338767104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35788869857788 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:38:32.943689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/20/image_21022025_05_20_54_10327.jpg', '/home/pi/Desktop/images/21022025/05/20/image_21022025_05_21_05_10336.jpg', '/home/pi/Desktop/images/21022025/05/21/image_21022025_05_21_14_9316.jpg', '/home/pi/Desktop/images/21022025/05/21/image_21022025_05_21_24_10414.jpg', '/home/pi/Desktop/images/21022025/05/21/image_21022025_05_21_44_10336.jpg', '/home/pi/Desktop/images/21022025/05/21/image_21022025_05_21_55_10475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/20/image_21022025_05_20_54_10327.jpg
/home/pi/Desktop/images/21022025/05/20/image_21022025_05_21_05_10336.jpg
/home/pi/Desktop/images/21022025/05/21/image_21022025_05_21_14_9316.jpg
/home/pi/Desktop/images/21022025/05/21/image_21022025_05_21_24_10414.jpg
/home/pi/Desktop/images/21022025/05/21/image_21022025_05_21_44_10336.jpg
/home/pi/Desktop/images/21022025/05/21/image_21022025_05_21_55_10475.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338767166","1338767145","1338767156","1338767161","1338767164","1338767158"],"photo_ids_order":["1338767145","1338767156","1338767158","1338767161","1338767164","1338767166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/702489d8ec96e13b1b233f455e394d14.jpg","text":"TemporaryFile(/tmp/multipartBody6596823673499376231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119973437,"filename":"image_21022025_05_21_55_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3219741250ec68ebbb971b2e7e93ee50.jpg","text":"TemporaryFile(/tmp/multipartBody727872719993214039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119973437,"filename":"image_21022025_05_20_54_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a40b4d7d837ff559fa0b312d0a258b0a.jpg","text":"TemporaryFile(/tmp/multipartBody4679518565768467688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119973437,"filename":"image_21022025_05_21_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a4e3e2a70bc1550348ac27f4e23076f6.jpg","text":"TemporaryFile(/tmp/multipartBody1700239477650799205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119973437,"filename":"image_21022025_05_21_24_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ceb278c604067d5aaea1e72115febad1.jpg","text":"TemporaryFile(/tmp/multipartBody2270034311290976972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119973437,"filename":"image_21022025_05_21_44_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ee236ca31c066d898baa45ad18dd2a9b.jpg","text":"TemporaryFile(/tmp/multipartBody9171779671190770593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740119973437,"filename":"image_21022025_05_21_14_9316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338767158","file1":"1338767156","file0":"1338767145","file4":"1338767164","file5":"1338767166","file3":"1338767161"},"map_files_photo_id_array":[{"photo_id":"1338767166","filename":"file5"},{"photo_id":"1338767158","filename":"file2"},{"photo_id":"1338767164","filename":"file4"},{"photo_id":"1338767156","filename":"file1"},{"photo_id":"1338767145","filename":"file0"},{"photo_id":"1338767161","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338767166":["hashtag1","hashtag2"]},{"1338767145":["hashtag1","hashtag2"]},{"1338767156":["hashtag1","hashtag2"]},{"1338767161":["hashtag1","hashtag2"]},{"1338767164":["hashtag1","hashtag2"]},{"1338767158":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338767166, 1338767145, 1338767156, 1338767161, 1338767164, 1338767158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.150187730789185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:39:33.142125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/21/image_21022025_05_22_04_9321.jpg', '/home/pi/Desktop/images/21022025/05/22/image_21022025_05_22_14_10324.jpg', '/home/pi/Desktop/images/21022025/05/22/image_21022025_05_22_25_10412.jpg', '/home/pi/Desktop/images/21022025/05/22/image_21022025_05_22_34_9341.jpg', '/home/pi/Desktop/images/21022025/05/22/image_21022025_05_22_45_10421.jpg', '/home/pi/Desktop/images/21022025/05/23/image_21022025_05_24_04_9323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/21/image_21022025_05_22_04_9321.jpg
/home/pi/Desktop/images/21022025/05/22/image_21022025_05_22_14_10324.jpg
/home/pi/Desktop/images/21022025/05/22/image_21022025_05_22_25_10412.jpg
/home/pi/Desktop/images/21022025/05/22/image_21022025_05_22_34_9341.jpg
/home/pi/Desktop/images/21022025/05/22/image_21022025_05_22_45_10421.jpg
/home/pi/Desktop/images/21022025/05/23/image_21022025_05_24_04_9323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338767206","1338767211","1338767220","1338767214","1338767217","1338767219"],"photo_ids_order":["1338767206","1338767211","1338767214","1338767217","1338767219","1338767220"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c009fd6b08d2ee0de352a2f074b75c50.jpg","text":"TemporaryFile(/tmp/multipartBody4023808994438832734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120033639,"filename":"image_21022025_05_22_04_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/45e84b16808b962e6c86ad58f84c1dc3.jpg","text":"TemporaryFile(/tmp/multipartBody7061075931546941117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120033639,"filename":"image_21022025_05_22_14_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/35beda0e92fb23e2134690276b8d462d.jpg","text":"TemporaryFile(/tmp/multipartBody6045309761163847307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120033639,"filename":"image_21022025_05_24_04_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e49b1b43abc27b0d9c6751a8de89f168.jpg","text":"TemporaryFile(/tmp/multipartBody2914659183113677950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120033639,"filename":"image_21022025_05_22_25_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ac8a621e685908d72de335641e26540.jpg","text":"TemporaryFile(/tmp/multipartBody8252613767069275741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120033639,"filename":"image_21022025_05_22_34_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/19cc32629bff9effac9e43ff60dfa197.jpg","text":"TemporaryFile(/tmp/multipartBody8441278438913458978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120033639,"filename":"image_21022025_05_22_45_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338767214","file1":"1338767211","file0":"1338767206","file4":"1338767219","file5":"1338767220","file3":"1338767217"},"map_files_photo_id_array":[{"photo_id":"1338767220","filename":"file5"},{"photo_id":"1338767214","filename":"file2"},{"photo_id":"1338767219","filename":"file4"},{"photo_id":"1338767211","filename":"file1"},{"photo_id":"1338767206","filename":"file0"},{"photo_id":"1338767217","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338767206":["hashtag1","hashtag2"]},{"1338767211":["hashtag1","hashtag2"]},{"1338767220":["hashtag1","hashtag2"]},{"1338767214":["hashtag1","hashtag2"]},{"1338767217":["hashtag1","hashtag2"]},{"1338767219":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338767206, 1338767211, 1338767220, 1338767214, 1338767217, 1338767219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.842127561569214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:40:32.292116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/24/image_21022025_05_24_45_10399.jpg', '/home/pi/Desktop/images/21022025/05/25/image_21022025_05_25_34_10332.jpg', '/home/pi/Desktop/images/21022025/05/25/image_21022025_05_25_45_10408.jpg', '/home/pi/Desktop/images/21022025/05/25/image_21022025_05_26_04_10338.jpg', '/home/pi/Desktop/images/21022025/05/26/image_21022025_05_26_45_10324.jpg', '/home/pi/Desktop/images/21022025/05/26/image_21022025_05_26_54_9315.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/24/image_21022025_05_24_45_10399.jpg
/home/pi/Desktop/images/21022025/05/25/image_21022025_05_25_34_10332.jpg
/home/pi/Desktop/images/21022025/05/25/image_21022025_05_25_45_10408.jpg
/home/pi/Desktop/images/21022025/05/25/image_21022025_05_26_04_10338.jpg
/home/pi/Desktop/images/21022025/05/26/image_21022025_05_26_45_10324.jpg
/home/pi/Desktop/images/21022025/05/26/image_21022025_05_26_54_9315.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338767361","1338767379","1338767409","1338767384","1338767387","1338767381"],"photo_ids_order":["1338767361","1338767379","1338767381","1338767384","1338767387","1338767409"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/20708caf22fb6ba7af31e62696e1b5f7.jpg","text":"TemporaryFile(/tmp/multipartBody6365554775204200991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120092766,"filename":"image_21022025_05_24_45_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/47e8b2a3bbdb7d5a0c56a6aeea03e9c1.jpg","text":"TemporaryFile(/tmp/multipartBody1955297730668263887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120092766,"filename":"image_21022025_05_25_34_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c72711937c230bde408057dddaf67747.jpg","text":"TemporaryFile(/tmp/multipartBody535624669738205402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120092766,"filename":"image_21022025_05_26_54_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dee24c7338452258911561451b7ebc26.jpg","text":"TemporaryFile(/tmp/multipartBody7358259438691838580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120092766,"filename":"image_21022025_05_26_04_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1c2dabde3c6b8b850bc253deba1f258.jpg","text":"TemporaryFile(/tmp/multipartBody7095691509331028412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120092766,"filename":"image_21022025_05_26_45_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/95982a779e5cb218b21c6a957183de25.jpg","text":"TemporaryFile(/tmp/multipartBody6247842887384751384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120092766,"filename":"image_21022025_05_25_45_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338767381","file1":"1338767379","file0":"1338767361","file4":"1338767387","file5":"1338767409","file3":"1338767384"},"map_files_photo_id_array":[{"photo_id":"1338767409","filename":"file5"},{"photo_id":"1338767381","filename":"file2"},{"photo_id":"1338767387","filename":"file4"},{"photo_id":"1338767379","filename":"file1"},{"photo_id":"1338767361","filename":"file0"},{"photo_id":"1338767384","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338767361":["hashtag1","hashtag2"]},{"1338767379":["hashtag1","hashtag2"]},{"1338767409":["hashtag1","hashtag2"]},{"1338767384":["hashtag1","hashtag2"]},{"1338767387":["hashtag1","hashtag2"]},{"1338767381":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338767361, 1338767379, 1338767409, 1338767384, 1338767387, 1338767381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92666292190552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:41:32.458791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/27/image_21022025_05_27_14_9334.jpg', '/home/pi/Desktop/images/21022025/05/27/image_21022025_05_27_35_10353.jpg', '/home/pi/Desktop/images/21022025/05/27/image_21022025_05_27_44_9330.jpg', '/home/pi/Desktop/images/21022025/05/27/image_21022025_05_27_54_10331.jpg', '/home/pi/Desktop/images/21022025/05/27/image_21022025_05_28_05_10437.jpg', '/home/pi/Desktop/images/21022025/05/28/image_21022025_05_28_44_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/27/image_21022025_05_27_14_9334.jpg
/home/pi/Desktop/images/21022025/05/27/image_21022025_05_27_35_10353.jpg
/home/pi/Desktop/images/21022025/05/27/image_21022025_05_27_44_9330.jpg
/home/pi/Desktop/images/21022025/05/27/image_21022025_05_27_54_10331.jpg
/home/pi/Desktop/images/21022025/05/27/image_21022025_05_28_05_10437.jpg
/home/pi/Desktop/images/21022025/05/28/image_21022025_05_28_44_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338767447","1338767441","1338767443","1338767455","1338767449","1338767434"],"photo_ids_order":["1338767434","1338767441","1338767443","1338767447","1338767449","1338767455"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cc7e6157ecf721f8c6cc8bb3d1d6b42f.jpg","text":"TemporaryFile(/tmp/multipartBody3325688454958510953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120152953,"filename":"image_21022025_05_27_54_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c4fdffed6cc5fea05525ecebf2bec7e.jpg","text":"TemporaryFile(/tmp/multipartBody8301938285631879270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120152953,"filename":"image_21022025_05_27_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/39db0fb76d7548c5b13955fbb3495ccd.jpg","text":"TemporaryFile(/tmp/multipartBody2382455247994609037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120152953,"filename":"image_21022025_05_27_44_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/065bc6150fa6c5c189dd107b9d3960bf.jpg","text":"TemporaryFile(/tmp/multipartBody430010057398411185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120152953,"filename":"image_21022025_05_28_44_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/038e74161404a85e11bfe19f0c748481.jpg","text":"TemporaryFile(/tmp/multipartBody6717633239850301149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120152953,"filename":"image_21022025_05_28_05_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4e37e7913fc4bf0c79508ad500547087.jpg","text":"TemporaryFile(/tmp/multipartBody2602058990537142634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120152953,"filename":"image_21022025_05_27_14_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338767443","file1":"1338767441","file0":"1338767434","file4":"1338767449","file5":"1338767455","file3":"1338767447"},"map_files_photo_id_array":[{"photo_id":"1338767455","filename":"file5"},{"photo_id":"1338767443","filename":"file2"},{"photo_id":"1338767449","filename":"file4"},{"photo_id":"1338767441","filename":"file1"},{"photo_id":"1338767434","filename":"file0"},{"photo_id":"1338767447","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338767447":["hashtag1","hashtag2"]},{"1338767441":["hashtag1","hashtag2"]},{"1338767443":["hashtag1","hashtag2"]},{"1338767455":["hashtag1","hashtag2"]},{"1338767449":["hashtag1","hashtag2"]},{"1338767434":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338767447, 1338767441, 1338767443, 1338767455, 1338767449, 1338767434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.969536542892456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:42:32.669265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/28/image_21022025_05_28_54_10341.jpg', '/home/pi/Desktop/images/21022025/05/29/image_21022025_05_29_25_10579.jpg', '/home/pi/Desktop/images/21022025/05/29/image_21022025_05_29_44_10442.jpg', '/home/pi/Desktop/images/21022025/05/30/image_21022025_05_30_14_10347.jpg', '/home/pi/Desktop/images/21022025/05/30/image_21022025_05_30_25_10449.jpg', '/home/pi/Desktop/images/21022025/05/30/image_21022025_05_30_34_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/28/image_21022025_05_28_54_10341.jpg
/home/pi/Desktop/images/21022025/05/29/image_21022025_05_29_25_10579.jpg
/home/pi/Desktop/images/21022025/05/29/image_21022025_05_29_44_10442.jpg
/home/pi/Desktop/images/21022025/05/30/image_21022025_05_30_14_10347.jpg
/home/pi/Desktop/images/21022025/05/30/image_21022025_05_30_25_10449.jpg
/home/pi/Desktop/images/21022025/05/30/image_21022025_05_30_34_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338767685","1338767676","1338767645","1338767660","1338767689","1338767635"],"photo_ids_order":["1338767635","1338767645","1338767660","1338767676","1338767685","1338767689"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83dd6e047fd630ebb48e873b57ac93df.jpg","text":"TemporaryFile(/tmp/multipartBody8416197828748192683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120213136,"filename":"image_21022025_05_30_25_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8bd33ceee5b9e10f763cd39a0333540b.jpg","text":"TemporaryFile(/tmp/multipartBody2263200017801092506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120213136,"filename":"image_21022025_05_30_14_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e38c1e007e69a4e0d991212f4b00ad6d.jpg","text":"TemporaryFile(/tmp/multipartBody3223389324186728206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120213136,"filename":"image_21022025_05_29_25_10579.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/97f51c29c74b1ec2db9a35897d8362c9.jpg","text":"TemporaryFile(/tmp/multipartBody4859840028989152313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120213136,"filename":"image_21022025_05_29_44_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/26d7f9caf114938b22e5020d5e58194d.jpg","text":"TemporaryFile(/tmp/multipartBody7331435622420236665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120213136,"filename":"image_21022025_05_30_34_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff9e906e9eae98d3d70abdb472b7f0fe.jpg","text":"TemporaryFile(/tmp/multipartBody3950827983380661042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120213136,"filename":"image_21022025_05_28_54_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338767660","file1":"1338767645","file0":"1338767635","file4":"1338767685","file5":"1338767689","file3":"1338767676"},"map_files_photo_id_array":[{"photo_id":"1338767689","filename":"file5"},{"photo_id":"1338767660","filename":"file2"},{"photo_id":"1338767685","filename":"file4"},{"photo_id":"1338767645","filename":"file1"},{"photo_id":"1338767635","filename":"file0"},{"photo_id":"1338767676","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338767685":["hashtag1","hashtag2"]},{"1338767676":["hashtag1","hashtag2"]},{"1338767645":["hashtag1","hashtag2"]},{"1338767660":["hashtag1","hashtag2"]},{"1338767689":["hashtag1","hashtag2"]},{"1338767635":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338767685, 1338767676, 1338767645, 1338767660, 1338767689, 1338767635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.76526403427124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:43:32.969751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/31/image_21022025_05_31_15_10414.jpg', '/home/pi/Desktop/images/21022025/05/31/image_21022025_05_31_34_10354.jpg', '/home/pi/Desktop/images/21022025/05/31/image_21022025_05_31_45_10433.jpg', '/home/pi/Desktop/images/21022025/05/31/image_21022025_05_31_54_9422.jpg', '/home/pi/Desktop/images/21022025/05/32/image_21022025_05_32_35_10470.jpg', '/home/pi/Desktop/images/21022025/05/32/image_21022025_05_32_44_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/31/image_21022025_05_31_15_10414.jpg
/home/pi/Desktop/images/21022025/05/31/image_21022025_05_31_34_10354.jpg
/home/pi/Desktop/images/21022025/05/31/image_21022025_05_31_45_10433.jpg
/home/pi/Desktop/images/21022025/05/31/image_21022025_05_31_54_9422.jpg
/home/pi/Desktop/images/21022025/05/32/image_21022025_05_32_35_10470.jpg
/home/pi/Desktop/images/21022025/05/32/image_21022025_05_32_44_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338767721","1338767703","1338767712","1338767705","1338767719","1338767707"],"photo_ids_order":["1338767703","1338767705","1338767707","1338767712","1338767719","1338767721"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1c0c75f7aaa2ad3131e802072873a19.jpg","text":"TemporaryFile(/tmp/multipartBody1185453060350914264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120273461,"filename":"image_21022025_05_32_44_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d20a6d7c57fc809a6c80bae478e1021e.jpg","text":"TemporaryFile(/tmp/multipartBody5302691888751823668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120273461,"filename":"image_21022025_05_31_15_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e6f18326f2169a00aaca2a2d35aaccf6.jpg","text":"TemporaryFile(/tmp/multipartBody859861923262060853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120273461,"filename":"image_21022025_05_31_54_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9063ec600e3b99523e482e24036665f6.jpg","text":"TemporaryFile(/tmp/multipartBody2584569160224998328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120273461,"filename":"image_21022025_05_31_34_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d40d76226b0a7fc695752451f376466.jpg","text":"TemporaryFile(/tmp/multipartBody3677105349912936630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120273461,"filename":"image_21022025_05_32_35_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2fe608d207542b25a6ba947110faadbf.jpg","text":"TemporaryFile(/tmp/multipartBody5282504707232311975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120273461,"filename":"image_21022025_05_31_45_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338767707","file1":"1338767705","file0":"1338767703","file4":"1338767719","file5":"1338767721","file3":"1338767712"},"map_files_photo_id_array":[{"photo_id":"1338767721","filename":"file5"},{"photo_id":"1338767707","filename":"file2"},{"photo_id":"1338767719","filename":"file4"},{"photo_id":"1338767705","filename":"file1"},{"photo_id":"1338767703","filename":"file0"},{"photo_id":"1338767712","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338767721":["hashtag1","hashtag2"]},{"1338767703":["hashtag1","hashtag2"]},{"1338767712":["hashtag1","hashtag2"]},{"1338767705":["hashtag1","hashtag2"]},{"1338767719":["hashtag1","hashtag2"]},{"1338767707":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338767721, 1338767703, 1338767712, 1338767705, 1338767719, 1338767707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.76962161064148 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:44:32.177144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/32/image_21022025_05_32_55_10375.jpg', '/home/pi/Desktop/images/21022025/05/32/image_21022025_05_33_04_9427.jpg', '/home/pi/Desktop/images/21022025/05/33/image_21022025_05_33_25_10419.jpg', '/home/pi/Desktop/images/21022025/05/34/image_21022025_05_34_15_10386.jpg', '/home/pi/Desktop/images/21022025/05/34/image_21022025_05_34_34_10327.jpg', '/home/pi/Desktop/images/21022025/05/34/image_21022025_05_34_45_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/32/image_21022025_05_32_55_10375.jpg
/home/pi/Desktop/images/21022025/05/32/image_21022025_05_33_04_9427.jpg
/home/pi/Desktop/images/21022025/05/33/image_21022025_05_33_25_10419.jpg
/home/pi/Desktop/images/21022025/05/34/image_21022025_05_34_15_10386.jpg
/home/pi/Desktop/images/21022025/05/34/image_21022025_05_34_34_10327.jpg
/home/pi/Desktop/images/21022025/05/34/image_21022025_05_34_45_10458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338767859","1338767826","1338767856","1338767861","1338767843","1338767852"],"photo_ids_order":["1338767826","1338767843","1338767852","1338767856","1338767859","1338767861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d7509b078436401cdd825c8485ada6d.jpg","text":"TemporaryFile(/tmp/multipartBody583375284911551286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120332647,"filename":"image_21022025_05_34_34_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/56030620972616ca58ec57c1e830245e.jpg","text":"TemporaryFile(/tmp/multipartBody5491451006687431807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120332647,"filename":"image_21022025_05_32_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/25e1666392ddb18b8f85cbe2e6773d48.jpg","text":"TemporaryFile(/tmp/multipartBody6840797058538905822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120332647,"filename":"image_21022025_05_34_15_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5487a5025b2a9d523b60b1ffd74fc858.jpg","text":"TemporaryFile(/tmp/multipartBody4071785979729763916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120332647,"filename":"image_21022025_05_34_45_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3140707cf0b629188019811653b21f30.jpg","text":"TemporaryFile(/tmp/multipartBody3829024303804894456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120332647,"filename":"image_21022025_05_33_04_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f15c77d5cc17452240d3e36cbd743b0f.jpg","text":"TemporaryFile(/tmp/multipartBody1740517245551284113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120332647,"filename":"image_21022025_05_33_25_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338767852","file1":"1338767843","file0":"1338767826","file4":"1338767859","file5":"1338767861","file3":"1338767856"},"map_files_photo_id_array":[{"photo_id":"1338767861","filename":"file5"},{"photo_id":"1338767852","filename":"file2"},{"photo_id":"1338767859","filename":"file4"},{"photo_id":"1338767843","filename":"file1"},{"photo_id":"1338767826","filename":"file0"},{"photo_id":"1338767856","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338767859":["hashtag1","hashtag2"]},{"1338767826":["hashtag1","hashtag2"]},{"1338767856":["hashtag1","hashtag2"]},{"1338767861":["hashtag1","hashtag2"]},{"1338767843":["hashtag1","hashtag2"]},{"1338767852":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338767859, 1338767826, 1338767856, 1338767861, 1338767843, 1338767852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49514937400818 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:45:32.324247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/34/image_21022025_05_34_54_9389.jpg', '/home/pi/Desktop/images/21022025/05/34/image_21022025_05_35_04_10329.jpg', '/home/pi/Desktop/images/21022025/05/35/image_21022025_05_35_15_10417.jpg', '/home/pi/Desktop/images/21022025/05/35/image_21022025_05_36_05_10424.jpg', '/home/pi/Desktop/images/21022025/05/36/image_21022025_05_36_34_9325.jpg', '/home/pi/Desktop/images/21022025/05/36/image_21022025_05_36_54_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/34/image_21022025_05_34_54_9389.jpg
/home/pi/Desktop/images/21022025/05/34/image_21022025_05_35_04_10329.jpg
/home/pi/Desktop/images/21022025/05/35/image_21022025_05_35_15_10417.jpg
/home/pi/Desktop/images/21022025/05/35/image_21022025_05_36_05_10424.jpg
/home/pi/Desktop/images/21022025/05/36/image_21022025_05_36_34_9325.jpg
/home/pi/Desktop/images/21022025/05/36/image_21022025_05_36_54_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338767952","1338767960","1338767957","1338767936","1338767959","1338767944"],"photo_ids_order":["1338767936","1338767944","1338767952","1338767957","1338767959","1338767960"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6daaa3e91c475dd0e264fa78e55ea321.jpg","text":"TemporaryFile(/tmp/multipartBody8332153966528913371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120392837,"filename":"image_21022025_05_35_15_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d7d58d42ee11b39795d64b82cf38b8ba.jpg","text":"TemporaryFile(/tmp/multipartBody4656513575263204562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120392837,"filename":"image_21022025_05_36_54_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6b7babac62bf473e574dec774ff9f865.jpg","text":"TemporaryFile(/tmp/multipartBody5724857739610472004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120392837,"filename":"image_21022025_05_36_05_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/52d075d86e3e4710d2e012c8cf6b63ba.jpg","text":"TemporaryFile(/tmp/multipartBody971537208311556829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120392837,"filename":"image_21022025_05_34_54_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fe3ff869b814c797157154291b31345e.jpg","text":"TemporaryFile(/tmp/multipartBody8023428530638119121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120392837,"filename":"image_21022025_05_36_34_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3194aabb3d1aca33ba11b710bca171a1.jpg","text":"TemporaryFile(/tmp/multipartBody3589687004946498447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120392837,"filename":"image_21022025_05_35_04_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338767952","file1":"1338767944","file0":"1338767936","file4":"1338767959","file5":"1338767960","file3":"1338767957"},"map_files_photo_id_array":[{"photo_id":"1338767960","filename":"file5"},{"photo_id":"1338767952","filename":"file2"},{"photo_id":"1338767959","filename":"file4"},{"photo_id":"1338767944","filename":"file1"},{"photo_id":"1338767936","filename":"file0"},{"photo_id":"1338767957","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338767952":["hashtag1","hashtag2"]},{"1338767960":["hashtag1","hashtag2"]},{"1338767957":["hashtag1","hashtag2"]},{"1338767936":["hashtag1","hashtag2"]},{"1338767959":["hashtag1","hashtag2"]},{"1338767944":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338767952, 1338767960, 1338767957, 1338767936, 1338767959, 1338767944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79650926589966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:46:32.439033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/38/image_21022025_05_38_54_9314.jpg', '/home/pi/Desktop/images/21022025/05/38/image_21022025_05_39_05_10402.jpg', '/home/pi/Desktop/images/21022025/05/39/image_21022025_05_39_15_10325.jpg', '/home/pi/Desktop/images/21022025/05/39/image_21022025_05_39_24_9394.jpg', '/home/pi/Desktop/images/21022025/05/39/image_21022025_05_40_05_10446.jpg', '/home/pi/Desktop/images/21022025/05/40/image_21022025_05_40_34_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/38/image_21022025_05_38_54_9314.jpg
/home/pi/Desktop/images/21022025/05/38/image_21022025_05_39_05_10402.jpg
/home/pi/Desktop/images/21022025/05/39/image_21022025_05_39_15_10325.jpg
/home/pi/Desktop/images/21022025/05/39/image_21022025_05_39_24_9394.jpg
/home/pi/Desktop/images/21022025/05/39/image_21022025_05_40_05_10446.jpg
/home/pi/Desktop/images/21022025/05/40/image_21022025_05_40_34_9336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338767991","1338768009","1338768003","1338767986","1338768010","1338768007"],"photo_ids_order":["1338767986","1338767991","1338768003","1338768007","1338768009","1338768010"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cdd8d908cea5fce240dc74bf83cb99b7.jpg","text":"TemporaryFile(/tmp/multipartBody636554228952555204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120452915,"filename":"image_21022025_05_39_05_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0d74826e5c4fcef6f4893bc17fc18969.jpg","text":"TemporaryFile(/tmp/multipartBody7106200155470091805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120452915,"filename":"image_21022025_05_40_05_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bce62b34125d5955579be36648371ded.jpg","text":"TemporaryFile(/tmp/multipartBody5947664007504324385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120452915,"filename":"image_21022025_05_39_15_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d39a5881e23efbeb223076493a041cd0.jpg","text":"TemporaryFile(/tmp/multipartBody6458798429842318581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120452915,"filename":"image_21022025_05_38_54_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7707cce0ab5e4d16519ea8199f12116.jpg","text":"TemporaryFile(/tmp/multipartBody6488158506660153149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120452915,"filename":"image_21022025_05_40_34_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/232adbb18029f98427653047450c6d12.jpg","text":"TemporaryFile(/tmp/multipartBody3929877791335157206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120452915,"filename":"image_21022025_05_39_24_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338768003","file1":"1338767991","file0":"1338767986","file4":"1338768009","file5":"1338768010","file3":"1338768007"},"map_files_photo_id_array":[{"photo_id":"1338768010","filename":"file5"},{"photo_id":"1338768003","filename":"file2"},{"photo_id":"1338768009","filename":"file4"},{"photo_id":"1338767991","filename":"file1"},{"photo_id":"1338767986","filename":"file0"},{"photo_id":"1338768007","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338767991":["hashtag1","hashtag2"]},{"1338768009":["hashtag1","hashtag2"]},{"1338768003":["hashtag1","hashtag2"]},{"1338767986":["hashtag1","hashtag2"]},{"1338768010":["hashtag1","hashtag2"]},{"1338768007":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338767991, 1338768009, 1338768003, 1338767986, 1338768010, 1338768007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84002137184143 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:47:32.649033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/40/image_21022025_05_41_04_9394.jpg', '/home/pi/Desktop/images/21022025/05/41/image_21022025_05_41_15_10470.jpg', '/home/pi/Desktop/images/21022025/05/41/image_21022025_05_41_24_9389.jpg', '/home/pi/Desktop/images/21022025/05/41/image_21022025_05_41_45_10351.jpg', '/home/pi/Desktop/images/21022025/05/41/image_21022025_05_42_04_10361.jpg', '/home/pi/Desktop/images/21022025/05/42/image_21022025_05_42_15_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/40/image_21022025_05_41_04_9394.jpg
/home/pi/Desktop/images/21022025/05/41/image_21022025_05_41_15_10470.jpg
/home/pi/Desktop/images/21022025/05/41/image_21022025_05_41_24_9389.jpg
/home/pi/Desktop/images/21022025/05/41/image_21022025_05_41_45_10351.jpg
/home/pi/Desktop/images/21022025/05/41/image_21022025_05_42_04_10361.jpg
/home/pi/Desktop/images/21022025/05/42/image_21022025_05_42_15_10341.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3944683074951172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 07:47:42.735318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/40/image_21022025_05_41_04_9394.jpg', '/home/pi/Desktop/images/21022025/05/41/image_21022025_05_41_15_10470.jpg', '/home/pi/Desktop/images/21022025/05/41/image_21022025_05_41_24_9389.jpg', '/home/pi/Desktop/images/21022025/05/41/image_21022025_05_41_45_10351.jpg', '/home/pi/Desktop/images/21022025/05/41/image_21022025_05_42_04_10361.jpg', '/home/pi/Desktop/images/21022025/05/42/image_21022025_05_42_15_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/40/image_21022025_05_41_04_9394.jpg
/home/pi/Desktop/images/21022025/05/41/image_21022025_05_41_15_10470.jpg
/home/pi/Desktop/images/21022025/05/41/image_21022025_05_41_24_9389.jpg
/home/pi/Desktop/images/21022025/05/41/image_21022025_05_41_45_10351.jpg
/home/pi/Desktop/images/21022025/05/41/image_21022025_05_42_04_10361.jpg
/home/pi/Desktop/images/21022025/05/42/image_21022025_05_42_15_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338768155","1338768062","1338768081","1338768060","1338768063","1338768057"],"photo_ids_order":["1338768057","1338768060","1338768062","1338768063","1338768081","1338768155"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae2da6e3117b48ab5752b0728873fad0.jpg","text":"TemporaryFile(/tmp/multipartBody763191939309106818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120523215,"filename":"image_21022025_05_42_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ba34016d72f1db2425560544b12355cd.jpg","text":"TemporaryFile(/tmp/multipartBody4565679988746084721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120523215,"filename":"image_21022025_05_41_24_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c5aaf703c16f5d8a07589c9004671593.jpg","text":"TemporaryFile(/tmp/multipartBody9171480906766646103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120523215,"filename":"image_21022025_05_42_04_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f76b25cc05989779a6be10619babcd0e.jpg","text":"TemporaryFile(/tmp/multipartBody4381144846842865327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120523215,"filename":"image_21022025_05_41_15_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06023889c83c4c11dd9cae9c2052eba6.jpg","text":"TemporaryFile(/tmp/multipartBody6922088965999771417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120523215,"filename":"image_21022025_05_41_45_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cc3ead4bb78b4c375f91508814b3890a.jpg","text":"TemporaryFile(/tmp/multipartBody2946920946745694197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120523215,"filename":"image_21022025_05_41_04_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338768062","file1":"1338768060","file0":"1338768057","file4":"1338768081","file5":"1338768155","file3":"1338768063"},"map_files_photo_id_array":[{"photo_id":"1338768155","filename":"file5"},{"photo_id":"1338768062","filename":"file2"},{"photo_id":"1338768081","filename":"file4"},{"photo_id":"1338768060","filename":"file1"},{"photo_id":"1338768057","filename":"file0"},{"photo_id":"1338768063","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338768155":["hashtag1","hashtag2"]},{"1338768062":["hashtag1","hashtag2"]},{"1338768081":["hashtag1","hashtag2"]},{"1338768060":["hashtag1","hashtag2"]},{"1338768063":["hashtag1","hashtag2"]},{"1338768057":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338768155, 1338768062, 1338768081, 1338768060, 1338768063, 1338768057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.746145486831665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:48:32.828159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/42/image_21022025_05_42_24_9330.jpg', '/home/pi/Desktop/images/21022025/05/42/image_21022025_05_42_44_9443.jpg', '/home/pi/Desktop/images/21022025/05/43/image_21022025_05_43_14_9329.jpg', '/home/pi/Desktop/images/21022025/05/43/image_21022025_05_43_44_9345.jpg', '/home/pi/Desktop/images/21022025/05/44/image_21022025_05_44_34_9362.jpg', '/home/pi/Desktop/images/21022025/05/45/image_21022025_05_45_14_10327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/42/image_21022025_05_42_24_9330.jpg
/home/pi/Desktop/images/21022025/05/42/image_21022025_05_42_44_9443.jpg
/home/pi/Desktop/images/21022025/05/43/image_21022025_05_43_14_9329.jpg
/home/pi/Desktop/images/21022025/05/43/image_21022025_05_43_44_9345.jpg
/home/pi/Desktop/images/21022025/05/44/image_21022025_05_44_34_9362.jpg
/home/pi/Desktop/images/21022025/05/45/image_21022025_05_45_14_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338768357","1338768479","1338768404","1338768529","1338768526","1338768354"],"photo_ids_order":["1338768354","1338768357","1338768404","1338768479","1338768526","1338768529"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/08139824cbb6c996b14e2bfe8e5aa4e2.jpg","text":"TemporaryFile(/tmp/multipartBody3971650058919837541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120573335,"filename":"image_21022025_05_42_44_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a7328f9ab03436c7ec30ca353c46809.jpg","text":"TemporaryFile(/tmp/multipartBody3343846062481733632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120573335,"filename":"image_21022025_05_43_44_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5bfbdb3a20dd0ecb4a7f1e8c482e9c0a.jpg","text":"TemporaryFile(/tmp/multipartBody5982109620839326174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120573335,"filename":"image_21022025_05_43_14_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f15071ca178e1f00c412744f26a68bea.jpg","text":"TemporaryFile(/tmp/multipartBody1363771201416694330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120573335,"filename":"image_21022025_05_45_14_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/54d58dfcff0b31a0a0504f0a35deb4e6.jpg","text":"TemporaryFile(/tmp/multipartBody8883301332548776331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120573335,"filename":"image_21022025_05_44_34_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a4a85990290da63d33a22eaa85825a75.jpg","text":"TemporaryFile(/tmp/multipartBody6210001077456387931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120573335,"filename":"image_21022025_05_42_24_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338768404","file1":"1338768357","file0":"1338768354","file4":"1338768526","file5":"1338768529","file3":"1338768479"},"map_files_photo_id_array":[{"photo_id":"1338768529","filename":"file5"},{"photo_id":"1338768404","filename":"file2"},{"photo_id":"1338768526","filename":"file4"},{"photo_id":"1338768357","filename":"file1"},{"photo_id":"1338768354","filename":"file0"},{"photo_id":"1338768479","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338768357":["hashtag1","hashtag2"]},{"1338768479":["hashtag1","hashtag2"]},{"1338768404":["hashtag1","hashtag2"]},{"1338768529":["hashtag1","hashtag2"]},{"1338768526":["hashtag1","hashtag2"]},{"1338768354":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338768357, 1338768479, 1338768404, 1338768529, 1338768526, 1338768354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.390156030654907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:49:33.003743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/45/image_21022025_05_45_25_10344.jpg', '/home/pi/Desktop/images/21022025/05/45/image_21022025_05_45_44_10414.jpg', '/home/pi/Desktop/images/21022025/05/46/image_21022025_05_46_15_10454.jpg', '/home/pi/Desktop/images/21022025/05/48/image_21022025_05_48_25_10433.jpg', '/home/pi/Desktop/images/21022025/05/48/image_21022025_05_48_34_9338.jpg', '/home/pi/Desktop/images/21022025/05/48/image_21022025_05_48_45_10472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/45/image_21022025_05_45_25_10344.jpg
/home/pi/Desktop/images/21022025/05/45/image_21022025_05_45_44_10414.jpg
/home/pi/Desktop/images/21022025/05/46/image_21022025_05_46_15_10454.jpg
/home/pi/Desktop/images/21022025/05/48/image_21022025_05_48_25_10433.jpg
/home/pi/Desktop/images/21022025/05/48/image_21022025_05_48_34_9338.jpg
/home/pi/Desktop/images/21022025/05/48/image_21022025_05_48_45_10472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338768615","1338768599","1338768603","1338768606","1338768610","1338768613"],"photo_ids_order":["1338768599","1338768603","1338768606","1338768610","1338768613","1338768615"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/401bbc1c2832ed004db44f1e8b6d0fe6.jpg","text":"TemporaryFile(/tmp/multipartBody815917270931424750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120633481,"filename":"image_21022025_05_48_45_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8a6d7c94043a3b017bc2b8d3be2b4411.jpg","text":"TemporaryFile(/tmp/multipartBody1590143061219503523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120633481,"filename":"image_21022025_05_45_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4ae6898cc2aa2d779f85f0efce111b9.jpg","text":"TemporaryFile(/tmp/multipartBody6957753116967432779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120633481,"filename":"image_21022025_05_45_44_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0bd7e3b06092bba29c1ed361f38c0cd9.jpg","text":"TemporaryFile(/tmp/multipartBody2664399279051618779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120633481,"filename":"image_21022025_05_46_15_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f20426387a074bb54e2d95008ac7273e.jpg","text":"TemporaryFile(/tmp/multipartBody3162175966618381392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120633481,"filename":"image_21022025_05_48_25_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02c384e9ba4738ba75379b2241e87ae0.jpg","text":"TemporaryFile(/tmp/multipartBody6479355990798117672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120633481,"filename":"image_21022025_05_48_34_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338768606","file1":"1338768603","file0":"1338768599","file4":"1338768613","file5":"1338768615","file3":"1338768610"},"map_files_photo_id_array":[{"photo_id":"1338768615","filename":"file5"},{"photo_id":"1338768606","filename":"file2"},{"photo_id":"1338768613","filename":"file4"},{"photo_id":"1338768603","filename":"file1"},{"photo_id":"1338768599","filename":"file0"},{"photo_id":"1338768610","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338768615":["hashtag1","hashtag2"]},{"1338768599":["hashtag1","hashtag2"]},{"1338768603":["hashtag1","hashtag2"]},{"1338768606":["hashtag1","hashtag2"]},{"1338768610":["hashtag1","hashtag2"]},{"1338768613":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338768615, 1338768599, 1338768603, 1338768606, 1338768610, 1338768613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.16710019111633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:50:32.259791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/49/image_21022025_05_49_45_10351.jpg', '/home/pi/Desktop/images/21022025/05/50/image_21022025_05_50_15_10333.jpg', '/home/pi/Desktop/images/21022025/05/50/image_21022025_05_50_34_10344.jpg', '/home/pi/Desktop/images/21022025/05/51/image_21022025_05_51_24_10339.jpg', '/home/pi/Desktop/images/21022025/05/52/image_21022025_05_52_55_10389.jpg', '/home/pi/Desktop/images/21022025/05/53/image_21022025_05_53_14_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/49/image_21022025_05_49_45_10351.jpg
/home/pi/Desktop/images/21022025/05/50/image_21022025_05_50_15_10333.jpg
/home/pi/Desktop/images/21022025/05/50/image_21022025_05_50_34_10344.jpg
/home/pi/Desktop/images/21022025/05/51/image_21022025_05_51_24_10339.jpg
/home/pi/Desktop/images/21022025/05/52/image_21022025_05_52_55_10389.jpg
/home/pi/Desktop/images/21022025/05/53/image_21022025_05_53_14_10046.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338768648","1338768641","1338768650","1338768638","1338768643","1338768645"],"photo_ids_order":["1338768638","1338768641","1338768643","1338768645","1338768648","1338768650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b6af7dd8ee50e7f0e59a16e426679ea0.jpg","text":"TemporaryFile(/tmp/multipartBody586235077707346495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120692724,"filename":"image_21022025_05_52_55_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1e7df541ec011ddc5308349abe79404.jpg","text":"TemporaryFile(/tmp/multipartBody3270179775935763855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120692724,"filename":"image_21022025_05_50_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/516110db0b30beb51f80593cb86cae32.jpg","text":"TemporaryFile(/tmp/multipartBody954477782428676179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120692724,"filename":"image_21022025_05_53_14_10046.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c5e45e14d0968a27aaa208192f2ed03.jpg","text":"TemporaryFile(/tmp/multipartBody2097663317553081457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120692724,"filename":"image_21022025_05_49_45_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cd1614de4d52a4faa21b4503904df07e.jpg","text":"TemporaryFile(/tmp/multipartBody5291177113002438005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120692724,"filename":"image_21022025_05_50_34_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c130e69a94546156199ff6fe21e16cef.jpg","text":"TemporaryFile(/tmp/multipartBody3744122490813904102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120692724,"filename":"image_21022025_05_51_24_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338768643","file1":"1338768641","file0":"1338768638","file4":"1338768648","file5":"1338768650","file3":"1338768645"},"map_files_photo_id_array":[{"photo_id":"1338768650","filename":"file5"},{"photo_id":"1338768643","filename":"file2"},{"photo_id":"1338768648","filename":"file4"},{"photo_id":"1338768641","filename":"file1"},{"photo_id":"1338768638","filename":"file0"},{"photo_id":"1338768645","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338768648":["hashtag1","hashtag2"]},{"1338768641":["hashtag1","hashtag2"]},{"1338768650":["hashtag1","hashtag2"]},{"1338768638":["hashtag1","hashtag2"]},{"1338768643":["hashtag1","hashtag2"]},{"1338768645":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338768648, 1338768641, 1338768650, 1338768638, 1338768643, 1338768645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4144344329834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:51:32.399036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/53/image_21022025_05_53_24_10333.jpg', '/home/pi/Desktop/images/21022025/05/53/image_21022025_05_53_45_10403.jpg', '/home/pi/Desktop/images/21022025/05/53/image_21022025_05_53_54_9392.jpg', '/home/pi/Desktop/images/21022025/05/53/image_21022025_05_54_04_10336.jpg', '/home/pi/Desktop/images/21022025/05/54/image_21022025_05_54_15_10437.jpg', '/home/pi/Desktop/images/21022025/05/54/image_21022025_05_55_05_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/53/image_21022025_05_53_24_10333.jpg
/home/pi/Desktop/images/21022025/05/53/image_21022025_05_53_45_10403.jpg
/home/pi/Desktop/images/21022025/05/53/image_21022025_05_53_54_9392.jpg
/home/pi/Desktop/images/21022025/05/53/image_21022025_05_54_04_10336.jpg
/home/pi/Desktop/images/21022025/05/54/image_21022025_05_54_15_10437.jpg
/home/pi/Desktop/images/21022025/05/54/image_21022025_05_55_05_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338768682","1338768679","1338768709","1338768693","1338768706","1338768684"],"photo_ids_order":["1338768679","1338768682","1338768684","1338768693","1338768706","1338768709"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e2d4c7980846ef84522a1c7d602e9f68.jpg","text":"TemporaryFile(/tmp/multipartBody5196104964522396673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120752865,"filename":"image_21022025_05_53_45_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a72a76e919efd1c2f9e0bdc379f23d74.jpg","text":"TemporaryFile(/tmp/multipartBody5876189460752079814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120752865,"filename":"image_21022025_05_53_24_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c9cfe38c5ee56b9c2cc192a383c906c.jpg","text":"TemporaryFile(/tmp/multipartBody7295508031806118219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120752865,"filename":"image_21022025_05_55_05_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/27a8babc6d383b34802da76c164357e8.jpg","text":"TemporaryFile(/tmp/multipartBody1252533960191925740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120752865,"filename":"image_21022025_05_54_04_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ec36478dcc993e636d84555adc488934.jpg","text":"TemporaryFile(/tmp/multipartBody8481829743649488188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120752865,"filename":"image_21022025_05_54_15_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b9bbd6ff17e6160502238ccd5e21529.jpg","text":"TemporaryFile(/tmp/multipartBody7838844026072171201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120752865,"filename":"image_21022025_05_53_54_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338768684","file1":"1338768682","file0":"1338768679","file4":"1338768706","file5":"1338768709","file3":"1338768693"},"map_files_photo_id_array":[{"photo_id":"1338768709","filename":"file5"},{"photo_id":"1338768684","filename":"file2"},{"photo_id":"1338768706","filename":"file4"},{"photo_id":"1338768682","filename":"file1"},{"photo_id":"1338768679","filename":"file0"},{"photo_id":"1338768693","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338768682":["hashtag1","hashtag2"]},{"1338768679":["hashtag1","hashtag2"]},{"1338768709":["hashtag1","hashtag2"]},{"1338768693":["hashtag1","hashtag2"]},{"1338768706":["hashtag1","hashtag2"]},{"1338768684":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338768682, 1338768679, 1338768709, 1338768693, 1338768706, 1338768684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.470547914505005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:52:32.621799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/55/image_21022025_05_55_14_9322.jpg', '/home/pi/Desktop/images/21022025/05/55/image_21022025_05_55_24_10357.jpg', '/home/pi/Desktop/images/21022025/05/55/image_21022025_05_55_44_9323.jpg', '/home/pi/Desktop/images/21022025/05/55/image_21022025_05_55_54_10324.jpg', '/home/pi/Desktop/images/21022025/05/56/image_21022025_05_56_14_9334.jpg', '/home/pi/Desktop/images/21022025/05/56/image_21022025_05_56_25_10481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/55/image_21022025_05_55_14_9322.jpg
/home/pi/Desktop/images/21022025/05/55/image_21022025_05_55_24_10357.jpg
/home/pi/Desktop/images/21022025/05/55/image_21022025_05_55_44_9323.jpg
/home/pi/Desktop/images/21022025/05/55/image_21022025_05_55_54_10324.jpg
/home/pi/Desktop/images/21022025/05/56/image_21022025_05_56_14_9334.jpg
/home/pi/Desktop/images/21022025/05/56/image_21022025_05_56_25_10481.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338768735","1338768729","1338768740","1338768725","1338768733","1338768738"],"photo_ids_order":["1338768725","1338768729","1338768733","1338768735","1338768738","1338768740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8500b910724172044f25b61fe0990c78.jpg","text":"TemporaryFile(/tmp/multipartBody1301833440246856012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120813092,"filename":"image_21022025_05_55_54_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a8296ece42975950daf2f8272dee46c.jpg","text":"TemporaryFile(/tmp/multipartBody6415875360267129376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120813092,"filename":"image_21022025_05_55_24_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a46003efa949e9553eca035dffbee912.jpg","text":"TemporaryFile(/tmp/multipartBody831825068221073688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120813092,"filename":"image_21022025_05_56_25_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/22f532f65af7f7cb1a35d92e5001cce9.jpg","text":"TemporaryFile(/tmp/multipartBody1517545654515954017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120813092,"filename":"image_21022025_05_55_14_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a5c512ac168bce852c02106a1407c284.jpg","text":"TemporaryFile(/tmp/multipartBody6746743642734053203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120813092,"filename":"image_21022025_05_55_44_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9bb85d41fb0bee1cb507ec7f7537209a.jpg","text":"TemporaryFile(/tmp/multipartBody5322951101353167364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120813092,"filename":"image_21022025_05_56_14_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338768733","file1":"1338768729","file0":"1338768725","file4":"1338768738","file5":"1338768740","file3":"1338768735"},"map_files_photo_id_array":[{"photo_id":"1338768740","filename":"file5"},{"photo_id":"1338768733","filename":"file2"},{"photo_id":"1338768738","filename":"file4"},{"photo_id":"1338768729","filename":"file1"},{"photo_id":"1338768725","filename":"file0"},{"photo_id":"1338768735","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338768735":["hashtag1","hashtag2"]},{"1338768729":["hashtag1","hashtag2"]},{"1338768740":["hashtag1","hashtag2"]},{"1338768725":["hashtag1","hashtag2"]},{"1338768733":["hashtag1","hashtag2"]},{"1338768738":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338768735, 1338768729, 1338768740, 1338768725, 1338768733, 1338768738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.932191371917725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:53:33.025090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/56/image_21022025_05_56_44_10332.jpg', '/home/pi/Desktop/images/21022025/05/56/image_21022025_05_56_55_10420.jpg', '/home/pi/Desktop/images/21022025/05/56/image_21022025_05_57_04_9316.jpg', '/home/pi/Desktop/images/21022025/05/57/image_21022025_05_57_14_10328.jpg', '/home/pi/Desktop/images/21022025/05/57/image_21022025_05_57_24_10033.jpg', '/home/pi/Desktop/images/21022025/05/57/image_21022025_05_57_55_10474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/56/image_21022025_05_56_44_10332.jpg
/home/pi/Desktop/images/21022025/05/56/image_21022025_05_56_55_10420.jpg
/home/pi/Desktop/images/21022025/05/56/image_21022025_05_57_04_9316.jpg
/home/pi/Desktop/images/21022025/05/57/image_21022025_05_57_14_10328.jpg
/home/pi/Desktop/images/21022025/05/57/image_21022025_05_57_24_10033.jpg
/home/pi/Desktop/images/21022025/05/57/image_21022025_05_57_55_10474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338768753","1338768760","1338768757","1338768777","1338768762","1338768765"],"photo_ids_order":["1338768753","1338768757","1338768760","1338768762","1338768765","1338768777"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/35b2d7d9625f92a0e64fb97d0aadea5c.jpg","text":"TemporaryFile(/tmp/multipartBody4587580711814378576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120873516,"filename":"image_21022025_05_56_44_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7887a9954e751988ee859703f5a7f479.jpg","text":"TemporaryFile(/tmp/multipartBody1089717804569609007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120873516,"filename":"image_21022025_05_57_04_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/041d7d4ea2a2d4dfd517a270cec18b7b.jpg","text":"TemporaryFile(/tmp/multipartBody96652046920272614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120873516,"filename":"image_21022025_05_56_55_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/815182f95f06fbf1ca9e567a21a7777a.jpg","text":"TemporaryFile(/tmp/multipartBody2706077038352174410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120873516,"filename":"image_21022025_05_57_55_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/36da03ac0ba04eb3b65d824fdd7f376b.jpg","text":"TemporaryFile(/tmp/multipartBody500316838890729851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120873516,"filename":"image_21022025_05_57_14_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5495ebacaaad790bb1c454afde0996a2.jpg","text":"TemporaryFile(/tmp/multipartBody2169571079183792601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120873516,"filename":"image_21022025_05_57_24_10033.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338768760","file1":"1338768757","file0":"1338768753","file4":"1338768765","file5":"1338768777","file3":"1338768762"},"map_files_photo_id_array":[{"photo_id":"1338768777","filename":"file5"},{"photo_id":"1338768760","filename":"file2"},{"photo_id":"1338768765","filename":"file4"},{"photo_id":"1338768757","filename":"file1"},{"photo_id":"1338768753","filename":"file0"},{"photo_id":"1338768762","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338768753":["hashtag1","hashtag2"]},{"1338768760":["hashtag1","hashtag2"]},{"1338768757":["hashtag1","hashtag2"]},{"1338768777":["hashtag1","hashtag2"]},{"1338768762":["hashtag1","hashtag2"]},{"1338768765":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338768753, 1338768760, 1338768757, 1338768777, 1338768762, 1338768765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.462428331375122 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:54:32.134787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/57/image_21022025_05_58_04_9334.jpg', '/home/pi/Desktop/images/21022025/05/58/image_21022025_05_58_14_10324.jpg', '/home/pi/Desktop/images/21022025/05/58/image_21022025_05_58_34_9336.jpg', '/home/pi/Desktop/images/21022025/05/58/image_21022025_05_58_44_10326.jpg', '/home/pi/Desktop/images/21022025/05/59/image_21022025_05_59_15_10456.jpg', '/home/pi/Desktop/images/21022025/05/59/image_21022025_05_59_24_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/57/image_21022025_05_58_04_9334.jpg
/home/pi/Desktop/images/21022025/05/58/image_21022025_05_58_14_10324.jpg
/home/pi/Desktop/images/21022025/05/58/image_21022025_05_58_34_9336.jpg
/home/pi/Desktop/images/21022025/05/58/image_21022025_05_58_44_10326.jpg
/home/pi/Desktop/images/21022025/05/59/image_21022025_05_59_15_10456.jpg
/home/pi/Desktop/images/21022025/05/59/image_21022025_05_59_24_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338768833","1338768865","1338768868","1338768832","1338768867","1338768870"],"photo_ids_order":["1338768832","1338768833","1338768865","1338768867","1338768868","1338768870"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8012235f41c232975dd30f660617d595.jpg","text":"TemporaryFile(/tmp/multipartBody8255627458374087555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120932611,"filename":"image_21022025_05_58_14_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b3e37c2d0c9502903e387bf91852e50.jpg","text":"TemporaryFile(/tmp/multipartBody7472259819424985112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120932611,"filename":"image_21022025_05_58_34_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0b1c4dd8052b9762af36299aa5cb668f.jpg","text":"TemporaryFile(/tmp/multipartBody2746146726300746031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120932611,"filename":"image_21022025_05_59_15_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0d1d649c8af2879d083ca0e7852341bb.jpg","text":"TemporaryFile(/tmp/multipartBody8897696996682474363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120932611,"filename":"image_21022025_05_58_04_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/419c7edb84c929eb8cbd9d5087fee039.jpg","text":"TemporaryFile(/tmp/multipartBody4936773537978459711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120932611,"filename":"image_21022025_05_58_44_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b3250dee98ff289aef6a5c9dec9cf50a.jpg","text":"TemporaryFile(/tmp/multipartBody3258602988516606249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120932611,"filename":"image_21022025_05_59_24_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338768865","file1":"1338768833","file0":"1338768832","file4":"1338768868","file5":"1338768870","file3":"1338768867"},"map_files_photo_id_array":[{"photo_id":"1338768870","filename":"file5"},{"photo_id":"1338768865","filename":"file2"},{"photo_id":"1338768868","filename":"file4"},{"photo_id":"1338768833","filename":"file1"},{"photo_id":"1338768832","filename":"file0"},{"photo_id":"1338768867","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338768833":["hashtag1","hashtag2"]},{"1338768865":["hashtag1","hashtag2"]},{"1338768868":["hashtag1","hashtag2"]},{"1338768832":["hashtag1","hashtag2"]},{"1338768867":["hashtag1","hashtag2"]},{"1338768870":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338768833, 1338768865, 1338768868, 1338768832, 1338768867, 1338768870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.95018219947815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:55:32.302442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/05/59/image_21022025_05_59_45_10353.jpg', '/home/pi/Desktop/images/21022025/06/01/image_21022025_06_01_15_10075.jpg', '/home/pi/Desktop/images/21022025/06/02/image_21022025_06_02_25_10355.jpg', '/home/pi/Desktop/images/21022025/06/02/image_21022025_06_02_45_10479.jpg', '/home/pi/Desktop/images/21022025/06/03/image_21022025_06_03_25_10352.jpg', '/home/pi/Desktop/images/21022025/06/03/image_21022025_06_03_35_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/05/59/image_21022025_05_59_45_10353.jpg
/home/pi/Desktop/images/21022025/06/01/image_21022025_06_01_15_10075.jpg
/home/pi/Desktop/images/21022025/06/02/image_21022025_06_02_25_10355.jpg
/home/pi/Desktop/images/21022025/06/02/image_21022025_06_02_45_10479.jpg
/home/pi/Desktop/images/21022025/06/03/image_21022025_06_03_25_10352.jpg
/home/pi/Desktop/images/21022025/06/03/image_21022025_06_03_35_9400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338768896","1338768899","1338768890","1338768903","1338768893","1338768888"],"photo_ids_order":["1338768888","1338768890","1338768893","1338768896","1338768899","1338768903"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a7204528f0910310889cde4e14abcb11.jpg","text":"TemporaryFile(/tmp/multipartBody8316408821270731282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120992782,"filename":"image_21022025_06_02_45_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/68d7b8c68edea625b0c6f5a98303e5da.jpg","text":"TemporaryFile(/tmp/multipartBody1749811994587383742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120992782,"filename":"image_21022025_06_03_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e9cbcc64a3729feb6ea6284111838f3d.jpg","text":"TemporaryFile(/tmp/multipartBody5087801222355691951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120992782,"filename":"image_21022025_06_01_15_10075.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c8916d40fea9b6be629b722e9c9675d1.jpg","text":"TemporaryFile(/tmp/multipartBody6811172563832054978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120992782,"filename":"image_21022025_06_03_35_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/462f0e614f28859b60a15015e5c1adf7.jpg","text":"TemporaryFile(/tmp/multipartBody1657136082204207704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120992782,"filename":"image_21022025_06_02_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/257d70253bc917ddc12e4eeb38badb87.jpg","text":"TemporaryFile(/tmp/multipartBody5449058765172795582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740120992782,"filename":"image_21022025_05_59_45_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338768893","file1":"1338768890","file0":"1338768888","file4":"1338768899","file5":"1338768903","file3":"1338768896"},"map_files_photo_id_array":[{"photo_id":"1338768903","filename":"file5"},{"photo_id":"1338768893","filename":"file2"},{"photo_id":"1338768899","filename":"file4"},{"photo_id":"1338768890","filename":"file1"},{"photo_id":"1338768888","filename":"file0"},{"photo_id":"1338768896","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338768896":["hashtag1","hashtag2"]},{"1338768899":["hashtag1","hashtag2"]},{"1338768890":["hashtag1","hashtag2"]},{"1338768903":["hashtag1","hashtag2"]},{"1338768893":["hashtag1","hashtag2"]},{"1338768888":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338768896, 1338768899, 1338768890, 1338768903, 1338768893, 1338768888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.229581356048584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:56:32.516804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/04/image_21022025_06_04_15_10399.jpg', '/home/pi/Desktop/images/21022025/06/04/image_21022025_06_04_25_9396.jpg', '/home/pi/Desktop/images/21022025/06/04/image_21022025_06_04_35_10371.jpg', '/home/pi/Desktop/images/21022025/06/04/image_21022025_06_04_45_10356.jpg', '/home/pi/Desktop/images/21022025/06/04/image_21022025_06_04_55_9391.jpg', '/home/pi/Desktop/images/21022025/06/04/image_21022025_06_05_05_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/04/image_21022025_06_04_15_10399.jpg
/home/pi/Desktop/images/21022025/06/04/image_21022025_06_04_25_9396.jpg
/home/pi/Desktop/images/21022025/06/04/image_21022025_06_04_35_10371.jpg
/home/pi/Desktop/images/21022025/06/04/image_21022025_06_04_45_10356.jpg
/home/pi/Desktop/images/21022025/06/04/image_21022025_06_04_55_9391.jpg
/home/pi/Desktop/images/21022025/06/04/image_21022025_06_05_05_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338768930","1338768983","1338768977","1338768968","1338768984","1338768942"],"photo_ids_order":["1338768930","1338768942","1338768968","1338768977","1338768983","1338768984"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ddaf3e6d7fb69f7e61f34f9cfd029ee8.jpg","text":"TemporaryFile(/tmp/multipartBody7717374176760247830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121052996,"filename":"image_21022025_06_04_15_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/068ca0557f93d7af2ae7fd8acc522a1e.jpg","text":"TemporaryFile(/tmp/multipartBody998558382842267790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121052996,"filename":"image_21022025_06_04_55_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/27c788f57656a2f6dbfaaf91fa1f83fd.jpg","text":"TemporaryFile(/tmp/multipartBody5706513806098322673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121052996,"filename":"image_21022025_06_04_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2e66ec53f4101b7865dd9fe2141d499c.jpg","text":"TemporaryFile(/tmp/multipartBody7342045502413146968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121052996,"filename":"image_21022025_06_04_35_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cebf33d37c17be3f930190e955a040c8.jpg","text":"TemporaryFile(/tmp/multipartBody2451981529339032324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121052996,"filename":"image_21022025_06_05_05_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/434cd720727996756d2887cf9d271dd2.jpg","text":"TemporaryFile(/tmp/multipartBody8783868367453511674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121052996,"filename":"image_21022025_06_04_25_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338768968","file1":"1338768942","file0":"1338768930","file4":"1338768983","file5":"1338768984","file3":"1338768977"},"map_files_photo_id_array":[{"photo_id":"1338768984","filename":"file5"},{"photo_id":"1338768968","filename":"file2"},{"photo_id":"1338768983","filename":"file4"},{"photo_id":"1338768942","filename":"file1"},{"photo_id":"1338768930","filename":"file0"},{"photo_id":"1338768977","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338768930":["hashtag1","hashtag2"]},{"1338768983":["hashtag1","hashtag2"]},{"1338768977":["hashtag1","hashtag2"]},{"1338768968":["hashtag1","hashtag2"]},{"1338768984":["hashtag1","hashtag2"]},{"1338768942":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338768930, 1338768983, 1338768977, 1338768968, 1338768984, 1338768942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53080868721008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 07:57:32.777483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/06/image_21022025_06_06_25_10335.jpg', '/home/pi/Desktop/images/21022025/06/06/image_21022025_06_06_45_10335.jpg', '/home/pi/Desktop/images/21022025/06/06/image_21022025_06_06_55_10322.jpg', '/home/pi/Desktop/images/21022025/06/06/image_21022025_06_07_05_9345.jpg', '/home/pi/Desktop/images/21022025/06/07/image_21022025_06_07_15_10342.jpg', '/home/pi/Desktop/images/21022025/06/07/image_21022025_06_07_35_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/06/image_21022025_06_06_25_10335.jpg
/home/pi/Desktop/images/21022025/06/06/image_21022025_06_06_45_10335.jpg
/home/pi/Desktop/images/21022025/06/06/image_21022025_06_06_55_10322.jpg
/home/pi/Desktop/images/21022025/06/06/image_21022025_06_07_05_9345.jpg
/home/pi/Desktop/images/21022025/06/07/image_21022025_06_07_15_10342.jpg
/home/pi/Desktop/images/21022025/06/07/image_21022025_06_07_35_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 07:59:03.924703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/06/image_21022025_06_06_25_10335.jpg', '/home/pi/Desktop/images/21022025/06/06/image_21022025_06_06_45_10335.jpg', '/home/pi/Desktop/images/21022025/06/06/image_21022025_06_06_55_10322.jpg', '/home/pi/Desktop/images/21022025/06/06/image_21022025_06_07_05_9345.jpg', '/home/pi/Desktop/images/21022025/06/07/image_21022025_06_07_15_10342.jpg', '/home/pi/Desktop/images/21022025/06/07/image_21022025_06_07_35_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/06/image_21022025_06_06_25_10335.jpg
/home/pi/Desktop/images/21022025/06/06/image_21022025_06_06_45_10335.jpg
/home/pi/Desktop/images/21022025/06/06/image_21022025_06_06_55_10322.jpg
/home/pi/Desktop/images/21022025/06/06/image_21022025_06_07_05_9345.jpg
/home/pi/Desktop/images/21022025/06/07/image_21022025_06_07_15_10342.jpg
/home/pi/Desktop/images/21022025/06/07/image_21022025_06_07_35_9435.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338769151","1338769139","1338769154","1338769148","1338769138","1338769143"],"photo_ids_order":["1338769138","1338769139","1338769143","1338769148","1338769151","1338769154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/824b57de133ab7736513b41dbd36cb95.jpg","text":"TemporaryFile(/tmp/multipartBody4275343717223147624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121204584,"filename":"image_21022025_06_07_15_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f08f29a0a13b7fd8ce9fae343775d64.jpg","text":"TemporaryFile(/tmp/multipartBody7595012717665423891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121204584,"filename":"image_21022025_06_06_45_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9eb3e2771d786e0ff9bd3ded9c4d6ad5.jpg","text":"TemporaryFile(/tmp/multipartBody1879187514532085791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121204584,"filename":"image_21022025_06_07_35_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c37d500966612f2693cc367d5dff77eb.jpg","text":"TemporaryFile(/tmp/multipartBody5618190210110979375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121204584,"filename":"image_21022025_06_07_05_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ee628f96c1335508b392248f572ce80.jpg","text":"TemporaryFile(/tmp/multipartBody8778488220660920460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121204584,"filename":"image_21022025_06_06_25_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ec6e2a57920a51c418a7e0e128c8c227.jpg","text":"TemporaryFile(/tmp/multipartBody721525276450932474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121204584,"filename":"image_21022025_06_06_55_10322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338769143","file1":"1338769139","file0":"1338769138","file4":"1338769151","file5":"1338769154","file3":"1338769148"},"map_files_photo_id_array":[{"photo_id":"1338769154","filename":"file5"},{"photo_id":"1338769143","filename":"file2"},{"photo_id":"1338769151","filename":"file4"},{"photo_id":"1338769139","filename":"file1"},{"photo_id":"1338769138","filename":"file0"},{"photo_id":"1338769148","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338769151":["hashtag1","hashtag2"]},{"1338769139":["hashtag1","hashtag2"]},{"1338769154":["hashtag1","hashtag2"]},{"1338769148":["hashtag1","hashtag2"]},{"1338769138":["hashtag1","hashtag2"]},{"1338769143":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338769151, 1338769139, 1338769154, 1338769148, 1338769138, 1338769143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.589130878448486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 07:59:42.434137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/07/image_21022025_06_07_55_10345.jpg', '/home/pi/Desktop/images/21022025/06/08/image_21022025_06_08_35_10362.jpg', '/home/pi/Desktop/images/21022025/06/08/image_21022025_06_08_45_10333.jpg', '/home/pi/Desktop/images/21022025/06/09/image_21022025_06_09_25_9416.jpg', '/home/pi/Desktop/images/21022025/06/09/image_21022025_06_09_35_10333.jpg', '/home/pi/Desktop/images/21022025/06/09/image_21022025_06_09_45_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/07/image_21022025_06_07_55_10345.jpg
/home/pi/Desktop/images/21022025/06/08/image_21022025_06_08_35_10362.jpg
/home/pi/Desktop/images/21022025/06/08/image_21022025_06_08_45_10333.jpg
/home/pi/Desktop/images/21022025/06/09/image_21022025_06_09_25_9416.jpg
/home/pi/Desktop/images/21022025/06/09/image_21022025_06_09_35_10333.jpg
/home/pi/Desktop/images/21022025/06/09/image_21022025_06_09_45_9400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338769538","1338769540","1338769542","1338769536","1338769530","1338769533"],"photo_ids_order":["1338769530","1338769533","1338769536","1338769538","1338769540","1338769542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32079dacdd48084854aa5a7dc30fec3b.jpg","text":"TemporaryFile(/tmp/multipartBody1126684704205353757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121242924,"filename":"image_21022025_06_09_25_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e6ef18de822f238d80aa8a960d1e353.jpg","text":"TemporaryFile(/tmp/multipartBody5195380398147712625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121242924,"filename":"image_21022025_06_09_35_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7be96dc9a21c4916a3ee8e271dedafc8.jpg","text":"TemporaryFile(/tmp/multipartBody9212426017220987706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121242924,"filename":"image_21022025_06_09_45_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a08410fb978af1b479a1a8de525bc498.jpg","text":"TemporaryFile(/tmp/multipartBody6023461334437815465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121242924,"filename":"image_21022025_06_08_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2460c4cf9730845ccbe797a4e7633be8.jpg","text":"TemporaryFile(/tmp/multipartBody3040266927909874535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121242924,"filename":"image_21022025_06_07_55_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e15d4eb9fbded77a89fd8100b9a0d51e.jpg","text":"TemporaryFile(/tmp/multipartBody2946077403445059925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121242924,"filename":"image_21022025_06_08_35_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338769536","file1":"1338769533","file0":"1338769530","file4":"1338769540","file5":"1338769542","file3":"1338769538"},"map_files_photo_id_array":[{"photo_id":"1338769542","filename":"file5"},{"photo_id":"1338769536","filename":"file2"},{"photo_id":"1338769540","filename":"file4"},{"photo_id":"1338769533","filename":"file1"},{"photo_id":"1338769530","filename":"file0"},{"photo_id":"1338769538","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338769538":["hashtag1","hashtag2"]},{"1338769540":["hashtag1","hashtag2"]},{"1338769542":["hashtag1","hashtag2"]},{"1338769536":["hashtag1","hashtag2"]},{"1338769530":["hashtag1","hashtag2"]},{"1338769533":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338769538, 1338769540, 1338769542, 1338769536, 1338769530, 1338769533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84993648529053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:00:32.569024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/09/image_21022025_06_10_05_10348.jpg', '/home/pi/Desktop/images/21022025/06/10/image_21022025_06_10_15_9343.jpg', '/home/pi/Desktop/images/21022025/06/10/image_21022025_06_10_35_10340.jpg', '/home/pi/Desktop/images/21022025/06/10/image_21022025_06_10_45_9426.jpg', '/home/pi/Desktop/images/21022025/06/10/image_21022025_06_11_05_9443.jpg', '/home/pi/Desktop/images/21022025/06/11/image_21022025_06_11_45_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/09/image_21022025_06_10_05_10348.jpg
/home/pi/Desktop/images/21022025/06/10/image_21022025_06_10_15_9343.jpg
/home/pi/Desktop/images/21022025/06/10/image_21022025_06_10_35_10340.jpg
/home/pi/Desktop/images/21022025/06/10/image_21022025_06_10_45_9426.jpg
/home/pi/Desktop/images/21022025/06/10/image_21022025_06_11_05_9443.jpg
/home/pi/Desktop/images/21022025/06/11/image_21022025_06_11_45_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338769727","1338769721","1338769693","1338769696","1338769690","1338769666"],"photo_ids_order":["1338769666","1338769690","1338769693","1338769696","1338769721","1338769727"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/76d64bed37255e3533f0a7135642723b.jpg","text":"TemporaryFile(/tmp/multipartBody9100181968268911144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121293064,"filename":"image_21022025_06_11_45_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8ce81fdfbdb2334b449e6071874216b6.jpg","text":"TemporaryFile(/tmp/multipartBody4450647157602627832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121293064,"filename":"image_21022025_06_11_05_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f759c207fdada78cdc6145639cda7f67.jpg","text":"TemporaryFile(/tmp/multipartBody2262940962825159566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121293064,"filename":"image_21022025_06_10_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/88b540aac9cf8d10b2c4c0eda6a4c7a0.jpg","text":"TemporaryFile(/tmp/multipartBody8912734337834457740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121293064,"filename":"image_21022025_06_10_45_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c2291d3715d1d986d948ab707c39eba.jpg","text":"TemporaryFile(/tmp/multipartBody112600139820915876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121293064,"filename":"image_21022025_06_10_15_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0575489ab05d975c84bff37fff55fc81.jpg","text":"TemporaryFile(/tmp/multipartBody8288378670149690517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121293064,"filename":"image_21022025_06_10_05_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338769693","file1":"1338769690","file0":"1338769666","file4":"1338769721","file5":"1338769727","file3":"1338769696"},"map_files_photo_id_array":[{"photo_id":"1338769727","filename":"file5"},{"photo_id":"1338769693","filename":"file2"},{"photo_id":"1338769721","filename":"file4"},{"photo_id":"1338769690","filename":"file1"},{"photo_id":"1338769666","filename":"file0"},{"photo_id":"1338769696","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338769727":["hashtag1","hashtag2"]},{"1338769721":["hashtag1","hashtag2"]},{"1338769693":["hashtag1","hashtag2"]},{"1338769696":["hashtag1","hashtag2"]},{"1338769690":["hashtag1","hashtag2"]},{"1338769666":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338769727, 1338769721, 1338769693, 1338769696, 1338769690, 1338769666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.210168838500977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:01:32.861477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/11/image_21022025_06_11_55_10333.jpg', '/home/pi/Desktop/images/21022025/06/11/image_21022025_06_12_05_9440.jpg', '/home/pi/Desktop/images/21022025/06/12/image_21022025_06_12_25_10337.jpg', '/home/pi/Desktop/images/21022025/06/12/image_21022025_06_12_35_9402.jpg', '/home/pi/Desktop/images/21022025/06/12/image_21022025_06_12_45_10341.jpg', '/home/pi/Desktop/images/21022025/06/13/image_21022025_06_13_25_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/11/image_21022025_06_11_55_10333.jpg
/home/pi/Desktop/images/21022025/06/11/image_21022025_06_12_05_9440.jpg
/home/pi/Desktop/images/21022025/06/12/image_21022025_06_12_25_10337.jpg
/home/pi/Desktop/images/21022025/06/12/image_21022025_06_12_35_9402.jpg
/home/pi/Desktop/images/21022025/06/12/image_21022025_06_12_45_10341.jpg
/home/pi/Desktop/images/21022025/06/13/image_21022025_06_13_25_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338769756","1338769759","1338769750","1338769753","1338769764","1338769746"],"photo_ids_order":["1338769746","1338769750","1338769753","1338769756","1338769759","1338769764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6839386441bd8978ea9a2adfa4c61d6b.jpg","text":"TemporaryFile(/tmp/multipartBody3545155923263200756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121353343,"filename":"image_21022025_06_12_35_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a17a477f14af137c77301ce9ec36cb69.jpg","text":"TemporaryFile(/tmp/multipartBody6181820073991298682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121353343,"filename":"image_21022025_06_12_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c7b50efe397cc1df166839d742b509df.jpg","text":"TemporaryFile(/tmp/multipartBody3860052056553782787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121353343,"filename":"image_21022025_06_12_05_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/10ae578b5bd88896884748966ea76b3a.jpg","text":"TemporaryFile(/tmp/multipartBody2471396411774584233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121353343,"filename":"image_21022025_06_12_25_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62a43faa3c6cefcfac67050e0f3a2e1e.jpg","text":"TemporaryFile(/tmp/multipartBody3524096981929287548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121353343,"filename":"image_21022025_06_13_25_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bc2a7b58fefbe398b6a2fe5be323e0e5.jpg","text":"TemporaryFile(/tmp/multipartBody7076423986341640127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121353343,"filename":"image_21022025_06_11_55_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338769753","file1":"1338769750","file0":"1338769746","file4":"1338769759","file5":"1338769764","file3":"1338769756"},"map_files_photo_id_array":[{"photo_id":"1338769764","filename":"file5"},{"photo_id":"1338769753","filename":"file2"},{"photo_id":"1338769759","filename":"file4"},{"photo_id":"1338769750","filename":"file1"},{"photo_id":"1338769746","filename":"file0"},{"photo_id":"1338769756","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338769756":["hashtag1","hashtag2"]},{"1338769759":["hashtag1","hashtag2"]},{"1338769750":["hashtag1","hashtag2"]},{"1338769753":["hashtag1","hashtag2"]},{"1338769764":["hashtag1","hashtag2"]},{"1338769746":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338769756, 1338769759, 1338769750, 1338769753, 1338769764, 1338769746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.62934637069702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:02:33.017938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/13/image_21022025_06_13_55_9336.jpg', '/home/pi/Desktop/images/21022025/06/14/image_21022025_06_14_15_9445.jpg', '/home/pi/Desktop/images/21022025/06/14/image_21022025_06_14_25_10327.jpg', '/home/pi/Desktop/images/21022025/06/14/image_21022025_06_14_35_9678.jpg', '/home/pi/Desktop/images/21022025/06/14/image_21022025_06_14_55_10335.jpg', '/home/pi/Desktop/images/21022025/06/15/image_21022025_06_15_15_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/13/image_21022025_06_13_55_9336.jpg
/home/pi/Desktop/images/21022025/06/14/image_21022025_06_14_15_9445.jpg
/home/pi/Desktop/images/21022025/06/14/image_21022025_06_14_25_10327.jpg
/home/pi/Desktop/images/21022025/06/14/image_21022025_06_14_35_9678.jpg
/home/pi/Desktop/images/21022025/06/14/image_21022025_06_14_55_10335.jpg
/home/pi/Desktop/images/21022025/06/15/image_21022025_06_15_15_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338769792","1338769795","1338769789","1338769785","1338769782","1338769796"],"photo_ids_order":["1338769782","1338769785","1338769789","1338769792","1338769795","1338769796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7bee67b687f480842255ffc96205d833.jpg","text":"TemporaryFile(/tmp/multipartBody1989643146117722795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121413488,"filename":"image_21022025_06_14_35_9678.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a1e3aff2b09f70b2a6fd97598be617c.jpg","text":"TemporaryFile(/tmp/multipartBody4373737795620911991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121413488,"filename":"image_21022025_06_14_55_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c57596d1bd5b15e721caa51ce4be7034.jpg","text":"TemporaryFile(/tmp/multipartBody4846379360796164794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121413488,"filename":"image_21022025_06_14_25_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/af3a103b82ec81d245d03a02db9834bd.jpg","text":"TemporaryFile(/tmp/multipartBody5721564318339114352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121413488,"filename":"image_21022025_06_14_15_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4b4f0891f2232107649816426239fde.jpg","text":"TemporaryFile(/tmp/multipartBody1305496848531165168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121413488,"filename":"image_21022025_06_13_55_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/814e165ed739c40bff6169b9cc449d70.jpg","text":"TemporaryFile(/tmp/multipartBody6840884670067674003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121413488,"filename":"image_21022025_06_15_15_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338769789","file1":"1338769785","file0":"1338769782","file4":"1338769795","file5":"1338769796","file3":"1338769792"},"map_files_photo_id_array":[{"photo_id":"1338769796","filename":"file5"},{"photo_id":"1338769789","filename":"file2"},{"photo_id":"1338769795","filename":"file4"},{"photo_id":"1338769785","filename":"file1"},{"photo_id":"1338769782","filename":"file0"},{"photo_id":"1338769792","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338769792":["hashtag1","hashtag2"]},{"1338769795":["hashtag1","hashtag2"]},{"1338769789":["hashtag1","hashtag2"]},{"1338769785":["hashtag1","hashtag2"]},{"1338769782":["hashtag1","hashtag2"]},{"1338769796":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338769792, 1338769795, 1338769789, 1338769785, 1338769782, 1338769796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.181910276412964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:03:32.153737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/15/image_21022025_06_15_35_9341.jpg', '/home/pi/Desktop/images/21022025/06/16/image_21022025_06_16_15_10349.jpg', '/home/pi/Desktop/images/21022025/06/16/image_21022025_06_16_25_9382.jpg', '/home/pi/Desktop/images/21022025/06/16/image_21022025_06_16_55_9335.jpg', '/home/pi/Desktop/images/21022025/06/17/image_21022025_06_17_25_9375.jpg', '/home/pi/Desktop/images/21022025/06/17/image_21022025_06_17_45_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/15/image_21022025_06_15_35_9341.jpg
/home/pi/Desktop/images/21022025/06/16/image_21022025_06_16_15_10349.jpg
/home/pi/Desktop/images/21022025/06/16/image_21022025_06_16_25_9382.jpg
/home/pi/Desktop/images/21022025/06/16/image_21022025_06_16_55_9335.jpg
/home/pi/Desktop/images/21022025/06/17/image_21022025_06_17_25_9375.jpg
/home/pi/Desktop/images/21022025/06/17/image_21022025_06_17_45_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338769819","1338769816","1338769821","1338769824","1338769818","1338769827"],"photo_ids_order":["1338769816","1338769818","1338769819","1338769821","1338769824","1338769827"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d6af95eaaf503211a9daafc4b63564de.jpg","text":"TemporaryFile(/tmp/multipartBody539933296943442276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121472656,"filename":"image_21022025_06_16_25_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/29660de9889bc85e22fbf089eb12a0dc.jpg","text":"TemporaryFile(/tmp/multipartBody6548670079289791618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121472656,"filename":"image_21022025_06_15_35_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c094171de20ea63c398dbe698ef59d8d.jpg","text":"TemporaryFile(/tmp/multipartBody3867994641434001950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121472656,"filename":"image_21022025_06_16_55_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/924229767d60a412cf1572bdd4810860.jpg","text":"TemporaryFile(/tmp/multipartBody7336353846378756568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121472656,"filename":"image_21022025_06_17_25_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92056c12566f297e2b15c3f9a84c4a52.jpg","text":"TemporaryFile(/tmp/multipartBody8644226432216880727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121472656,"filename":"image_21022025_06_16_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2091ed43f676cbc772f3d198fa7cf242.jpg","text":"TemporaryFile(/tmp/multipartBody2228596740555851439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121472656,"filename":"image_21022025_06_17_45_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338769819","file1":"1338769818","file0":"1338769816","file4":"1338769824","file5":"1338769827","file3":"1338769821"},"map_files_photo_id_array":[{"photo_id":"1338769827","filename":"file5"},{"photo_id":"1338769819","filename":"file2"},{"photo_id":"1338769824","filename":"file4"},{"photo_id":"1338769818","filename":"file1"},{"photo_id":"1338769816","filename":"file0"},{"photo_id":"1338769821","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338769819":["hashtag1","hashtag2"]},{"1338769816":["hashtag1","hashtag2"]},{"1338769821":["hashtag1","hashtag2"]},{"1338769824":["hashtag1","hashtag2"]},{"1338769818":["hashtag1","hashtag2"]},{"1338769827":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338769819, 1338769816, 1338769821, 1338769824, 1338769818, 1338769827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83671545982361 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:04:32.296418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/17/image_21022025_06_17_55_9389.jpg', '/home/pi/Desktop/images/21022025/06/18/image_21022025_06_18_25_10447.jpg', '/home/pi/Desktop/images/21022025/06/18/image_21022025_06_18_35_10335.jpg', '/home/pi/Desktop/images/21022025/06/18/image_21022025_06_18_45_9347.jpg', '/home/pi/Desktop/images/21022025/06/18/image_21022025_06_18_55_10333.jpg', '/home/pi/Desktop/images/21022025/06/18/image_21022025_06_19_05_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/17/image_21022025_06_17_55_9389.jpg
/home/pi/Desktop/images/21022025/06/18/image_21022025_06_18_25_10447.jpg
/home/pi/Desktop/images/21022025/06/18/image_21022025_06_18_35_10335.jpg
/home/pi/Desktop/images/21022025/06/18/image_21022025_06_18_45_9347.jpg
/home/pi/Desktop/images/21022025/06/18/image_21022025_06_18_55_10333.jpg
/home/pi/Desktop/images/21022025/06/18/image_21022025_06_19_05_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338770100","1338770278","1338770275","1338770245","1338770274","1338770172"],"photo_ids_order":["1338770100","1338770172","1338770245","1338770274","1338770275","1338770278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a8a9c217aa005876d8b4ee347a2cab1f.jpg","text":"TemporaryFile(/tmp/multipartBody368553117417626236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121532770,"filename":"image_21022025_06_17_55_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c6bd1fdf449aba28635dae19ddf69101.jpg","text":"TemporaryFile(/tmp/multipartBody4743093417303129784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121532770,"filename":"image_21022025_06_19_05_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0951eb82cbbb0ce79eb062d00d541f0b.jpg","text":"TemporaryFile(/tmp/multipartBody9120539411325133668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121532770,"filename":"image_21022025_06_18_55_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ad12d5572149992f8c349718ddd84945.jpg","text":"TemporaryFile(/tmp/multipartBody824803414137629167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121532770,"filename":"image_21022025_06_18_35_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bd161f9068268f42906460fb4a8aae54.jpg","text":"TemporaryFile(/tmp/multipartBody609943245594884466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121532770,"filename":"image_21022025_06_18_45_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f1719f779fbb51a1b326a9ec9865f1e.jpg","text":"TemporaryFile(/tmp/multipartBody6802011874499907971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121532770,"filename":"image_21022025_06_18_25_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338770245","file1":"1338770172","file0":"1338770100","file4":"1338770275","file5":"1338770278","file3":"1338770274"},"map_files_photo_id_array":[{"photo_id":"1338770278","filename":"file5"},{"photo_id":"1338770245","filename":"file2"},{"photo_id":"1338770275","filename":"file4"},{"photo_id":"1338770172","filename":"file1"},{"photo_id":"1338770100","filename":"file0"},{"photo_id":"1338770274","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338770100":["hashtag1","hashtag2"]},{"1338770278":["hashtag1","hashtag2"]},{"1338770275":["hashtag1","hashtag2"]},{"1338770245":["hashtag1","hashtag2"]},{"1338770274":["hashtag1","hashtag2"]},{"1338770172":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338770100, 1338770278, 1338770275, 1338770245, 1338770274, 1338770172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3146014213562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:05:32.540069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/19/image_21022025_06_19_15_9368.jpg', '/home/pi/Desktop/images/21022025/06/19/image_21022025_06_19_35_10346.jpg', '/home/pi/Desktop/images/21022025/06/19/image_21022025_06_19_45_9341.jpg', '/home/pi/Desktop/images/21022025/06/20/image_21022025_06_20_15_10342.jpg', '/home/pi/Desktop/images/21022025/06/20/image_21022025_06_20_25_10346.jpg', '/home/pi/Desktop/images/21022025/06/20/image_21022025_06_20_45_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/19/image_21022025_06_19_15_9368.jpg
/home/pi/Desktop/images/21022025/06/19/image_21022025_06_19_35_10346.jpg
/home/pi/Desktop/images/21022025/06/19/image_21022025_06_19_45_9341.jpg
/home/pi/Desktop/images/21022025/06/20/image_21022025_06_20_15_10342.jpg
/home/pi/Desktop/images/21022025/06/20/image_21022025_06_20_25_10346.jpg
/home/pi/Desktop/images/21022025/06/20/image_21022025_06_20_45_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338770313","1338770307","1338770301","1338770304","1338770299","1338770311"],"photo_ids_order":["1338770299","1338770301","1338770304","1338770307","1338770311","1338770313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aba3d68dbbf958432893330ff6a6e733.jpg","text":"TemporaryFile(/tmp/multipartBody1966313822416092549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121593026,"filename":"image_21022025_06_20_45_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1015ebf5225b4addc3d45543aae378a.jpg","text":"TemporaryFile(/tmp/multipartBody2635694614072871574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121593026,"filename":"image_21022025_06_20_15_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/45d4099861911aac4563ee8f435bf375.jpg","text":"TemporaryFile(/tmp/multipartBody5020679420747816218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121593026,"filename":"image_21022025_06_19_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c05994f897c1c379b447f0d5ce5991f3.jpg","text":"TemporaryFile(/tmp/multipartBody8753942595205617791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121593026,"filename":"image_21022025_06_19_45_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75937647c5075ed6ea0a0a118a892853.jpg","text":"TemporaryFile(/tmp/multipartBody7088365341218369781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121593026,"filename":"image_21022025_06_19_15_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/67e2cdd86a547fc9d7597bd40d476bbe.jpg","text":"TemporaryFile(/tmp/multipartBody8106200232871092292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121593026,"filename":"image_21022025_06_20_25_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338770304","file1":"1338770301","file0":"1338770299","file4":"1338770311","file5":"1338770313","file3":"1338770307"},"map_files_photo_id_array":[{"photo_id":"1338770313","filename":"file5"},{"photo_id":"1338770304","filename":"file2"},{"photo_id":"1338770311","filename":"file4"},{"photo_id":"1338770301","filename":"file1"},{"photo_id":"1338770299","filename":"file0"},{"photo_id":"1338770307","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338770313":["hashtag1","hashtag2"]},{"1338770307":["hashtag1","hashtag2"]},{"1338770301":["hashtag1","hashtag2"]},{"1338770304":["hashtag1","hashtag2"]},{"1338770299":["hashtag1","hashtag2"]},{"1338770311":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338770313, 1338770307, 1338770301, 1338770304, 1338770299, 1338770311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.752115726470947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:06:32.593496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/21/image_21022025_06_21_25_10417.jpg', '/home/pi/Desktop/images/21022025/06/22/image_21022025_06_22_15_10345.jpg', '/home/pi/Desktop/images/21022025/06/22/image_21022025_06_22_25_10345.jpg', '/home/pi/Desktop/images/21022025/06/22/image_21022025_06_22_55_9439.jpg', '/home/pi/Desktop/images/21022025/06/22/image_21022025_06_23_05_10420.jpg', '/home/pi/Desktop/images/21022025/06/23/image_21022025_06_23_15_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/21/image_21022025_06_21_25_10417.jpg
/home/pi/Desktop/images/21022025/06/22/image_21022025_06_22_15_10345.jpg
/home/pi/Desktop/images/21022025/06/22/image_21022025_06_22_25_10345.jpg
/home/pi/Desktop/images/21022025/06/22/image_21022025_06_22_55_9439.jpg
/home/pi/Desktop/images/21022025/06/22/image_21022025_06_23_05_10420.jpg
/home/pi/Desktop/images/21022025/06/23/image_21022025_06_23_15_10405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338770342","1338770336","1338770333","1338770350","1338770347","1338770338"],"photo_ids_order":["1338770333","1338770336","1338770338","1338770342","1338770347","1338770350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1f46143d6cca6d435f7fbcc8df4d18f1.jpg","text":"TemporaryFile(/tmp/multipartBody2654749772252259555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121653077,"filename":"image_21022025_06_22_55_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1a32e68d807ad4ca7352a7cd0f5f7c5c.jpg","text":"TemporaryFile(/tmp/multipartBody7505463549116823588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121653077,"filename":"image_21022025_06_22_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1d824e31d42c31da60b241d7aa9b5d98.jpg","text":"TemporaryFile(/tmp/multipartBody268549408593088106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121653077,"filename":"image_21022025_06_21_25_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d32a37fe11015974f7837f445fd81967.jpg","text":"TemporaryFile(/tmp/multipartBody8975553113237450014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121653077,"filename":"image_21022025_06_23_15_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2fc801889a1a05d1c3844954910ba875.jpg","text":"TemporaryFile(/tmp/multipartBody8090482224393085223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121653077,"filename":"image_21022025_06_23_05_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b45543e722fa082ba26a6c71bcf237c.jpg","text":"TemporaryFile(/tmp/multipartBody3385937330472450676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121653077,"filename":"image_21022025_06_22_25_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338770338","file1":"1338770336","file0":"1338770333","file4":"1338770347","file5":"1338770350","file3":"1338770342"},"map_files_photo_id_array":[{"photo_id":"1338770350","filename":"file5"},{"photo_id":"1338770338","filename":"file2"},{"photo_id":"1338770347","filename":"file4"},{"photo_id":"1338770336","filename":"file1"},{"photo_id":"1338770333","filename":"file0"},{"photo_id":"1338770342","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338770342":["hashtag1","hashtag2"]},{"1338770336":["hashtag1","hashtag2"]},{"1338770333":["hashtag1","hashtag2"]},{"1338770350":["hashtag1","hashtag2"]},{"1338770347":["hashtag1","hashtag2"]},{"1338770338":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338770342, 1338770336, 1338770333, 1338770350, 1338770347, 1338770338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17626428604126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:07:32.829021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/23/image_21022025_06_23_35_10355.jpg', '/home/pi/Desktop/images/21022025/06/23/image_21022025_06_23_45_10344.jpg', '/home/pi/Desktop/images/21022025/06/23/image_21022025_06_24_05_10334.jpg', '/home/pi/Desktop/images/21022025/06/24/image_21022025_06_24_35_10359.jpg', '/home/pi/Desktop/images/21022025/06/24/image_21022025_06_24_45_9437.jpg', '/home/pi/Desktop/images/21022025/06/24/image_21022025_06_24_55_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/23/image_21022025_06_23_35_10355.jpg
/home/pi/Desktop/images/21022025/06/23/image_21022025_06_23_45_10344.jpg
/home/pi/Desktop/images/21022025/06/23/image_21022025_06_24_05_10334.jpg
/home/pi/Desktop/images/21022025/06/24/image_21022025_06_24_35_10359.jpg
/home/pi/Desktop/images/21022025/06/24/image_21022025_06_24_45_9437.jpg
/home/pi/Desktop/images/21022025/06/24/image_21022025_06_24_55_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338770403","1338770372","1338770375","1338770383","1338770377","1338770392"],"photo_ids_order":["1338770372","1338770375","1338770377","1338770383","1338770392","1338770403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d2f65453c7619d6b4764e552f371e1a.jpg","text":"TemporaryFile(/tmp/multipartBody3243658717144711375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121713322,"filename":"image_21022025_06_24_55_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9cee092ec7e288abcd74cbe618fcae25.jpg","text":"TemporaryFile(/tmp/multipartBody4043158558045528357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121713322,"filename":"image_21022025_06_23_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d698e65c9c788ff91bde22ad5c59adc.jpg","text":"TemporaryFile(/tmp/multipartBody5775735674181950112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121713322,"filename":"image_21022025_06_23_45_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6873a815e43b85847127cd43b9aa94c9.jpg","text":"TemporaryFile(/tmp/multipartBody3694623379803394858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121713322,"filename":"image_21022025_06_24_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5941ab09810cfda9d32402aa2ba21fe2.jpg","text":"TemporaryFile(/tmp/multipartBody1867279048002455667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121713322,"filename":"image_21022025_06_24_05_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/666af3ac24ca31b3578599f2584f99f2.jpg","text":"TemporaryFile(/tmp/multipartBody6501817016602902882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121713322,"filename":"image_21022025_06_24_45_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338770377","file1":"1338770375","file0":"1338770372","file4":"1338770392","file5":"1338770403","file3":"1338770383"},"map_files_photo_id_array":[{"photo_id":"1338770403","filename":"file5"},{"photo_id":"1338770377","filename":"file2"},{"photo_id":"1338770392","filename":"file4"},{"photo_id":"1338770375","filename":"file1"},{"photo_id":"1338770372","filename":"file0"},{"photo_id":"1338770383","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338770403":["hashtag1","hashtag2"]},{"1338770372":["hashtag1","hashtag2"]},{"1338770375":["hashtag1","hashtag2"]},{"1338770383":["hashtag1","hashtag2"]},{"1338770377":["hashtag1","hashtag2"]},{"1338770392":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338770403, 1338770372, 1338770375, 1338770383, 1338770377, 1338770392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80892777442932 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:08:32.129963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/25/image_21022025_06_25_15_10349.jpg', '/home/pi/Desktop/images/21022025/06/25/image_21022025_06_25_25_10336.jpg', '/home/pi/Desktop/images/21022025/06/25/image_21022025_06_25_35_9331.jpg', '/home/pi/Desktop/images/21022025/06/25/image_21022025_06_25_45_10331.jpg', '/home/pi/Desktop/images/21022025/06/25/image_21022025_06_26_05_9333.jpg', '/home/pi/Desktop/images/21022025/06/26/image_21022025_06_27_05_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/25/image_21022025_06_25_15_10349.jpg
/home/pi/Desktop/images/21022025/06/25/image_21022025_06_25_25_10336.jpg
/home/pi/Desktop/images/21022025/06/25/image_21022025_06_25_35_9331.jpg
/home/pi/Desktop/images/21022025/06/25/image_21022025_06_25_45_10331.jpg
/home/pi/Desktop/images/21022025/06/25/image_21022025_06_26_05_9333.jpg
/home/pi/Desktop/images/21022025/06/26/image_21022025_06_27_05_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338770445","1338770452","1338770455","1338770449","1338770440","1338770434"],"photo_ids_order":["1338770434","1338770440","1338770445","1338770449","1338770452","1338770455"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/18724a4093a76b5c8fa825d64a74e151.jpg","text":"TemporaryFile(/tmp/multipartBody9204723669025985809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121772595,"filename":"image_21022025_06_25_35_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/edfae8ed0efd0a18be81a098699c09f5.jpg","text":"TemporaryFile(/tmp/multipartBody6682472796423614969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121772595,"filename":"image_21022025_06_26_05_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d5ec950a4577cb9ae2499a8b95cc0a3.jpg","text":"TemporaryFile(/tmp/multipartBody3764169797021141691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121772595,"filename":"image_21022025_06_27_05_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b7efd5f669fe603681e0949f858aa5b.jpg","text":"TemporaryFile(/tmp/multipartBody198663506296962805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121772595,"filename":"image_21022025_06_25_45_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d6dad360ffee196058227421ef80b211.jpg","text":"TemporaryFile(/tmp/multipartBody37117510906510919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121772595,"filename":"image_21022025_06_25_25_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd8b7dad91771a6f8a831b07d0134b24.jpg","text":"TemporaryFile(/tmp/multipartBody276023691808510724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121772595,"filename":"image_21022025_06_25_15_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338770445","file1":"1338770440","file0":"1338770434","file4":"1338770452","file5":"1338770455","file3":"1338770449"},"map_files_photo_id_array":[{"photo_id":"1338770455","filename":"file5"},{"photo_id":"1338770445","filename":"file2"},{"photo_id":"1338770452","filename":"file4"},{"photo_id":"1338770440","filename":"file1"},{"photo_id":"1338770434","filename":"file0"},{"photo_id":"1338770449","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338770445":["hashtag1","hashtag2"]},{"1338770452":["hashtag1","hashtag2"]},{"1338770455":["hashtag1","hashtag2"]},{"1338770449":["hashtag1","hashtag2"]},{"1338770440":["hashtag1","hashtag2"]},{"1338770434":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338770445, 1338770452, 1338770455, 1338770449, 1338770440, 1338770434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.446948051452637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:09:32.313821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/27/image_21022025_06_27_15_10334.jpg', '/home/pi/Desktop/images/21022025/06/27/image_21022025_06_27_35_10350.jpg', '/home/pi/Desktop/images/21022025/06/27/image_21022025_06_27_45_10361.jpg', '/home/pi/Desktop/images/21022025/06/27/image_21022025_06_27_55_9321.jpg', '/home/pi/Desktop/images/21022025/06/28/image_21022025_06_28_15_10321.jpg', '/home/pi/Desktop/images/21022025/06/28/image_21022025_06_28_25_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/27/image_21022025_06_27_15_10334.jpg
/home/pi/Desktop/images/21022025/06/27/image_21022025_06_27_35_10350.jpg
/home/pi/Desktop/images/21022025/06/27/image_21022025_06_27_45_10361.jpg
/home/pi/Desktop/images/21022025/06/27/image_21022025_06_27_55_9321.jpg
/home/pi/Desktop/images/21022025/06/28/image_21022025_06_28_15_10321.jpg
/home/pi/Desktop/images/21022025/06/28/image_21022025_06_28_25_9403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338771373","1338771311","1338771106","1338771162","1338771045","1338771219"],"photo_ids_order":["1338771045","1338771106","1338771162","1338771219","1338771311","1338771373"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1103576b0b69e4a475666d56479ffb5c.jpg","text":"TemporaryFile(/tmp/multipartBody8495529649937163878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121832787,"filename":"image_21022025_06_28_25_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2451949090659063fd6c7e047d552f84.jpg","text":"TemporaryFile(/tmp/multipartBody1829652408308418336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121832787,"filename":"image_21022025_06_28_15_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/08b8a36a4fdd487064bdf7b6cd502630.jpg","text":"TemporaryFile(/tmp/multipartBody1821447363452786782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121832787,"filename":"image_21022025_06_27_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c840d20c10582a31159e89fc726b3592.jpg","text":"TemporaryFile(/tmp/multipartBody2053151138521563391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121832787,"filename":"image_21022025_06_27_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/58e80c6286d0c2217e555bea48557a08.jpg","text":"TemporaryFile(/tmp/multipartBody5445973662457203604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121832787,"filename":"image_21022025_06_27_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2742af89ce011bc99e4a8d53b92c57f9.jpg","text":"TemporaryFile(/tmp/multipartBody4933395531632518865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121832787,"filename":"image_21022025_06_27_55_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338771162","file1":"1338771106","file0":"1338771045","file4":"1338771311","file5":"1338771373","file3":"1338771219"},"map_files_photo_id_array":[{"photo_id":"1338771373","filename":"file5"},{"photo_id":"1338771162","filename":"file2"},{"photo_id":"1338771311","filename":"file4"},{"photo_id":"1338771106","filename":"file1"},{"photo_id":"1338771045","filename":"file0"},{"photo_id":"1338771219","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338771373":["hashtag1","hashtag2"]},{"1338771311":["hashtag1","hashtag2"]},{"1338771106":["hashtag1","hashtag2"]},{"1338771162":["hashtag1","hashtag2"]},{"1338771045":["hashtag1","hashtag2"]},{"1338771219":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338771373, 1338771311, 1338771106, 1338771162, 1338771045, 1338771219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.743608474731445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:10:32.577813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/28/image_21022025_06_29_05_10320.jpg', '/home/pi/Desktop/images/21022025/06/29/image_21022025_06_29_15_9415.jpg', '/home/pi/Desktop/images/21022025/06/29/image_21022025_06_30_05_10418.jpg', '/home/pi/Desktop/images/21022025/06/30/image_21022025_06_30_35_10330.jpg', '/home/pi/Desktop/images/21022025/06/31/image_21022025_06_31_25_10344.jpg', '/home/pi/Desktop/images/21022025/06/31/image_21022025_06_31_35_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/28/image_21022025_06_29_05_10320.jpg
/home/pi/Desktop/images/21022025/06/29/image_21022025_06_29_15_9415.jpg
/home/pi/Desktop/images/21022025/06/29/image_21022025_06_30_05_10418.jpg
/home/pi/Desktop/images/21022025/06/30/image_21022025_06_30_35_10330.jpg
/home/pi/Desktop/images/21022025/06/31/image_21022025_06_31_25_10344.jpg
/home/pi/Desktop/images/21022025/06/31/image_21022025_06_31_35_9354.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3988170623779297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 08:10:42.492618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/28/image_21022025_06_29_05_10320.jpg', '/home/pi/Desktop/images/21022025/06/29/image_21022025_06_29_15_9415.jpg', '/home/pi/Desktop/images/21022025/06/29/image_21022025_06_30_05_10418.jpg', '/home/pi/Desktop/images/21022025/06/30/image_21022025_06_30_35_10330.jpg', '/home/pi/Desktop/images/21022025/06/31/image_21022025_06_31_25_10344.jpg', '/home/pi/Desktop/images/21022025/06/31/image_21022025_06_31_35_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/28/image_21022025_06_29_05_10320.jpg
/home/pi/Desktop/images/21022025/06/29/image_21022025_06_29_15_9415.jpg
/home/pi/Desktop/images/21022025/06/29/image_21022025_06_30_05_10418.jpg
/home/pi/Desktop/images/21022025/06/30/image_21022025_06_30_35_10330.jpg
/home/pi/Desktop/images/21022025/06/31/image_21022025_06_31_25_10344.jpg
/home/pi/Desktop/images/21022025/06/31/image_21022025_06_31_35_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338771461","1338771473","1338771664","1338771517","1338771483","1338771651"],"photo_ids_order":["1338771461","1338771473","1338771483","1338771517","1338771651","1338771664"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f87c676098abc93b0dec5ebd95d2b642.jpg","text":"TemporaryFile(/tmp/multipartBody1037624330487048445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121902976,"filename":"image_21022025_06_29_05_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eefdda166311f540c7b144138704711b.jpg","text":"TemporaryFile(/tmp/multipartBody170170842438590642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121902976,"filename":"image_21022025_06_29_15_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e527eef4edc33f9d1a301ee7bf1f599e.jpg","text":"TemporaryFile(/tmp/multipartBody8175378387412833480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121902976,"filename":"image_21022025_06_31_35_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1e09c4fa1ef98b193fcf62b7d30a410e.jpg","text":"TemporaryFile(/tmp/multipartBody8970665031810578005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121902976,"filename":"image_21022025_06_30_35_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/34294cde0d29cd2e137684584b033c59.jpg","text":"TemporaryFile(/tmp/multipartBody7889146679852702250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121902976,"filename":"image_21022025_06_30_05_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e0ae1eed457af27d5e79dd97fb89cbc9.jpg","text":"TemporaryFile(/tmp/multipartBody1083812083249019554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121902976,"filename":"image_21022025_06_31_25_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338771483","file1":"1338771473","file0":"1338771461","file4":"1338771651","file5":"1338771664","file3":"1338771517"},"map_files_photo_id_array":[{"photo_id":"1338771664","filename":"file5"},{"photo_id":"1338771483","filename":"file2"},{"photo_id":"1338771651","filename":"file4"},{"photo_id":"1338771473","filename":"file1"},{"photo_id":"1338771461","filename":"file0"},{"photo_id":"1338771517","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338771461":["hashtag1","hashtag2"]},{"1338771473":["hashtag1","hashtag2"]},{"1338771664":["hashtag1","hashtag2"]},{"1338771517":["hashtag1","hashtag2"]},{"1338771483":["hashtag1","hashtag2"]},{"1338771651":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338771461, 1338771473, 1338771664, 1338771517, 1338771483, 1338771651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.751216173172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:11:32.960931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/31/image_21022025_06_31_55_10331.jpg', '/home/pi/Desktop/images/21022025/06/32/image_21022025_06_32_25_10327.jpg', '/home/pi/Desktop/images/21022025/06/32/image_21022025_06_32_45_10340.jpg', '/home/pi/Desktop/images/21022025/06/33/image_21022025_06_33_15_10321.jpg', '/home/pi/Desktop/images/21022025/06/33/image_21022025_06_33_35_9507.jpg', '/home/pi/Desktop/images/21022025/06/33/image_21022025_06_33_45_10319.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/31/image_21022025_06_31_55_10331.jpg
/home/pi/Desktop/images/21022025/06/32/image_21022025_06_32_25_10327.jpg
/home/pi/Desktop/images/21022025/06/32/image_21022025_06_32_45_10340.jpg
/home/pi/Desktop/images/21022025/06/33/image_21022025_06_33_15_10321.jpg
/home/pi/Desktop/images/21022025/06/33/image_21022025_06_33_35_9507.jpg
/home/pi/Desktop/images/21022025/06/33/image_21022025_06_33_45_10319.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338771752","1338771812","1338771790","1338771814","1338771720","1338771801"],"photo_ids_order":["1338771720","1338771752","1338771790","1338771801","1338771812","1338771814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a0661ba5758ce8c87d17388efa1dc90b.jpg","text":"TemporaryFile(/tmp/multipartBody2538678470103003035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121953437,"filename":"image_21022025_06_32_25_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/adf0716f1b42621a1826d1a4fb0b018e.jpg","text":"TemporaryFile(/tmp/multipartBody8018398196017047031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121953437,"filename":"image_21022025_06_33_35_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e6ac22f79ca653c7ebd2764655531b1a.jpg","text":"TemporaryFile(/tmp/multipartBody4790823624254786500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121953437,"filename":"image_21022025_06_32_45_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ab5bc6d550ba60ba1c56f98cefe8362.jpg","text":"TemporaryFile(/tmp/multipartBody1880078966413494626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121953437,"filename":"image_21022025_06_33_45_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6af2d7e2a1fb8c23261e8074a460672a.jpg","text":"TemporaryFile(/tmp/multipartBody6998050198604121755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121953437,"filename":"image_21022025_06_31_55_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e657f88d954513db1e2e0d7b03e25e1b.jpg","text":"TemporaryFile(/tmp/multipartBody2442815022412747188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740121953437,"filename":"image_21022025_06_33_15_10321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338771790","file1":"1338771752","file0":"1338771720","file4":"1338771812","file5":"1338771814","file3":"1338771801"},"map_files_photo_id_array":[{"photo_id":"1338771814","filename":"file5"},{"photo_id":"1338771790","filename":"file2"},{"photo_id":"1338771812","filename":"file4"},{"photo_id":"1338771752","filename":"file1"},{"photo_id":"1338771720","filename":"file0"},{"photo_id":"1338771801","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338771752":["hashtag1","hashtag2"]},{"1338771812":["hashtag1","hashtag2"]},{"1338771790":["hashtag1","hashtag2"]},{"1338771814":["hashtag1","hashtag2"]},{"1338771720":["hashtag1","hashtag2"]},{"1338771801":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338771752, 1338771812, 1338771790, 1338771814, 1338771720, 1338771801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.135431051254272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:12:33.025713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/33/image_21022025_06_33_55_9352.jpg', '/home/pi/Desktop/images/21022025/06/34/image_21022025_06_34_15_10332.jpg', '/home/pi/Desktop/images/21022025/06/34/image_21022025_06_35_05_10349.jpg', '/home/pi/Desktop/images/21022025/06/35/image_21022025_06_35_15_10325.jpg', '/home/pi/Desktop/images/21022025/06/35/image_21022025_06_35_25_9387.jpg', '/home/pi/Desktop/images/21022025/06/36/image_21022025_06_36_15_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/33/image_21022025_06_33_55_9352.jpg
/home/pi/Desktop/images/21022025/06/34/image_21022025_06_34_15_10332.jpg
/home/pi/Desktop/images/21022025/06/34/image_21022025_06_35_05_10349.jpg
/home/pi/Desktop/images/21022025/06/35/image_21022025_06_35_15_10325.jpg
/home/pi/Desktop/images/21022025/06/35/image_21022025_06_35_25_9387.jpg
/home/pi/Desktop/images/21022025/06/36/image_21022025_06_36_15_9333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338771839","1338771862","1338771847","1338771855","1338771858","1338771834"],"photo_ids_order":["1338771834","1338771839","1338771847","1338771855","1338771858","1338771862"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6fd26f98f2545a879f9bdb1ea8284836.jpg","text":"TemporaryFile(/tmp/multipartBody4336966610567609727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122013518,"filename":"image_21022025_06_34_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c0ae608bc98b24bfad5c04b9bad0b17.jpg","text":"TemporaryFile(/tmp/multipartBody8531248314240690700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122013518,"filename":"image_21022025_06_36_15_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9f62b68ef0411561be8303a7b792f8af.jpg","text":"TemporaryFile(/tmp/multipartBody2723431707880992132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122013518,"filename":"image_21022025_06_35_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1f78de2bd1c027b028b8b6af09c7695b.jpg","text":"TemporaryFile(/tmp/multipartBody7238753079007771649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122013518,"filename":"image_21022025_06_35_15_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f4223f85219e0eafb2ff5a8746d0608.jpg","text":"TemporaryFile(/tmp/multipartBody2731861814612715347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122013518,"filename":"image_21022025_06_35_25_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1aa6307be055dafa646b28ddd3cc369d.jpg","text":"TemporaryFile(/tmp/multipartBody1530163355753940286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122013518,"filename":"image_21022025_06_33_55_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338771847","file1":"1338771839","file0":"1338771834","file4":"1338771858","file5":"1338771862","file3":"1338771855"},"map_files_photo_id_array":[{"photo_id":"1338771862","filename":"file5"},{"photo_id":"1338771847","filename":"file2"},{"photo_id":"1338771858","filename":"file4"},{"photo_id":"1338771839","filename":"file1"},{"photo_id":"1338771834","filename":"file0"},{"photo_id":"1338771855","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338771839":["hashtag1","hashtag2"]},{"1338771862":["hashtag1","hashtag2"]},{"1338771847":["hashtag1","hashtag2"]},{"1338771855":["hashtag1","hashtag2"]},{"1338771858":["hashtag1","hashtag2"]},{"1338771834":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338771839, 1338771862, 1338771847, 1338771855, 1338771858, 1338771834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40835690498352 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:13:32.118101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/37/image_21022025_06_37_25_10338.jpg', '/home/pi/Desktop/images/21022025/06/37/image_21022025_06_37_35_10334.jpg', '/home/pi/Desktop/images/21022025/06/39/image_21022025_06_39_15_10324.jpg', '/home/pi/Desktop/images/21022025/06/39/image_21022025_06_39_25_10344.jpg', '/home/pi/Desktop/images/21022025/06/39/image_21022025_06_39_35_9431.jpg', '/home/pi/Desktop/images/21022025/06/39/image_21022025_06_39_45_10324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/37/image_21022025_06_37_25_10338.jpg
/home/pi/Desktop/images/21022025/06/37/image_21022025_06_37_35_10334.jpg
/home/pi/Desktop/images/21022025/06/39/image_21022025_06_39_15_10324.jpg
/home/pi/Desktop/images/21022025/06/39/image_21022025_06_39_25_10344.jpg
/home/pi/Desktop/images/21022025/06/39/image_21022025_06_39_35_9431.jpg
/home/pi/Desktop/images/21022025/06/39/image_21022025_06_39_45_10324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338771925","1338771922","1338771916","1338771919","1338771904","1338771906"],"photo_ids_order":["1338771904","1338771906","1338771916","1338771919","1338771922","1338771925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80e2e438f2cd7f9ca27e1e21deaa77a6.jpg","text":"TemporaryFile(/tmp/multipartBody7482210266587102377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122072597,"filename":"image_21022025_06_39_45_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ff7a68c979e02c7de9c4d8a0dff5d4d.jpg","text":"TemporaryFile(/tmp/multipartBody8793339920352306409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122072597,"filename":"image_21022025_06_39_35_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9780aa2d2a46770a089d96e486052240.jpg","text":"TemporaryFile(/tmp/multipartBody1254538451130197267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122072597,"filename":"image_21022025_06_39_15_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df602a980a8acedb285d164a7b13519b.jpg","text":"TemporaryFile(/tmp/multipartBody1787712769946461959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122072597,"filename":"image_21022025_06_39_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7eccd22a961a645239edd673e79b4ad8.jpg","text":"TemporaryFile(/tmp/multipartBody7367544990202713527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122072597,"filename":"image_21022025_06_37_25_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e09844dfcd66246e654fcf3a2df86fe2.jpg","text":"TemporaryFile(/tmp/multipartBody1321659394493331156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122072597,"filename":"image_21022025_06_37_35_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338771916","file1":"1338771906","file0":"1338771904","file4":"1338771922","file5":"1338771925","file3":"1338771919"},"map_files_photo_id_array":[{"photo_id":"1338771925","filename":"file5"},{"photo_id":"1338771916","filename":"file2"},{"photo_id":"1338771922","filename":"file4"},{"photo_id":"1338771906","filename":"file1"},{"photo_id":"1338771904","filename":"file0"},{"photo_id":"1338771919","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338771925":["hashtag1","hashtag2"]},{"1338771922":["hashtag1","hashtag2"]},{"1338771916":["hashtag1","hashtag2"]},{"1338771919":["hashtag1","hashtag2"]},{"1338771904":["hashtag1","hashtag2"]},{"1338771906":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338771925, 1338771922, 1338771916, 1338771919, 1338771904, 1338771906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19343876838684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:14:32.279834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/41/image_21022025_06_41_15_10314.jpg', '/home/pi/Desktop/images/21022025/06/41/image_21022025_06_41_45_10126.jpg', '/home/pi/Desktop/images/21022025/06/41/image_21022025_06_41_55_9363.jpg', '/home/pi/Desktop/images/21022025/06/41/image_21022025_06_42_05_10339.jpg', '/home/pi/Desktop/images/21022025/06/42/image_21022025_06_42_15_10348.jpg', '/home/pi/Desktop/images/21022025/06/42/image_21022025_06_42_55_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/41/image_21022025_06_41_15_10314.jpg
/home/pi/Desktop/images/21022025/06/41/image_21022025_06_41_45_10126.jpg
/home/pi/Desktop/images/21022025/06/41/image_21022025_06_41_55_9363.jpg
/home/pi/Desktop/images/21022025/06/41/image_21022025_06_42_05_10339.jpg
/home/pi/Desktop/images/21022025/06/42/image_21022025_06_42_15_10348.jpg
/home/pi/Desktop/images/21022025/06/42/image_21022025_06_42_55_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338772022","1338772001","1338772025","1338772010","1338772018","1338771999"],"photo_ids_order":["1338771999","1338772001","1338772010","1338772018","1338772022","1338772025"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8a40e4e7551b4e0fbaddc48e9063315f.jpg","text":"TemporaryFile(/tmp/multipartBody2318108996449018727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122132902,"filename":"image_21022025_06_42_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dc8eaa8bd945ad50b0034cfaf39ce40f.jpg","text":"TemporaryFile(/tmp/multipartBody6106007738002085642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122132902,"filename":"image_21022025_06_41_45_10126.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d950c6893ecbce708e6bee013fbed6b3.jpg","text":"TemporaryFile(/tmp/multipartBody8140543265729031970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122132902,"filename":"image_21022025_06_42_55_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c00423786e97b4f324b9f4dda249599b.jpg","text":"TemporaryFile(/tmp/multipartBody6655821255226135898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122132902,"filename":"image_21022025_06_41_55_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/404bde2a272b5244553a95a033188d1d.jpg","text":"TemporaryFile(/tmp/multipartBody5041221341156787266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122132902,"filename":"image_21022025_06_42_05_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f06e75270c9b30be4d48a3c5757fbeba.jpg","text":"TemporaryFile(/tmp/multipartBody2232199982623206248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122132902,"filename":"image_21022025_06_41_15_10314.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338772010","file1":"1338772001","file0":"1338771999","file4":"1338772022","file5":"1338772025","file3":"1338772018"},"map_files_photo_id_array":[{"photo_id":"1338772025","filename":"file5"},{"photo_id":"1338772010","filename":"file2"},{"photo_id":"1338772022","filename":"file4"},{"photo_id":"1338772001","filename":"file1"},{"photo_id":"1338771999","filename":"file0"},{"photo_id":"1338772018","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338772022":["hashtag1","hashtag2"]},{"1338772001":["hashtag1","hashtag2"]},{"1338772025":["hashtag1","hashtag2"]},{"1338772010":["hashtag1","hashtag2"]},{"1338772018":["hashtag1","hashtag2"]},{"1338771999":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338772022, 1338772001, 1338772025, 1338772010, 1338772018, 1338771999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84428095817566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:15:32.591950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/43/image_21022025_06_43_45_9438.jpg', '/home/pi/Desktop/images/21022025/06/43/image_21022025_06_44_05_10337.jpg', '/home/pi/Desktop/images/21022025/06/44/image_21022025_06_44_35_10348.jpg', '/home/pi/Desktop/images/21022025/06/44/image_21022025_06_44_45_9445.jpg', '/home/pi/Desktop/images/21022025/06/44/image_21022025_06_44_55_10336.jpg', '/home/pi/Desktop/images/21022025/06/44/image_21022025_06_45_05_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/43/image_21022025_06_43_45_9438.jpg
/home/pi/Desktop/images/21022025/06/43/image_21022025_06_44_05_10337.jpg
/home/pi/Desktop/images/21022025/06/44/image_21022025_06_44_35_10348.jpg
/home/pi/Desktop/images/21022025/06/44/image_21022025_06_44_45_9445.jpg
/home/pi/Desktop/images/21022025/06/44/image_21022025_06_44_55_10336.jpg
/home/pi/Desktop/images/21022025/06/44/image_21022025_06_45_05_9375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338772049","1338772040","1338772042","1338772048","1338772044","1338772046"],"photo_ids_order":["1338772040","1338772042","1338772044","1338772046","1338772048","1338772049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7912f0e7e23018a027253cbbb3cd394e.jpg","text":"TemporaryFile(/tmp/multipartBody1836864927183733261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122193071,"filename":"image_21022025_06_45_05_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/157f489ee5ffd671518af0b2419fd5e5.jpg","text":"TemporaryFile(/tmp/multipartBody9101933541067698658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122193071,"filename":"image_21022025_06_43_45_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/797d4af826fa59c625813d5cdd9f7266.jpg","text":"TemporaryFile(/tmp/multipartBody9109008651682601941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122193071,"filename":"image_21022025_06_44_05_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/903ac440a959c559566b7873a0806977.jpg","text":"TemporaryFile(/tmp/multipartBody4619432642733731253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122193071,"filename":"image_21022025_06_44_55_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/50b605c71b221e907e8d547b660310bc.jpg","text":"TemporaryFile(/tmp/multipartBody4344674176948633902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122193071,"filename":"image_21022025_06_44_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/26b3da26135b418c682166e0ed219cd1.jpg","text":"TemporaryFile(/tmp/multipartBody7203702857480738487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122193071,"filename":"image_21022025_06_44_45_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338772044","file1":"1338772042","file0":"1338772040","file4":"1338772048","file5":"1338772049","file3":"1338772046"},"map_files_photo_id_array":[{"photo_id":"1338772049","filename":"file5"},{"photo_id":"1338772044","filename":"file2"},{"photo_id":"1338772048","filename":"file4"},{"photo_id":"1338772042","filename":"file1"},{"photo_id":"1338772040","filename":"file0"},{"photo_id":"1338772046","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338772049":["hashtag1","hashtag2"]},{"1338772040":["hashtag1","hashtag2"]},{"1338772042":["hashtag1","hashtag2"]},{"1338772048":["hashtag1","hashtag2"]},{"1338772044":["hashtag1","hashtag2"]},{"1338772046":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338772049, 1338772040, 1338772042, 1338772048, 1338772044, 1338772046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.21902108192444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:16:32.883315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/45/image_21022025_06_45_35_9472.jpg', '/home/pi/Desktop/images/21022025/06/45/image_21022025_06_45_55_10326.jpg', '/home/pi/Desktop/images/21022025/06/46/image_21022025_06_46_25_9475.jpg', '/home/pi/Desktop/images/21022025/06/46/image_21022025_06_46_35_10338.jpg', '/home/pi/Desktop/images/21022025/06/46/image_21022025_06_46_45_10339.jpg', '/home/pi/Desktop/images/21022025/06/47/image_21022025_06_47_25_9483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/45/image_21022025_06_45_35_9472.jpg
/home/pi/Desktop/images/21022025/06/45/image_21022025_06_45_55_10326.jpg
/home/pi/Desktop/images/21022025/06/46/image_21022025_06_46_25_9475.jpg
/home/pi/Desktop/images/21022025/06/46/image_21022025_06_46_35_10338.jpg
/home/pi/Desktop/images/21022025/06/46/image_21022025_06_46_45_10339.jpg
/home/pi/Desktop/images/21022025/06/47/image_21022025_06_47_25_9483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338772100","1338772118","1338772098","1338772117","1338772104","1338772107"],"photo_ids_order":["1338772098","1338772100","1338772104","1338772107","1338772117","1338772118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/392210096da210aaf79018d4a08160b7.jpg","text":"TemporaryFile(/tmp/multipartBody1466264054044485184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122253355,"filename":"image_21022025_06_45_55_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac18eab2342b4baf81406ce8eab69ef9.jpg","text":"TemporaryFile(/tmp/multipartBody3554494634619557430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122253355,"filename":"image_21022025_06_47_25_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f611156f80b780239c4ce27151d51bfe.jpg","text":"TemporaryFile(/tmp/multipartBody6749279130889802584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122253355,"filename":"image_21022025_06_45_35_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23f8145696c33f3ab534e46cc20ab85a.jpg","text":"TemporaryFile(/tmp/multipartBody3645637538942018014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122253355,"filename":"image_21022025_06_46_45_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b22576623ced60b7b84a34726743522b.jpg","text":"TemporaryFile(/tmp/multipartBody7519550542329752574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122253355,"filename":"image_21022025_06_46_25_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bad130061ab7d38471c0f7fec970b4ea.jpg","text":"TemporaryFile(/tmp/multipartBody4099224017055212195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122253355,"filename":"image_21022025_06_46_35_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338772104","file1":"1338772100","file0":"1338772098","file4":"1338772117","file5":"1338772118","file3":"1338772107"},"map_files_photo_id_array":[{"photo_id":"1338772118","filename":"file5"},{"photo_id":"1338772104","filename":"file2"},{"photo_id":"1338772117","filename":"file4"},{"photo_id":"1338772100","filename":"file1"},{"photo_id":"1338772098","filename":"file0"},{"photo_id":"1338772107","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338772100":["hashtag1","hashtag2"]},{"1338772118":["hashtag1","hashtag2"]},{"1338772098":["hashtag1","hashtag2"]},{"1338772117":["hashtag1","hashtag2"]},{"1338772104":["hashtag1","hashtag2"]},{"1338772107":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338772100, 1338772118, 1338772098, 1338772117, 1338772104, 1338772107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79156994819641 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:17:33.077358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/47/image_21022025_06_47_35_10341.jpg', '/home/pi/Desktop/images/21022025/06/47/image_21022025_06_48_05_10329.jpg', '/home/pi/Desktop/images/21022025/06/48/image_21022025_06_48_15_9324.jpg', '/home/pi/Desktop/images/21022025/06/49/image_21022025_06_49_15_9423.jpg', '/home/pi/Desktop/images/21022025/06/49/image_21022025_06_49_25_10326.jpg', '/home/pi/Desktop/images/21022025/06/49/image_21022025_06_49_35_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/47/image_21022025_06_47_35_10341.jpg
/home/pi/Desktop/images/21022025/06/47/image_21022025_06_48_05_10329.jpg
/home/pi/Desktop/images/21022025/06/48/image_21022025_06_48_15_9324.jpg
/home/pi/Desktop/images/21022025/06/49/image_21022025_06_49_15_9423.jpg
/home/pi/Desktop/images/21022025/06/49/image_21022025_06_49_25_10326.jpg
/home/pi/Desktop/images/21022025/06/49/image_21022025_06_49_35_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338772142","1338772150","1338772170","1338772161","1338772155","1338772145"],"photo_ids_order":["1338772142","1338772145","1338772150","1338772155","1338772161","1338772170"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ea96254cb13136b375c2a16bf074da9d.jpg","text":"TemporaryFile(/tmp/multipartBody899415420583639440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122313547,"filename":"image_21022025_06_47_35_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fb5d657f5be9a67cd8d8dbb2058f3cb0.jpg","text":"TemporaryFile(/tmp/multipartBody5534620151209016917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122313547,"filename":"image_21022025_06_48_15_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac669bdb5cbe3c696652b9ce7e0332e0.jpg","text":"TemporaryFile(/tmp/multipartBody7497530877261731313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122313547,"filename":"image_21022025_06_49_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f790c1d61163e4ecdbe178a0be7906d.jpg","text":"TemporaryFile(/tmp/multipartBody9097449279882372500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122313547,"filename":"image_21022025_06_49_25_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d063aaef99fa403cef1c61fded297c1f.jpg","text":"TemporaryFile(/tmp/multipartBody2881294539375036690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122313547,"filename":"image_21022025_06_49_15_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/189ed66ebb747a5129dc0f93bdbf35e5.jpg","text":"TemporaryFile(/tmp/multipartBody4890127936992736518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122313547,"filename":"image_21022025_06_48_05_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338772150","file1":"1338772145","file0":"1338772142","file4":"1338772161","file5":"1338772170","file3":"1338772155"},"map_files_photo_id_array":[{"photo_id":"1338772170","filename":"file5"},{"photo_id":"1338772150","filename":"file2"},{"photo_id":"1338772161","filename":"file4"},{"photo_id":"1338772145","filename":"file1"},{"photo_id":"1338772142","filename":"file0"},{"photo_id":"1338772155","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338772142":["hashtag1","hashtag2"]},{"1338772150":["hashtag1","hashtag2"]},{"1338772170":["hashtag1","hashtag2"]},{"1338772161":["hashtag1","hashtag2"]},{"1338772155":["hashtag1","hashtag2"]},{"1338772145":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338772142, 1338772150, 1338772170, 1338772161, 1338772155, 1338772145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.66604733467102 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:18:32.178099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/49/image_21022025_06_49_45_9431.jpg', '/home/pi/Desktop/images/21022025/06/50/image_21022025_06_51_05_9344.jpg', '/home/pi/Desktop/images/21022025/06/51/image_21022025_06_51_15_10314.jpg', '/home/pi/Desktop/images/21022025/06/51/image_21022025_06_51_55_10332.jpg', '/home/pi/Desktop/images/21022025/06/51/image_21022025_06_52_05_9448.jpg', '/home/pi/Desktop/images/21022025/06/52/image_21022025_06_52_15_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/49/image_21022025_06_49_45_9431.jpg
/home/pi/Desktop/images/21022025/06/50/image_21022025_06_51_05_9344.jpg
/home/pi/Desktop/images/21022025/06/51/image_21022025_06_51_15_10314.jpg
/home/pi/Desktop/images/21022025/06/51/image_21022025_06_51_55_10332.jpg
/home/pi/Desktop/images/21022025/06/51/image_21022025_06_52_05_9448.jpg
/home/pi/Desktop/images/21022025/06/52/image_21022025_06_52_15_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338772253","1338772276","1338772278","1338772272","1338772251","1338772242"],"photo_ids_order":["1338772242","1338772251","1338772253","1338772272","1338772276","1338772278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c564bfea824ebb557e2d81662610c61.jpg","text":"TemporaryFile(/tmp/multipartBody7234362027270210738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122372654,"filename":"image_21022025_06_51_15_10314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5cf8bc17bf69a8b0f46e9c771ab68e53.jpg","text":"TemporaryFile(/tmp/multipartBody484824737621900889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122372654,"filename":"image_21022025_06_52_05_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd6c3a6399837e85b17a0e0b20a89abf.jpg","text":"TemporaryFile(/tmp/multipartBody1105860883370225425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122372654,"filename":"image_21022025_06_52_15_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bf0d98cbd2238f558c51cb9de87b809f.jpg","text":"TemporaryFile(/tmp/multipartBody1893086943690160174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122372654,"filename":"image_21022025_06_51_55_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7308868f784eecdce1c26c75a0895030.jpg","text":"TemporaryFile(/tmp/multipartBody8468717134158001320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122372654,"filename":"image_21022025_06_51_05_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/47a8492bbeece0e2001f46617185ce11.jpg","text":"TemporaryFile(/tmp/multipartBody7695427334750158622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122372654,"filename":"image_21022025_06_49_45_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338772253","file1":"1338772251","file0":"1338772242","file4":"1338772276","file5":"1338772278","file3":"1338772272"},"map_files_photo_id_array":[{"photo_id":"1338772278","filename":"file5"},{"photo_id":"1338772253","filename":"file2"},{"photo_id":"1338772276","filename":"file4"},{"photo_id":"1338772251","filename":"file1"},{"photo_id":"1338772242","filename":"file0"},{"photo_id":"1338772272","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338772253":["hashtag1","hashtag2"]},{"1338772276":["hashtag1","hashtag2"]},{"1338772278":["hashtag1","hashtag2"]},{"1338772272":["hashtag1","hashtag2"]},{"1338772251":["hashtag1","hashtag2"]},{"1338772242":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338772253, 1338772276, 1338772278, 1338772272, 1338772251, 1338772242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.45669412612915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:19:32.383167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/52/image_21022025_06_52_45_10330.jpg', '/home/pi/Desktop/images/21022025/06/52/image_21022025_06_52_55_9407.jpg', '/home/pi/Desktop/images/21022025/06/53/image_21022025_06_53_15_10327.jpg', '/home/pi/Desktop/images/21022025/06/53/image_21022025_06_53_25_9328.jpg', '/home/pi/Desktop/images/21022025/06/53/image_21022025_06_53_35_10360.jpg', '/home/pi/Desktop/images/21022025/06/55/image_21022025_06_55_35_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/52/image_21022025_06_52_45_10330.jpg
/home/pi/Desktop/images/21022025/06/52/image_21022025_06_52_55_9407.jpg
/home/pi/Desktop/images/21022025/06/53/image_21022025_06_53_15_10327.jpg
/home/pi/Desktop/images/21022025/06/53/image_21022025_06_53_25_9328.jpg
/home/pi/Desktop/images/21022025/06/53/image_21022025_06_53_35_10360.jpg
/home/pi/Desktop/images/21022025/06/55/image_21022025_06_55_35_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338772313","1338772297","1338772301","1338772315","1338772309","1338772305"],"photo_ids_order":["1338772297","1338772301","1338772305","1338772309","1338772313","1338772315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b4be3aacfe9663385503f2369acb85d7.jpg","text":"TemporaryFile(/tmp/multipartBody6794766017042584641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122432871,"filename":"image_21022025_06_53_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fcd331b52f16dc76a8feee476fb477bf.jpg","text":"TemporaryFile(/tmp/multipartBody8447084218960980256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122432871,"filename":"image_21022025_06_52_45_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b7c641e62aad9bc2de866eaea02c81a0.jpg","text":"TemporaryFile(/tmp/multipartBody6662011167281617093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122432871,"filename":"image_21022025_06_52_55_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac0a456b82526e172ed37350f283905b.jpg","text":"TemporaryFile(/tmp/multipartBody5425006206798109210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122432871,"filename":"image_21022025_06_55_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e0d4d6c565096568e093861494cce935.jpg","text":"TemporaryFile(/tmp/multipartBody5954896181986090278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122432871,"filename":"image_21022025_06_53_25_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/292b56602e30abbb1817205b4be6d163.jpg","text":"TemporaryFile(/tmp/multipartBody7153154700268005252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122432871,"filename":"image_21022025_06_53_15_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338772305","file1":"1338772301","file0":"1338772297","file4":"1338772313","file5":"1338772315","file3":"1338772309"},"map_files_photo_id_array":[{"photo_id":"1338772315","filename":"file5"},{"photo_id":"1338772305","filename":"file2"},{"photo_id":"1338772313","filename":"file4"},{"photo_id":"1338772301","filename":"file1"},{"photo_id":"1338772297","filename":"file0"},{"photo_id":"1338772309","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338772313":["hashtag1","hashtag2"]},{"1338772297":["hashtag1","hashtag2"]},{"1338772301":["hashtag1","hashtag2"]},{"1338772315":["hashtag1","hashtag2"]},{"1338772309":["hashtag1","hashtag2"]},{"1338772305":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338772313, 1338772297, 1338772301, 1338772315, 1338772309, 1338772305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78531193733215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:20:32.694603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/55/image_21022025_06_55_45_9413.jpg', '/home/pi/Desktop/images/21022025/06/55/image_21022025_06_55_55_10326.jpg', '/home/pi/Desktop/images/21022025/06/56/image_21022025_06_56_35_10346.jpg', '/home/pi/Desktop/images/21022025/06/56/image_21022025_06_56_45_9399.jpg', '/home/pi/Desktop/images/21022025/06/56/image_21022025_06_57_05_10411.jpg', '/home/pi/Desktop/images/21022025/06/57/image_21022025_06_57_15_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/55/image_21022025_06_55_45_9413.jpg
/home/pi/Desktop/images/21022025/06/55/image_21022025_06_55_55_10326.jpg
/home/pi/Desktop/images/21022025/06/56/image_21022025_06_56_35_10346.jpg
/home/pi/Desktop/images/21022025/06/56/image_21022025_06_56_45_9399.jpg
/home/pi/Desktop/images/21022025/06/56/image_21022025_06_57_05_10411.jpg
/home/pi/Desktop/images/21022025/06/57/image_21022025_06_57_15_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338772357","1338772362","1338772359","1338772350","1338772374","1338772368"],"photo_ids_order":["1338772350","1338772357","1338772359","1338772362","1338772368","1338772374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/064cb9bee54497ceab066207b6bdb83e.jpg","text":"TemporaryFile(/tmp/multipartBody3948233245657829013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122493182,"filename":"image_21022025_06_55_55_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8157c50197f20adda9000abffd4a244c.jpg","text":"TemporaryFile(/tmp/multipartBody7111208354684926345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122493182,"filename":"image_21022025_06_56_45_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/18e6c04454b49f898d0a2bf5c39e36b3.jpg","text":"TemporaryFile(/tmp/multipartBody2057497338571220563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122493182,"filename":"image_21022025_06_56_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/88680ab70b062bb77d87ae220077be65.jpg","text":"TemporaryFile(/tmp/multipartBody5000999141248154323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122493182,"filename":"image_21022025_06_55_45_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/31502698a002cbb30e0a7c4475532733.jpg","text":"TemporaryFile(/tmp/multipartBody892796665156782400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122493182,"filename":"image_21022025_06_57_15_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a3c5180bff3febf98f58d67ac76eb55.jpg","text":"TemporaryFile(/tmp/multipartBody4420691206231751052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122493182,"filename":"image_21022025_06_57_05_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338772359","file1":"1338772357","file0":"1338772350","file4":"1338772368","file5":"1338772374","file3":"1338772362"},"map_files_photo_id_array":[{"photo_id":"1338772374","filename":"file5"},{"photo_id":"1338772359","filename":"file2"},{"photo_id":"1338772368","filename":"file4"},{"photo_id":"1338772357","filename":"file1"},{"photo_id":"1338772350","filename":"file0"},{"photo_id":"1338772362","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338772357":["hashtag1","hashtag2"]},{"1338772362":["hashtag1","hashtag2"]},{"1338772359":["hashtag1","hashtag2"]},{"1338772350":["hashtag1","hashtag2"]},{"1338772374":["hashtag1","hashtag2"]},{"1338772368":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338772357, 1338772362, 1338772359, 1338772350, 1338772374, 1338772368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36493468284607 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:21:33.011924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/57/image_21022025_06_57_35_9379.jpg', '/home/pi/Desktop/images/21022025/06/57/image_21022025_06_57_45_10335.jpg', '/home/pi/Desktop/images/21022025/06/57/image_21022025_06_58_05_9373.jpg', '/home/pi/Desktop/images/21022025/06/58/image_21022025_06_58_15_10352.jpg', '/home/pi/Desktop/images/21022025/06/58/image_21022025_06_58_25_10329.jpg', '/home/pi/Desktop/images/21022025/06/58/image_21022025_06_58_45_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/57/image_21022025_06_57_35_9379.jpg
/home/pi/Desktop/images/21022025/06/57/image_21022025_06_57_45_10335.jpg
/home/pi/Desktop/images/21022025/06/57/image_21022025_06_58_05_9373.jpg
/home/pi/Desktop/images/21022025/06/58/image_21022025_06_58_15_10352.jpg
/home/pi/Desktop/images/21022025/06/58/image_21022025_06_58_25_10329.jpg
/home/pi/Desktop/images/21022025/06/58/image_21022025_06_58_45_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338772418","1338772396","1338772415","1338772403","1338772411","1338772408"],"photo_ids_order":["1338772396","1338772403","1338772408","1338772411","1338772415","1338772418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b314a16785f8c443de3dc7a1c1b22a2a.jpg","text":"TemporaryFile(/tmp/multipartBody3229326039047327824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122553508,"filename":"image_21022025_06_58_45_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2b094bca75fec609d82f916f50a39499.jpg","text":"TemporaryFile(/tmp/multipartBody4889612686613462068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122553508,"filename":"image_21022025_06_57_35_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f2e82f9810ae203ae68d80f2b2153e3b.jpg","text":"TemporaryFile(/tmp/multipartBody2274626718337292311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122553508,"filename":"image_21022025_06_58_25_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/79e40a6efc247b30997d804280c6237e.jpg","text":"TemporaryFile(/tmp/multipartBody3453306388590442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122553508,"filename":"image_21022025_06_57_45_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2a9b95f4ecf20ecba073ff6f3843d5d.jpg","text":"TemporaryFile(/tmp/multipartBody717285027081644608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122553508,"filename":"image_21022025_06_58_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ff01206cb791d90dcd7699b7dee17b5.jpg","text":"TemporaryFile(/tmp/multipartBody6760235649998288754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122553508,"filename":"image_21022025_06_58_05_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338772408","file1":"1338772403","file0":"1338772396","file4":"1338772415","file5":"1338772418","file3":"1338772411"},"map_files_photo_id_array":[{"photo_id":"1338772418","filename":"file5"},{"photo_id":"1338772408","filename":"file2"},{"photo_id":"1338772415","filename":"file4"},{"photo_id":"1338772403","filename":"file1"},{"photo_id":"1338772396","filename":"file0"},{"photo_id":"1338772411","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338772418":["hashtag1","hashtag2"]},{"1338772396":["hashtag1","hashtag2"]},{"1338772415":["hashtag1","hashtag2"]},{"1338772403":["hashtag1","hashtag2"]},{"1338772411":["hashtag1","hashtag2"]},{"1338772408":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338772418, 1338772396, 1338772415, 1338772403, 1338772411, 1338772408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.65159034729004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:22:33.127923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/06/58/image_21022025_06_58_55_10332.jpg', '/home/pi/Desktop/images/21022025/06/59/image_21022025_06_59_15_10337.jpg', '/home/pi/Desktop/images/21022025/07/01/image_21022025_07_01_15_10074.jpg', '/home/pi/Desktop/images/21022025/07/01/image_21022025_07_01_25_10367.jpg', '/home/pi/Desktop/images/21022025/07/01/image_21022025_07_01_55_10334.jpg', '/home/pi/Desktop/images/21022025/07/01/image_21022025_07_02_05_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/06/58/image_21022025_06_58_55_10332.jpg
/home/pi/Desktop/images/21022025/06/59/image_21022025_06_59_15_10337.jpg
/home/pi/Desktop/images/21022025/07/01/image_21022025_07_01_15_10074.jpg
/home/pi/Desktop/images/21022025/07/01/image_21022025_07_01_25_10367.jpg
/home/pi/Desktop/images/21022025/07/01/image_21022025_07_01_55_10334.jpg
/home/pi/Desktop/images/21022025/07/01/image_21022025_07_02_05_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338772724","1338772894","1338772564","1338772647","1338772796","1338772985"],"photo_ids_order":["1338772564","1338772647","1338772724","1338772796","1338772894","1338772985"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0315037fa0c034fd0d5352680dd2842b.jpg","text":"TemporaryFile(/tmp/multipartBody3756541686731694769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122613614,"filename":"image_21022025_07_01_15_10074.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d278e054876a3c5fd86ab8c61ea51abe.jpg","text":"TemporaryFile(/tmp/multipartBody3945173399386159305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122613614,"filename":"image_21022025_07_01_55_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b58aec67b1e7f51749ef6d013614da63.jpg","text":"TemporaryFile(/tmp/multipartBody4263437852434693962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122613614,"filename":"image_21022025_06_58_55_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61171a1451b12dedfd2e78b54bc4ba30.jpg","text":"TemporaryFile(/tmp/multipartBody3029691398574338507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122613614,"filename":"image_21022025_06_59_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0df980de3ab3a1aeefe18ffd1d7c4c86.jpg","text":"TemporaryFile(/tmp/multipartBody3554996793611031285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122613614,"filename":"image_21022025_07_01_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/941c76f7b63f66eaa249766449add3d3.jpg","text":"TemporaryFile(/tmp/multipartBody2150412377152132201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122613614,"filename":"image_21022025_07_02_05_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338772724","file1":"1338772647","file0":"1338772564","file4":"1338772894","file5":"1338772985","file3":"1338772796"},"map_files_photo_id_array":[{"photo_id":"1338772985","filename":"file5"},{"photo_id":"1338772724","filename":"file2"},{"photo_id":"1338772894","filename":"file4"},{"photo_id":"1338772647","filename":"file1"},{"photo_id":"1338772564","filename":"file0"},{"photo_id":"1338772796","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338772724":["hashtag1","hashtag2"]},{"1338772894":["hashtag1","hashtag2"]},{"1338772564":["hashtag1","hashtag2"]},{"1338772647":["hashtag1","hashtag2"]},{"1338772796":["hashtag1","hashtag2"]},{"1338772985":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338772724, 1338772894, 1338772564, 1338772647, 1338772796, 1338772985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.845294713974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:23:32.215689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/02/image_21022025_07_02_15_9417.jpg', '/home/pi/Desktop/images/21022025/07/02/image_21022025_07_02_45_10432.jpg', '/home/pi/Desktop/images/21022025/07/02/image_21022025_07_03_05_9328.jpg', '/home/pi/Desktop/images/21022025/07/03/image_21022025_07_03_15_10324.jpg', '/home/pi/Desktop/images/21022025/07/03/image_21022025_07_03_26_10408.jpg', '/home/pi/Desktop/images/21022025/07/05/image_21022025_07_05_16_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/02/image_21022025_07_02_15_9417.jpg
/home/pi/Desktop/images/21022025/07/02/image_21022025_07_02_45_10432.jpg
/home/pi/Desktop/images/21022025/07/02/image_21022025_07_03_05_9328.jpg
/home/pi/Desktop/images/21022025/07/03/image_21022025_07_03_15_10324.jpg
/home/pi/Desktop/images/21022025/07/03/image_21022025_07_03_26_10408.jpg
/home/pi/Desktop/images/21022025/07/05/image_21022025_07_05_16_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338773152","1338773145","1338773139","1338773160","1338773154","1338773148"],"photo_ids_order":["1338773139","1338773145","1338773148","1338773152","1338773154","1338773160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1f76cefbce9589ff31e6981ca38b6da2.jpg","text":"TemporaryFile(/tmp/multipartBody7771677084869763330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122672685,"filename":"image_21022025_07_03_15_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e2a8cdd6ea190de6cdf0eaacc54fa56.jpg","text":"TemporaryFile(/tmp/multipartBody6240785037849802590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122672685,"filename":"image_21022025_07_02_45_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ff271b4c1bab75fe4bc300a317bd541.jpg","text":"TemporaryFile(/tmp/multipartBody5020158897502736468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122672685,"filename":"image_21022025_07_02_15_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a728cd24e6a1d0de8088b267ca62d11.jpg","text":"TemporaryFile(/tmp/multipartBody8833939170487431714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122672685,"filename":"image_21022025_07_05_16_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6fbc7d0241986592cf2e5221631d82b8.jpg","text":"TemporaryFile(/tmp/multipartBody4033994297639150407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122672685,"filename":"image_21022025_07_03_26_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04a4f47ba9b7b29bb1a6cd61d778b6c2.jpg","text":"TemporaryFile(/tmp/multipartBody5634762232217949896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122672685,"filename":"image_21022025_07_03_05_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338773148","file1":"1338773145","file0":"1338773139","file4":"1338773154","file5":"1338773160","file3":"1338773152"},"map_files_photo_id_array":[{"photo_id":"1338773160","filename":"file5"},{"photo_id":"1338773148","filename":"file2"},{"photo_id":"1338773154","filename":"file4"},{"photo_id":"1338773145","filename":"file1"},{"photo_id":"1338773139","filename":"file0"},{"photo_id":"1338773152","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338773152":["hashtag1","hashtag2"]},{"1338773145":["hashtag1","hashtag2"]},{"1338773139":["hashtag1","hashtag2"]},{"1338773160":["hashtag1","hashtag2"]},{"1338773154":["hashtag1","hashtag2"]},{"1338773148":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338773152, 1338773145, 1338773139, 1338773160, 1338773154, 1338773148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.127387046813965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:24:32.401914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/05/image_21022025_07_05_25_9315.jpg', '/home/pi/Desktop/images/21022025/07/05/image_21022025_07_05_45_9419.jpg', '/home/pi/Desktop/images/21022025/07/05/image_21022025_07_05_55_10370.jpg', '/home/pi/Desktop/images/21022025/07/05/image_21022025_07_06_05_10345.jpg', '/home/pi/Desktop/images/21022025/07/06/image_21022025_07_06_15_9386.jpg', '/home/pi/Desktop/images/21022025/07/06/image_21022025_07_06_35_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/05/image_21022025_07_05_25_9315.jpg
/home/pi/Desktop/images/21022025/07/05/image_21022025_07_05_45_9419.jpg
/home/pi/Desktop/images/21022025/07/05/image_21022025_07_05_55_10370.jpg
/home/pi/Desktop/images/21022025/07/05/image_21022025_07_06_05_10345.jpg
/home/pi/Desktop/images/21022025/07/06/image_21022025_07_06_15_9386.jpg
/home/pi/Desktop/images/21022025/07/06/image_21022025_07_06_35_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338773263","1338773253","1338773267","1338773240","1338773243","1338773237"],"photo_ids_order":["1338773237","1338773240","1338773243","1338773253","1338773263","1338773267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6dafc5e0ea28f64206568d9c05b2a51c.jpg","text":"TemporaryFile(/tmp/multipartBody7153780464437122628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122732864,"filename":"image_21022025_07_06_15_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/25f29ecc4a6b04c4ef438c1a6c8eed5b.jpg","text":"TemporaryFile(/tmp/multipartBody729183192328302256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122732864,"filename":"image_21022025_07_06_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eb1dae2ae5061ad499d12b2c9c631a7b.jpg","text":"TemporaryFile(/tmp/multipartBody1202072053907611471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122732864,"filename":"image_21022025_07_06_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6663a3fbd959ea7a3196b1af58fd3215.jpg","text":"TemporaryFile(/tmp/multipartBody3684049420181108397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122732864,"filename":"image_21022025_07_05_45_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cd7f288814589456cd58f1a7684c5075.jpg","text":"TemporaryFile(/tmp/multipartBody8443565826847695112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122732864,"filename":"image_21022025_07_05_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/196fd51d1d554e824a131b8527f17934.jpg","text":"TemporaryFile(/tmp/multipartBody3021207749584883827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122732864,"filename":"image_21022025_07_05_25_9315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338773243","file1":"1338773240","file0":"1338773237","file4":"1338773263","file5":"1338773267","file3":"1338773253"},"map_files_photo_id_array":[{"photo_id":"1338773267","filename":"file5"},{"photo_id":"1338773243","filename":"file2"},{"photo_id":"1338773263","filename":"file4"},{"photo_id":"1338773240","filename":"file1"},{"photo_id":"1338773237","filename":"file0"},{"photo_id":"1338773253","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338773263":["hashtag1","hashtag2"]},{"1338773253":["hashtag1","hashtag2"]},{"1338773267":["hashtag1","hashtag2"]},{"1338773240":["hashtag1","hashtag2"]},{"1338773243":["hashtag1","hashtag2"]},{"1338773237":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338773263, 1338773253, 1338773267, 1338773240, 1338773243, 1338773237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77545189857483 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:25:32.577042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/06/image_21022025_07_06_45_9331.jpg', '/home/pi/Desktop/images/21022025/07/06/image_21022025_07_07_06_10413.jpg', '/home/pi/Desktop/images/21022025/07/07/image_21022025_07_07_15_9365.jpg', '/home/pi/Desktop/images/21022025/07/07/image_21022025_07_07_25_10347.jpg', '/home/pi/Desktop/images/21022025/07/07/image_21022025_07_07_36_10338.jpg', '/home/pi/Desktop/images/21022025/07/07/image_21022025_07_08_05_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/06/image_21022025_07_06_45_9331.jpg
/home/pi/Desktop/images/21022025/07/06/image_21022025_07_07_06_10413.jpg
/home/pi/Desktop/images/21022025/07/07/image_21022025_07_07_15_9365.jpg
/home/pi/Desktop/images/21022025/07/07/image_21022025_07_07_25_10347.jpg
/home/pi/Desktop/images/21022025/07/07/image_21022025_07_07_36_10338.jpg
/home/pi/Desktop/images/21022025/07/07/image_21022025_07_08_05_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338773290","1338773286","1338773297","1338773294","1338773315","1338773303"],"photo_ids_order":["1338773286","1338773290","1338773294","1338773297","1338773303","1338773315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f330aa592685cf006315a8c2a98d9fc.jpg","text":"TemporaryFile(/tmp/multipartBody6989249654372151246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122793053,"filename":"image_21022025_07_07_06_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1ab606716a57916de87c64040bbcc13.jpg","text":"TemporaryFile(/tmp/multipartBody8461472326125078992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122793053,"filename":"image_21022025_07_06_45_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/db5d4f075787a4b347ab447ce70e4c86.jpg","text":"TemporaryFile(/tmp/multipartBody2081096188987600899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122793053,"filename":"image_21022025_07_07_25_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4ebcab181f2fa931cea252abfe351da.jpg","text":"TemporaryFile(/tmp/multipartBody6479896739395400646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122793053,"filename":"image_21022025_07_07_15_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ecef658288203ffabfc1b016903eddbe.jpg","text":"TemporaryFile(/tmp/multipartBody1943069057340455301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122793053,"filename":"image_21022025_07_08_05_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a5cc6f0796535eab4137f00d6a8844a.jpg","text":"TemporaryFile(/tmp/multipartBody8896977741389271649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122793053,"filename":"image_21022025_07_07_36_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338773294","file1":"1338773290","file0":"1338773286","file4":"1338773303","file5":"1338773315","file3":"1338773297"},"map_files_photo_id_array":[{"photo_id":"1338773315","filename":"file5"},{"photo_id":"1338773294","filename":"file2"},{"photo_id":"1338773303","filename":"file4"},{"photo_id":"1338773290","filename":"file1"},{"photo_id":"1338773286","filename":"file0"},{"photo_id":"1338773297","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338773290":["hashtag1","hashtag2"]},{"1338773286":["hashtag1","hashtag2"]},{"1338773297":["hashtag1","hashtag2"]},{"1338773294":["hashtag1","hashtag2"]},{"1338773315":["hashtag1","hashtag2"]},{"1338773303":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338773290, 1338773286, 1338773297, 1338773294, 1338773315, 1338773303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45242714881897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:26:32.769916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/08/image_21022025_07_08_25_10361.jpg', '/home/pi/Desktop/images/21022025/07/08/image_21022025_07_08_35_9385.jpg', '/home/pi/Desktop/images/21022025/07/08/image_21022025_07_08_45_10375.jpg', '/home/pi/Desktop/images/21022025/07/09/image_21022025_07_09_35_9325.jpg', '/home/pi/Desktop/images/21022025/07/09/image_21022025_07_09_45_10337.jpg', '/home/pi/Desktop/images/21022025/07/09/image_21022025_07_09_56_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/08/image_21022025_07_08_25_10361.jpg
/home/pi/Desktop/images/21022025/07/08/image_21022025_07_08_35_9385.jpg
/home/pi/Desktop/images/21022025/07/08/image_21022025_07_08_45_10375.jpg
/home/pi/Desktop/images/21022025/07/09/image_21022025_07_09_35_9325.jpg
/home/pi/Desktop/images/21022025/07/09/image_21022025_07_09_45_10337.jpg
/home/pi/Desktop/images/21022025/07/09/image_21022025_07_09_56_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338773365","1338773347","1338773351","1338773369","1338773357","1338773339"],"photo_ids_order":["1338773339","1338773347","1338773351","1338773357","1338773365","1338773369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2848b31e1854dc6e5510e1fb253600ce.jpg","text":"TemporaryFile(/tmp/multipartBody5991384183041853202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122853257,"filename":"image_21022025_07_09_45_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2bc55b6f92e596b3ce529c307b582516.jpg","text":"TemporaryFile(/tmp/multipartBody3376905034876903237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122853257,"filename":"image_21022025_07_08_35_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c6220101fa4bd140c62edbc259caa616.jpg","text":"TemporaryFile(/tmp/multipartBody8129186904220516391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122853257,"filename":"image_21022025_07_08_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e8289be3696e93bfeee36bd52edba8da.jpg","text":"TemporaryFile(/tmp/multipartBody2373474103376423014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122853257,"filename":"image_21022025_07_09_56_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4dd02f3bfbe7aa9fef53ebeeb57b7bac.jpg","text":"TemporaryFile(/tmp/multipartBody7022195355257349732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122853257,"filename":"image_21022025_07_09_35_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f81592d910092e1331019719c9622775.jpg","text":"TemporaryFile(/tmp/multipartBody4061058837339712060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122853257,"filename":"image_21022025_07_08_25_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338773351","file1":"1338773347","file0":"1338773339","file4":"1338773365","file5":"1338773369","file3":"1338773357"},"map_files_photo_id_array":[{"photo_id":"1338773369","filename":"file5"},{"photo_id":"1338773351","filename":"file2"},{"photo_id":"1338773365","filename":"file4"},{"photo_id":"1338773347","filename":"file1"},{"photo_id":"1338773339","filename":"file0"},{"photo_id":"1338773357","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338773365":["hashtag1","hashtag2"]},{"1338773347":["hashtag1","hashtag2"]},{"1338773351":["hashtag1","hashtag2"]},{"1338773369":["hashtag1","hashtag2"]},{"1338773357":["hashtag1","hashtag2"]},{"1338773339":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338773365, 1338773347, 1338773351, 1338773369, 1338773357, 1338773339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.922521352767944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:27:33.053748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/09/image_21022025_07_10_05_9332.jpg', '/home/pi/Desktop/images/21022025/07/10/image_21022025_07_10_55_10342.jpg', '/home/pi/Desktop/images/21022025/07/10/image_21022025_07_11_05_9345.jpg', '/home/pi/Desktop/images/21022025/07/11/image_21022025_07_11_15_10381.jpg', '/home/pi/Desktop/images/21022025/07/11/image_21022025_07_11_25_10338.jpg', '/home/pi/Desktop/images/21022025/07/11/image_21022025_07_11_55_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/09/image_21022025_07_10_05_9332.jpg
/home/pi/Desktop/images/21022025/07/10/image_21022025_07_10_55_10342.jpg
/home/pi/Desktop/images/21022025/07/10/image_21022025_07_11_05_9345.jpg
/home/pi/Desktop/images/21022025/07/11/image_21022025_07_11_15_10381.jpg
/home/pi/Desktop/images/21022025/07/11/image_21022025_07_11_25_10338.jpg
/home/pi/Desktop/images/21022025/07/11/image_21022025_07_11_55_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338773408","1338773413","1338773410","1338773415","1338773402","1338773405"],"photo_ids_order":["1338773402","1338773405","1338773408","1338773410","1338773413","1338773415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b9299f750f65adc891fab2b818469135.jpg","text":"TemporaryFile(/tmp/multipartBody8299624556568134603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122913531,"filename":"image_21022025_07_11_05_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8204d3143bdb610759118578a60067db.jpg","text":"TemporaryFile(/tmp/multipartBody8864947282134811680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122913531,"filename":"image_21022025_07_11_25_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c31e8f77c4b14839f155442f3cba833c.jpg","text":"TemporaryFile(/tmp/multipartBody8360358198014990286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122913531,"filename":"image_21022025_07_11_15_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/70f35d1358c858220cdddefe61f96fef.jpg","text":"TemporaryFile(/tmp/multipartBody3086220075521650579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122913531,"filename":"image_21022025_07_11_55_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/66d07985b532642015d4c41e56e7faf4.jpg","text":"TemporaryFile(/tmp/multipartBody8231772190128436882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122913531,"filename":"image_21022025_07_10_05_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3febbb48ec593bec1927371e84c4ea7f.jpg","text":"TemporaryFile(/tmp/multipartBody8525779432888908874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122913531,"filename":"image_21022025_07_10_55_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338773408","file1":"1338773405","file0":"1338773402","file4":"1338773413","file5":"1338773415","file3":"1338773410"},"map_files_photo_id_array":[{"photo_id":"1338773415","filename":"file5"},{"photo_id":"1338773408","filename":"file2"},{"photo_id":"1338773413","filename":"file4"},{"photo_id":"1338773405","filename":"file1"},{"photo_id":"1338773402","filename":"file0"},{"photo_id":"1338773410","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338773408":["hashtag1","hashtag2"]},{"1338773413":["hashtag1","hashtag2"]},{"1338773410":["hashtag1","hashtag2"]},{"1338773415":["hashtag1","hashtag2"]},{"1338773402":["hashtag1","hashtag2"]},{"1338773405":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338773408, 1338773413, 1338773410, 1338773415, 1338773402, 1338773405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81157994270325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:28:32.257546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/11/image_21022025_07_12_05_9356.jpg', '/home/pi/Desktop/images/21022025/07/12/image_21022025_07_12_15_10361.jpg', '/home/pi/Desktop/images/21022025/07/12/image_21022025_07_13_05_9343.jpg', '/home/pi/Desktop/images/21022025/07/13/image_21022025_07_14_05_10341.jpg', '/home/pi/Desktop/images/21022025/07/14/image_21022025_07_14_16_10459.jpg', '/home/pi/Desktop/images/21022025/07/14/image_21022025_07_14_25_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/11/image_21022025_07_12_05_9356.jpg
/home/pi/Desktop/images/21022025/07/12/image_21022025_07_12_15_10361.jpg
/home/pi/Desktop/images/21022025/07/12/image_21022025_07_13_05_9343.jpg
/home/pi/Desktop/images/21022025/07/13/image_21022025_07_14_05_10341.jpg
/home/pi/Desktop/images/21022025/07/14/image_21022025_07_14_16_10459.jpg
/home/pi/Desktop/images/21022025/07/14/image_21022025_07_14_25_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338773437","1338773454","1338773442","1338773439","1338773450","1338773447"],"photo_ids_order":["1338773437","1338773439","1338773442","1338773447","1338773450","1338773454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a5ac72fe8ff0397ea8105ac6d319267.jpg","text":"TemporaryFile(/tmp/multipartBody7353363077587272700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122972740,"filename":"image_21022025_07_12_05_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/48960ea70f9a8667e983609b9cc1397e.jpg","text":"TemporaryFile(/tmp/multipartBody4727477204688242871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122972740,"filename":"image_21022025_07_14_25_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/235bca42428e0e931ac9e8c98b3435e7.jpg","text":"TemporaryFile(/tmp/multipartBody2568977828051304706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122972740,"filename":"image_21022025_07_13_05_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/136f88fd2f12c2521166806429b528b4.jpg","text":"TemporaryFile(/tmp/multipartBody1832961289698676549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122972740,"filename":"image_21022025_07_12_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4db8cb20ce59bdc61dbabccb991d4d2f.jpg","text":"TemporaryFile(/tmp/multipartBody3754818848029770174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122972740,"filename":"image_21022025_07_14_16_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fdc7fbdb4b3e5d87464025e0db86e179.jpg","text":"TemporaryFile(/tmp/multipartBody7437465735038058327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740122972740,"filename":"image_21022025_07_14_05_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338773442","file1":"1338773439","file0":"1338773437","file4":"1338773450","file5":"1338773454","file3":"1338773447"},"map_files_photo_id_array":[{"photo_id":"1338773454","filename":"file5"},{"photo_id":"1338773442","filename":"file2"},{"photo_id":"1338773450","filename":"file4"},{"photo_id":"1338773439","filename":"file1"},{"photo_id":"1338773437","filename":"file0"},{"photo_id":"1338773447","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338773437":["hashtag1","hashtag2"]},{"1338773454":["hashtag1","hashtag2"]},{"1338773442":["hashtag1","hashtag2"]},{"1338773439":["hashtag1","hashtag2"]},{"1338773450":["hashtag1","hashtag2"]},{"1338773447":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338773437, 1338773454, 1338773442, 1338773439, 1338773450, 1338773447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21966528892517 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:29:32.373999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/15/image_21022025_07_15_15_9328.jpg', '/home/pi/Desktop/images/21022025/07/15/image_21022025_07_15_25_10322.jpg', '/home/pi/Desktop/images/21022025/07/15/image_21022025_07_15_45_9329.jpg', '/home/pi/Desktop/images/21022025/07/16/image_21022025_07_16_25_10433.jpg', '/home/pi/Desktop/images/21022025/07/16/image_21022025_07_16_45_9341.jpg', '/home/pi/Desktop/images/21022025/07/17/image_21022025_07_17_35_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/15/image_21022025_07_15_15_9328.jpg
/home/pi/Desktop/images/21022025/07/15/image_21022025_07_15_25_10322.jpg
/home/pi/Desktop/images/21022025/07/15/image_21022025_07_15_45_9329.jpg
/home/pi/Desktop/images/21022025/07/16/image_21022025_07_16_25_10433.jpg
/home/pi/Desktop/images/21022025/07/16/image_21022025_07_16_45_9341.jpg
/home/pi/Desktop/images/21022025/07/17/image_21022025_07_17_35_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338773557","1338773566","1338773551","1338773502","1338773498","1338773561"],"photo_ids_order":["1338773498","1338773502","1338773551","1338773557","1338773561","1338773566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c9be07fcdfc35817ac9932a494ff4ed6.jpg","text":"TemporaryFile(/tmp/multipartBody878603463781207283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123032864,"filename":"image_21022025_07_16_25_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/adf33e1531a9e999f93431a2c5b81656.jpg","text":"TemporaryFile(/tmp/multipartBody2919656610033361649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123032864,"filename":"image_21022025_07_17_35_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e8d8feef2171dcf17428ec73566bfd3c.jpg","text":"TemporaryFile(/tmp/multipartBody1662416876516094289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123032864,"filename":"image_21022025_07_15_45_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/53602697f040b49ab0334310555469d1.jpg","text":"TemporaryFile(/tmp/multipartBody5472947524091381945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123032864,"filename":"image_21022025_07_15_25_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/56339a05a616e802ce5df55a8edfb810.jpg","text":"TemporaryFile(/tmp/multipartBody7089990020235146210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123032864,"filename":"image_21022025_07_15_15_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ecf17efaaed661dc25bd82645a2b21c5.jpg","text":"TemporaryFile(/tmp/multipartBody8969319491438119060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123032864,"filename":"image_21022025_07_16_45_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338773551","file1":"1338773502","file0":"1338773498","file4":"1338773561","file5":"1338773566","file3":"1338773557"},"map_files_photo_id_array":[{"photo_id":"1338773566","filename":"file5"},{"photo_id":"1338773551","filename":"file2"},{"photo_id":"1338773561","filename":"file4"},{"photo_id":"1338773502","filename":"file1"},{"photo_id":"1338773498","filename":"file0"},{"photo_id":"1338773557","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338773557":["hashtag1","hashtag2"]},{"1338773566":["hashtag1","hashtag2"]},{"1338773551":["hashtag1","hashtag2"]},{"1338773502":["hashtag1","hashtag2"]},{"1338773498":["hashtag1","hashtag2"]},{"1338773561":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338773557, 1338773566, 1338773551, 1338773502, 1338773498, 1338773561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05416011810303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:30:32.705611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/17/image_21022025_07_18_05_9425.jpg', '/home/pi/Desktop/images/21022025/07/19/image_21022025_07_19_15_10346.jpg', '/home/pi/Desktop/images/21022025/07/19/image_21022025_07_19_35_10348.jpg', '/home/pi/Desktop/images/21022025/07/19/image_21022025_07_19_55_9323.jpg', '/home/pi/Desktop/images/21022025/07/19/image_21022025_07_20_05_10332.jpg', '/home/pi/Desktop/images/21022025/07/21/image_21022025_07_21_35_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/17/image_21022025_07_18_05_9425.jpg
/home/pi/Desktop/images/21022025/07/19/image_21022025_07_19_15_10346.jpg
/home/pi/Desktop/images/21022025/07/19/image_21022025_07_19_35_10348.jpg
/home/pi/Desktop/images/21022025/07/19/image_21022025_07_19_55_9323.jpg
/home/pi/Desktop/images/21022025/07/19/image_21022025_07_20_05_10332.jpg
/home/pi/Desktop/images/21022025/07/21/image_21022025_07_21_35_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338773598","1338773602","1338773595","1338773585","1338773666","1338773590"],"photo_ids_order":["1338773585","1338773590","1338773595","1338773598","1338773602","1338773666"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/30ff9c36558e8d9295b24e9e9edcb841.jpg","text":"TemporaryFile(/tmp/multipartBody6243204485938810190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123093215,"filename":"image_21022025_07_19_55_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/33b145fb92d5ef5fbe5662f30bfff5b3.jpg","text":"TemporaryFile(/tmp/multipartBody6723948998004517410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123093215,"filename":"image_21022025_07_20_05_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59be4d9cc4964a3c4a509d0e28ba46ad.jpg","text":"TemporaryFile(/tmp/multipartBody6481683619720693080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123093215,"filename":"image_21022025_07_19_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/05856ef8dd840d1c3ca45755b5bd6db0.jpg","text":"TemporaryFile(/tmp/multipartBody6155843631814304943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123093215,"filename":"image_21022025_07_18_05_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5362e47909a74b6e72c8690667da845a.jpg","text":"TemporaryFile(/tmp/multipartBody5384524601733005737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123093215,"filename":"image_21022025_07_21_35_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87a809527725250733347c7302074b07.jpg","text":"TemporaryFile(/tmp/multipartBody9201321878873859792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123093215,"filename":"image_21022025_07_19_15_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338773595","file1":"1338773590","file0":"1338773585","file4":"1338773602","file5":"1338773666","file3":"1338773598"},"map_files_photo_id_array":[{"photo_id":"1338773666","filename":"file5"},{"photo_id":"1338773595","filename":"file2"},{"photo_id":"1338773602","filename":"file4"},{"photo_id":"1338773590","filename":"file1"},{"photo_id":"1338773585","filename":"file0"},{"photo_id":"1338773598","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338773598":["hashtag1","hashtag2"]},{"1338773602":["hashtag1","hashtag2"]},{"1338773595":["hashtag1","hashtag2"]},{"1338773585":["hashtag1","hashtag2"]},{"1338773666":["hashtag1","hashtag2"]},{"1338773590":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338773598, 1338773602, 1338773595, 1338773585, 1338773666, 1338773590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51123404502869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:31:32.877467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/21/image_21022025_07_21_55_10342.jpg', '/home/pi/Desktop/images/21022025/07/22/image_21022025_07_22_15_9371.jpg', '/home/pi/Desktop/images/21022025/07/22/image_21022025_07_22_45_9343.jpg', '/home/pi/Desktop/images/21022025/07/22/image_21022025_07_22_55_10337.jpg', '/home/pi/Desktop/images/21022025/07/22/image_21022025_07_23_05_9425.jpg', '/home/pi/Desktop/images/21022025/07/23/image_21022025_07_23_15_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/21/image_21022025_07_21_55_10342.jpg
/home/pi/Desktop/images/21022025/07/22/image_21022025_07_22_15_9371.jpg
/home/pi/Desktop/images/21022025/07/22/image_21022025_07_22_45_9343.jpg
/home/pi/Desktop/images/21022025/07/22/image_21022025_07_22_55_10337.jpg
/home/pi/Desktop/images/21022025/07/22/image_21022025_07_23_05_9425.jpg
/home/pi/Desktop/images/21022025/07/23/image_21022025_07_23_15_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338773862","1338773873","1338773855","1338773870","1338773858","1338773852"],"photo_ids_order":["1338773852","1338773855","1338773858","1338773862","1338773870","1338773873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/39fd0f6dc7f9a6c718c97c97abf6d729.jpg","text":"TemporaryFile(/tmp/multipartBody1954549621315777790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123153394,"filename":"image_21022025_07_22_55_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b81e0a4226e5984c5307eb18cc3759e.jpg","text":"TemporaryFile(/tmp/multipartBody3311074566310914397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123153394,"filename":"image_21022025_07_23_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4dec62c613eba1b5eeb5f8fc7084876f.jpg","text":"TemporaryFile(/tmp/multipartBody3436802453320119529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123153394,"filename":"image_21022025_07_22_15_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/29126cbf20f94271b377c16632771661.jpg","text":"TemporaryFile(/tmp/multipartBody6362503847840588077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123153394,"filename":"image_21022025_07_23_05_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f522f718bc65be44c6833ad3c3df4d53.jpg","text":"TemporaryFile(/tmp/multipartBody193504439085281349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123153394,"filename":"image_21022025_07_22_45_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7bc1c7cc6695bbdbad75eddc68d82afe.jpg","text":"TemporaryFile(/tmp/multipartBody8492857439991611231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123153394,"filename":"image_21022025_07_21_55_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338773858","file1":"1338773855","file0":"1338773852","file4":"1338773870","file5":"1338773873","file3":"1338773862"},"map_files_photo_id_array":[{"photo_id":"1338773873","filename":"file5"},{"photo_id":"1338773858","filename":"file2"},{"photo_id":"1338773870","filename":"file4"},{"photo_id":"1338773855","filename":"file1"},{"photo_id":"1338773852","filename":"file0"},{"photo_id":"1338773862","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338773862":["hashtag1","hashtag2"]},{"1338773873":["hashtag1","hashtag2"]},{"1338773855":["hashtag1","hashtag2"]},{"1338773870":["hashtag1","hashtag2"]},{"1338773858":["hashtag1","hashtag2"]},{"1338773852":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338773862, 1338773873, 1338773855, 1338773870, 1338773858, 1338773852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.624098539352417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:32:33.154231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/23/image_21022025_07_23_35_9415.jpg', '/home/pi/Desktop/images/21022025/07/23/image_21022025_07_23_55_10339.jpg', '/home/pi/Desktop/images/21022025/07/23/image_21022025_07_24_05_9328.jpg', '/home/pi/Desktop/images/21022025/07/24/image_21022025_07_24_15_10409.jpg', '/home/pi/Desktop/images/21022025/07/24/image_21022025_07_24_35_9378.jpg', '/home/pi/Desktop/images/21022025/07/25/image_21022025_07_25_45_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/23/image_21022025_07_23_35_9415.jpg
/home/pi/Desktop/images/21022025/07/23/image_21022025_07_23_55_10339.jpg
/home/pi/Desktop/images/21022025/07/23/image_21022025_07_24_05_9328.jpg
/home/pi/Desktop/images/21022025/07/24/image_21022025_07_24_15_10409.jpg
/home/pi/Desktop/images/21022025/07/24/image_21022025_07_24_35_9378.jpg
/home/pi/Desktop/images/21022025/07/25/image_21022025_07_25_45_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338774054","1338774051","1338774048","1338774065","1338774074","1338774058"],"photo_ids_order":["1338774048","1338774051","1338774054","1338774058","1338774065","1338774074"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6434f55936a51fedd4690161c6aa9efe.jpg","text":"TemporaryFile(/tmp/multipartBody6029630474704484642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123213634,"filename":"image_21022025_07_24_05_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/560692415f133dac30b402e6643401d0.jpg","text":"TemporaryFile(/tmp/multipartBody5343344853709629073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123213634,"filename":"image_21022025_07_23_55_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5e9b6135822af58bfe0e3e11949c0d97.jpg","text":"TemporaryFile(/tmp/multipartBody4750976380292238449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123213634,"filename":"image_21022025_07_23_35_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1c04e7f39956ef1bb58cc96c868b835.jpg","text":"TemporaryFile(/tmp/multipartBody6263492949813452106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123213634,"filename":"image_21022025_07_24_35_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bebcc93b14cefc3b6fe22e0d61ef4d1d.jpg","text":"TemporaryFile(/tmp/multipartBody1837296398286308804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123213634,"filename":"image_21022025_07_25_45_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3ce70b803156daf1039f40efc13b11a8.jpg","text":"TemporaryFile(/tmp/multipartBody7010793235125911204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123213634,"filename":"image_21022025_07_24_15_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338774054","file1":"1338774051","file0":"1338774048","file4":"1338774065","file5":"1338774074","file3":"1338774058"},"map_files_photo_id_array":[{"photo_id":"1338774074","filename":"file5"},{"photo_id":"1338774054","filename":"file2"},{"photo_id":"1338774065","filename":"file4"},{"photo_id":"1338774051","filename":"file1"},{"photo_id":"1338774048","filename":"file0"},{"photo_id":"1338774058","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338774054":["hashtag1","hashtag2"]},{"1338774051":["hashtag1","hashtag2"]},{"1338774048":["hashtag1","hashtag2"]},{"1338774065":["hashtag1","hashtag2"]},{"1338774074":["hashtag1","hashtag2"]},{"1338774058":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338774054, 1338774051, 1338774048, 1338774065, 1338774074, 1338774058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.37457275390625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:33:32.251787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/25/image_21022025_07_26_05_10434.jpg', '/home/pi/Desktop/images/21022025/07/26/image_21022025_07_26_15_9359.jpg', '/home/pi/Desktop/images/21022025/07/26/image_21022025_07_27_06_10384.jpg', '/home/pi/Desktop/images/21022025/07/27/image_21022025_07_27_15_9393.jpg', '/home/pi/Desktop/images/21022025/07/27/image_21022025_07_27_25_10336.jpg', '/home/pi/Desktop/images/21022025/07/27/image_21022025_07_27_45_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/25/image_21022025_07_26_05_10434.jpg
/home/pi/Desktop/images/21022025/07/26/image_21022025_07_26_15_9359.jpg
/home/pi/Desktop/images/21022025/07/26/image_21022025_07_27_06_10384.jpg
/home/pi/Desktop/images/21022025/07/27/image_21022025_07_27_15_9393.jpg
/home/pi/Desktop/images/21022025/07/27/image_21022025_07_27_25_10336.jpg
/home/pi/Desktop/images/21022025/07/27/image_21022025_07_27_45_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338774117","1338774111","1338774105","1338774114","1338774108","1338774116"],"photo_ids_order":["1338774105","1338774108","1338774111","1338774114","1338774116","1338774117"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/287f86ba5c8d21c7eb66414a7e561e03.jpg","text":"TemporaryFile(/tmp/multipartBody1791094053498565873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123272775,"filename":"image_21022025_07_27_45_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5addb2fb2400b00a9505f29e7d53a53a.jpg","text":"TemporaryFile(/tmp/multipartBody4245920881127669069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123272775,"filename":"image_21022025_07_27_06_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23118f5ead6704209f651f86c2bb69bd.jpg","text":"TemporaryFile(/tmp/multipartBody3277081929338877354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123272775,"filename":"image_21022025_07_26_05_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/033f3cbb0fb2ef0d3217a83bfbe15329.jpg","text":"TemporaryFile(/tmp/multipartBody8631408926249394639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123272775,"filename":"image_21022025_07_27_15_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8a7ec339cf533fe67c3b47d0df46a351.jpg","text":"TemporaryFile(/tmp/multipartBody1878290479618399863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123272775,"filename":"image_21022025_07_26_15_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/29cb33d031cabc0041ce4f283ead3e53.jpg","text":"TemporaryFile(/tmp/multipartBody8812870337004850754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123272775,"filename":"image_21022025_07_27_25_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338774111","file1":"1338774108","file0":"1338774105","file4":"1338774116","file5":"1338774117","file3":"1338774114"},"map_files_photo_id_array":[{"photo_id":"1338774117","filename":"file5"},{"photo_id":"1338774111","filename":"file2"},{"photo_id":"1338774116","filename":"file4"},{"photo_id":"1338774108","filename":"file1"},{"photo_id":"1338774105","filename":"file0"},{"photo_id":"1338774114","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338774117":["hashtag1","hashtag2"]},{"1338774111":["hashtag1","hashtag2"]},{"1338774105":["hashtag1","hashtag2"]},{"1338774114":["hashtag1","hashtag2"]},{"1338774108":["hashtag1","hashtag2"]},{"1338774116":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338774117, 1338774111, 1338774105, 1338774114, 1338774108, 1338774116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.352238655090332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:34:32.325232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/27/image_21022025_07_27_55_10326.jpg', '/home/pi/Desktop/images/21022025/07/27/image_21022025_07_28_05_9376.jpg', '/home/pi/Desktop/images/21022025/07/28/image_21022025_07_28_15_10343.jpg', '/home/pi/Desktop/images/21022025/07/28/image_21022025_07_28_25_10323.jpg', '/home/pi/Desktop/images/21022025/07/28/image_21022025_07_28_35_9396.jpg', '/home/pi/Desktop/images/21022025/07/28/image_21022025_07_28_55_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/27/image_21022025_07_27_55_10326.jpg
/home/pi/Desktop/images/21022025/07/27/image_21022025_07_28_05_9376.jpg
/home/pi/Desktop/images/21022025/07/28/image_21022025_07_28_15_10343.jpg
/home/pi/Desktop/images/21022025/07/28/image_21022025_07_28_25_10323.jpg
/home/pi/Desktop/images/21022025/07/28/image_21022025_07_28_35_9396.jpg
/home/pi/Desktop/images/21022025/07/28/image_21022025_07_28_55_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338774147","1338774146","1338774143","1338774157","1338774166","1338774151"],"photo_ids_order":["1338774143","1338774146","1338774147","1338774151","1338774157","1338774166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1448edd25acdf7de0e8e5b1ca6af42f1.jpg","text":"TemporaryFile(/tmp/multipartBody2397919971021934625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123332800,"filename":"image_21022025_07_28_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc3bf274134b6fffd281971ffd7866b6.jpg","text":"TemporaryFile(/tmp/multipartBody7122884914689854590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123332800,"filename":"image_21022025_07_28_05_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b531b4f5cb829c949136fa8b0a3a366.jpg","text":"TemporaryFile(/tmp/multipartBody7074241514331568600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123332800,"filename":"image_21022025_07_27_55_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e60c1cae4725f30560211d4c3624e7ae.jpg","text":"TemporaryFile(/tmp/multipartBody8888754404485642621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123332800,"filename":"image_21022025_07_28_35_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be3dd3d18d649de31aa2af12caaf6b3a.jpg","text":"TemporaryFile(/tmp/multipartBody26324221698108213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123332800,"filename":"image_21022025_07_28_55_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/88d3bbc8aba6ce6b3882b948a0886b22.jpg","text":"TemporaryFile(/tmp/multipartBody6048938454465451307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123332800,"filename":"image_21022025_07_28_25_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338774147","file1":"1338774146","file0":"1338774143","file4":"1338774157","file5":"1338774166","file3":"1338774151"},"map_files_photo_id_array":[{"photo_id":"1338774166","filename":"file5"},{"photo_id":"1338774147","filename":"file2"},{"photo_id":"1338774157","filename":"file4"},{"photo_id":"1338774146","filename":"file1"},{"photo_id":"1338774143","filename":"file0"},{"photo_id":"1338774151","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338774147":["hashtag1","hashtag2"]},{"1338774146":["hashtag1","hashtag2"]},{"1338774143":["hashtag1","hashtag2"]},{"1338774157":["hashtag1","hashtag2"]},{"1338774166":["hashtag1","hashtag2"]},{"1338774151":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338774147, 1338774146, 1338774143, 1338774157, 1338774166, 1338774151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.962101459503174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:35:32.514568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/28/image_21022025_07_29_05_9415.jpg', '/home/pi/Desktop/images/21022025/07/29/image_21022025_07_29_15_10331.jpg', '/home/pi/Desktop/images/21022025/07/29/image_21022025_07_29_45_10393.jpg', '/home/pi/Desktop/images/21022025/07/29/image_21022025_07_29_55_9346.jpg', '/home/pi/Desktop/images/21022025/07/30/image_21022025_07_30_25_9334.jpg', '/home/pi/Desktop/images/21022025/07/30/image_21022025_07_30_35_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/28/image_21022025_07_29_05_9415.jpg
/home/pi/Desktop/images/21022025/07/29/image_21022025_07_29_15_10331.jpg
/home/pi/Desktop/images/21022025/07/29/image_21022025_07_29_45_10393.jpg
/home/pi/Desktop/images/21022025/07/29/image_21022025_07_29_55_9346.jpg
/home/pi/Desktop/images/21022025/07/30/image_21022025_07_30_25_9334.jpg
/home/pi/Desktop/images/21022025/07/30/image_21022025_07_30_35_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338774211","1338774240","1338774231","1338774225","1338774219","1338774223"],"photo_ids_order":["1338774211","1338774219","1338774223","1338774225","1338774231","1338774240"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/425daf66811f3d582d832cc4d1d75c7d.jpg","text":"TemporaryFile(/tmp/multipartBody4414575390290931090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123393028,"filename":"image_21022025_07_29_05_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f73be6b66f16169f95ebccaab9844fb5.jpg","text":"TemporaryFile(/tmp/multipartBody189177009903280305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123393028,"filename":"image_21022025_07_30_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0cf7dde80d42e08ea2c0fbf134f5ee64.jpg","text":"TemporaryFile(/tmp/multipartBody3087874036967730919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123393028,"filename":"image_21022025_07_30_25_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1df60750bfbb7bd73c115da9001e676.jpg","text":"TemporaryFile(/tmp/multipartBody6989109398364511831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123393028,"filename":"image_21022025_07_29_55_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2520309ce91087e62e4c4ec4c57b285d.jpg","text":"TemporaryFile(/tmp/multipartBody2933555357942475573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123393028,"filename":"image_21022025_07_29_15_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/712d21f4e59ae5bbdbb3d78e10706e43.jpg","text":"TemporaryFile(/tmp/multipartBody6680164407806922764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123393028,"filename":"image_21022025_07_29_45_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338774223","file1":"1338774219","file0":"1338774211","file4":"1338774231","file5":"1338774240","file3":"1338774225"},"map_files_photo_id_array":[{"photo_id":"1338774240","filename":"file5"},{"photo_id":"1338774223","filename":"file2"},{"photo_id":"1338774231","filename":"file4"},{"photo_id":"1338774219","filename":"file1"},{"photo_id":"1338774211","filename":"file0"},{"photo_id":"1338774225","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338774211":["hashtag1","hashtag2"]},{"1338774240":["hashtag1","hashtag2"]},{"1338774231":["hashtag1","hashtag2"]},{"1338774225":["hashtag1","hashtag2"]},{"1338774219":["hashtag1","hashtag2"]},{"1338774223":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338774211, 1338774240, 1338774231, 1338774225, 1338774219, 1338774223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.82891392707825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:36:32.699423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/30/image_21022025_07_30_55_9438.jpg', '/home/pi/Desktop/images/21022025/07/31/image_21022025_07_31_16_10418.jpg', '/home/pi/Desktop/images/21022025/07/31/image_21022025_07_31_55_10340.jpg', '/home/pi/Desktop/images/21022025/07/31/image_21022025_07_32_05_9348.jpg', '/home/pi/Desktop/images/21022025/07/32/image_21022025_07_32_25_10340.jpg', '/home/pi/Desktop/images/21022025/07/32/image_21022025_07_32_35_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/30/image_21022025_07_30_55_9438.jpg
/home/pi/Desktop/images/21022025/07/31/image_21022025_07_31_16_10418.jpg
/home/pi/Desktop/images/21022025/07/31/image_21022025_07_31_55_10340.jpg
/home/pi/Desktop/images/21022025/07/31/image_21022025_07_32_05_9348.jpg
/home/pi/Desktop/images/21022025/07/32/image_21022025_07_32_25_10340.jpg
/home/pi/Desktop/images/21022025/07/32/image_21022025_07_32_35_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338774331","1338774313","1338774345","1338774339","1338774327","1338774317"],"photo_ids_order":["1338774313","1338774317","1338774327","1338774331","1338774339","1338774345"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b15e9b4d1fd2e5af0707aa74f06d08e1.jpg","text":"TemporaryFile(/tmp/multipartBody3961383164297280763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123453270,"filename":"image_21022025_07_32_05_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be47a9222b37adf9fd69b76bc7271c9d.jpg","text":"TemporaryFile(/tmp/multipartBody3150349413342676789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123453270,"filename":"image_21022025_07_30_55_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/261b9c63ffd1c21068557da200eec779.jpg","text":"TemporaryFile(/tmp/multipartBody1562304817064660193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123453270,"filename":"image_21022025_07_32_35_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0cb670512f8d147f1cc44af88940e858.jpg","text":"TemporaryFile(/tmp/multipartBody2361918016615734783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123453270,"filename":"image_21022025_07_32_25_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1039808db67b5524d8118b24441391c9.jpg","text":"TemporaryFile(/tmp/multipartBody1959377866330691915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123453270,"filename":"image_21022025_07_31_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04a65fba3e5c4d4903d2e18d993fafe4.jpg","text":"TemporaryFile(/tmp/multipartBody4354323249369181484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123453270,"filename":"image_21022025_07_31_16_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338774327","file1":"1338774317","file0":"1338774313","file4":"1338774339","file5":"1338774345","file3":"1338774331"},"map_files_photo_id_array":[{"photo_id":"1338774345","filename":"file5"},{"photo_id":"1338774327","filename":"file2"},{"photo_id":"1338774339","filename":"file4"},{"photo_id":"1338774317","filename":"file1"},{"photo_id":"1338774313","filename":"file0"},{"photo_id":"1338774331","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338774331":["hashtag1","hashtag2"]},{"1338774313":["hashtag1","hashtag2"]},{"1338774345":["hashtag1","hashtag2"]},{"1338774339":["hashtag1","hashtag2"]},{"1338774327":["hashtag1","hashtag2"]},{"1338774317":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338774331, 1338774313, 1338774345, 1338774339, 1338774327, 1338774317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57232427597046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:37:33.008820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/32/image_21022025_07_32_45_10383.jpg', '/home/pi/Desktop/images/21022025/07/33/image_21022025_07_33_56_10337.jpg', '/home/pi/Desktop/images/21022025/07/33/image_21022025_07_34_05_9323.jpg', '/home/pi/Desktop/images/21022025/07/34/image_21022025_07_34_25_9373.jpg', '/home/pi/Desktop/images/21022025/07/34/image_21022025_07_34_35_10411.jpg', '/home/pi/Desktop/images/21022025/07/34/image_21022025_07_34_45_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/32/image_21022025_07_32_45_10383.jpg
/home/pi/Desktop/images/21022025/07/33/image_21022025_07_33_56_10337.jpg
/home/pi/Desktop/images/21022025/07/33/image_21022025_07_34_05_9323.jpg
/home/pi/Desktop/images/21022025/07/34/image_21022025_07_34_25_9373.jpg
/home/pi/Desktop/images/21022025/07/34/image_21022025_07_34_35_10411.jpg
/home/pi/Desktop/images/21022025/07/34/image_21022025_07_34_45_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338774384","1338774366","1338774375","1338774365","1338774367","1338774382"],"photo_ids_order":["1338774365","1338774366","1338774367","1338774375","1338774382","1338774384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/84d77da8c732d754210b12db847fe691.jpg","text":"TemporaryFile(/tmp/multipartBody3581481438708810100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123513485,"filename":"image_21022025_07_34_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f40db6eb95941b87d400ac4b4ea481c.jpg","text":"TemporaryFile(/tmp/multipartBody5122620766194963752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123513485,"filename":"image_21022025_07_33_56_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e3bd532c5d810acd7ca88cca7baca0ea.jpg","text":"TemporaryFile(/tmp/multipartBody2286105952545982558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123513485,"filename":"image_21022025_07_34_25_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2bb40b110cbbac7d929b4a97710f284c.jpg","text":"TemporaryFile(/tmp/multipartBody7920974907106185430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123513485,"filename":"image_21022025_07_32_45_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/08fbc339444dcb0b883627bcc8a475a6.jpg","text":"TemporaryFile(/tmp/multipartBody3776247782078064684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123513485,"filename":"image_21022025_07_34_05_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/796c29afbf2d28ea05da5480988282e5.jpg","text":"TemporaryFile(/tmp/multipartBody2177291752922959863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123513485,"filename":"image_21022025_07_34_35_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338774367","file1":"1338774366","file0":"1338774365","file4":"1338774382","file5":"1338774384","file3":"1338774375"},"map_files_photo_id_array":[{"photo_id":"1338774384","filename":"file5"},{"photo_id":"1338774367","filename":"file2"},{"photo_id":"1338774382","filename":"file4"},{"photo_id":"1338774366","filename":"file1"},{"photo_id":"1338774365","filename":"file0"},{"photo_id":"1338774375","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338774384":["hashtag1","hashtag2"]},{"1338774366":["hashtag1","hashtag2"]},{"1338774375":["hashtag1","hashtag2"]},{"1338774365":["hashtag1","hashtag2"]},{"1338774367":["hashtag1","hashtag2"]},{"1338774382":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338774384, 1338774366, 1338774375, 1338774365, 1338774367, 1338774382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93691682815552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:38:32.124191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/34/image_21022025_07_34_55_9428.jpg', '/home/pi/Desktop/images/21022025/07/35/image_21022025_07_35_55_10324.jpg', '/home/pi/Desktop/images/21022025/07/35/image_21022025_07_36_05_10329.jpg', '/home/pi/Desktop/images/21022025/07/36/image_21022025_07_36_25_10327.jpg', '/home/pi/Desktop/images/21022025/07/36/image_21022025_07_36_35_10352.jpg', '/home/pi/Desktop/images/21022025/07/36/image_21022025_07_36_45_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/34/image_21022025_07_34_55_9428.jpg
/home/pi/Desktop/images/21022025/07/35/image_21022025_07_35_55_10324.jpg
/home/pi/Desktop/images/21022025/07/35/image_21022025_07_36_05_10329.jpg
/home/pi/Desktop/images/21022025/07/36/image_21022025_07_36_25_10327.jpg
/home/pi/Desktop/images/21022025/07/36/image_21022025_07_36_35_10352.jpg
/home/pi/Desktop/images/21022025/07/36/image_21022025_07_36_45_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338774412","1338774414","1338774402","1338774405","1338774407","1338774410"],"photo_ids_order":["1338774402","1338774405","1338774407","1338774410","1338774412","1338774414"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9b411ccaa134216d1eb804ee33bc9138.jpg","text":"TemporaryFile(/tmp/multipartBody4691026569900150441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123572606,"filename":"image_21022025_07_36_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cabd1bfdadb7d83675a65e1432d460e0.jpg","text":"TemporaryFile(/tmp/multipartBody1391598848801962703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123572606,"filename":"image_21022025_07_36_45_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1306aa2ba1e2ea9b92e684fee69b101b.jpg","text":"TemporaryFile(/tmp/multipartBody6673996446729884927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123572606,"filename":"image_21022025_07_34_55_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3cdbecb101d918ab7e27ffa6379fc0e5.jpg","text":"TemporaryFile(/tmp/multipartBody5995358530164629832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123572606,"filename":"image_21022025_07_35_55_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e9d2941d7da1ff8ca074aa99d241d77.jpg","text":"TemporaryFile(/tmp/multipartBody8400796311481961305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123572606,"filename":"image_21022025_07_36_05_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ccebf545383bb045d646fd20c3022c97.jpg","text":"TemporaryFile(/tmp/multipartBody5930096890623992469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123572606,"filename":"image_21022025_07_36_25_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338774407","file1":"1338774405","file0":"1338774402","file4":"1338774412","file5":"1338774414","file3":"1338774410"},"map_files_photo_id_array":[{"photo_id":"1338774414","filename":"file5"},{"photo_id":"1338774407","filename":"file2"},{"photo_id":"1338774412","filename":"file4"},{"photo_id":"1338774405","filename":"file1"},{"photo_id":"1338774402","filename":"file0"},{"photo_id":"1338774410","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338774412":["hashtag1","hashtag2"]},{"1338774414":["hashtag1","hashtag2"]},{"1338774402":["hashtag1","hashtag2"]},{"1338774405":["hashtag1","hashtag2"]},{"1338774407":["hashtag1","hashtag2"]},{"1338774410":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338774412, 1338774414, 1338774402, 1338774405, 1338774407, 1338774410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.940470933914185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:39:32.483351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/36/image_21022025_07_36_55_10350.jpg', '/home/pi/Desktop/images/21022025/07/36/image_21022025_07_37_06_10430.jpg', '/home/pi/Desktop/images/21022025/07/37/image_21022025_07_37_15_9385.jpg', '/home/pi/Desktop/images/21022025/07/37/image_21022025_07_37_45_9339.jpg', '/home/pi/Desktop/images/21022025/07/37/image_21022025_07_37_55_10391.jpg', '/home/pi/Desktop/images/21022025/07/37/image_21022025_07_38_05_9315.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/36/image_21022025_07_36_55_10350.jpg
/home/pi/Desktop/images/21022025/07/36/image_21022025_07_37_06_10430.jpg
/home/pi/Desktop/images/21022025/07/37/image_21022025_07_37_15_9385.jpg
/home/pi/Desktop/images/21022025/07/37/image_21022025_07_37_45_9339.jpg
/home/pi/Desktop/images/21022025/07/37/image_21022025_07_37_55_10391.jpg
/home/pi/Desktop/images/21022025/07/37/image_21022025_07_38_05_9315.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338774453","1338774438","1338774455","1338774458","1338774449","1338774457"],"photo_ids_order":["1338774438","1338774449","1338774453","1338774455","1338774457","1338774458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/910b27d65891edbd2cf96f30411144eb.jpg","text":"TemporaryFile(/tmp/multipartBody9108103546462057088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123632965,"filename":"image_21022025_07_37_15_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e2ed73503fe0b4f62831e5a8b69e4044.jpg","text":"TemporaryFile(/tmp/multipartBody8130079191858786404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123632965,"filename":"image_21022025_07_36_55_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/73bcb5754761c396e014379b791b1bcb.jpg","text":"TemporaryFile(/tmp/multipartBody4101504957531222453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123632965,"filename":"image_21022025_07_37_45_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7f07f786081069f2e70b9bc33656b3cb.jpg","text":"TemporaryFile(/tmp/multipartBody1894372032041781795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123632965,"filename":"image_21022025_07_38_05_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1a85aa358a3eee0a1457e3b15c828a40.jpg","text":"TemporaryFile(/tmp/multipartBody1218782008765610158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123632965,"filename":"image_21022025_07_37_06_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/631fba0ea41cc10b395e846dedec6078.jpg","text":"TemporaryFile(/tmp/multipartBody6262340931674096698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123632965,"filename":"image_21022025_07_37_55_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338774453","file1":"1338774449","file0":"1338774438","file4":"1338774457","file5":"1338774458","file3":"1338774455"},"map_files_photo_id_array":[{"photo_id":"1338774458","filename":"file5"},{"photo_id":"1338774453","filename":"file2"},{"photo_id":"1338774457","filename":"file4"},{"photo_id":"1338774449","filename":"file1"},{"photo_id":"1338774438","filename":"file0"},{"photo_id":"1338774455","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338774453":["hashtag1","hashtag2"]},{"1338774438":["hashtag1","hashtag2"]},{"1338774455":["hashtag1","hashtag2"]},{"1338774458":["hashtag1","hashtag2"]},{"1338774449":["hashtag1","hashtag2"]},{"1338774457":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338774453, 1338774438, 1338774455, 1338774458, 1338774449, 1338774457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.73384118080139 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:40:32.495393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/38/image_21022025_07_38_25_10340.jpg', '/home/pi/Desktop/images/21022025/07/38/image_21022025_07_38_35_9324.jpg', '/home/pi/Desktop/images/21022025/07/38/image_21022025_07_38_55_10324.jpg', '/home/pi/Desktop/images/21022025/07/38/image_21022025_07_39_05_9332.jpg', '/home/pi/Desktop/images/21022025/07/39/image_21022025_07_39_15_10329.jpg', '/home/pi/Desktop/images/21022025/07/39/image_21022025_07_39_25_10321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/38/image_21022025_07_38_25_10340.jpg
/home/pi/Desktop/images/21022025/07/38/image_21022025_07_38_35_9324.jpg
/home/pi/Desktop/images/21022025/07/38/image_21022025_07_38_55_10324.jpg
/home/pi/Desktop/images/21022025/07/38/image_21022025_07_39_05_9332.jpg
/home/pi/Desktop/images/21022025/07/39/image_21022025_07_39_15_10329.jpg
/home/pi/Desktop/images/21022025/07/39/image_21022025_07_39_25_10321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338774511","1338774495","1338774514","1338774513","1338774501","1338774499"],"photo_ids_order":["1338774495","1338774499","1338774501","1338774511","1338774513","1338774514"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8ff565b3f4b3696b9ee63113756a4133.jpg","text":"TemporaryFile(/tmp/multipartBody2328427389325291516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123692983,"filename":"image_21022025_07_39_05_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b9b863c1f0ed882c2f58576e714788a4.jpg","text":"TemporaryFile(/tmp/multipartBody2165853073607246345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123692983,"filename":"image_21022025_07_38_25_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a89a899d868860399f7dbf047590f5a2.jpg","text":"TemporaryFile(/tmp/multipartBody4850498063796952271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123692983,"filename":"image_21022025_07_39_25_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f4f34e50f6f409e59fbb5d132a37edfa.jpg","text":"TemporaryFile(/tmp/multipartBody1391096385622985118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123692983,"filename":"image_21022025_07_39_15_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/992fc1f462870786e55188fcd9192561.jpg","text":"TemporaryFile(/tmp/multipartBody279002587424879788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123692983,"filename":"image_21022025_07_38_55_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/76a776f150a48f85ba1a9971ebcff54d.jpg","text":"TemporaryFile(/tmp/multipartBody8225630581583724694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123692983,"filename":"image_21022025_07_38_35_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338774501","file1":"1338774499","file0":"1338774495","file4":"1338774513","file5":"1338774514","file3":"1338774511"},"map_files_photo_id_array":[{"photo_id":"1338774514","filename":"file5"},{"photo_id":"1338774501","filename":"file2"},{"photo_id":"1338774513","filename":"file4"},{"photo_id":"1338774499","filename":"file1"},{"photo_id":"1338774495","filename":"file0"},{"photo_id":"1338774511","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338774511":["hashtag1","hashtag2"]},{"1338774495":["hashtag1","hashtag2"]},{"1338774514":["hashtag1","hashtag2"]},{"1338774513":["hashtag1","hashtag2"]},{"1338774501":["hashtag1","hashtag2"]},{"1338774499":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338774511, 1338774495, 1338774514, 1338774513, 1338774501, 1338774499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.270211935043335 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:41:32.792915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/39/image_21022025_07_39_35_9410.jpg', '/home/pi/Desktop/images/21022025/07/39/image_21022025_07_39_45_10339.jpg', '/home/pi/Desktop/images/21022025/07/39/image_21022025_07_39_55_10324.jpg', '/home/pi/Desktop/images/21022025/07/39/image_21022025_07_40_05_9392.jpg', '/home/pi/Desktop/images/21022025/07/40/image_21022025_07_40_15_10332.jpg', '/home/pi/Desktop/images/21022025/07/40/image_21022025_07_40_26_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/39/image_21022025_07_39_35_9410.jpg
/home/pi/Desktop/images/21022025/07/39/image_21022025_07_39_45_10339.jpg
/home/pi/Desktop/images/21022025/07/39/image_21022025_07_39_55_10324.jpg
/home/pi/Desktop/images/21022025/07/39/image_21022025_07_40_05_9392.jpg
/home/pi/Desktop/images/21022025/07/40/image_21022025_07_40_15_10332.jpg
/home/pi/Desktop/images/21022025/07/40/image_21022025_07_40_26_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338774561","1338774564","1338774573","1338774552","1338774557","1338774545"],"photo_ids_order":["1338774545","1338774552","1338774557","1338774561","1338774564","1338774573"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df4e59bf5d11f0d783a63d7968e3e097.jpg","text":"TemporaryFile(/tmp/multipartBody2248947614328227395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123753261,"filename":"image_21022025_07_40_05_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62603bd5d2ee6e9e0d13edee2edbe96d.jpg","text":"TemporaryFile(/tmp/multipartBody4101042322943015022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123753261,"filename":"image_21022025_07_40_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f6b4b0473031761c5a0d7eb1a010e7c7.jpg","text":"TemporaryFile(/tmp/multipartBody882062598115559619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123753261,"filename":"image_21022025_07_40_26_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7b0e6ac0f20d84d93972e2c5730ceb4c.jpg","text":"TemporaryFile(/tmp/multipartBody4335901453516218085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123753261,"filename":"image_21022025_07_39_45_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/38455b870ba07a1c0bcc61b473206731.jpg","text":"TemporaryFile(/tmp/multipartBody9194285958394429651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123753261,"filename":"image_21022025_07_39_55_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6cf618f110538a9711ae250a39923e2f.jpg","text":"TemporaryFile(/tmp/multipartBody167472436373909491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123753261,"filename":"image_21022025_07_39_35_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338774557","file1":"1338774552","file0":"1338774545","file4":"1338774564","file5":"1338774573","file3":"1338774561"},"map_files_photo_id_array":[{"photo_id":"1338774573","filename":"file5"},{"photo_id":"1338774557","filename":"file2"},{"photo_id":"1338774564","filename":"file4"},{"photo_id":"1338774552","filename":"file1"},{"photo_id":"1338774545","filename":"file0"},{"photo_id":"1338774561","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338774561":["hashtag1","hashtag2"]},{"1338774564":["hashtag1","hashtag2"]},{"1338774573":["hashtag1","hashtag2"]},{"1338774552":["hashtag1","hashtag2"]},{"1338774557":["hashtag1","hashtag2"]},{"1338774545":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338774561, 1338774564, 1338774573, 1338774552, 1338774557, 1338774545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.04975390434265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:42:32.894314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/40/image_21022025_07_40_35_9336.jpg', '/home/pi/Desktop/images/21022025/07/40/image_21022025_07_40_45_10248.jpg', '/home/pi/Desktop/images/21022025/07/40/image_21022025_07_41_05_9329.jpg', '/home/pi/Desktop/images/21022025/07/41/image_21022025_07_41_15_10361.jpg', '/home/pi/Desktop/images/21022025/07/41/image_21022025_07_41_26_10372.jpg', '/home/pi/Desktop/images/21022025/07/41/image_21022025_07_41_35_9324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/40/image_21022025_07_40_35_9336.jpg
/home/pi/Desktop/images/21022025/07/40/image_21022025_07_40_45_10248.jpg
/home/pi/Desktop/images/21022025/07/40/image_21022025_07_41_05_9329.jpg
/home/pi/Desktop/images/21022025/07/41/image_21022025_07_41_15_10361.jpg
/home/pi/Desktop/images/21022025/07/41/image_21022025_07_41_26_10372.jpg
/home/pi/Desktop/images/21022025/07/41/image_21022025_07_41_35_9324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338774613","1338774639","1338774609","1338774641","1338774635","1338774644"],"photo_ids_order":["1338774609","1338774613","1338774635","1338774639","1338774641","1338774644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b22e25018da1f3a8b6de06552d82ba5e.jpg","text":"TemporaryFile(/tmp/multipartBody5762002707831881366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123813379,"filename":"image_21022025_07_40_45_10248.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1c39ac5aed7cc14284b388855252b9f4.jpg","text":"TemporaryFile(/tmp/multipartBody3305971050081794086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123813379,"filename":"image_21022025_07_41_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7870b8d217cbf359342c556df0163b2.jpg","text":"TemporaryFile(/tmp/multipartBody6420125716406630760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123813379,"filename":"image_21022025_07_40_35_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/34f8131a2969f33b85af1d5846875b4b.jpg","text":"TemporaryFile(/tmp/multipartBody358148382103237312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123813379,"filename":"image_21022025_07_41_26_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/91b9ba0d9197ed7bc6617fbb0010b2a7.jpg","text":"TemporaryFile(/tmp/multipartBody1264494336009959373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123813379,"filename":"image_21022025_07_41_05_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0ddd2a20c141507889535f5792de91dd.jpg","text":"TemporaryFile(/tmp/multipartBody2035883144442879915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123813379,"filename":"image_21022025_07_41_35_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338774635","file1":"1338774613","file0":"1338774609","file4":"1338774641","file5":"1338774644","file3":"1338774639"},"map_files_photo_id_array":[{"photo_id":"1338774644","filename":"file5"},{"photo_id":"1338774635","filename":"file2"},{"photo_id":"1338774641","filename":"file4"},{"photo_id":"1338774613","filename":"file1"},{"photo_id":"1338774609","filename":"file0"},{"photo_id":"1338774639","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338774613":["hashtag1","hashtag2"]},{"1338774639":["hashtag1","hashtag2"]},{"1338774609":["hashtag1","hashtag2"]},{"1338774641":["hashtag1","hashtag2"]},{"1338774635":["hashtag1","hashtag2"]},{"1338774644":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338774613, 1338774639, 1338774609, 1338774641, 1338774635, 1338774644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.71029782295227 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:43:33.124348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/41/image_21022025_07_42_05_9390.jpg', '/home/pi/Desktop/images/21022025/07/42/image_21022025_07_42_15_10322.jpg', '/home/pi/Desktop/images/21022025/07/42/image_21022025_07_42_25_9349.jpg', '/home/pi/Desktop/images/21022025/07/42/image_21022025_07_42_55_9318.jpg', '/home/pi/Desktop/images/21022025/07/42/image_21022025_07_43_05_10335.jpg', '/home/pi/Desktop/images/21022025/07/43/image_21022025_07_43_15_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/41/image_21022025_07_42_05_9390.jpg
/home/pi/Desktop/images/21022025/07/42/image_21022025_07_42_15_10322.jpg
/home/pi/Desktop/images/21022025/07/42/image_21022025_07_42_25_9349.jpg
/home/pi/Desktop/images/21022025/07/42/image_21022025_07_42_55_9318.jpg
/home/pi/Desktop/images/21022025/07/42/image_21022025_07_43_05_10335.jpg
/home/pi/Desktop/images/21022025/07/43/image_21022025_07_43_15_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338774730","1338774732","1338774726","1338774717","1338774728","1338774733"],"photo_ids_order":["1338774717","1338774726","1338774728","1338774730","1338774732","1338774733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d599da85d2a95f4acb8e2bc7c6ac6f1.jpg","text":"TemporaryFile(/tmp/multipartBody1142253244241969675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123873615,"filename":"image_21022025_07_42_55_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e184380a3103f894302a4e4d4eedb6bf.jpg","text":"TemporaryFile(/tmp/multipartBody160862285892234900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123873615,"filename":"image_21022025_07_43_05_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f49677b3f7eea84a3343958da83d041.jpg","text":"TemporaryFile(/tmp/multipartBody1444227173860395898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123873615,"filename":"image_21022025_07_42_15_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a5c8526eaaa3edffaeaa85d83793db48.jpg","text":"TemporaryFile(/tmp/multipartBody5760464641199250949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123873615,"filename":"image_21022025_07_42_05_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b7951fabbdafd67afe93e308f16d9274.jpg","text":"TemporaryFile(/tmp/multipartBody6711911126187495049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123873615,"filename":"image_21022025_07_42_25_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1b1ef6c17f44c4f8e4f69e5f6d59935.jpg","text":"TemporaryFile(/tmp/multipartBody7748773896433337107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123873615,"filename":"image_21022025_07_43_15_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338774728","file1":"1338774726","file0":"1338774717","file4":"1338774732","file5":"1338774733","file3":"1338774730"},"map_files_photo_id_array":[{"photo_id":"1338774733","filename":"file5"},{"photo_id":"1338774728","filename":"file2"},{"photo_id":"1338774732","filename":"file4"},{"photo_id":"1338774726","filename":"file1"},{"photo_id":"1338774717","filename":"file0"},{"photo_id":"1338774730","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338774730":["hashtag1","hashtag2"]},{"1338774732":["hashtag1","hashtag2"]},{"1338774726":["hashtag1","hashtag2"]},{"1338774717":["hashtag1","hashtag2"]},{"1338774728":["hashtag1","hashtag2"]},{"1338774733":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338774730, 1338774732, 1338774726, 1338774717, 1338774728, 1338774733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35279178619385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:44:32.207372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/43/image_21022025_07_43_25_9421.jpg', '/home/pi/Desktop/images/21022025/07/43/image_21022025_07_43_35_10352.jpg', '/home/pi/Desktop/images/21022025/07/43/image_21022025_07_43_55_9325.jpg', '/home/pi/Desktop/images/21022025/07/43/image_21022025_07_44_05_10344.jpg', '/home/pi/Desktop/images/21022025/07/44/image_21022025_07_44_25_10331.jpg', '/home/pi/Desktop/images/21022025/07/44/image_21022025_07_44_35_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/43/image_21022025_07_43_25_9421.jpg
/home/pi/Desktop/images/21022025/07/43/image_21022025_07_43_35_10352.jpg
/home/pi/Desktop/images/21022025/07/43/image_21022025_07_43_55_9325.jpg
/home/pi/Desktop/images/21022025/07/43/image_21022025_07_44_05_10344.jpg
/home/pi/Desktop/images/21022025/07/44/image_21022025_07_44_25_10331.jpg
/home/pi/Desktop/images/21022025/07/44/image_21022025_07_44_35_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338774789","1338774774","1338774785","1338774782","1338774778","1338774787"],"photo_ids_order":["1338774774","1338774778","1338774782","1338774785","1338774787","1338774789"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c26ca977e302967fd48767357c880b91.jpg","text":"TemporaryFile(/tmp/multipartBody7121762053600754015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123932680,"filename":"image_21022025_07_44_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dd8605c84c1325ffcfd199847b150253.jpg","text":"TemporaryFile(/tmp/multipartBody3609420502287971410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123932680,"filename":"image_21022025_07_43_25_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06fbe812b642732b9352e69167bb7884.jpg","text":"TemporaryFile(/tmp/multipartBody3692197821719658334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123932680,"filename":"image_21022025_07_44_05_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d0f58fb453909a45509200c95b853e9e.jpg","text":"TemporaryFile(/tmp/multipartBody4403315683258728521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123932680,"filename":"image_21022025_07_43_55_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b4e8f6f32398e3a8e474fb111ee4dc42.jpg","text":"TemporaryFile(/tmp/multipartBody5631293400405562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123932680,"filename":"image_21022025_07_43_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd74e985f06fbc5beed350d669df284f.jpg","text":"TemporaryFile(/tmp/multipartBody711951296946924199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123932680,"filename":"image_21022025_07_44_25_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338774782","file1":"1338774778","file0":"1338774774","file4":"1338774787","file5":"1338774789","file3":"1338774785"},"map_files_photo_id_array":[{"photo_id":"1338774789","filename":"file5"},{"photo_id":"1338774782","filename":"file2"},{"photo_id":"1338774787","filename":"file4"},{"photo_id":"1338774778","filename":"file1"},{"photo_id":"1338774774","filename":"file0"},{"photo_id":"1338774785","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338774789":["hashtag1","hashtag2"]},{"1338774774":["hashtag1","hashtag2"]},{"1338774785":["hashtag1","hashtag2"]},{"1338774782":["hashtag1","hashtag2"]},{"1338774778":["hashtag1","hashtag2"]},{"1338774787":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338774789, 1338774774, 1338774785, 1338774782, 1338774778, 1338774787)","result":[],"list_datou_current":[]}'
Result OK !
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1338774782 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/21022025/07/43/image_21022025_07_43_55_9325.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 54.468353271484375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:45:32.552059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/44/image_21022025_07_44_45_9434.jpg', '/home/pi/Desktop/images/21022025/07/44/image_21022025_07_44_55_10330.jpg', '/home/pi/Desktop/images/21022025/07/44/image_21022025_07_45_05_10351.jpg', '/home/pi/Desktop/images/21022025/07/45/image_21022025_07_45_15_9319.jpg', '/home/pi/Desktop/images/21022025/07/45/image_21022025_07_45_36_10395.jpg', '/home/pi/Desktop/images/21022025/07/45/image_21022025_07_45_45_9327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/44/image_21022025_07_44_45_9434.jpg
/home/pi/Desktop/images/21022025/07/44/image_21022025_07_44_55_10330.jpg
/home/pi/Desktop/images/21022025/07/44/image_21022025_07_45_05_10351.jpg
/home/pi/Desktop/images/21022025/07/45/image_21022025_07_45_15_9319.jpg
/home/pi/Desktop/images/21022025/07/45/image_21022025_07_45_36_10395.jpg
/home/pi/Desktop/images/21022025/07/45/image_21022025_07_45_45_9327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338774814","1338774823","1338774817","1338774810","1338774816","1338774815"],"photo_ids_order":["1338774810","1338774814","1338774815","1338774816","1338774817","1338774823"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/861de9646b6f0acf7d68af9fe1a7add6.jpg","text":"TemporaryFile(/tmp/multipartBody5637902576232663688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123993037,"filename":"image_21022025_07_44_55_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7d28750c49302b143fcf2d11e1fe3303.jpg","text":"TemporaryFile(/tmp/multipartBody1022500513624834509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123993037,"filename":"image_21022025_07_45_45_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f50ba84f01b357843b9816157b52c65.jpg","text":"TemporaryFile(/tmp/multipartBody7687969870358618584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123993037,"filename":"image_21022025_07_45_36_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90aa4fec32b11cc2b1e8c7380056402e.jpg","text":"TemporaryFile(/tmp/multipartBody6146017241340528800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123993037,"filename":"image_21022025_07_44_45_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b3c57332631ae1dab65589560f389579.jpg","text":"TemporaryFile(/tmp/multipartBody5692834285862063993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123993037,"filename":"image_21022025_07_45_15_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eb2ebd932f075b294c325dd61d37b155.jpg","text":"TemporaryFile(/tmp/multipartBody2251758493699076250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740123993037,"filename":"image_21022025_07_45_05_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338774815","file1":"1338774814","file0":"1338774810","file4":"1338774817","file5":"1338774823","file3":"1338774816"},"map_files_photo_id_array":[{"photo_id":"1338774823","filename":"file5"},{"photo_id":"1338774815","filename":"file2"},{"photo_id":"1338774817","filename":"file4"},{"photo_id":"1338774814","filename":"file1"},{"photo_id":"1338774810","filename":"file0"},{"photo_id":"1338774816","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338774814":["hashtag1","hashtag2"]},{"1338774823":["hashtag1","hashtag2"]},{"1338774817":["hashtag1","hashtag2"]},{"1338774810":["hashtag1","hashtag2"]},{"1338774816":["hashtag1","hashtag2"]},{"1338774815":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338774814, 1338774823, 1338774817, 1338774810, 1338774816, 1338774815)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1338774815 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/21022025/07/44/image_21022025_07_45_05_10351.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1338774815 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/21022025/07/44/image_21022025_07_45_05_10351.jpg";
uploaded 6 photos
time to upload: 60.15915250778198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 08:46:42.706702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 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 628, 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 dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:46:52.627929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/44/image_21022025_07_44_45_9434.jpg', '/home/pi/Desktop/images/21022025/07/44/image_21022025_07_44_55_10330.jpg', '/home/pi/Desktop/images/21022025/07/44/image_21022025_07_45_05_10351.jpg', '/home/pi/Desktop/images/21022025/07/45/image_21022025_07_45_15_9319.jpg', '/home/pi/Desktop/images/21022025/07/45/image_21022025_07_45_36_10395.jpg', '/home/pi/Desktop/images/21022025/07/45/image_21022025_07_45_45_9327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/44/image_21022025_07_44_45_9434.jpg
/home/pi/Desktop/images/21022025/07/44/image_21022025_07_44_55_10330.jpg
/home/pi/Desktop/images/21022025/07/44/image_21022025_07_45_05_10351.jpg
/home/pi/Desktop/images/21022025/07/45/image_21022025_07_45_15_9319.jpg
/home/pi/Desktop/images/21022025/07/45/image_21022025_07_45_36_10395.jpg
/home/pi/Desktop/images/21022025/07/45/image_21022025_07_45_45_9327.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338775071","1338775187","1338775157","1338775151","1338775133","1338775100"],"photo_ids_order":["1338775071","1338775100","1338775133","1338775151","1338775157","1338775187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac8a2e5754b67e3150536458e9a844d6.jpg","text":"TemporaryFile(/tmp/multipartBody5172144637362795304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124074283,"filename":"image_21022025_07_44_45_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ba107214843e4829d77892d6e72a7cc.jpg","text":"TemporaryFile(/tmp/multipartBody1776700210619325699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124074283,"filename":"image_21022025_07_45_45_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/863f3bdb525d81795f61fa386eb0d11a.jpg","text":"TemporaryFile(/tmp/multipartBody4327680467792172173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124074283,"filename":"image_21022025_07_45_36_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/10b16886fc226ab80cec284a23e68d1b.jpg","text":"TemporaryFile(/tmp/multipartBody2360424468526649686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124074283,"filename":"image_21022025_07_45_15_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e34fc9dce2600b0dfe9a9d34a87ab700.jpg","text":"TemporaryFile(/tmp/multipartBody8396777157816654267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124074283,"filename":"image_21022025_07_45_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7c9910e799b6af21f4efc2fe825861c.jpg","text":"TemporaryFile(/tmp/multipartBody2656972898932339742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124074283,"filename":"image_21022025_07_44_55_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338775133","file1":"1338775100","file0":"1338775071","file4":"1338775157","file5":"1338775187","file3":"1338775151"},"map_files_photo_id_array":[{"photo_id":"1338775187","filename":"file5"},{"photo_id":"1338775133","filename":"file2"},{"photo_id":"1338775157","filename":"file4"},{"photo_id":"1338775100","filename":"file1"},{"photo_id":"1338775071","filename":"file0"},{"photo_id":"1338775151","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338775071":["hashtag1","hashtag2"]},{"1338775187":["hashtag1","hashtag2"]},{"1338775157":["hashtag1","hashtag2"]},{"1338775151":["hashtag1","hashtag2"]},{"1338775133":["hashtag1","hashtag2"]},{"1338775100":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338775071, 1338775187, 1338775157, 1338775151, 1338775133, 1338775100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.453413009643555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:47:33.095787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/47/image_21022025_07_47_15_10327.jpg', '/home/pi/Desktop/images/21022025/07/47/image_21022025_07_47_25_10335.jpg', '/home/pi/Desktop/images/21022025/07/47/image_21022025_07_47_35_9327.jpg', '/home/pi/Desktop/images/21022025/07/47/image_21022025_07_47_45_10337.jpg', '/home/pi/Desktop/images/21022025/07/47/image_21022025_07_48_05_9377.jpg', '/home/pi/Desktop/images/21022025/07/48/image_21022025_07_48_35_9326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/47/image_21022025_07_47_15_10327.jpg
/home/pi/Desktop/images/21022025/07/47/image_21022025_07_47_25_10335.jpg
/home/pi/Desktop/images/21022025/07/47/image_21022025_07_47_35_9327.jpg
/home/pi/Desktop/images/21022025/07/47/image_21022025_07_47_45_10337.jpg
/home/pi/Desktop/images/21022025/07/47/image_21022025_07_48_05_9377.jpg
/home/pi/Desktop/images/21022025/07/48/image_21022025_07_48_35_9326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338775263","1338775280","1338775283","1338775270","1338775282","1338775281"],"photo_ids_order":["1338775263","1338775270","1338775280","1338775281","1338775282","1338775283"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5a3a07b5160d5f6f74711a88e4abcb6f.jpg","text":"TemporaryFile(/tmp/multipartBody5888516445546331918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124113562,"filename":"image_21022025_07_47_15_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/88c0592e4a6d4f8a9bee2ecad9fff292.jpg","text":"TemporaryFile(/tmp/multipartBody7351534088613412484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124113562,"filename":"image_21022025_07_47_35_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e9a3d5cb97d15217014f5befd19379ef.jpg","text":"TemporaryFile(/tmp/multipartBody1228213464156531867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124113562,"filename":"image_21022025_07_48_35_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8d345aedd3c29848f19964a921e65104.jpg","text":"TemporaryFile(/tmp/multipartBody5841927021800936808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124113562,"filename":"image_21022025_07_47_25_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/91120c8f69447a0304fb9f88ceac964c.jpg","text":"TemporaryFile(/tmp/multipartBody9027112786344758538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124113562,"filename":"image_21022025_07_48_05_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7b7b381845abb0d5d8a5a091408e688.jpg","text":"TemporaryFile(/tmp/multipartBody2073640766663897932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124113562,"filename":"image_21022025_07_47_45_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338775280","file1":"1338775270","file0":"1338775263","file4":"1338775282","file5":"1338775283","file3":"1338775281"},"map_files_photo_id_array":[{"photo_id":"1338775283","filename":"file5"},{"photo_id":"1338775280","filename":"file2"},{"photo_id":"1338775282","filename":"file4"},{"photo_id":"1338775270","filename":"file1"},{"photo_id":"1338775263","filename":"file0"},{"photo_id":"1338775281","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338775263":["hashtag1","hashtag2"]},{"1338775280":["hashtag1","hashtag2"]},{"1338775283":["hashtag1","hashtag2"]},{"1338775270":["hashtag1","hashtag2"]},{"1338775282":["hashtag1","hashtag2"]},{"1338775281":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338775263, 1338775280, 1338775283, 1338775270, 1338775282, 1338775281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61919593811035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:48:32.274194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/48/image_21022025_07_48_45_10324.jpg', '/home/pi/Desktop/images/21022025/07/48/image_21022025_07_48_55_10334.jpg', '/home/pi/Desktop/images/21022025/07/48/image_21022025_07_49_05_9315.jpg', '/home/pi/Desktop/images/21022025/07/49/image_21022025_07_49_15_10386.jpg', '/home/pi/Desktop/images/21022025/07/49/image_21022025_07_49_25_10335.jpg', '/home/pi/Desktop/images/21022025/07/49/image_21022025_07_49_35_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/48/image_21022025_07_48_45_10324.jpg
/home/pi/Desktop/images/21022025/07/48/image_21022025_07_48_55_10334.jpg
/home/pi/Desktop/images/21022025/07/48/image_21022025_07_49_05_9315.jpg
/home/pi/Desktop/images/21022025/07/49/image_21022025_07_49_15_10386.jpg
/home/pi/Desktop/images/21022025/07/49/image_21022025_07_49_25_10335.jpg
/home/pi/Desktop/images/21022025/07/49/image_21022025_07_49_35_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338775355","1338775366","1338775351","1338775369","1338775363","1338775357"],"photo_ids_order":["1338775351","1338775355","1338775357","1338775363","1338775366","1338775369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a69d83bb68e43e8f9299982c0921e7e5.jpg","text":"TemporaryFile(/tmp/multipartBody8667543761506427723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124172788,"filename":"image_21022025_07_48_55_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d61ac3f331e602c6e8914b59d86acf67.jpg","text":"TemporaryFile(/tmp/multipartBody1435661736967042306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124172788,"filename":"image_21022025_07_49_25_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8ea44a5fca1f42b9e41e8e60610bcc74.jpg","text":"TemporaryFile(/tmp/multipartBody7395325959673085616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124172788,"filename":"image_21022025_07_48_45_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0294edeb72a44ff4cce8cc84a46a975d.jpg","text":"TemporaryFile(/tmp/multipartBody2320378528953486667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124172788,"filename":"image_21022025_07_49_35_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/576cbf435c6f882300cfbd189e6a7d2f.jpg","text":"TemporaryFile(/tmp/multipartBody2852688767487097831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124172788,"filename":"image_21022025_07_49_15_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bad84567b07f9a46af7a48817bded06e.jpg","text":"TemporaryFile(/tmp/multipartBody19383263681707466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124172788,"filename":"image_21022025_07_49_05_9315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338775357","file1":"1338775355","file0":"1338775351","file4":"1338775366","file5":"1338775369","file3":"1338775363"},"map_files_photo_id_array":[{"photo_id":"1338775369","filename":"file5"},{"photo_id":"1338775357","filename":"file2"},{"photo_id":"1338775366","filename":"file4"},{"photo_id":"1338775355","filename":"file1"},{"photo_id":"1338775351","filename":"file0"},{"photo_id":"1338775363","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338775355":["hashtag1","hashtag2"]},{"1338775366":["hashtag1","hashtag2"]},{"1338775351":["hashtag1","hashtag2"]},{"1338775369":["hashtag1","hashtag2"]},{"1338775363":["hashtag1","hashtag2"]},{"1338775357":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338775355, 1338775366, 1338775351, 1338775369, 1338775363, 1338775357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.228657960891724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:49:32.460537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/49/image_21022025_07_49_56_10410.jpg', '/home/pi/Desktop/images/21022025/07/49/image_21022025_07_50_05_9345.jpg', '/home/pi/Desktop/images/21022025/07/50/image_21022025_07_50_26_10331.jpg', '/home/pi/Desktop/images/21022025/07/50/image_21022025_07_50_45_10336.jpg', '/home/pi/Desktop/images/21022025/07/50/image_21022025_07_50_55_9331.jpg', '/home/pi/Desktop/images/21022025/07/50/image_21022025_07_51_05_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/49/image_21022025_07_49_56_10410.jpg
/home/pi/Desktop/images/21022025/07/49/image_21022025_07_50_05_9345.jpg
/home/pi/Desktop/images/21022025/07/50/image_21022025_07_50_26_10331.jpg
/home/pi/Desktop/images/21022025/07/50/image_21022025_07_50_45_10336.jpg
/home/pi/Desktop/images/21022025/07/50/image_21022025_07_50_55_9331.jpg
/home/pi/Desktop/images/21022025/07/50/image_21022025_07_51_05_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338775398","1338775386","1338775401","1338775391","1338775394","1338775403"],"photo_ids_order":["1338775386","1338775391","1338775394","1338775398","1338775401","1338775403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a5260b0891bac8233ce32635e6e770a8.jpg","text":"TemporaryFile(/tmp/multipartBody7001123718363670434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124232961,"filename":"image_21022025_07_50_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0fcd6dc067bfcadb4352b04aba4137b4.jpg","text":"TemporaryFile(/tmp/multipartBody6086375739298583017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124232961,"filename":"image_21022025_07_49_56_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/741712be6c2c176f80e575e353b0a0f2.jpg","text":"TemporaryFile(/tmp/multipartBody3802531834000116425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124232961,"filename":"image_21022025_07_50_55_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dcdc5f031f3484903af365a7553bdbb6.jpg","text":"TemporaryFile(/tmp/multipartBody6458323858678408689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124232961,"filename":"image_21022025_07_50_05_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ba2cb75313051b6dc018ed3a98eaf1d4.jpg","text":"TemporaryFile(/tmp/multipartBody8966782037853183507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124232961,"filename":"image_21022025_07_50_26_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b553a0ba541eebe1d2bec934a7d393d5.jpg","text":"TemporaryFile(/tmp/multipartBody5577818617489894411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124232961,"filename":"image_21022025_07_51_05_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338775394","file1":"1338775391","file0":"1338775386","file4":"1338775401","file5":"1338775403","file3":"1338775398"},"map_files_photo_id_array":[{"photo_id":"1338775403","filename":"file5"},{"photo_id":"1338775394","filename":"file2"},{"photo_id":"1338775401","filename":"file4"},{"photo_id":"1338775391","filename":"file1"},{"photo_id":"1338775386","filename":"file0"},{"photo_id":"1338775398","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338775398":["hashtag1","hashtag2"]},{"1338775386":["hashtag1","hashtag2"]},{"1338775401":["hashtag1","hashtag2"]},{"1338775391":["hashtag1","hashtag2"]},{"1338775394":["hashtag1","hashtag2"]},{"1338775403":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338775398, 1338775386, 1338775401, 1338775391, 1338775394, 1338775403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33555293083191 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:50:32.714352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/51/image_21022025_07_51_25_9324.jpg', '/home/pi/Desktop/images/21022025/07/51/image_21022025_07_51_35_10327.jpg', '/home/pi/Desktop/images/21022025/07/51/image_21022025_07_51_45_10349.jpg', '/home/pi/Desktop/images/21022025/07/51/image_21022025_07_51_55_9429.jpg', '/home/pi/Desktop/images/21022025/07/51/image_21022025_07_52_05_10353.jpg', '/home/pi/Desktop/images/21022025/07/52/image_21022025_07_52_15_9521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/51/image_21022025_07_51_25_9324.jpg
/home/pi/Desktop/images/21022025/07/51/image_21022025_07_51_35_10327.jpg
/home/pi/Desktop/images/21022025/07/51/image_21022025_07_51_45_10349.jpg
/home/pi/Desktop/images/21022025/07/51/image_21022025_07_51_55_9429.jpg
/home/pi/Desktop/images/21022025/07/51/image_21022025_07_52_05_10353.jpg
/home/pi/Desktop/images/21022025/07/52/image_21022025_07_52_15_9521.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338775446","1338775430","1338775427","1338775444","1338775435","1338775423"],"photo_ids_order":["1338775423","1338775427","1338775430","1338775435","1338775444","1338775446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0b964df85cd0a666c6030730a3dac68e.jpg","text":"TemporaryFile(/tmp/multipartBody266066935739725839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124293206,"filename":"image_21022025_07_52_15_9521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ebcdb8b812230fa860571efe0533d50c.jpg","text":"TemporaryFile(/tmp/multipartBody1256637614433766911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124293206,"filename":"image_21022025_07_51_45_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ab465fda9a37152401041cffa1c77f5.jpg","text":"TemporaryFile(/tmp/multipartBody2430548692320594935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124293206,"filename":"image_21022025_07_51_35_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/637f02c0cd553ce3d2d92fa79274bcc3.jpg","text":"TemporaryFile(/tmp/multipartBody5273065506006060119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124293206,"filename":"image_21022025_07_52_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/521cbc3409a5ce2ab22471d47e8fa475.jpg","text":"TemporaryFile(/tmp/multipartBody6816073145859759905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124293206,"filename":"image_21022025_07_51_55_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8e2c2798a217011b60dd0b9b33e91b93.jpg","text":"TemporaryFile(/tmp/multipartBody7510416358437492448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124293206,"filename":"image_21022025_07_51_25_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338775430","file1":"1338775427","file0":"1338775423","file4":"1338775444","file5":"1338775446","file3":"1338775435"},"map_files_photo_id_array":[{"photo_id":"1338775446","filename":"file5"},{"photo_id":"1338775430","filename":"file2"},{"photo_id":"1338775444","filename":"file4"},{"photo_id":"1338775427","filename":"file1"},{"photo_id":"1338775423","filename":"file0"},{"photo_id":"1338775435","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338775446":["hashtag1","hashtag2"]},{"1338775430":["hashtag1","hashtag2"]},{"1338775427":["hashtag1","hashtag2"]},{"1338775444":["hashtag1","hashtag2"]},{"1338775435":["hashtag1","hashtag2"]},{"1338775423":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338775446, 1338775430, 1338775427, 1338775444, 1338775435, 1338775423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.08143949508667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:51:32.898260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/52/image_21022025_07_52_25_10333.jpg', '/home/pi/Desktop/images/21022025/07/52/image_21022025_07_53_06_10471.jpg', '/home/pi/Desktop/images/21022025/07/53/image_21022025_07_53_15_9363.jpg', '/home/pi/Desktop/images/21022025/07/53/image_21022025_07_53_25_10325.jpg', '/home/pi/Desktop/images/21022025/07/53/image_21022025_07_53_35_9398.jpg', '/home/pi/Desktop/images/21022025/07/54/image_21022025_07_54_35_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/52/image_21022025_07_52_25_10333.jpg
/home/pi/Desktop/images/21022025/07/52/image_21022025_07_53_06_10471.jpg
/home/pi/Desktop/images/21022025/07/53/image_21022025_07_53_15_9363.jpg
/home/pi/Desktop/images/21022025/07/53/image_21022025_07_53_25_10325.jpg
/home/pi/Desktop/images/21022025/07/53/image_21022025_07_53_35_9398.jpg
/home/pi/Desktop/images/21022025/07/54/image_21022025_07_54_35_9391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338775461","1338775466","1338775469","1338775463","1338775471","1338775473"],"photo_ids_order":["1338775461","1338775463","1338775466","1338775469","1338775471","1338775473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a996f23c794f5d1cb1c08d01dc475b5f.jpg","text":"TemporaryFile(/tmp/multipartBody6255673543142078591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124353405,"filename":"image_21022025_07_52_25_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b0af138f85db41dd36c3e9ba1a1460a9.jpg","text":"TemporaryFile(/tmp/multipartBody4737451055452210818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124353405,"filename":"image_21022025_07_53_15_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d89d01d8d3eae640d68725b7416beb1f.jpg","text":"TemporaryFile(/tmp/multipartBody3316999100422195210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124353405,"filename":"image_21022025_07_53_25_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/91764aea2736fd3421dd6c715af5b5c4.jpg","text":"TemporaryFile(/tmp/multipartBody4430756049596388103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124353405,"filename":"image_21022025_07_53_06_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7f4a486ae8b59037a15b92d23d714a79.jpg","text":"TemporaryFile(/tmp/multipartBody2334496364182423834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124353405,"filename":"image_21022025_07_53_35_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8f4262f5bd3734132042b617dc7084e3.jpg","text":"TemporaryFile(/tmp/multipartBody2968372498104249322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124353405,"filename":"image_21022025_07_54_35_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338775466","file1":"1338775463","file0":"1338775461","file4":"1338775471","file5":"1338775473","file3":"1338775469"},"map_files_photo_id_array":[{"photo_id":"1338775473","filename":"file5"},{"photo_id":"1338775466","filename":"file2"},{"photo_id":"1338775471","filename":"file4"},{"photo_id":"1338775463","filename":"file1"},{"photo_id":"1338775461","filename":"file0"},{"photo_id":"1338775469","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338775461":["hashtag1","hashtag2"]},{"1338775466":["hashtag1","hashtag2"]},{"1338775469":["hashtag1","hashtag2"]},{"1338775463":["hashtag1","hashtag2"]},{"1338775471":["hashtag1","hashtag2"]},{"1338775473":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338775461, 1338775466, 1338775469, 1338775463, 1338775471, 1338775473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00091195106506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:52:33.201467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/54/image_21022025_07_55_05_9339.jpg', '/home/pi/Desktop/images/21022025/07/55/image_21022025_07_55_45_10333.jpg', '/home/pi/Desktop/images/21022025/07/56/image_21022025_07_56_25_9343.jpg', '/home/pi/Desktop/images/21022025/07/56/image_21022025_07_56_35_10345.jpg', '/home/pi/Desktop/images/21022025/07/56/image_21022025_07_57_05_10344.jpg', '/home/pi/Desktop/images/21022025/07/57/image_21022025_07_57_15_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/54/image_21022025_07_55_05_9339.jpg
/home/pi/Desktop/images/21022025/07/55/image_21022025_07_55_45_10333.jpg
/home/pi/Desktop/images/21022025/07/56/image_21022025_07_56_25_9343.jpg
/home/pi/Desktop/images/21022025/07/56/image_21022025_07_56_35_10345.jpg
/home/pi/Desktop/images/21022025/07/56/image_21022025_07_57_05_10344.jpg
/home/pi/Desktop/images/21022025/07/57/image_21022025_07_57_15_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338775533","1338775547","1338775541","1338775544","1338775538","1338775546"],"photo_ids_order":["1338775533","1338775538","1338775541","1338775544","1338775546","1338775547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83058ba1bae68f399987a4a0edb5b18c.jpg","text":"TemporaryFile(/tmp/multipartBody3815195784529806398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124413707,"filename":"image_21022025_07_55_05_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/373ddb09757ff63eadd537ffd3b5e62b.jpg","text":"TemporaryFile(/tmp/multipartBody1787144830501098605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124413707,"filename":"image_21022025_07_57_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/111e4da157603f77f26b920e65d0d679.jpg","text":"TemporaryFile(/tmp/multipartBody9013311163592900424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124413707,"filename":"image_21022025_07_56_25_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5be9a17a90878dbb8e44ac2d99c2863e.jpg","text":"TemporaryFile(/tmp/multipartBody605487663213684505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124413707,"filename":"image_21022025_07_56_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/990f037fbedc1166cc6a0c623251d331.jpg","text":"TemporaryFile(/tmp/multipartBody8767321822098791553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124413707,"filename":"image_21022025_07_55_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d233968a0ab939117ce04c0996b1a03f.jpg","text":"TemporaryFile(/tmp/multipartBody1421502401054436157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124413707,"filename":"image_21022025_07_57_05_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338775541","file1":"1338775538","file0":"1338775533","file4":"1338775546","file5":"1338775547","file3":"1338775544"},"map_files_photo_id_array":[{"photo_id":"1338775547","filename":"file5"},{"photo_id":"1338775541","filename":"file2"},{"photo_id":"1338775546","filename":"file4"},{"photo_id":"1338775538","filename":"file1"},{"photo_id":"1338775533","filename":"file0"},{"photo_id":"1338775544","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338775533":["hashtag1","hashtag2"]},{"1338775547":["hashtag1","hashtag2"]},{"1338775541":["hashtag1","hashtag2"]},{"1338775544":["hashtag1","hashtag2"]},{"1338775538":["hashtag1","hashtag2"]},{"1338775546":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338775533, 1338775547, 1338775541, 1338775544, 1338775538, 1338775546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74203109741211 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:53:32.427899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/57/image_21022025_07_57_35_10338.jpg', '/home/pi/Desktop/images/21022025/07/57/image_21022025_07_57_46_10403.jpg', '/home/pi/Desktop/images/21022025/07/57/image_21022025_07_57_55_9326.jpg', '/home/pi/Desktop/images/21022025/07/58/image_21022025_07_58_15_9444.jpg', '/home/pi/Desktop/images/21022025/07/58/image_21022025_07_58_35_10334.jpg', '/home/pi/Desktop/images/21022025/07/58/image_21022025_07_58_45_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/57/image_21022025_07_57_35_10338.jpg
/home/pi/Desktop/images/21022025/07/57/image_21022025_07_57_46_10403.jpg
/home/pi/Desktop/images/21022025/07/57/image_21022025_07_57_55_9326.jpg
/home/pi/Desktop/images/21022025/07/58/image_21022025_07_58_15_9444.jpg
/home/pi/Desktop/images/21022025/07/58/image_21022025_07_58_35_10334.jpg
/home/pi/Desktop/images/21022025/07/58/image_21022025_07_58_45_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338775688","1338775681","1338775675","1338775669","1338775678","1338775672"],"photo_ids_order":["1338775669","1338775672","1338775675","1338775678","1338775681","1338775688"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/91a2957778db5531f1e4c15f6db571ea.jpg","text":"TemporaryFile(/tmp/multipartBody8331310728407580591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124472938,"filename":"image_21022025_07_58_45_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f5fc4c6043031f4d3721692c55c98a1.jpg","text":"TemporaryFile(/tmp/multipartBody1741591626889134145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124472938,"filename":"image_21022025_07_58_35_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dec8c07ffb5dd40d300980795165041e.jpg","text":"TemporaryFile(/tmp/multipartBody7422600528045752052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124472938,"filename":"image_21022025_07_57_55_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92acaf45417a43dd94e393d72c70031e.jpg","text":"TemporaryFile(/tmp/multipartBody4056960443628520839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124472938,"filename":"image_21022025_07_57_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c59187223db3cf039a544bfa3885251.jpg","text":"TemporaryFile(/tmp/multipartBody7802813028273901317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124472938,"filename":"image_21022025_07_58_15_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c0dcc9b1d6292514922eb77d4014efd.jpg","text":"TemporaryFile(/tmp/multipartBody9184562101814168920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124472938,"filename":"image_21022025_07_57_46_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338775675","file1":"1338775672","file0":"1338775669","file4":"1338775681","file5":"1338775688","file3":"1338775678"},"map_files_photo_id_array":[{"photo_id":"1338775688","filename":"file5"},{"photo_id":"1338775675","filename":"file2"},{"photo_id":"1338775681","filename":"file4"},{"photo_id":"1338775672","filename":"file1"},{"photo_id":"1338775669","filename":"file0"},{"photo_id":"1338775678","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338775688":["hashtag1","hashtag2"]},{"1338775681":["hashtag1","hashtag2"]},{"1338775675":["hashtag1","hashtag2"]},{"1338775669":["hashtag1","hashtag2"]},{"1338775678":["hashtag1","hashtag2"]},{"1338775672":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338775688, 1338775681, 1338775675, 1338775669, 1338775678, 1338775672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.335867166519165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:54:32.511922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/07/58/image_21022025_07_58_55_10340.jpg', '/home/pi/Desktop/images/21022025/07/59/image_21022025_07_59_15_9346.jpg', '/home/pi/Desktop/images/21022025/07/59/image_21022025_07_59_35_9464.jpg', '/home/pi/Desktop/images/21022025/07/59/image_21022025_07_59_55_10337.jpg', '/home/pi/Desktop/images/21022025/08/00/image_21022025_08_00_16_10071.jpg', '/home/pi/Desktop/images/21022025/08/00/image_21022025_08_00_46_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/07/58/image_21022025_07_58_55_10340.jpg
/home/pi/Desktop/images/21022025/07/59/image_21022025_07_59_15_9346.jpg
/home/pi/Desktop/images/21022025/07/59/image_21022025_07_59_35_9464.jpg
/home/pi/Desktop/images/21022025/07/59/image_21022025_07_59_55_10337.jpg
/home/pi/Desktop/images/21022025/08/00/image_21022025_08_00_16_10071.jpg
/home/pi/Desktop/images/21022025/08/00/image_21022025_08_00_46_9402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338775854","1338775855","1338775852","1338775732","1338775834","1338775779"],"photo_ids_order":["1338775732","1338775779","1338775834","1338775852","1338775854","1338775855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b93de46fb1b4bd7a2453feb2f187d07b.jpg","text":"TemporaryFile(/tmp/multipartBody8990304941063633438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124532987,"filename":"image_21022025_08_00_16_10071.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87b9d44eb571a1151e65a3e0e9eba7a8.jpg","text":"TemporaryFile(/tmp/multipartBody2744617067920666598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124532987,"filename":"image_21022025_08_00_46_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2daeeabff5642e32ca1a1252f998ae9.jpg","text":"TemporaryFile(/tmp/multipartBody3627065443609221368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124532987,"filename":"image_21022025_07_59_55_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c5723207bd1601bcabf68982993f57bf.jpg","text":"TemporaryFile(/tmp/multipartBody2766105177104419916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124532987,"filename":"image_21022025_07_58_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/45fd6c690ed91d00b4d5b8ef25b782be.jpg","text":"TemporaryFile(/tmp/multipartBody533668839393855684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124532987,"filename":"image_21022025_07_59_35_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f04f1cc0f1c9285be435500d7dcd90cb.jpg","text":"TemporaryFile(/tmp/multipartBody5721334241266747484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124532987,"filename":"image_21022025_07_59_15_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338775834","file1":"1338775779","file0":"1338775732","file4":"1338775854","file5":"1338775855","file3":"1338775852"},"map_files_photo_id_array":[{"photo_id":"1338775855","filename":"file5"},{"photo_id":"1338775834","filename":"file2"},{"photo_id":"1338775854","filename":"file4"},{"photo_id":"1338775779","filename":"file1"},{"photo_id":"1338775732","filename":"file0"},{"photo_id":"1338775852","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338775854":["hashtag1","hashtag2"]},{"1338775855":["hashtag1","hashtag2"]},{"1338775852":["hashtag1","hashtag2"]},{"1338775732":["hashtag1","hashtag2"]},{"1338775834":["hashtag1","hashtag2"]},{"1338775779":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338775854, 1338775855, 1338775852, 1338775732, 1338775834, 1338775779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29121494293213 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:55:32.748567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/00/image_21022025_08_00_56_10348.jpg', '/home/pi/Desktop/images/21022025/08/00/image_21022025_08_01_06_10326.jpg', '/home/pi/Desktop/images/21022025/08/01/image_21022025_08_01_16_9415.jpg', '/home/pi/Desktop/images/21022025/08/01/image_21022025_08_01_36_10323.jpg', '/home/pi/Desktop/images/21022025/08/01/image_21022025_08_01_56_10379.jpg', '/home/pi/Desktop/images/21022025/08/02/image_21022025_08_02_16_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/00/image_21022025_08_00_56_10348.jpg
/home/pi/Desktop/images/21022025/08/00/image_21022025_08_01_06_10326.jpg
/home/pi/Desktop/images/21022025/08/01/image_21022025_08_01_16_9415.jpg
/home/pi/Desktop/images/21022025/08/01/image_21022025_08_01_36_10323.jpg
/home/pi/Desktop/images/21022025/08/01/image_21022025_08_01_56_10379.jpg
/home/pi/Desktop/images/21022025/08/02/image_21022025_08_02_16_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338775889","1338775898","1338775913","1338775879","1338775876","1338775912"],"photo_ids_order":["1338775876","1338775879","1338775889","1338775898","1338775912","1338775913"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f98dc68640a2a6e366cb5f0560467709.jpg","text":"TemporaryFile(/tmp/multipartBody3551624691413422008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124593235,"filename":"image_21022025_08_01_16_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c79dec3ca58982c163230ebaef6dcce0.jpg","text":"TemporaryFile(/tmp/multipartBody4292500189960502688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124593235,"filename":"image_21022025_08_01_36_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ab0c941ec4fb701958ed3bd6ec32fb0b.jpg","text":"TemporaryFile(/tmp/multipartBody7369468766796588184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124593235,"filename":"image_21022025_08_02_16_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/12eb6a1a402c29e40d492b798934eede.jpg","text":"TemporaryFile(/tmp/multipartBody2438591766038853868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124593235,"filename":"image_21022025_08_01_06_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/15ff9cb167dc63093596fd6033cb4018.jpg","text":"TemporaryFile(/tmp/multipartBody1318362384666127403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124593235,"filename":"image_21022025_08_00_56_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bbda6fc6074cf2542b117a809b812d54.jpg","text":"TemporaryFile(/tmp/multipartBody4100806802199194339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124593235,"filename":"image_21022025_08_01_56_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338775889","file1":"1338775879","file0":"1338775876","file4":"1338775912","file5":"1338775913","file3":"1338775898"},"map_files_photo_id_array":[{"photo_id":"1338775913","filename":"file5"},{"photo_id":"1338775889","filename":"file2"},{"photo_id":"1338775912","filename":"file4"},{"photo_id":"1338775879","filename":"file1"},{"photo_id":"1338775876","filename":"file0"},{"photo_id":"1338775898","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338775889":["hashtag1","hashtag2"]},{"1338775898":["hashtag1","hashtag2"]},{"1338775913":["hashtag1","hashtag2"]},{"1338775879":["hashtag1","hashtag2"]},{"1338775876":["hashtag1","hashtag2"]},{"1338775912":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338775889, 1338775898, 1338775913, 1338775879, 1338775876, 1338775912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.957458972930908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:56:32.981236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/02/image_21022025_08_02_26_10332.jpg', '/home/pi/Desktop/images/21022025/08/02/image_21022025_08_02_36_9360.jpg', '/home/pi/Desktop/images/21022025/08/02/image_21022025_08_02_46_10324.jpg', '/home/pi/Desktop/images/21022025/08/02/image_21022025_08_02_56_10359.jpg', '/home/pi/Desktop/images/21022025/08/02/image_21022025_08_03_06_9343.jpg', '/home/pi/Desktop/images/21022025/08/03/image_21022025_08_03_16_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/02/image_21022025_08_02_26_10332.jpg
/home/pi/Desktop/images/21022025/08/02/image_21022025_08_02_36_9360.jpg
/home/pi/Desktop/images/21022025/08/02/image_21022025_08_02_46_10324.jpg
/home/pi/Desktop/images/21022025/08/02/image_21022025_08_02_56_10359.jpg
/home/pi/Desktop/images/21022025/08/02/image_21022025_08_03_06_9343.jpg
/home/pi/Desktop/images/21022025/08/03/image_21022025_08_03_16_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338776090","1338776093","1338776123","1338776111","1338776120","1338776113"],"photo_ids_order":["1338776090","1338776093","1338776111","1338776113","1338776120","1338776123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/12d0112534b533c83a1adb2083997881.jpg","text":"TemporaryFile(/tmp/multipartBody3619745580429998681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124653483,"filename":"image_21022025_08_02_26_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c611bb3a86aa7c9f0907eb960b576bd8.jpg","text":"TemporaryFile(/tmp/multipartBody2971886134859354343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124653483,"filename":"image_21022025_08_02_36_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d0cc71499478715c2d2edc683638f695.jpg","text":"TemporaryFile(/tmp/multipartBody9140033188583600702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124653483,"filename":"image_21022025_08_03_16_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cdc1b681bdcf9bc32d479ae7cfab8938.jpg","text":"TemporaryFile(/tmp/multipartBody31692601081843469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124653483,"filename":"image_21022025_08_02_46_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3e1846fda472b1e122fdc3b5167e40a8.jpg","text":"TemporaryFile(/tmp/multipartBody4084580842685065706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124653483,"filename":"image_21022025_08_03_06_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1108a6395d192b713c77413196da1722.jpg","text":"TemporaryFile(/tmp/multipartBody8628621738737356040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124653483,"filename":"image_21022025_08_02_56_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338776111","file1":"1338776093","file0":"1338776090","file4":"1338776120","file5":"1338776123","file3":"1338776113"},"map_files_photo_id_array":[{"photo_id":"1338776123","filename":"file5"},{"photo_id":"1338776111","filename":"file2"},{"photo_id":"1338776120","filename":"file4"},{"photo_id":"1338776093","filename":"file1"},{"photo_id":"1338776090","filename":"file0"},{"photo_id":"1338776113","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338776090":["hashtag1","hashtag2"]},{"1338776093":["hashtag1","hashtag2"]},{"1338776123":["hashtag1","hashtag2"]},{"1338776111":["hashtag1","hashtag2"]},{"1338776120":["hashtag1","hashtag2"]},{"1338776113":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338776090, 1338776093, 1338776123, 1338776111, 1338776120, 1338776113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32753586769104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 08:57:32.184643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/03/image_21022025_08_03_26_10333.jpg', '/home/pi/Desktop/images/21022025/08/03/image_21022025_08_03_46_10345.jpg', '/home/pi/Desktop/images/21022025/08/03/image_21022025_08_03_56_9395.jpg', '/home/pi/Desktop/images/21022025/08/04/image_21022025_08_04_46_10366.jpg', '/home/pi/Desktop/images/21022025/08/04/image_21022025_08_04_56_9401.jpg', '/home/pi/Desktop/images/21022025/08/05/image_21022025_08_05_16_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/03/image_21022025_08_03_26_10333.jpg
/home/pi/Desktop/images/21022025/08/03/image_21022025_08_03_46_10345.jpg
/home/pi/Desktop/images/21022025/08/03/image_21022025_08_03_56_9395.jpg
/home/pi/Desktop/images/21022025/08/04/image_21022025_08_04_46_10366.jpg
/home/pi/Desktop/images/21022025/08/04/image_21022025_08_04_56_9401.jpg
/home/pi/Desktop/images/21022025/08/05/image_21022025_08_05_16_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 08:59:04.998000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/03/image_21022025_08_03_26_10333.jpg', '/home/pi/Desktop/images/21022025/08/03/image_21022025_08_03_46_10345.jpg', '/home/pi/Desktop/images/21022025/08/03/image_21022025_08_03_56_9395.jpg', '/home/pi/Desktop/images/21022025/08/04/image_21022025_08_04_46_10366.jpg', '/home/pi/Desktop/images/21022025/08/04/image_21022025_08_04_56_9401.jpg', '/home/pi/Desktop/images/21022025/08/05/image_21022025_08_05_16_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/03/image_21022025_08_03_26_10333.jpg
/home/pi/Desktop/images/21022025/08/03/image_21022025_08_03_46_10345.jpg
/home/pi/Desktop/images/21022025/08/03/image_21022025_08_03_56_9395.jpg
/home/pi/Desktop/images/21022025/08/04/image_21022025_08_04_46_10366.jpg
/home/pi/Desktop/images/21022025/08/04/image_21022025_08_04_56_9401.jpg
/home/pi/Desktop/images/21022025/08/05/image_21022025_08_05_16_10329.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338776597","1338776621","1338776611","1338776605","1338776533","1338776583"],"photo_ids_order":["1338776533","1338776583","1338776597","1338776605","1338776611","1338776621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6b1913a10eef03ab8499203daa6efb69.jpg","text":"TemporaryFile(/tmp/multipartBody2895160059340116931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124805726,"filename":"image_21022025_08_03_56_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/331bb128d33a4f17ca7f30bba623d743.jpg","text":"TemporaryFile(/tmp/multipartBody7921552069347077104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124805726,"filename":"image_21022025_08_05_16_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f959b0e2d624d0d93daf34a96f96cedb.jpg","text":"TemporaryFile(/tmp/multipartBody5848064938754767035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124805726,"filename":"image_21022025_08_04_56_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5248f8d78b90c9eb6c59184e8586aff7.jpg","text":"TemporaryFile(/tmp/multipartBody5553963286063603384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124805726,"filename":"image_21022025_08_04_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/844a867247185d3ad0678124b76bdc0c.jpg","text":"TemporaryFile(/tmp/multipartBody4342726988692084014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124805726,"filename":"image_21022025_08_03_26_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a84a917e1ff11b07cdea574bc0d79343.jpg","text":"TemporaryFile(/tmp/multipartBody4389662884290788010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124805726,"filename":"image_21022025_08_03_46_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338776597","file1":"1338776583","file0":"1338776533","file4":"1338776611","file5":"1338776621","file3":"1338776605"},"map_files_photo_id_array":[{"photo_id":"1338776621","filename":"file5"},{"photo_id":"1338776597","filename":"file2"},{"photo_id":"1338776611","filename":"file4"},{"photo_id":"1338776583","filename":"file1"},{"photo_id":"1338776533","filename":"file0"},{"photo_id":"1338776605","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338776597":["hashtag1","hashtag2"]},{"1338776621":["hashtag1","hashtag2"]},{"1338776611":["hashtag1","hashtag2"]},{"1338776605":["hashtag1","hashtag2"]},{"1338776533":["hashtag1","hashtag2"]},{"1338776583":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338776597, 1338776621, 1338776611, 1338776605, 1338776533, 1338776583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.99308943748474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 08:59:43.202179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/05/image_21022025_08_05_26_9417.jpg', '/home/pi/Desktop/images/21022025/08/05/image_21022025_08_05_36_10353.jpg', '/home/pi/Desktop/images/21022025/08/05/image_21022025_08_06_06_10326.jpg', '/home/pi/Desktop/images/21022025/08/06/image_21022025_08_06_16_9404.jpg', '/home/pi/Desktop/images/21022025/08/06/image_21022025_08_06_36_10401.jpg', '/home/pi/Desktop/images/21022025/08/06/image_21022025_08_06_46_9318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/05/image_21022025_08_05_26_9417.jpg
/home/pi/Desktop/images/21022025/08/05/image_21022025_08_05_36_10353.jpg
/home/pi/Desktop/images/21022025/08/05/image_21022025_08_06_06_10326.jpg
/home/pi/Desktop/images/21022025/08/06/image_21022025_08_06_16_9404.jpg
/home/pi/Desktop/images/21022025/08/06/image_21022025_08_06_36_10401.jpg
/home/pi/Desktop/images/21022025/08/06/image_21022025_08_06_46_9318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338776642","1338776639","1338776635","1338776650","1338776646","1338776655"],"photo_ids_order":["1338776635","1338776639","1338776642","1338776646","1338776650","1338776655"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce66c313f021a1facc6be50536c349f3.jpg","text":"TemporaryFile(/tmp/multipartBody1374596165843242330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124843677,"filename":"image_21022025_08_06_06_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5de7cc926806ada3bc03b17ebafccd98.jpg","text":"TemporaryFile(/tmp/multipartBody3920442492720468264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124843677,"filename":"image_21022025_08_05_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/588c89527cafa9d7a30b3433f9237912.jpg","text":"TemporaryFile(/tmp/multipartBody2591153883210649278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124843677,"filename":"image_21022025_08_05_26_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/65b53790837d0334f24f55b64abd0186.jpg","text":"TemporaryFile(/tmp/multipartBody6034141181964875231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124843677,"filename":"image_21022025_08_06_36_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b1280bb8b9a6af683dd168734ff42f0f.jpg","text":"TemporaryFile(/tmp/multipartBody6972188003135853131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124843677,"filename":"image_21022025_08_06_16_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a8feedd9059a51344108bfe4214aa984.jpg","text":"TemporaryFile(/tmp/multipartBody4836692588003388624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124843677,"filename":"image_21022025_08_06_46_9318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338776642","file1":"1338776639","file0":"1338776635","file4":"1338776650","file5":"1338776655","file3":"1338776646"},"map_files_photo_id_array":[{"photo_id":"1338776655","filename":"file5"},{"photo_id":"1338776642","filename":"file2"},{"photo_id":"1338776650","filename":"file4"},{"photo_id":"1338776639","filename":"file1"},{"photo_id":"1338776635","filename":"file0"},{"photo_id":"1338776646","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338776642":["hashtag1","hashtag2"]},{"1338776639":["hashtag1","hashtag2"]},{"1338776635":["hashtag1","hashtag2"]},{"1338776650":["hashtag1","hashtag2"]},{"1338776646":["hashtag1","hashtag2"]},{"1338776655":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338776642, 1338776639, 1338776635, 1338776650, 1338776646, 1338776655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23376703262329 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:00:32.517809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/07/image_21022025_08_07_46_10348.jpg', '/home/pi/Desktop/images/21022025/08/07/image_21022025_08_07_56_10405.jpg', '/home/pi/Desktop/images/21022025/08/07/image_21022025_08_08_06_9425.jpg', '/home/pi/Desktop/images/21022025/08/08/image_21022025_08_08_16_10328.jpg', '/home/pi/Desktop/images/21022025/08/08/image_21022025_08_08_26_10338.jpg', '/home/pi/Desktop/images/21022025/08/08/image_21022025_08_08_36_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/07/image_21022025_08_07_46_10348.jpg
/home/pi/Desktop/images/21022025/08/07/image_21022025_08_07_56_10405.jpg
/home/pi/Desktop/images/21022025/08/07/image_21022025_08_08_06_9425.jpg
/home/pi/Desktop/images/21022025/08/08/image_21022025_08_08_16_10328.jpg
/home/pi/Desktop/images/21022025/08/08/image_21022025_08_08_26_10338.jpg
/home/pi/Desktop/images/21022025/08/08/image_21022025_08_08_36_9410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338776687","1338776681","1338776684","1338776678","1338776677","1338776679"],"photo_ids_order":["1338776677","1338776678","1338776679","1338776681","1338776684","1338776687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aa65b2b9b3a40bb028182e054231d8a6.jpg","text":"TemporaryFile(/tmp/multipartBody3625018965053925260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124893023,"filename":"image_21022025_08_08_36_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c3b9b6bfde5fdaf45457532d0f104ff.jpg","text":"TemporaryFile(/tmp/multipartBody4430167941304656246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124893023,"filename":"image_21022025_08_08_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a48b07debc1541c19cb4ec938ab11a11.jpg","text":"TemporaryFile(/tmp/multipartBody4397023661200141042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124893023,"filename":"image_21022025_08_08_26_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a15974a71e231596a3b86b1bd5400cc6.jpg","text":"TemporaryFile(/tmp/multipartBody1823773333667112245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124893023,"filename":"image_21022025_08_07_56_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cc22d8a0d29a4d2d3a9b16e07f8ac021.jpg","text":"TemporaryFile(/tmp/multipartBody858385941923715561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124893023,"filename":"image_21022025_08_07_46_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1aee53b0757b045492f82ba6440daf3.jpg","text":"TemporaryFile(/tmp/multipartBody8783860639283325266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124893023,"filename":"image_21022025_08_08_06_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338776679","file1":"1338776678","file0":"1338776677","file4":"1338776684","file5":"1338776687","file3":"1338776681"},"map_files_photo_id_array":[{"photo_id":"1338776687","filename":"file5"},{"photo_id":"1338776679","filename":"file2"},{"photo_id":"1338776684","filename":"file4"},{"photo_id":"1338776678","filename":"file1"},{"photo_id":"1338776677","filename":"file0"},{"photo_id":"1338776681","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338776687":["hashtag1","hashtag2"]},{"1338776681":["hashtag1","hashtag2"]},{"1338776684":["hashtag1","hashtag2"]},{"1338776678":["hashtag1","hashtag2"]},{"1338776677":["hashtag1","hashtag2"]},{"1338776679":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338776687, 1338776681, 1338776684, 1338776678, 1338776677, 1338776679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.24041557312012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:01:32.754256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/08/image_21022025_08_08_46_10336.jpg', '/home/pi/Desktop/images/21022025/08/08/image_21022025_08_08_56_9400.jpg', '/home/pi/Desktop/images/21022025/08/08/image_21022025_08_09_06_10605.jpg', '/home/pi/Desktop/images/21022025/08/09/image_21022025_08_09_26_10370.jpg', '/home/pi/Desktop/images/21022025/08/09/image_21022025_08_09_36_10338.jpg', '/home/pi/Desktop/images/21022025/08/09/image_21022025_08_09_46_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/08/image_21022025_08_08_46_10336.jpg
/home/pi/Desktop/images/21022025/08/08/image_21022025_08_08_56_9400.jpg
/home/pi/Desktop/images/21022025/08/08/image_21022025_08_09_06_10605.jpg
/home/pi/Desktop/images/21022025/08/09/image_21022025_08_09_26_10370.jpg
/home/pi/Desktop/images/21022025/08/09/image_21022025_08_09_36_10338.jpg
/home/pi/Desktop/images/21022025/08/09/image_21022025_08_09_46_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338776829","1338776891","1338776954","1338776854","1338776799","1338777000"],"photo_ids_order":["1338776799","1338776829","1338776854","1338776891","1338776954","1338777000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aa23ef325056c94f84689586546d6351.jpg","text":"TemporaryFile(/tmp/multipartBody2353016538072004130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124953268,"filename":"image_21022025_08_08_56_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6aa7374f8776295496d3ddcf8b7df7d1.jpg","text":"TemporaryFile(/tmp/multipartBody3921095773914780484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124953268,"filename":"image_21022025_08_09_26_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0d50436a4eb1f8b808d9381605bf8683.jpg","text":"TemporaryFile(/tmp/multipartBody5975473027385040561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124953268,"filename":"image_21022025_08_09_36_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/513a9a8431aa54616cff77b5368f0322.jpg","text":"TemporaryFile(/tmp/multipartBody5528597532444986251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124953268,"filename":"image_21022025_08_09_06_10605.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4bf3ca00a30dd519d5bc0d683315bc64.jpg","text":"TemporaryFile(/tmp/multipartBody5743298986134131280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124953268,"filename":"image_21022025_08_08_46_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7b279d038c399e92e459e77550e1a90.jpg","text":"TemporaryFile(/tmp/multipartBody2055291066029503519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740124953268,"filename":"image_21022025_08_09_46_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338776854","file1":"1338776829","file0":"1338776799","file4":"1338776954","file5":"1338777000","file3":"1338776891"},"map_files_photo_id_array":[{"photo_id":"1338777000","filename":"file5"},{"photo_id":"1338776854","filename":"file2"},{"photo_id":"1338776954","filename":"file4"},{"photo_id":"1338776829","filename":"file1"},{"photo_id":"1338776799","filename":"file0"},{"photo_id":"1338776891","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338776829":["hashtag1","hashtag2"]},{"1338776891":["hashtag1","hashtag2"]},{"1338776954":["hashtag1","hashtag2"]},{"1338776854":["hashtag1","hashtag2"]},{"1338776799":["hashtag1","hashtag2"]},{"1338777000":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338776829, 1338776891, 1338776954, 1338776854, 1338776799, 1338777000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.11135697364807 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:02:32.920264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/09/image_21022025_08_09_56_10400.jpg', '/home/pi/Desktop/images/21022025/08/09/image_21022025_08_10_06_10346.jpg', '/home/pi/Desktop/images/21022025/08/10/image_21022025_08_10_46_9325.jpg', '/home/pi/Desktop/images/21022025/08/10/image_21022025_08_10_56_10327.jpg', '/home/pi/Desktop/images/21022025/08/10/image_21022025_08_11_06_10334.jpg', '/home/pi/Desktop/images/21022025/08/11/image_21022025_08_11_16_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/09/image_21022025_08_09_56_10400.jpg
/home/pi/Desktop/images/21022025/08/09/image_21022025_08_10_06_10346.jpg
/home/pi/Desktop/images/21022025/08/10/image_21022025_08_10_46_9325.jpg
/home/pi/Desktop/images/21022025/08/10/image_21022025_08_10_56_10327.jpg
/home/pi/Desktop/images/21022025/08/10/image_21022025_08_11_06_10334.jpg
/home/pi/Desktop/images/21022025/08/11/image_21022025_08_11_16_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338777020","1338777044","1338777042","1338777036","1338777039","1338777033"],"photo_ids_order":["1338777020","1338777033","1338777036","1338777039","1338777042","1338777044"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/940536f94203e2be84c236e51ad7dc01.jpg","text":"TemporaryFile(/tmp/multipartBody5532962544964543262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125013422,"filename":"image_21022025_08_09_56_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f30195b607e9258445e67224387823a0.jpg","text":"TemporaryFile(/tmp/multipartBody2423544247808464950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125013422,"filename":"image_21022025_08_11_16_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f28ac30cf114be48334eb2723dce8b2e.jpg","text":"TemporaryFile(/tmp/multipartBody1133266783493048440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125013422,"filename":"image_21022025_08_11_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2913422d6be4f4a1cbd57ba6bb66ab4a.jpg","text":"TemporaryFile(/tmp/multipartBody8574977320873398710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125013422,"filename":"image_21022025_08_10_46_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4299edc658276377852a671137e130e7.jpg","text":"TemporaryFile(/tmp/multipartBody7677130003587213348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125013422,"filename":"image_21022025_08_10_56_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f6d89ca0d616cbfd1275b2eb6a475138.jpg","text":"TemporaryFile(/tmp/multipartBody6442139765623826543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125013422,"filename":"image_21022025_08_10_06_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338777036","file1":"1338777033","file0":"1338777020","file4":"1338777042","file5":"1338777044","file3":"1338777039"},"map_files_photo_id_array":[{"photo_id":"1338777044","filename":"file5"},{"photo_id":"1338777036","filename":"file2"},{"photo_id":"1338777042","filename":"file4"},{"photo_id":"1338777033","filename":"file1"},{"photo_id":"1338777020","filename":"file0"},{"photo_id":"1338777039","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338777020":["hashtag1","hashtag2"]},{"1338777044":["hashtag1","hashtag2"]},{"1338777042":["hashtag1","hashtag2"]},{"1338777036":["hashtag1","hashtag2"]},{"1338777039":["hashtag1","hashtag2"]},{"1338777033":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338777020, 1338777044, 1338777042, 1338777036, 1338777039, 1338777033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.043461322784424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:03:33.313881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/11/image_21022025_08_11_26_10393.jpg', '/home/pi/Desktop/images/21022025/08/11/image_21022025_08_11_36_9444.jpg', '/home/pi/Desktop/images/21022025/08/11/image_21022025_08_11_46_10321.jpg', '/home/pi/Desktop/images/21022025/08/11/image_21022025_08_12_06_9400.jpg', '/home/pi/Desktop/images/21022025/08/12/image_21022025_08_12_26_10334.jpg', '/home/pi/Desktop/images/21022025/08/12/image_21022025_08_12_36_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/11/image_21022025_08_11_26_10393.jpg
/home/pi/Desktop/images/21022025/08/11/image_21022025_08_11_36_9444.jpg
/home/pi/Desktop/images/21022025/08/11/image_21022025_08_11_46_10321.jpg
/home/pi/Desktop/images/21022025/08/11/image_21022025_08_12_06_9400.jpg
/home/pi/Desktop/images/21022025/08/12/image_21022025_08_12_26_10334.jpg
/home/pi/Desktop/images/21022025/08/12/image_21022025_08_12_36_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338777059","1338777062","1338777070","1338777073","1338777066","1338777060"],"photo_ids_order":["1338777059","1338777060","1338777062","1338777066","1338777070","1338777073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d155b037695a595b5a836950e9e5fb04.jpg","text":"TemporaryFile(/tmp/multipartBody2677023952247437584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125073789,"filename":"image_21022025_08_11_26_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d78e05f7f7ce817318a21f2720dab58.jpg","text":"TemporaryFile(/tmp/multipartBody5887131008474143380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125073789,"filename":"image_21022025_08_11_46_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e9f048719af7383035c68c069231de4e.jpg","text":"TemporaryFile(/tmp/multipartBody3140316171728308895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125073789,"filename":"image_21022025_08_12_26_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/21f2c27b90b1fbaca38a4a09e3821088.jpg","text":"TemporaryFile(/tmp/multipartBody5744082577906972344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125073789,"filename":"image_21022025_08_12_36_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/00605ed0bd573227d17b12dea0232499.jpg","text":"TemporaryFile(/tmp/multipartBody652462277143651580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125073789,"filename":"image_21022025_08_12_06_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/82a1c570a5872d5aa1848d2fcb110655.jpg","text":"TemporaryFile(/tmp/multipartBody7784236132061603636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125073789,"filename":"image_21022025_08_11_36_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338777062","file1":"1338777060","file0":"1338777059","file4":"1338777070","file5":"1338777073","file3":"1338777066"},"map_files_photo_id_array":[{"photo_id":"1338777073","filename":"file5"},{"photo_id":"1338777062","filename":"file2"},{"photo_id":"1338777070","filename":"file4"},{"photo_id":"1338777060","filename":"file1"},{"photo_id":"1338777059","filename":"file0"},{"photo_id":"1338777066","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338777059":["hashtag1","hashtag2"]},{"1338777062":["hashtag1","hashtag2"]},{"1338777070":["hashtag1","hashtag2"]},{"1338777073":["hashtag1","hashtag2"]},{"1338777066":["hashtag1","hashtag2"]},{"1338777060":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338777059, 1338777062, 1338777070, 1338777073, 1338777066, 1338777060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45374917984009 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:04:32.304153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/12/image_21022025_08_12_46_10805.jpg', '/home/pi/Desktop/images/21022025/08/12/image_21022025_08_12_56_9511.jpg', '/home/pi/Desktop/images/21022025/08/12/image_21022025_08_13_06_10323.jpg', '/home/pi/Desktop/images/21022025/08/13/image_21022025_08_13_16_9449.jpg', '/home/pi/Desktop/images/21022025/08/13/image_21022025_08_13_56_10322.jpg', '/home/pi/Desktop/images/21022025/08/13/image_21022025_08_14_06_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/12/image_21022025_08_12_46_10805.jpg
/home/pi/Desktop/images/21022025/08/12/image_21022025_08_12_56_9511.jpg
/home/pi/Desktop/images/21022025/08/12/image_21022025_08_13_06_10323.jpg
/home/pi/Desktop/images/21022025/08/13/image_21022025_08_13_16_9449.jpg
/home/pi/Desktop/images/21022025/08/13/image_21022025_08_13_56_10322.jpg
/home/pi/Desktop/images/21022025/08/13/image_21022025_08_14_06_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338777101","1338777091","1338777093","1338777095","1338777098","1338777083"],"photo_ids_order":["1338777083","1338777091","1338777093","1338777095","1338777098","1338777101"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aec49bebbbbdbc233ff611a4e76341ad.jpg","text":"TemporaryFile(/tmp/multipartBody5591500305164088481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125132786,"filename":"image_21022025_08_14_06_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/738c04da25a588181f5b8e53cf7251de.jpg","text":"TemporaryFile(/tmp/multipartBody3187465043413499679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125132786,"filename":"image_21022025_08_12_56_9511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c9ca49d6440f18b5ed8efeab04b601e.jpg","text":"TemporaryFile(/tmp/multipartBody4753551919425215966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125132786,"filename":"image_21022025_08_13_06_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b1c3d4e5fcde00be3443a731f9b9371f.jpg","text":"TemporaryFile(/tmp/multipartBody3666320456655877999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125132786,"filename":"image_21022025_08_13_16_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ee72f33275bd99c266bac30ba9ab825f.jpg","text":"TemporaryFile(/tmp/multipartBody1279376323285197293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125132786,"filename":"image_21022025_08_13_56_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c7ed392ab4af6f1c81c225298ee777b9.jpg","text":"TemporaryFile(/tmp/multipartBody5586685532867773723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125132786,"filename":"image_21022025_08_12_46_10805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338777093","file1":"1338777091","file0":"1338777083","file4":"1338777098","file5":"1338777101","file3":"1338777095"},"map_files_photo_id_array":[{"photo_id":"1338777101","filename":"file5"},{"photo_id":"1338777093","filename":"file2"},{"photo_id":"1338777098","filename":"file4"},{"photo_id":"1338777091","filename":"file1"},{"photo_id":"1338777083","filename":"file0"},{"photo_id":"1338777095","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338777101":["hashtag1","hashtag2"]},{"1338777091":["hashtag1","hashtag2"]},{"1338777093":["hashtag1","hashtag2"]},{"1338777095":["hashtag1","hashtag2"]},{"1338777098":["hashtag1","hashtag2"]},{"1338777083":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338777101, 1338777091, 1338777093, 1338777095, 1338777098, 1338777083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76748299598694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:05:32.452959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/14/image_21022025_08_14_56_10428.jpg', '/home/pi/Desktop/images/21022025/08/14/image_21022025_08_15_06_9332.jpg', '/home/pi/Desktop/images/21022025/08/15/image_21022025_08_15_16_10310.jpg', '/home/pi/Desktop/images/21022025/08/15/image_21022025_08_15_36_9545.jpg', '/home/pi/Desktop/images/21022025/08/15/image_21022025_08_15_46_10335.jpg', '/home/pi/Desktop/images/21022025/08/15/image_21022025_08_16_06_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/14/image_21022025_08_14_56_10428.jpg
/home/pi/Desktop/images/21022025/08/14/image_21022025_08_15_06_9332.jpg
/home/pi/Desktop/images/21022025/08/15/image_21022025_08_15_16_10310.jpg
/home/pi/Desktop/images/21022025/08/15/image_21022025_08_15_36_9545.jpg
/home/pi/Desktop/images/21022025/08/15/image_21022025_08_15_46_10335.jpg
/home/pi/Desktop/images/21022025/08/15/image_21022025_08_16_06_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338777812","1338777781","1338777799","1338777841","1338777802","1338777810"],"photo_ids_order":["1338777781","1338777799","1338777802","1338777810","1338777812","1338777841"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6d3bfc7847f9ba8a5196048c688408f6.jpg","text":"TemporaryFile(/tmp/multipartBody5714540034302691899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125192944,"filename":"image_21022025_08_15_46_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/341db84f7cd2a647fb5fa1da63f0a11e.jpg","text":"TemporaryFile(/tmp/multipartBody1050082877394475580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125192944,"filename":"image_21022025_08_14_56_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d694f7dd8774b83aab1c575cf2cbfe36.jpg","text":"TemporaryFile(/tmp/multipartBody8533467522246922876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125192944,"filename":"image_21022025_08_15_06_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e99778c9a7479e8008fe51a434d5ddaa.jpg","text":"TemporaryFile(/tmp/multipartBody6012056203399203240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125192944,"filename":"image_21022025_08_16_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce3decd1f706f9d4b7976465f3923e14.jpg","text":"TemporaryFile(/tmp/multipartBody2395767132522759724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125192944,"filename":"image_21022025_08_15_16_10310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/35b1c45e78f8e595e7733028fd77b7e6.jpg","text":"TemporaryFile(/tmp/multipartBody5609046245701046553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125192944,"filename":"image_21022025_08_15_36_9545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338777802","file1":"1338777799","file0":"1338777781","file4":"1338777812","file5":"1338777841","file3":"1338777810"},"map_files_photo_id_array":[{"photo_id":"1338777841","filename":"file5"},{"photo_id":"1338777802","filename":"file2"},{"photo_id":"1338777812","filename":"file4"},{"photo_id":"1338777799","filename":"file1"},{"photo_id":"1338777781","filename":"file0"},{"photo_id":"1338777810","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338777812":["hashtag1","hashtag2"]},{"1338777781":["hashtag1","hashtag2"]},{"1338777799":["hashtag1","hashtag2"]},{"1338777841":["hashtag1","hashtag2"]},{"1338777802":["hashtag1","hashtag2"]},{"1338777810":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338777812, 1338777781, 1338777799, 1338777841, 1338777802, 1338777810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15239858627319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:06:32.774972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/16/image_21022025_08_16_16_10334.jpg', '/home/pi/Desktop/images/21022025/08/16/image_21022025_08_16_26_9333.jpg', '/home/pi/Desktop/images/21022025/08/16/image_21022025_08_16_56_9338.jpg', '/home/pi/Desktop/images/21022025/08/16/image_21022025_08_17_06_10338.jpg', '/home/pi/Desktop/images/21022025/08/17/image_21022025_08_17_26_9352.jpg', '/home/pi/Desktop/images/21022025/08/17/image_21022025_08_17_36_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/16/image_21022025_08_16_16_10334.jpg
/home/pi/Desktop/images/21022025/08/16/image_21022025_08_16_26_9333.jpg
/home/pi/Desktop/images/21022025/08/16/image_21022025_08_16_56_9338.jpg
/home/pi/Desktop/images/21022025/08/16/image_21022025_08_17_06_10338.jpg
/home/pi/Desktop/images/21022025/08/17/image_21022025_08_17_26_9352.jpg
/home/pi/Desktop/images/21022025/08/17/image_21022025_08_17_36_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338778378","1338778324","1338778405","1338778374","1338778422","1338778350"],"photo_ids_order":["1338778324","1338778350","1338778374","1338778378","1338778405","1338778422"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/36d84d99e748134116aa0313b75cc054.jpg","text":"TemporaryFile(/tmp/multipartBody5273050065614049921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125253264,"filename":"image_21022025_08_17_06_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/01dcda7039aba5df4453ccaba2fcec6b.jpg","text":"TemporaryFile(/tmp/multipartBody3447952395748521964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125253264,"filename":"image_21022025_08_16_16_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c3b48b3945c56a4608f6babcb50ebe87.jpg","text":"TemporaryFile(/tmp/multipartBody8240357793519028437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125253264,"filename":"image_21022025_08_17_26_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e0a178da3b4feceb0d5bb3c5792ba2cd.jpg","text":"TemporaryFile(/tmp/multipartBody1567143497564519230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125253264,"filename":"image_21022025_08_16_56_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0c09a67b97e3368925207c9a58a93e7a.jpg","text":"TemporaryFile(/tmp/multipartBody7098926098264357179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125253264,"filename":"image_21022025_08_17_36_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/05cda77031653dfacaf21b7b196aea2f.jpg","text":"TemporaryFile(/tmp/multipartBody1363751872227023938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125253264,"filename":"image_21022025_08_16_26_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338778374","file1":"1338778350","file0":"1338778324","file4":"1338778405","file5":"1338778422","file3":"1338778378"},"map_files_photo_id_array":[{"photo_id":"1338778422","filename":"file5"},{"photo_id":"1338778374","filename":"file2"},{"photo_id":"1338778405","filename":"file4"},{"photo_id":"1338778350","filename":"file1"},{"photo_id":"1338778324","filename":"file0"},{"photo_id":"1338778378","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338778378":["hashtag1","hashtag2"]},{"1338778324":["hashtag1","hashtag2"]},{"1338778405":["hashtag1","hashtag2"]},{"1338778374":["hashtag1","hashtag2"]},{"1338778422":["hashtag1","hashtag2"]},{"1338778350":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338778378, 1338778324, 1338778405, 1338778374, 1338778422, 1338778350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.585609912872314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:07:32.939773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/17/image_21022025_08_17_46_10347.jpg', '/home/pi/Desktop/images/21022025/08/17/image_21022025_08_17_56_9457.jpg', '/home/pi/Desktop/images/21022025/08/17/image_21022025_08_18_06_10325.jpg', '/home/pi/Desktop/images/21022025/08/18/image_21022025_08_18_16_9424.jpg', '/home/pi/Desktop/images/21022025/08/18/image_21022025_08_18_26_10402.jpg', '/home/pi/Desktop/images/21022025/08/18/image_21022025_08_18_36_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/17/image_21022025_08_17_46_10347.jpg
/home/pi/Desktop/images/21022025/08/17/image_21022025_08_17_56_9457.jpg
/home/pi/Desktop/images/21022025/08/17/image_21022025_08_18_06_10325.jpg
/home/pi/Desktop/images/21022025/08/18/image_21022025_08_18_16_9424.jpg
/home/pi/Desktop/images/21022025/08/18/image_21022025_08_18_26_10402.jpg
/home/pi/Desktop/images/21022025/08/18/image_21022025_08_18_36_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338778483","1338778438","1338778476","1338778434","1338778433","1338778436"],"photo_ids_order":["1338778433","1338778434","1338778436","1338778438","1338778476","1338778483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f5d1cbe1136b8c801ea8fb5d45ed0b6f.jpg","text":"TemporaryFile(/tmp/multipartBody268326453961226217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125313438,"filename":"image_21022025_08_18_36_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4476e298ae9b80fa48d8b6818be3b226.jpg","text":"TemporaryFile(/tmp/multipartBody2742531308292239050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125313438,"filename":"image_21022025_08_18_16_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c747b151ed250b7bfcc79cec72a73bcd.jpg","text":"TemporaryFile(/tmp/multipartBody4069813723747773126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125313438,"filename":"image_21022025_08_18_26_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a56719c57a38eb1443ded90beb02e619.jpg","text":"TemporaryFile(/tmp/multipartBody8660116560590840675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125313438,"filename":"image_21022025_08_17_56_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3310b22b1f30cddc2b8a93b21d8498fe.jpg","text":"TemporaryFile(/tmp/multipartBody8103223662640977900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125313438,"filename":"image_21022025_08_17_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/60abc29a484dcd12d07e2b92770d25cc.jpg","text":"TemporaryFile(/tmp/multipartBody1789959043539352335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125313438,"filename":"image_21022025_08_18_06_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338778436","file1":"1338778434","file0":"1338778433","file4":"1338778476","file5":"1338778483","file3":"1338778438"},"map_files_photo_id_array":[{"photo_id":"1338778483","filename":"file5"},{"photo_id":"1338778436","filename":"file2"},{"photo_id":"1338778476","filename":"file4"},{"photo_id":"1338778434","filename":"file1"},{"photo_id":"1338778433","filename":"file0"},{"photo_id":"1338778438","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338778483":["hashtag1","hashtag2"]},{"1338778438":["hashtag1","hashtag2"]},{"1338778476":["hashtag1","hashtag2"]},{"1338778434":["hashtag1","hashtag2"]},{"1338778433":["hashtag1","hashtag2"]},{"1338778436":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338778483, 1338778438, 1338778476, 1338778434, 1338778433, 1338778436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.48622488975525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:08:32.303323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/18/image_21022025_08_18_46_9388.jpg', '/home/pi/Desktop/images/21022025/08/18/image_21022025_08_18_56_10353.jpg', '/home/pi/Desktop/images/21022025/08/18/image_21022025_08_19_06_10363.jpg', '/home/pi/Desktop/images/21022025/08/19/image_21022025_08_19_16_9337.jpg', '/home/pi/Desktop/images/21022025/08/19/image_21022025_08_19_26_10327.jpg', '/home/pi/Desktop/images/21022025/08/19/image_21022025_08_19_36_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/18/image_21022025_08_18_46_9388.jpg
/home/pi/Desktop/images/21022025/08/18/image_21022025_08_18_56_10353.jpg
/home/pi/Desktop/images/21022025/08/18/image_21022025_08_19_06_10363.jpg
/home/pi/Desktop/images/21022025/08/19/image_21022025_08_19_16_9337.jpg
/home/pi/Desktop/images/21022025/08/19/image_21022025_08_19_26_10327.jpg
/home/pi/Desktop/images/21022025/08/19/image_21022025_08_19_36_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338778546","1338778548","1338778545","1338778550","1338778553","1338778556"],"photo_ids_order":["1338778545","1338778546","1338778548","1338778550","1338778553","1338778556"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/563575993fcaae97321f3d220e7fa27f.jpg","text":"TemporaryFile(/tmp/multipartBody8054049217829070962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125372814,"filename":"image_21022025_08_18_56_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a7cc4fed578ccd862dd037e31c7db4c.jpg","text":"TemporaryFile(/tmp/multipartBody5227724473178574976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125372814,"filename":"image_21022025_08_19_06_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8922352fab1e484f2341eb54a3b05b4.jpg","text":"TemporaryFile(/tmp/multipartBody2380935971471709550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125372814,"filename":"image_21022025_08_18_46_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/663271fd867a30bd8878b35140a90373.jpg","text":"TemporaryFile(/tmp/multipartBody4143863680686248489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125372814,"filename":"image_21022025_08_19_16_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/331b221c0ecf73fad90638c0835f46b0.jpg","text":"TemporaryFile(/tmp/multipartBody3353322234991853525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125372814,"filename":"image_21022025_08_19_26_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/754a138ed473fbef32c5f25abef1f9ed.jpg","text":"TemporaryFile(/tmp/multipartBody3392777439306222189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125372814,"filename":"image_21022025_08_19_36_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338778548","file1":"1338778546","file0":"1338778545","file4":"1338778553","file5":"1338778556","file3":"1338778550"},"map_files_photo_id_array":[{"photo_id":"1338778556","filename":"file5"},{"photo_id":"1338778548","filename":"file2"},{"photo_id":"1338778553","filename":"file4"},{"photo_id":"1338778546","filename":"file1"},{"photo_id":"1338778545","filename":"file0"},{"photo_id":"1338778550","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338778546":["hashtag1","hashtag2"]},{"1338778548":["hashtag1","hashtag2"]},{"1338778545":["hashtag1","hashtag2"]},{"1338778550":["hashtag1","hashtag2"]},{"1338778553":["hashtag1","hashtag2"]},{"1338778556":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338778546, 1338778548, 1338778545, 1338778550, 1338778553, 1338778556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.259137868881226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:09:32.459905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/19/image_21022025_08_19_46_9381.jpg', '/home/pi/Desktop/images/21022025/08/19/image_21022025_08_19_56_10351.jpg', '/home/pi/Desktop/images/21022025/08/19/image_21022025_08_20_06_9372.jpg', '/home/pi/Desktop/images/21022025/08/20/image_21022025_08_20_26_10392.jpg', '/home/pi/Desktop/images/21022025/08/20/image_21022025_08_20_36_9326.jpg', '/home/pi/Desktop/images/21022025/08/20/image_21022025_08_20_46_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/19/image_21022025_08_19_46_9381.jpg
/home/pi/Desktop/images/21022025/08/19/image_21022025_08_19_56_10351.jpg
/home/pi/Desktop/images/21022025/08/19/image_21022025_08_20_06_9372.jpg
/home/pi/Desktop/images/21022025/08/20/image_21022025_08_20_26_10392.jpg
/home/pi/Desktop/images/21022025/08/20/image_21022025_08_20_36_9326.jpg
/home/pi/Desktop/images/21022025/08/20/image_21022025_08_20_46_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338778573","1338778579","1338778575","1338778569","1338778577","1338778571"],"photo_ids_order":["1338778569","1338778571","1338778573","1338778575","1338778577","1338778579"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/15e093bf2773fafa774f00cd9e03bfdd.jpg","text":"TemporaryFile(/tmp/multipartBody8747938981371347780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125432980,"filename":"image_21022025_08_20_06_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/060f5bfcf5baacef3d0675d2a23b814d.jpg","text":"TemporaryFile(/tmp/multipartBody9186969986060915402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125432980,"filename":"image_21022025_08_20_46_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f4e35edbfb3401dd45495b0e9b8d946.jpg","text":"TemporaryFile(/tmp/multipartBody7773629142350233922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125432980,"filename":"image_21022025_08_20_26_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e875a26b4fa8c5c7f27169750bac8174.jpg","text":"TemporaryFile(/tmp/multipartBody4336168682020908118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125432980,"filename":"image_21022025_08_19_46_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b1221bf5ae7354ea6ffc6c6e30827ac0.jpg","text":"TemporaryFile(/tmp/multipartBody6627052513807037217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125432980,"filename":"image_21022025_08_20_36_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa40a76cf2a6a51149596fba294c0acc.jpg","text":"TemporaryFile(/tmp/multipartBody3034801632071585543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125432980,"filename":"image_21022025_08_19_56_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338778573","file1":"1338778571","file0":"1338778569","file4":"1338778577","file5":"1338778579","file3":"1338778575"},"map_files_photo_id_array":[{"photo_id":"1338778579","filename":"file5"},{"photo_id":"1338778573","filename":"file2"},{"photo_id":"1338778577","filename":"file4"},{"photo_id":"1338778571","filename":"file1"},{"photo_id":"1338778569","filename":"file0"},{"photo_id":"1338778575","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338778573":["hashtag1","hashtag2"]},{"1338778579":["hashtag1","hashtag2"]},{"1338778575":["hashtag1","hashtag2"]},{"1338778569":["hashtag1","hashtag2"]},{"1338778577":["hashtag1","hashtag2"]},{"1338778571":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338778573, 1338778579, 1338778575, 1338778569, 1338778577, 1338778571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75337314605713 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:10:32.862122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/20/image_21022025_08_20_56_10344.jpg', '/home/pi/Desktop/images/21022025/08/21/image_21022025_08_21_26_9481.jpg', '/home/pi/Desktop/images/21022025/08/21/image_21022025_08_21_36_10351.jpg', '/home/pi/Desktop/images/21022025/08/21/image_21022025_08_21_56_9418.jpg', '/home/pi/Desktop/images/21022025/08/21/image_21022025_08_22_06_10333.jpg', '/home/pi/Desktop/images/21022025/08/22/image_21022025_08_22_26_9537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/20/image_21022025_08_20_56_10344.jpg
/home/pi/Desktop/images/21022025/08/21/image_21022025_08_21_26_9481.jpg
/home/pi/Desktop/images/21022025/08/21/image_21022025_08_21_36_10351.jpg
/home/pi/Desktop/images/21022025/08/21/image_21022025_08_21_56_9418.jpg
/home/pi/Desktop/images/21022025/08/21/image_21022025_08_22_06_10333.jpg
/home/pi/Desktop/images/21022025/08/22/image_21022025_08_22_26_9537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338778625","1338778619","1338778642","1338778639","1338778632","1338778611"],"photo_ids_order":["1338778611","1338778619","1338778625","1338778632","1338778639","1338778642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bd4ba7ae7af559f1d2a09f225e2bfb96.jpg","text":"TemporaryFile(/tmp/multipartBody2646230250913241116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125493353,"filename":"image_21022025_08_21_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9434010617308a9afab10a8604d4d0af.jpg","text":"TemporaryFile(/tmp/multipartBody4099285739004692646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125493353,"filename":"image_21022025_08_21_26_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1400d9b847151c6c4de6c3b8df3ec9eb.jpg","text":"TemporaryFile(/tmp/multipartBody6302608495365476444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125493353,"filename":"image_21022025_08_22_26_9537.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d96f6cecbac2f23a39a2c08557e3d5c3.jpg","text":"TemporaryFile(/tmp/multipartBody1305929880396888199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125493353,"filename":"image_21022025_08_22_06_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c2b9b48ac1489656f6b70dfe94360a83.jpg","text":"TemporaryFile(/tmp/multipartBody3088228730341540354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125493353,"filename":"image_21022025_08_21_56_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/27de999f88d6865fb57ae46858d318c8.jpg","text":"TemporaryFile(/tmp/multipartBody8700298385894814674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125493353,"filename":"image_21022025_08_20_56_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338778625","file1":"1338778619","file0":"1338778611","file4":"1338778639","file5":"1338778642","file3":"1338778632"},"map_files_photo_id_array":[{"photo_id":"1338778642","filename":"file5"},{"photo_id":"1338778625","filename":"file2"},{"photo_id":"1338778639","filename":"file4"},{"photo_id":"1338778619","filename":"file1"},{"photo_id":"1338778611","filename":"file0"},{"photo_id":"1338778632","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338778625":["hashtag1","hashtag2"]},{"1338778619":["hashtag1","hashtag2"]},{"1338778642":["hashtag1","hashtag2"]},{"1338778639":["hashtag1","hashtag2"]},{"1338778632":["hashtag1","hashtag2"]},{"1338778611":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338778625, 1338778619, 1338778642, 1338778639, 1338778632, 1338778611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.47841000556946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:11:33.204139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/22/image_21022025_08_22_36_10173.jpg', '/home/pi/Desktop/images/21022025/08/22/image_21022025_08_22_46_9864.jpg', '/home/pi/Desktop/images/21022025/08/22/image_21022025_08_22_56_10383.jpg', '/home/pi/Desktop/images/21022025/08/22/image_21022025_08_23_06_9331.jpg', '/home/pi/Desktop/images/21022025/08/23/image_21022025_08_23_16_10397.jpg', '/home/pi/Desktop/images/21022025/08/23/image_21022025_08_23_26_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/22/image_21022025_08_22_36_10173.jpg
/home/pi/Desktop/images/21022025/08/22/image_21022025_08_22_46_9864.jpg
/home/pi/Desktop/images/21022025/08/22/image_21022025_08_22_56_10383.jpg
/home/pi/Desktop/images/21022025/08/22/image_21022025_08_23_06_9331.jpg
/home/pi/Desktop/images/21022025/08/23/image_21022025_08_23_16_10397.jpg
/home/pi/Desktop/images/21022025/08/23/image_21022025_08_23_26_9409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338778738","1338778683","1338778686","1338778719","1338778697","1338778763"],"photo_ids_order":["1338778683","1338778686","1338778697","1338778719","1338778738","1338778763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1385f19d32999ef7b6cf6201c55198bf.jpg","text":"TemporaryFile(/tmp/multipartBody6535118051089959993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125553810,"filename":"image_21022025_08_23_16_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/199a0d97614255441e6b4d8f6d155a4d.jpg","text":"TemporaryFile(/tmp/multipartBody2655591732035177684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125553810,"filename":"image_21022025_08_22_36_10173.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1f101174c2f8678d26af1f6946b38496.jpg","text":"TemporaryFile(/tmp/multipartBody347170152909050049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125553810,"filename":"image_21022025_08_22_46_9864.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/004223f23c2c7a478ad73d0c366c5ff8.jpg","text":"TemporaryFile(/tmp/multipartBody3495898460042547427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125553810,"filename":"image_21022025_08_23_06_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61dd92e73a5dcc76244109ab8a171983.jpg","text":"TemporaryFile(/tmp/multipartBody4162360006831928140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125553810,"filename":"image_21022025_08_22_56_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/064573aec5e482359c62a45f74864a8d.jpg","text":"TemporaryFile(/tmp/multipartBody2746268875981222100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125553810,"filename":"image_21022025_08_23_26_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338778697","file1":"1338778686","file0":"1338778683","file4":"1338778738","file5":"1338778763","file3":"1338778719"},"map_files_photo_id_array":[{"photo_id":"1338778763","filename":"file5"},{"photo_id":"1338778697","filename":"file2"},{"photo_id":"1338778738","filename":"file4"},{"photo_id":"1338778686","filename":"file1"},{"photo_id":"1338778683","filename":"file0"},{"photo_id":"1338778719","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338778738":["hashtag1","hashtag2"]},{"1338778683":["hashtag1","hashtag2"]},{"1338778686":["hashtag1","hashtag2"]},{"1338778719":["hashtag1","hashtag2"]},{"1338778697":["hashtag1","hashtag2"]},{"1338778763":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338778738, 1338778683, 1338778686, 1338778719, 1338778697, 1338778763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58326697349548 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:12:32.260696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/23/image_21022025_08_23_36_10338.jpg', '/home/pi/Desktop/images/21022025/08/23/image_21022025_08_23_46_10350.jpg', '/home/pi/Desktop/images/21022025/08/23/image_21022025_08_23_56_9455.jpg', '/home/pi/Desktop/images/21022025/08/24/image_21022025_08_24_16_10338.jpg', '/home/pi/Desktop/images/21022025/08/24/image_21022025_08_24_26_9448.jpg', '/home/pi/Desktop/images/21022025/08/24/image_21022025_08_24_36_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/23/image_21022025_08_23_36_10338.jpg
/home/pi/Desktop/images/21022025/08/23/image_21022025_08_23_46_10350.jpg
/home/pi/Desktop/images/21022025/08/23/image_21022025_08_23_56_9455.jpg
/home/pi/Desktop/images/21022025/08/24/image_21022025_08_24_16_10338.jpg
/home/pi/Desktop/images/21022025/08/24/image_21022025_08_24_26_9448.jpg
/home/pi/Desktop/images/21022025/08/24/image_21022025_08_24_36_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338778858","1338778860","1338778848","1338778856","1338778850","1338778853"],"photo_ids_order":["1338778848","1338778850","1338778853","1338778856","1338778858","1338778860"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62d1351cbfe75f6f81bef38365b5b619.jpg","text":"TemporaryFile(/tmp/multipartBody3745709655928349098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125612764,"filename":"image_21022025_08_24_26_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e472f21fdb5b055d32129a0b340d055e.jpg","text":"TemporaryFile(/tmp/multipartBody3558030430369379725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125612764,"filename":"image_21022025_08_24_36_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c7af42b7719b854f11d91d4051a072c7.jpg","text":"TemporaryFile(/tmp/multipartBody4627081758159769455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125612764,"filename":"image_21022025_08_23_36_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0498024ebfba4296961074f7594ab9c6.jpg","text":"TemporaryFile(/tmp/multipartBody1988350465523630737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125612764,"filename":"image_21022025_08_24_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e34f724e1f8e27d9d0053c5e8d6894d0.jpg","text":"TemporaryFile(/tmp/multipartBody8986085771503602107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125612764,"filename":"image_21022025_08_23_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b0ad20b780affc8f42b0a303b935e1c.jpg","text":"TemporaryFile(/tmp/multipartBody7943642358037442710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125612764,"filename":"image_21022025_08_23_56_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338778853","file1":"1338778850","file0":"1338778848","file4":"1338778858","file5":"1338778860","file3":"1338778856"},"map_files_photo_id_array":[{"photo_id":"1338778860","filename":"file5"},{"photo_id":"1338778853","filename":"file2"},{"photo_id":"1338778858","filename":"file4"},{"photo_id":"1338778850","filename":"file1"},{"photo_id":"1338778848","filename":"file0"},{"photo_id":"1338778856","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338778858":["hashtag1","hashtag2"]},{"1338778860":["hashtag1","hashtag2"]},{"1338778848":["hashtag1","hashtag2"]},{"1338778856":["hashtag1","hashtag2"]},{"1338778850":["hashtag1","hashtag2"]},{"1338778853":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338778858, 1338778860, 1338778848, 1338778856, 1338778850, 1338778853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78864502906799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:13:32.555435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/24/image_21022025_08_24_56_10325.jpg', '/home/pi/Desktop/images/21022025/08/24/image_21022025_08_25_06_10331.jpg', '/home/pi/Desktop/images/21022025/08/25/image_21022025_08_25_16_9416.jpg', '/home/pi/Desktop/images/21022025/08/25/image_21022025_08_25_26_10329.jpg', '/home/pi/Desktop/images/21022025/08/25/image_21022025_08_25_36_10330.jpg', '/home/pi/Desktop/images/21022025/08/25/image_21022025_08_25_46_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/24/image_21022025_08_24_56_10325.jpg
/home/pi/Desktop/images/21022025/08/24/image_21022025_08_25_06_10331.jpg
/home/pi/Desktop/images/21022025/08/25/image_21022025_08_25_16_9416.jpg
/home/pi/Desktop/images/21022025/08/25/image_21022025_08_25_26_10329.jpg
/home/pi/Desktop/images/21022025/08/25/image_21022025_08_25_36_10330.jpg
/home/pi/Desktop/images/21022025/08/25/image_21022025_08_25_46_9416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338778885","1338778879","1338778882","1338778876","1338778872","1338778874"],"photo_ids_order":["1338778872","1338778874","1338778876","1338778879","1338778882","1338778885"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3366302afb41b94f9f8858253f4ccf6c.jpg","text":"TemporaryFile(/tmp/multipartBody8866130941947502566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125673099,"filename":"image_21022025_08_25_46_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/58a9265e2ae2b4871bfb4df69f67e48e.jpg","text":"TemporaryFile(/tmp/multipartBody1108594895864246286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125673099,"filename":"image_21022025_08_25_26_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/30cf709a47f5c5d63a55b8d93febdd90.jpg","text":"TemporaryFile(/tmp/multipartBody649161625698130770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125673099,"filename":"image_21022025_08_25_36_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/78034fac54d94aafc519069c3aa2573a.jpg","text":"TemporaryFile(/tmp/multipartBody7082097376314994755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125673099,"filename":"image_21022025_08_25_16_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce126158728a2ef7b8298413b8afcf1e.jpg","text":"TemporaryFile(/tmp/multipartBody5499874825496641526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125673099,"filename":"image_21022025_08_24_56_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/757854f87ff7f413cd3edbe77e4570bc.jpg","text":"TemporaryFile(/tmp/multipartBody746927785649524547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125673099,"filename":"image_21022025_08_25_06_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338778876","file1":"1338778874","file0":"1338778872","file4":"1338778882","file5":"1338778885","file3":"1338778879"},"map_files_photo_id_array":[{"photo_id":"1338778885","filename":"file5"},{"photo_id":"1338778876","filename":"file2"},{"photo_id":"1338778882","filename":"file4"},{"photo_id":"1338778874","filename":"file1"},{"photo_id":"1338778872","filename":"file0"},{"photo_id":"1338778879","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338778885":["hashtag1","hashtag2"]},{"1338778879":["hashtag1","hashtag2"]},{"1338778882":["hashtag1","hashtag2"]},{"1338778876":["hashtag1","hashtag2"]},{"1338778872":["hashtag1","hashtag2"]},{"1338778874":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338778885, 1338778879, 1338778882, 1338778876, 1338778872, 1338778874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.94971013069153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:14:32.755297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/25/image_21022025_08_25_56_10323.jpg', '/home/pi/Desktop/images/21022025/08/25/image_21022025_08_26_06_10340.jpg', '/home/pi/Desktop/images/21022025/08/26/image_21022025_08_26_16_9335.jpg', '/home/pi/Desktop/images/21022025/08/26/image_21022025_08_26_26_10341.jpg', '/home/pi/Desktop/images/21022025/08/26/image_21022025_08_26_36_10350.jpg', '/home/pi/Desktop/images/21022025/08/26/image_21022025_08_26_46_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/25/image_21022025_08_25_56_10323.jpg
/home/pi/Desktop/images/21022025/08/25/image_21022025_08_26_06_10340.jpg
/home/pi/Desktop/images/21022025/08/26/image_21022025_08_26_16_9335.jpg
/home/pi/Desktop/images/21022025/08/26/image_21022025_08_26_26_10341.jpg
/home/pi/Desktop/images/21022025/08/26/image_21022025_08_26_36_10350.jpg
/home/pi/Desktop/images/21022025/08/26/image_21022025_08_26_46_9399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338778907","1338778901","1338778896","1338778900","1338778910","1338778904"],"photo_ids_order":["1338778896","1338778900","1338778901","1338778904","1338778907","1338778910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ccc87e809dc608cdf62ad1d0c897fde.jpg","text":"TemporaryFile(/tmp/multipartBody4256583240972778464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125733242,"filename":"image_21022025_08_26_36_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fb0d20b28d22aeb54b690666689001de.jpg","text":"TemporaryFile(/tmp/multipartBody5782161728912967374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125733242,"filename":"image_21022025_08_26_16_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a6de7a4ca00226b91dc6a11cc68a7554.jpg","text":"TemporaryFile(/tmp/multipartBody5628488196746752945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125733242,"filename":"image_21022025_08_25_56_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fbdddca36808f47e4075cb6941457300.jpg","text":"TemporaryFile(/tmp/multipartBody5137883900384302587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125733242,"filename":"image_21022025_08_26_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/15691c9f746cfaca2821b4378444dfe1.jpg","text":"TemporaryFile(/tmp/multipartBody272199390450323494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125733242,"filename":"image_21022025_08_26_46_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a26553ec62ab355c21ef653dbb317c63.jpg","text":"TemporaryFile(/tmp/multipartBody6804386298157540916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125733242,"filename":"image_21022025_08_26_26_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338778901","file1":"1338778900","file0":"1338778896","file4":"1338778907","file5":"1338778910","file3":"1338778904"},"map_files_photo_id_array":[{"photo_id":"1338778910","filename":"file5"},{"photo_id":"1338778901","filename":"file2"},{"photo_id":"1338778907","filename":"file4"},{"photo_id":"1338778900","filename":"file1"},{"photo_id":"1338778896","filename":"file0"},{"photo_id":"1338778904","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338778907":["hashtag1","hashtag2"]},{"1338778901":["hashtag1","hashtag2"]},{"1338778896":["hashtag1","hashtag2"]},{"1338778900":["hashtag1","hashtag2"]},{"1338778910":["hashtag1","hashtag2"]},{"1338778904":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338778907, 1338778901, 1338778896, 1338778900, 1338778910, 1338778904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.689650774002075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:15:33.096821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/26/image_21022025_08_27_06_9421.jpg', '/home/pi/Desktop/images/21022025/08/27/image_21022025_08_27_16_10369.jpg', '/home/pi/Desktop/images/21022025/08/27/image_21022025_08_27_26_10342.jpg', '/home/pi/Desktop/images/21022025/08/27/image_21022025_08_27_36_9374.jpg', '/home/pi/Desktop/images/21022025/08/27/image_21022025_08_27_46_10368.jpg', '/home/pi/Desktop/images/21022025/08/27/image_21022025_08_27_56_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/26/image_21022025_08_27_06_9421.jpg
/home/pi/Desktop/images/21022025/08/27/image_21022025_08_27_16_10369.jpg
/home/pi/Desktop/images/21022025/08/27/image_21022025_08_27_26_10342.jpg
/home/pi/Desktop/images/21022025/08/27/image_21022025_08_27_36_9374.jpg
/home/pi/Desktop/images/21022025/08/27/image_21022025_08_27_46_10368.jpg
/home/pi/Desktop/images/21022025/08/27/image_21022025_08_27_56_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338778934","1338778939","1338778930","1338778932","1338778926","1338778937"],"photo_ids_order":["1338778926","1338778930","1338778932","1338778934","1338778937","1338778939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d2b9189b5fa07650ef0c25e41374edcf.jpg","text":"TemporaryFile(/tmp/multipartBody6420130287631856441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125793591,"filename":"image_21022025_08_27_36_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/679ab0c7e8e27587f8ea898ba53f2343.jpg","text":"TemporaryFile(/tmp/multipartBody7249087140602710830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125793591,"filename":"image_21022025_08_27_56_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3677c8521f5e0d7b27e9e52def0bd4c2.jpg","text":"TemporaryFile(/tmp/multipartBody4984870347739793572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125793591,"filename":"image_21022025_08_27_16_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02aabe1418db852b11be883d1ac41928.jpg","text":"TemporaryFile(/tmp/multipartBody4478984935298247663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125793591,"filename":"image_21022025_08_27_26_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/31de5d4b0d7b5defc5f3dab1eaf8d549.jpg","text":"TemporaryFile(/tmp/multipartBody8151901166699963026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125793591,"filename":"image_21022025_08_27_06_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/07be09afca8b5094e0bf5267b54edff8.jpg","text":"TemporaryFile(/tmp/multipartBody9162184949171439305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125793591,"filename":"image_21022025_08_27_46_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338778932","file1":"1338778930","file0":"1338778926","file4":"1338778937","file5":"1338778939","file3":"1338778934"},"map_files_photo_id_array":[{"photo_id":"1338778939","filename":"file5"},{"photo_id":"1338778932","filename":"file2"},{"photo_id":"1338778937","filename":"file4"},{"photo_id":"1338778930","filename":"file1"},{"photo_id":"1338778926","filename":"file0"},{"photo_id":"1338778934","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338778934":["hashtag1","hashtag2"]},{"1338778939":["hashtag1","hashtag2"]},{"1338778930":["hashtag1","hashtag2"]},{"1338778932":["hashtag1","hashtag2"]},{"1338778926":["hashtag1","hashtag2"]},{"1338778937":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338778934, 1338778939, 1338778930, 1338778932, 1338778926, 1338778937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.505600690841675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:16:32.237359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/27/image_21022025_08_28_06_9359.jpg', '/home/pi/Desktop/images/21022025/08/28/image_21022025_08_28_16_10349.jpg', '/home/pi/Desktop/images/21022025/08/28/image_21022025_08_28_25_9316.jpg', '/home/pi/Desktop/images/21022025/08/28/image_21022025_08_28_36_10331.jpg', '/home/pi/Desktop/images/21022025/08/28/image_21022025_08_28_46_10343.jpg', '/home/pi/Desktop/images/21022025/08/28/image_21022025_08_28_55_9324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/27/image_21022025_08_28_06_9359.jpg
/home/pi/Desktop/images/21022025/08/28/image_21022025_08_28_16_10349.jpg
/home/pi/Desktop/images/21022025/08/28/image_21022025_08_28_25_9316.jpg
/home/pi/Desktop/images/21022025/08/28/image_21022025_08_28_36_10331.jpg
/home/pi/Desktop/images/21022025/08/28/image_21022025_08_28_46_10343.jpg
/home/pi/Desktop/images/21022025/08/28/image_21022025_08_28_55_9324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338778984","1338778978","1338778993","1338778989","1338778983","1338778986"],"photo_ids_order":["1338778978","1338778983","1338778984","1338778986","1338778989","1338778993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/883d6bf50827d4c30043bdb4ef6ecd40.jpg","text":"TemporaryFile(/tmp/multipartBody315799120065819360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125852736,"filename":"image_21022025_08_28_25_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/082d0697b9926de2a615a9024e535a57.jpg","text":"TemporaryFile(/tmp/multipartBody2399525099472008059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125852736,"filename":"image_21022025_08_28_06_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f0413fca759e4ab0de3cd72f2ff01730.jpg","text":"TemporaryFile(/tmp/multipartBody7478077661119376320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125852736,"filename":"image_21022025_08_28_55_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2599d962f43e833bc1119ac760c11ef4.jpg","text":"TemporaryFile(/tmp/multipartBody231829924032102328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125852736,"filename":"image_21022025_08_28_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1e3dc931ba04e23697cafcc73ed564fa.jpg","text":"TemporaryFile(/tmp/multipartBody6466251409366218053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125852736,"filename":"image_21022025_08_28_16_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c33b749ec504faaaf892693447ad84f1.jpg","text":"TemporaryFile(/tmp/multipartBody7445514915638579992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125852736,"filename":"image_21022025_08_28_36_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338778984","file1":"1338778983","file0":"1338778978","file4":"1338778989","file5":"1338778993","file3":"1338778986"},"map_files_photo_id_array":[{"photo_id":"1338778993","filename":"file5"},{"photo_id":"1338778984","filename":"file2"},{"photo_id":"1338778989","filename":"file4"},{"photo_id":"1338778983","filename":"file1"},{"photo_id":"1338778978","filename":"file0"},{"photo_id":"1338778986","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338778984":["hashtag1","hashtag2"]},{"1338778978":["hashtag1","hashtag2"]},{"1338778993":["hashtag1","hashtag2"]},{"1338778989":["hashtag1","hashtag2"]},{"1338778983":["hashtag1","hashtag2"]},{"1338778986":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338778984, 1338778978, 1338778993, 1338778989, 1338778983, 1338778986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.82591223716736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:17:32.342672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/29/image_21022025_08_29_16_10336.jpg', '/home/pi/Desktop/images/21022025/08/29/image_21022025_08_29_25_9336.jpg', '/home/pi/Desktop/images/21022025/08/29/image_21022025_08_29_36_10334.jpg', '/home/pi/Desktop/images/21022025/08/29/image_21022025_08_29_46_10347.jpg', '/home/pi/Desktop/images/21022025/08/29/image_21022025_08_29_56_9397.jpg', '/home/pi/Desktop/images/21022025/08/29/image_21022025_08_30_06_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/29/image_21022025_08_29_16_10336.jpg
/home/pi/Desktop/images/21022025/08/29/image_21022025_08_29_25_9336.jpg
/home/pi/Desktop/images/21022025/08/29/image_21022025_08_29_36_10334.jpg
/home/pi/Desktop/images/21022025/08/29/image_21022025_08_29_46_10347.jpg
/home/pi/Desktop/images/21022025/08/29/image_21022025_08_29_56_9397.jpg
/home/pi/Desktop/images/21022025/08/29/image_21022025_08_30_06_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338779335","1338779073","1338779079","1338779343","1338779217","1338779345"],"photo_ids_order":["1338779073","1338779079","1338779217","1338779335","1338779343","1338779345"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f519941694f4a4c8f36475f8f1a38fb2.jpg","text":"TemporaryFile(/tmp/multipartBody5164646425815534531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125912865,"filename":"image_21022025_08_29_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a5919d10745a6b7a45869579df28a2a.jpg","text":"TemporaryFile(/tmp/multipartBody6236781373794664552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125912865,"filename":"image_21022025_08_29_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/347c493980b4a82890105c8e7be63bb7.jpg","text":"TemporaryFile(/tmp/multipartBody3411687600572149300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125912865,"filename":"image_21022025_08_29_25_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eb294c9aa29d75f9679a3dc8d6e52521.jpg","text":"TemporaryFile(/tmp/multipartBody6953715946357616322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125912865,"filename":"image_21022025_08_29_56_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/88b98c2451346ffa6f00efa315cbacaa.jpg","text":"TemporaryFile(/tmp/multipartBody2726560395510884904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125912865,"filename":"image_21022025_08_29_36_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1076ff92b43cb790ec78855609f1f6ad.jpg","text":"TemporaryFile(/tmp/multipartBody3696011472605603988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125912865,"filename":"image_21022025_08_30_06_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338779217","file1":"1338779079","file0":"1338779073","file4":"1338779343","file5":"1338779345","file3":"1338779335"},"map_files_photo_id_array":[{"photo_id":"1338779345","filename":"file5"},{"photo_id":"1338779217","filename":"file2"},{"photo_id":"1338779343","filename":"file4"},{"photo_id":"1338779079","filename":"file1"},{"photo_id":"1338779073","filename":"file0"},{"photo_id":"1338779335","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338779335":["hashtag1","hashtag2"]},{"1338779073":["hashtag1","hashtag2"]},{"1338779079":["hashtag1","hashtag2"]},{"1338779343":["hashtag1","hashtag2"]},{"1338779217":["hashtag1","hashtag2"]},{"1338779345":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338779335, 1338779073, 1338779079, 1338779343, 1338779217, 1338779345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59017300605774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:18:32.552978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/30/image_21022025_08_30_36_10365.jpg', '/home/pi/Desktop/images/21022025/08/30/image_21022025_08_30_46_10345.jpg', '/home/pi/Desktop/images/21022025/08/30/image_21022025_08_30_56_9444.jpg', '/home/pi/Desktop/images/21022025/08/31/image_21022025_08_31_16_10336.jpg', '/home/pi/Desktop/images/21022025/08/31/image_21022025_08_31_26_9356.jpg', '/home/pi/Desktop/images/21022025/08/31/image_21022025_08_31_36_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/30/image_21022025_08_30_36_10365.jpg
/home/pi/Desktop/images/21022025/08/30/image_21022025_08_30_46_10345.jpg
/home/pi/Desktop/images/21022025/08/30/image_21022025_08_30_56_9444.jpg
/home/pi/Desktop/images/21022025/08/31/image_21022025_08_31_16_10336.jpg
/home/pi/Desktop/images/21022025/08/31/image_21022025_08_31_26_9356.jpg
/home/pi/Desktop/images/21022025/08/31/image_21022025_08_31_36_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338779569","1338779551","1338779556","1338779630","1338779624","1338779516"],"photo_ids_order":["1338779516","1338779551","1338779556","1338779569","1338779624","1338779630"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6abf5de6f1892de0f54728bae47ed861.jpg","text":"TemporaryFile(/tmp/multipartBody8151828532912334374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125973100,"filename":"image_21022025_08_31_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b081871ab6b0b418797f4bb0701f7c13.jpg","text":"TemporaryFile(/tmp/multipartBody3933301164078512787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125973100,"filename":"image_21022025_08_30_46_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/edd1a55f9dbaef6338f507bb46cd5436.jpg","text":"TemporaryFile(/tmp/multipartBody5246245843982663930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125973100,"filename":"image_21022025_08_30_56_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b9820c45fd6fc4658f818024e19410b8.jpg","text":"TemporaryFile(/tmp/multipartBody6494978479137450426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125973100,"filename":"image_21022025_08_31_36_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/552157eb8fe62aa7b6bd4d7a8dcc00e2.jpg","text":"TemporaryFile(/tmp/multipartBody6480873474222639687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125973100,"filename":"image_21022025_08_31_26_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cafd15ac98c477b27400cd1c47d04411.jpg","text":"TemporaryFile(/tmp/multipartBody4407532808027331547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740125973100,"filename":"image_21022025_08_30_36_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338779556","file1":"1338779551","file0":"1338779516","file4":"1338779624","file5":"1338779630","file3":"1338779569"},"map_files_photo_id_array":[{"photo_id":"1338779630","filename":"file5"},{"photo_id":"1338779556","filename":"file2"},{"photo_id":"1338779624","filename":"file4"},{"photo_id":"1338779551","filename":"file1"},{"photo_id":"1338779516","filename":"file0"},{"photo_id":"1338779569","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338779569":["hashtag1","hashtag2"]},{"1338779551":["hashtag1","hashtag2"]},{"1338779556":["hashtag1","hashtag2"]},{"1338779630":["hashtag1","hashtag2"]},{"1338779624":["hashtag1","hashtag2"]},{"1338779516":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338779569, 1338779551, 1338779556, 1338779630, 1338779624, 1338779516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.417436599731445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:19:33.003417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/31/image_21022025_08_31_46_10325.jpg', '/home/pi/Desktop/images/21022025/08/31/image_21022025_08_31_56_9443.jpg', '/home/pi/Desktop/images/21022025/08/31/image_21022025_08_32_06_10339.jpg', '/home/pi/Desktop/images/21022025/08/32/image_21022025_08_32_16_9423.jpg', '/home/pi/Desktop/images/21022025/08/32/image_21022025_08_32_36_10326.jpg', '/home/pi/Desktop/images/21022025/08/32/image_21022025_08_32_56_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/31/image_21022025_08_31_46_10325.jpg
/home/pi/Desktop/images/21022025/08/31/image_21022025_08_31_56_9443.jpg
/home/pi/Desktop/images/21022025/08/31/image_21022025_08_32_06_10339.jpg
/home/pi/Desktop/images/21022025/08/32/image_21022025_08_32_16_9423.jpg
/home/pi/Desktop/images/21022025/08/32/image_21022025_08_32_36_10326.jpg
/home/pi/Desktop/images/21022025/08/32/image_21022025_08_32_56_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338779701","1338779694","1338779691","1338779700","1338779696","1338779698"],"photo_ids_order":["1338779691","1338779694","1338779696","1338779698","1338779700","1338779701"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6af4e9b00ae9b51461bc86604c2ff8a9.jpg","text":"TemporaryFile(/tmp/multipartBody3712080934766380680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126033502,"filename":"image_21022025_08_32_56_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62084397e70d1e0b94384ef47809963c.jpg","text":"TemporaryFile(/tmp/multipartBody8854935987935810841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126033502,"filename":"image_21022025_08_31_56_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d8d586a3f86be08977b46a668da58bd4.jpg","text":"TemporaryFile(/tmp/multipartBody8546086321426707169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126033502,"filename":"image_21022025_08_31_46_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f27984ae570ba7a7f29f8f37c628421.jpg","text":"TemporaryFile(/tmp/multipartBody2581031870797921832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126033502,"filename":"image_21022025_08_32_36_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/908aa7917a2beb4b71a497e5661379b6.jpg","text":"TemporaryFile(/tmp/multipartBody8046608234721117422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126033502,"filename":"image_21022025_08_32_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b9b89a28e85518ff45b16d579c1fec5.jpg","text":"TemporaryFile(/tmp/multipartBody7473103539200434959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126033502,"filename":"image_21022025_08_32_16_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338779696","file1":"1338779694","file0":"1338779691","file4":"1338779700","file5":"1338779701","file3":"1338779698"},"map_files_photo_id_array":[{"photo_id":"1338779701","filename":"file5"},{"photo_id":"1338779696","filename":"file2"},{"photo_id":"1338779700","filename":"file4"},{"photo_id":"1338779694","filename":"file1"},{"photo_id":"1338779691","filename":"file0"},{"photo_id":"1338779698","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338779701":["hashtag1","hashtag2"]},{"1338779694":["hashtag1","hashtag2"]},{"1338779691":["hashtag1","hashtag2"]},{"1338779700":["hashtag1","hashtag2"]},{"1338779696":["hashtag1","hashtag2"]},{"1338779698":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338779701, 1338779694, 1338779691, 1338779700, 1338779696, 1338779698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.229156494140625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:20:33.071892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/33/image_21022025_08_33_16_9377.jpg', '/home/pi/Desktop/images/21022025/08/33/image_21022025_08_33_26_10409.jpg', '/home/pi/Desktop/images/21022025/08/33/image_21022025_08_33_36_9391.jpg', '/home/pi/Desktop/images/21022025/08/33/image_21022025_08_33_46_10355.jpg', '/home/pi/Desktop/images/21022025/08/34/image_21022025_08_34_46_10339.jpg', '/home/pi/Desktop/images/21022025/08/34/image_21022025_08_34_56_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/33/image_21022025_08_33_16_9377.jpg
/home/pi/Desktop/images/21022025/08/33/image_21022025_08_33_26_10409.jpg
/home/pi/Desktop/images/21022025/08/33/image_21022025_08_33_36_9391.jpg
/home/pi/Desktop/images/21022025/08/33/image_21022025_08_33_46_10355.jpg
/home/pi/Desktop/images/21022025/08/34/image_21022025_08_34_46_10339.jpg
/home/pi/Desktop/images/21022025/08/34/image_21022025_08_34_56_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338780166","1338780211","1338780282","1338780115","1338780060","1338780084"],"photo_ids_order":["1338780060","1338780084","1338780115","1338780166","1338780211","1338780282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/456eff579cd820a5b93e54a087130234.jpg","text":"TemporaryFile(/tmp/multipartBody2976133646533212713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126093565,"filename":"image_21022025_08_33_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0bbb2d3b94a6279184e493bc92ee76d4.jpg","text":"TemporaryFile(/tmp/multipartBody4892180844661162081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126093565,"filename":"image_21022025_08_34_46_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a8a191b773b984d6cd405f9a79821555.jpg","text":"TemporaryFile(/tmp/multipartBody959102176124180906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126093565,"filename":"image_21022025_08_34_56_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/30b83345b4a432681d47b9794c69e5fe.jpg","text":"TemporaryFile(/tmp/multipartBody3318821141732718826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126093565,"filename":"image_21022025_08_33_36_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/27dea6cbe159e6660a499da36c6ce057.jpg","text":"TemporaryFile(/tmp/multipartBody6605192617329478776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126093565,"filename":"image_21022025_08_33_16_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/492f4c367c3fc204f7b088208e87d0e6.jpg","text":"TemporaryFile(/tmp/multipartBody3683244510497987565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126093565,"filename":"image_21022025_08_33_26_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338780115","file1":"1338780084","file0":"1338780060","file4":"1338780211","file5":"1338780282","file3":"1338780166"},"map_files_photo_id_array":[{"photo_id":"1338780282","filename":"file5"},{"photo_id":"1338780115","filename":"file2"},{"photo_id":"1338780211","filename":"file4"},{"photo_id":"1338780084","filename":"file1"},{"photo_id":"1338780060","filename":"file0"},{"photo_id":"1338780166","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338780166":["hashtag1","hashtag2"]},{"1338780211":["hashtag1","hashtag2"]},{"1338780282":["hashtag1","hashtag2"]},{"1338780115":["hashtag1","hashtag2"]},{"1338780060":["hashtag1","hashtag2"]},{"1338780084":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338780166, 1338780211, 1338780282, 1338780115, 1338780060, 1338780084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.478546142578125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:21:32.234091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/34/image_21022025_08_35_06_9410.jpg', '/home/pi/Desktop/images/21022025/08/35/image_21022025_08_35_16_10351.jpg', '/home/pi/Desktop/images/21022025/08/35/image_21022025_08_35_26_10342.jpg', '/home/pi/Desktop/images/21022025/08/35/image_21022025_08_35_36_9324.jpg', '/home/pi/Desktop/images/21022025/08/35/image_21022025_08_35_46_10345.jpg', '/home/pi/Desktop/images/21022025/08/35/image_21022025_08_35_55_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/34/image_21022025_08_35_06_9410.jpg
/home/pi/Desktop/images/21022025/08/35/image_21022025_08_35_16_10351.jpg
/home/pi/Desktop/images/21022025/08/35/image_21022025_08_35_26_10342.jpg
/home/pi/Desktop/images/21022025/08/35/image_21022025_08_35_36_9324.jpg
/home/pi/Desktop/images/21022025/08/35/image_21022025_08_35_46_10345.jpg
/home/pi/Desktop/images/21022025/08/35/image_21022025_08_35_55_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338780982","1338781009","1338780879","1338780936","1338780816","1338780738"],"photo_ids_order":["1338780738","1338780816","1338780879","1338780936","1338780982","1338781009"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9051623dd490e47c5371ea2d2f2e334a.jpg","text":"TemporaryFile(/tmp/multipartBody3451175288812058884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126152710,"filename":"image_21022025_08_35_46_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c8506b55be3320844ce44fe9ecb7cb07.jpg","text":"TemporaryFile(/tmp/multipartBody258715356565678907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126152710,"filename":"image_21022025_08_35_55_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b9aa3f1cae0f6affda7a9afc014ff679.jpg","text":"TemporaryFile(/tmp/multipartBody7266961743469534748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126152710,"filename":"image_21022025_08_35_26_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/250bf4e0d40bda039bff114afb9d1c84.jpg","text":"TemporaryFile(/tmp/multipartBody6702754061703147538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126152710,"filename":"image_21022025_08_35_36_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8db2967be39b06412db5edbc1174f01c.jpg","text":"TemporaryFile(/tmp/multipartBody8038813727446862219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126152710,"filename":"image_21022025_08_35_16_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c15d619d132fe0d3e97682de8a83e1ec.jpg","text":"TemporaryFile(/tmp/multipartBody8445715338172486875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126152710,"filename":"image_21022025_08_35_06_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338780879","file1":"1338780816","file0":"1338780738","file4":"1338780982","file5":"1338781009","file3":"1338780936"},"map_files_photo_id_array":[{"photo_id":"1338781009","filename":"file5"},{"photo_id":"1338780879","filename":"file2"},{"photo_id":"1338780982","filename":"file4"},{"photo_id":"1338780816","filename":"file1"},{"photo_id":"1338780738","filename":"file0"},{"photo_id":"1338780936","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338780982":["hashtag1","hashtag2"]},{"1338781009":["hashtag1","hashtag2"]},{"1338780879":["hashtag1","hashtag2"]},{"1338780936":["hashtag1","hashtag2"]},{"1338780816":["hashtag1","hashtag2"]},{"1338780738":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338780982, 1338781009, 1338780879, 1338780936, 1338780816, 1338780738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17758655548096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:22:32.514441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/35/image_21022025_08_36_06_10336.jpg', '/home/pi/Desktop/images/21022025/08/36/image_21022025_08_36_16_10322.jpg', '/home/pi/Desktop/images/21022025/08/36/image_21022025_08_36_26_10332.jpg', '/home/pi/Desktop/images/21022025/08/36/image_21022025_08_36_36_9433.jpg', '/home/pi/Desktop/images/21022025/08/36/image_21022025_08_36_46_10339.jpg', '/home/pi/Desktop/images/21022025/08/36/image_21022025_08_36_56_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/35/image_21022025_08_36_06_10336.jpg
/home/pi/Desktop/images/21022025/08/36/image_21022025_08_36_16_10322.jpg
/home/pi/Desktop/images/21022025/08/36/image_21022025_08_36_26_10332.jpg
/home/pi/Desktop/images/21022025/08/36/image_21022025_08_36_36_9433.jpg
/home/pi/Desktop/images/21022025/08/36/image_21022025_08_36_46_10339.jpg
/home/pi/Desktop/images/21022025/08/36/image_21022025_08_36_56_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338781060","1338781057","1338781053","1338781062","1338781058","1338781055"],"photo_ids_order":["1338781053","1338781055","1338781057","1338781058","1338781060","1338781062"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/63e18abbb539504e55fd722870f92ffd.jpg","text":"TemporaryFile(/tmp/multipartBody8001418424753323041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126213000,"filename":"image_21022025_08_36_46_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d79006afcfec3857cf72a476ba8b3db.jpg","text":"TemporaryFile(/tmp/multipartBody1070021374866081774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126213000,"filename":"image_21022025_08_36_26_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b8ad556e792ddfc33bc1ea14bdbbec62.jpg","text":"TemporaryFile(/tmp/multipartBody4425244949892907463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126213000,"filename":"image_21022025_08_36_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1fa0eaf94af9bd8d375f1c52abf50517.jpg","text":"TemporaryFile(/tmp/multipartBody6742807066560138970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126213000,"filename":"image_21022025_08_36_56_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9cd2bb33c7ff1e97be142d2897821e3f.jpg","text":"TemporaryFile(/tmp/multipartBody6664072808757715298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126213000,"filename":"image_21022025_08_36_36_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a1f1f0c9b5dcae90e3ea45b704f44b27.jpg","text":"TemporaryFile(/tmp/multipartBody7980498764678939719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126213000,"filename":"image_21022025_08_36_16_10322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338781057","file1":"1338781055","file0":"1338781053","file4":"1338781060","file5":"1338781062","file3":"1338781058"},"map_files_photo_id_array":[{"photo_id":"1338781062","filename":"file5"},{"photo_id":"1338781057","filename":"file2"},{"photo_id":"1338781060","filename":"file4"},{"photo_id":"1338781055","filename":"file1"},{"photo_id":"1338781053","filename":"file0"},{"photo_id":"1338781058","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338781060":["hashtag1","hashtag2"]},{"1338781057":["hashtag1","hashtag2"]},{"1338781053":["hashtag1","hashtag2"]},{"1338781062":["hashtag1","hashtag2"]},{"1338781058":["hashtag1","hashtag2"]},{"1338781055":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338781060, 1338781057, 1338781053, 1338781062, 1338781058, 1338781055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97486710548401 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:23:32.758796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/36/image_21022025_08_37_06_10334.jpg', '/home/pi/Desktop/images/21022025/08/37/image_21022025_08_37_16_10392.jpg', '/home/pi/Desktop/images/21022025/08/37/image_21022025_08_37_26_9424.jpg', '/home/pi/Desktop/images/21022025/08/37/image_21022025_08_37_36_10425.jpg', '/home/pi/Desktop/images/21022025/08/37/image_21022025_08_37_46_9429.jpg', '/home/pi/Desktop/images/21022025/08/37/image_21022025_08_38_06_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/36/image_21022025_08_37_06_10334.jpg
/home/pi/Desktop/images/21022025/08/37/image_21022025_08_37_16_10392.jpg
/home/pi/Desktop/images/21022025/08/37/image_21022025_08_37_26_9424.jpg
/home/pi/Desktop/images/21022025/08/37/image_21022025_08_37_36_10425.jpg
/home/pi/Desktop/images/21022025/08/37/image_21022025_08_37_46_9429.jpg
/home/pi/Desktop/images/21022025/08/37/image_21022025_08_38_06_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338781213","1338781215","1338781209","1338781218","1338781211","1338781217"],"photo_ids_order":["1338781209","1338781211","1338781213","1338781215","1338781217","1338781218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/10d539caf6e529e664f429cf102ff17f.jpg","text":"TemporaryFile(/tmp/multipartBody6087253412770151214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126273272,"filename":"image_21022025_08_37_26_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a029b843e008c15c6794a6af3035a9a4.jpg","text":"TemporaryFile(/tmp/multipartBody1165679702241568631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126273272,"filename":"image_21022025_08_37_36_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c455d47280053ffa05df16a9a10c4e7d.jpg","text":"TemporaryFile(/tmp/multipartBody4813853302824000856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126273272,"filename":"image_21022025_08_37_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f58313cd887454a7f8a2728d8b44e54f.jpg","text":"TemporaryFile(/tmp/multipartBody5859885368539036827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126273272,"filename":"image_21022025_08_38_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3de041e086af8a8505dd37531a45aa6f.jpg","text":"TemporaryFile(/tmp/multipartBody8082657173798944679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126273272,"filename":"image_21022025_08_37_16_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b6820637f2693b5448ffa114a0b7f02.jpg","text":"TemporaryFile(/tmp/multipartBody3649642810955839235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126273272,"filename":"image_21022025_08_37_46_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338781213","file1":"1338781211","file0":"1338781209","file4":"1338781217","file5":"1338781218","file3":"1338781215"},"map_files_photo_id_array":[{"photo_id":"1338781218","filename":"file5"},{"photo_id":"1338781213","filename":"file2"},{"photo_id":"1338781217","filename":"file4"},{"photo_id":"1338781211","filename":"file1"},{"photo_id":"1338781209","filename":"file0"},{"photo_id":"1338781215","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338781213":["hashtag1","hashtag2"]},{"1338781215":["hashtag1","hashtag2"]},{"1338781209":["hashtag1","hashtag2"]},{"1338781218":["hashtag1","hashtag2"]},{"1338781211":["hashtag1","hashtag2"]},{"1338781217":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338781213, 1338781215, 1338781209, 1338781218, 1338781211, 1338781217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.575297355651855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:24:32.837547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/38/image_21022025_08_38_26_10341.jpg', '/home/pi/Desktop/images/21022025/08/38/image_21022025_08_38_36_10354.jpg', '/home/pi/Desktop/images/21022025/08/38/image_21022025_08_38_46_9371.jpg', '/home/pi/Desktop/images/21022025/08/38/image_21022025_08_39_06_10336.jpg', '/home/pi/Desktop/images/21022025/08/39/image_21022025_08_39_16_9438.jpg', '/home/pi/Desktop/images/21022025/08/39/image_21022025_08_39_26_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/38/image_21022025_08_38_26_10341.jpg
/home/pi/Desktop/images/21022025/08/38/image_21022025_08_38_36_10354.jpg
/home/pi/Desktop/images/21022025/08/38/image_21022025_08_38_46_9371.jpg
/home/pi/Desktop/images/21022025/08/38/image_21022025_08_39_06_10336.jpg
/home/pi/Desktop/images/21022025/08/39/image_21022025_08_39_16_9438.jpg
/home/pi/Desktop/images/21022025/08/39/image_21022025_08_39_26_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338781240","1338781243","1338781237","1338781232","1338781235","1338781229"],"photo_ids_order":["1338781229","1338781232","1338781235","1338781237","1338781240","1338781243"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce7edfece60f2dd659a6484e1b842407.jpg","text":"TemporaryFile(/tmp/multipartBody353226540313707097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126333320,"filename":"image_21022025_08_39_16_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/86bb6cdc05cbd90bdf4f32adb2a9cb57.jpg","text":"TemporaryFile(/tmp/multipartBody6760050923293537437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126333320,"filename":"image_21022025_08_39_26_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6004de79dececafd13fe6ba02f2b2fa4.jpg","text":"TemporaryFile(/tmp/multipartBody8810031933057268585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126333320,"filename":"image_21022025_08_39_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e97455cad4b4adfb4dde121b3ba7ce48.jpg","text":"TemporaryFile(/tmp/multipartBody2434441071503981722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126333320,"filename":"image_21022025_08_38_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5751d0606dc1a80c6c8c9b53ee052946.jpg","text":"TemporaryFile(/tmp/multipartBody1047339918282610853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126333320,"filename":"image_21022025_08_38_46_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5de42bf033e35063f356b39553f2cef3.jpg","text":"TemporaryFile(/tmp/multipartBody8685081147671010140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126333320,"filename":"image_21022025_08_38_26_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338781235","file1":"1338781232","file0":"1338781229","file4":"1338781240","file5":"1338781243","file3":"1338781237"},"map_files_photo_id_array":[{"photo_id":"1338781243","filename":"file5"},{"photo_id":"1338781235","filename":"file2"},{"photo_id":"1338781240","filename":"file4"},{"photo_id":"1338781232","filename":"file1"},{"photo_id":"1338781229","filename":"file0"},{"photo_id":"1338781237","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338781240":["hashtag1","hashtag2"]},{"1338781243":["hashtag1","hashtag2"]},{"1338781237":["hashtag1","hashtag2"]},{"1338781232":["hashtag1","hashtag2"]},{"1338781235":["hashtag1","hashtag2"]},{"1338781229":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338781240, 1338781243, 1338781237, 1338781232, 1338781235, 1338781229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.457929611206055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:25:33.031135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/39/image_21022025_08_39_36_9438.jpg', '/home/pi/Desktop/images/21022025/08/39/image_21022025_08_39_46_10340.jpg', '/home/pi/Desktop/images/21022025/08/39/image_21022025_08_39_56_10342.jpg', '/home/pi/Desktop/images/21022025/08/39/image_21022025_08_40_06_9356.jpg', '/home/pi/Desktop/images/21022025/08/40/image_21022025_08_40_16_10335.jpg', '/home/pi/Desktop/images/21022025/08/40/image_21022025_08_40_26_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/39/image_21022025_08_39_36_9438.jpg
/home/pi/Desktop/images/21022025/08/39/image_21022025_08_39_46_10340.jpg
/home/pi/Desktop/images/21022025/08/39/image_21022025_08_39_56_10342.jpg
/home/pi/Desktop/images/21022025/08/39/image_21022025_08_40_06_9356.jpg
/home/pi/Desktop/images/21022025/08/40/image_21022025_08_40_16_10335.jpg
/home/pi/Desktop/images/21022025/08/40/image_21022025_08_40_26_10458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338781261","1338781263","1338781269","1338781268","1338781271","1338781264"],"photo_ids_order":["1338781261","1338781263","1338781264","1338781268","1338781269","1338781271"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a0f470a1f2e73e7f27dd96bfa7006fb5.jpg","text":"TemporaryFile(/tmp/multipartBody1654453577033557812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126393520,"filename":"image_21022025_08_39_36_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d36af120844b50473c15a0275c7c031.jpg","text":"TemporaryFile(/tmp/multipartBody4781515612518834719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126393520,"filename":"image_21022025_08_39_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/66c4896a2b724a341dbe03bb4a2bc9bb.jpg","text":"TemporaryFile(/tmp/multipartBody7710975819367431518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126393520,"filename":"image_21022025_08_40_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/749a97ab9ba978763e47a8c734b50a9c.jpg","text":"TemporaryFile(/tmp/multipartBody5954063529843910070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126393520,"filename":"image_21022025_08_40_06_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a0a558f31d3be57c5c6a095c3c7b8d3.jpg","text":"TemporaryFile(/tmp/multipartBody1209147481665539070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126393520,"filename":"image_21022025_08_40_26_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8ea1ba388ea0217dae9e2e4e0ace142f.jpg","text":"TemporaryFile(/tmp/multipartBody2134433050451554133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126393520,"filename":"image_21022025_08_39_56_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338781264","file1":"1338781263","file0":"1338781261","file4":"1338781269","file5":"1338781271","file3":"1338781268"},"map_files_photo_id_array":[{"photo_id":"1338781271","filename":"file5"},{"photo_id":"1338781264","filename":"file2"},{"photo_id":"1338781269","filename":"file4"},{"photo_id":"1338781263","filename":"file1"},{"photo_id":"1338781261","filename":"file0"},{"photo_id":"1338781268","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338781261":["hashtag1","hashtag2"]},{"1338781263":["hashtag1","hashtag2"]},{"1338781269":["hashtag1","hashtag2"]},{"1338781268":["hashtag1","hashtag2"]},{"1338781271":["hashtag1","hashtag2"]},{"1338781264":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338781261, 1338781263, 1338781269, 1338781268, 1338781271, 1338781264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26047229766846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:26:32.198497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/40/image_21022025_08_40_36_9389.jpg', '/home/pi/Desktop/images/21022025/08/40/image_21022025_08_40_46_10325.jpg', '/home/pi/Desktop/images/21022025/08/40/image_21022025_08_40_56_9457.jpg', '/home/pi/Desktop/images/21022025/08/41/image_21022025_08_41_16_10318.jpg', '/home/pi/Desktop/images/21022025/08/41/image_21022025_08_41_26_9441.jpg', '/home/pi/Desktop/images/21022025/08/41/image_21022025_08_41_36_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/40/image_21022025_08_40_36_9389.jpg
/home/pi/Desktop/images/21022025/08/40/image_21022025_08_40_46_10325.jpg
/home/pi/Desktop/images/21022025/08/40/image_21022025_08_40_56_9457.jpg
/home/pi/Desktop/images/21022025/08/41/image_21022025_08_41_16_10318.jpg
/home/pi/Desktop/images/21022025/08/41/image_21022025_08_41_26_9441.jpg
/home/pi/Desktop/images/21022025/08/41/image_21022025_08_41_36_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338781345","1338781362","1338781338","1338781347","1338781349","1338781340"],"photo_ids_order":["1338781338","1338781340","1338781345","1338781347","1338781349","1338781362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d334d084b916a7049e7bd193eb9fdd73.jpg","text":"TemporaryFile(/tmp/multipartBody7476869859076934177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126452680,"filename":"image_21022025_08_40_56_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9508abb7999a5eb8b6e2766e327b3154.jpg","text":"TemporaryFile(/tmp/multipartBody852493586290297958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126452680,"filename":"image_21022025_08_41_36_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a7ce24e500e7020a10b1cb6b6db6d33f.jpg","text":"TemporaryFile(/tmp/multipartBody844544799717554096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126452680,"filename":"image_21022025_08_40_36_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61f050c2580c88df746f80cc31cf09fa.jpg","text":"TemporaryFile(/tmp/multipartBody1967609368348812658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126452680,"filename":"image_21022025_08_41_16_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce106bf0b8cde1dfb210d00a396272c0.jpg","text":"TemporaryFile(/tmp/multipartBody8037847429882179400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126452680,"filename":"image_21022025_08_41_26_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd1080e817df209fa02857292ed20913.jpg","text":"TemporaryFile(/tmp/multipartBody2171457978263419789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126452680,"filename":"image_21022025_08_40_46_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338781345","file1":"1338781340","file0":"1338781338","file4":"1338781349","file5":"1338781362","file3":"1338781347"},"map_files_photo_id_array":[{"photo_id":"1338781362","filename":"file5"},{"photo_id":"1338781345","filename":"file2"},{"photo_id":"1338781349","filename":"file4"},{"photo_id":"1338781340","filename":"file1"},{"photo_id":"1338781338","filename":"file0"},{"photo_id":"1338781347","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338781345":["hashtag1","hashtag2"]},{"1338781362":["hashtag1","hashtag2"]},{"1338781338":["hashtag1","hashtag2"]},{"1338781347":["hashtag1","hashtag2"]},{"1338781349":["hashtag1","hashtag2"]},{"1338781340":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338781345, 1338781362, 1338781338, 1338781347, 1338781349, 1338781340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.979469299316406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:27:32.445232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/41/image_21022025_08_41_46_10347.jpg', '/home/pi/Desktop/images/21022025/08/41/image_21022025_08_41_56_9409.jpg', '/home/pi/Desktop/images/21022025/08/41/image_21022025_08_42_06_10347.jpg', '/home/pi/Desktop/images/21022025/08/42/image_21022025_08_42_16_9450.jpg', '/home/pi/Desktop/images/21022025/08/42/image_21022025_08_42_26_10409.jpg', '/home/pi/Desktop/images/21022025/08/42/image_21022025_08_42_36_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/41/image_21022025_08_41_46_10347.jpg
/home/pi/Desktop/images/21022025/08/41/image_21022025_08_41_56_9409.jpg
/home/pi/Desktop/images/21022025/08/41/image_21022025_08_42_06_10347.jpg
/home/pi/Desktop/images/21022025/08/42/image_21022025_08_42_16_9450.jpg
/home/pi/Desktop/images/21022025/08/42/image_21022025_08_42_26_10409.jpg
/home/pi/Desktop/images/21022025/08/42/image_21022025_08_42_36_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338781438","1338781389","1338781431","1338781440","1338781434","1338781436"],"photo_ids_order":["1338781389","1338781431","1338781434","1338781436","1338781438","1338781440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/349bb7e6deff6d4086ca14b5cce8183d.jpg","text":"TemporaryFile(/tmp/multipartBody2935131517584782509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126512927,"filename":"image_21022025_08_42_26_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/531ac8a73c7adf63c63a9f8a08a6edba.jpg","text":"TemporaryFile(/tmp/multipartBody4820841728281436901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126512927,"filename":"image_21022025_08_41_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f55e3e3e4c2113a952e7eb011b73c16.jpg","text":"TemporaryFile(/tmp/multipartBody1406189674004560472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126512927,"filename":"image_21022025_08_41_56_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dd076ccc12f655e0d31fc1fdf4f89376.jpg","text":"TemporaryFile(/tmp/multipartBody5838273191221372243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126512927,"filename":"image_21022025_08_42_36_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5ac86f91ba7255fa3c4ea933a11da540.jpg","text":"TemporaryFile(/tmp/multipartBody9219749828644565559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126512927,"filename":"image_21022025_08_42_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23a1d8bc73df5839ca4ed9439ed702f5.jpg","text":"TemporaryFile(/tmp/multipartBody1332049785601491696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126512927,"filename":"image_21022025_08_42_16_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338781434","file1":"1338781431","file0":"1338781389","file4":"1338781438","file5":"1338781440","file3":"1338781436"},"map_files_photo_id_array":[{"photo_id":"1338781440","filename":"file5"},{"photo_id":"1338781434","filename":"file2"},{"photo_id":"1338781438","filename":"file4"},{"photo_id":"1338781431","filename":"file1"},{"photo_id":"1338781389","filename":"file0"},{"photo_id":"1338781436","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338781438":["hashtag1","hashtag2"]},{"1338781389":["hashtag1","hashtag2"]},{"1338781431":["hashtag1","hashtag2"]},{"1338781440":["hashtag1","hashtag2"]},{"1338781434":["hashtag1","hashtag2"]},{"1338781436":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338781438, 1338781389, 1338781431, 1338781440, 1338781434, 1338781436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29804992675781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:28:32.637520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/42/image_21022025_08_42_46_9318.jpg', '/home/pi/Desktop/images/21022025/08/42/image_21022025_08_42_56_10411.jpg', '/home/pi/Desktop/images/21022025/08/42/image_21022025_08_43_06_9439.jpg', '/home/pi/Desktop/images/21022025/08/43/image_21022025_08_43_16_10406.jpg', '/home/pi/Desktop/images/21022025/08/43/image_21022025_08_43_26_10342.jpg', '/home/pi/Desktop/images/21022025/08/43/image_21022025_08_43_36_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/42/image_21022025_08_42_46_9318.jpg
/home/pi/Desktop/images/21022025/08/42/image_21022025_08_42_56_10411.jpg
/home/pi/Desktop/images/21022025/08/42/image_21022025_08_43_06_9439.jpg
/home/pi/Desktop/images/21022025/08/43/image_21022025_08_43_16_10406.jpg
/home/pi/Desktop/images/21022025/08/43/image_21022025_08_43_26_10342.jpg
/home/pi/Desktop/images/21022025/08/43/image_21022025_08_43_36_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338781516","1338781518","1338781509","1338781514","1338781511","1338781508"],"photo_ids_order":["1338781508","1338781509","1338781511","1338781514","1338781516","1338781518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b30d18a882163e4289f60584116c9c47.jpg","text":"TemporaryFile(/tmp/multipartBody1570342725817935023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126573120,"filename":"image_21022025_08_43_26_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b6f1a731ca3e1bd2ba4e937be84980a2.jpg","text":"TemporaryFile(/tmp/multipartBody1798914374252715118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126573120,"filename":"image_21022025_08_43_36_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bc5caa82bfc4351840cb875d9568d51a.jpg","text":"TemporaryFile(/tmp/multipartBody6331680544917299586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126573120,"filename":"image_21022025_08_42_56_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/98946538a3e67bb1e25c087d812af14d.jpg","text":"TemporaryFile(/tmp/multipartBody3567705148670554945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126573120,"filename":"image_21022025_08_43_16_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fadce617e975306ee57fbdb7effb19e7.jpg","text":"TemporaryFile(/tmp/multipartBody2641326085034890942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126573120,"filename":"image_21022025_08_43_06_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c37edbcc4df2ff7ae0fa812338080cd.jpg","text":"TemporaryFile(/tmp/multipartBody4833036181480686270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126573120,"filename":"image_21022025_08_42_46_9318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338781511","file1":"1338781509","file0":"1338781508","file4":"1338781516","file5":"1338781518","file3":"1338781514"},"map_files_photo_id_array":[{"photo_id":"1338781518","filename":"file5"},{"photo_id":"1338781511","filename":"file2"},{"photo_id":"1338781516","filename":"file4"},{"photo_id":"1338781509","filename":"file1"},{"photo_id":"1338781508","filename":"file0"},{"photo_id":"1338781514","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338781516":["hashtag1","hashtag2"]},{"1338781518":["hashtag1","hashtag2"]},{"1338781509":["hashtag1","hashtag2"]},{"1338781514":["hashtag1","hashtag2"]},{"1338781511":["hashtag1","hashtag2"]},{"1338781508":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338781516, 1338781518, 1338781509, 1338781514, 1338781511, 1338781508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.47095799446106 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:29:32.990625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/43/image_21022025_08_43_46_10337.jpg', '/home/pi/Desktop/images/21022025/08/43/image_21022025_08_43_56_10338.jpg', '/home/pi/Desktop/images/21022025/08/43/image_21022025_08_44_06_9329.jpg', '/home/pi/Desktop/images/21022025/08/44/image_21022025_08_44_16_10340.jpg', '/home/pi/Desktop/images/21022025/08/44/image_21022025_08_44_26_10334.jpg', '/home/pi/Desktop/images/21022025/08/44/image_21022025_08_44_36_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/43/image_21022025_08_43_46_10337.jpg
/home/pi/Desktop/images/21022025/08/43/image_21022025_08_43_56_10338.jpg
/home/pi/Desktop/images/21022025/08/43/image_21022025_08_44_06_9329.jpg
/home/pi/Desktop/images/21022025/08/44/image_21022025_08_44_16_10340.jpg
/home/pi/Desktop/images/21022025/08/44/image_21022025_08_44_26_10334.jpg
/home/pi/Desktop/images/21022025/08/44/image_21022025_08_44_36_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338781549","1338781537","1338781550","1338781553","1338781547","1338781544"],"photo_ids_order":["1338781537","1338781544","1338781547","1338781549","1338781550","1338781553"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac9ecee26ee45f17d9e8ebd87e685eb0.jpg","text":"TemporaryFile(/tmp/multipartBody8734571092413518936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126633476,"filename":"image_21022025_08_44_16_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c502dee9dca7de7fe44294b182afbe9.jpg","text":"TemporaryFile(/tmp/multipartBody8932095258688603507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126633476,"filename":"image_21022025_08_43_46_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d9d628d72dca25746e1584db6370a77b.jpg","text":"TemporaryFile(/tmp/multipartBody2878863069614868916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126633476,"filename":"image_21022025_08_44_26_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1c370e130de2eaaf04a9c755121047ba.jpg","text":"TemporaryFile(/tmp/multipartBody2332447011010308196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126633476,"filename":"image_21022025_08_44_36_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b18ddb000ddb3e6fdc9bec63a0069960.jpg","text":"TemporaryFile(/tmp/multipartBody1662630049921122846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126633476,"filename":"image_21022025_08_44_06_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ffa3cbb5c9c87fc2448af87f3203abd2.jpg","text":"TemporaryFile(/tmp/multipartBody8057431857835502602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126633476,"filename":"image_21022025_08_43_56_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338781547","file1":"1338781544","file0":"1338781537","file4":"1338781550","file5":"1338781553","file3":"1338781549"},"map_files_photo_id_array":[{"photo_id":"1338781553","filename":"file5"},{"photo_id":"1338781547","filename":"file2"},{"photo_id":"1338781550","filename":"file4"},{"photo_id":"1338781544","filename":"file1"},{"photo_id":"1338781537","filename":"file0"},{"photo_id":"1338781549","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338781549":["hashtag1","hashtag2"]},{"1338781537":["hashtag1","hashtag2"]},{"1338781550":["hashtag1","hashtag2"]},{"1338781553":["hashtag1","hashtag2"]},{"1338781547":["hashtag1","hashtag2"]},{"1338781544":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338781549, 1338781537, 1338781550, 1338781553, 1338781547, 1338781544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65302896499634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:30:33.112723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/44/image_21022025_08_44_46_10344.jpg', '/home/pi/Desktop/images/21022025/08/44/image_21022025_08_44_56_9401.jpg', '/home/pi/Desktop/images/21022025/08/44/image_21022025_08_45_06_10343.jpg', '/home/pi/Desktop/images/21022025/08/45/image_21022025_08_45_16_10384.jpg', '/home/pi/Desktop/images/21022025/08/45/image_21022025_08_45_26_9335.jpg', '/home/pi/Desktop/images/21022025/08/45/image_21022025_08_45_36_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/44/image_21022025_08_44_46_10344.jpg
/home/pi/Desktop/images/21022025/08/44/image_21022025_08_44_56_9401.jpg
/home/pi/Desktop/images/21022025/08/44/image_21022025_08_45_06_10343.jpg
/home/pi/Desktop/images/21022025/08/45/image_21022025_08_45_16_10384.jpg
/home/pi/Desktop/images/21022025/08/45/image_21022025_08_45_26_9335.jpg
/home/pi/Desktop/images/21022025/08/45/image_21022025_08_45_36_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338781618","1338781609","1338781611","1338781614","1338781613","1338781616"],"photo_ids_order":["1338781609","1338781611","1338781613","1338781614","1338781616","1338781618"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/70cd34c37d41d742dc6c66ab365137f2.jpg","text":"TemporaryFile(/tmp/multipartBody3091377501954581663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126693610,"filename":"image_21022025_08_45_36_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2074fd3429151db3365c0f58aae57d93.jpg","text":"TemporaryFile(/tmp/multipartBody4084506852732498292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126693610,"filename":"image_21022025_08_44_46_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6b7be596e3f23cdad6b88192ac236bb7.jpg","text":"TemporaryFile(/tmp/multipartBody142909009372019799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126693610,"filename":"image_21022025_08_44_56_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/066c5ffdb1ec5e6e594c5bd669692aa1.jpg","text":"TemporaryFile(/tmp/multipartBody4774696358095680902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126693610,"filename":"image_21022025_08_45_16_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b52d137ac2e90478629b6a0d841a5d74.jpg","text":"TemporaryFile(/tmp/multipartBody8660649903166158634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126693610,"filename":"image_21022025_08_45_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bb4567961da0b4c7fedfc5dec0b9f563.jpg","text":"TemporaryFile(/tmp/multipartBody1536402257648685842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126693610,"filename":"image_21022025_08_45_26_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338781613","file1":"1338781611","file0":"1338781609","file4":"1338781616","file5":"1338781618","file3":"1338781614"},"map_files_photo_id_array":[{"photo_id":"1338781618","filename":"file5"},{"photo_id":"1338781613","filename":"file2"},{"photo_id":"1338781616","filename":"file4"},{"photo_id":"1338781611","filename":"file1"},{"photo_id":"1338781609","filename":"file0"},{"photo_id":"1338781614","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338781618":["hashtag1","hashtag2"]},{"1338781609":["hashtag1","hashtag2"]},{"1338781611":["hashtag1","hashtag2"]},{"1338781614":["hashtag1","hashtag2"]},{"1338781613":["hashtag1","hashtag2"]},{"1338781616":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338781618, 1338781609, 1338781611, 1338781614, 1338781613, 1338781616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89743113517761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:31:32.546642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/45/image_21022025_08_45_46_10325.jpg', '/home/pi/Desktop/images/21022025/08/45/image_21022025_08_45_56_9350.jpg', '/home/pi/Desktop/images/21022025/08/46/image_21022025_08_46_16_10096.jpg', '/home/pi/Desktop/images/21022025/08/46/image_21022025_08_46_26_10351.jpg', '/home/pi/Desktop/images/21022025/08/46/image_21022025_08_46_36_9323.jpg', '/home/pi/Desktop/images/21022025/08/46/image_21022025_08_46_46_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/45/image_21022025_08_45_46_10325.jpg
/home/pi/Desktop/images/21022025/08/45/image_21022025_08_45_56_9350.jpg
/home/pi/Desktop/images/21022025/08/46/image_21022025_08_46_16_10096.jpg
/home/pi/Desktop/images/21022025/08/46/image_21022025_08_46_26_10351.jpg
/home/pi/Desktop/images/21022025/08/46/image_21022025_08_46_36_9323.jpg
/home/pi/Desktop/images/21022025/08/46/image_21022025_08_46_46_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338781630","1338781635","1338781629","1338781638","1338781632","1338781628"],"photo_ids_order":["1338781628","1338781629","1338781630","1338781632","1338781635","1338781638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7e2afefc55cbd26ac2ad3a7ae624d13.jpg","text":"TemporaryFile(/tmp/multipartBody3719722269192861279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126753038,"filename":"image_21022025_08_46_16_10096.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c9c05772612c1eb8ffa7c3adc6719995.jpg","text":"TemporaryFile(/tmp/multipartBody6809076487300954513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126753038,"filename":"image_21022025_08_46_36_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8a97729ee53ca14db189cfaf7c26e54e.jpg","text":"TemporaryFile(/tmp/multipartBody1264116353606740347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126753038,"filename":"image_21022025_08_45_56_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c2fe95448c22849b97977090509152d7.jpg","text":"TemporaryFile(/tmp/multipartBody3397495613122750529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126753038,"filename":"image_21022025_08_46_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02051b2e8bc35730f587bd9a9e2b7768.jpg","text":"TemporaryFile(/tmp/multipartBody6870234292729532646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126753038,"filename":"image_21022025_08_46_26_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cc9454189cd93e0a9f11af4d536cc09e.jpg","text":"TemporaryFile(/tmp/multipartBody1328441371128232395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126753038,"filename":"image_21022025_08_45_46_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338781630","file1":"1338781629","file0":"1338781628","file4":"1338781635","file5":"1338781638","file3":"1338781632"},"map_files_photo_id_array":[{"photo_id":"1338781638","filename":"file5"},{"photo_id":"1338781630","filename":"file2"},{"photo_id":"1338781635","filename":"file4"},{"photo_id":"1338781629","filename":"file1"},{"photo_id":"1338781628","filename":"file0"},{"photo_id":"1338781632","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338781630":["hashtag1","hashtag2"]},{"1338781635":["hashtag1","hashtag2"]},{"1338781629":["hashtag1","hashtag2"]},{"1338781638":["hashtag1","hashtag2"]},{"1338781632":["hashtag1","hashtag2"]},{"1338781628":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338781630, 1338781635, 1338781629, 1338781638, 1338781632, 1338781628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.538755655288696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:32:32.818824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/46/image_21022025_08_46_56_10346.jpg', '/home/pi/Desktop/images/21022025/08/46/image_21022025_08_47_06_9422.jpg', '/home/pi/Desktop/images/21022025/08/47/image_21022025_08_47_16_10327.jpg', '/home/pi/Desktop/images/21022025/08/47/image_21022025_08_47_26_9464.jpg', '/home/pi/Desktop/images/21022025/08/47/image_21022025_08_47_36_10359.jpg', '/home/pi/Desktop/images/21022025/08/47/image_21022025_08_47_46_10320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/46/image_21022025_08_46_56_10346.jpg
/home/pi/Desktop/images/21022025/08/46/image_21022025_08_47_06_9422.jpg
/home/pi/Desktop/images/21022025/08/47/image_21022025_08_47_16_10327.jpg
/home/pi/Desktop/images/21022025/08/47/image_21022025_08_47_26_9464.jpg
/home/pi/Desktop/images/21022025/08/47/image_21022025_08_47_36_10359.jpg
/home/pi/Desktop/images/21022025/08/47/image_21022025_08_47_46_10320.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338781735","1338781720","1338781704","1338781739","1338781727","1338781709"],"photo_ids_order":["1338781704","1338781709","1338781720","1338781727","1338781735","1338781739"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/616075ea3b83151dac50f6742805318e.jpg","text":"TemporaryFile(/tmp/multipartBody1085188421598314064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126813321,"filename":"image_21022025_08_47_36_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/922def2ebdaf0e86cb8ff50b21481f31.jpg","text":"TemporaryFile(/tmp/multipartBody6317119853112881796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126813321,"filename":"image_21022025_08_47_16_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f4e157b91683e32666126ce9dc1dbfa.jpg","text":"TemporaryFile(/tmp/multipartBody7824879008176673691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126813321,"filename":"image_21022025_08_46_56_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2645bc778cda39f0d761c541c7672117.jpg","text":"TemporaryFile(/tmp/multipartBody4342529310060029351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126813321,"filename":"image_21022025_08_47_46_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/24b1d2535ef89f827aa855d6b4929ce7.jpg","text":"TemporaryFile(/tmp/multipartBody8567750692440345572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126813321,"filename":"image_21022025_08_47_26_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3608c39eb8dec122778eacbbdfa7954c.jpg","text":"TemporaryFile(/tmp/multipartBody6263614351234878047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126813321,"filename":"image_21022025_08_47_06_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338781720","file1":"1338781709","file0":"1338781704","file4":"1338781735","file5":"1338781739","file3":"1338781727"},"map_files_photo_id_array":[{"photo_id":"1338781739","filename":"file5"},{"photo_id":"1338781720","filename":"file2"},{"photo_id":"1338781735","filename":"file4"},{"photo_id":"1338781709","filename":"file1"},{"photo_id":"1338781704","filename":"file0"},{"photo_id":"1338781727","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338781735":["hashtag1","hashtag2"]},{"1338781720":["hashtag1","hashtag2"]},{"1338781704":["hashtag1","hashtag2"]},{"1338781739":["hashtag1","hashtag2"]},{"1338781727":["hashtag1","hashtag2"]},{"1338781709":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338781735, 1338781720, 1338781704, 1338781739, 1338781727, 1338781709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09848403930664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:33:33.035495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/47/image_21022025_08_47_56_9417.jpg', '/home/pi/Desktop/images/21022025/08/47/image_21022025_08_48_06_10330.jpg', '/home/pi/Desktop/images/21022025/08/48/image_21022025_08_48_16_10319.jpg', '/home/pi/Desktop/images/21022025/08/48/image_21022025_08_48_26_9327.jpg', '/home/pi/Desktop/images/21022025/08/48/image_21022025_08_48_36_10344.jpg', '/home/pi/Desktop/images/21022025/08/48/image_21022025_08_48_46_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/47/image_21022025_08_47_56_9417.jpg
/home/pi/Desktop/images/21022025/08/47/image_21022025_08_48_06_10330.jpg
/home/pi/Desktop/images/21022025/08/48/image_21022025_08_48_16_10319.jpg
/home/pi/Desktop/images/21022025/08/48/image_21022025_08_48_26_9327.jpg
/home/pi/Desktop/images/21022025/08/48/image_21022025_08_48_36_10344.jpg
/home/pi/Desktop/images/21022025/08/48/image_21022025_08_48_46_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338781782","1338781779","1338781767","1338781796","1338781792","1338781795"],"photo_ids_order":["1338781767","1338781779","1338781782","1338781792","1338781795","1338781796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3db3af605659f4d595bcaf77e51a6c5d.jpg","text":"TemporaryFile(/tmp/multipartBody7430103357848443821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126873565,"filename":"image_21022025_08_48_16_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/efc7a216754b06f294d7d2239c29b85c.jpg","text":"TemporaryFile(/tmp/multipartBody7350843985618388210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126873565,"filename":"image_21022025_08_48_06_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/396c67fc52393fbe922ab097fb68cd4f.jpg","text":"TemporaryFile(/tmp/multipartBody6018232828677750017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126873565,"filename":"image_21022025_08_47_56_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4da7883442b5768ed47e23752232eb7e.jpg","text":"TemporaryFile(/tmp/multipartBody930818877456600458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126873565,"filename":"image_21022025_08_48_46_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4554012686b4d3b486110b317c838ac9.jpg","text":"TemporaryFile(/tmp/multipartBody2640977186063475923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126873565,"filename":"image_21022025_08_48_26_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6b66263fb04a853aabb0249b2b42712e.jpg","text":"TemporaryFile(/tmp/multipartBody4195904499577060994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126873565,"filename":"image_21022025_08_48_36_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338781782","file1":"1338781779","file0":"1338781767","file4":"1338781795","file5":"1338781796","file3":"1338781792"},"map_files_photo_id_array":[{"photo_id":"1338781796","filename":"file5"},{"photo_id":"1338781782","filename":"file2"},{"photo_id":"1338781795","filename":"file4"},{"photo_id":"1338781779","filename":"file1"},{"photo_id":"1338781767","filename":"file0"},{"photo_id":"1338781792","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338781782":["hashtag1","hashtag2"]},{"1338781779":["hashtag1","hashtag2"]},{"1338781767":["hashtag1","hashtag2"]},{"1338781796":["hashtag1","hashtag2"]},{"1338781792":["hashtag1","hashtag2"]},{"1338781795":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338781782, 1338781779, 1338781767, 1338781796, 1338781792, 1338781795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.768235206604004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:34:33.206682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/48/image_21022025_08_48_56_9323.jpg', '/home/pi/Desktop/images/21022025/08/48/image_21022025_08_49_06_10351.jpg', '/home/pi/Desktop/images/21022025/08/49/image_21022025_08_49_16_10333.jpg', '/home/pi/Desktop/images/21022025/08/49/image_21022025_08_49_26_9328.jpg', '/home/pi/Desktop/images/21022025/08/49/image_21022025_08_49_36_10373.jpg', '/home/pi/Desktop/images/21022025/08/49/image_21022025_08_49_46_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/48/image_21022025_08_48_56_9323.jpg
/home/pi/Desktop/images/21022025/08/48/image_21022025_08_49_06_10351.jpg
/home/pi/Desktop/images/21022025/08/49/image_21022025_08_49_16_10333.jpg
/home/pi/Desktop/images/21022025/08/49/image_21022025_08_49_26_9328.jpg
/home/pi/Desktop/images/21022025/08/49/image_21022025_08_49_36_10373.jpg
/home/pi/Desktop/images/21022025/08/49/image_21022025_08_49_46_9424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338781822","1338781831","1338781827","1338781829","1338781820","1338781814"],"photo_ids_order":["1338781814","1338781820","1338781822","1338781827","1338781829","1338781831"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/069461c07f986dc6ed2d41af6d2677ab.jpg","text":"TemporaryFile(/tmp/multipartBody5781679035189934132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126933701,"filename":"image_21022025_08_49_16_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a9b2ac3a8f29dd34029d42dceca4e554.jpg","text":"TemporaryFile(/tmp/multipartBody3612087739101424849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126933701,"filename":"image_21022025_08_49_46_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4eba8ddeca014c1d72052e6e4044639b.jpg","text":"TemporaryFile(/tmp/multipartBody5405446701012367714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126933701,"filename":"image_21022025_08_49_26_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8229661f5d219ce46d7e602e41d26999.jpg","text":"TemporaryFile(/tmp/multipartBody4698296069330966200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126933701,"filename":"image_21022025_08_49_36_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/49ff57894a8d8d0ee9fe7161fbbdab6b.jpg","text":"TemporaryFile(/tmp/multipartBody132938116063138174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126933701,"filename":"image_21022025_08_49_06_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/89efce8f152cfa5c76dae014baae034f.jpg","text":"TemporaryFile(/tmp/multipartBody4242092474779004828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126933701,"filename":"image_21022025_08_48_56_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338781822","file1":"1338781820","file0":"1338781814","file4":"1338781829","file5":"1338781831","file3":"1338781827"},"map_files_photo_id_array":[{"photo_id":"1338781831","filename":"file5"},{"photo_id":"1338781822","filename":"file2"},{"photo_id":"1338781829","filename":"file4"},{"photo_id":"1338781820","filename":"file1"},{"photo_id":"1338781814","filename":"file0"},{"photo_id":"1338781827","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338781822":["hashtag1","hashtag2"]},{"1338781831":["hashtag1","hashtag2"]},{"1338781827":["hashtag1","hashtag2"]},{"1338781829":["hashtag1","hashtag2"]},{"1338781820":["hashtag1","hashtag2"]},{"1338781814":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338781822, 1338781831, 1338781827, 1338781829, 1338781820, 1338781814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92681097984314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:35:32.261979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/49/image_21022025_08_49_56_10371.jpg', '/home/pi/Desktop/images/21022025/08/49/image_21022025_08_50_06_10331.jpg', '/home/pi/Desktop/images/21022025/08/50/image_21022025_08_50_16_9403.jpg', '/home/pi/Desktop/images/21022025/08/50/image_21022025_08_50_26_10350.jpg', '/home/pi/Desktop/images/21022025/08/50/image_21022025_08_50_36_10343.jpg', '/home/pi/Desktop/images/21022025/08/50/image_21022025_08_50_46_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/49/image_21022025_08_49_56_10371.jpg
/home/pi/Desktop/images/21022025/08/49/image_21022025_08_50_06_10331.jpg
/home/pi/Desktop/images/21022025/08/50/image_21022025_08_50_16_9403.jpg
/home/pi/Desktop/images/21022025/08/50/image_21022025_08_50_26_10350.jpg
/home/pi/Desktop/images/21022025/08/50/image_21022025_08_50_36_10343.jpg
/home/pi/Desktop/images/21022025/08/50/image_21022025_08_50_46_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338781861","1338781855","1338781851","1338781860","1338781857","1338781859"],"photo_ids_order":["1338781851","1338781855","1338781857","1338781859","1338781860","1338781861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9a68a9c93fa3348ad865b8d836698dd3.jpg","text":"TemporaryFile(/tmp/multipartBody2194624927622499562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126992769,"filename":"image_21022025_08_50_46_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/72936fffbe0eec7fe0b49e80c74a0fbe.jpg","text":"TemporaryFile(/tmp/multipartBody769649403664196724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126992769,"filename":"image_21022025_08_50_06_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/10e0dc62483af163d633733d7dc8d953.jpg","text":"TemporaryFile(/tmp/multipartBody8109481905823264050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126992769,"filename":"image_21022025_08_49_56_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3b2d7f5259c0035b21dcc7099167571a.jpg","text":"TemporaryFile(/tmp/multipartBody2083361858305317185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126992769,"filename":"image_21022025_08_50_36_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e74198f397afcc82a0ae0e5d30d0135.jpg","text":"TemporaryFile(/tmp/multipartBody3331786520652053699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126992769,"filename":"image_21022025_08_50_16_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8a1564521efb11cda46ca7563560c2c8.jpg","text":"TemporaryFile(/tmp/multipartBody8589234706231764900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740126992769,"filename":"image_21022025_08_50_26_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338781857","file1":"1338781855","file0":"1338781851","file4":"1338781860","file5":"1338781861","file3":"1338781859"},"map_files_photo_id_array":[{"photo_id":"1338781861","filename":"file5"},{"photo_id":"1338781857","filename":"file2"},{"photo_id":"1338781860","filename":"file4"},{"photo_id":"1338781855","filename":"file1"},{"photo_id":"1338781851","filename":"file0"},{"photo_id":"1338781859","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338781861":["hashtag1","hashtag2"]},{"1338781855":["hashtag1","hashtag2"]},{"1338781851":["hashtag1","hashtag2"]},{"1338781860":["hashtag1","hashtag2"]},{"1338781857":["hashtag1","hashtag2"]},{"1338781859":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338781861, 1338781855, 1338781851, 1338781860, 1338781857, 1338781859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96657037734985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:36:32.583898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/50/image_21022025_08_51_06_9394.jpg', '/home/pi/Desktop/images/21022025/08/51/image_21022025_08_51_16_10327.jpg', '/home/pi/Desktop/images/21022025/08/51/image_21022025_08_51_26_10360.jpg', '/home/pi/Desktop/images/21022025/08/51/image_21022025_08_51_36_9403.jpg', '/home/pi/Desktop/images/21022025/08/51/image_21022025_08_51_46_10377.jpg', '/home/pi/Desktop/images/21022025/08/51/image_21022025_08_52_06_9392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/50/image_21022025_08_51_06_9394.jpg
/home/pi/Desktop/images/21022025/08/51/image_21022025_08_51_16_10327.jpg
/home/pi/Desktop/images/21022025/08/51/image_21022025_08_51_26_10360.jpg
/home/pi/Desktop/images/21022025/08/51/image_21022025_08_51_36_9403.jpg
/home/pi/Desktop/images/21022025/08/51/image_21022025_08_51_46_10377.jpg
/home/pi/Desktop/images/21022025/08/51/image_21022025_08_52_06_9392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338781903","1338781912","1338781906","1338781909","1338781911","1338781910"],"photo_ids_order":["1338781903","1338781906","1338781909","1338781910","1338781911","1338781912"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0cf3155bfb96d13d9a52bf2b7fb03bc9.jpg","text":"TemporaryFile(/tmp/multipartBody6011284794189442232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127053095,"filename":"image_21022025_08_51_06_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/34d3b5e497f81020f8bfc92392ee6aaa.jpg","text":"TemporaryFile(/tmp/multipartBody6427038678667080528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127053095,"filename":"image_21022025_08_52_06_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/116942b0645493fae65f441be567d744.jpg","text":"TemporaryFile(/tmp/multipartBody4916905981243742761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127053095,"filename":"image_21022025_08_51_16_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90da0e98b2d92f027b56ceb5fe13696e.jpg","text":"TemporaryFile(/tmp/multipartBody4257040617816070834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127053095,"filename":"image_21022025_08_51_26_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d89fb4086ce2d6edadd621278c33688a.jpg","text":"TemporaryFile(/tmp/multipartBody8944133644534026911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127053095,"filename":"image_21022025_08_51_46_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3de81416241c0043f1b70cfc91effe51.jpg","text":"TemporaryFile(/tmp/multipartBody2800177034137213784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127053095,"filename":"image_21022025_08_51_36_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338781909","file1":"1338781906","file0":"1338781903","file4":"1338781911","file5":"1338781912","file3":"1338781910"},"map_files_photo_id_array":[{"photo_id":"1338781912","filename":"file5"},{"photo_id":"1338781909","filename":"file2"},{"photo_id":"1338781911","filename":"file4"},{"photo_id":"1338781906","filename":"file1"},{"photo_id":"1338781903","filename":"file0"},{"photo_id":"1338781910","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338781903":["hashtag1","hashtag2"]},{"1338781912":["hashtag1","hashtag2"]},{"1338781906":["hashtag1","hashtag2"]},{"1338781909":["hashtag1","hashtag2"]},{"1338781911":["hashtag1","hashtag2"]},{"1338781910":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338781903, 1338781912, 1338781906, 1338781909, 1338781911, 1338781910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.59283781051636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:37:32.782611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/52/image_21022025_08_52_26_10327.jpg', '/home/pi/Desktop/images/21022025/08/52/image_21022025_08_52_36_9345.jpg', '/home/pi/Desktop/images/21022025/08/52/image_21022025_08_53_06_10341.jpg', '/home/pi/Desktop/images/21022025/08/53/image_21022025_08_53_16_10330.jpg', '/home/pi/Desktop/images/21022025/08/53/image_21022025_08_53_26_9413.jpg', '/home/pi/Desktop/images/21022025/08/53/image_21022025_08_53_36_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/52/image_21022025_08_52_26_10327.jpg
/home/pi/Desktop/images/21022025/08/52/image_21022025_08_52_36_9345.jpg
/home/pi/Desktop/images/21022025/08/52/image_21022025_08_53_06_10341.jpg
/home/pi/Desktop/images/21022025/08/53/image_21022025_08_53_16_10330.jpg
/home/pi/Desktop/images/21022025/08/53/image_21022025_08_53_26_9413.jpg
/home/pi/Desktop/images/21022025/08/53/image_21022025_08_53_36_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338781939","1338781932","1338781941","1338781935","1338781940","1338781937"],"photo_ids_order":["1338781932","1338781935","1338781937","1338781939","1338781940","1338781941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2aee9b4b63a0a7e319ac05f1b932b145.jpg","text":"TemporaryFile(/tmp/multipartBody3442607477815250260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127113316,"filename":"image_21022025_08_53_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2b5867c1f0ed8eb0d18a24413e560991.jpg","text":"TemporaryFile(/tmp/multipartBody6399148433539445073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127113316,"filename":"image_21022025_08_52_26_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e9b8735a0458b199b3eb559739f4f490.jpg","text":"TemporaryFile(/tmp/multipartBody7188970934962447844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127113316,"filename":"image_21022025_08_53_36_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b59e2bd2898b2b6517d62ef7749904d2.jpg","text":"TemporaryFile(/tmp/multipartBody4817274356826010289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127113316,"filename":"image_21022025_08_52_36_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80fd086d95ac98fca950018d562220b4.jpg","text":"TemporaryFile(/tmp/multipartBody932527106374584870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127113316,"filename":"image_21022025_08_53_26_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4c6930ce6f9e0099d5e7a035fc19ea72.jpg","text":"TemporaryFile(/tmp/multipartBody5278198015856009017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127113316,"filename":"image_21022025_08_53_06_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338781937","file1":"1338781935","file0":"1338781932","file4":"1338781940","file5":"1338781941","file3":"1338781939"},"map_files_photo_id_array":[{"photo_id":"1338781941","filename":"file5"},{"photo_id":"1338781937","filename":"file2"},{"photo_id":"1338781940","filename":"file4"},{"photo_id":"1338781935","filename":"file1"},{"photo_id":"1338781932","filename":"file0"},{"photo_id":"1338781939","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338781939":["hashtag1","hashtag2"]},{"1338781932":["hashtag1","hashtag2"]},{"1338781941":["hashtag1","hashtag2"]},{"1338781935":["hashtag1","hashtag2"]},{"1338781940":["hashtag1","hashtag2"]},{"1338781937":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338781939, 1338781932, 1338781941, 1338781935, 1338781940, 1338781937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.762059688568115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:38:33.109556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/53/image_21022025_08_53_46_10343.jpg', '/home/pi/Desktop/images/21022025/08/53/image_21022025_08_53_56_9330.jpg', '/home/pi/Desktop/images/21022025/08/53/image_21022025_08_54_06_10333.jpg', '/home/pi/Desktop/images/21022025/08/54/image_21022025_08_54_16_10340.jpg', '/home/pi/Desktop/images/21022025/08/54/image_21022025_08_54_26_9385.jpg', '/home/pi/Desktop/images/21022025/08/54/image_21022025_08_54_36_10318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/53/image_21022025_08_53_46_10343.jpg
/home/pi/Desktop/images/21022025/08/53/image_21022025_08_53_56_9330.jpg
/home/pi/Desktop/images/21022025/08/53/image_21022025_08_54_06_10333.jpg
/home/pi/Desktop/images/21022025/08/54/image_21022025_08_54_16_10340.jpg
/home/pi/Desktop/images/21022025/08/54/image_21022025_08_54_26_9385.jpg
/home/pi/Desktop/images/21022025/08/54/image_21022025_08_54_36_10318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338781975","1338781969","1338781961","1338781964","1338781972","1338781966"],"photo_ids_order":["1338781961","1338781964","1338781966","1338781969","1338781972","1338781975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b3718330d9c1d7b2ce5074d30e3fe359.jpg","text":"TemporaryFile(/tmp/multipartBody2519612986470579053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127173621,"filename":"image_21022025_08_54_36_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c8ef5b6e416584decaff1c0103c7f81b.jpg","text":"TemporaryFile(/tmp/multipartBody349284450713651928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127173621,"filename":"image_21022025_08_54_16_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ba4d6ea101396a8cc64dd2c9fc526231.jpg","text":"TemporaryFile(/tmp/multipartBody3706599996412114744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127173621,"filename":"image_21022025_08_53_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7109b8210ffea88f7897593840573ea8.jpg","text":"TemporaryFile(/tmp/multipartBody1340636748599486161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127173621,"filename":"image_21022025_08_53_56_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/95c931bd6a61878ba159da006a46ab13.jpg","text":"TemporaryFile(/tmp/multipartBody6667174933600745131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127173621,"filename":"image_21022025_08_54_26_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c7a7cf647803bb25c0a31b293d6b5942.jpg","text":"TemporaryFile(/tmp/multipartBody7687408640758164875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127173621,"filename":"image_21022025_08_54_06_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338781966","file1":"1338781964","file0":"1338781961","file4":"1338781972","file5":"1338781975","file3":"1338781969"},"map_files_photo_id_array":[{"photo_id":"1338781975","filename":"file5"},{"photo_id":"1338781966","filename":"file2"},{"photo_id":"1338781972","filename":"file4"},{"photo_id":"1338781964","filename":"file1"},{"photo_id":"1338781961","filename":"file0"},{"photo_id":"1338781969","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338781975":["hashtag1","hashtag2"]},{"1338781969":["hashtag1","hashtag2"]},{"1338781961":["hashtag1","hashtag2"]},{"1338781964":["hashtag1","hashtag2"]},{"1338781972":["hashtag1","hashtag2"]},{"1338781966":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338781975, 1338781969, 1338781961, 1338781964, 1338781972, 1338781966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0590295791626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:39:32.364610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/54/image_21022025_08_54_46_10355.jpg', '/home/pi/Desktop/images/21022025/08/54/image_21022025_08_54_56_9407.jpg', '/home/pi/Desktop/images/21022025/08/54/image_21022025_08_55_06_10401.jpg', '/home/pi/Desktop/images/21022025/08/55/image_21022025_08_55_16_9435.jpg', '/home/pi/Desktop/images/21022025/08/55/image_21022025_08_55_26_10362.jpg', '/home/pi/Desktop/images/21022025/08/55/image_21022025_08_55_36_10317.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/54/image_21022025_08_54_46_10355.jpg
/home/pi/Desktop/images/21022025/08/54/image_21022025_08_54_56_9407.jpg
/home/pi/Desktop/images/21022025/08/54/image_21022025_08_55_06_10401.jpg
/home/pi/Desktop/images/21022025/08/55/image_21022025_08_55_16_9435.jpg
/home/pi/Desktop/images/21022025/08/55/image_21022025_08_55_26_10362.jpg
/home/pi/Desktop/images/21022025/08/55/image_21022025_08_55_36_10317.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338782025","1338782028","1338782013","1338782022","1338782018","1338782027"],"photo_ids_order":["1338782013","1338782018","1338782022","1338782025","1338782027","1338782028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ff47dc9a29bb3131f33d5473c345562.jpg","text":"TemporaryFile(/tmp/multipartBody4060957542037366770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127232869,"filename":"image_21022025_08_55_16_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c65886806f3a5996dabef319596b40f.jpg","text":"TemporaryFile(/tmp/multipartBody4564419616966180768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127232869,"filename":"image_21022025_08_55_36_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5dd092cc624757628b8db3f2b371e2c0.jpg","text":"TemporaryFile(/tmp/multipartBody6484443409344944236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127232869,"filename":"image_21022025_08_54_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c80a5f09390f277bc145af16916a3460.jpg","text":"TemporaryFile(/tmp/multipartBody8257493682259385020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127232869,"filename":"image_21022025_08_55_06_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/283dc75ee0b0a72d584131a757b68164.jpg","text":"TemporaryFile(/tmp/multipartBody7668107932440232277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127232869,"filename":"image_21022025_08_54_56_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d4a26dd2f2a99495b03dd91a8a4cee23.jpg","text":"TemporaryFile(/tmp/multipartBody8713043354062582029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127232869,"filename":"image_21022025_08_55_26_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338782022","file1":"1338782018","file0":"1338782013","file4":"1338782027","file5":"1338782028","file3":"1338782025"},"map_files_photo_id_array":[{"photo_id":"1338782028","filename":"file5"},{"photo_id":"1338782022","filename":"file2"},{"photo_id":"1338782027","filename":"file4"},{"photo_id":"1338782018","filename":"file1"},{"photo_id":"1338782013","filename":"file0"},{"photo_id":"1338782025","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338782025":["hashtag1","hashtag2"]},{"1338782028":["hashtag1","hashtag2"]},{"1338782013":["hashtag1","hashtag2"]},{"1338782022":["hashtag1","hashtag2"]},{"1338782018":["hashtag1","hashtag2"]},{"1338782027":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338782025, 1338782028, 1338782013, 1338782022, 1338782018, 1338782027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04326915740967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:40:32.471456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/55/image_21022025_08_55_56_10326.jpg', '/home/pi/Desktop/images/21022025/08/55/image_21022025_08_56_06_10326.jpg', '/home/pi/Desktop/images/21022025/08/56/image_21022025_08_56_16_9419.jpg', '/home/pi/Desktop/images/21022025/08/56/image_21022025_08_56_26_10332.jpg', '/home/pi/Desktop/images/21022025/08/56/image_21022025_08_56_36_10328.jpg', '/home/pi/Desktop/images/21022025/08/56/image_21022025_08_56_46_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/55/image_21022025_08_55_56_10326.jpg
/home/pi/Desktop/images/21022025/08/55/image_21022025_08_56_06_10326.jpg
/home/pi/Desktop/images/21022025/08/56/image_21022025_08_56_16_9419.jpg
/home/pi/Desktop/images/21022025/08/56/image_21022025_08_56_26_10332.jpg
/home/pi/Desktop/images/21022025/08/56/image_21022025_08_56_36_10328.jpg
/home/pi/Desktop/images/21022025/08/56/image_21022025_08_56_46_9421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338782088","1338782091","1338782093","1338782096","1338782095","1338782083"],"photo_ids_order":["1338782083","1338782088","1338782091","1338782093","1338782095","1338782096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0645c131ba042af565078d87eb11c3c4.jpg","text":"TemporaryFile(/tmp/multipartBody2643617669633262697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127292991,"filename":"image_21022025_08_56_06_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04b1727041206570fcdf238926a19806.jpg","text":"TemporaryFile(/tmp/multipartBody5091644017329808845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127292991,"filename":"image_21022025_08_56_16_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/481f68a3328069d5bacbbef568a5141c.jpg","text":"TemporaryFile(/tmp/multipartBody2239277052931464595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127292991,"filename":"image_21022025_08_56_26_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5eda5743aa3fc4fce477073929dbee37.jpg","text":"TemporaryFile(/tmp/multipartBody7739471890424945765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127292991,"filename":"image_21022025_08_56_46_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/de2608aec7390dcf0d192c6c47e7d688.jpg","text":"TemporaryFile(/tmp/multipartBody5232356070422659426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127292991,"filename":"image_21022025_08_56_36_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a2eb8b3b76437118d5d695208fe838a3.jpg","text":"TemporaryFile(/tmp/multipartBody1026933483181965954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127292991,"filename":"image_21022025_08_55_56_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338782091","file1":"1338782088","file0":"1338782083","file4":"1338782095","file5":"1338782096","file3":"1338782093"},"map_files_photo_id_array":[{"photo_id":"1338782096","filename":"file5"},{"photo_id":"1338782091","filename":"file2"},{"photo_id":"1338782095","filename":"file4"},{"photo_id":"1338782088","filename":"file1"},{"photo_id":"1338782083","filename":"file0"},{"photo_id":"1338782093","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338782088":["hashtag1","hashtag2"]},{"1338782091":["hashtag1","hashtag2"]},{"1338782093":["hashtag1","hashtag2"]},{"1338782096":["hashtag1","hashtag2"]},{"1338782095":["hashtag1","hashtag2"]},{"1338782083":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338782088, 1338782091, 1338782093, 1338782096, 1338782095, 1338782083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09636449813843 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:41:32.765188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/56/image_21022025_08_56_56_10344.jpg', '/home/pi/Desktop/images/21022025/08/56/image_21022025_08_57_06_9430.jpg', '/home/pi/Desktop/images/21022025/08/57/image_21022025_08_57_16_10340.jpg', '/home/pi/Desktop/images/21022025/08/57/image_21022025_08_57_26_10340.jpg', '/home/pi/Desktop/images/21022025/08/57/image_21022025_08_57_36_9397.jpg', '/home/pi/Desktop/images/21022025/08/57/image_21022025_08_57_46_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/56/image_21022025_08_56_56_10344.jpg
/home/pi/Desktop/images/21022025/08/56/image_21022025_08_57_06_9430.jpg
/home/pi/Desktop/images/21022025/08/57/image_21022025_08_57_16_10340.jpg
/home/pi/Desktop/images/21022025/08/57/image_21022025_08_57_26_10340.jpg
/home/pi/Desktop/images/21022025/08/57/image_21022025_08_57_36_9397.jpg
/home/pi/Desktop/images/21022025/08/57/image_21022025_08_57_46_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338782119","1338782148","1338782147","1338782144","1338782149","1338782128"],"photo_ids_order":["1338782119","1338782128","1338782144","1338782147","1338782148","1338782149"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f51a0e7a7adf6dd938e681279f12ec47.jpg","text":"TemporaryFile(/tmp/multipartBody5394590438654257665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127353271,"filename":"image_21022025_08_56_56_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/167d78ed3cd9c636dc622a9c2cc6dd60.jpg","text":"TemporaryFile(/tmp/multipartBody1407175520221820536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127353271,"filename":"image_21022025_08_57_36_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eb98dfaf8d0d7865e623a8c8360b115c.jpg","text":"TemporaryFile(/tmp/multipartBody3686527701980386894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127353271,"filename":"image_21022025_08_57_26_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bb2e31e18d71c1cae043cd4aa6a296c8.jpg","text":"TemporaryFile(/tmp/multipartBody6577838038943038860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127353271,"filename":"image_21022025_08_57_16_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6706117cb0af52d9d0244ca31e04e480.jpg","text":"TemporaryFile(/tmp/multipartBody19262139235020115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127353271,"filename":"image_21022025_08_57_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/48640f43082a1b729303f84f0253de44.jpg","text":"TemporaryFile(/tmp/multipartBody635052596212032403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127353271,"filename":"image_21022025_08_57_06_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338782144","file1":"1338782128","file0":"1338782119","file4":"1338782148","file5":"1338782149","file3":"1338782147"},"map_files_photo_id_array":[{"photo_id":"1338782149","filename":"file5"},{"photo_id":"1338782144","filename":"file2"},{"photo_id":"1338782148","filename":"file4"},{"photo_id":"1338782128","filename":"file1"},{"photo_id":"1338782119","filename":"file0"},{"photo_id":"1338782147","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338782119":["hashtag1","hashtag2"]},{"1338782148":["hashtag1","hashtag2"]},{"1338782147":["hashtag1","hashtag2"]},{"1338782144":["hashtag1","hashtag2"]},{"1338782149":["hashtag1","hashtag2"]},{"1338782128":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338782119, 1338782148, 1338782147, 1338782144, 1338782149, 1338782128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.793583154678345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:42:33.325830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/57/image_21022025_08_57_56_10347.jpg', '/home/pi/Desktop/images/21022025/08/57/image_21022025_08_58_06_9345.jpg', '/home/pi/Desktop/images/21022025/08/58/image_21022025_08_58_16_10336.jpg', '/home/pi/Desktop/images/21022025/08/58/image_21022025_08_58_26_9404.jpg', '/home/pi/Desktop/images/21022025/08/58/image_21022025_08_58_36_10378.jpg', '/home/pi/Desktop/images/21022025/08/58/image_21022025_08_58_46_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/57/image_21022025_08_57_56_10347.jpg
/home/pi/Desktop/images/21022025/08/57/image_21022025_08_58_06_9345.jpg
/home/pi/Desktop/images/21022025/08/58/image_21022025_08_58_16_10336.jpg
/home/pi/Desktop/images/21022025/08/58/image_21022025_08_58_26_9404.jpg
/home/pi/Desktop/images/21022025/08/58/image_21022025_08_58_36_10378.jpg
/home/pi/Desktop/images/21022025/08/58/image_21022025_08_58_46_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338782172","1338782184","1338782174","1338782191","1338782179","1338782188"],"photo_ids_order":["1338782172","1338782174","1338782179","1338782184","1338782188","1338782191"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7f9198ff981ab3c242f6b531d18a299.jpg","text":"TemporaryFile(/tmp/multipartBody4609652673419140360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127413858,"filename":"image_21022025_08_57_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/833734c03ff5f52ac695370009399760.jpg","text":"TemporaryFile(/tmp/multipartBody4232252145531394559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127413858,"filename":"image_21022025_08_58_26_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/25cb1af9076e1b808532db584cff3bc2.jpg","text":"TemporaryFile(/tmp/multipartBody4920686177949010213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127413858,"filename":"image_21022025_08_58_06_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d617f81c5657c622a1da4a2b46e33576.jpg","text":"TemporaryFile(/tmp/multipartBody8637336909419549618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127413858,"filename":"image_21022025_08_58_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/64e13cd2e63fee16755a19e2262f331e.jpg","text":"TemporaryFile(/tmp/multipartBody8004051818235793649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127413858,"filename":"image_21022025_08_58_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e8a7216fbe3714c1507c4bd04d25195b.jpg","text":"TemporaryFile(/tmp/multipartBody5611342251357178985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127413858,"filename":"image_21022025_08_58_36_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338782179","file1":"1338782174","file0":"1338782172","file4":"1338782188","file5":"1338782191","file3":"1338782184"},"map_files_photo_id_array":[{"photo_id":"1338782191","filename":"file5"},{"photo_id":"1338782179","filename":"file2"},{"photo_id":"1338782188","filename":"file4"},{"photo_id":"1338782174","filename":"file1"},{"photo_id":"1338782172","filename":"file0"},{"photo_id":"1338782184","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338782172":["hashtag1","hashtag2"]},{"1338782184":["hashtag1","hashtag2"]},{"1338782174":["hashtag1","hashtag2"]},{"1338782191":["hashtag1","hashtag2"]},{"1338782179":["hashtag1","hashtag2"]},{"1338782188":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338782172, 1338782184, 1338782174, 1338782191, 1338782179, 1338782188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.619828462600708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:43:33.105882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/58/image_21022025_08_58_56_9481.jpg', '/home/pi/Desktop/images/21022025/08/58/image_21022025_08_59_06_10336.jpg', '/home/pi/Desktop/images/21022025/08/59/image_21022025_08_59_16_10336.jpg', '/home/pi/Desktop/images/21022025/08/59/image_21022025_08_59_26_9335.jpg', '/home/pi/Desktop/images/21022025/08/59/image_21022025_08_59_36_10337.jpg', '/home/pi/Desktop/images/21022025/08/59/image_21022025_08_59_46_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/58/image_21022025_08_58_56_9481.jpg
/home/pi/Desktop/images/21022025/08/58/image_21022025_08_59_06_10336.jpg
/home/pi/Desktop/images/21022025/08/59/image_21022025_08_59_16_10336.jpg
/home/pi/Desktop/images/21022025/08/59/image_21022025_08_59_26_9335.jpg
/home/pi/Desktop/images/21022025/08/59/image_21022025_08_59_36_10337.jpg
/home/pi/Desktop/images/21022025/08/59/image_21022025_08_59_46_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338782242","1338782236","1338782238","1338782240","1338782243","1338782233"],"photo_ids_order":["1338782233","1338782236","1338782238","1338782240","1338782242","1338782243"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d7fd34398c0edd6b4f5b408b6c6e9942.jpg","text":"TemporaryFile(/tmp/multipartBody5525104188894872964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127473621,"filename":"image_21022025_08_59_36_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7cf31ecef7a370055fe3701a7e6f27d.jpg","text":"TemporaryFile(/tmp/multipartBody3201408971674597325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127473621,"filename":"image_21022025_08_59_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/82d952fdaa4da7d1f66d4a36f8aae8a3.jpg","text":"TemporaryFile(/tmp/multipartBody5969359772200912749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127473621,"filename":"image_21022025_08_59_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4188686f2b66f6ccbeb73deb98bc443d.jpg","text":"TemporaryFile(/tmp/multipartBody7429296944268058257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127473621,"filename":"image_21022025_08_59_26_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/40404263e014a9373191f932c216335b.jpg","text":"TemporaryFile(/tmp/multipartBody5352976808372700333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127473621,"filename":"image_21022025_08_59_46_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/56c6b1bf1502f665c364384adb08ca48.jpg","text":"TemporaryFile(/tmp/multipartBody7135849152499139913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127473621,"filename":"image_21022025_08_58_56_9481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338782238","file1":"1338782236","file0":"1338782233","file4":"1338782242","file5":"1338782243","file3":"1338782240"},"map_files_photo_id_array":[{"photo_id":"1338782243","filename":"file5"},{"photo_id":"1338782238","filename":"file2"},{"photo_id":"1338782242","filename":"file4"},{"photo_id":"1338782236","filename":"file1"},{"photo_id":"1338782233","filename":"file0"},{"photo_id":"1338782240","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338782242":["hashtag1","hashtag2"]},{"1338782236":["hashtag1","hashtag2"]},{"1338782238":["hashtag1","hashtag2"]},{"1338782240":["hashtag1","hashtag2"]},{"1338782243":["hashtag1","hashtag2"]},{"1338782233":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338782242, 1338782236, 1338782238, 1338782240, 1338782243, 1338782233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27131414413452 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:44:32.334389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/08/59/image_21022025_08_59_56_9422.jpg', '/home/pi/Desktop/images/21022025/09/00/image_21022025_09_00_17_10070.jpg', '/home/pi/Desktop/images/21022025/09/00/image_21022025_09_00_27_10351.jpg', '/home/pi/Desktop/images/21022025/09/00/image_21022025_09_00_37_10342.jpg', '/home/pi/Desktop/images/21022025/09/00/image_21022025_09_00_47_9406.jpg', '/home/pi/Desktop/images/21022025/09/00/image_21022025_09_00_57_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/08/59/image_21022025_08_59_56_9422.jpg
/home/pi/Desktop/images/21022025/09/00/image_21022025_09_00_17_10070.jpg
/home/pi/Desktop/images/21022025/09/00/image_21022025_09_00_27_10351.jpg
/home/pi/Desktop/images/21022025/09/00/image_21022025_09_00_37_10342.jpg
/home/pi/Desktop/images/21022025/09/00/image_21022025_09_00_47_9406.jpg
/home/pi/Desktop/images/21022025/09/00/image_21022025_09_00_57_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338782775","1338783009","1338782634","1338782505","1338782876","1338783118"],"photo_ids_order":["1338782505","1338782634","1338782775","1338782876","1338783009","1338783118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/77a9739cd8481a27d376b6b238e0aa56.jpg","text":"TemporaryFile(/tmp/multipartBody8392303101676108404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127532816,"filename":"image_21022025_09_00_27_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be691f3aadc7aa3727ec0ad6645ad4f7.jpg","text":"TemporaryFile(/tmp/multipartBody3259771391771744557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127532816,"filename":"image_21022025_09_00_47_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1ebbbee10130941177942a6828257a7.jpg","text":"TemporaryFile(/tmp/multipartBody6312045789138065293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127532816,"filename":"image_21022025_09_00_17_10070.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1e820399a8b734431b4ad665741f06e2.jpg","text":"TemporaryFile(/tmp/multipartBody4213025987320776264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127532816,"filename":"image_21022025_08_59_56_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f13472d8cf9653b154042058321fa1a.jpg","text":"TemporaryFile(/tmp/multipartBody8687111271194862967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127532816,"filename":"image_21022025_09_00_37_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/677df978fe504211abcc17f5c5592884.jpg","text":"TemporaryFile(/tmp/multipartBody4533644911640297082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127532816,"filename":"image_21022025_09_00_57_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338782775","file1":"1338782634","file0":"1338782505","file4":"1338783009","file5":"1338783118","file3":"1338782876"},"map_files_photo_id_array":[{"photo_id":"1338783118","filename":"file5"},{"photo_id":"1338782775","filename":"file2"},{"photo_id":"1338783009","filename":"file4"},{"photo_id":"1338782634","filename":"file1"},{"photo_id":"1338782505","filename":"file0"},{"photo_id":"1338782876","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338782775":["hashtag1","hashtag2"]},{"1338783009":["hashtag1","hashtag2"]},{"1338782634":["hashtag1","hashtag2"]},{"1338782505":["hashtag1","hashtag2"]},{"1338782876":["hashtag1","hashtag2"]},{"1338783118":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338782775, 1338783009, 1338782634, 1338782505, 1338782876, 1338783118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78225588798523 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:45:32.564035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/00/image_21022025_09_01_07_10358.jpg', '/home/pi/Desktop/images/21022025/09/01/image_21022025_09_01_17_9408.jpg', '/home/pi/Desktop/images/21022025/09/01/image_21022025_09_01_27_10335.jpg', '/home/pi/Desktop/images/21022025/09/01/image_21022025_09_01_37_9389.jpg', '/home/pi/Desktop/images/21022025/09/01/image_21022025_09_01_47_10371.jpg', '/home/pi/Desktop/images/21022025/09/01/image_21022025_09_01_57_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/00/image_21022025_09_01_07_10358.jpg
/home/pi/Desktop/images/21022025/09/01/image_21022025_09_01_17_9408.jpg
/home/pi/Desktop/images/21022025/09/01/image_21022025_09_01_27_10335.jpg
/home/pi/Desktop/images/21022025/09/01/image_21022025_09_01_37_9389.jpg
/home/pi/Desktop/images/21022025/09/01/image_21022025_09_01_47_10371.jpg
/home/pi/Desktop/images/21022025/09/01/image_21022025_09_01_57_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338783861","1338783864","1338783858","1338783723","1338783865","1338783768"],"photo_ids_order":["1338783723","1338783768","1338783858","1338783861","1338783864","1338783865"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/301c097480ab86edd3ad72f45beed9e1.jpg","text":"TemporaryFile(/tmp/multipartBody4112001385236858904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127593094,"filename":"image_21022025_09_01_37_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e25c597b7cbcff59dadd48beeb4bf261.jpg","text":"TemporaryFile(/tmp/multipartBody2969450824415156354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127593094,"filename":"image_21022025_09_01_47_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/897bae156f5b8799380df0c7ec4da508.jpg","text":"TemporaryFile(/tmp/multipartBody457889889384142508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127593094,"filename":"image_21022025_09_01_27_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/092e7aae7b5766298f7ca9b1721319df.jpg","text":"TemporaryFile(/tmp/multipartBody6423484641307978120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127593094,"filename":"image_21022025_09_01_07_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a4e8bf462a061f3c5e9d9c90afee778a.jpg","text":"TemporaryFile(/tmp/multipartBody5252800982911844526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127593094,"filename":"image_21022025_09_01_57_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a528c10053e281c2f6c27397cea8dfc.jpg","text":"TemporaryFile(/tmp/multipartBody3685062793278496266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127593094,"filename":"image_21022025_09_01_17_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338783858","file1":"1338783768","file0":"1338783723","file4":"1338783864","file5":"1338783865","file3":"1338783861"},"map_files_photo_id_array":[{"photo_id":"1338783865","filename":"file5"},{"photo_id":"1338783858","filename":"file2"},{"photo_id":"1338783864","filename":"file4"},{"photo_id":"1338783768","filename":"file1"},{"photo_id":"1338783723","filename":"file0"},{"photo_id":"1338783861","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338783861":["hashtag1","hashtag2"]},{"1338783864":["hashtag1","hashtag2"]},{"1338783858":["hashtag1","hashtag2"]},{"1338783723":["hashtag1","hashtag2"]},{"1338783865":["hashtag1","hashtag2"]},{"1338783768":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338783861, 1338783864, 1338783858, 1338783723, 1338783865, 1338783768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18936634063721 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:46:32.844662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/01/image_21022025_09_02_07_9323.jpg', '/home/pi/Desktop/images/21022025/09/02/image_21022025_09_02_17_10344.jpg', '/home/pi/Desktop/images/21022025/09/02/image_21022025_09_02_27_10019.jpg', '/home/pi/Desktop/images/21022025/09/02/image_21022025_09_02_37_10329.jpg', '/home/pi/Desktop/images/21022025/09/02/image_21022025_09_02_47_9440.jpg', '/home/pi/Desktop/images/21022025/09/02/image_21022025_09_02_57_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/01/image_21022025_09_02_07_9323.jpg
/home/pi/Desktop/images/21022025/09/02/image_21022025_09_02_17_10344.jpg
/home/pi/Desktop/images/21022025/09/02/image_21022025_09_02_27_10019.jpg
/home/pi/Desktop/images/21022025/09/02/image_21022025_09_02_37_10329.jpg
/home/pi/Desktop/images/21022025/09/02/image_21022025_09_02_47_9440.jpg
/home/pi/Desktop/images/21022025/09/02/image_21022025_09_02_57_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338783896","1338783908","1338783898","1338783904","1338783907","1338783894"],"photo_ids_order":["1338783894","1338783896","1338783898","1338783904","1338783907","1338783908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c5018354d4349b2a414e8be068b813e.jpg","text":"TemporaryFile(/tmp/multipartBody3142559277150111274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127653351,"filename":"image_21022025_09_02_17_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8e2eea7f6f696cf8ad2050b7ac568075.jpg","text":"TemporaryFile(/tmp/multipartBody3906707081490029085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127653351,"filename":"image_21022025_09_02_57_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c89597a9365f1b5c36cbbcfa3ca43d23.jpg","text":"TemporaryFile(/tmp/multipartBody3439506487852272862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127653351,"filename":"image_21022025_09_02_27_10019.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d01fa5b89f7e274372c34c26761f3e60.jpg","text":"TemporaryFile(/tmp/multipartBody7567594095386802342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127653351,"filename":"image_21022025_09_02_37_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d30bccdb72d1855275895c892b14ff7d.jpg","text":"TemporaryFile(/tmp/multipartBody3047077050692570986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127653351,"filename":"image_21022025_09_02_47_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/35039ca017a867d1f4e1d43f1d3bed60.jpg","text":"TemporaryFile(/tmp/multipartBody2424175769476470302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127653351,"filename":"image_21022025_09_02_07_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338783898","file1":"1338783896","file0":"1338783894","file4":"1338783907","file5":"1338783908","file3":"1338783904"},"map_files_photo_id_array":[{"photo_id":"1338783908","filename":"file5"},{"photo_id":"1338783898","filename":"file2"},{"photo_id":"1338783907","filename":"file4"},{"photo_id":"1338783896","filename":"file1"},{"photo_id":"1338783894","filename":"file0"},{"photo_id":"1338783904","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338783896":["hashtag1","hashtag2"]},{"1338783908":["hashtag1","hashtag2"]},{"1338783898":["hashtag1","hashtag2"]},{"1338783904":["hashtag1","hashtag2"]},{"1338783907":["hashtag1","hashtag2"]},{"1338783894":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338783896, 1338783908, 1338783898, 1338783904, 1338783907, 1338783894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29356408119202 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:47:33.163775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/03/image_21022025_09_03_07_9625.jpg', '/home/pi/Desktop/images/21022025/09/03/image_21022025_09_03_17_10365.jpg', '/home/pi/Desktop/images/21022025/09/03/image_21022025_09_03_27_10031.jpg', '/home/pi/Desktop/images/21022025/09/03/image_21022025_09_03_37_9393.jpg', '/home/pi/Desktop/images/21022025/09/03/image_21022025_09_03_47_10348.jpg', '/home/pi/Desktop/images/21022025/09/03/image_21022025_09_03_57_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/03/image_21022025_09_03_07_9625.jpg
/home/pi/Desktop/images/21022025/09/03/image_21022025_09_03_17_10365.jpg
/home/pi/Desktop/images/21022025/09/03/image_21022025_09_03_27_10031.jpg
/home/pi/Desktop/images/21022025/09/03/image_21022025_09_03_37_9393.jpg
/home/pi/Desktop/images/21022025/09/03/image_21022025_09_03_47_10348.jpg
/home/pi/Desktop/images/21022025/09/03/image_21022025_09_03_57_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338784661","1338784658","1338784559","1338784380","1338784680","1338784233"],"photo_ids_order":["1338784233","1338784380","1338784559","1338784658","1338784661","1338784680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/af6f8a8d778d948e028c5a6148f2e63f.jpg","text":"TemporaryFile(/tmp/multipartBody79626635880824739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127713665,"filename":"image_21022025_09_03_47_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8beaa6513498d6c8b7621ddd6798b7c3.jpg","text":"TemporaryFile(/tmp/multipartBody8955054811293049595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127713665,"filename":"image_21022025_09_03_37_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3dc9862beca70f4b50d44fee1a241490.jpg","text":"TemporaryFile(/tmp/multipartBody6464987927796213660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127713665,"filename":"image_21022025_09_03_27_10031.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ee102f29e9119ac943f70a00719a94d9.jpg","text":"TemporaryFile(/tmp/multipartBody8475001379887672962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127713665,"filename":"image_21022025_09_03_17_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92ad8ffa213316ae10fcb44890eb2e24.jpg","text":"TemporaryFile(/tmp/multipartBody7337588330667477096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127713665,"filename":"image_21022025_09_03_57_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0caf2f58876caf0770370334bed237af.jpg","text":"TemporaryFile(/tmp/multipartBody7293220708141580508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127713665,"filename":"image_21022025_09_03_07_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338784559","file1":"1338784380","file0":"1338784233","file4":"1338784661","file5":"1338784680","file3":"1338784658"},"map_files_photo_id_array":[{"photo_id":"1338784680","filename":"file5"},{"photo_id":"1338784559","filename":"file2"},{"photo_id":"1338784661","filename":"file4"},{"photo_id":"1338784380","filename":"file1"},{"photo_id":"1338784233","filename":"file0"},{"photo_id":"1338784658","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338784661":["hashtag1","hashtag2"]},{"1338784658":["hashtag1","hashtag2"]},{"1338784559":["hashtag1","hashtag2"]},{"1338784380":["hashtag1","hashtag2"]},{"1338784680":["hashtag1","hashtag2"]},{"1338784233":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338784661, 1338784658, 1338784559, 1338784380, 1338784680, 1338784233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.777637004852295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:48:32.174944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/03/image_21022025_09_04_07_9441.jpg', '/home/pi/Desktop/images/21022025/09/04/image_21022025_09_04_17_10334.jpg', '/home/pi/Desktop/images/21022025/09/04/image_21022025_09_04_27_10323.jpg', '/home/pi/Desktop/images/21022025/09/04/image_21022025_09_04_37_9408.jpg', '/home/pi/Desktop/images/21022025/09/04/image_21022025_09_04_47_10345.jpg', '/home/pi/Desktop/images/21022025/09/04/image_21022025_09_04_57_10323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/03/image_21022025_09_04_07_9441.jpg
/home/pi/Desktop/images/21022025/09/04/image_21022025_09_04_17_10334.jpg
/home/pi/Desktop/images/21022025/09/04/image_21022025_09_04_27_10323.jpg
/home/pi/Desktop/images/21022025/09/04/image_21022025_09_04_37_9408.jpg
/home/pi/Desktop/images/21022025/09/04/image_21022025_09_04_47_10345.jpg
/home/pi/Desktop/images/21022025/09/04/image_21022025_09_04_57_10323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338784835","1338784822","1338784831","1338784819","1338784839","1338784827"],"photo_ids_order":["1338784819","1338784822","1338784827","1338784831","1338784835","1338784839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0c879c8e5d09e62e01b54ae3ef119cea.jpg","text":"TemporaryFile(/tmp/multipartBody3729135466907640614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127772668,"filename":"image_21022025_09_04_47_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f5a81efc1ee2fade501f61e3d49fd7ea.jpg","text":"TemporaryFile(/tmp/multipartBody6015160963846830709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127772668,"filename":"image_21022025_09_04_17_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a661c5a52824be86ff0b5624549975b.jpg","text":"TemporaryFile(/tmp/multipartBody4059247425849486380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127772668,"filename":"image_21022025_09_04_37_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b48f7dafeb0f9c5ac769116fc290096e.jpg","text":"TemporaryFile(/tmp/multipartBody624379460055498485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127772668,"filename":"image_21022025_09_04_07_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83a701deae8d9dd0d8f0ca265d11f443.jpg","text":"TemporaryFile(/tmp/multipartBody7641438785625129585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127772668,"filename":"image_21022025_09_04_57_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3b06233c868ae1c6ecdc89b444572228.jpg","text":"TemporaryFile(/tmp/multipartBody2360979644187565988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127772668,"filename":"image_21022025_09_04_27_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338784827","file1":"1338784822","file0":"1338784819","file4":"1338784835","file5":"1338784839","file3":"1338784831"},"map_files_photo_id_array":[{"photo_id":"1338784839","filename":"file5"},{"photo_id":"1338784827","filename":"file2"},{"photo_id":"1338784835","filename":"file4"},{"photo_id":"1338784822","filename":"file1"},{"photo_id":"1338784819","filename":"file0"},{"photo_id":"1338784831","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338784835":["hashtag1","hashtag2"]},{"1338784822":["hashtag1","hashtag2"]},{"1338784831":["hashtag1","hashtag2"]},{"1338784819":["hashtag1","hashtag2"]},{"1338784839":["hashtag1","hashtag2"]},{"1338784827":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338784835, 1338784822, 1338784831, 1338784819, 1338784839, 1338784827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51400017738342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:49:32.378549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/04/image_21022025_09_05_07_9428.jpg', '/home/pi/Desktop/images/21022025/09/05/image_21022025_09_05_17_10369.jpg', '/home/pi/Desktop/images/21022025/09/05/image_21022025_09_05_27_9364.jpg', '/home/pi/Desktop/images/21022025/09/05/image_21022025_09_05_37_10319.jpg', '/home/pi/Desktop/images/21022025/09/05/image_21022025_09_05_47_10335.jpg', '/home/pi/Desktop/images/21022025/09/05/image_21022025_09_05_57_9504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/04/image_21022025_09_05_07_9428.jpg
/home/pi/Desktop/images/21022025/09/05/image_21022025_09_05_17_10369.jpg
/home/pi/Desktop/images/21022025/09/05/image_21022025_09_05_27_9364.jpg
/home/pi/Desktop/images/21022025/09/05/image_21022025_09_05_37_10319.jpg
/home/pi/Desktop/images/21022025/09/05/image_21022025_09_05_47_10335.jpg
/home/pi/Desktop/images/21022025/09/05/image_21022025_09_05_57_9504.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338784877","1338784925","1338784879","1338784875","1338784872","1338784866"],"photo_ids_order":["1338784866","1338784872","1338784875","1338784877","1338784879","1338784925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/25b1461ac92bbb4e58d0c92adc60bbac.jpg","text":"TemporaryFile(/tmp/multipartBody4863213464020578019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127832895,"filename":"image_21022025_09_05_37_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d2748bcbbbb02b06d93d8af33b280a43.jpg","text":"TemporaryFile(/tmp/multipartBody8760597005094066717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127832895,"filename":"image_21022025_09_05_57_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d09d06f7b165a50c0543f87efa6c4ccb.jpg","text":"TemporaryFile(/tmp/multipartBody7090552266495290725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127832895,"filename":"image_21022025_09_05_47_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d99523b78509a101ff40d05d3e93d2b8.jpg","text":"TemporaryFile(/tmp/multipartBody8249470768954116358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127832895,"filename":"image_21022025_09_05_27_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5604790d7e06148af23640eceb608f06.jpg","text":"TemporaryFile(/tmp/multipartBody1480705001318278392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127832895,"filename":"image_21022025_09_05_17_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9836fbd4da1040eabb492ec79e8dc10e.jpg","text":"TemporaryFile(/tmp/multipartBody4961892358463203343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127832895,"filename":"image_21022025_09_05_07_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338784875","file1":"1338784872","file0":"1338784866","file4":"1338784879","file5":"1338784925","file3":"1338784877"},"map_files_photo_id_array":[{"photo_id":"1338784925","filename":"file5"},{"photo_id":"1338784875","filename":"file2"},{"photo_id":"1338784879","filename":"file4"},{"photo_id":"1338784872","filename":"file1"},{"photo_id":"1338784866","filename":"file0"},{"photo_id":"1338784877","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338784877":["hashtag1","hashtag2"]},{"1338784925":["hashtag1","hashtag2"]},{"1338784879":["hashtag1","hashtag2"]},{"1338784875":["hashtag1","hashtag2"]},{"1338784872":["hashtag1","hashtag2"]},{"1338784866":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338784877, 1338784925, 1338784879, 1338784875, 1338784872, 1338784866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60397982597351 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:50:32.690550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/05/image_21022025_09_06_07_10317.jpg', '/home/pi/Desktop/images/21022025/09/06/image_21022025_09_06_17_10346.jpg', '/home/pi/Desktop/images/21022025/09/06/image_21022025_09_06_27_9327.jpg', '/home/pi/Desktop/images/21022025/09/06/image_21022025_09_06_37_10334.jpg', '/home/pi/Desktop/images/21022025/09/06/image_21022025_09_06_47_9475.jpg', '/home/pi/Desktop/images/21022025/09/06/image_21022025_09_06_57_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/05/image_21022025_09_06_07_10317.jpg
/home/pi/Desktop/images/21022025/09/06/image_21022025_09_06_17_10346.jpg
/home/pi/Desktop/images/21022025/09/06/image_21022025_09_06_27_9327.jpg
/home/pi/Desktop/images/21022025/09/06/image_21022025_09_06_37_10334.jpg
/home/pi/Desktop/images/21022025/09/06/image_21022025_09_06_47_9475.jpg
/home/pi/Desktop/images/21022025/09/06/image_21022025_09_06_57_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338785312","1338785243","1338785318","1338785259","1338785310","1338785313"],"photo_ids_order":["1338785243","1338785259","1338785310","1338785312","1338785313","1338785318"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74db741dcd0bb86b42f956e11adb805d.jpg","text":"TemporaryFile(/tmp/multipartBody2568560107696953929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127893237,"filename":"image_21022025_09_06_37_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef39dddcb30dbc9ccd783d78ed177cd6.jpg","text":"TemporaryFile(/tmp/multipartBody3682374672412716862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127893237,"filename":"image_21022025_09_06_07_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b007295b3b92fa63e7b759321e29ea0.jpg","text":"TemporaryFile(/tmp/multipartBody1074567551586363457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127893237,"filename":"image_21022025_09_06_57_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df159aa1c9c8a6fd9b9654fab541af62.jpg","text":"TemporaryFile(/tmp/multipartBody8568141522707675969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127893237,"filename":"image_21022025_09_06_17_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/394aa336b3faaa9a38669c95839fdd6b.jpg","text":"TemporaryFile(/tmp/multipartBody3556587168178213265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127893237,"filename":"image_21022025_09_06_27_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0612ee999084a651b6423c80c957c341.jpg","text":"TemporaryFile(/tmp/multipartBody5570086931866404477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127893237,"filename":"image_21022025_09_06_47_9475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338785310","file1":"1338785259","file0":"1338785243","file4":"1338785313","file5":"1338785318","file3":"1338785312"},"map_files_photo_id_array":[{"photo_id":"1338785318","filename":"file5"},{"photo_id":"1338785310","filename":"file2"},{"photo_id":"1338785313","filename":"file4"},{"photo_id":"1338785259","filename":"file1"},{"photo_id":"1338785243","filename":"file0"},{"photo_id":"1338785312","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338785312":["hashtag1","hashtag2"]},{"1338785243":["hashtag1","hashtag2"]},{"1338785318":["hashtag1","hashtag2"]},{"1338785259":["hashtag1","hashtag2"]},{"1338785310":["hashtag1","hashtag2"]},{"1338785313":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338785312, 1338785243, 1338785318, 1338785259, 1338785310, 1338785313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.92749834060669 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:51:33.020276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/06/image_21022025_09_07_07_10346.jpg', '/home/pi/Desktop/images/21022025/09/07/image_21022025_09_07_17_9464.jpg', '/home/pi/Desktop/images/21022025/09/07/image_21022025_09_07_27_10349.jpg', '/home/pi/Desktop/images/21022025/09/07/image_21022025_09_07_37_10338.jpg', '/home/pi/Desktop/images/21022025/09/07/image_21022025_09_07_47_9395.jpg', '/home/pi/Desktop/images/21022025/09/07/image_21022025_09_07_57_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/06/image_21022025_09_07_07_10346.jpg
/home/pi/Desktop/images/21022025/09/07/image_21022025_09_07_17_9464.jpg
/home/pi/Desktop/images/21022025/09/07/image_21022025_09_07_27_10349.jpg
/home/pi/Desktop/images/21022025/09/07/image_21022025_09_07_37_10338.jpg
/home/pi/Desktop/images/21022025/09/07/image_21022025_09_07_47_9395.jpg
/home/pi/Desktop/images/21022025/09/07/image_21022025_09_07_57_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338785354","1338785356","1338785353","1338785355","1338785349","1338785357"],"photo_ids_order":["1338785349","1338785353","1338785354","1338785355","1338785356","1338785357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6890787a7dd62e834d2f96647e181408.jpg","text":"TemporaryFile(/tmp/multipartBody2377226475280883613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127953536,"filename":"image_21022025_09_07_27_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ef037bbcc64a9ef58975bce3b392398.jpg","text":"TemporaryFile(/tmp/multipartBody5610162076656205867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127953536,"filename":"image_21022025_09_07_47_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f20ec07d56e95bb817e46aa256b23850.jpg","text":"TemporaryFile(/tmp/multipartBody2969510901589169767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127953536,"filename":"image_21022025_09_07_17_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4c2d3b03225f951f0278acbc1820fb7b.jpg","text":"TemporaryFile(/tmp/multipartBody5123247331636487744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127953536,"filename":"image_21022025_09_07_37_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d758a91d3fe6681ccf6c72d1b0c15ba7.jpg","text":"TemporaryFile(/tmp/multipartBody920118260677044754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127953536,"filename":"image_21022025_09_07_07_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/faabfbc5b36b9cc8499286e637201584.jpg","text":"TemporaryFile(/tmp/multipartBody269975994116913991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740127953536,"filename":"image_21022025_09_07_57_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338785354","file1":"1338785353","file0":"1338785349","file4":"1338785356","file5":"1338785357","file3":"1338785355"},"map_files_photo_id_array":[{"photo_id":"1338785357","filename":"file5"},{"photo_id":"1338785354","filename":"file2"},{"photo_id":"1338785356","filename":"file4"},{"photo_id":"1338785353","filename":"file1"},{"photo_id":"1338785349","filename":"file0"},{"photo_id":"1338785355","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338785354":["hashtag1","hashtag2"]},{"1338785356":["hashtag1","hashtag2"]},{"1338785353":["hashtag1","hashtag2"]},{"1338785355":["hashtag1","hashtag2"]},{"1338785349":["hashtag1","hashtag2"]},{"1338785357":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338785354, 1338785356, 1338785353, 1338785355, 1338785349, 1338785357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.098432779312134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:52:32.168891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/07/image_21022025_09_08_07_9440.jpg', '/home/pi/Desktop/images/21022025/09/08/image_21022025_09_08_17_10768.jpg', '/home/pi/Desktop/images/21022025/09/08/image_21022025_09_08_27_9339.jpg', '/home/pi/Desktop/images/21022025/09/08/image_21022025_09_08_37_10349.jpg', '/home/pi/Desktop/images/21022025/09/08/image_21022025_09_08_47_10366.jpg', '/home/pi/Desktop/images/21022025/09/08/image_21022025_09_08_57_9319.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/07/image_21022025_09_08_07_9440.jpg
/home/pi/Desktop/images/21022025/09/08/image_21022025_09_08_17_10768.jpg
/home/pi/Desktop/images/21022025/09/08/image_21022025_09_08_27_9339.jpg
/home/pi/Desktop/images/21022025/09/08/image_21022025_09_08_37_10349.jpg
/home/pi/Desktop/images/21022025/09/08/image_21022025_09_08_47_10366.jpg
/home/pi/Desktop/images/21022025/09/08/image_21022025_09_08_57_9319.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338785411","1338785404","1338785397","1338785401","1338785415","1338785400"],"photo_ids_order":["1338785397","1338785400","1338785401","1338785404","1338785411","1338785415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0237f7ec127ccca0cbc9ae9bdc65d70f.jpg","text":"TemporaryFile(/tmp/multipartBody3275594936156400959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128012684,"filename":"image_21022025_09_08_47_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d5b43494f86456679d3555cbc41870ae.jpg","text":"TemporaryFile(/tmp/multipartBody1733495014322482266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128012684,"filename":"image_21022025_09_08_37_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/09fbddedb583f9306eb10b21a72fae9b.jpg","text":"TemporaryFile(/tmp/multipartBody4054021731847265085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128012684,"filename":"image_21022025_09_08_07_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06b8fac32afcdcc18e82d9a2a095557e.jpg","text":"TemporaryFile(/tmp/multipartBody8098469556864298271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128012684,"filename":"image_21022025_09_08_27_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/91fdbecbfa383bfcb066429ff29b1d62.jpg","text":"TemporaryFile(/tmp/multipartBody2862284342805225615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128012684,"filename":"image_21022025_09_08_57_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6c9cf8172ae75b9aa76aad062f663ce4.jpg","text":"TemporaryFile(/tmp/multipartBody3162979324793028154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128012684,"filename":"image_21022025_09_08_17_10768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338785401","file1":"1338785400","file0":"1338785397","file4":"1338785411","file5":"1338785415","file3":"1338785404"},"map_files_photo_id_array":[{"photo_id":"1338785415","filename":"file5"},{"photo_id":"1338785401","filename":"file2"},{"photo_id":"1338785411","filename":"file4"},{"photo_id":"1338785400","filename":"file1"},{"photo_id":"1338785397","filename":"file0"},{"photo_id":"1338785404","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338785411":["hashtag1","hashtag2"]},{"1338785404":["hashtag1","hashtag2"]},{"1338785397":["hashtag1","hashtag2"]},{"1338785401":["hashtag1","hashtag2"]},{"1338785415":["hashtag1","hashtag2"]},{"1338785400":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338785411, 1338785404, 1338785397, 1338785401, 1338785415, 1338785400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54170513153076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:53:32.423725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/08/image_21022025_09_09_07_10329.jpg', '/home/pi/Desktop/images/21022025/09/09/image_21022025_09_09_17_10337.jpg', '/home/pi/Desktop/images/21022025/09/09/image_21022025_09_09_27_9333.jpg', '/home/pi/Desktop/images/21022025/09/09/image_21022025_09_09_37_10352.jpg', '/home/pi/Desktop/images/21022025/09/09/image_21022025_09_09_47_9500.jpg', '/home/pi/Desktop/images/21022025/09/09/image_21022025_09_09_57_10321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/08/image_21022025_09_09_07_10329.jpg
/home/pi/Desktop/images/21022025/09/09/image_21022025_09_09_17_10337.jpg
/home/pi/Desktop/images/21022025/09/09/image_21022025_09_09_27_9333.jpg
/home/pi/Desktop/images/21022025/09/09/image_21022025_09_09_37_10352.jpg
/home/pi/Desktop/images/21022025/09/09/image_21022025_09_09_47_9500.jpg
/home/pi/Desktop/images/21022025/09/09/image_21022025_09_09_57_10321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338785450","1338785444","1338785441","1338785437","1338785446","1338785448"],"photo_ids_order":["1338785437","1338785441","1338785444","1338785446","1338785448","1338785450"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/03c96897ffe83dafea95e4261654871c.jpg","text":"TemporaryFile(/tmp/multipartBody7285155949164825137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128072928,"filename":"image_21022025_09_09_57_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7072b8c31f98408879b3df155f292b2c.jpg","text":"TemporaryFile(/tmp/multipartBody8046742053682731995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128072928,"filename":"image_21022025_09_09_27_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2302224f4db2e5c6f7328052341bf123.jpg","text":"TemporaryFile(/tmp/multipartBody1557982867176944961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128072928,"filename":"image_21022025_09_09_17_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/24f865b049cdb35d6fc88b514fa6033b.jpg","text":"TemporaryFile(/tmp/multipartBody6862929227537337184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128072928,"filename":"image_21022025_09_09_07_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/344f1599c974c9f6bcc01084f1f27fbb.jpg","text":"TemporaryFile(/tmp/multipartBody3429245122904741938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128072928,"filename":"image_21022025_09_09_37_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5fa815c84e35b7e1618279413762e0d1.jpg","text":"TemporaryFile(/tmp/multipartBody3679877338293185988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128072928,"filename":"image_21022025_09_09_47_9500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338785444","file1":"1338785441","file0":"1338785437","file4":"1338785448","file5":"1338785450","file3":"1338785446"},"map_files_photo_id_array":[{"photo_id":"1338785450","filename":"file5"},{"photo_id":"1338785444","filename":"file2"},{"photo_id":"1338785448","filename":"file4"},{"photo_id":"1338785441","filename":"file1"},{"photo_id":"1338785437","filename":"file0"},{"photo_id":"1338785446","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338785450":["hashtag1","hashtag2"]},{"1338785444":["hashtag1","hashtag2"]},{"1338785441":["hashtag1","hashtag2"]},{"1338785437":["hashtag1","hashtag2"]},{"1338785446":["hashtag1","hashtag2"]},{"1338785448":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338785450, 1338785444, 1338785441, 1338785437, 1338785446, 1338785448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.105600118637085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:54:32.564754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/09/image_21022025_09_10_07_10333.jpg', '/home/pi/Desktop/images/21022025/09/10/image_21022025_09_10_17_9340.jpg', '/home/pi/Desktop/images/21022025/09/10/image_21022025_09_10_27_10331.jpg', '/home/pi/Desktop/images/21022025/09/10/image_21022025_09_10_37_10352.jpg', '/home/pi/Desktop/images/21022025/09/10/image_21022025_09_10_47_9334.jpg', '/home/pi/Desktop/images/21022025/09/10/image_21022025_09_10_57_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/09/image_21022025_09_10_07_10333.jpg
/home/pi/Desktop/images/21022025/09/10/image_21022025_09_10_17_9340.jpg
/home/pi/Desktop/images/21022025/09/10/image_21022025_09_10_27_10331.jpg
/home/pi/Desktop/images/21022025/09/10/image_21022025_09_10_37_10352.jpg
/home/pi/Desktop/images/21022025/09/10/image_21022025_09_10_47_9334.jpg
/home/pi/Desktop/images/21022025/09/10/image_21022025_09_10_57_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338785510","1338785504","1338785506","1338785509","1338785500","1338785508"],"photo_ids_order":["1338785500","1338785504","1338785506","1338785508","1338785509","1338785510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d141371932490601f9c4f13ff9adc81c.jpg","text":"TemporaryFile(/tmp/multipartBody4219893601792514290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128133074,"filename":"image_21022025_09_10_57_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/624f9663acd80cf82c503e74a343fe73.jpg","text":"TemporaryFile(/tmp/multipartBody4245132645950684208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128133074,"filename":"image_21022025_09_10_17_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bfce8499250aaa0478e61e5638b0342a.jpg","text":"TemporaryFile(/tmp/multipartBody1850300358252847729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128133074,"filename":"image_21022025_09_10_27_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c47bffd409efae5029e2d0cd2e8e362a.jpg","text":"TemporaryFile(/tmp/multipartBody6654131590592153775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128133074,"filename":"image_21022025_09_10_47_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bb1d7396889c54a99101d344c378b881.jpg","text":"TemporaryFile(/tmp/multipartBody1410638696752954225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128133074,"filename":"image_21022025_09_10_07_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e80ef7abe0041c5096525a4a5352a3a0.jpg","text":"TemporaryFile(/tmp/multipartBody4932822280094009230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128133074,"filename":"image_21022025_09_10_37_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338785506","file1":"1338785504","file0":"1338785500","file4":"1338785509","file5":"1338785510","file3":"1338785508"},"map_files_photo_id_array":[{"photo_id":"1338785510","filename":"file5"},{"photo_id":"1338785506","filename":"file2"},{"photo_id":"1338785509","filename":"file4"},{"photo_id":"1338785504","filename":"file1"},{"photo_id":"1338785500","filename":"file0"},{"photo_id":"1338785508","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338785510":["hashtag1","hashtag2"]},{"1338785504":["hashtag1","hashtag2"]},{"1338785506":["hashtag1","hashtag2"]},{"1338785509":["hashtag1","hashtag2"]},{"1338785500":["hashtag1","hashtag2"]},{"1338785508":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338785510, 1338785504, 1338785506, 1338785509, 1338785500, 1338785508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2094292640686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:55:32.801879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/10/image_21022025_09_11_07_10339.jpg', '/home/pi/Desktop/images/21022025/09/11/image_21022025_09_11_17_9397.jpg', '/home/pi/Desktop/images/21022025/09/11/image_21022025_09_11_27_10327.jpg', '/home/pi/Desktop/images/21022025/09/11/image_21022025_09_11_47_9425.jpg', '/home/pi/Desktop/images/21022025/09/11/image_21022025_09_11_57_10324.jpg', '/home/pi/Desktop/images/21022025/09/11/image_21022025_09_12_07_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/10/image_21022025_09_11_07_10339.jpg
/home/pi/Desktop/images/21022025/09/11/image_21022025_09_11_17_9397.jpg
/home/pi/Desktop/images/21022025/09/11/image_21022025_09_11_27_10327.jpg
/home/pi/Desktop/images/21022025/09/11/image_21022025_09_11_47_9425.jpg
/home/pi/Desktop/images/21022025/09/11/image_21022025_09_11_57_10324.jpg
/home/pi/Desktop/images/21022025/09/11/image_21022025_09_12_07_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338785549","1338785557","1338785553","1338785556","1338785538","1338785555"],"photo_ids_order":["1338785538","1338785549","1338785553","1338785555","1338785556","1338785557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1e7c4e04d4c3ee7e04ccf57b47f207a.jpg","text":"TemporaryFile(/tmp/multipartBody6092584144460297581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128193311,"filename":"image_21022025_09_11_17_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c28a7ff7b6b51dd47da646e811f6e432.jpg","text":"TemporaryFile(/tmp/multipartBody2961647730186750205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128193311,"filename":"image_21022025_09_12_07_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8475027966b67a6e9ecb068a28f4fddb.jpg","text":"TemporaryFile(/tmp/multipartBody634720596604452388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128193311,"filename":"image_21022025_09_11_27_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/18a5ec4e906ee7d0ae0a6738a7ff5341.jpg","text":"TemporaryFile(/tmp/multipartBody5660332728570838832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128193311,"filename":"image_21022025_09_11_57_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9acdf0b42323dc962fbd12dbb08070e4.jpg","text":"TemporaryFile(/tmp/multipartBody2697994423442100799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128193311,"filename":"image_21022025_09_11_07_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3bb05454b53af72ee6a0197cc5b94c3.jpg","text":"TemporaryFile(/tmp/multipartBody130137813348459918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128193311,"filename":"image_21022025_09_11_47_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338785553","file1":"1338785549","file0":"1338785538","file4":"1338785556","file5":"1338785557","file3":"1338785555"},"map_files_photo_id_array":[{"photo_id":"1338785557","filename":"file5"},{"photo_id":"1338785553","filename":"file2"},{"photo_id":"1338785556","filename":"file4"},{"photo_id":"1338785549","filename":"file1"},{"photo_id":"1338785538","filename":"file0"},{"photo_id":"1338785555","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338785549":["hashtag1","hashtag2"]},{"1338785557":["hashtag1","hashtag2"]},{"1338785553":["hashtag1","hashtag2"]},{"1338785556":["hashtag1","hashtag2"]},{"1338785538":["hashtag1","hashtag2"]},{"1338785555":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338785549, 1338785557, 1338785553, 1338785556, 1338785538, 1338785555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33246612548828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:56:33.096590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/12/image_21022025_09_12_17_9396.jpg', '/home/pi/Desktop/images/21022025/09/12/image_21022025_09_12_27_10332.jpg', '/home/pi/Desktop/images/21022025/09/12/image_21022025_09_12_37_9428.jpg', '/home/pi/Desktop/images/21022025/09/12/image_21022025_09_12_47_10345.jpg', '/home/pi/Desktop/images/21022025/09/12/image_21022025_09_12_57_10327.jpg', '/home/pi/Desktop/images/21022025/09/12/image_21022025_09_13_07_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/12/image_21022025_09_12_17_9396.jpg
/home/pi/Desktop/images/21022025/09/12/image_21022025_09_12_27_10332.jpg
/home/pi/Desktop/images/21022025/09/12/image_21022025_09_12_37_9428.jpg
/home/pi/Desktop/images/21022025/09/12/image_21022025_09_12_47_10345.jpg
/home/pi/Desktop/images/21022025/09/12/image_21022025_09_12_57_10327.jpg
/home/pi/Desktop/images/21022025/09/12/image_21022025_09_13_07_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338785590","1338785593","1338785595","1338785592","1338785585","1338785594"],"photo_ids_order":["1338785585","1338785590","1338785592","1338785593","1338785594","1338785595"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c65b1938367e3d806e5c0e391e7fa1b.jpg","text":"TemporaryFile(/tmp/multipartBody6747889928730036221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128253623,"filename":"image_21022025_09_12_27_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4590b9b051e797a8550b082db600e000.jpg","text":"TemporaryFile(/tmp/multipartBody8978744801486647878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128253623,"filename":"image_21022025_09_12_47_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/14e23dfef4ad21b8ab9cad7d7aeb54fd.jpg","text":"TemporaryFile(/tmp/multipartBody9099134579292411803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128253623,"filename":"image_21022025_09_13_07_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7d855f773af5091f30dc90c411afb875.jpg","text":"TemporaryFile(/tmp/multipartBody4258310448811216904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128253623,"filename":"image_21022025_09_12_37_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c42be834eb078832cbb5691941697288.jpg","text":"TemporaryFile(/tmp/multipartBody1147229180082577231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128253623,"filename":"image_21022025_09_12_17_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f18be9b29b824390a02c8d7e3dc112f9.jpg","text":"TemporaryFile(/tmp/multipartBody7258705922933413699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128253623,"filename":"image_21022025_09_12_57_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338785592","file1":"1338785590","file0":"1338785585","file4":"1338785594","file5":"1338785595","file3":"1338785593"},"map_files_photo_id_array":[{"photo_id":"1338785595","filename":"file5"},{"photo_id":"1338785592","filename":"file2"},{"photo_id":"1338785594","filename":"file4"},{"photo_id":"1338785590","filename":"file1"},{"photo_id":"1338785585","filename":"file0"},{"photo_id":"1338785593","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338785590":["hashtag1","hashtag2"]},{"1338785593":["hashtag1","hashtag2"]},{"1338785595":["hashtag1","hashtag2"]},{"1338785592":["hashtag1","hashtag2"]},{"1338785585":["hashtag1","hashtag2"]},{"1338785594":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338785590, 1338785593, 1338785595, 1338785592, 1338785585, 1338785594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95825123786926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 09:57:32.284920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/13/image_21022025_09_13_17_10335.jpg', '/home/pi/Desktop/images/21022025/09/13/image_21022025_09_13_27_10374.jpg', '/home/pi/Desktop/images/21022025/09/13/image_21022025_09_13_37_9340.jpg', '/home/pi/Desktop/images/21022025/09/13/image_21022025_09_13_47_10337.jpg', '/home/pi/Desktop/images/21022025/09/13/image_21022025_09_13_57_10357.jpg', '/home/pi/Desktop/images/21022025/09/13/image_21022025_09_14_07_9329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/13/image_21022025_09_13_17_10335.jpg
/home/pi/Desktop/images/21022025/09/13/image_21022025_09_13_27_10374.jpg
/home/pi/Desktop/images/21022025/09/13/image_21022025_09_13_37_9340.jpg
/home/pi/Desktop/images/21022025/09/13/image_21022025_09_13_47_10337.jpg
/home/pi/Desktop/images/21022025/09/13/image_21022025_09_13_57_10357.jpg
/home/pi/Desktop/images/21022025/09/13/image_21022025_09_14_07_9329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 09:59:04.516022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/13/image_21022025_09_13_17_10335.jpg', '/home/pi/Desktop/images/21022025/09/13/image_21022025_09_13_27_10374.jpg', '/home/pi/Desktop/images/21022025/09/13/image_21022025_09_13_37_9340.jpg', '/home/pi/Desktop/images/21022025/09/13/image_21022025_09_13_47_10337.jpg', '/home/pi/Desktop/images/21022025/09/13/image_21022025_09_13_57_10357.jpg', '/home/pi/Desktop/images/21022025/09/13/image_21022025_09_14_07_9329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/13/image_21022025_09_13_17_10335.jpg
/home/pi/Desktop/images/21022025/09/13/image_21022025_09_13_27_10374.jpg
/home/pi/Desktop/images/21022025/09/13/image_21022025_09_13_37_9340.jpg
/home/pi/Desktop/images/21022025/09/13/image_21022025_09_13_47_10337.jpg
/home/pi/Desktop/images/21022025/09/13/image_21022025_09_13_57_10357.jpg
/home/pi/Desktop/images/21022025/09/13/image_21022025_09_14_07_9329.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338785735","1338785731","1338785725","1338785719","1338785739","1338785721"],"photo_ids_order":["1338785719","1338785721","1338785725","1338785731","1338785735","1338785739"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bf612d3da21242eee7938b6ee9439494.jpg","text":"TemporaryFile(/tmp/multipartBody2078411560413001915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128405133,"filename":"image_21022025_09_13_57_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a34c062eb4bd5065731ddc08bf9f25d.jpg","text":"TemporaryFile(/tmp/multipartBody6443289381028278439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128405133,"filename":"image_21022025_09_13_47_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e92d1b0ded86a8d42b5b91e3ab9114b5.jpg","text":"TemporaryFile(/tmp/multipartBody6834091607802906180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128405133,"filename":"image_21022025_09_13_37_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/efe28a79a506c31043394c3c67123cde.jpg","text":"TemporaryFile(/tmp/multipartBody1486330311217481368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128405133,"filename":"image_21022025_09_13_17_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/546ac86ee1908fbe360be26d55d8e126.jpg","text":"TemporaryFile(/tmp/multipartBody2118058371770421181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128405133,"filename":"image_21022025_09_14_07_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9b519ae34039e8182a0bc90de0d5f79d.jpg","text":"TemporaryFile(/tmp/multipartBody4207359829179035149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128405133,"filename":"image_21022025_09_13_27_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338785725","file1":"1338785721","file0":"1338785719","file4":"1338785735","file5":"1338785739","file3":"1338785731"},"map_files_photo_id_array":[{"photo_id":"1338785739","filename":"file5"},{"photo_id":"1338785725","filename":"file2"},{"photo_id":"1338785735","filename":"file4"},{"photo_id":"1338785721","filename":"file1"},{"photo_id":"1338785719","filename":"file0"},{"photo_id":"1338785731","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338785735":["hashtag1","hashtag2"]},{"1338785731":["hashtag1","hashtag2"]},{"1338785725":["hashtag1","hashtag2"]},{"1338785719":["hashtag1","hashtag2"]},{"1338785739":["hashtag1","hashtag2"]},{"1338785721":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338785735, 1338785731, 1338785725, 1338785719, 1338785739, 1338785721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13141703605652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 09:59:42.900010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/14/image_21022025_09_14_27_10336.jpg', '/home/pi/Desktop/images/21022025/09/14/image_21022025_09_14_57_9443.jpg', '/home/pi/Desktop/images/21022025/09/14/image_21022025_09_15_07_10397.jpg', '/home/pi/Desktop/images/21022025/09/15/image_21022025_09_15_27_9393.jpg', '/home/pi/Desktop/images/21022025/09/15/image_21022025_09_15_37_10382.jpg', '/home/pi/Desktop/images/21022025/09/15/image_21022025_09_15_47_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/14/image_21022025_09_14_27_10336.jpg
/home/pi/Desktop/images/21022025/09/14/image_21022025_09_14_57_9443.jpg
/home/pi/Desktop/images/21022025/09/14/image_21022025_09_15_07_10397.jpg
/home/pi/Desktop/images/21022025/09/15/image_21022025_09_15_27_9393.jpg
/home/pi/Desktop/images/21022025/09/15/image_21022025_09_15_37_10382.jpg
/home/pi/Desktop/images/21022025/09/15/image_21022025_09_15_47_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338785804","1338785806","1338785790","1338785811","1338785814","1338785792"],"photo_ids_order":["1338785790","1338785792","1338785804","1338785806","1338785811","1338785814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eb9f72f2e25a10914075895e2920f344.jpg","text":"TemporaryFile(/tmp/multipartBody9143781610062134523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128443396,"filename":"image_21022025_09_15_07_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0ded9cba5e87ed80a6e85ec3334d84e0.jpg","text":"TemporaryFile(/tmp/multipartBody7250133213824435189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128443396,"filename":"image_21022025_09_15_27_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd7a5e009fb20c6be5ab172d55831287.jpg","text":"TemporaryFile(/tmp/multipartBody2545820372708218562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128443396,"filename":"image_21022025_09_14_27_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/91d62e42a134e8f3cadf2ec8d6abb8c2.jpg","text":"TemporaryFile(/tmp/multipartBody7962565114000027970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128443396,"filename":"image_21022025_09_15_37_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c77689d227dd6a80ca7a397d7f5a5be.jpg","text":"TemporaryFile(/tmp/multipartBody5880843223674691210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128443396,"filename":"image_21022025_09_15_47_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/615318301cdf67d248ad79295722ca42.jpg","text":"TemporaryFile(/tmp/multipartBody8187357664638438709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128443396,"filename":"image_21022025_09_14_57_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338785804","file1":"1338785792","file0":"1338785790","file4":"1338785811","file5":"1338785814","file3":"1338785806"},"map_files_photo_id_array":[{"photo_id":"1338785814","filename":"file5"},{"photo_id":"1338785804","filename":"file2"},{"photo_id":"1338785811","filename":"file4"},{"photo_id":"1338785792","filename":"file1"},{"photo_id":"1338785790","filename":"file0"},{"photo_id":"1338785806","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338785804":["hashtag1","hashtag2"]},{"1338785806":["hashtag1","hashtag2"]},{"1338785790":["hashtag1","hashtag2"]},{"1338785811":["hashtag1","hashtag2"]},{"1338785814":["hashtag1","hashtag2"]},{"1338785792":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338785804, 1338785806, 1338785790, 1338785811, 1338785814, 1338785792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.29234218597412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:00:32.253327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/15/image_21022025_09_15_57_9386.jpg', '/home/pi/Desktop/images/21022025/09/15/image_21022025_09_16_07_10389.jpg', '/home/pi/Desktop/images/21022025/09/16/image_21022025_09_16_17_9387.jpg', '/home/pi/Desktop/images/21022025/09/16/image_21022025_09_16_27_10435.jpg', '/home/pi/Desktop/images/21022025/09/16/image_21022025_09_16_37_10418.jpg', '/home/pi/Desktop/images/21022025/09/16/image_21022025_09_16_47_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/15/image_21022025_09_15_57_9386.jpg
/home/pi/Desktop/images/21022025/09/15/image_21022025_09_16_07_10389.jpg
/home/pi/Desktop/images/21022025/09/16/image_21022025_09_16_17_9387.jpg
/home/pi/Desktop/images/21022025/09/16/image_21022025_09_16_27_10435.jpg
/home/pi/Desktop/images/21022025/09/16/image_21022025_09_16_37_10418.jpg
/home/pi/Desktop/images/21022025/09/16/image_21022025_09_16_47_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338785840","1338785854","1338785836","1338785853","1338785844","1338785847"],"photo_ids_order":["1338785836","1338785840","1338785844","1338785847","1338785853","1338785854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5ce332db26919dd4e5330de8de97662b.jpg","text":"TemporaryFile(/tmp/multipartBody7250022378037366592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128492746,"filename":"image_21022025_09_16_07_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df61f2de9282addce9b7cffe0ca7c943.jpg","text":"TemporaryFile(/tmp/multipartBody4152518394230595821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128492746,"filename":"image_21022025_09_16_47_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1b6a91d7546e305ff6677353f190482.jpg","text":"TemporaryFile(/tmp/multipartBody2208206572320596009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128492746,"filename":"image_21022025_09_15_57_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cc40252a971f50f4ef27af6449b9e2b8.jpg","text":"TemporaryFile(/tmp/multipartBody2069782827809726957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128492746,"filename":"image_21022025_09_16_37_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0c153e1048f317a1e87cada030b11dfc.jpg","text":"TemporaryFile(/tmp/multipartBody150234850958026892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128492746,"filename":"image_21022025_09_16_17_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef26d4c75c5d31e746c12748a1f9ebcd.jpg","text":"TemporaryFile(/tmp/multipartBody6358410369853162644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128492746,"filename":"image_21022025_09_16_27_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338785844","file1":"1338785840","file0":"1338785836","file4":"1338785853","file5":"1338785854","file3":"1338785847"},"map_files_photo_id_array":[{"photo_id":"1338785854","filename":"file5"},{"photo_id":"1338785844","filename":"file2"},{"photo_id":"1338785853","filename":"file4"},{"photo_id":"1338785840","filename":"file1"},{"photo_id":"1338785836","filename":"file0"},{"photo_id":"1338785847","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338785840":["hashtag1","hashtag2"]},{"1338785854":["hashtag1","hashtag2"]},{"1338785836":["hashtag1","hashtag2"]},{"1338785853":["hashtag1","hashtag2"]},{"1338785844":["hashtag1","hashtag2"]},{"1338785847":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338785840, 1338785854, 1338785836, 1338785853, 1338785844, 1338785847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.80776834487915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:01:32.389495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/16/image_21022025_09_16_57_10341.jpg', '/home/pi/Desktop/images/21022025/09/16/image_21022025_09_17_07_9384.jpg', '/home/pi/Desktop/images/21022025/09/17/image_21022025_09_17_17_10335.jpg', '/home/pi/Desktop/images/21022025/09/17/image_21022025_09_17_27_10352.jpg', '/home/pi/Desktop/images/21022025/09/17/image_21022025_09_17_47_10368.jpg', '/home/pi/Desktop/images/21022025/09/17/image_21022025_09_17_57_10320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/16/image_21022025_09_16_57_10341.jpg
/home/pi/Desktop/images/21022025/09/16/image_21022025_09_17_07_9384.jpg
/home/pi/Desktop/images/21022025/09/17/image_21022025_09_17_17_10335.jpg
/home/pi/Desktop/images/21022025/09/17/image_21022025_09_17_27_10352.jpg
/home/pi/Desktop/images/21022025/09/17/image_21022025_09_17_47_10368.jpg
/home/pi/Desktop/images/21022025/09/17/image_21022025_09_17_57_10320.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338785900","1338785903","1338785893","1338785906","1338785889","1338785897"],"photo_ids_order":["1338785889","1338785893","1338785897","1338785900","1338785903","1338785906"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90bdad51a9286fcb7888c3059a6545d1.jpg","text":"TemporaryFile(/tmp/multipartBody8401774012055526049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128552930,"filename":"image_21022025_09_17_27_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/add499d128d2cbb4d26f4cc59b1a2c65.jpg","text":"TemporaryFile(/tmp/multipartBody5094689045164904896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128552930,"filename":"image_21022025_09_17_47_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cc977bea7379b021de6787db8b7af7ae.jpg","text":"TemporaryFile(/tmp/multipartBody6143374566858751491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128552930,"filename":"image_21022025_09_17_07_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7064041fb7ff3416f268fc6e89897966.jpg","text":"TemporaryFile(/tmp/multipartBody1519420096002942906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128552930,"filename":"image_21022025_09_17_57_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59f0b112bd1db410b925ba00326a20cd.jpg","text":"TemporaryFile(/tmp/multipartBody7632982595089713564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128552930,"filename":"image_21022025_09_16_57_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d074034edf90dbe16346798592793c7e.jpg","text":"TemporaryFile(/tmp/multipartBody7482004124214690119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128552930,"filename":"image_21022025_09_17_17_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338785897","file1":"1338785893","file0":"1338785889","file4":"1338785903","file5":"1338785906","file3":"1338785900"},"map_files_photo_id_array":[{"photo_id":"1338785906","filename":"file5"},{"photo_id":"1338785897","filename":"file2"},{"photo_id":"1338785903","filename":"file4"},{"photo_id":"1338785893","filename":"file1"},{"photo_id":"1338785889","filename":"file0"},{"photo_id":"1338785900","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338785900":["hashtag1","hashtag2"]},{"1338785903":["hashtag1","hashtag2"]},{"1338785893":["hashtag1","hashtag2"]},{"1338785906":["hashtag1","hashtag2"]},{"1338785889":["hashtag1","hashtag2"]},{"1338785897":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338785900, 1338785903, 1338785893, 1338785906, 1338785889, 1338785897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.33450627326965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:02:32.677379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/17/image_21022025_09_18_07_9381.jpg', '/home/pi/Desktop/images/21022025/09/18/image_21022025_09_18_17_10400.jpg', '/home/pi/Desktop/images/21022025/09/18/image_21022025_09_18_28_10402.jpg', '/home/pi/Desktop/images/21022025/09/18/image_21022025_09_18_37_9329.jpg', '/home/pi/Desktop/images/21022025/09/18/image_21022025_09_18_47_10379.jpg', '/home/pi/Desktop/images/21022025/09/18/image_21022025_09_18_57_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/17/image_21022025_09_18_07_9381.jpg
/home/pi/Desktop/images/21022025/09/18/image_21022025_09_18_17_10400.jpg
/home/pi/Desktop/images/21022025/09/18/image_21022025_09_18_28_10402.jpg
/home/pi/Desktop/images/21022025/09/18/image_21022025_09_18_37_9329.jpg
/home/pi/Desktop/images/21022025/09/18/image_21022025_09_18_47_10379.jpg
/home/pi/Desktop/images/21022025/09/18/image_21022025_09_18_57_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338785933","1338785924","1338785926","1338785920","1338785931","1338785928"],"photo_ids_order":["1338785920","1338785924","1338785926","1338785928","1338785931","1338785933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e5a3f032a2b66ac02e244ffeba80cfc2.jpg","text":"TemporaryFile(/tmp/multipartBody8822585427244496372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128613198,"filename":"image_21022025_09_18_57_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a13ff6720c7c2334b8d04bda6aed3912.jpg","text":"TemporaryFile(/tmp/multipartBody153095425182208490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128613198,"filename":"image_21022025_09_18_17_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/72939a84bcfaaa0c511332a4ad39a68d.jpg","text":"TemporaryFile(/tmp/multipartBody7636517728413038129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128613198,"filename":"image_21022025_09_18_28_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b40f1e8dc78a347a23f64595ca45c02.jpg","text":"TemporaryFile(/tmp/multipartBody7998441108667665091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128613198,"filename":"image_21022025_09_18_07_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/73bf58b9fae096389ac4ae619fcdb8f2.jpg","text":"TemporaryFile(/tmp/multipartBody3247413738576597889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128613198,"filename":"image_21022025_09_18_47_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9cbe415adf5b91319ef88fdbc111e6e0.jpg","text":"TemporaryFile(/tmp/multipartBody3772164880747847586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128613198,"filename":"image_21022025_09_18_37_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338785926","file1":"1338785924","file0":"1338785920","file4":"1338785931","file5":"1338785933","file3":"1338785928"},"map_files_photo_id_array":[{"photo_id":"1338785933","filename":"file5"},{"photo_id":"1338785926","filename":"file2"},{"photo_id":"1338785931","filename":"file4"},{"photo_id":"1338785924","filename":"file1"},{"photo_id":"1338785920","filename":"file0"},{"photo_id":"1338785928","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338785933":["hashtag1","hashtag2"]},{"1338785924":["hashtag1","hashtag2"]},{"1338785926":["hashtag1","hashtag2"]},{"1338785920":["hashtag1","hashtag2"]},{"1338785931":["hashtag1","hashtag2"]},{"1338785928":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338785933, 1338785924, 1338785926, 1338785920, 1338785931, 1338785928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.291709899902344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:03:33.058274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/18/image_21022025_09_19_07_10368.jpg', '/home/pi/Desktop/images/21022025/09/19/image_21022025_09_19_17_10338.jpg', '/home/pi/Desktop/images/21022025/09/19/image_21022025_09_19_27_9402.jpg', '/home/pi/Desktop/images/21022025/09/19/image_21022025_09_19_37_10335.jpg', '/home/pi/Desktop/images/21022025/09/19/image_21022025_09_19_47_10344.jpg', '/home/pi/Desktop/images/21022025/09/19/image_21022025_09_19_57_9324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/18/image_21022025_09_19_07_10368.jpg
/home/pi/Desktop/images/21022025/09/19/image_21022025_09_19_17_10338.jpg
/home/pi/Desktop/images/21022025/09/19/image_21022025_09_19_27_9402.jpg
/home/pi/Desktop/images/21022025/09/19/image_21022025_09_19_37_10335.jpg
/home/pi/Desktop/images/21022025/09/19/image_21022025_09_19_47_10344.jpg
/home/pi/Desktop/images/21022025/09/19/image_21022025_09_19_57_9324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338786151","1338786279","1338786083","1338786278","1338786152","1338786146"],"photo_ids_order":["1338786083","1338786146","1338786151","1338786152","1338786278","1338786279"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ccbfb0eaa52fff1ed168bfea9435bda9.jpg","text":"TemporaryFile(/tmp/multipartBody4333107596636515432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128673575,"filename":"image_21022025_09_19_27_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e727c47542da06e34b229f2a5af6ea1e.jpg","text":"TemporaryFile(/tmp/multipartBody8327408274774974569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128673575,"filename":"image_21022025_09_19_57_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1e0592fb5f1116eb4d320d2c14ff1226.jpg","text":"TemporaryFile(/tmp/multipartBody1819063465238492061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128673575,"filename":"image_21022025_09_19_07_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ccaf34d6d3605f638327887723f5079.jpg","text":"TemporaryFile(/tmp/multipartBody139549872118338214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128673575,"filename":"image_21022025_09_19_47_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3efe6e69d42685a73b137dc17a9033df.jpg","text":"TemporaryFile(/tmp/multipartBody2773040313932517554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128673575,"filename":"image_21022025_09_19_37_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b93c7c495f7806492fe286013b74d3ee.jpg","text":"TemporaryFile(/tmp/multipartBody8792237233153956357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128673575,"filename":"image_21022025_09_19_17_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338786151","file1":"1338786146","file0":"1338786083","file4":"1338786278","file5":"1338786279","file3":"1338786152"},"map_files_photo_id_array":[{"photo_id":"1338786279","filename":"file5"},{"photo_id":"1338786151","filename":"file2"},{"photo_id":"1338786278","filename":"file4"},{"photo_id":"1338786146","filename":"file1"},{"photo_id":"1338786083","filename":"file0"},{"photo_id":"1338786152","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338786151":["hashtag1","hashtag2"]},{"1338786279":["hashtag1","hashtag2"]},{"1338786083":["hashtag1","hashtag2"]},{"1338786278":["hashtag1","hashtag2"]},{"1338786152":["hashtag1","hashtag2"]},{"1338786146":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338786151, 1338786279, 1338786083, 1338786278, 1338786152, 1338786146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.357828855514526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:04:33.166135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/19/image_21022025_09_20_07_10325.jpg', '/home/pi/Desktop/images/21022025/09/20/image_21022025_09_20_17_10324.jpg', '/home/pi/Desktop/images/21022025/09/20/image_21022025_09_20_27_9384.jpg', '/home/pi/Desktop/images/21022025/09/20/image_21022025_09_20_37_10331.jpg', '/home/pi/Desktop/images/21022025/09/20/image_21022025_09_20_47_10349.jpg', '/home/pi/Desktop/images/21022025/09/20/image_21022025_09_20_57_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/19/image_21022025_09_20_07_10325.jpg
/home/pi/Desktop/images/21022025/09/20/image_21022025_09_20_17_10324.jpg
/home/pi/Desktop/images/21022025/09/20/image_21022025_09_20_27_9384.jpg
/home/pi/Desktop/images/21022025/09/20/image_21022025_09_20_37_10331.jpg
/home/pi/Desktop/images/21022025/09/20/image_21022025_09_20_47_10349.jpg
/home/pi/Desktop/images/21022025/09/20/image_21022025_09_20_57_9685.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39539408683776855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 10:04:43.022387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/19/image_21022025_09_20_07_10325.jpg', '/home/pi/Desktop/images/21022025/09/20/image_21022025_09_20_17_10324.jpg', '/home/pi/Desktop/images/21022025/09/20/image_21022025_09_20_27_9384.jpg', '/home/pi/Desktop/images/21022025/09/20/image_21022025_09_20_37_10331.jpg', '/home/pi/Desktop/images/21022025/09/20/image_21022025_09_20_47_10349.jpg', '/home/pi/Desktop/images/21022025/09/20/image_21022025_09_20_57_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/19/image_21022025_09_20_07_10325.jpg
/home/pi/Desktop/images/21022025/09/20/image_21022025_09_20_17_10324.jpg
/home/pi/Desktop/images/21022025/09/20/image_21022025_09_20_27_9384.jpg
/home/pi/Desktop/images/21022025/09/20/image_21022025_09_20_37_10331.jpg
/home/pi/Desktop/images/21022025/09/20/image_21022025_09_20_47_10349.jpg
/home/pi/Desktop/images/21022025/09/20/image_21022025_09_20_57_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338786322","1338786325","1338786327","1338786312","1338786315","1338786318"],"photo_ids_order":["1338786312","1338786315","1338786318","1338786322","1338786325","1338786327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8885dc671dad88af1deca3ca014b5af3.jpg","text":"TemporaryFile(/tmp/multipartBody6334367860553927749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128743502,"filename":"image_21022025_09_20_37_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/99170225a101c6552f95f6d5544ca96d.jpg","text":"TemporaryFile(/tmp/multipartBody8031053257957429564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128743502,"filename":"image_21022025_09_20_47_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/820e8b569bafb7e2a6caa72eea28bbb2.jpg","text":"TemporaryFile(/tmp/multipartBody2642386238827964676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128743502,"filename":"image_21022025_09_20_57_9685.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/31dc7510b19f3352a5703dfcde36d41f.jpg","text":"TemporaryFile(/tmp/multipartBody8625681635844451399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128743502,"filename":"image_21022025_09_20_07_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/78e004e609ce445c4301ed7df414e1b2.jpg","text":"TemporaryFile(/tmp/multipartBody7474184743521548817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128743502,"filename":"image_21022025_09_20_17_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a8e82327d060e2da2fdab26f878cb74.jpg","text":"TemporaryFile(/tmp/multipartBody6895522705242781402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128743502,"filename":"image_21022025_09_20_27_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338786318","file1":"1338786315","file0":"1338786312","file4":"1338786325","file5":"1338786327","file3":"1338786322"},"map_files_photo_id_array":[{"photo_id":"1338786327","filename":"file5"},{"photo_id":"1338786318","filename":"file2"},{"photo_id":"1338786325","filename":"file4"},{"photo_id":"1338786315","filename":"file1"},{"photo_id":"1338786312","filename":"file0"},{"photo_id":"1338786322","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338786322":["hashtag1","hashtag2"]},{"1338786325":["hashtag1","hashtag2"]},{"1338786327":["hashtag1","hashtag2"]},{"1338786312":["hashtag1","hashtag2"]},{"1338786315":["hashtag1","hashtag2"]},{"1338786318":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338786322, 1338786325, 1338786327, 1338786312, 1338786315, 1338786318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.699713706970215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:05:32.385250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/20/image_21022025_09_21_07_10351.jpg', '/home/pi/Desktop/images/21022025/09/21/image_21022025_09_21_17_9315.jpg', '/home/pi/Desktop/images/21022025/09/21/image_21022025_09_21_27_10340.jpg', '/home/pi/Desktop/images/21022025/09/21/image_21022025_09_21_37_10336.jpg', '/home/pi/Desktop/images/21022025/09/21/image_21022025_09_21_47_9336.jpg', '/home/pi/Desktop/images/21022025/09/21/image_21022025_09_21_57_10318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/20/image_21022025_09_21_07_10351.jpg
/home/pi/Desktop/images/21022025/09/21/image_21022025_09_21_17_9315.jpg
/home/pi/Desktop/images/21022025/09/21/image_21022025_09_21_27_10340.jpg
/home/pi/Desktop/images/21022025/09/21/image_21022025_09_21_37_10336.jpg
/home/pi/Desktop/images/21022025/09/21/image_21022025_09_21_47_9336.jpg
/home/pi/Desktop/images/21022025/09/21/image_21022025_09_21_57_10318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338786850","1338786709","1338786711","1338786705","1338786708","1338786701"],"photo_ids_order":["1338786701","1338786705","1338786708","1338786709","1338786711","1338786850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80603803bb5360b2a176ab44c518c3d6.jpg","text":"TemporaryFile(/tmp/multipartBody5517573727822309781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128792895,"filename":"image_21022025_09_21_57_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6365346ab0515c84a70e9e1414defaf0.jpg","text":"TemporaryFile(/tmp/multipartBody6482396488314798717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128792895,"filename":"image_21022025_09_21_37_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/673baf1c1a22849582fd544c6f8e19b6.jpg","text":"TemporaryFile(/tmp/multipartBody373384224957376366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128792895,"filename":"image_21022025_09_21_47_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f264470ce0ea3af1f4ed379bdcb98917.jpg","text":"TemporaryFile(/tmp/multipartBody7985995359344226069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128792895,"filename":"image_21022025_09_21_17_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6d46c07def9c5145073c96bf7a554c26.jpg","text":"TemporaryFile(/tmp/multipartBody3934415026648346553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128792895,"filename":"image_21022025_09_21_27_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f4648ae7fd13088f9a7f3b2daacddb9f.jpg","text":"TemporaryFile(/tmp/multipartBody4430931527643306239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128792895,"filename":"image_21022025_09_21_07_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338786708","file1":"1338786705","file0":"1338786701","file4":"1338786711","file5":"1338786850","file3":"1338786709"},"map_files_photo_id_array":[{"photo_id":"1338786850","filename":"file5"},{"photo_id":"1338786708","filename":"file2"},{"photo_id":"1338786711","filename":"file4"},{"photo_id":"1338786705","filename":"file1"},{"photo_id":"1338786701","filename":"file0"},{"photo_id":"1338786709","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338786850":["hashtag1","hashtag2"]},{"1338786709":["hashtag1","hashtag2"]},{"1338786711":["hashtag1","hashtag2"]},{"1338786705":["hashtag1","hashtag2"]},{"1338786708":["hashtag1","hashtag2"]},{"1338786701":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338786850, 1338786709, 1338786711, 1338786705, 1338786708, 1338786701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82494020462036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:06:32.687517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/21/image_21022025_09_22_07_10327.jpg', '/home/pi/Desktop/images/21022025/09/22/image_21022025_09_22_17_9431.jpg', '/home/pi/Desktop/images/21022025/09/22/image_21022025_09_22_27_10333.jpg', '/home/pi/Desktop/images/21022025/09/22/image_21022025_09_22_37_9389.jpg', '/home/pi/Desktop/images/21022025/09/22/image_21022025_09_22_47_10353.jpg', '/home/pi/Desktop/images/21022025/09/22/image_21022025_09_22_57_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/21/image_21022025_09_22_07_10327.jpg
/home/pi/Desktop/images/21022025/09/22/image_21022025_09_22_17_9431.jpg
/home/pi/Desktop/images/21022025/09/22/image_21022025_09_22_27_10333.jpg
/home/pi/Desktop/images/21022025/09/22/image_21022025_09_22_37_9389.jpg
/home/pi/Desktop/images/21022025/09/22/image_21022025_09_22_47_10353.jpg
/home/pi/Desktop/images/21022025/09/22/image_21022025_09_22_57_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338786963","1338786974","1338786956","1338786965","1338786950","1338786953"],"photo_ids_order":["1338786950","1338786953","1338786956","1338786963","1338786965","1338786974"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b8cb6060369790c649d8292f1fab68c.jpg","text":"TemporaryFile(/tmp/multipartBody3180577869907449091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128853182,"filename":"image_21022025_09_22_37_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3a38a291089c4c75366d239b1645f969.jpg","text":"TemporaryFile(/tmp/multipartBody8310652429847569692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128853182,"filename":"image_21022025_09_22_57_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/09d9c5bde70a7a522da5a1975870549a.jpg","text":"TemporaryFile(/tmp/multipartBody8957607176596584582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128853182,"filename":"image_21022025_09_22_27_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b63eccd77b9ff5e645461f6b6ac609db.jpg","text":"TemporaryFile(/tmp/multipartBody3551321690784673783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128853182,"filename":"image_21022025_09_22_47_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8fa2b62be662e9f0a751a5fec225d81c.jpg","text":"TemporaryFile(/tmp/multipartBody7136265605615466602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128853182,"filename":"image_21022025_09_22_07_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0fce6a33735b08d7a91794dd7ca64ee5.jpg","text":"TemporaryFile(/tmp/multipartBody8987836573842016100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128853182,"filename":"image_21022025_09_22_17_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338786956","file1":"1338786953","file0":"1338786950","file4":"1338786965","file5":"1338786974","file3":"1338786963"},"map_files_photo_id_array":[{"photo_id":"1338786974","filename":"file5"},{"photo_id":"1338786956","filename":"file2"},{"photo_id":"1338786965","filename":"file4"},{"photo_id":"1338786953","filename":"file1"},{"photo_id":"1338786950","filename":"file0"},{"photo_id":"1338786963","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338786963":["hashtag1","hashtag2"]},{"1338786974":["hashtag1","hashtag2"]},{"1338786956":["hashtag1","hashtag2"]},{"1338786965":["hashtag1","hashtag2"]},{"1338786950":["hashtag1","hashtag2"]},{"1338786953":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338786963, 1338786974, 1338786956, 1338786965, 1338786950, 1338786953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.46168899536133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:07:32.837617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/22/image_21022025_09_23_07_9471.jpg', '/home/pi/Desktop/images/21022025/09/23/image_21022025_09_23_17_10330.jpg', '/home/pi/Desktop/images/21022025/09/23/image_21022025_09_23_27_10398.jpg', '/home/pi/Desktop/images/21022025/09/23/image_21022025_09_23_37_9424.jpg', '/home/pi/Desktop/images/21022025/09/23/image_21022025_09_23_47_10344.jpg', '/home/pi/Desktop/images/21022025/09/23/image_21022025_09_23_57_9459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/22/image_21022025_09_23_07_9471.jpg
/home/pi/Desktop/images/21022025/09/23/image_21022025_09_23_17_10330.jpg
/home/pi/Desktop/images/21022025/09/23/image_21022025_09_23_27_10398.jpg
/home/pi/Desktop/images/21022025/09/23/image_21022025_09_23_37_9424.jpg
/home/pi/Desktop/images/21022025/09/23/image_21022025_09_23_47_10344.jpg
/home/pi/Desktop/images/21022025/09/23/image_21022025_09_23_57_9459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338787060","1338787053","1338787047","1338787064","1338787058","1338787087"],"photo_ids_order":["1338787047","1338787053","1338787058","1338787060","1338787064","1338787087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d17c0aceb1129e1051a3f9d6e0f17029.jpg","text":"TemporaryFile(/tmp/multipartBody7243235085301916747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128913347,"filename":"image_21022025_09_23_37_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/109a54f3719a688912f5c61b6e81520f.jpg","text":"TemporaryFile(/tmp/multipartBody1205587144064537830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128913347,"filename":"image_21022025_09_23_17_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87de4ccfbcf766c3dd158224fc541f91.jpg","text":"TemporaryFile(/tmp/multipartBody6581073224281564264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128913347,"filename":"image_21022025_09_23_07_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1dae4888d1c074e654c549511c1c442f.jpg","text":"TemporaryFile(/tmp/multipartBody1059511935847612082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128913347,"filename":"image_21022025_09_23_47_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b5e98ff2bb7a536f9b430fcb1fe48ae0.jpg","text":"TemporaryFile(/tmp/multipartBody7379901938077953773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128913347,"filename":"image_21022025_09_23_27_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/803b96cd68dd6889a6f98b0f87e7e850.jpg","text":"TemporaryFile(/tmp/multipartBody3641708133034829492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128913347,"filename":"image_21022025_09_23_57_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338787058","file1":"1338787053","file0":"1338787047","file4":"1338787064","file5":"1338787087","file3":"1338787060"},"map_files_photo_id_array":[{"photo_id":"1338787087","filename":"file5"},{"photo_id":"1338787058","filename":"file2"},{"photo_id":"1338787064","filename":"file4"},{"photo_id":"1338787053","filename":"file1"},{"photo_id":"1338787047","filename":"file0"},{"photo_id":"1338787060","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338787060":["hashtag1","hashtag2"]},{"1338787053":["hashtag1","hashtag2"]},{"1338787047":["hashtag1","hashtag2"]},{"1338787064":["hashtag1","hashtag2"]},{"1338787058":["hashtag1","hashtag2"]},{"1338787087":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338787060, 1338787053, 1338787047, 1338787064, 1338787058, 1338787087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97236108779907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:08:33.108657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/24/image_21022025_09_24_27_9320.jpg', '/home/pi/Desktop/images/21022025/09/24/image_21022025_09_24_37_10329.jpg', '/home/pi/Desktop/images/21022025/09/24/image_21022025_09_24_47_10354.jpg', '/home/pi/Desktop/images/21022025/09/24/image_21022025_09_24_57_9303.jpg', '/home/pi/Desktop/images/21022025/09/24/image_21022025_09_25_07_10380.jpg', '/home/pi/Desktop/images/21022025/09/25/image_21022025_09_25_17_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/24/image_21022025_09_24_27_9320.jpg
/home/pi/Desktop/images/21022025/09/24/image_21022025_09_24_37_10329.jpg
/home/pi/Desktop/images/21022025/09/24/image_21022025_09_24_47_10354.jpg
/home/pi/Desktop/images/21022025/09/24/image_21022025_09_24_57_9303.jpg
/home/pi/Desktop/images/21022025/09/24/image_21022025_09_25_07_10380.jpg
/home/pi/Desktop/images/21022025/09/25/image_21022025_09_25_17_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338787182","1338787185","1338787184","1338787160","1338787163","1338787177"],"photo_ids_order":["1338787160","1338787163","1338787177","1338787182","1338787184","1338787185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d9d22d01f663e4ff44387123d08cf299.jpg","text":"TemporaryFile(/tmp/multipartBody8018460965371037139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128973614,"filename":"image_21022025_09_24_57_9303.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/16e9e05c85bca2114023fa1f634d5308.jpg","text":"TemporaryFile(/tmp/multipartBody5495279967436675592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128973614,"filename":"image_21022025_09_25_17_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6aad4e63e8ce23e8f9e7708b54f58ef6.jpg","text":"TemporaryFile(/tmp/multipartBody8348428891824706475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128973614,"filename":"image_21022025_09_25_07_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/85c44bc600b76bc867f88322936c3ad2.jpg","text":"TemporaryFile(/tmp/multipartBody8201285781569719319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128973614,"filename":"image_21022025_09_24_27_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3e3e50c06fcae4868f818d2cff03de53.jpg","text":"TemporaryFile(/tmp/multipartBody381362840323995948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128973614,"filename":"image_21022025_09_24_37_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef6e086f20cf3dbd683ab6369d59ff44.jpg","text":"TemporaryFile(/tmp/multipartBody4572513749647970242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740128973614,"filename":"image_21022025_09_24_47_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338787177","file1":"1338787163","file0":"1338787160","file4":"1338787184","file5":"1338787185","file3":"1338787182"},"map_files_photo_id_array":[{"photo_id":"1338787185","filename":"file5"},{"photo_id":"1338787177","filename":"file2"},{"photo_id":"1338787184","filename":"file4"},{"photo_id":"1338787163","filename":"file1"},{"photo_id":"1338787160","filename":"file0"},{"photo_id":"1338787182","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338787182":["hashtag1","hashtag2"]},{"1338787185":["hashtag1","hashtag2"]},{"1338787184":["hashtag1","hashtag2"]},{"1338787160":["hashtag1","hashtag2"]},{"1338787163":["hashtag1","hashtag2"]},{"1338787177":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338787182, 1338787185, 1338787184, 1338787160, 1338787163, 1338787177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.642390966415405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:09:32.434663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/25/image_21022025_09_25_27_9419.jpg', '/home/pi/Desktop/images/21022025/09/25/image_21022025_09_25_37_10329.jpg', '/home/pi/Desktop/images/21022025/09/26/image_21022025_09_26_17_9467.jpg', '/home/pi/Desktop/images/21022025/09/26/image_21022025_09_26_27_10335.jpg', '/home/pi/Desktop/images/21022025/09/26/image_21022025_09_26_47_9404.jpg', '/home/pi/Desktop/images/21022025/09/26/image_21022025_09_26_57_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/25/image_21022025_09_25_27_9419.jpg
/home/pi/Desktop/images/21022025/09/25/image_21022025_09_25_37_10329.jpg
/home/pi/Desktop/images/21022025/09/26/image_21022025_09_26_17_9467.jpg
/home/pi/Desktop/images/21022025/09/26/image_21022025_09_26_27_10335.jpg
/home/pi/Desktop/images/21022025/09/26/image_21022025_09_26_47_9404.jpg
/home/pi/Desktop/images/21022025/09/26/image_21022025_09_26_57_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338787246","1338787243","1338787216","1338787224","1338787233","1338787221"],"photo_ids_order":["1338787216","1338787221","1338787224","1338787233","1338787243","1338787246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/14b56acd703ebec49135ffadb99fa323.jpg","text":"TemporaryFile(/tmp/multipartBody936468989218377071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129032920,"filename":"image_21022025_09_26_57_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c6cf1229152a8da25ffc125341d72467.jpg","text":"TemporaryFile(/tmp/multipartBody1042862767537156614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129032920,"filename":"image_21022025_09_26_47_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a1e76047e3b13609f636b4cf3e96a3bb.jpg","text":"TemporaryFile(/tmp/multipartBody4207199207902049443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129032920,"filename":"image_21022025_09_25_27_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e3888ebf0c695e5f2c0708219415d374.jpg","text":"TemporaryFile(/tmp/multipartBody2810548572645305861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129032920,"filename":"image_21022025_09_26_17_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b8dc1ded0020becb1b41a02dfd57d7e3.jpg","text":"TemporaryFile(/tmp/multipartBody435306541555493665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129032920,"filename":"image_21022025_09_26_27_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e2f1560035d84b800141fb9f948bab68.jpg","text":"TemporaryFile(/tmp/multipartBody6045541529788447325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129032920,"filename":"image_21022025_09_25_37_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338787224","file1":"1338787221","file0":"1338787216","file4":"1338787243","file5":"1338787246","file3":"1338787233"},"map_files_photo_id_array":[{"photo_id":"1338787246","filename":"file5"},{"photo_id":"1338787224","filename":"file2"},{"photo_id":"1338787243","filename":"file4"},{"photo_id":"1338787221","filename":"file1"},{"photo_id":"1338787216","filename":"file0"},{"photo_id":"1338787233","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338787246":["hashtag1","hashtag2"]},{"1338787243":["hashtag1","hashtag2"]},{"1338787216":["hashtag1","hashtag2"]},{"1338787224":["hashtag1","hashtag2"]},{"1338787233":["hashtag1","hashtag2"]},{"1338787221":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338787246, 1338787243, 1338787216, 1338787224, 1338787233, 1338787221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.778443813323975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:10:32.564563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/26/image_21022025_09_27_07_9421.jpg', '/home/pi/Desktop/images/21022025/09/27/image_21022025_09_27_27_10332.jpg', '/home/pi/Desktop/images/21022025/09/27/image_21022025_09_27_37_9384.jpg', '/home/pi/Desktop/images/21022025/09/27/image_21022025_09_27_47_10439.jpg', '/home/pi/Desktop/images/21022025/09/27/image_21022025_09_27_57_9713.jpg', '/home/pi/Desktop/images/21022025/09/27/image_21022025_09_28_07_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/26/image_21022025_09_27_07_9421.jpg
/home/pi/Desktop/images/21022025/09/27/image_21022025_09_27_27_10332.jpg
/home/pi/Desktop/images/21022025/09/27/image_21022025_09_27_37_9384.jpg
/home/pi/Desktop/images/21022025/09/27/image_21022025_09_27_47_10439.jpg
/home/pi/Desktop/images/21022025/09/27/image_21022025_09_27_57_9713.jpg
/home/pi/Desktop/images/21022025/09/27/image_21022025_09_28_07_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338787299","1338787303","1338787293","1338787314","1338787308","1338787297"],"photo_ids_order":["1338787293","1338787297","1338787299","1338787303","1338787308","1338787314"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/804a39b34dd976990070e5219c47760f.jpg","text":"TemporaryFile(/tmp/multipartBody5162211727005568049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129093082,"filename":"image_21022025_09_27_37_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1afa64627cbc743690d7640df9e652a0.jpg","text":"TemporaryFile(/tmp/multipartBody9184428238604522444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129093082,"filename":"image_21022025_09_27_47_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aa1799528dfd324eb7549215d400e327.jpg","text":"TemporaryFile(/tmp/multipartBody5476252509290491932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129093082,"filename":"image_21022025_09_27_07_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a2ee841f65257439f3851bf5fdb58fc1.jpg","text":"TemporaryFile(/tmp/multipartBody8479433998555697013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129093082,"filename":"image_21022025_09_28_07_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6b42c765befe73015457832e6a9e3672.jpg","text":"TemporaryFile(/tmp/multipartBody2447978242680230601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129093082,"filename":"image_21022025_09_27_57_9713.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a7cd7dc55bd8da45516becff1c7c18e5.jpg","text":"TemporaryFile(/tmp/multipartBody6762293967260589239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129093082,"filename":"image_21022025_09_27_27_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338787299","file1":"1338787297","file0":"1338787293","file4":"1338787308","file5":"1338787314","file3":"1338787303"},"map_files_photo_id_array":[{"photo_id":"1338787314","filename":"file5"},{"photo_id":"1338787299","filename":"file2"},{"photo_id":"1338787308","filename":"file4"},{"photo_id":"1338787297","filename":"file1"},{"photo_id":"1338787293","filename":"file0"},{"photo_id":"1338787303","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338787299":["hashtag1","hashtag2"]},{"1338787303":["hashtag1","hashtag2"]},{"1338787293":["hashtag1","hashtag2"]},{"1338787314":["hashtag1","hashtag2"]},{"1338787308":["hashtag1","hashtag2"]},{"1338787297":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338787299, 1338787303, 1338787293, 1338787314, 1338787308, 1338787297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.192044496536255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:11:32.965384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/28/image_21022025_09_28_17_10352.jpg', '/home/pi/Desktop/images/21022025/09/28/image_21022025_09_28_27_9381.jpg', '/home/pi/Desktop/images/21022025/09/28/image_21022025_09_28_37_10335.jpg', '/home/pi/Desktop/images/21022025/09/28/image_21022025_09_28_47_9396.jpg', '/home/pi/Desktop/images/21022025/09/28/image_21022025_09_28_57_10344.jpg', '/home/pi/Desktop/images/21022025/09/28/image_21022025_09_29_07_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/28/image_21022025_09_28_17_10352.jpg
/home/pi/Desktop/images/21022025/09/28/image_21022025_09_28_27_9381.jpg
/home/pi/Desktop/images/21022025/09/28/image_21022025_09_28_37_10335.jpg
/home/pi/Desktop/images/21022025/09/28/image_21022025_09_28_47_9396.jpg
/home/pi/Desktop/images/21022025/09/28/image_21022025_09_28_57_10344.jpg
/home/pi/Desktop/images/21022025/09/28/image_21022025_09_29_07_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338787366","1338787360","1338787368","1338787364","1338787352","1338787357"],"photo_ids_order":["1338787352","1338787357","1338787360","1338787364","1338787366","1338787368"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81a467483909726ca39b6b1b723911b0.jpg","text":"TemporaryFile(/tmp/multipartBody613168470233028435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129153458,"filename":"image_21022025_09_28_57_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5a9cbb29f2b03dec53134b02e8024af4.jpg","text":"TemporaryFile(/tmp/multipartBody9168659582698593757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129153458,"filename":"image_21022025_09_28_37_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2fcb383f66b58884177028d7373727bb.jpg","text":"TemporaryFile(/tmp/multipartBody548697235378032675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129153458,"filename":"image_21022025_09_29_07_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1def3a330bdb6c432069de4aafaf6df6.jpg","text":"TemporaryFile(/tmp/multipartBody5813634897641126426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129153458,"filename":"image_21022025_09_28_47_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae2067366d0783409a5bb31010975f7a.jpg","text":"TemporaryFile(/tmp/multipartBody1301881440162111424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129153458,"filename":"image_21022025_09_28_17_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7d82aaeb9bfce318399e1654a35f678c.jpg","text":"TemporaryFile(/tmp/multipartBody8441894493956142790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129153458,"filename":"image_21022025_09_28_27_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338787360","file1":"1338787357","file0":"1338787352","file4":"1338787366","file5":"1338787368","file3":"1338787364"},"map_files_photo_id_array":[{"photo_id":"1338787368","filename":"file5"},{"photo_id":"1338787360","filename":"file2"},{"photo_id":"1338787366","filename":"file4"},{"photo_id":"1338787357","filename":"file1"},{"photo_id":"1338787352","filename":"file0"},{"photo_id":"1338787364","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338787366":["hashtag1","hashtag2"]},{"1338787360":["hashtag1","hashtag2"]},{"1338787368":["hashtag1","hashtag2"]},{"1338787364":["hashtag1","hashtag2"]},{"1338787352":["hashtag1","hashtag2"]},{"1338787357":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338787366, 1338787360, 1338787368, 1338787364, 1338787352, 1338787357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.019068002700806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:12:33.394700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/29/image_21022025_09_29_17_9364.jpg', '/home/pi/Desktop/images/21022025/09/29/image_21022025_09_29_27_10351.jpg', '/home/pi/Desktop/images/21022025/09/29/image_21022025_09_29_37_10358.jpg', '/home/pi/Desktop/images/21022025/09/29/image_21022025_09_29_47_9329.jpg', '/home/pi/Desktop/images/21022025/09/29/image_21022025_09_29_57_10348.jpg', '/home/pi/Desktop/images/21022025/09/29/image_21022025_09_30_07_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/29/image_21022025_09_29_17_9364.jpg
/home/pi/Desktop/images/21022025/09/29/image_21022025_09_29_27_10351.jpg
/home/pi/Desktop/images/21022025/09/29/image_21022025_09_29_37_10358.jpg
/home/pi/Desktop/images/21022025/09/29/image_21022025_09_29_47_9329.jpg
/home/pi/Desktop/images/21022025/09/29/image_21022025_09_29_57_10348.jpg
/home/pi/Desktop/images/21022025/09/29/image_21022025_09_30_07_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338787579","1338787587","1338787581","1338787583","1338787591","1338787597"],"photo_ids_order":["1338787579","1338787581","1338787583","1338787587","1338787591","1338787597"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2e4900cc2d97bf5127b681e5a44f3b3c.jpg","text":"TemporaryFile(/tmp/multipartBody4455368198399286640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129213887,"filename":"image_21022025_09_29_17_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0b54803647208c12f4ae1491fe0ca5b5.jpg","text":"TemporaryFile(/tmp/multipartBody7458300662772014335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129213887,"filename":"image_21022025_09_29_47_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/38cf977c63c0f1467c15809a3e092926.jpg","text":"TemporaryFile(/tmp/multipartBody201281499821624549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129213887,"filename":"image_21022025_09_29_27_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aef21cff62bd8abb75e79c80fbd42d56.jpg","text":"TemporaryFile(/tmp/multipartBody7035287660264959103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129213887,"filename":"image_21022025_09_29_37_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/16aad455a46f8a8ff3f6f8417865d316.jpg","text":"TemporaryFile(/tmp/multipartBody5111279655184927267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129213887,"filename":"image_21022025_09_29_57_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7dc99c8841cfddfb1a9025274f91b20e.jpg","text":"TemporaryFile(/tmp/multipartBody44593803757222918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129213887,"filename":"image_21022025_09_30_07_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338787583","file1":"1338787581","file0":"1338787579","file4":"1338787591","file5":"1338787597","file3":"1338787587"},"map_files_photo_id_array":[{"photo_id":"1338787597","filename":"file5"},{"photo_id":"1338787583","filename":"file2"},{"photo_id":"1338787591","filename":"file4"},{"photo_id":"1338787581","filename":"file1"},{"photo_id":"1338787579","filename":"file0"},{"photo_id":"1338787587","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338787579":["hashtag1","hashtag2"]},{"1338787587":["hashtag1","hashtag2"]},{"1338787581":["hashtag1","hashtag2"]},{"1338787583":["hashtag1","hashtag2"]},{"1338787591":["hashtag1","hashtag2"]},{"1338787597":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338787579, 1338787587, 1338787581, 1338787583, 1338787591, 1338787597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19088697433472 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:13:32.492648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/30/image_21022025_09_30_17_9431.jpg', '/home/pi/Desktop/images/21022025/09/30/image_21022025_09_30_27_10344.jpg', '/home/pi/Desktop/images/21022025/09/30/image_21022025_09_30_47_9327.jpg', '/home/pi/Desktop/images/21022025/09/30/image_21022025_09_30_57_10433.jpg', '/home/pi/Desktop/images/21022025/09/30/image_21022025_09_31_07_9461.jpg', '/home/pi/Desktop/images/21022025/09/31/image_21022025_09_31_17_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/30/image_21022025_09_30_17_9431.jpg
/home/pi/Desktop/images/21022025/09/30/image_21022025_09_30_27_10344.jpg
/home/pi/Desktop/images/21022025/09/30/image_21022025_09_30_47_9327.jpg
/home/pi/Desktop/images/21022025/09/30/image_21022025_09_30_57_10433.jpg
/home/pi/Desktop/images/21022025/09/30/image_21022025_09_31_07_9461.jpg
/home/pi/Desktop/images/21022025/09/31/image_21022025_09_31_17_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338787678","1338787668","1338787664","1338787666","1338787681","1338787660"],"photo_ids_order":["1338787660","1338787664","1338787666","1338787668","1338787678","1338787681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a8a2972aa8e87b1e31fc15ae507251c.jpg","text":"TemporaryFile(/tmp/multipartBody3386835283844450111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129272978,"filename":"image_21022025_09_31_07_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/baca37c83a12568720c5258bf8f66f38.jpg","text":"TemporaryFile(/tmp/multipartBody5380282508684069733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129272978,"filename":"image_21022025_09_30_57_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c31b08ccc43a300f481eea0654f5f2e3.jpg","text":"TemporaryFile(/tmp/multipartBody7036536599279664501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129272978,"filename":"image_21022025_09_30_27_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a177daa2bc58475e732048503f263445.jpg","text":"TemporaryFile(/tmp/multipartBody1540763370501877943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129272978,"filename":"image_21022025_09_30_47_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d2b40558b0332a06ffd0245808d5fd13.jpg","text":"TemporaryFile(/tmp/multipartBody3261912179186665591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129272978,"filename":"image_21022025_09_31_17_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce8f4dec6080bedd18383639795cbfa2.jpg","text":"TemporaryFile(/tmp/multipartBody2908980237408208599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129272978,"filename":"image_21022025_09_30_17_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338787666","file1":"1338787664","file0":"1338787660","file4":"1338787678","file5":"1338787681","file3":"1338787668"},"map_files_photo_id_array":[{"photo_id":"1338787681","filename":"file5"},{"photo_id":"1338787666","filename":"file2"},{"photo_id":"1338787678","filename":"file4"},{"photo_id":"1338787664","filename":"file1"},{"photo_id":"1338787660","filename":"file0"},{"photo_id":"1338787668","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338787678":["hashtag1","hashtag2"]},{"1338787668":["hashtag1","hashtag2"]},{"1338787664":["hashtag1","hashtag2"]},{"1338787666":["hashtag1","hashtag2"]},{"1338787681":["hashtag1","hashtag2"]},{"1338787660":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338787678, 1338787668, 1338787664, 1338787666, 1338787681, 1338787660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.30597114562988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:14:32.711857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/31/image_21022025_09_31_27_10317.jpg', '/home/pi/Desktop/images/21022025/09/31/image_21022025_09_31_37_9310.jpg', '/home/pi/Desktop/images/21022025/09/31/image_21022025_09_31_47_10351.jpg', '/home/pi/Desktop/images/21022025/09/31/image_21022025_09_31_57_10323.jpg', '/home/pi/Desktop/images/21022025/09/31/image_21022025_09_32_07_9369.jpg', '/home/pi/Desktop/images/21022025/09/32/image_21022025_09_32_17_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/31/image_21022025_09_31_27_10317.jpg
/home/pi/Desktop/images/21022025/09/31/image_21022025_09_31_37_9310.jpg
/home/pi/Desktop/images/21022025/09/31/image_21022025_09_31_47_10351.jpg
/home/pi/Desktop/images/21022025/09/31/image_21022025_09_31_57_10323.jpg
/home/pi/Desktop/images/21022025/09/31/image_21022025_09_32_07_9369.jpg
/home/pi/Desktop/images/21022025/09/32/image_21022025_09_32_17_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338787834","1338787819","1338787839","1338787844","1338787817","1338787826"],"photo_ids_order":["1338787817","1338787819","1338787826","1338787834","1338787839","1338787844"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dcca8ec2f8f09effdb1bb934e531a6b1.jpg","text":"TemporaryFile(/tmp/multipartBody1539404222458837086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129333196,"filename":"image_21022025_09_31_57_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/163f4d6cc92c313aea8a27ed76213fd4.jpg","text":"TemporaryFile(/tmp/multipartBody4159782279616542655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129333196,"filename":"image_21022025_09_31_37_9310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7bdc790f39d7b7b66bcd612fa973c0b.jpg","text":"TemporaryFile(/tmp/multipartBody2796339517961665186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129333196,"filename":"image_21022025_09_32_07_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dfe9b6670e47e7054c3d511bd17874b4.jpg","text":"TemporaryFile(/tmp/multipartBody2319673033523639586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129333196,"filename":"image_21022025_09_32_17_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c3161f0a0cecd6dc964ee57ed7c663a5.jpg","text":"TemporaryFile(/tmp/multipartBody405643914782559227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129333196,"filename":"image_21022025_09_31_27_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a5933535d5c64692d420ffba280c7f2.jpg","text":"TemporaryFile(/tmp/multipartBody533471353272676906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129333196,"filename":"image_21022025_09_31_47_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338787826","file1":"1338787819","file0":"1338787817","file4":"1338787839","file5":"1338787844","file3":"1338787834"},"map_files_photo_id_array":[{"photo_id":"1338787844","filename":"file5"},{"photo_id":"1338787826","filename":"file2"},{"photo_id":"1338787839","filename":"file4"},{"photo_id":"1338787819","filename":"file1"},{"photo_id":"1338787817","filename":"file0"},{"photo_id":"1338787834","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338787834":["hashtag1","hashtag2"]},{"1338787819":["hashtag1","hashtag2"]},{"1338787839":["hashtag1","hashtag2"]},{"1338787844":["hashtag1","hashtag2"]},{"1338787817":["hashtag1","hashtag2"]},{"1338787826":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338787834, 1338787819, 1338787839, 1338787844, 1338787817, 1338787826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83792781829834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:15:32.956552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/32/image_21022025_09_32_27_10321.jpg', '/home/pi/Desktop/images/21022025/09/32/image_21022025_09_32_37_9341.jpg', '/home/pi/Desktop/images/21022025/09/32/image_21022025_09_32_47_10424.jpg', '/home/pi/Desktop/images/21022025/09/32/image_21022025_09_32_57_10328.jpg', '/home/pi/Desktop/images/21022025/09/32/image_21022025_09_33_07_9400.jpg', '/home/pi/Desktop/images/21022025/09/33/image_21022025_09_33_17_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/32/image_21022025_09_32_27_10321.jpg
/home/pi/Desktop/images/21022025/09/32/image_21022025_09_32_37_9341.jpg
/home/pi/Desktop/images/21022025/09/32/image_21022025_09_32_47_10424.jpg
/home/pi/Desktop/images/21022025/09/32/image_21022025_09_32_57_10328.jpg
/home/pi/Desktop/images/21022025/09/32/image_21022025_09_33_07_9400.jpg
/home/pi/Desktop/images/21022025/09/33/image_21022025_09_33_17_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338787881","1338787884","1338787878","1338787876","1338787888","1338787873"],"photo_ids_order":["1338787873","1338787876","1338787878","1338787881","1338787884","1338787888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/66e328d54bc0b499483e9beb35569ff5.jpg","text":"TemporaryFile(/tmp/multipartBody3474692698590411461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129393447,"filename":"image_21022025_09_32_57_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/235f1306ee95ee579c46a8c21e78adeb.jpg","text":"TemporaryFile(/tmp/multipartBody1469332053513027714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129393447,"filename":"image_21022025_09_33_07_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02975593ecbe23f94f524f65151eb12f.jpg","text":"TemporaryFile(/tmp/multipartBody1226218832782099066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129393447,"filename":"image_21022025_09_32_47_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9d3ffc1b8606ca8f021afb3e2256a5c8.jpg","text":"TemporaryFile(/tmp/multipartBody522913254590492955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129393447,"filename":"image_21022025_09_32_37_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0dda48db573e743f08d3f9c3cbd7a56e.jpg","text":"TemporaryFile(/tmp/multipartBody3899611777224294821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129393447,"filename":"image_21022025_09_33_17_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/55f1710e17982563637602756f2be1fd.jpg","text":"TemporaryFile(/tmp/multipartBody8072596909307170026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129393447,"filename":"image_21022025_09_32_27_10321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338787878","file1":"1338787876","file0":"1338787873","file4":"1338787884","file5":"1338787888","file3":"1338787881"},"map_files_photo_id_array":[{"photo_id":"1338787888","filename":"file5"},{"photo_id":"1338787878","filename":"file2"},{"photo_id":"1338787884","filename":"file4"},{"photo_id":"1338787876","filename":"file1"},{"photo_id":"1338787873","filename":"file0"},{"photo_id":"1338787881","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338787881":["hashtag1","hashtag2"]},{"1338787884":["hashtag1","hashtag2"]},{"1338787878":["hashtag1","hashtag2"]},{"1338787876":["hashtag1","hashtag2"]},{"1338787888":["hashtag1","hashtag2"]},{"1338787873":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338787881, 1338787884, 1338787878, 1338787876, 1338787888, 1338787873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.39367961883545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:16:32.388947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/33/image_21022025_09_33_27_9389.jpg', '/home/pi/Desktop/images/21022025/09/33/image_21022025_09_33_37_10403.jpg', '/home/pi/Desktop/images/21022025/09/33/image_21022025_09_33_47_10342.jpg', '/home/pi/Desktop/images/21022025/09/33/image_21022025_09_33_57_9417.jpg', '/home/pi/Desktop/images/21022025/09/33/image_21022025_09_34_07_10320.jpg', '/home/pi/Desktop/images/21022025/09/34/image_21022025_09_34_17_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/33/image_21022025_09_33_27_9389.jpg
/home/pi/Desktop/images/21022025/09/33/image_21022025_09_33_37_10403.jpg
/home/pi/Desktop/images/21022025/09/33/image_21022025_09_33_47_10342.jpg
/home/pi/Desktop/images/21022025/09/33/image_21022025_09_33_57_9417.jpg
/home/pi/Desktop/images/21022025/09/33/image_21022025_09_34_07_10320.jpg
/home/pi/Desktop/images/21022025/09/34/image_21022025_09_34_17_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338788160","1338788076","1338787902","1338788243","1338788071","1338787928"],"photo_ids_order":["1338787902","1338787928","1338788071","1338788076","1338788160","1338788243"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/09c89c2dc732bcc3cda7e741f83fdcce.jpg","text":"TemporaryFile(/tmp/multipartBody7899161808298918338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129452859,"filename":"image_21022025_09_34_07_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87b337d27b201059d44b44ea454ded69.jpg","text":"TemporaryFile(/tmp/multipartBody4216400490189642484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129452859,"filename":"image_21022025_09_33_57_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/69ebe59f5e020d8771d9695260425666.jpg","text":"TemporaryFile(/tmp/multipartBody972128121937250554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129452859,"filename":"image_21022025_09_33_27_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f531787e3db0d4736cc51af42d0c30a.jpg","text":"TemporaryFile(/tmp/multipartBody4376231118984710783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129452859,"filename":"image_21022025_09_34_17_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/77f06aa6ad64805a0df93b8ba92961c3.jpg","text":"TemporaryFile(/tmp/multipartBody5647239456209497833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129452859,"filename":"image_21022025_09_33_47_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bc270597c0b2b6c99950c7a968a78cfd.jpg","text":"TemporaryFile(/tmp/multipartBody7747802983225461630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129452859,"filename":"image_21022025_09_33_37_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338788071","file1":"1338787928","file0":"1338787902","file4":"1338788160","file5":"1338788243","file3":"1338788076"},"map_files_photo_id_array":[{"photo_id":"1338788243","filename":"file5"},{"photo_id":"1338788071","filename":"file2"},{"photo_id":"1338788160","filename":"file4"},{"photo_id":"1338787928","filename":"file1"},{"photo_id":"1338787902","filename":"file0"},{"photo_id":"1338788076","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338788160":["hashtag1","hashtag2"]},{"1338788076":["hashtag1","hashtag2"]},{"1338787902":["hashtag1","hashtag2"]},{"1338788243":["hashtag1","hashtag2"]},{"1338788071":["hashtag1","hashtag2"]},{"1338787928":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338788160, 1338788076, 1338787902, 1338788243, 1338788071, 1338787928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72637915611267 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:17:32.583538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/34/image_21022025_09_34_27_9351.jpg', '/home/pi/Desktop/images/21022025/09/34/image_21022025_09_34_37_10275.jpg', '/home/pi/Desktop/images/21022025/09/34/image_21022025_09_34_47_9806.jpg', '/home/pi/Desktop/images/21022025/09/34/image_21022025_09_34_57_10342.jpg', '/home/pi/Desktop/images/21022025/09/34/image_21022025_09_35_07_9392.jpg', '/home/pi/Desktop/images/21022025/09/35/image_21022025_09_35_17_10826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/34/image_21022025_09_34_27_9351.jpg
/home/pi/Desktop/images/21022025/09/34/image_21022025_09_34_37_10275.jpg
/home/pi/Desktop/images/21022025/09/34/image_21022025_09_34_47_9806.jpg
/home/pi/Desktop/images/21022025/09/34/image_21022025_09_34_57_10342.jpg
/home/pi/Desktop/images/21022025/09/34/image_21022025_09_35_07_9392.jpg
/home/pi/Desktop/images/21022025/09/35/image_21022025_09_35_17_10826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338788294","1338788307","1338788291","1338788300","1338788303","1338788296"],"photo_ids_order":["1338788291","1338788294","1338788296","1338788300","1338788303","1338788307"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/666cc09f676174d3fdee8df5032b154a.jpg","text":"TemporaryFile(/tmp/multipartBody8338608104487070519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129513060,"filename":"image_21022025_09_34_37_10275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5058f384f5ba3e36829ae5df295da622.jpg","text":"TemporaryFile(/tmp/multipartBody8143719169650341824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129513060,"filename":"image_21022025_09_35_17_10826.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4537f96e858871be7a342a0e3919769c.jpg","text":"TemporaryFile(/tmp/multipartBody2214235274908696337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129513060,"filename":"image_21022025_09_34_27_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/68388b9a75edd50882926959fc7aea65.jpg","text":"TemporaryFile(/tmp/multipartBody3487847810903295019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129513060,"filename":"image_21022025_09_34_57_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f88dbed380f005bba82efb2fb6261e2.jpg","text":"TemporaryFile(/tmp/multipartBody189977052151194293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129513060,"filename":"image_21022025_09_35_07_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bfd26912fd0557821493be4189857d38.jpg","text":"TemporaryFile(/tmp/multipartBody3541024286949793627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129513060,"filename":"image_21022025_09_34_47_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338788296","file1":"1338788294","file0":"1338788291","file4":"1338788303","file5":"1338788307","file3":"1338788300"},"map_files_photo_id_array":[{"photo_id":"1338788307","filename":"file5"},{"photo_id":"1338788296","filename":"file2"},{"photo_id":"1338788303","filename":"file4"},{"photo_id":"1338788294","filename":"file1"},{"photo_id":"1338788291","filename":"file0"},{"photo_id":"1338788300","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338788294":["hashtag1","hashtag2"]},{"1338788307":["hashtag1","hashtag2"]},{"1338788291":["hashtag1","hashtag2"]},{"1338788300":["hashtag1","hashtag2"]},{"1338788303":["hashtag1","hashtag2"]},{"1338788296":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338788294, 1338788307, 1338788291, 1338788300, 1338788303, 1338788296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66147327423096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:18:32.730876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/35/image_21022025_09_35_27_9334.jpg', '/home/pi/Desktop/images/21022025/09/35/image_21022025_09_35_37_10335.jpg', '/home/pi/Desktop/images/21022025/09/35/image_21022025_09_35_47_10355.jpg', '/home/pi/Desktop/images/21022025/09/35/image_21022025_09_35_57_9354.jpg', '/home/pi/Desktop/images/21022025/09/35/image_21022025_09_36_07_10346.jpg', '/home/pi/Desktop/images/21022025/09/36/image_21022025_09_36_17_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/35/image_21022025_09_35_27_9334.jpg
/home/pi/Desktop/images/21022025/09/35/image_21022025_09_35_37_10335.jpg
/home/pi/Desktop/images/21022025/09/35/image_21022025_09_35_47_10355.jpg
/home/pi/Desktop/images/21022025/09/35/image_21022025_09_35_57_9354.jpg
/home/pi/Desktop/images/21022025/09/35/image_21022025_09_36_07_10346.jpg
/home/pi/Desktop/images/21022025/09/36/image_21022025_09_36_17_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338788373","1338788367","1338788360","1338788390","1338788351","1338788383"],"photo_ids_order":["1338788351","1338788360","1338788367","1338788373","1338788383","1338788390"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1a209910aa5127a86a0e627d6fc66d4.jpg","text":"TemporaryFile(/tmp/multipartBody5413342619412297787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129573203,"filename":"image_21022025_09_35_57_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e8b77e25d0211c9c547b9e1504975b85.jpg","text":"TemporaryFile(/tmp/multipartBody2200087177200580573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129573203,"filename":"image_21022025_09_35_47_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4fc322dd6f873a5383129f332a252322.jpg","text":"TemporaryFile(/tmp/multipartBody5261182243697761854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129573203,"filename":"image_21022025_09_35_37_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61dab58d819cb2051b8aa108e6e1a6b2.jpg","text":"TemporaryFile(/tmp/multipartBody8072491360590688523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129573203,"filename":"image_21022025_09_36_17_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/82b525a2c516707d9ca5cda0ab98b12e.jpg","text":"TemporaryFile(/tmp/multipartBody4675772944790180956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129573203,"filename":"image_21022025_09_35_27_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9752e53c14d6a3242620435d660558ca.jpg","text":"TemporaryFile(/tmp/multipartBody4867887055688919631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129573203,"filename":"image_21022025_09_36_07_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338788367","file1":"1338788360","file0":"1338788351","file4":"1338788383","file5":"1338788390","file3":"1338788373"},"map_files_photo_id_array":[{"photo_id":"1338788390","filename":"file5"},{"photo_id":"1338788367","filename":"file2"},{"photo_id":"1338788383","filename":"file4"},{"photo_id":"1338788360","filename":"file1"},{"photo_id":"1338788351","filename":"file0"},{"photo_id":"1338788373","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338788373":["hashtag1","hashtag2"]},{"1338788367":["hashtag1","hashtag2"]},{"1338788360":["hashtag1","hashtag2"]},{"1338788390":["hashtag1","hashtag2"]},{"1338788351":["hashtag1","hashtag2"]},{"1338788383":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338788373, 1338788367, 1338788360, 1338788390, 1338788351, 1338788383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2280809879303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:19:32.955563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/36/image_21022025_09_36_27_9390.jpg', '/home/pi/Desktop/images/21022025/09/36/image_21022025_09_36_37_10338.jpg', '/home/pi/Desktop/images/21022025/09/36/image_21022025_09_36_57_10328.jpg', '/home/pi/Desktop/images/21022025/09/36/image_21022025_09_37_07_10327.jpg', '/home/pi/Desktop/images/21022025/09/37/image_21022025_09_37_17_9449.jpg', '/home/pi/Desktop/images/21022025/09/37/image_21022025_09_37_27_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/36/image_21022025_09_36_27_9390.jpg
/home/pi/Desktop/images/21022025/09/36/image_21022025_09_36_37_10338.jpg
/home/pi/Desktop/images/21022025/09/36/image_21022025_09_36_57_10328.jpg
/home/pi/Desktop/images/21022025/09/36/image_21022025_09_37_07_10327.jpg
/home/pi/Desktop/images/21022025/09/37/image_21022025_09_37_17_9449.jpg
/home/pi/Desktop/images/21022025/09/37/image_21022025_09_37_27_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338788496","1338788487","1338788483","1338788471","1338788485","1338788488"],"photo_ids_order":["1338788471","1338788483","1338788485","1338788487","1338788488","1338788496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7867b663442ab636eeebc8b6c13a71e3.jpg","text":"TemporaryFile(/tmp/multipartBody9105848536413671973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129633455,"filename":"image_21022025_09_37_27_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4902e13501288fee2181eb477a652e20.jpg","text":"TemporaryFile(/tmp/multipartBody6989997020367769271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129633455,"filename":"image_21022025_09_37_07_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/986037a24d125f64926e3406c53d5cd5.jpg","text":"TemporaryFile(/tmp/multipartBody2673773351151291243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129633455,"filename":"image_21022025_09_36_37_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6fc88722210ca9efa36f07e6a875e893.jpg","text":"TemporaryFile(/tmp/multipartBody2254147161872411890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129633455,"filename":"image_21022025_09_36_27_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02968a8543a1a860c4425b9ac7b928cb.jpg","text":"TemporaryFile(/tmp/multipartBody706327269767797386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129633455,"filename":"image_21022025_09_36_57_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/988b2f3e3d937ae2be6f420771cbb198.jpg","text":"TemporaryFile(/tmp/multipartBody4927031061144602212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129633455,"filename":"image_21022025_09_37_17_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338788485","file1":"1338788483","file0":"1338788471","file4":"1338788488","file5":"1338788496","file3":"1338788487"},"map_files_photo_id_array":[{"photo_id":"1338788496","filename":"file5"},{"photo_id":"1338788485","filename":"file2"},{"photo_id":"1338788488","filename":"file4"},{"photo_id":"1338788483","filename":"file1"},{"photo_id":"1338788471","filename":"file0"},{"photo_id":"1338788487","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338788496":["hashtag1","hashtag2"]},{"1338788487":["hashtag1","hashtag2"]},{"1338788483":["hashtag1","hashtag2"]},{"1338788471":["hashtag1","hashtag2"]},{"1338788485":["hashtag1","hashtag2"]},{"1338788488":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338788496, 1338788487, 1338788483, 1338788471, 1338788485, 1338788488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24338507652283 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:20:32.242430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/37/image_21022025_09_37_37_9463.jpg', '/home/pi/Desktop/images/21022025/09/37/image_21022025_09_37_47_10369.jpg', '/home/pi/Desktop/images/21022025/09/37/image_21022025_09_37_57_10321.jpg', '/home/pi/Desktop/images/21022025/09/37/image_21022025_09_38_07_9482.jpg', '/home/pi/Desktop/images/21022025/09/38/image_21022025_09_38_17_10325.jpg', '/home/pi/Desktop/images/21022025/09/38/image_21022025_09_38_27_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/37/image_21022025_09_37_37_9463.jpg
/home/pi/Desktop/images/21022025/09/37/image_21022025_09_37_47_10369.jpg
/home/pi/Desktop/images/21022025/09/37/image_21022025_09_37_57_10321.jpg
/home/pi/Desktop/images/21022025/09/37/image_21022025_09_38_07_9482.jpg
/home/pi/Desktop/images/21022025/09/38/image_21022025_09_38_17_10325.jpg
/home/pi/Desktop/images/21022025/09/38/image_21022025_09_38_27_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338788586","1338788559","1338788561","1338788522","1338788551","1338788545"],"photo_ids_order":["1338788522","1338788545","1338788551","1338788559","1338788561","1338788586"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ca17ecb212997bc74ccba19e0088effd.jpg","text":"TemporaryFile(/tmp/multipartBody6884798194189324388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129692700,"filename":"image_21022025_09_38_27_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/10de472bab6fd9c87f0eb10b26e6a3bc.jpg","text":"TemporaryFile(/tmp/multipartBody6428330757277919838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129692700,"filename":"image_21022025_09_38_07_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a8db4fc592d4324f723a9e5c32a3d746.jpg","text":"TemporaryFile(/tmp/multipartBody1328670297944729807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129692700,"filename":"image_21022025_09_38_17_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/417cb360f1964bb5c70a466e94cf7247.jpg","text":"TemporaryFile(/tmp/multipartBody4960779788746118414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129692700,"filename":"image_21022025_09_37_37_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cba9489985b7c89bab425e53d0ecfb60.jpg","text":"TemporaryFile(/tmp/multipartBody7404281108758726723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129692700,"filename":"image_21022025_09_37_57_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d4e831a3717f0228252667e6063dc89.jpg","text":"TemporaryFile(/tmp/multipartBody5292775701000569214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129692700,"filename":"image_21022025_09_37_47_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338788551","file1":"1338788545","file0":"1338788522","file4":"1338788561","file5":"1338788586","file3":"1338788559"},"map_files_photo_id_array":[{"photo_id":"1338788586","filename":"file5"},{"photo_id":"1338788551","filename":"file2"},{"photo_id":"1338788561","filename":"file4"},{"photo_id":"1338788545","filename":"file1"},{"photo_id":"1338788522","filename":"file0"},{"photo_id":"1338788559","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338788586":["hashtag1","hashtag2"]},{"1338788559":["hashtag1","hashtag2"]},{"1338788561":["hashtag1","hashtag2"]},{"1338788522":["hashtag1","hashtag2"]},{"1338788551":["hashtag1","hashtag2"]},{"1338788545":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338788586, 1338788559, 1338788561, 1338788522, 1338788551, 1338788545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0503146648407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:21:32.535709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/38/image_21022025_09_38_37_9317.jpg', '/home/pi/Desktop/images/21022025/09/38/image_21022025_09_38_47_10335.jpg', '/home/pi/Desktop/images/21022025/09/38/image_21022025_09_38_57_10390.jpg', '/home/pi/Desktop/images/21022025/09/38/image_21022025_09_39_07_9413.jpg', '/home/pi/Desktop/images/21022025/09/39/image_21022025_09_39_17_10342.jpg', '/home/pi/Desktop/images/21022025/09/39/image_21022025_09_39_27_9452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/38/image_21022025_09_38_37_9317.jpg
/home/pi/Desktop/images/21022025/09/38/image_21022025_09_38_47_10335.jpg
/home/pi/Desktop/images/21022025/09/38/image_21022025_09_38_57_10390.jpg
/home/pi/Desktop/images/21022025/09/38/image_21022025_09_39_07_9413.jpg
/home/pi/Desktop/images/21022025/09/39/image_21022025_09_39_17_10342.jpg
/home/pi/Desktop/images/21022025/09/39/image_21022025_09_39_27_9452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338788611","1338788613","1338788607","1338788604","1338788609","1338788614"],"photo_ids_order":["1338788604","1338788607","1338788609","1338788611","1338788613","1338788614"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/48f7d73b15aceba047bf6ab8c2d593bc.jpg","text":"TemporaryFile(/tmp/multipartBody8978092678601828445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129753527,"filename":"image_21022025_09_39_07_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/913e16f9bbe8481737e2f4d2085b05f3.jpg","text":"TemporaryFile(/tmp/multipartBody7709984481314327273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129753527,"filename":"image_21022025_09_39_17_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5dc2e2228674d93548f3eea8bd950f51.jpg","text":"TemporaryFile(/tmp/multipartBody3658433624497507457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129753527,"filename":"image_21022025_09_38_47_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/56417bf2742e7ffa1b85e95813d04180.jpg","text":"TemporaryFile(/tmp/multipartBody879943117838340029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129753527,"filename":"image_21022025_09_38_37_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e01e0b7f268210b9593cbbbdf33e8ca9.jpg","text":"TemporaryFile(/tmp/multipartBody8994740515479940338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129753527,"filename":"image_21022025_09_38_57_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d02473613f748e31e311ba5bb02cc93a.jpg","text":"TemporaryFile(/tmp/multipartBody5155985291319526579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129753527,"filename":"image_21022025_09_39_27_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338788609","file1":"1338788607","file0":"1338788604","file4":"1338788613","file5":"1338788614","file3":"1338788611"},"map_files_photo_id_array":[{"photo_id":"1338788614","filename":"file5"},{"photo_id":"1338788609","filename":"file2"},{"photo_id":"1338788613","filename":"file4"},{"photo_id":"1338788607","filename":"file1"},{"photo_id":"1338788604","filename":"file0"},{"photo_id":"1338788611","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338788611":["hashtag1","hashtag2"]},{"1338788613":["hashtag1","hashtag2"]},{"1338788607":["hashtag1","hashtag2"]},{"1338788604":["hashtag1","hashtag2"]},{"1338788609":["hashtag1","hashtag2"]},{"1338788614":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338788611, 1338788613, 1338788607, 1338788604, 1338788609, 1338788614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.05906367301941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:22:32.668455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/39/image_21022025_09_39_37_10343.jpg', '/home/pi/Desktop/images/21022025/09/39/image_21022025_09_39_47_10331.jpg', '/home/pi/Desktop/images/21022025/09/39/image_21022025_09_39_57_9419.jpg', '/home/pi/Desktop/images/21022025/09/39/image_21022025_09_40_07_10319.jpg', '/home/pi/Desktop/images/21022025/09/40/image_21022025_09_40_17_10351.jpg', '/home/pi/Desktop/images/21022025/09/40/image_21022025_09_40_27_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/39/image_21022025_09_39_37_10343.jpg
/home/pi/Desktop/images/21022025/09/39/image_21022025_09_39_47_10331.jpg
/home/pi/Desktop/images/21022025/09/39/image_21022025_09_39_57_9419.jpg
/home/pi/Desktop/images/21022025/09/39/image_21022025_09_40_07_10319.jpg
/home/pi/Desktop/images/21022025/09/40/image_21022025_09_40_17_10351.jpg
/home/pi/Desktop/images/21022025/09/40/image_21022025_09_40_27_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338788718","1338788744","1338788738","1338788746","1338788740","1338788734"],"photo_ids_order":["1338788718","1338788734","1338788738","1338788740","1338788744","1338788746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/76091a0aef1dcb9b69821e72762f4ae9.jpg","text":"TemporaryFile(/tmp/multipartBody6438974098591791756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129813177,"filename":"image_21022025_09_39_37_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ab3e144afcbc34bc4365450cf0e58d3.jpg","text":"TemporaryFile(/tmp/multipartBody8295624138918845600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129813177,"filename":"image_21022025_09_40_17_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7126319c48e215c28b86cebd1962e754.jpg","text":"TemporaryFile(/tmp/multipartBody364440325459360701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129813177,"filename":"image_21022025_09_39_57_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd35b1771e2814578da8d9892eed4c2c.jpg","text":"TemporaryFile(/tmp/multipartBody7917726581217368212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129813177,"filename":"image_21022025_09_40_27_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be9c508c01fd33b898201cfc5a8f6651.jpg","text":"TemporaryFile(/tmp/multipartBody8622322549066731372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129813177,"filename":"image_21022025_09_40_07_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b1ebe5998a876ac04fc6dae2dd5d30cd.jpg","text":"TemporaryFile(/tmp/multipartBody4891984223841198764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129813177,"filename":"image_21022025_09_39_47_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338788738","file1":"1338788734","file0":"1338788718","file4":"1338788744","file5":"1338788746","file3":"1338788740"},"map_files_photo_id_array":[{"photo_id":"1338788746","filename":"file5"},{"photo_id":"1338788738","filename":"file2"},{"photo_id":"1338788744","filename":"file4"},{"photo_id":"1338788734","filename":"file1"},{"photo_id":"1338788718","filename":"file0"},{"photo_id":"1338788740","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338788718":["hashtag1","hashtag2"]},{"1338788744":["hashtag1","hashtag2"]},{"1338788738":["hashtag1","hashtag2"]},{"1338788746":["hashtag1","hashtag2"]},{"1338788740":["hashtag1","hashtag2"]},{"1338788734":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338788718, 1338788744, 1338788738, 1338788746, 1338788740, 1338788734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.33927273750305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:23:32.849683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/40/image_21022025_09_40_37_10402.jpg', '/home/pi/Desktop/images/21022025/09/40/image_21022025_09_40_47_9451.jpg', '/home/pi/Desktop/images/21022025/09/40/image_21022025_09_40_57_10350.jpg', '/home/pi/Desktop/images/21022025/09/40/image_21022025_09_41_07_10365.jpg', '/home/pi/Desktop/images/21022025/09/41/image_21022025_09_41_17_9387.jpg', '/home/pi/Desktop/images/21022025/09/41/image_21022025_09_41_27_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/40/image_21022025_09_40_37_10402.jpg
/home/pi/Desktop/images/21022025/09/40/image_21022025_09_40_47_9451.jpg
/home/pi/Desktop/images/21022025/09/40/image_21022025_09_40_57_10350.jpg
/home/pi/Desktop/images/21022025/09/40/image_21022025_09_41_07_10365.jpg
/home/pi/Desktop/images/21022025/09/41/image_21022025_09_41_17_9387.jpg
/home/pi/Desktop/images/21022025/09/41/image_21022025_09_41_27_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338788787","1338788832","1338788783","1338788777","1338788780","1338788785"],"photo_ids_order":["1338788777","1338788780","1338788783","1338788785","1338788787","1338788832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa1a82045c11ddf94a2c89701446f6fe.jpg","text":"TemporaryFile(/tmp/multipartBody1418741367965578505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129873341,"filename":"image_21022025_09_41_17_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ca5b5e0848767b81605d0ac211d4aa58.jpg","text":"TemporaryFile(/tmp/multipartBody8838046042388192357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129873341,"filename":"image_21022025_09_41_27_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0fdf8db1a3dcea8e8177d853d7a0cad6.jpg","text":"TemporaryFile(/tmp/multipartBody1638254211456003079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129873341,"filename":"image_21022025_09_40_57_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d64569fab3ed2aeed347c2642425c276.jpg","text":"TemporaryFile(/tmp/multipartBody5856305890238121192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129873341,"filename":"image_21022025_09_40_37_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/08be0cccc719bbfa249d3086b441cb92.jpg","text":"TemporaryFile(/tmp/multipartBody4967005856683924880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129873341,"filename":"image_21022025_09_40_47_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cdbb499b0ebc16a53baf2f603e29ca7c.jpg","text":"TemporaryFile(/tmp/multipartBody753674709526917341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129873341,"filename":"image_21022025_09_41_07_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338788783","file1":"1338788780","file0":"1338788777","file4":"1338788787","file5":"1338788832","file3":"1338788785"},"map_files_photo_id_array":[{"photo_id":"1338788832","filename":"file5"},{"photo_id":"1338788783","filename":"file2"},{"photo_id":"1338788787","filename":"file4"},{"photo_id":"1338788780","filename":"file1"},{"photo_id":"1338788777","filename":"file0"},{"photo_id":"1338788785","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338788787":["hashtag1","hashtag2"]},{"1338788832":["hashtag1","hashtag2"]},{"1338788783":["hashtag1","hashtag2"]},{"1338788777":["hashtag1","hashtag2"]},{"1338788780":["hashtag1","hashtag2"]},{"1338788785":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338788787, 1338788832, 1338788783, 1338788777, 1338788780, 1338788785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95273995399475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:24:33.202049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/41/image_21022025_09_41_37_10324.jpg', '/home/pi/Desktop/images/21022025/09/41/image_21022025_09_41_57_10329.jpg', '/home/pi/Desktop/images/21022025/09/41/image_21022025_09_42_07_10336.jpg', '/home/pi/Desktop/images/21022025/09/42/image_21022025_09_42_17_9428.jpg', '/home/pi/Desktop/images/21022025/09/42/image_21022025_09_42_27_10420.jpg', '/home/pi/Desktop/images/21022025/09/42/image_21022025_09_42_37_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/41/image_21022025_09_41_37_10324.jpg
/home/pi/Desktop/images/21022025/09/41/image_21022025_09_41_57_10329.jpg
/home/pi/Desktop/images/21022025/09/41/image_21022025_09_42_07_10336.jpg
/home/pi/Desktop/images/21022025/09/42/image_21022025_09_42_17_9428.jpg
/home/pi/Desktop/images/21022025/09/42/image_21022025_09_42_27_10420.jpg
/home/pi/Desktop/images/21022025/09/42/image_21022025_09_42_37_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338788856","1338788925","1338788919","1338788924","1338788923","1338788851"],"photo_ids_order":["1338788851","1338788856","1338788919","1338788923","1338788924","1338788925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4c97620918384fb46c31435dc5977ee7.jpg","text":"TemporaryFile(/tmp/multipartBody2776204649982081666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129933684,"filename":"image_21022025_09_41_57_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e4199c4da0357e01843c406ac548902.jpg","text":"TemporaryFile(/tmp/multipartBody7389705082113790463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129933684,"filename":"image_21022025_09_42_37_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/282d74be05577f0b2cd7d19047389976.jpg","text":"TemporaryFile(/tmp/multipartBody5328704588811829111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129933684,"filename":"image_21022025_09_42_07_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bfd6ca06c846043a17c62a7bd69e4dab.jpg","text":"TemporaryFile(/tmp/multipartBody6711922778152145979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129933684,"filename":"image_21022025_09_42_27_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/999f8bd12e0889bde77aa53b0d63ce89.jpg","text":"TemporaryFile(/tmp/multipartBody7769294323215214495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129933684,"filename":"image_21022025_09_42_17_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b47400c4e78f797b7f5b2decf0762312.jpg","text":"TemporaryFile(/tmp/multipartBody602006475286715182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129933684,"filename":"image_21022025_09_41_37_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338788919","file1":"1338788856","file0":"1338788851","file4":"1338788924","file5":"1338788925","file3":"1338788923"},"map_files_photo_id_array":[{"photo_id":"1338788925","filename":"file5"},{"photo_id":"1338788919","filename":"file2"},{"photo_id":"1338788924","filename":"file4"},{"photo_id":"1338788856","filename":"file1"},{"photo_id":"1338788851","filename":"file0"},{"photo_id":"1338788923","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338788856":["hashtag1","hashtag2"]},{"1338788925":["hashtag1","hashtag2"]},{"1338788919":["hashtag1","hashtag2"]},{"1338788924":["hashtag1","hashtag2"]},{"1338788923":["hashtag1","hashtag2"]},{"1338788851":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338788856, 1338788925, 1338788919, 1338788924, 1338788923, 1338788851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.99617004394531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:25:32.222127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/42/image_21022025_09_42_47_10355.jpg', '/home/pi/Desktop/images/21022025/09/42/image_21022025_09_42_57_10326.jpg', '/home/pi/Desktop/images/21022025/09/42/image_21022025_09_43_07_9404.jpg', '/home/pi/Desktop/images/21022025/09/43/image_21022025_09_43_17_10321.jpg', '/home/pi/Desktop/images/21022025/09/43/image_21022025_09_43_27_10334.jpg', '/home/pi/Desktop/images/21022025/09/43/image_21022025_09_43_47_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/42/image_21022025_09_42_47_10355.jpg
/home/pi/Desktop/images/21022025/09/42/image_21022025_09_42_57_10326.jpg
/home/pi/Desktop/images/21022025/09/42/image_21022025_09_43_07_9404.jpg
/home/pi/Desktop/images/21022025/09/43/image_21022025_09_43_17_10321.jpg
/home/pi/Desktop/images/21022025/09/43/image_21022025_09_43_27_10334.jpg
/home/pi/Desktop/images/21022025/09/43/image_21022025_09_43_47_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338788991","1338788985","1338788988","1338789027","1338788989","1338789028"],"photo_ids_order":["1338788985","1338788988","1338788989","1338788991","1338789027","1338789028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ffa9496424650263a9b8512649d1a06d.jpg","text":"TemporaryFile(/tmp/multipartBody8318334684918260902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129992685,"filename":"image_21022025_09_43_17_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cc386145af786147ce9b8598cb2d3068.jpg","text":"TemporaryFile(/tmp/multipartBody5284168202779589205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129992685,"filename":"image_21022025_09_42_47_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a29862e558df55ab2b46bb0f249dc837.jpg","text":"TemporaryFile(/tmp/multipartBody7768690147619243777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129992685,"filename":"image_21022025_09_42_57_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dd5287d612e32e4bdce92b16a12efe11.jpg","text":"TemporaryFile(/tmp/multipartBody5170918076827297806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129992685,"filename":"image_21022025_09_43_27_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c940769611f083dc374e474cf6140fac.jpg","text":"TemporaryFile(/tmp/multipartBody5058340167643908893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129992685,"filename":"image_21022025_09_43_07_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2812ad07c8268fc5cb892552e14be8e8.jpg","text":"TemporaryFile(/tmp/multipartBody4497026756281798484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740129992685,"filename":"image_21022025_09_43_47_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338788989","file1":"1338788988","file0":"1338788985","file4":"1338789027","file5":"1338789028","file3":"1338788991"},"map_files_photo_id_array":[{"photo_id":"1338789028","filename":"file5"},{"photo_id":"1338788989","filename":"file2"},{"photo_id":"1338789027","filename":"file4"},{"photo_id":"1338788988","filename":"file1"},{"photo_id":"1338788985","filename":"file0"},{"photo_id":"1338788991","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338788991":["hashtag1","hashtag2"]},{"1338788985":["hashtag1","hashtag2"]},{"1338788988":["hashtag1","hashtag2"]},{"1338789027":["hashtag1","hashtag2"]},{"1338788989":["hashtag1","hashtag2"]},{"1338789028":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338788991, 1338788985, 1338788988, 1338789027, 1338788989, 1338789028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.563695669174194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:26:32.465247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/43/image_21022025_09_43_57_9372.jpg', '/home/pi/Desktop/images/21022025/09/43/image_21022025_09_44_07_10320.jpg', '/home/pi/Desktop/images/21022025/09/44/image_21022025_09_44_17_10418.jpg', '/home/pi/Desktop/images/21022025/09/44/image_21022025_09_44_27_9412.jpg', '/home/pi/Desktop/images/21022025/09/44/image_21022025_09_44_37_10338.jpg', '/home/pi/Desktop/images/21022025/09/44/image_21022025_09_44_47_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/43/image_21022025_09_43_57_9372.jpg
/home/pi/Desktop/images/21022025/09/43/image_21022025_09_44_07_10320.jpg
/home/pi/Desktop/images/21022025/09/44/image_21022025_09_44_17_10418.jpg
/home/pi/Desktop/images/21022025/09/44/image_21022025_09_44_27_9412.jpg
/home/pi/Desktop/images/21022025/09/44/image_21022025_09_44_37_10338.jpg
/home/pi/Desktop/images/21022025/09/44/image_21022025_09_44_47_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338789267","1338789504","1338789569","1338789437","1338789295","1338789387"],"photo_ids_order":["1338789267","1338789295","1338789387","1338789437","1338789504","1338789569"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7754a8ea822739f2e84b7f14c8a51f74.jpg","text":"TemporaryFile(/tmp/multipartBody8531116886539886379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130052934,"filename":"image_21022025_09_43_57_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8fe08d94f2e7144595808ed1cacd97a0.jpg","text":"TemporaryFile(/tmp/multipartBody6925356504059089791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130052934,"filename":"image_21022025_09_44_37_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f29e507a2eae96897ca139bb16b6074a.jpg","text":"TemporaryFile(/tmp/multipartBody2512164142921325786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130052934,"filename":"image_21022025_09_44_47_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cd575a3ab3fd33f76db8273b6b9da296.jpg","text":"TemporaryFile(/tmp/multipartBody5027184866338847018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130052934,"filename":"image_21022025_09_44_27_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2cc487567d7844b555843cfef1106d69.jpg","text":"TemporaryFile(/tmp/multipartBody1185818542325649910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130052934,"filename":"image_21022025_09_44_07_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc08b95a38b0ea0c1c18727abb5ca922.jpg","text":"TemporaryFile(/tmp/multipartBody1127052547294873844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130052934,"filename":"image_21022025_09_44_17_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338789387","file1":"1338789295","file0":"1338789267","file4":"1338789504","file5":"1338789569","file3":"1338789437"},"map_files_photo_id_array":[{"photo_id":"1338789569","filename":"file5"},{"photo_id":"1338789387","filename":"file2"},{"photo_id":"1338789504","filename":"file4"},{"photo_id":"1338789295","filename":"file1"},{"photo_id":"1338789267","filename":"file0"},{"photo_id":"1338789437","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338789267":["hashtag1","hashtag2"]},{"1338789504":["hashtag1","hashtag2"]},{"1338789569":["hashtag1","hashtag2"]},{"1338789437":["hashtag1","hashtag2"]},{"1338789295":["hashtag1","hashtag2"]},{"1338789387":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338789267, 1338789504, 1338789569, 1338789437, 1338789295, 1338789387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1177294254303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:27:32.735871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/44/image_21022025_09_44_57_9386.jpg', '/home/pi/Desktop/images/21022025/09/44/image_21022025_09_45_07_10340.jpg', '/home/pi/Desktop/images/21022025/09/45/image_21022025_09_45_17_9387.jpg', '/home/pi/Desktop/images/21022025/09/45/image_21022025_09_45_27_10355.jpg', '/home/pi/Desktop/images/21022025/09/45/image_21022025_09_45_37_10339.jpg', '/home/pi/Desktop/images/21022025/09/45/image_21022025_09_45_47_9468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/44/image_21022025_09_44_57_9386.jpg
/home/pi/Desktop/images/21022025/09/44/image_21022025_09_45_07_10340.jpg
/home/pi/Desktop/images/21022025/09/45/image_21022025_09_45_17_9387.jpg
/home/pi/Desktop/images/21022025/09/45/image_21022025_09_45_27_10355.jpg
/home/pi/Desktop/images/21022025/09/45/image_21022025_09_45_37_10339.jpg
/home/pi/Desktop/images/21022025/09/45/image_21022025_09_45_47_9468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338790074","1338790116","1338790119","1338790118","1338790109","1338790100"],"photo_ids_order":["1338790074","1338790100","1338790109","1338790116","1338790118","1338790119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d3972ac111cc86b519c4871b4370e876.jpg","text":"TemporaryFile(/tmp/multipartBody4033401270208573516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130113213,"filename":"image_21022025_09_44_57_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d308c60d752e65fa76a0c2c12130d9ff.jpg","text":"TemporaryFile(/tmp/multipartBody3258383975907589194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130113213,"filename":"image_21022025_09_45_27_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1df2dd1551041cffc939ae7cc13fdf2b.jpg","text":"TemporaryFile(/tmp/multipartBody3775031950175073546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130113213,"filename":"image_21022025_09_45_47_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/82612cf1af28facf8dc35c8438cdcc09.jpg","text":"TemporaryFile(/tmp/multipartBody3793884979232049571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130113213,"filename":"image_21022025_09_45_37_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81adb8ce587c5e325cfd755ad366fb31.jpg","text":"TemporaryFile(/tmp/multipartBody1510994574037420792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130113213,"filename":"image_21022025_09_45_17_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f4580ed955b008629defa234385d7be6.jpg","text":"TemporaryFile(/tmp/multipartBody5777074622560564689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130113213,"filename":"image_21022025_09_45_07_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338790109","file1":"1338790100","file0":"1338790074","file4":"1338790118","file5":"1338790119","file3":"1338790116"},"map_files_photo_id_array":[{"photo_id":"1338790119","filename":"file5"},{"photo_id":"1338790109","filename":"file2"},{"photo_id":"1338790118","filename":"file4"},{"photo_id":"1338790100","filename":"file1"},{"photo_id":"1338790074","filename":"file0"},{"photo_id":"1338790116","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338790074":["hashtag1","hashtag2"]},{"1338790116":["hashtag1","hashtag2"]},{"1338790119":["hashtag1","hashtag2"]},{"1338790118":["hashtag1","hashtag2"]},{"1338790109":["hashtag1","hashtag2"]},{"1338790100":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338790074, 1338790116, 1338790119, 1338790118, 1338790109, 1338790100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.94764971733093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:28:33.029131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/45/image_21022025_09_45_57_10330.jpg', '/home/pi/Desktop/images/21022025/09/45/image_21022025_09_46_07_10332.jpg', '/home/pi/Desktop/images/21022025/09/46/image_21022025_09_46_17_9350.jpg', '/home/pi/Desktop/images/21022025/09/46/image_21022025_09_46_27_10336.jpg', '/home/pi/Desktop/images/21022025/09/46/image_21022025_09_46_37_10360.jpg', '/home/pi/Desktop/images/21022025/09/46/image_21022025_09_46_47_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/45/image_21022025_09_45_57_10330.jpg
/home/pi/Desktop/images/21022025/09/45/image_21022025_09_46_07_10332.jpg
/home/pi/Desktop/images/21022025/09/46/image_21022025_09_46_17_9350.jpg
/home/pi/Desktop/images/21022025/09/46/image_21022025_09_46_27_10336.jpg
/home/pi/Desktop/images/21022025/09/46/image_21022025_09_46_37_10360.jpg
/home/pi/Desktop/images/21022025/09/46/image_21022025_09_46_47_9388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338790281","1338790378","1338790291","1338790285","1338790288","1338790315"],"photo_ids_order":["1338790281","1338790285","1338790288","1338790291","1338790315","1338790378"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/60502a10a16446b1ee17586668347aed.jpg","text":"TemporaryFile(/tmp/multipartBody1874508389656242735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130173532,"filename":"image_21022025_09_45_57_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32229b0979603cad16e448783f46c6fe.jpg","text":"TemporaryFile(/tmp/multipartBody4727934121138223427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130173532,"filename":"image_21022025_09_46_47_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2043b4257b5f9781df9c580776b96477.jpg","text":"TemporaryFile(/tmp/multipartBody2893080899836600005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130173532,"filename":"image_21022025_09_46_27_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8500b02fb69405adb194d2d90b27d314.jpg","text":"TemporaryFile(/tmp/multipartBody6609371008752083598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130173532,"filename":"image_21022025_09_46_07_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/981787dc66696e18eac89e73a0452f4c.jpg","text":"TemporaryFile(/tmp/multipartBody7088808021957919817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130173532,"filename":"image_21022025_09_46_17_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1d6440df69c4a21aa2823156eaeddc59.jpg","text":"TemporaryFile(/tmp/multipartBody1824916696615807367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130173532,"filename":"image_21022025_09_46_37_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338790288","file1":"1338790285","file0":"1338790281","file4":"1338790315","file5":"1338790378","file3":"1338790291"},"map_files_photo_id_array":[{"photo_id":"1338790378","filename":"file5"},{"photo_id":"1338790288","filename":"file2"},{"photo_id":"1338790315","filename":"file4"},{"photo_id":"1338790285","filename":"file1"},{"photo_id":"1338790281","filename":"file0"},{"photo_id":"1338790291","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338790281":["hashtag1","hashtag2"]},{"1338790378":["hashtag1","hashtag2"]},{"1338790291":["hashtag1","hashtag2"]},{"1338790285":["hashtag1","hashtag2"]},{"1338790288":["hashtag1","hashtag2"]},{"1338790315":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338790281, 1338790378, 1338790291, 1338790285, 1338790288, 1338790315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.938115119934082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:29:32.252066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/46/image_21022025_09_46_57_10341.jpg', '/home/pi/Desktop/images/21022025/09/47/image_21022025_09_47_17_10424.jpg', '/home/pi/Desktop/images/21022025/09/47/image_21022025_09_47_27_10335.jpg', '/home/pi/Desktop/images/21022025/09/47/image_21022025_09_47_47_10367.jpg', '/home/pi/Desktop/images/21022025/09/47/image_21022025_09_47_57_10386.jpg', '/home/pi/Desktop/images/21022025/09/47/image_21022025_09_48_07_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/46/image_21022025_09_46_57_10341.jpg
/home/pi/Desktop/images/21022025/09/47/image_21022025_09_47_17_10424.jpg
/home/pi/Desktop/images/21022025/09/47/image_21022025_09_47_27_10335.jpg
/home/pi/Desktop/images/21022025/09/47/image_21022025_09_47_47_10367.jpg
/home/pi/Desktop/images/21022025/09/47/image_21022025_09_47_57_10386.jpg
/home/pi/Desktop/images/21022025/09/47/image_21022025_09_48_07_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338790661","1338790509","1338790681","1338790630","1338790695","1338790528"],"photo_ids_order":["1338790509","1338790528","1338790630","1338790661","1338790681","1338790695"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ec8ffe2158f565133e0a68106556682.jpg","text":"TemporaryFile(/tmp/multipartBody343179666199577365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130232727,"filename":"image_21022025_09_47_47_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/041db0747ebc87945ebe252ee1a19207.jpg","text":"TemporaryFile(/tmp/multipartBody3000923981463424421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130232727,"filename":"image_21022025_09_46_57_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/49dbe1a815fbe3d2d97ae8f9f92b74f5.jpg","text":"TemporaryFile(/tmp/multipartBody8321406476947300268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130232727,"filename":"image_21022025_09_47_57_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4c7e35fd7237c60702de3082d8782282.jpg","text":"TemporaryFile(/tmp/multipartBody4859921505022853324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130232727,"filename":"image_21022025_09_47_27_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c7ce0e6af237680638d62fa75ac2456c.jpg","text":"TemporaryFile(/tmp/multipartBody1462386781390112476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130232727,"filename":"image_21022025_09_48_07_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd7438c7cc5647d0dc45b266a838d5d7.jpg","text":"TemporaryFile(/tmp/multipartBody5760593498543317816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130232727,"filename":"image_21022025_09_47_17_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338790630","file1":"1338790528","file0":"1338790509","file4":"1338790681","file5":"1338790695","file3":"1338790661"},"map_files_photo_id_array":[{"photo_id":"1338790695","filename":"file5"},{"photo_id":"1338790630","filename":"file2"},{"photo_id":"1338790681","filename":"file4"},{"photo_id":"1338790528","filename":"file1"},{"photo_id":"1338790509","filename":"file0"},{"photo_id":"1338790661","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338790661":["hashtag1","hashtag2"]},{"1338790509":["hashtag1","hashtag2"]},{"1338790681":["hashtag1","hashtag2"]},{"1338790630":["hashtag1","hashtag2"]},{"1338790695":["hashtag1","hashtag2"]},{"1338790528":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338790661, 1338790509, 1338790681, 1338790630, 1338790695, 1338790528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28583812713623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:30:32.416673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/48/image_21022025_09_48_17_10323.jpg', '/home/pi/Desktop/images/21022025/09/48/image_21022025_09_48_27_10338.jpg', '/home/pi/Desktop/images/21022025/09/48/image_21022025_09_48_37_10093.jpg', '/home/pi/Desktop/images/21022025/09/48/image_21022025_09_48_47_9390.jpg', '/home/pi/Desktop/images/21022025/09/48/image_21022025_09_48_57_10316.jpg', '/home/pi/Desktop/images/21022025/09/49/image_21022025_09_49_07_9463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/48/image_21022025_09_48_17_10323.jpg
/home/pi/Desktop/images/21022025/09/48/image_21022025_09_48_27_10338.jpg
/home/pi/Desktop/images/21022025/09/48/image_21022025_09_48_37_10093.jpg
/home/pi/Desktop/images/21022025/09/48/image_21022025_09_48_47_9390.jpg
/home/pi/Desktop/images/21022025/09/48/image_21022025_09_48_57_10316.jpg
/home/pi/Desktop/images/21022025/09/49/image_21022025_09_49_07_9463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338790734","1338790737","1338790745","1338790747","1338790741","1338790732"],"photo_ids_order":["1338790732","1338790734","1338790737","1338790741","1338790745","1338790747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c8be1f6e65de385cf75848835bb8d54.jpg","text":"TemporaryFile(/tmp/multipartBody5403526165182087900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130292917,"filename":"image_21022025_09_48_27_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e837d0e3769b7fd3170477e47033922f.jpg","text":"TemporaryFile(/tmp/multipartBody334356914251810335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130292917,"filename":"image_21022025_09_48_37_10093.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7eeb67c021df738e1bea508d3109ed12.jpg","text":"TemporaryFile(/tmp/multipartBody86199449007511398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130292917,"filename":"image_21022025_09_48_57_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c2adfbfdcd5a1c8d970792e792308ca2.jpg","text":"TemporaryFile(/tmp/multipartBody3937567536807644259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130292917,"filename":"image_21022025_09_49_07_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2c291fb1da219a338f67360fd95b84cd.jpg","text":"TemporaryFile(/tmp/multipartBody8941642345464001631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130292917,"filename":"image_21022025_09_48_47_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b16ca6e522b3a7885b5811ed90fd4e0.jpg","text":"TemporaryFile(/tmp/multipartBody7859494193896909749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130292917,"filename":"image_21022025_09_48_17_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338790737","file1":"1338790734","file0":"1338790732","file4":"1338790745","file5":"1338790747","file3":"1338790741"},"map_files_photo_id_array":[{"photo_id":"1338790747","filename":"file5"},{"photo_id":"1338790737","filename":"file2"},{"photo_id":"1338790745","filename":"file4"},{"photo_id":"1338790734","filename":"file1"},{"photo_id":"1338790732","filename":"file0"},{"photo_id":"1338790741","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338790734":["hashtag1","hashtag2"]},{"1338790737":["hashtag1","hashtag2"]},{"1338790745":["hashtag1","hashtag2"]},{"1338790747":["hashtag1","hashtag2"]},{"1338790741":["hashtag1","hashtag2"]},{"1338790732":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338790734, 1338790737, 1338790745, 1338790747, 1338790741, 1338790732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.36126971244812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:31:32.577051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/49/image_21022025_09_49_17_10320.jpg', '/home/pi/Desktop/images/21022025/09/49/image_21022025_09_49_27_10328.jpg', '/home/pi/Desktop/images/21022025/09/49/image_21022025_09_49_37_9343.jpg', '/home/pi/Desktop/images/21022025/09/49/image_21022025_09_49_47_10358.jpg', '/home/pi/Desktop/images/21022025/09/49/image_21022025_09_49_57_10383.jpg', '/home/pi/Desktop/images/21022025/09/49/image_21022025_09_50_07_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/49/image_21022025_09_49_17_10320.jpg
/home/pi/Desktop/images/21022025/09/49/image_21022025_09_49_27_10328.jpg
/home/pi/Desktop/images/21022025/09/49/image_21022025_09_49_37_9343.jpg
/home/pi/Desktop/images/21022025/09/49/image_21022025_09_49_47_10358.jpg
/home/pi/Desktop/images/21022025/09/49/image_21022025_09_49_57_10383.jpg
/home/pi/Desktop/images/21022025/09/49/image_21022025_09_50_07_9409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338790835","1338790844","1338790805","1338790808","1338790858","1338790810"],"photo_ids_order":["1338790805","1338790808","1338790810","1338790835","1338790844","1338790858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75d960afb18b28d9d74c053348dd78f5.jpg","text":"TemporaryFile(/tmp/multipartBody4880686447331733035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130353074,"filename":"image_21022025_09_49_47_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c0bc39ad09bb5768e9c9da579e43341.jpg","text":"TemporaryFile(/tmp/multipartBody6878334599731931906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130353074,"filename":"image_21022025_09_49_57_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/797004127224956a4c98870f78988686.jpg","text":"TemporaryFile(/tmp/multipartBody5096066180444970424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130353074,"filename":"image_21022025_09_49_17_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d8b15cc5d606226fb27e8d5ff049f594.jpg","text":"TemporaryFile(/tmp/multipartBody1239856346738527825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130353074,"filename":"image_21022025_09_49_27_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a1e1b8c1b344829261d11261bbf038aa.jpg","text":"TemporaryFile(/tmp/multipartBody5807277445808799712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130353074,"filename":"image_21022025_09_50_07_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/00c3b6fd62c5dbd798b317420554e2be.jpg","text":"TemporaryFile(/tmp/multipartBody4506683234802574940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130353074,"filename":"image_21022025_09_49_37_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338790810","file1":"1338790808","file0":"1338790805","file4":"1338790844","file5":"1338790858","file3":"1338790835"},"map_files_photo_id_array":[{"photo_id":"1338790858","filename":"file5"},{"photo_id":"1338790810","filename":"file2"},{"photo_id":"1338790844","filename":"file4"},{"photo_id":"1338790808","filename":"file1"},{"photo_id":"1338790805","filename":"file0"},{"photo_id":"1338790835","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338790835":["hashtag1","hashtag2"]},{"1338790844":["hashtag1","hashtag2"]},{"1338790805":["hashtag1","hashtag2"]},{"1338790808":["hashtag1","hashtag2"]},{"1338790858":["hashtag1","hashtag2"]},{"1338790810":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338790835, 1338790844, 1338790805, 1338790808, 1338790858, 1338790810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.990214824676514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:32:32.864494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/50/image_21022025_09_50_17_10400.jpg', '/home/pi/Desktop/images/21022025/09/50/image_21022025_09_50_27_9429.jpg', '/home/pi/Desktop/images/21022025/09/50/image_21022025_09_50_37_10317.jpg', '/home/pi/Desktop/images/21022025/09/50/image_21022025_09_50_57_9358.jpg', '/home/pi/Desktop/images/21022025/09/51/image_21022025_09_51_17_10338.jpg', '/home/pi/Desktop/images/21022025/09/51/image_21022025_09_51_47_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/50/image_21022025_09_50_17_10400.jpg
/home/pi/Desktop/images/21022025/09/50/image_21022025_09_50_27_9429.jpg
/home/pi/Desktop/images/21022025/09/50/image_21022025_09_50_37_10317.jpg
/home/pi/Desktop/images/21022025/09/50/image_21022025_09_50_57_9358.jpg
/home/pi/Desktop/images/21022025/09/51/image_21022025_09_51_17_10338.jpg
/home/pi/Desktop/images/21022025/09/51/image_21022025_09_51_47_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338790956","1338790890","1338790898","1338790901","1338790894","1338791005"],"photo_ids_order":["1338790890","1338790894","1338790898","1338790901","1338790956","1338791005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3fb86407265b1f5495be2049fc7fc32e.jpg","text":"TemporaryFile(/tmp/multipartBody7402302633196225124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130413367,"filename":"image_21022025_09_51_17_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/031b51ff4f7a640c57201cfaca5a0c6e.jpg","text":"TemporaryFile(/tmp/multipartBody8668445472539096291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130413367,"filename":"image_21022025_09_50_17_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92cfc06411bcc5b8527315b3e8437715.jpg","text":"TemporaryFile(/tmp/multipartBody8506956135619240962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130413367,"filename":"image_21022025_09_50_37_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/409c786a2461725d8c7a3a04414b3b13.jpg","text":"TemporaryFile(/tmp/multipartBody8581782479133099141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130413367,"filename":"image_21022025_09_50_57_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a15ddf62f980e5bbdc62dda62c988a00.jpg","text":"TemporaryFile(/tmp/multipartBody5856718384677011642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130413367,"filename":"image_21022025_09_50_27_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c5773bc4411f1519f464ae37ea2a1602.jpg","text":"TemporaryFile(/tmp/multipartBody710156536210036473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130413367,"filename":"image_21022025_09_51_47_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338790898","file1":"1338790894","file0":"1338790890","file4":"1338790956","file5":"1338791005","file3":"1338790901"},"map_files_photo_id_array":[{"photo_id":"1338791005","filename":"file5"},{"photo_id":"1338790898","filename":"file2"},{"photo_id":"1338790956","filename":"file4"},{"photo_id":"1338790894","filename":"file1"},{"photo_id":"1338790890","filename":"file0"},{"photo_id":"1338790901","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338790956":["hashtag1","hashtag2"]},{"1338790890":["hashtag1","hashtag2"]},{"1338790898":["hashtag1","hashtag2"]},{"1338790901":["hashtag1","hashtag2"]},{"1338790894":["hashtag1","hashtag2"]},{"1338791005":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338790956, 1338790890, 1338790898, 1338790901, 1338790894, 1338791005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.52094054222107 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:33:33.232511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/51/image_21022025_09_51_57_9431.jpg', '/home/pi/Desktop/images/21022025/09/51/image_21022025_09_52_07_10331.jpg', '/home/pi/Desktop/images/21022025/09/52/image_21022025_09_52_17_10346.jpg', '/home/pi/Desktop/images/21022025/09/52/image_21022025_09_52_27_9374.jpg', '/home/pi/Desktop/images/21022025/09/52/image_21022025_09_52_37_10368.jpg', '/home/pi/Desktop/images/21022025/09/52/image_21022025_09_52_47_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/51/image_21022025_09_51_57_9431.jpg
/home/pi/Desktop/images/21022025/09/51/image_21022025_09_52_07_10331.jpg
/home/pi/Desktop/images/21022025/09/52/image_21022025_09_52_17_10346.jpg
/home/pi/Desktop/images/21022025/09/52/image_21022025_09_52_27_9374.jpg
/home/pi/Desktop/images/21022025/09/52/image_21022025_09_52_37_10368.jpg
/home/pi/Desktop/images/21022025/09/52/image_21022025_09_52_47_9404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338791022","1338791019","1338791016","1338791026","1338791029","1338791023"],"photo_ids_order":["1338791016","1338791019","1338791022","1338791023","1338791026","1338791029"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/098bdaa1ad091665f181c882a9543b4d.jpg","text":"TemporaryFile(/tmp/multipartBody6102211150081867842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130473711,"filename":"image_21022025_09_52_17_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/006f45e37e3b25e2e438213f1057e215.jpg","text":"TemporaryFile(/tmp/multipartBody2871052243207927674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130473711,"filename":"image_21022025_09_52_07_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f2fc661d653275775e7a0cdee44592e.jpg","text":"TemporaryFile(/tmp/multipartBody5158128749196477117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130473711,"filename":"image_21022025_09_51_57_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d646e9e946acb363b496b1dcc5816294.jpg","text":"TemporaryFile(/tmp/multipartBody6430123186016277892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130473711,"filename":"image_21022025_09_52_37_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/de3f9afb7882156e30b5c4d3ecbb1b10.jpg","text":"TemporaryFile(/tmp/multipartBody1079308669017237334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130473711,"filename":"image_21022025_09_52_47_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/25ffedb5353604c2bffd3ee9421fbf01.jpg","text":"TemporaryFile(/tmp/multipartBody9117500258820884502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130473711,"filename":"image_21022025_09_52_27_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338791022","file1":"1338791019","file0":"1338791016","file4":"1338791026","file5":"1338791029","file3":"1338791023"},"map_files_photo_id_array":[{"photo_id":"1338791029","filename":"file5"},{"photo_id":"1338791022","filename":"file2"},{"photo_id":"1338791026","filename":"file4"},{"photo_id":"1338791019","filename":"file1"},{"photo_id":"1338791016","filename":"file0"},{"photo_id":"1338791023","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338791022":["hashtag1","hashtag2"]},{"1338791019":["hashtag1","hashtag2"]},{"1338791016":["hashtag1","hashtag2"]},{"1338791026":["hashtag1","hashtag2"]},{"1338791029":["hashtag1","hashtag2"]},{"1338791023":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338791022, 1338791019, 1338791016, 1338791026, 1338791029, 1338791023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.518319606781006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:34:32.318323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/52/image_21022025_09_52_57_10322.jpg', '/home/pi/Desktop/images/21022025/09/52/image_21022025_09_53_07_10347.jpg', '/home/pi/Desktop/images/21022025/09/53/image_21022025_09_53_27_10339.jpg', '/home/pi/Desktop/images/21022025/09/53/image_21022025_09_53_37_10337.jpg', '/home/pi/Desktop/images/21022025/09/53/image_21022025_09_53_47_9366.jpg', '/home/pi/Desktop/images/21022025/09/53/image_21022025_09_53_57_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/52/image_21022025_09_52_57_10322.jpg
/home/pi/Desktop/images/21022025/09/52/image_21022025_09_53_07_10347.jpg
/home/pi/Desktop/images/21022025/09/53/image_21022025_09_53_27_10339.jpg
/home/pi/Desktop/images/21022025/09/53/image_21022025_09_53_37_10337.jpg
/home/pi/Desktop/images/21022025/09/53/image_21022025_09_53_47_9366.jpg
/home/pi/Desktop/images/21022025/09/53/image_21022025_09_53_57_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338791070","1338791058","1338791050","1338791053","1338791061","1338791055"],"photo_ids_order":["1338791050","1338791053","1338791055","1338791058","1338791061","1338791070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/68458ed47e7808e09c4edf693337cced.jpg","text":"TemporaryFile(/tmp/multipartBody4028459112478445356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130532813,"filename":"image_21022025_09_53_57_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/57c2ed8486c2e7eccb5d976d2f2c144a.jpg","text":"TemporaryFile(/tmp/multipartBody7775116525610437629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130532813,"filename":"image_21022025_09_53_37_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bb5a12bdc3944febeb58c76ac6a6bf1e.jpg","text":"TemporaryFile(/tmp/multipartBody8059159630426325451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130532813,"filename":"image_21022025_09_52_57_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1f7cc0c29d5c0923f7b903517ef92da9.jpg","text":"TemporaryFile(/tmp/multipartBody7165618871475592748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130532813,"filename":"image_21022025_09_53_07_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/509a59bc639ccbe0c9d1ca0fb79757a9.jpg","text":"TemporaryFile(/tmp/multipartBody8322020233674674473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130532813,"filename":"image_21022025_09_53_47_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b500b2fddb0ff54409bd87fc5a6dd470.jpg","text":"TemporaryFile(/tmp/multipartBody6739118444581928500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130532813,"filename":"image_21022025_09_53_27_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338791055","file1":"1338791053","file0":"1338791050","file4":"1338791061","file5":"1338791070","file3":"1338791058"},"map_files_photo_id_array":[{"photo_id":"1338791070","filename":"file5"},{"photo_id":"1338791055","filename":"file2"},{"photo_id":"1338791061","filename":"file4"},{"photo_id":"1338791053","filename":"file1"},{"photo_id":"1338791050","filename":"file0"},{"photo_id":"1338791058","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338791070":["hashtag1","hashtag2"]},{"1338791058":["hashtag1","hashtag2"]},{"1338791050":["hashtag1","hashtag2"]},{"1338791053":["hashtag1","hashtag2"]},{"1338791061":["hashtag1","hashtag2"]},{"1338791055":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338791070, 1338791058, 1338791050, 1338791053, 1338791061, 1338791055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25424265861511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:35:32.583957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/53/image_21022025_09_54_07_10325.jpg', '/home/pi/Desktop/images/21022025/09/54/image_21022025_09_54_17_9348.jpg', '/home/pi/Desktop/images/21022025/09/54/image_21022025_09_54_27_10393.jpg', '/home/pi/Desktop/images/21022025/09/54/image_21022025_09_54_37_10314.jpg', '/home/pi/Desktop/images/21022025/09/54/image_21022025_09_54_47_9413.jpg', '/home/pi/Desktop/images/21022025/09/54/image_21022025_09_54_57_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/53/image_21022025_09_54_07_10325.jpg
/home/pi/Desktop/images/21022025/09/54/image_21022025_09_54_17_9348.jpg
/home/pi/Desktop/images/21022025/09/54/image_21022025_09_54_27_10393.jpg
/home/pi/Desktop/images/21022025/09/54/image_21022025_09_54_37_10314.jpg
/home/pi/Desktop/images/21022025/09/54/image_21022025_09_54_47_9413.jpg
/home/pi/Desktop/images/21022025/09/54/image_21022025_09_54_57_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338791198","1338791177","1338791156","1338791204","1338791188","1338791207"],"photo_ids_order":["1338791156","1338791177","1338791188","1338791198","1338791204","1338791207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1d16bd99e5a08c1d937b172c25d28430.jpg","text":"TemporaryFile(/tmp/multipartBody2429147805567998941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130593062,"filename":"image_21022025_09_54_37_10314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/468e11ae72ba8cf62d779801eb4bfe64.jpg","text":"TemporaryFile(/tmp/multipartBody3124427079472526106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130593062,"filename":"image_21022025_09_54_17_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd504ddb27b267491832d2d33bdf71b6.jpg","text":"TemporaryFile(/tmp/multipartBody1427430418376786123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130593062,"filename":"image_21022025_09_54_07_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5a637ea6c30c01806de70751dd458cc6.jpg","text":"TemporaryFile(/tmp/multipartBody1378675076989735030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130593062,"filename":"image_21022025_09_54_47_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d7b310f2037bb12a50d51773eb4b76e3.jpg","text":"TemporaryFile(/tmp/multipartBody7256775065363076953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130593062,"filename":"image_21022025_09_54_27_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e10c2abcfd803b2fb4f24f92b6233a3.jpg","text":"TemporaryFile(/tmp/multipartBody3569918017596362506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130593062,"filename":"image_21022025_09_54_57_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338791188","file1":"1338791177","file0":"1338791156","file4":"1338791204","file5":"1338791207","file3":"1338791198"},"map_files_photo_id_array":[{"photo_id":"1338791207","filename":"file5"},{"photo_id":"1338791188","filename":"file2"},{"photo_id":"1338791204","filename":"file4"},{"photo_id":"1338791177","filename":"file1"},{"photo_id":"1338791156","filename":"file0"},{"photo_id":"1338791198","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338791198":["hashtag1","hashtag2"]},{"1338791177":["hashtag1","hashtag2"]},{"1338791156":["hashtag1","hashtag2"]},{"1338791204":["hashtag1","hashtag2"]},{"1338791188":["hashtag1","hashtag2"]},{"1338791207":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338791198, 1338791177, 1338791156, 1338791204, 1338791188, 1338791207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.114168643951416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:36:32.779183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/54/image_21022025_09_55_07_9391.jpg', '/home/pi/Desktop/images/21022025/09/55/image_21022025_09_55_17_10353.jpg', '/home/pi/Desktop/images/21022025/09/55/image_21022025_09_55_27_10429.jpg', '/home/pi/Desktop/images/21022025/09/55/image_21022025_09_55_37_9402.jpg', '/home/pi/Desktop/images/21022025/09/55/image_21022025_09_55_47_10338.jpg', '/home/pi/Desktop/images/21022025/09/55/image_21022025_09_55_57_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/54/image_21022025_09_55_07_9391.jpg
/home/pi/Desktop/images/21022025/09/55/image_21022025_09_55_17_10353.jpg
/home/pi/Desktop/images/21022025/09/55/image_21022025_09_55_27_10429.jpg
/home/pi/Desktop/images/21022025/09/55/image_21022025_09_55_37_9402.jpg
/home/pi/Desktop/images/21022025/09/55/image_21022025_09_55_47_10338.jpg
/home/pi/Desktop/images/21022025/09/55/image_21022025_09_55_57_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338791334","1338791275","1338791260","1338791311","1338791320","1338791292"],"photo_ids_order":["1338791260","1338791275","1338791292","1338791311","1338791320","1338791334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/10c34f8d5e4dbd668f5495c404211f7a.jpg","text":"TemporaryFile(/tmp/multipartBody4388511200640945911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130653252,"filename":"image_21022025_09_55_57_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7b3b6d967d5cd082166b876beeeb54b4.jpg","text":"TemporaryFile(/tmp/multipartBody3877710222082263579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130653252,"filename":"image_21022025_09_55_17_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/01f312fbcd14179f34a0e78764d09f2d.jpg","text":"TemporaryFile(/tmp/multipartBody1895734379811352532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130653252,"filename":"image_21022025_09_55_07_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9615b96bc35121798e3bf2951ce2a39b.jpg","text":"TemporaryFile(/tmp/multipartBody2633027611037399742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130653252,"filename":"image_21022025_09_55_37_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e9d413e9f682b0d42a19ce14ecd44aa8.jpg","text":"TemporaryFile(/tmp/multipartBody4076690980142361756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130653252,"filename":"image_21022025_09_55_47_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/526797a9946911528dd3451f336b0a38.jpg","text":"TemporaryFile(/tmp/multipartBody5492084373743965083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130653252,"filename":"image_21022025_09_55_27_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338791292","file1":"1338791275","file0":"1338791260","file4":"1338791320","file5":"1338791334","file3":"1338791311"},"map_files_photo_id_array":[{"photo_id":"1338791334","filename":"file5"},{"photo_id":"1338791292","filename":"file2"},{"photo_id":"1338791320","filename":"file4"},{"photo_id":"1338791275","filename":"file1"},{"photo_id":"1338791260","filename":"file0"},{"photo_id":"1338791311","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338791334":["hashtag1","hashtag2"]},{"1338791275":["hashtag1","hashtag2"]},{"1338791260":["hashtag1","hashtag2"]},{"1338791311":["hashtag1","hashtag2"]},{"1338791320":["hashtag1","hashtag2"]},{"1338791292":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338791334, 1338791275, 1338791260, 1338791311, 1338791320, 1338791292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.604506492614746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:37:33.048229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/55/image_21022025_09_56_07_9402.jpg', '/home/pi/Desktop/images/21022025/09/56/image_21022025_09_56_17_10365.jpg', '/home/pi/Desktop/images/21022025/09/56/image_21022025_09_56_27_9403.jpg', '/home/pi/Desktop/images/21022025/09/56/image_21022025_09_56_37_10362.jpg', '/home/pi/Desktop/images/21022025/09/56/image_21022025_09_56_47_10375.jpg', '/home/pi/Desktop/images/21022025/09/56/image_21022025_09_56_57_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/55/image_21022025_09_56_07_9402.jpg
/home/pi/Desktop/images/21022025/09/56/image_21022025_09_56_17_10365.jpg
/home/pi/Desktop/images/21022025/09/56/image_21022025_09_56_27_9403.jpg
/home/pi/Desktop/images/21022025/09/56/image_21022025_09_56_37_10362.jpg
/home/pi/Desktop/images/21022025/09/56/image_21022025_09_56_47_10375.jpg
/home/pi/Desktop/images/21022025/09/56/image_21022025_09_56_57_9388.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.388674259185791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 10:37:42.928160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/55/image_21022025_09_56_07_9402.jpg', '/home/pi/Desktop/images/21022025/09/56/image_21022025_09_56_17_10365.jpg', '/home/pi/Desktop/images/21022025/09/56/image_21022025_09_56_27_9403.jpg', '/home/pi/Desktop/images/21022025/09/56/image_21022025_09_56_37_10362.jpg', '/home/pi/Desktop/images/21022025/09/56/image_21022025_09_56_47_10375.jpg', '/home/pi/Desktop/images/21022025/09/56/image_21022025_09_56_57_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/55/image_21022025_09_56_07_9402.jpg
/home/pi/Desktop/images/21022025/09/56/image_21022025_09_56_17_10365.jpg
/home/pi/Desktop/images/21022025/09/56/image_21022025_09_56_27_9403.jpg
/home/pi/Desktop/images/21022025/09/56/image_21022025_09_56_37_10362.jpg
/home/pi/Desktop/images/21022025/09/56/image_21022025_09_56_47_10375.jpg
/home/pi/Desktop/images/21022025/09/56/image_21022025_09_56_57_9388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338791387","1338791398","1338791383","1338791401","1338791391","1338791394"],"photo_ids_order":["1338791383","1338791387","1338791391","1338791394","1338791398","1338791401"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/885d1add63af7b4146127bc78987183b.jpg","text":"TemporaryFile(/tmp/multipartBody2963296847221064277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130723399,"filename":"image_21022025_09_56_17_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/16dc6265c68f24b1c05e0e8b914bfd62.jpg","text":"TemporaryFile(/tmp/multipartBody6204992437085781025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130723399,"filename":"image_21022025_09_56_47_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/398f4db4a7e98e0c13d254b830311a2d.jpg","text":"TemporaryFile(/tmp/multipartBody2679193015864638793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130723399,"filename":"image_21022025_09_56_07_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04972fb73f8766a557bd13f14e05be96.jpg","text":"TemporaryFile(/tmp/multipartBody4021875368953305777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130723399,"filename":"image_21022025_09_56_57_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5ba97de9b43f8db44bc0130f40430858.jpg","text":"TemporaryFile(/tmp/multipartBody6503077909486485086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130723399,"filename":"image_21022025_09_56_27_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c03ad5154e6b4cedabe45a665e9562bd.jpg","text":"TemporaryFile(/tmp/multipartBody4457660111273363326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130723399,"filename":"image_21022025_09_56_37_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338791391","file1":"1338791387","file0":"1338791383","file4":"1338791398","file5":"1338791401","file3":"1338791394"},"map_files_photo_id_array":[{"photo_id":"1338791401","filename":"file5"},{"photo_id":"1338791391","filename":"file2"},{"photo_id":"1338791398","filename":"file4"},{"photo_id":"1338791387","filename":"file1"},{"photo_id":"1338791383","filename":"file0"},{"photo_id":"1338791394","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338791387":["hashtag1","hashtag2"]},{"1338791398":["hashtag1","hashtag2"]},{"1338791383":["hashtag1","hashtag2"]},{"1338791401":["hashtag1","hashtag2"]},{"1338791391":["hashtag1","hashtag2"]},{"1338791394":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338791387, 1338791398, 1338791383, 1338791401, 1338791391, 1338791394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.241145610809326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:38:32.286440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/57/image_21022025_09_57_17_10400.jpg', '/home/pi/Desktop/images/21022025/09/57/image_21022025_09_57_27_9307.jpg', '/home/pi/Desktop/images/21022025/09/57/image_21022025_09_57_37_10326.jpg', '/home/pi/Desktop/images/21022025/09/57/image_21022025_09_57_47_10355.jpg', '/home/pi/Desktop/images/21022025/09/57/image_21022025_09_57_57_9395.jpg', '/home/pi/Desktop/images/21022025/09/57/image_21022025_09_58_07_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/57/image_21022025_09_57_17_10400.jpg
/home/pi/Desktop/images/21022025/09/57/image_21022025_09_57_27_9307.jpg
/home/pi/Desktop/images/21022025/09/57/image_21022025_09_57_37_10326.jpg
/home/pi/Desktop/images/21022025/09/57/image_21022025_09_57_47_10355.jpg
/home/pi/Desktop/images/21022025/09/57/image_21022025_09_57_57_9395.jpg
/home/pi/Desktop/images/21022025/09/57/image_21022025_09_58_07_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338791441","1338791444","1338791423","1338791435","1338791431","1338791439"],"photo_ids_order":["1338791423","1338791431","1338791435","1338791439","1338791441","1338791444"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ff2e234b4faa5bfc1f442ce44ba001d.jpg","text":"TemporaryFile(/tmp/multipartBody991881823481259536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130772752,"filename":"image_21022025_09_57_57_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce9401e3c3bf986ef850db5faf3a2395.jpg","text":"TemporaryFile(/tmp/multipartBody5859197157985715019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130772752,"filename":"image_21022025_09_58_07_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/37a70536b28adff51d224875ad11b91c.jpg","text":"TemporaryFile(/tmp/multipartBody7188859561062426067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130772752,"filename":"image_21022025_09_57_17_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/08a64944bd175796f7ce58b881096949.jpg","text":"TemporaryFile(/tmp/multipartBody7850317963663296927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130772752,"filename":"image_21022025_09_57_37_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e865a1028f441f84cab7ebb74f90b783.jpg","text":"TemporaryFile(/tmp/multipartBody8628994336593433525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130772752,"filename":"image_21022025_09_57_27_9307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/267543e9ce21abcb242fe6fb8efd2210.jpg","text":"TemporaryFile(/tmp/multipartBody6828146128187628079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130772752,"filename":"image_21022025_09_57_47_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338791435","file1":"1338791431","file0":"1338791423","file4":"1338791441","file5":"1338791444","file3":"1338791439"},"map_files_photo_id_array":[{"photo_id":"1338791444","filename":"file5"},{"photo_id":"1338791435","filename":"file2"},{"photo_id":"1338791441","filename":"file4"},{"photo_id":"1338791431","filename":"file1"},{"photo_id":"1338791423","filename":"file0"},{"photo_id":"1338791439","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338791441":["hashtag1","hashtag2"]},{"1338791444":["hashtag1","hashtag2"]},{"1338791423":["hashtag1","hashtag2"]},{"1338791435":["hashtag1","hashtag2"]},{"1338791431":["hashtag1","hashtag2"]},{"1338791439":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338791441, 1338791444, 1338791423, 1338791435, 1338791431, 1338791439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.90036416053772 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:39:32.566656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/58/image_21022025_09_58_27_10410.jpg', '/home/pi/Desktop/images/21022025/09/58/image_21022025_09_58_37_10325.jpg', '/home/pi/Desktop/images/21022025/09/58/image_21022025_09_58_47_9420.jpg', '/home/pi/Desktop/images/21022025/09/58/image_21022025_09_58_57_10323.jpg', '/home/pi/Desktop/images/21022025/09/58/image_21022025_09_59_07_9438.jpg', '/home/pi/Desktop/images/21022025/09/59/image_21022025_09_59_17_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/58/image_21022025_09_58_27_10410.jpg
/home/pi/Desktop/images/21022025/09/58/image_21022025_09_58_37_10325.jpg
/home/pi/Desktop/images/21022025/09/58/image_21022025_09_58_47_9420.jpg
/home/pi/Desktop/images/21022025/09/58/image_21022025_09_58_57_10323.jpg
/home/pi/Desktop/images/21022025/09/58/image_21022025_09_59_07_9438.jpg
/home/pi/Desktop/images/21022025/09/59/image_21022025_09_59_17_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338791469","1338791477","1338791462","1338791473","1338791467","1338791482"],"photo_ids_order":["1338791462","1338791467","1338791469","1338791473","1338791477","1338791482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f2fbf094f58a91f1dc7174432ae9ae1c.jpg","text":"TemporaryFile(/tmp/multipartBody5801445816196980305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130833073,"filename":"image_21022025_09_58_47_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9b906274fd76559be18f0a2017868678.jpg","text":"TemporaryFile(/tmp/multipartBody1550467591900383224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130833073,"filename":"image_21022025_09_59_07_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d5cafa6f7035250c5a6d55b8283fd804.jpg","text":"TemporaryFile(/tmp/multipartBody5660175490750394226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130833073,"filename":"image_21022025_09_58_27_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e1483a644ce964c3eb21d4121bac802.jpg","text":"TemporaryFile(/tmp/multipartBody6362292649287613155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130833073,"filename":"image_21022025_09_58_57_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/96d4cdd48b5dc8348e0160dc1c84cabb.jpg","text":"TemporaryFile(/tmp/multipartBody985672098693477720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130833073,"filename":"image_21022025_09_58_37_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f9193e8ff94c0d60277afcd773f1d55e.jpg","text":"TemporaryFile(/tmp/multipartBody8918282188365742040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130833073,"filename":"image_21022025_09_59_17_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338791469","file1":"1338791467","file0":"1338791462","file4":"1338791477","file5":"1338791482","file3":"1338791473"},"map_files_photo_id_array":[{"photo_id":"1338791482","filename":"file5"},{"photo_id":"1338791469","filename":"file2"},{"photo_id":"1338791477","filename":"file4"},{"photo_id":"1338791467","filename":"file1"},{"photo_id":"1338791462","filename":"file0"},{"photo_id":"1338791473","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338791469":["hashtag1","hashtag2"]},{"1338791477":["hashtag1","hashtag2"]},{"1338791462":["hashtag1","hashtag2"]},{"1338791473":["hashtag1","hashtag2"]},{"1338791467":["hashtag1","hashtag2"]},{"1338791482":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338791469, 1338791477, 1338791462, 1338791473, 1338791467, 1338791482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.48520374298096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:40:32.707371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/09/59/image_21022025_09_59_27_10396.jpg', '/home/pi/Desktop/images/21022025/09/59/image_21022025_09_59_37_9333.jpg', '/home/pi/Desktop/images/21022025/09/59/image_21022025_09_59_47_10433.jpg', '/home/pi/Desktop/images/21022025/09/59/image_21022025_09_59_57_9431.jpg', '/home/pi/Desktop/images/21022025/10/01/image_21022025_10_01_14_10068.jpg', '/home/pi/Desktop/images/21022025/10/01/image_21022025_10_01_24_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/09/59/image_21022025_09_59_27_10396.jpg
/home/pi/Desktop/images/21022025/09/59/image_21022025_09_59_37_9333.jpg
/home/pi/Desktop/images/21022025/09/59/image_21022025_09_59_47_10433.jpg
/home/pi/Desktop/images/21022025/09/59/image_21022025_09_59_57_9431.jpg
/home/pi/Desktop/images/21022025/10/01/image_21022025_10_01_14_10068.jpg
/home/pi/Desktop/images/21022025/10/01/image_21022025_10_01_24_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338791514","1338791502","1338791511","1338791495","1338791504","1338791507"],"photo_ids_order":["1338791495","1338791502","1338791504","1338791507","1338791511","1338791514"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1d152b83b56a4b0fcb366ad7aced0991.jpg","text":"TemporaryFile(/tmp/multipartBody343952839805344027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130893180,"filename":"image_21022025_10_01_24_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a8d93c29bfe27a5a606d4bfbea7b068.jpg","text":"TemporaryFile(/tmp/multipartBody5989786312626590440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130893180,"filename":"image_21022025_09_59_37_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e178aea1e94fcfcee0552909375c6e69.jpg","text":"TemporaryFile(/tmp/multipartBody6183988545473970162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130893180,"filename":"image_21022025_10_01_14_10068.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e5c1344cf138ce5af88de3706bc1b15.jpg","text":"TemporaryFile(/tmp/multipartBody7202510136622868153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130893180,"filename":"image_21022025_09_59_27_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/10595fe617b8f631d4e1e435d9bb475f.jpg","text":"TemporaryFile(/tmp/multipartBody5763882233812797861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130893180,"filename":"image_21022025_09_59_47_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5ff64b1fc7d15f10f37a2035311288a2.jpg","text":"TemporaryFile(/tmp/multipartBody1385702931914447889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130893180,"filename":"image_21022025_09_59_57_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338791504","file1":"1338791502","file0":"1338791495","file4":"1338791511","file5":"1338791514","file3":"1338791507"},"map_files_photo_id_array":[{"photo_id":"1338791514","filename":"file5"},{"photo_id":"1338791504","filename":"file2"},{"photo_id":"1338791511","filename":"file4"},{"photo_id":"1338791502","filename":"file1"},{"photo_id":"1338791495","filename":"file0"},{"photo_id":"1338791507","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338791514":["hashtag1","hashtag2"]},{"1338791502":["hashtag1","hashtag2"]},{"1338791511":["hashtag1","hashtag2"]},{"1338791495":["hashtag1","hashtag2"]},{"1338791504":["hashtag1","hashtag2"]},{"1338791507":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338791514, 1338791502, 1338791511, 1338791495, 1338791504, 1338791507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.47763276100159 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:41:32.931654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/01/image_21022025_10_01_35_10436.jpg', '/home/pi/Desktop/images/21022025/10/01/image_21022025_10_01_44_9327.jpg', '/home/pi/Desktop/images/21022025/10/01/image_21022025_10_01_54_10342.jpg', '/home/pi/Desktop/images/21022025/10/01/image_21022025_10_02_05_10331.jpg', '/home/pi/Desktop/images/21022025/10/02/image_21022025_10_02_24_10405.jpg', '/home/pi/Desktop/images/21022025/10/02/image_21022025_10_02_34_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/01/image_21022025_10_01_35_10436.jpg
/home/pi/Desktop/images/21022025/10/01/image_21022025_10_01_44_9327.jpg
/home/pi/Desktop/images/21022025/10/01/image_21022025_10_01_54_10342.jpg
/home/pi/Desktop/images/21022025/10/01/image_21022025_10_02_05_10331.jpg
/home/pi/Desktop/images/21022025/10/02/image_21022025_10_02_24_10405.jpg
/home/pi/Desktop/images/21022025/10/02/image_21022025_10_02_34_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338791753","1338791576","1338791837","1338791528","1338791656","1338791550"],"photo_ids_order":["1338791528","1338791550","1338791576","1338791656","1338791753","1338791837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8cad0fa72469adf73705b4e5d575ffc9.jpg","text":"TemporaryFile(/tmp/multipartBody8503950771267772102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130953411,"filename":"image_21022025_10_02_24_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be95030dbf2ab06e29bebb7531468c4c.jpg","text":"TemporaryFile(/tmp/multipartBody1396282818646010144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130953411,"filename":"image_21022025_10_01_54_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d464875710198266940850a46bd17853.jpg","text":"TemporaryFile(/tmp/multipartBody6581760899743923554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130953411,"filename":"image_21022025_10_02_34_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bbffe1afffbdec490d5547a1c5423eca.jpg","text":"TemporaryFile(/tmp/multipartBody1361973955236809725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130953411,"filename":"image_21022025_10_01_35_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b43d14035d9915efaca42c904ec085a.jpg","text":"TemporaryFile(/tmp/multipartBody9087571217003185731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130953411,"filename":"image_21022025_10_02_05_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/93b23ad8db80f3de6125b571b010e10a.jpg","text":"TemporaryFile(/tmp/multipartBody7798123932725497072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740130953411,"filename":"image_21022025_10_01_44_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338791576","file1":"1338791550","file0":"1338791528","file4":"1338791753","file5":"1338791837","file3":"1338791656"},"map_files_photo_id_array":[{"photo_id":"1338791837","filename":"file5"},{"photo_id":"1338791576","filename":"file2"},{"photo_id":"1338791753","filename":"file4"},{"photo_id":"1338791550","filename":"file1"},{"photo_id":"1338791528","filename":"file0"},{"photo_id":"1338791656","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338791753":["hashtag1","hashtag2"]},{"1338791576":["hashtag1","hashtag2"]},{"1338791837":["hashtag1","hashtag2"]},{"1338791528":["hashtag1","hashtag2"]},{"1338791656":["hashtag1","hashtag2"]},{"1338791550":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338791753, 1338791576, 1338791837, 1338791528, 1338791656, 1338791550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.93125867843628 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:42:32.174143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/02/image_21022025_10_02_44_10330.jpg', '/home/pi/Desktop/images/21022025/10/02/image_21022025_10_02_55_10399.jpg', '/home/pi/Desktop/images/21022025/10/02/image_21022025_10_03_04_9325.jpg', '/home/pi/Desktop/images/21022025/10/03/image_21022025_10_03_14_10316.jpg', '/home/pi/Desktop/images/21022025/10/03/image_21022025_10_03_25_10393.jpg', '/home/pi/Desktop/images/21022025/10/03/image_21022025_10_03_34_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/02/image_21022025_10_02_44_10330.jpg
/home/pi/Desktop/images/21022025/10/02/image_21022025_10_02_55_10399.jpg
/home/pi/Desktop/images/21022025/10/02/image_21022025_10_03_04_9325.jpg
/home/pi/Desktop/images/21022025/10/03/image_21022025_10_03_14_10316.jpg
/home/pi/Desktop/images/21022025/10/03/image_21022025_10_03_25_10393.jpg
/home/pi/Desktop/images/21022025/10/03/image_21022025_10_03_34_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338792635","1338792685","1338792733","1338792607","1338792546","1338792435"],"photo_ids_order":["1338792435","1338792546","1338792607","1338792635","1338792685","1338792733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ca0560818369c8f4181470955f01607.jpg","text":"TemporaryFile(/tmp/multipartBody3627247105849272157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131012632,"filename":"image_21022025_10_03_14_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/48277e041fa94bbe3cff4fb4cd1ebd55.jpg","text":"TemporaryFile(/tmp/multipartBody1127111265251257242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131012632,"filename":"image_21022025_10_03_25_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f233c817e7e1ce4653e20ffcf286ecbd.jpg","text":"TemporaryFile(/tmp/multipartBody8246786494478846788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131012632,"filename":"image_21022025_10_03_34_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7583ef0a339a03076e8b91bdf5ab2a48.jpg","text":"TemporaryFile(/tmp/multipartBody4718941540884983484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131012632,"filename":"image_21022025_10_03_04_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1068c0c68367d02b32a5eda42156fd07.jpg","text":"TemporaryFile(/tmp/multipartBody9028536255967487841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131012632,"filename":"image_21022025_10_02_55_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87f478caecf4ee233c8e17736d1da9ba.jpg","text":"TemporaryFile(/tmp/multipartBody622103781780754334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131012632,"filename":"image_21022025_10_02_44_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338792607","file1":"1338792546","file0":"1338792435","file4":"1338792685","file5":"1338792733","file3":"1338792635"},"map_files_photo_id_array":[{"photo_id":"1338792733","filename":"file5"},{"photo_id":"1338792607","filename":"file2"},{"photo_id":"1338792685","filename":"file4"},{"photo_id":"1338792546","filename":"file1"},{"photo_id":"1338792435","filename":"file0"},{"photo_id":"1338792635","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338792635":["hashtag1","hashtag2"]},{"1338792685":["hashtag1","hashtag2"]},{"1338792733":["hashtag1","hashtag2"]},{"1338792607":["hashtag1","hashtag2"]},{"1338792546":["hashtag1","hashtag2"]},{"1338792435":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338792635, 1338792685, 1338792733, 1338792607, 1338792546, 1338792435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.79497241973877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:43:32.410390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/03/image_21022025_10_03_44_10330.jpg', '/home/pi/Desktop/images/21022025/10/03/image_21022025_10_03_55_10430.jpg', '/home/pi/Desktop/images/21022025/10/03/image_21022025_10_04_04_9322.jpg', '/home/pi/Desktop/images/21022025/10/04/image_21022025_10_04_14_10349.jpg', '/home/pi/Desktop/images/21022025/10/04/image_21022025_10_04_25_10350.jpg', '/home/pi/Desktop/images/21022025/10/04/image_21022025_10_04_34_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/03/image_21022025_10_03_44_10330.jpg
/home/pi/Desktop/images/21022025/10/03/image_21022025_10_03_55_10430.jpg
/home/pi/Desktop/images/21022025/10/03/image_21022025_10_04_04_9322.jpg
/home/pi/Desktop/images/21022025/10/04/image_21022025_10_04_14_10349.jpg
/home/pi/Desktop/images/21022025/10/04/image_21022025_10_04_25_10350.jpg
/home/pi/Desktop/images/21022025/10/04/image_21022025_10_04_34_9398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338793202","1338793034","1338793090","1338793155","1338793230","1338793227"],"photo_ids_order":["1338793034","1338793090","1338793155","1338793202","1338793227","1338793230"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75c29d7e0f220e8623c4b59cd1f1ccc4.jpg","text":"TemporaryFile(/tmp/multipartBody8735244890147078864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131072888,"filename":"image_21022025_10_04_14_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/480d5ba394881ec0c437b6014b91499e.jpg","text":"TemporaryFile(/tmp/multipartBody3567400426785206156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131072888,"filename":"image_21022025_10_03_44_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75e695cb4c0098dfdf4b494ccd0d1397.jpg","text":"TemporaryFile(/tmp/multipartBody4820156156699805393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131072888,"filename":"image_21022025_10_03_55_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a767483c45f5ded77cfb56ec4db312d9.jpg","text":"TemporaryFile(/tmp/multipartBody7842546245174194434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131072888,"filename":"image_21022025_10_04_04_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/91587639359683eac042bc9da4e0a8bb.jpg","text":"TemporaryFile(/tmp/multipartBody4367707903731497840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131072888,"filename":"image_21022025_10_04_34_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/42e3397fbc502e9ba378eea134e6e4b5.jpg","text":"TemporaryFile(/tmp/multipartBody5334392047641333503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131072888,"filename":"image_21022025_10_04_25_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338793155","file1":"1338793090","file0":"1338793034","file4":"1338793227","file5":"1338793230","file3":"1338793202"},"map_files_photo_id_array":[{"photo_id":"1338793230","filename":"file5"},{"photo_id":"1338793155","filename":"file2"},{"photo_id":"1338793227","filename":"file4"},{"photo_id":"1338793090","filename":"file1"},{"photo_id":"1338793034","filename":"file0"},{"photo_id":"1338793202","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338793202":["hashtag1","hashtag2"]},{"1338793034":["hashtag1","hashtag2"]},{"1338793090":["hashtag1","hashtag2"]},{"1338793155":["hashtag1","hashtag2"]},{"1338793230":["hashtag1","hashtag2"]},{"1338793227":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338793202, 1338793034, 1338793090, 1338793155, 1338793230, 1338793227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.68552350997925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:44:32.678171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/04/image_21022025_10_04_44_10316.jpg', '/home/pi/Desktop/images/21022025/10/04/image_21022025_10_04_55_10342.jpg', '/home/pi/Desktop/images/21022025/10/04/image_21022025_10_05_04_9329.jpg', '/home/pi/Desktop/images/21022025/10/05/image_21022025_10_05_14_10347.jpg', '/home/pi/Desktop/images/21022025/10/05/image_21022025_10_05_25_10346.jpg', '/home/pi/Desktop/images/21022025/10/05/image_21022025_10_05_34_9300.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/04/image_21022025_10_04_44_10316.jpg
/home/pi/Desktop/images/21022025/10/04/image_21022025_10_04_55_10342.jpg
/home/pi/Desktop/images/21022025/10/04/image_21022025_10_05_04_9329.jpg
/home/pi/Desktop/images/21022025/10/05/image_21022025_10_05_14_10347.jpg
/home/pi/Desktop/images/21022025/10/05/image_21022025_10_05_25_10346.jpg
/home/pi/Desktop/images/21022025/10/05/image_21022025_10_05_34_9300.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338793256","1338793258","1338793252","1338793246","1338793263","1338793265"],"photo_ids_order":["1338793246","1338793252","1338793256","1338793258","1338793263","1338793265"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/540a3be1e1ff9f2037bf0b08539a32d3.jpg","text":"TemporaryFile(/tmp/multipartBody7786842930656475285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131133168,"filename":"image_21022025_10_05_04_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/82eb2529273bd09fa5fc5273fcf262bd.jpg","text":"TemporaryFile(/tmp/multipartBody7493596874762628484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131133168,"filename":"image_21022025_10_05_14_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/72228031e73bc3d6fc97db4124101f50.jpg","text":"TemporaryFile(/tmp/multipartBody3044841290293826864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131133168,"filename":"image_21022025_10_04_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/114441f7e44af398dcda12ef5baa6e99.jpg","text":"TemporaryFile(/tmp/multipartBody2338702354294279578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131133168,"filename":"image_21022025_10_04_44_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8515b473e323aa54a94e599b65f14a38.jpg","text":"TemporaryFile(/tmp/multipartBody8573631379012359896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131133168,"filename":"image_21022025_10_05_25_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/318213d7e64d7a567338c92e4e8532af.jpg","text":"TemporaryFile(/tmp/multipartBody1139871697054166736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131133168,"filename":"image_21022025_10_05_34_9300.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338793256","file1":"1338793252","file0":"1338793246","file4":"1338793263","file5":"1338793265","file3":"1338793258"},"map_files_photo_id_array":[{"photo_id":"1338793265","filename":"file5"},{"photo_id":"1338793256","filename":"file2"},{"photo_id":"1338793263","filename":"file4"},{"photo_id":"1338793252","filename":"file1"},{"photo_id":"1338793246","filename":"file0"},{"photo_id":"1338793258","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338793256":["hashtag1","hashtag2"]},{"1338793258":["hashtag1","hashtag2"]},{"1338793252":["hashtag1","hashtag2"]},{"1338793246":["hashtag1","hashtag2"]},{"1338793263":["hashtag1","hashtag2"]},{"1338793265":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338793256, 1338793258, 1338793252, 1338793246, 1338793263, 1338793265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07802438735962 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:45:32.804055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/05/image_21022025_10_05_44_10312.jpg', '/home/pi/Desktop/images/21022025/10/05/image_21022025_10_05_55_10344.jpg', '/home/pi/Desktop/images/21022025/10/05/image_21022025_10_06_04_9363.jpg', '/home/pi/Desktop/images/21022025/10/06/image_21022025_10_06_14_10343.jpg', '/home/pi/Desktop/images/21022025/10/06/image_21022025_10_06_24_9392.jpg', '/home/pi/Desktop/images/21022025/10/06/image_21022025_10_06_34_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/05/image_21022025_10_05_44_10312.jpg
/home/pi/Desktop/images/21022025/10/05/image_21022025_10_05_55_10344.jpg
/home/pi/Desktop/images/21022025/10/05/image_21022025_10_06_04_9363.jpg
/home/pi/Desktop/images/21022025/10/06/image_21022025_10_06_14_10343.jpg
/home/pi/Desktop/images/21022025/10/06/image_21022025_10_06_24_9392.jpg
/home/pi/Desktop/images/21022025/10/06/image_21022025_10_06_34_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338793442","1338793306","1338793281","1338793422","1338793365","1338793407"],"photo_ids_order":["1338793281","1338793306","1338793365","1338793407","1338793422","1338793442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ed4aa218bd811c562c4c5f2187ebae5d.jpg","text":"TemporaryFile(/tmp/multipartBody1619174008485984677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131193290,"filename":"image_21022025_10_06_34_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2e55263b9acbf31bd1a0cf7b2a04a0f4.jpg","text":"TemporaryFile(/tmp/multipartBody5506450516582868312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131193290,"filename":"image_21022025_10_05_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/28723cd36232595d88052bf155f283b0.jpg","text":"TemporaryFile(/tmp/multipartBody2612821289849178998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131193290,"filename":"image_21022025_10_05_44_10312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/648ffa96a3ceef49c0fb908ed10efba7.jpg","text":"TemporaryFile(/tmp/multipartBody4652795399588525860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131193290,"filename":"image_21022025_10_06_24_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/48dde31380e82e8b3cd82dd3a82b855d.jpg","text":"TemporaryFile(/tmp/multipartBody9077865767209766854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131193290,"filename":"image_21022025_10_06_04_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bc337a266b5b1510c1d7690a2218a8fa.jpg","text":"TemporaryFile(/tmp/multipartBody456570043639194828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131193290,"filename":"image_21022025_10_06_14_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338793365","file1":"1338793306","file0":"1338793281","file4":"1338793422","file5":"1338793442","file3":"1338793407"},"map_files_photo_id_array":[{"photo_id":"1338793442","filename":"file5"},{"photo_id":"1338793365","filename":"file2"},{"photo_id":"1338793422","filename":"file4"},{"photo_id":"1338793306","filename":"file1"},{"photo_id":"1338793281","filename":"file0"},{"photo_id":"1338793407","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338793442":["hashtag1","hashtag2"]},{"1338793306":["hashtag1","hashtag2"]},{"1338793281":["hashtag1","hashtag2"]},{"1338793422":["hashtag1","hashtag2"]},{"1338793365":["hashtag1","hashtag2"]},{"1338793407":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338793442, 1338793306, 1338793281, 1338793422, 1338793365, 1338793407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68480372428894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:46:33.228674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/06/image_21022025_10_06_45_10437.jpg', '/home/pi/Desktop/images/21022025/10/06/image_21022025_10_06_54_9336.jpg', '/home/pi/Desktop/images/21022025/10/06/image_21022025_10_07_04_10335.jpg', '/home/pi/Desktop/images/21022025/10/07/image_21022025_10_07_15_10333.jpg', '/home/pi/Desktop/images/21022025/10/07/image_21022025_10_07_24_9329.jpg', '/home/pi/Desktop/images/21022025/10/07/image_21022025_10_07_34_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/06/image_21022025_10_06_45_10437.jpg
/home/pi/Desktop/images/21022025/10/06/image_21022025_10_06_54_9336.jpg
/home/pi/Desktop/images/21022025/10/06/image_21022025_10_07_04_10335.jpg
/home/pi/Desktop/images/21022025/10/07/image_21022025_10_07_15_10333.jpg
/home/pi/Desktop/images/21022025/10/07/image_21022025_10_07_24_9329.jpg
/home/pi/Desktop/images/21022025/10/07/image_21022025_10_07_34_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338793931","1338793858","1338793813","1338794028","1338794013","1338794033"],"photo_ids_order":["1338793813","1338793858","1338793931","1338794013","1338794028","1338794033"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/874896100cae6b346df0b1ef4f8a69da.jpg","text":"TemporaryFile(/tmp/multipartBody733006077623137338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131253705,"filename":"image_21022025_10_07_04_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f865bad29503f647d477fff46c467163.jpg","text":"TemporaryFile(/tmp/multipartBody5012736100980445481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131253705,"filename":"image_21022025_10_06_54_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aa0e5fe4196c8827cb4bb6a8ced4511e.jpg","text":"TemporaryFile(/tmp/multipartBody4584561050538799841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131253705,"filename":"image_21022025_10_06_45_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/01ceb77841d1e279960dd458f1024ed0.jpg","text":"TemporaryFile(/tmp/multipartBody4145015472585630635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131253705,"filename":"image_21022025_10_07_24_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/16a0165efe77f1d895d9590d745da543.jpg","text":"TemporaryFile(/tmp/multipartBody5688520694517006306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131253705,"filename":"image_21022025_10_07_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8916813a5e10a172661b74139c76850e.jpg","text":"TemporaryFile(/tmp/multipartBody7780429599696836629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131253705,"filename":"image_21022025_10_07_34_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338793931","file1":"1338793858","file0":"1338793813","file4":"1338794028","file5":"1338794033","file3":"1338794013"},"map_files_photo_id_array":[{"photo_id":"1338794033","filename":"file5"},{"photo_id":"1338793931","filename":"file2"},{"photo_id":"1338794028","filename":"file4"},{"photo_id":"1338793858","filename":"file1"},{"photo_id":"1338793813","filename":"file0"},{"photo_id":"1338794013","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338793931":["hashtag1","hashtag2"]},{"1338793858":["hashtag1","hashtag2"]},{"1338793813":["hashtag1","hashtag2"]},{"1338794028":["hashtag1","hashtag2"]},{"1338794013":["hashtag1","hashtag2"]},{"1338794033":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338793931, 1338793858, 1338793813, 1338794028, 1338794013, 1338794033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.112592935562134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:47:32.326903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/07/image_21022025_10_07_45_10321.jpg', '/home/pi/Desktop/images/21022025/10/07/image_21022025_10_07_54_9334.jpg', '/home/pi/Desktop/images/21022025/10/07/image_21022025_10_08_04_10354.jpg', '/home/pi/Desktop/images/21022025/10/08/image_21022025_10_08_15_10322.jpg', '/home/pi/Desktop/images/21022025/10/08/image_21022025_10_08_24_9328.jpg', '/home/pi/Desktop/images/21022025/10/08/image_21022025_10_08_34_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/07/image_21022025_10_07_45_10321.jpg
/home/pi/Desktop/images/21022025/10/07/image_21022025_10_07_54_9334.jpg
/home/pi/Desktop/images/21022025/10/07/image_21022025_10_08_04_10354.jpg
/home/pi/Desktop/images/21022025/10/08/image_21022025_10_08_15_10322.jpg
/home/pi/Desktop/images/21022025/10/08/image_21022025_10_08_24_9328.jpg
/home/pi/Desktop/images/21022025/10/08/image_21022025_10_08_34_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338794143","1338794152","1338794146","1338794149","1338794160","1338794162"],"photo_ids_order":["1338794143","1338794146","1338794149","1338794152","1338794160","1338794162"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b02b44358cc96b132851afee4e8d9ef9.jpg","text":"TemporaryFile(/tmp/multipartBody5618857830362046665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131312785,"filename":"image_21022025_10_07_45_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d5bf98d4ef29636efc39a51e5448268b.jpg","text":"TemporaryFile(/tmp/multipartBody1863641301276947750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131312785,"filename":"image_21022025_10_08_15_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ecfa665ffbce15b6ca88c8bcbb5c08c.jpg","text":"TemporaryFile(/tmp/multipartBody6095529688957546327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131312785,"filename":"image_21022025_10_07_54_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d9359730a54a1dd07a66538c6d92bb77.jpg","text":"TemporaryFile(/tmp/multipartBody1198318928391620102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131312785,"filename":"image_21022025_10_08_04_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/127948c51cb06c6c276be9e7b362a2c5.jpg","text":"TemporaryFile(/tmp/multipartBody7964447388057032002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131312785,"filename":"image_21022025_10_08_24_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/93286f949bb9b59afc1a928cb52b7756.jpg","text":"TemporaryFile(/tmp/multipartBody4564593381826925372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131312785,"filename":"image_21022025_10_08_34_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338794149","file1":"1338794146","file0":"1338794143","file4":"1338794160","file5":"1338794162","file3":"1338794152"},"map_files_photo_id_array":[{"photo_id":"1338794162","filename":"file5"},{"photo_id":"1338794149","filename":"file2"},{"photo_id":"1338794160","filename":"file4"},{"photo_id":"1338794146","filename":"file1"},{"photo_id":"1338794143","filename":"file0"},{"photo_id":"1338794152","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338794143":["hashtag1","hashtag2"]},{"1338794152":["hashtag1","hashtag2"]},{"1338794146":["hashtag1","hashtag2"]},{"1338794149":["hashtag1","hashtag2"]},{"1338794160":["hashtag1","hashtag2"]},{"1338794162":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338794143, 1338794152, 1338794146, 1338794149, 1338794160, 1338794162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60520672798157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:48:32.545921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/08/image_21022025_10_08_45_10338.jpg', '/home/pi/Desktop/images/21022025/10/08/image_21022025_10_08_54_9399.jpg', '/home/pi/Desktop/images/21022025/10/08/image_21022025_10_09_04_10351.jpg', '/home/pi/Desktop/images/21022025/10/09/image_21022025_10_09_15_10383.jpg', '/home/pi/Desktop/images/21022025/10/09/image_21022025_10_09_24_9332.jpg', '/home/pi/Desktop/images/21022025/10/09/image_21022025_10_09_35_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/08/image_21022025_10_08_45_10338.jpg
/home/pi/Desktop/images/21022025/10/08/image_21022025_10_08_54_9399.jpg
/home/pi/Desktop/images/21022025/10/08/image_21022025_10_09_04_10351.jpg
/home/pi/Desktop/images/21022025/10/09/image_21022025_10_09_15_10383.jpg
/home/pi/Desktop/images/21022025/10/09/image_21022025_10_09_24_9332.jpg
/home/pi/Desktop/images/21022025/10/09/image_21022025_10_09_35_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338794194","1338794530","1338794332","1338794200","1338794184","1338794522"],"photo_ids_order":["1338794184","1338794194","1338794200","1338794332","1338794522","1338794530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bd328a7b178515c33ee3459d913a1fa6.jpg","text":"TemporaryFile(/tmp/multipartBody6864696806159918181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131373014,"filename":"image_21022025_10_08_54_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e3b72ac4d683dde21d6c21ff9bf1faa.jpg","text":"TemporaryFile(/tmp/multipartBody4935273707101462712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131373014,"filename":"image_21022025_10_09_35_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8db3893965eb2e419e8d55c0e4444d8.jpg","text":"TemporaryFile(/tmp/multipartBody4034429831894894337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131373014,"filename":"image_21022025_10_09_15_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e76e239c5e3e8b3b63358f0e759b9091.jpg","text":"TemporaryFile(/tmp/multipartBody4917979976658014109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131373014,"filename":"image_21022025_10_09_04_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f541942805e30197c52438d664d9228a.jpg","text":"TemporaryFile(/tmp/multipartBody6456825401348266125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131373014,"filename":"image_21022025_10_08_45_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df30f55cda9cce0c7f397a0ae95047cc.jpg","text":"TemporaryFile(/tmp/multipartBody7876289493570104152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131373014,"filename":"image_21022025_10_09_24_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338794200","file1":"1338794194","file0":"1338794184","file4":"1338794522","file5":"1338794530","file3":"1338794332"},"map_files_photo_id_array":[{"photo_id":"1338794530","filename":"file5"},{"photo_id":"1338794200","filename":"file2"},{"photo_id":"1338794522","filename":"file4"},{"photo_id":"1338794194","filename":"file1"},{"photo_id":"1338794184","filename":"file0"},{"photo_id":"1338794332","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338794194":["hashtag1","hashtag2"]},{"1338794530":["hashtag1","hashtag2"]},{"1338794332":["hashtag1","hashtag2"]},{"1338794200":["hashtag1","hashtag2"]},{"1338794184":["hashtag1","hashtag2"]},{"1338794522":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338794194, 1338794530, 1338794332, 1338794200, 1338794184, 1338794522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.768643379211426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:49:32.980299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/09/image_21022025_10_09_44_9330.jpg', '/home/pi/Desktop/images/21022025/10/09/image_21022025_10_09_54_10343.jpg', '/home/pi/Desktop/images/21022025/10/09/image_21022025_10_10_05_10441.jpg', '/home/pi/Desktop/images/21022025/10/10/image_21022025_10_10_14_9310.jpg', '/home/pi/Desktop/images/21022025/10/10/image_21022025_10_10_24_10338.jpg', '/home/pi/Desktop/images/21022025/10/10/image_21022025_10_10_35_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/09/image_21022025_10_09_44_9330.jpg
/home/pi/Desktop/images/21022025/10/09/image_21022025_10_09_54_10343.jpg
/home/pi/Desktop/images/21022025/10/09/image_21022025_10_10_05_10441.jpg
/home/pi/Desktop/images/21022025/10/10/image_21022025_10_10_14_9310.jpg
/home/pi/Desktop/images/21022025/10/10/image_21022025_10_10_24_10338.jpg
/home/pi/Desktop/images/21022025/10/10/image_21022025_10_10_35_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338794575","1338794577","1338794571","1338794579","1338794573","1338794567"],"photo_ids_order":["1338794567","1338794571","1338794573","1338794575","1338794577","1338794579"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/00b4c2dcdf2b5e188a3d2baac2634aad.jpg","text":"TemporaryFile(/tmp/multipartBody7731461203372113008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131433457,"filename":"image_21022025_10_10_14_9310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c67d3b289d8b8b077a68d14383653538.jpg","text":"TemporaryFile(/tmp/multipartBody4433138438481521932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131433457,"filename":"image_21022025_10_10_24_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cc9e4cca640b907ce24a3c868d5b18d8.jpg","text":"TemporaryFile(/tmp/multipartBody2267030382538351104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131433457,"filename":"image_21022025_10_09_54_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6d5703ab2fd346b62f941b278d55e155.jpg","text":"TemporaryFile(/tmp/multipartBody1524430588745015094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131433457,"filename":"image_21022025_10_10_35_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d46db3d1c6cea0189643877d209720ed.jpg","text":"TemporaryFile(/tmp/multipartBody9178276708504018907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131433457,"filename":"image_21022025_10_10_05_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f90ecef33eabe66446a801815e92517.jpg","text":"TemporaryFile(/tmp/multipartBody5140270553801037597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131433457,"filename":"image_21022025_10_09_44_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338794573","file1":"1338794571","file0":"1338794567","file4":"1338794577","file5":"1338794579","file3":"1338794575"},"map_files_photo_id_array":[{"photo_id":"1338794579","filename":"file5"},{"photo_id":"1338794573","filename":"file2"},{"photo_id":"1338794577","filename":"file4"},{"photo_id":"1338794571","filename":"file1"},{"photo_id":"1338794567","filename":"file0"},{"photo_id":"1338794575","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338794575":["hashtag1","hashtag2"]},{"1338794577":["hashtag1","hashtag2"]},{"1338794571":["hashtag1","hashtag2"]},{"1338794579":["hashtag1","hashtag2"]},{"1338794573":["hashtag1","hashtag2"]},{"1338794567":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338794575, 1338794577, 1338794571, 1338794579, 1338794573, 1338794567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.644373416900635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:50:33.045242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/10/image_21022025_10_10_44_9339.jpg', '/home/pi/Desktop/images/21022025/10/10/image_21022025_10_10_55_10460.jpg', '/home/pi/Desktop/images/21022025/10/10/image_21022025_10_11_04_9414.jpg', '/home/pi/Desktop/images/21022025/10/11/image_21022025_10_11_14_10324.jpg', '/home/pi/Desktop/images/21022025/10/11/image_21022025_10_11_25_10401.jpg', '/home/pi/Desktop/images/21022025/10/11/image_21022025_10_11_34_9299.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/10/image_21022025_10_10_44_9339.jpg
/home/pi/Desktop/images/21022025/10/10/image_21022025_10_10_55_10460.jpg
/home/pi/Desktop/images/21022025/10/10/image_21022025_10_11_04_9414.jpg
/home/pi/Desktop/images/21022025/10/11/image_21022025_10_11_14_10324.jpg
/home/pi/Desktop/images/21022025/10/11/image_21022025_10_11_25_10401.jpg
/home/pi/Desktop/images/21022025/10/11/image_21022025_10_11_34_9299.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338794614","1338794623","1338794619","1338794616","1338794621","1338794624"],"photo_ids_order":["1338794614","1338794616","1338794619","1338794621","1338794623","1338794624"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ee9aed08764f17860a2d1a1cba800754.jpg","text":"TemporaryFile(/tmp/multipartBody1600391968160831589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131493518,"filename":"image_21022025_10_10_44_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dfda30e4b46df3d8d19a8d4134573e72.jpg","text":"TemporaryFile(/tmp/multipartBody295955632168099731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131493518,"filename":"image_21022025_10_11_25_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f22226873f9606de6183c8ad1d493ad.jpg","text":"TemporaryFile(/tmp/multipartBody1127265137397409845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131493518,"filename":"image_21022025_10_11_04_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e915a7a2053d6b859b246361dde9906e.jpg","text":"TemporaryFile(/tmp/multipartBody3813393314357225412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131493518,"filename":"image_21022025_10_10_55_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/40b565f6211fc997712b5e1760d0ca1a.jpg","text":"TemporaryFile(/tmp/multipartBody113188355316764859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131493518,"filename":"image_21022025_10_11_14_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d7c42877ee02dd6a074cc718fbca195f.jpg","text":"TemporaryFile(/tmp/multipartBody8397054052095815917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131493518,"filename":"image_21022025_10_11_34_9299.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338794619","file1":"1338794616","file0":"1338794614","file4":"1338794623","file5":"1338794624","file3":"1338794621"},"map_files_photo_id_array":[{"photo_id":"1338794624","filename":"file5"},{"photo_id":"1338794619","filename":"file2"},{"photo_id":"1338794623","filename":"file4"},{"photo_id":"1338794616","filename":"file1"},{"photo_id":"1338794614","filename":"file0"},{"photo_id":"1338794621","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338794614":["hashtag1","hashtag2"]},{"1338794623":["hashtag1","hashtag2"]},{"1338794619":["hashtag1","hashtag2"]},{"1338794616":["hashtag1","hashtag2"]},{"1338794621":["hashtag1","hashtag2"]},{"1338794624":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338794614, 1338794623, 1338794619, 1338794616, 1338794621, 1338794624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.992414236068726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:51:33.984903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/11/image_21022025_10_11_44_10311.jpg', '/home/pi/Desktop/images/21022025/10/11/image_21022025_10_11_55_10356.jpg', '/home/pi/Desktop/images/21022025/10/11/image_21022025_10_12_04_9313.jpg', '/home/pi/Desktop/images/21022025/10/12/image_21022025_10_12_14_10409.jpg', '/home/pi/Desktop/images/21022025/10/12/image_21022025_10_12_25_10434.jpg', '/home/pi/Desktop/images/21022025/10/12/image_21022025_10_12_34_9312.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/11/image_21022025_10_11_44_10311.jpg
/home/pi/Desktop/images/21022025/10/11/image_21022025_10_11_55_10356.jpg
/home/pi/Desktop/images/21022025/10/11/image_21022025_10_12_04_9313.jpg
/home/pi/Desktop/images/21022025/10/12/image_21022025_10_12_14_10409.jpg
/home/pi/Desktop/images/21022025/10/12/image_21022025_10_12_25_10434.jpg
/home/pi/Desktop/images/21022025/10/12/image_21022025_10_12_34_9312.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338794708","1338794697","1338794703","1338794666","1338794681","1338794689"],"photo_ids_order":["1338794666","1338794681","1338794689","1338794697","1338794703","1338794708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/43ee681956c45ca413dd2e8b74254f4a.jpg","text":"TemporaryFile(/tmp/multipartBody328131898176924330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131554456,"filename":"image_21022025_10_12_34_9312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2e5fa6d65c605d5543668de036066e5e.jpg","text":"TemporaryFile(/tmp/multipartBody6533313045834565034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131554456,"filename":"image_21022025_10_12_14_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4e9a58d199ad200e8627dc1712a59982.jpg","text":"TemporaryFile(/tmp/multipartBody159873152831640542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131554456,"filename":"image_21022025_10_12_25_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ff24e083e377537894788b48dccf3c0.jpg","text":"TemporaryFile(/tmp/multipartBody4786885584577094459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131554456,"filename":"image_21022025_10_11_44_10311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/354c2e71bc56df063aa2ced9856ce9b7.jpg","text":"TemporaryFile(/tmp/multipartBody7403976463132949189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131554456,"filename":"image_21022025_10_11_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c19c7ab93f168a06ad5ae29ca97a761.jpg","text":"TemporaryFile(/tmp/multipartBody9174262762853526228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131554456,"filename":"image_21022025_10_12_04_9313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338794689","file1":"1338794681","file0":"1338794666","file4":"1338794703","file5":"1338794708","file3":"1338794697"},"map_files_photo_id_array":[{"photo_id":"1338794708","filename":"file5"},{"photo_id":"1338794689","filename":"file2"},{"photo_id":"1338794703","filename":"file4"},{"photo_id":"1338794681","filename":"file1"},{"photo_id":"1338794666","filename":"file0"},{"photo_id":"1338794697","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338794708":["hashtag1","hashtag2"]},{"1338794697":["hashtag1","hashtag2"]},{"1338794703":["hashtag1","hashtag2"]},{"1338794666":["hashtag1","hashtag2"]},{"1338794681":["hashtag1","hashtag2"]},{"1338794689":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338794708, 1338794697, 1338794703, 1338794666, 1338794681, 1338794689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.934526681900024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:52:32.577224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/12/image_21022025_10_12_45_10437.jpg', '/home/pi/Desktop/images/21022025/10/12/image_21022025_10_12_54_9398.jpg', '/home/pi/Desktop/images/21022025/10/12/image_21022025_10_13_04_10316.jpg', '/home/pi/Desktop/images/21022025/10/13/image_21022025_10_13_15_10352.jpg', '/home/pi/Desktop/images/21022025/10/13/image_21022025_10_13_24_9361.jpg', '/home/pi/Desktop/images/21022025/10/13/image_21022025_10_13_34_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/12/image_21022025_10_12_45_10437.jpg
/home/pi/Desktop/images/21022025/10/12/image_21022025_10_12_54_9398.jpg
/home/pi/Desktop/images/21022025/10/12/image_21022025_10_13_04_10316.jpg
/home/pi/Desktop/images/21022025/10/13/image_21022025_10_13_15_10352.jpg
/home/pi/Desktop/images/21022025/10/13/image_21022025_10_13_24_9361.jpg
/home/pi/Desktop/images/21022025/10/13/image_21022025_10_13_34_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338794731","1338794725","1338794734","1338794728","1338794722","1338794736"],"photo_ids_order":["1338794722","1338794725","1338794728","1338794731","1338794734","1338794736"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8154b3229b59a3576ccbefdbd14235ea.jpg","text":"TemporaryFile(/tmp/multipartBody6909377981291513582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131613056,"filename":"image_21022025_10_13_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d2bd18875159ccbd6ef204caa7cb8d04.jpg","text":"TemporaryFile(/tmp/multipartBody248385792748534960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131613056,"filename":"image_21022025_10_12_54_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f47b265c541bd75f2622006cff857c80.jpg","text":"TemporaryFile(/tmp/multipartBody2363113344621043687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131613056,"filename":"image_21022025_10_13_24_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e80b1e873de0345dec08d84aaee66bf.jpg","text":"TemporaryFile(/tmp/multipartBody7241177263223634396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131613056,"filename":"image_21022025_10_13_04_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bc060cea46ebee3a433bc69f53e6ece5.jpg","text":"TemporaryFile(/tmp/multipartBody3131678129570556057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131613056,"filename":"image_21022025_10_12_45_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1249efca564eaa79da0b5b61df6e86bf.jpg","text":"TemporaryFile(/tmp/multipartBody324078266969472674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131613056,"filename":"image_21022025_10_13_34_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338794728","file1":"1338794725","file0":"1338794722","file4":"1338794734","file5":"1338794736","file3":"1338794731"},"map_files_photo_id_array":[{"photo_id":"1338794736","filename":"file5"},{"photo_id":"1338794728","filename":"file2"},{"photo_id":"1338794734","filename":"file4"},{"photo_id":"1338794725","filename":"file1"},{"photo_id":"1338794722","filename":"file0"},{"photo_id":"1338794731","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338794731":["hashtag1","hashtag2"]},{"1338794725":["hashtag1","hashtag2"]},{"1338794734":["hashtag1","hashtag2"]},{"1338794728":["hashtag1","hashtag2"]},{"1338794722":["hashtag1","hashtag2"]},{"1338794736":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338794731, 1338794725, 1338794734, 1338794728, 1338794722, 1338794736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.18755078315735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:53:32.742865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/13/image_21022025_10_13_45_10327.jpg', '/home/pi/Desktop/images/21022025/10/13/image_21022025_10_13_54_9339.jpg', '/home/pi/Desktop/images/21022025/10/13/image_21022025_10_14_04_10351.jpg', '/home/pi/Desktop/images/21022025/10/14/image_21022025_10_14_15_10406.jpg', '/home/pi/Desktop/images/21022025/10/14/image_21022025_10_14_35_10499.jpg', '/home/pi/Desktop/images/21022025/10/14/image_21022025_10_14_44_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/13/image_21022025_10_13_45_10327.jpg
/home/pi/Desktop/images/21022025/10/13/image_21022025_10_13_54_9339.jpg
/home/pi/Desktop/images/21022025/10/13/image_21022025_10_14_04_10351.jpg
/home/pi/Desktop/images/21022025/10/14/image_21022025_10_14_15_10406.jpg
/home/pi/Desktop/images/21022025/10/14/image_21022025_10_14_35_10499.jpg
/home/pi/Desktop/images/21022025/10/14/image_21022025_10_14_44_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338794782","1338794779","1338794770","1338794784","1338794777","1338794774"],"photo_ids_order":["1338794770","1338794774","1338794777","1338794779","1338794782","1338794784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f6e62243fd8fc0cc1daf1d91de4dd0fa.jpg","text":"TemporaryFile(/tmp/multipartBody1642161062793856226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131673214,"filename":"image_21022025_10_14_35_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0bdee00037fbf34a57ab37bf6b523a10.jpg","text":"TemporaryFile(/tmp/multipartBody7285708578980572582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131673214,"filename":"image_21022025_10_14_15_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ee3e15b7cfdab2a045f4623ab1272147.jpg","text":"TemporaryFile(/tmp/multipartBody4381439145117946993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131673214,"filename":"image_21022025_10_13_45_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dc9cc1e1beb7053d8142ee803bbb7d6e.jpg","text":"TemporaryFile(/tmp/multipartBody2323990042006618902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131673214,"filename":"image_21022025_10_14_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81ef00805dcecac65b949b33dd2a9a29.jpg","text":"TemporaryFile(/tmp/multipartBody2265373070216400700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131673214,"filename":"image_21022025_10_14_04_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4cc54346c0fe6591c2a17341eec1512b.jpg","text":"TemporaryFile(/tmp/multipartBody8436751983689383431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131673214,"filename":"image_21022025_10_13_54_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338794777","file1":"1338794774","file0":"1338794770","file4":"1338794782","file5":"1338794784","file3":"1338794779"},"map_files_photo_id_array":[{"photo_id":"1338794784","filename":"file5"},{"photo_id":"1338794777","filename":"file2"},{"photo_id":"1338794782","filename":"file4"},{"photo_id":"1338794774","filename":"file1"},{"photo_id":"1338794770","filename":"file0"},{"photo_id":"1338794779","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338794782":["hashtag1","hashtag2"]},{"1338794779":["hashtag1","hashtag2"]},{"1338794770":["hashtag1","hashtag2"]},{"1338794784":["hashtag1","hashtag2"]},{"1338794777":["hashtag1","hashtag2"]},{"1338794774":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338794782, 1338794779, 1338794770, 1338794784, 1338794777, 1338794774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.870108127593994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:54:32.972816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/14/image_21022025_10_15_05_10370.jpg', '/home/pi/Desktop/images/21022025/10/15/image_21022025_10_15_25_10494.jpg', '/home/pi/Desktop/images/21022025/10/15/image_21022025_10_15_34_9353.jpg', '/home/pi/Desktop/images/21022025/10/15/image_21022025_10_15_44_10334.jpg', '/home/pi/Desktop/images/21022025/10/15/image_21022025_10_15_55_10331.jpg', '/home/pi/Desktop/images/21022025/10/15/image_21022025_10_16_04_9322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/14/image_21022025_10_15_05_10370.jpg
/home/pi/Desktop/images/21022025/10/15/image_21022025_10_15_25_10494.jpg
/home/pi/Desktop/images/21022025/10/15/image_21022025_10_15_34_9353.jpg
/home/pi/Desktop/images/21022025/10/15/image_21022025_10_15_44_10334.jpg
/home/pi/Desktop/images/21022025/10/15/image_21022025_10_15_55_10331.jpg
/home/pi/Desktop/images/21022025/10/15/image_21022025_10_16_04_9322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338794815","1338794820","1338794823","1338794817","1338794834","1338794813"],"photo_ids_order":["1338794813","1338794815","1338794817","1338794820","1338794823","1338794834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f345fe09390c5b3028d09681ecac37e.jpg","text":"TemporaryFile(/tmp/multipartBody2531554677592769441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131733449,"filename":"image_21022025_10_15_25_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ea35c714e3df52f55cfd37d0a0b30119.jpg","text":"TemporaryFile(/tmp/multipartBody4191184253229909493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131733449,"filename":"image_21022025_10_15_44_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2c0601c534f6dd9768bcf5c0f4e4607c.jpg","text":"TemporaryFile(/tmp/multipartBody5320405322814894531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131733449,"filename":"image_21022025_10_15_55_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/01a97b695a5ec67b43ddeafeb3038ae9.jpg","text":"TemporaryFile(/tmp/multipartBody3113233549224617253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131733449,"filename":"image_21022025_10_15_34_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/67e30db0e5bac2fe49f2705501bbdd93.jpg","text":"TemporaryFile(/tmp/multipartBody2805968346178960104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131733449,"filename":"image_21022025_10_16_04_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9949447075a53ab98671e7110790ff5e.jpg","text":"TemporaryFile(/tmp/multipartBody6371608216661434880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131733449,"filename":"image_21022025_10_15_05_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338794817","file1":"1338794815","file0":"1338794813","file4":"1338794823","file5":"1338794834","file3":"1338794820"},"map_files_photo_id_array":[{"photo_id":"1338794834","filename":"file5"},{"photo_id":"1338794817","filename":"file2"},{"photo_id":"1338794823","filename":"file4"},{"photo_id":"1338794815","filename":"file1"},{"photo_id":"1338794813","filename":"file0"},{"photo_id":"1338794820","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338794815":["hashtag1","hashtag2"]},{"1338794820":["hashtag1","hashtag2"]},{"1338794823":["hashtag1","hashtag2"]},{"1338794817":["hashtag1","hashtag2"]},{"1338794834":["hashtag1","hashtag2"]},{"1338794813":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338794815, 1338794820, 1338794823, 1338794817, 1338794834, 1338794813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27036499977112 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:55:32.230845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/16/image_21022025_10_16_14_10325.jpg', '/home/pi/Desktop/images/21022025/10/16/image_21022025_10_16_25_10418.jpg', '/home/pi/Desktop/images/21022025/10/16/image_21022025_10_16_34_9322.jpg', '/home/pi/Desktop/images/21022025/10/16/image_21022025_10_16_54_9411.jpg', '/home/pi/Desktop/images/21022025/10/16/image_21022025_10_17_04_10330.jpg', '/home/pi/Desktop/images/21022025/10/17/image_21022025_10_17_24_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/16/image_21022025_10_16_14_10325.jpg
/home/pi/Desktop/images/21022025/10/16/image_21022025_10_16_25_10418.jpg
/home/pi/Desktop/images/21022025/10/16/image_21022025_10_16_34_9322.jpg
/home/pi/Desktop/images/21022025/10/16/image_21022025_10_16_54_9411.jpg
/home/pi/Desktop/images/21022025/10/16/image_21022025_10_17_04_10330.jpg
/home/pi/Desktop/images/21022025/10/17/image_21022025_10_17_24_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338794863","1338794868","1338794891","1338794870","1338794858","1338794873"],"photo_ids_order":["1338794858","1338794863","1338794868","1338794870","1338794873","1338794891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/242363b89929fd7119796bfff586430c.jpg","text":"TemporaryFile(/tmp/multipartBody8450300348925015759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131792690,"filename":"image_21022025_10_16_25_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/49435fdc84e0696337c6056e5f8fed4d.jpg","text":"TemporaryFile(/tmp/multipartBody3601851131272297622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131792690,"filename":"image_21022025_10_16_34_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c3f2608b56befdacbf57f63f7bdf2b03.jpg","text":"TemporaryFile(/tmp/multipartBody4018699736596058351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131792690,"filename":"image_21022025_10_17_24_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a34b3a928c049cb59e95c967ac20bdb1.jpg","text":"TemporaryFile(/tmp/multipartBody3953219179325203586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131792690,"filename":"image_21022025_10_16_54_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/093ad6f85c1dfd298ede0d9186c77a88.jpg","text":"TemporaryFile(/tmp/multipartBody5493705125991267538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131792690,"filename":"image_21022025_10_16_14_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/40d004f61154d310e075ba00c98c624f.jpg","text":"TemporaryFile(/tmp/multipartBody6769467684350953490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131792690,"filename":"image_21022025_10_17_04_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338794868","file1":"1338794863","file0":"1338794858","file4":"1338794873","file5":"1338794891","file3":"1338794870"},"map_files_photo_id_array":[{"photo_id":"1338794891","filename":"file5"},{"photo_id":"1338794868","filename":"file2"},{"photo_id":"1338794873","filename":"file4"},{"photo_id":"1338794863","filename":"file1"},{"photo_id":"1338794858","filename":"file0"},{"photo_id":"1338794870","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338794863":["hashtag1","hashtag2"]},{"1338794868":["hashtag1","hashtag2"]},{"1338794891":["hashtag1","hashtag2"]},{"1338794870":["hashtag1","hashtag2"]},{"1338794858":["hashtag1","hashtag2"]},{"1338794873":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338794863, 1338794868, 1338794891, 1338794870, 1338794858, 1338794873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.73334503173828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:56:32.538023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/17/image_21022025_10_17_34_10339.jpg', '/home/pi/Desktop/images/21022025/10/17/image_21022025_10_17_54_9329.jpg', '/home/pi/Desktop/images/21022025/10/18/image_21022025_10_18_15_10431.jpg', '/home/pi/Desktop/images/21022025/10/18/image_21022025_10_18_34_10323.jpg', '/home/pi/Desktop/images/21022025/10/18/image_21022025_10_18_45_10403.jpg', '/home/pi/Desktop/images/21022025/10/18/image_21022025_10_18_54_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/17/image_21022025_10_17_34_10339.jpg
/home/pi/Desktop/images/21022025/10/17/image_21022025_10_17_54_9329.jpg
/home/pi/Desktop/images/21022025/10/18/image_21022025_10_18_15_10431.jpg
/home/pi/Desktop/images/21022025/10/18/image_21022025_10_18_34_10323.jpg
/home/pi/Desktop/images/21022025/10/18/image_21022025_10_18_45_10403.jpg
/home/pi/Desktop/images/21022025/10/18/image_21022025_10_18_54_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338794950","1338794964","1338794967","1338794958","1338794969","1338794960"],"photo_ids_order":["1338794950","1338794958","1338794960","1338794964","1338794967","1338794969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/712f76df115a183a910df834278de8ad.jpg","text":"TemporaryFile(/tmp/multipartBody6000677533765255123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131853010,"filename":"image_21022025_10_17_34_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/56fb4addd9a5ef35708f8185273cdf5c.jpg","text":"TemporaryFile(/tmp/multipartBody1807974404165731563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131853010,"filename":"image_21022025_10_18_34_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6dda497f34c0f4397403c712ccb51f2b.jpg","text":"TemporaryFile(/tmp/multipartBody7352996288415422722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131853010,"filename":"image_21022025_10_18_45_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/792174373890fb56654fbb85955a40c7.jpg","text":"TemporaryFile(/tmp/multipartBody8523508786150456265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131853010,"filename":"image_21022025_10_17_54_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e73ec23540d9b3f86051919320ed7a57.jpg","text":"TemporaryFile(/tmp/multipartBody2703178905327418577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131853010,"filename":"image_21022025_10_18_54_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d9fbf33f622b0d4997601bac3c5d2c9.jpg","text":"TemporaryFile(/tmp/multipartBody2198178956903264473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740131853010,"filename":"image_21022025_10_18_15_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338794960","file1":"1338794958","file0":"1338794950","file4":"1338794967","file5":"1338794969","file3":"1338794964"},"map_files_photo_id_array":[{"photo_id":"1338794969","filename":"file5"},{"photo_id":"1338794960","filename":"file2"},{"photo_id":"1338794967","filename":"file4"},{"photo_id":"1338794958","filename":"file1"},{"photo_id":"1338794950","filename":"file0"},{"photo_id":"1338794964","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338794950":["hashtag1","hashtag2"]},{"1338794964":["hashtag1","hashtag2"]},{"1338794967":["hashtag1","hashtag2"]},{"1338794958":["hashtag1","hashtag2"]},{"1338794969":["hashtag1","hashtag2"]},{"1338794960":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338794950, 1338794964, 1338794967, 1338794958, 1338794969, 1338794960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.38829278945923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:57:32.634839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/18/image_21022025_10_19_05_10390.jpg', '/home/pi/Desktop/images/21022025/10/19/image_21022025_10_19_14_9375.jpg', '/home/pi/Desktop/images/21022025/10/19/image_21022025_10_19_24_10415.jpg', '/home/pi/Desktop/images/21022025/10/19/image_21022025_10_19_35_10331.jpg', '/home/pi/Desktop/images/21022025/10/19/image_21022025_10_20_05_10327.jpg', '/home/pi/Desktop/images/21022025/10/20/image_21022025_10_20_24_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/18/image_21022025_10_19_05_10390.jpg
/home/pi/Desktop/images/21022025/10/19/image_21022025_10_19_14_9375.jpg
/home/pi/Desktop/images/21022025/10/19/image_21022025_10_19_24_10415.jpg
/home/pi/Desktop/images/21022025/10/19/image_21022025_10_19_35_10331.jpg
/home/pi/Desktop/images/21022025/10/19/image_21022025_10_20_05_10327.jpg
/home/pi/Desktop/images/21022025/10/20/image_21022025_10_20_24_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 10:59:03.997215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/18/image_21022025_10_19_05_10390.jpg', '/home/pi/Desktop/images/21022025/10/19/image_21022025_10_19_14_9375.jpg', '/home/pi/Desktop/images/21022025/10/19/image_21022025_10_19_24_10415.jpg', '/home/pi/Desktop/images/21022025/10/19/image_21022025_10_19_35_10331.jpg', '/home/pi/Desktop/images/21022025/10/19/image_21022025_10_20_05_10327.jpg', '/home/pi/Desktop/images/21022025/10/20/image_21022025_10_20_24_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/18/image_21022025_10_19_05_10390.jpg
/home/pi/Desktop/images/21022025/10/19/image_21022025_10_19_14_9375.jpg
/home/pi/Desktop/images/21022025/10/19/image_21022025_10_19_24_10415.jpg
/home/pi/Desktop/images/21022025/10/19/image_21022025_10_19_35_10331.jpg
/home/pi/Desktop/images/21022025/10/19/image_21022025_10_20_05_10327.jpg
/home/pi/Desktop/images/21022025/10/20/image_21022025_10_20_24_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338795142","1338795130","1338795165","1338795150","1338795173","1338795158"],"photo_ids_order":["1338795130","1338795142","1338795150","1338795158","1338795165","1338795173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d88a90e3ca8522a3f82cde09131c016c.jpg","text":"TemporaryFile(/tmp/multipartBody3506690940464288981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132004737,"filename":"image_21022025_10_19_14_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a83ea9888f9ed9cbd5d16280adddf518.jpg","text":"TemporaryFile(/tmp/multipartBody284245077987565861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132004737,"filename":"image_21022025_10_19_05_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4f45bc3a8837546163ebe43abd53845.jpg","text":"TemporaryFile(/tmp/multipartBody7380230918499227857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132004737,"filename":"image_21022025_10_20_05_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/70a4c5716b7916e702bd0f3e5762200b.jpg","text":"TemporaryFile(/tmp/multipartBody7657922657622428081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132004737,"filename":"image_21022025_10_19_24_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/25490a34f430f0b596166f92b831a554.jpg","text":"TemporaryFile(/tmp/multipartBody940719351100586987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132004737,"filename":"image_21022025_10_20_24_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b733f3a567583b23328b7085b77b1ce4.jpg","text":"TemporaryFile(/tmp/multipartBody6133260131529489492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132004737,"filename":"image_21022025_10_19_35_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338795150","file1":"1338795142","file0":"1338795130","file4":"1338795165","file5":"1338795173","file3":"1338795158"},"map_files_photo_id_array":[{"photo_id":"1338795173","filename":"file5"},{"photo_id":"1338795150","filename":"file2"},{"photo_id":"1338795165","filename":"file4"},{"photo_id":"1338795142","filename":"file1"},{"photo_id":"1338795130","filename":"file0"},{"photo_id":"1338795158","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338795142":["hashtag1","hashtag2"]},{"1338795130":["hashtag1","hashtag2"]},{"1338795165":["hashtag1","hashtag2"]},{"1338795150":["hashtag1","hashtag2"]},{"1338795173":["hashtag1","hashtag2"]},{"1338795158":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338795142, 1338795130, 1338795165, 1338795150, 1338795173, 1338795158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.885266065597534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 10:59:52.551580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/20/image_21022025_10_20_44_9428.jpg', '/home/pi/Desktop/images/21022025/10/20/image_21022025_10_20_55_10525.jpg', '/home/pi/Desktop/images/21022025/10/20/image_21022025_10_21_04_9309.jpg', '/home/pi/Desktop/images/21022025/10/21/image_21022025_10_21_14_10313.jpg', '/home/pi/Desktop/images/21022025/10/21/image_21022025_10_21_25_10455.jpg', '/home/pi/Desktop/images/21022025/10/21/image_21022025_10_22_04_9392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/20/image_21022025_10_20_44_9428.jpg
/home/pi/Desktop/images/21022025/10/20/image_21022025_10_20_55_10525.jpg
/home/pi/Desktop/images/21022025/10/20/image_21022025_10_21_04_9309.jpg
/home/pi/Desktop/images/21022025/10/21/image_21022025_10_21_14_10313.jpg
/home/pi/Desktop/images/21022025/10/21/image_21022025_10_21_25_10455.jpg
/home/pi/Desktop/images/21022025/10/21/image_21022025_10_22_04_9392.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338795427","1338795492","1338795354","1338795192","1338795265","1338795559"],"photo_ids_order":["1338795192","1338795265","1338795354","1338795427","1338795492","1338795559"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/35573759e064d3f8f3a6f3cc53bc359f.jpg","text":"TemporaryFile(/tmp/multipartBody4770394351068226209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132053157,"filename":"image_21022025_10_21_14_10313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c524dce5ed1a2c6c597fd5e3217d6622.jpg","text":"TemporaryFile(/tmp/multipartBody6719176625862661180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132053157,"filename":"image_21022025_10_21_25_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0c03ba0c21e461c01786f054f7b163f0.jpg","text":"TemporaryFile(/tmp/multipartBody2222125709648253051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132053157,"filename":"image_21022025_10_21_04_9309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e31739f5d0535d18c092cf2c7b94edef.jpg","text":"TemporaryFile(/tmp/multipartBody2810109886325022087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132053157,"filename":"image_21022025_10_20_44_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e488a46907136d2b0ca4e07b024d5f95.jpg","text":"TemporaryFile(/tmp/multipartBody6349888070602041558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132053157,"filename":"image_21022025_10_20_55_10525.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a2c35963c0dfd66dcfc6755bf40024d.jpg","text":"TemporaryFile(/tmp/multipartBody628474666737503853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132053157,"filename":"image_21022025_10_22_04_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338795354","file1":"1338795265","file0":"1338795192","file4":"1338795492","file5":"1338795559","file3":"1338795427"},"map_files_photo_id_array":[{"photo_id":"1338795559","filename":"file5"},{"photo_id":"1338795354","filename":"file2"},{"photo_id":"1338795492","filename":"file4"},{"photo_id":"1338795265","filename":"file1"},{"photo_id":"1338795192","filename":"file0"},{"photo_id":"1338795427","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338795427":["hashtag1","hashtag2"]},{"1338795492":["hashtag1","hashtag2"]},{"1338795354":["hashtag1","hashtag2"]},{"1338795192":["hashtag1","hashtag2"]},{"1338795265":["hashtag1","hashtag2"]},{"1338795559":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338795427, 1338795492, 1338795354, 1338795192, 1338795265, 1338795559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.781363010406494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:00:32.794851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/22/image_21022025_10_22_15_10422.jpg', '/home/pi/Desktop/images/21022025/10/22/image_21022025_10_22_24_9330.jpg', '/home/pi/Desktop/images/21022025/10/22/image_21022025_10_22_34_10364.jpg', '/home/pi/Desktop/images/21022025/10/22/image_21022025_10_22_45_10337.jpg', '/home/pi/Desktop/images/21022025/10/22/image_21022025_10_22_54_9342.jpg', '/home/pi/Desktop/images/21022025/10/22/image_21022025_10_23_04_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/22/image_21022025_10_22_15_10422.jpg
/home/pi/Desktop/images/21022025/10/22/image_21022025_10_22_24_9330.jpg
/home/pi/Desktop/images/21022025/10/22/image_21022025_10_22_34_10364.jpg
/home/pi/Desktop/images/21022025/10/22/image_21022025_10_22_45_10337.jpg
/home/pi/Desktop/images/21022025/10/22/image_21022025_10_22_54_9342.jpg
/home/pi/Desktop/images/21022025/10/22/image_21022025_10_23_04_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338796236","1338796308","1338796151","1338796058","1338795980","1338795902"],"photo_ids_order":["1338795902","1338795980","1338796058","1338796151","1338796236","1338796308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a92cb723df93942c0aa544f0ae6bdbe3.jpg","text":"TemporaryFile(/tmp/multipartBody7863871053892546375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132093273,"filename":"image_21022025_10_22_54_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b18a8b6a323626d3fb032aba34f89fbc.jpg","text":"TemporaryFile(/tmp/multipartBody4801878093056199733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132093273,"filename":"image_21022025_10_23_04_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e3b15281e797aef511b1320c6ec400a.jpg","text":"TemporaryFile(/tmp/multipartBody2838093511153497581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132093273,"filename":"image_21022025_10_22_45_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d0e56fbc68220b5b6b4c298213923b06.jpg","text":"TemporaryFile(/tmp/multipartBody2527755484277200086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132093273,"filename":"image_21022025_10_22_34_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32b674e9a7c19dc22213a9883f2d7814.jpg","text":"TemporaryFile(/tmp/multipartBody5903384008616085195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132093273,"filename":"image_21022025_10_22_24_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7b20c6547e3f5d7c01c385061a1540ed.jpg","text":"TemporaryFile(/tmp/multipartBody1197625264405241078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132093273,"filename":"image_21022025_10_22_15_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338796058","file1":"1338795980","file0":"1338795902","file4":"1338796236","file5":"1338796308","file3":"1338796151"},"map_files_photo_id_array":[{"photo_id":"1338796308","filename":"file5"},{"photo_id":"1338796058","filename":"file2"},{"photo_id":"1338796236","filename":"file4"},{"photo_id":"1338795980","filename":"file1"},{"photo_id":"1338795902","filename":"file0"},{"photo_id":"1338796151","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338796236":["hashtag1","hashtag2"]},{"1338796308":["hashtag1","hashtag2"]},{"1338796151":["hashtag1","hashtag2"]},{"1338796058":["hashtag1","hashtag2"]},{"1338795980":["hashtag1","hashtag2"]},{"1338795902":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338796236, 1338796308, 1338796151, 1338796058, 1338795980, 1338795902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.338123321533203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:01:32.956094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/23/image_21022025_10_23_15_10419.jpg', '/home/pi/Desktop/images/21022025/10/23/image_21022025_10_23_24_9363.jpg', '/home/pi/Desktop/images/21022025/10/23/image_21022025_10_23_34_10331.jpg', '/home/pi/Desktop/images/21022025/10/23/image_21022025_10_23_44_9402.jpg', '/home/pi/Desktop/images/21022025/10/23/image_21022025_10_23_54_10381.jpg', '/home/pi/Desktop/images/21022025/10/23/image_21022025_10_24_05_10480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/23/image_21022025_10_23_15_10419.jpg
/home/pi/Desktop/images/21022025/10/23/image_21022025_10_23_24_9363.jpg
/home/pi/Desktop/images/21022025/10/23/image_21022025_10_23_34_10331.jpg
/home/pi/Desktop/images/21022025/10/23/image_21022025_10_23_44_9402.jpg
/home/pi/Desktop/images/21022025/10/23/image_21022025_10_23_54_10381.jpg
/home/pi/Desktop/images/21022025/10/23/image_21022025_10_24_05_10480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338796386","1338796389","1338796380","1338796375","1338796339","1338796383"],"photo_ids_order":["1338796339","1338796375","1338796380","1338796383","1338796386","1338796389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c74e34c214833c70a585f1b4b61f50f6.jpg","text":"TemporaryFile(/tmp/multipartBody2664510068544657686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132153429,"filename":"image_21022025_10_23_54_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59462d76e48efd8b4471a2fc7291b9ff.jpg","text":"TemporaryFile(/tmp/multipartBody3851934300934729308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132153429,"filename":"image_21022025_10_24_05_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ba513d1a23f208f4c8192240faa281f.jpg","text":"TemporaryFile(/tmp/multipartBody8151271784724342824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132153429,"filename":"image_21022025_10_23_34_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59bd351dad8e861bf53d034703513239.jpg","text":"TemporaryFile(/tmp/multipartBody2797501480124772922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132153429,"filename":"image_21022025_10_23_24_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c63888e94d53bf4be501ed45ea946ec7.jpg","text":"TemporaryFile(/tmp/multipartBody3647411034002613453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132153429,"filename":"image_21022025_10_23_15_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa19f6198cdb051433461e5f5499a230.jpg","text":"TemporaryFile(/tmp/multipartBody8792893600463222920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132153429,"filename":"image_21022025_10_23_44_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338796380","file1":"1338796375","file0":"1338796339","file4":"1338796386","file5":"1338796389","file3":"1338796383"},"map_files_photo_id_array":[{"photo_id":"1338796389","filename":"file5"},{"photo_id":"1338796380","filename":"file2"},{"photo_id":"1338796386","filename":"file4"},{"photo_id":"1338796375","filename":"file1"},{"photo_id":"1338796339","filename":"file0"},{"photo_id":"1338796383","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338796386":["hashtag1","hashtag2"]},{"1338796389":["hashtag1","hashtag2"]},{"1338796380":["hashtag1","hashtag2"]},{"1338796375":["hashtag1","hashtag2"]},{"1338796339":["hashtag1","hashtag2"]},{"1338796383":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338796386, 1338796389, 1338796380, 1338796375, 1338796339, 1338796383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.772457122802734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:02:32.416597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/24/image_21022025_10_24_14_9321.jpg', '/home/pi/Desktop/images/21022025/10/24/image_21022025_10_24_24_10322.jpg', '/home/pi/Desktop/images/21022025/10/24/image_21022025_10_24_35_10404.jpg', '/home/pi/Desktop/images/21022025/10/24/image_21022025_10_24_44_9336.jpg', '/home/pi/Desktop/images/21022025/10/24/image_21022025_10_24_54_10341.jpg', '/home/pi/Desktop/images/21022025/10/24/image_21022025_10_25_05_10327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/24/image_21022025_10_24_14_9321.jpg
/home/pi/Desktop/images/21022025/10/24/image_21022025_10_24_24_10322.jpg
/home/pi/Desktop/images/21022025/10/24/image_21022025_10_24_35_10404.jpg
/home/pi/Desktop/images/21022025/10/24/image_21022025_10_24_44_9336.jpg
/home/pi/Desktop/images/21022025/10/24/image_21022025_10_24_54_10341.jpg
/home/pi/Desktop/images/21022025/10/24/image_21022025_10_25_05_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338796463","1338796457","1338796453","1338796459","1338796450","1338796447"],"photo_ids_order":["1338796447","1338796450","1338796453","1338796457","1338796459","1338796463"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3374a37f83ff2ee5c5905ebcd985f01.jpg","text":"TemporaryFile(/tmp/multipartBody1304744330706901406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132212893,"filename":"image_21022025_10_25_05_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/76d19e26b33aa7e4e8dd3cd0a455c67d.jpg","text":"TemporaryFile(/tmp/multipartBody5213827494500453112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132212893,"filename":"image_21022025_10_24_44_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e0dcfda20542eb216235b3ad9d81126.jpg","text":"TemporaryFile(/tmp/multipartBody8196588217850385458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132212893,"filename":"image_21022025_10_24_35_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f6497ff65d8c569ad13bda53f4d3782a.jpg","text":"TemporaryFile(/tmp/multipartBody6918074455102681740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132212893,"filename":"image_21022025_10_24_54_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/84b0c191025c4fea4435ae797a4e13a3.jpg","text":"TemporaryFile(/tmp/multipartBody1538092967458334311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132212893,"filename":"image_21022025_10_24_24_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff73d1b9797b9218abe587a81989c5ac.jpg","text":"TemporaryFile(/tmp/multipartBody5241744622946940892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132212893,"filename":"image_21022025_10_24_14_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338796453","file1":"1338796450","file0":"1338796447","file4":"1338796459","file5":"1338796463","file3":"1338796457"},"map_files_photo_id_array":[{"photo_id":"1338796463","filename":"file5"},{"photo_id":"1338796453","filename":"file2"},{"photo_id":"1338796459","filename":"file4"},{"photo_id":"1338796450","filename":"file1"},{"photo_id":"1338796447","filename":"file0"},{"photo_id":"1338796457","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338796463":["hashtag1","hashtag2"]},{"1338796457":["hashtag1","hashtag2"]},{"1338796453":["hashtag1","hashtag2"]},{"1338796459":["hashtag1","hashtag2"]},{"1338796450":["hashtag1","hashtag2"]},{"1338796447":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338796463, 1338796457, 1338796453, 1338796459, 1338796450, 1338796447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.94155788421631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:03:32.552997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/25/image_21022025_10_25_14_9328.jpg', '/home/pi/Desktop/images/21022025/10/25/image_21022025_10_25_25_10485.jpg', '/home/pi/Desktop/images/21022025/10/25/image_21022025_10_25_34_9447.jpg', '/home/pi/Desktop/images/21022025/10/25/image_21022025_10_25_44_10322.jpg', '/home/pi/Desktop/images/21022025/10/26/image_21022025_10_26_14_10354.jpg', '/home/pi/Desktop/images/21022025/10/26/image_21022025_10_26_25_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/25/image_21022025_10_25_14_9328.jpg
/home/pi/Desktop/images/21022025/10/25/image_21022025_10_25_25_10485.jpg
/home/pi/Desktop/images/21022025/10/25/image_21022025_10_25_34_9447.jpg
/home/pi/Desktop/images/21022025/10/25/image_21022025_10_25_44_10322.jpg
/home/pi/Desktop/images/21022025/10/26/image_21022025_10_26_14_10354.jpg
/home/pi/Desktop/images/21022025/10/26/image_21022025_10_26_25_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338796499","1338796517","1338796502","1338796492","1338796495","1338796489"],"photo_ids_order":["1338796489","1338796492","1338796495","1338796499","1338796502","1338796517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cdfbc39c465412ed9df4f06e20b93179.jpg","text":"TemporaryFile(/tmp/multipartBody3101994180209158512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132273024,"filename":"image_21022025_10_25_44_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/125ebc02ab01c29c3f49e262895268c7.jpg","text":"TemporaryFile(/tmp/multipartBody585040387785231840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132273024,"filename":"image_21022025_10_26_25_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/12b77f47ee186e4d4a08c68577c14fa3.jpg","text":"TemporaryFile(/tmp/multipartBody8348206755032813329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132273024,"filename":"image_21022025_10_26_14_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/db0528a4ea1a80ac9ffc9cb39b1b0d2d.jpg","text":"TemporaryFile(/tmp/multipartBody1852176793889929365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132273024,"filename":"image_21022025_10_25_25_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f6f7689c5684ec3070a2851899c0795.jpg","text":"TemporaryFile(/tmp/multipartBody8290984061184181022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132273024,"filename":"image_21022025_10_25_34_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3137231af3de6365f671b8495e258e90.jpg","text":"TemporaryFile(/tmp/multipartBody517776408974959604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132273024,"filename":"image_21022025_10_25_14_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338796495","file1":"1338796492","file0":"1338796489","file4":"1338796502","file5":"1338796517","file3":"1338796499"},"map_files_photo_id_array":[{"photo_id":"1338796517","filename":"file5"},{"photo_id":"1338796495","filename":"file2"},{"photo_id":"1338796502","filename":"file4"},{"photo_id":"1338796492","filename":"file1"},{"photo_id":"1338796489","filename":"file0"},{"photo_id":"1338796499","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338796499":["hashtag1","hashtag2"]},{"1338796517":["hashtag1","hashtag2"]},{"1338796502":["hashtag1","hashtag2"]},{"1338796492":["hashtag1","hashtag2"]},{"1338796495":["hashtag1","hashtag2"]},{"1338796489":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338796499, 1338796517, 1338796502, 1338796492, 1338796495, 1338796489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9331214427948 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:04:32.750587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/26/image_21022025_10_26_34_9321.jpg', '/home/pi/Desktop/images/21022025/10/26/image_21022025_10_26_44_10337.jpg', '/home/pi/Desktop/images/21022025/10/26/image_21022025_10_26_55_10414.jpg', '/home/pi/Desktop/images/21022025/10/26/image_21022025_10_27_04_9341.jpg', '/home/pi/Desktop/images/21022025/10/27/image_21022025_10_27_15_10391.jpg', '/home/pi/Desktop/images/21022025/10/27/image_21022025_10_27_24_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/26/image_21022025_10_26_34_9321.jpg
/home/pi/Desktop/images/21022025/10/26/image_21022025_10_26_44_10337.jpg
/home/pi/Desktop/images/21022025/10/26/image_21022025_10_26_55_10414.jpg
/home/pi/Desktop/images/21022025/10/26/image_21022025_10_27_04_9341.jpg
/home/pi/Desktop/images/21022025/10/27/image_21022025_10_27_15_10391.jpg
/home/pi/Desktop/images/21022025/10/27/image_21022025_10_27_24_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338796583","1338796597","1338796601","1338796579","1338796588","1338796593"],"photo_ids_order":["1338796579","1338796583","1338796588","1338796593","1338796597","1338796601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/113f58c1bd8bc44a89a8054604b2c3c1.jpg","text":"TemporaryFile(/tmp/multipartBody6130952961112763260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132333226,"filename":"image_21022025_10_26_44_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/36422ee00f166d31356fca59aac31c4c.jpg","text":"TemporaryFile(/tmp/multipartBody4973415810911638281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132333226,"filename":"image_21022025_10_27_15_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a35cb29825bd41ac50cfced9fdc12ad0.jpg","text":"TemporaryFile(/tmp/multipartBody3466834155076192629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132333226,"filename":"image_21022025_10_27_24_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b7d759692ffe7639f6d08dc6ce0e511.jpg","text":"TemporaryFile(/tmp/multipartBody8453416033783456639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132333226,"filename":"image_21022025_10_26_34_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/79935956194622d247f3757ca32ab79b.jpg","text":"TemporaryFile(/tmp/multipartBody3767790916647642772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132333226,"filename":"image_21022025_10_26_55_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f2341052f0e615ffac9e7fc0cfa813ef.jpg","text":"TemporaryFile(/tmp/multipartBody2757888427964398679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132333226,"filename":"image_21022025_10_27_04_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338796588","file1":"1338796583","file0":"1338796579","file4":"1338796597","file5":"1338796601","file3":"1338796593"},"map_files_photo_id_array":[{"photo_id":"1338796601","filename":"file5"},{"photo_id":"1338796588","filename":"file2"},{"photo_id":"1338796597","filename":"file4"},{"photo_id":"1338796583","filename":"file1"},{"photo_id":"1338796579","filename":"file0"},{"photo_id":"1338796593","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338796583":["hashtag1","hashtag2"]},{"1338796597":["hashtag1","hashtag2"]},{"1338796601":["hashtag1","hashtag2"]},{"1338796579":["hashtag1","hashtag2"]},{"1338796588":["hashtag1","hashtag2"]},{"1338796593":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338796583, 1338796597, 1338796601, 1338796579, 1338796588, 1338796593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.65384316444397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:05:33.076603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/27/image_21022025_10_27_45_10364.jpg', '/home/pi/Desktop/images/21022025/10/27/image_21022025_10_28_04_10352.jpg', '/home/pi/Desktop/images/21022025/10/28/image_21022025_10_28_15_10398.jpg', '/home/pi/Desktop/images/21022025/10/28/image_21022025_10_28_24_9338.jpg', '/home/pi/Desktop/images/21022025/10/28/image_21022025_10_28_34_10317.jpg', '/home/pi/Desktop/images/21022025/10/28/image_21022025_10_28_45_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/27/image_21022025_10_27_45_10364.jpg
/home/pi/Desktop/images/21022025/10/27/image_21022025_10_28_04_10352.jpg
/home/pi/Desktop/images/21022025/10/28/image_21022025_10_28_15_10398.jpg
/home/pi/Desktop/images/21022025/10/28/image_21022025_10_28_24_9338.jpg
/home/pi/Desktop/images/21022025/10/28/image_21022025_10_28_34_10317.jpg
/home/pi/Desktop/images/21022025/10/28/image_21022025_10_28_45_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338796632","1338796635","1338796620","1338796628","1338796636","1338796624"],"photo_ids_order":["1338796620","1338796624","1338796628","1338796632","1338796635","1338796636"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aba8c71548492cd8d11bdcb7e86cf476.jpg","text":"TemporaryFile(/tmp/multipartBody5012410896451562278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132393549,"filename":"image_21022025_10_28_24_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b4bdf33a0621f4149fd9280c57fa3bbd.jpg","text":"TemporaryFile(/tmp/multipartBody3140653414838722868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132393549,"filename":"image_21022025_10_28_34_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b6608d66e605276de5cde0c20e6e2a8.jpg","text":"TemporaryFile(/tmp/multipartBody6408348330385711124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132393549,"filename":"image_21022025_10_27_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d3542149ff67c88d6db225f086125a3c.jpg","text":"TemporaryFile(/tmp/multipartBody5699813889578313838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132393549,"filename":"image_21022025_10_28_15_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bdc6aeb19976db57f185991c0e29b0ee.jpg","text":"TemporaryFile(/tmp/multipartBody1067025162780947973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132393549,"filename":"image_21022025_10_28_45_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9914598626a59c8a3ff8393512656a6a.jpg","text":"TemporaryFile(/tmp/multipartBody8065134321366498817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132393549,"filename":"image_21022025_10_28_04_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338796628","file1":"1338796624","file0":"1338796620","file4":"1338796635","file5":"1338796636","file3":"1338796632"},"map_files_photo_id_array":[{"photo_id":"1338796636","filename":"file5"},{"photo_id":"1338796628","filename":"file2"},{"photo_id":"1338796635","filename":"file4"},{"photo_id":"1338796624","filename":"file1"},{"photo_id":"1338796620","filename":"file0"},{"photo_id":"1338796632","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338796632":["hashtag1","hashtag2"]},{"1338796635":["hashtag1","hashtag2"]},{"1338796620":["hashtag1","hashtag2"]},{"1338796628":["hashtag1","hashtag2"]},{"1338796636":["hashtag1","hashtag2"]},{"1338796624":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338796632, 1338796635, 1338796620, 1338796628, 1338796636, 1338796624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.85080075263977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:06:32.203008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/28/image_21022025_10_29_05_10467.jpg', '/home/pi/Desktop/images/21022025/10/29/image_21022025_10_29_14_9330.jpg', '/home/pi/Desktop/images/21022025/10/29/image_21022025_10_29_35_10441.jpg', '/home/pi/Desktop/images/21022025/10/29/image_21022025_10_29_44_9333.jpg', '/home/pi/Desktop/images/21022025/10/29/image_21022025_10_29_54_10352.jpg', '/home/pi/Desktop/images/21022025/10/29/image_21022025_10_30_05_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/28/image_21022025_10_29_05_10467.jpg
/home/pi/Desktop/images/21022025/10/29/image_21022025_10_29_14_9330.jpg
/home/pi/Desktop/images/21022025/10/29/image_21022025_10_29_35_10441.jpg
/home/pi/Desktop/images/21022025/10/29/image_21022025_10_29_44_9333.jpg
/home/pi/Desktop/images/21022025/10/29/image_21022025_10_29_54_10352.jpg
/home/pi/Desktop/images/21022025/10/29/image_21022025_10_30_05_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338796665","1338796667","1338796652","1338796660","1338796663","1338796657"],"photo_ids_order":["1338796652","1338796657","1338796660","1338796663","1338796665","1338796667"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f668cf20b28c11e09aae4ac1f32ac8a.jpg","text":"TemporaryFile(/tmp/multipartBody2241757741204529612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132452668,"filename":"image_21022025_10_29_54_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bd49afbcd82f4deff74ac59bad23a83f.jpg","text":"TemporaryFile(/tmp/multipartBody5330633028733787270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132452668,"filename":"image_21022025_10_30_05_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ad03e04cb7f1eee2b762eb7d11f55cef.jpg","text":"TemporaryFile(/tmp/multipartBody3389361198173970126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132452668,"filename":"image_21022025_10_29_05_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1bebee830a3d6d3b57d5b98610a6a714.jpg","text":"TemporaryFile(/tmp/multipartBody6815586322040351358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132452668,"filename":"image_21022025_10_29_35_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dc1c2f384f9088b1330f08daf69da8aa.jpg","text":"TemporaryFile(/tmp/multipartBody3110729509796194763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132452668,"filename":"image_21022025_10_29_44_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/339ccc2f00adba524f54d024a792a6ba.jpg","text":"TemporaryFile(/tmp/multipartBody3340764699030228549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132452668,"filename":"image_21022025_10_29_14_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338796660","file1":"1338796657","file0":"1338796652","file4":"1338796665","file5":"1338796667","file3":"1338796663"},"map_files_photo_id_array":[{"photo_id":"1338796667","filename":"file5"},{"photo_id":"1338796660","filename":"file2"},{"photo_id":"1338796665","filename":"file4"},{"photo_id":"1338796657","filename":"file1"},{"photo_id":"1338796652","filename":"file0"},{"photo_id":"1338796663","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338796665":["hashtag1","hashtag2"]},{"1338796667":["hashtag1","hashtag2"]},{"1338796652":["hashtag1","hashtag2"]},{"1338796660":["hashtag1","hashtag2"]},{"1338796663":["hashtag1","hashtag2"]},{"1338796657":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338796665, 1338796667, 1338796652, 1338796660, 1338796663, 1338796657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74235486984253 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:07:32.513234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/30/image_21022025_10_30_55_10421.jpg', '/home/pi/Desktop/images/21022025/10/30/image_21022025_10_31_04_9325.jpg', '/home/pi/Desktop/images/21022025/10/31/image_21022025_10_31_14_10325.jpg', '/home/pi/Desktop/images/21022025/10/31/image_21022025_10_31_25_10392.jpg', '/home/pi/Desktop/images/21022025/10/31/image_21022025_10_31_44_10317.jpg', '/home/pi/Desktop/images/21022025/10/31/image_21022025_10_31_55_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/30/image_21022025_10_30_55_10421.jpg
/home/pi/Desktop/images/21022025/10/30/image_21022025_10_31_04_9325.jpg
/home/pi/Desktop/images/21022025/10/31/image_21022025_10_31_14_10325.jpg
/home/pi/Desktop/images/21022025/10/31/image_21022025_10_31_25_10392.jpg
/home/pi/Desktop/images/21022025/10/31/image_21022025_10_31_44_10317.jpg
/home/pi/Desktop/images/21022025/10/31/image_21022025_10_31_55_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338797064","1338796685","1338796694","1338796682","1338796893","1338796689"],"photo_ids_order":["1338796682","1338796685","1338796689","1338796694","1338796893","1338797064"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f275f872c70dc18599e7fe6451d072a.jpg","text":"TemporaryFile(/tmp/multipartBody8465898078234467658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132513050,"filename":"image_21022025_10_31_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b28c12616f93b1021689b34780d0add4.jpg","text":"TemporaryFile(/tmp/multipartBody8782324091632764168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132513050,"filename":"image_21022025_10_31_04_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ea1a258b876e27a8c6ff93bd75c900f.jpg","text":"TemporaryFile(/tmp/multipartBody1388945987196012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132513050,"filename":"image_21022025_10_31_25_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2787560dff2e608266c8eaeacbed9bda.jpg","text":"TemporaryFile(/tmp/multipartBody5753427097222301455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132513050,"filename":"image_21022025_10_30_55_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/603d8eac2cc93421f144cb90b2b9c29a.jpg","text":"TemporaryFile(/tmp/multipartBody505635762337082707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132513050,"filename":"image_21022025_10_31_44_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/55d4d1e7e317adc161d0bcde19b76164.jpg","text":"TemporaryFile(/tmp/multipartBody2146209638377802877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132513050,"filename":"image_21022025_10_31_14_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338796689","file1":"1338796685","file0":"1338796682","file4":"1338796893","file5":"1338797064","file3":"1338796694"},"map_files_photo_id_array":[{"photo_id":"1338797064","filename":"file5"},{"photo_id":"1338796689","filename":"file2"},{"photo_id":"1338796893","filename":"file4"},{"photo_id":"1338796685","filename":"file1"},{"photo_id":"1338796682","filename":"file0"},{"photo_id":"1338796694","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338797064":["hashtag1","hashtag2"]},{"1338796685":["hashtag1","hashtag2"]},{"1338796694":["hashtag1","hashtag2"]},{"1338796682":["hashtag1","hashtag2"]},{"1338796893":["hashtag1","hashtag2"]},{"1338796689":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338797064, 1338796685, 1338796694, 1338796682, 1338796893, 1338796689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.08353042602539 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:08:32.664304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/31/image_21022025_10_32_04_9329.jpg', '/home/pi/Desktop/images/21022025/10/32/image_21022025_10_32_14_10400.jpg', '/home/pi/Desktop/images/21022025/10/32/image_21022025_10_32_25_10354.jpg', '/home/pi/Desktop/images/21022025/10/32/image_21022025_10_32_34_9319.jpg', '/home/pi/Desktop/images/21022025/10/32/image_21022025_10_32_44_10320.jpg', '/home/pi/Desktop/images/21022025/10/32/image_21022025_10_32_55_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/31/image_21022025_10_32_04_9329.jpg
/home/pi/Desktop/images/21022025/10/32/image_21022025_10_32_14_10400.jpg
/home/pi/Desktop/images/21022025/10/32/image_21022025_10_32_25_10354.jpg
/home/pi/Desktop/images/21022025/10/32/image_21022025_10_32_34_9319.jpg
/home/pi/Desktop/images/21022025/10/32/image_21022025_10_32_44_10320.jpg
/home/pi/Desktop/images/21022025/10/32/image_21022025_10_32_55_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338797412","1338797408","1338797464","1338797416","1338797404","1338797556"],"photo_ids_order":["1338797404","1338797408","1338797412","1338797416","1338797464","1338797556"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/88813c5b0b2fd1b2ebd1e67db042a0a2.jpg","text":"TemporaryFile(/tmp/multipartBody3829913627890958937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132573152,"filename":"image_21022025_10_32_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b0044747712219c0a02b8a8063319dd2.jpg","text":"TemporaryFile(/tmp/multipartBody5188825148938269973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132573152,"filename":"image_21022025_10_32_14_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8e43e18140609484f35f144076514b32.jpg","text":"TemporaryFile(/tmp/multipartBody7310622199255445785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132573152,"filename":"image_21022025_10_32_44_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c03bbd13db223994e17287fed7706ee4.jpg","text":"TemporaryFile(/tmp/multipartBody4805979730005823206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132573152,"filename":"image_21022025_10_32_34_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/310b95d2a90560e09ba9cd15dc3f21d4.jpg","text":"TemporaryFile(/tmp/multipartBody3997188738274666460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132573152,"filename":"image_21022025_10_32_04_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bc12e086da1d409e32c5da1d2513dae1.jpg","text":"TemporaryFile(/tmp/multipartBody8127426027161008151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132573152,"filename":"image_21022025_10_32_55_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338797412","file1":"1338797408","file0":"1338797404","file4":"1338797464","file5":"1338797556","file3":"1338797416"},"map_files_photo_id_array":[{"photo_id":"1338797556","filename":"file5"},{"photo_id":"1338797412","filename":"file2"},{"photo_id":"1338797464","filename":"file4"},{"photo_id":"1338797408","filename":"file1"},{"photo_id":"1338797404","filename":"file0"},{"photo_id":"1338797416","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338797412":["hashtag1","hashtag2"]},{"1338797408":["hashtag1","hashtag2"]},{"1338797464":["hashtag1","hashtag2"]},{"1338797416":["hashtag1","hashtag2"]},{"1338797404":["hashtag1","hashtag2"]},{"1338797556":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338797412, 1338797408, 1338797464, 1338797416, 1338797404, 1338797556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.73568773269653 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:09:32.907924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/33/image_21022025_10_33_44_10329.jpg', '/home/pi/Desktop/images/21022025/10/33/image_21022025_10_33_55_10337.jpg', '/home/pi/Desktop/images/21022025/10/33/image_21022025_10_34_04_9317.jpg', '/home/pi/Desktop/images/21022025/10/34/image_21022025_10_34_14_10344.jpg', '/home/pi/Desktop/images/21022025/10/34/image_21022025_10_34_25_10445.jpg', '/home/pi/Desktop/images/21022025/10/34/image_21022025_10_34_34_9316.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/33/image_21022025_10_33_44_10329.jpg
/home/pi/Desktop/images/21022025/10/33/image_21022025_10_33_55_10337.jpg
/home/pi/Desktop/images/21022025/10/33/image_21022025_10_34_04_9317.jpg
/home/pi/Desktop/images/21022025/10/34/image_21022025_10_34_14_10344.jpg
/home/pi/Desktop/images/21022025/10/34/image_21022025_10_34_25_10445.jpg
/home/pi/Desktop/images/21022025/10/34/image_21022025_10_34_34_9316.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338797715","1338797700","1338797677","1338797785","1338797781","1338797757"],"photo_ids_order":["1338797677","1338797700","1338797715","1338797757","1338797781","1338797785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff6f25c4983f0f77e3b076fbff667870.jpg","text":"TemporaryFile(/tmp/multipartBody1167793264593812434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132633380,"filename":"image_21022025_10_34_04_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c6b9b99c046ee25e2dcda65e26b5046.jpg","text":"TemporaryFile(/tmp/multipartBody2793987166634029891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132633380,"filename":"image_21022025_10_33_55_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5cb6032f2756c3fc85779191320c5fc0.jpg","text":"TemporaryFile(/tmp/multipartBody1486713598036735502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132633380,"filename":"image_21022025_10_33_44_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eff288ce35121188169881fe1fea5f67.jpg","text":"TemporaryFile(/tmp/multipartBody1510842445507731185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132633380,"filename":"image_21022025_10_34_34_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b1401f67bc466fc917639117e933e31.jpg","text":"TemporaryFile(/tmp/multipartBody7455145798914027958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132633380,"filename":"image_21022025_10_34_25_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/813202ed3ad192d69d005deed7110030.jpg","text":"TemporaryFile(/tmp/multipartBody9098624708126054180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132633380,"filename":"image_21022025_10_34_14_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338797715","file1":"1338797700","file0":"1338797677","file4":"1338797781","file5":"1338797785","file3":"1338797757"},"map_files_photo_id_array":[{"photo_id":"1338797785","filename":"file5"},{"photo_id":"1338797715","filename":"file2"},{"photo_id":"1338797781","filename":"file4"},{"photo_id":"1338797700","filename":"file1"},{"photo_id":"1338797677","filename":"file0"},{"photo_id":"1338797757","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338797715":["hashtag1","hashtag2"]},{"1338797700":["hashtag1","hashtag2"]},{"1338797677":["hashtag1","hashtag2"]},{"1338797785":["hashtag1","hashtag2"]},{"1338797781":["hashtag1","hashtag2"]},{"1338797757":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338797715, 1338797700, 1338797677, 1338797785, 1338797781, 1338797757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.007702589035034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:10:32.312106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/34/image_21022025_10_34_45_10418.jpg', '/home/pi/Desktop/images/21022025/10/35/image_21022025_10_35_15_10433.jpg', '/home/pi/Desktop/images/21022025/10/35/image_21022025_10_35_24_9400.jpg', '/home/pi/Desktop/images/21022025/10/35/image_21022025_10_35_35_10478.jpg', '/home/pi/Desktop/images/21022025/10/35/image_21022025_10_35_54_10343.jpg', '/home/pi/Desktop/images/21022025/10/35/image_21022025_10_36_05_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/34/image_21022025_10_34_45_10418.jpg
/home/pi/Desktop/images/21022025/10/35/image_21022025_10_35_15_10433.jpg
/home/pi/Desktop/images/21022025/10/35/image_21022025_10_35_24_9400.jpg
/home/pi/Desktop/images/21022025/10/35/image_21022025_10_35_35_10478.jpg
/home/pi/Desktop/images/21022025/10/35/image_21022025_10_35_54_10343.jpg
/home/pi/Desktop/images/21022025/10/35/image_21022025_10_36_05_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338797825","1338797822","1338797816","1338797819","1338797824","1338797812"],"photo_ids_order":["1338797812","1338797816","1338797819","1338797822","1338797824","1338797825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/79e0b4be1f0a0ecf0befd79a0f3c451e.jpg","text":"TemporaryFile(/tmp/multipartBody867520515406808823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132692790,"filename":"image_21022025_10_36_05_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a5ec4faf3f3a3a8f7d2d22bdaf38ea22.jpg","text":"TemporaryFile(/tmp/multipartBody9082485045998090462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132692790,"filename":"image_21022025_10_35_35_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/416a2486d769c607ff123a929cf7f102.jpg","text":"TemporaryFile(/tmp/multipartBody5137472256325100407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132692790,"filename":"image_21022025_10_35_15_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3457083fcd3e0b0976627efdc2e90552.jpg","text":"TemporaryFile(/tmp/multipartBody6124641874002047528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132692790,"filename":"image_21022025_10_35_24_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/85976f21aa000781c2531745c2157877.jpg","text":"TemporaryFile(/tmp/multipartBody7045834769161321302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132692790,"filename":"image_21022025_10_35_54_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a5fb0285e4dacb86029ae7a483cf530a.jpg","text":"TemporaryFile(/tmp/multipartBody7721470858966989572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132692790,"filename":"image_21022025_10_34_45_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338797819","file1":"1338797816","file0":"1338797812","file4":"1338797824","file5":"1338797825","file3":"1338797822"},"map_files_photo_id_array":[{"photo_id":"1338797825","filename":"file5"},{"photo_id":"1338797819","filename":"file2"},{"photo_id":"1338797824","filename":"file4"},{"photo_id":"1338797816","filename":"file1"},{"photo_id":"1338797812","filename":"file0"},{"photo_id":"1338797822","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338797825":["hashtag1","hashtag2"]},{"1338797822":["hashtag1","hashtag2"]},{"1338797816":["hashtag1","hashtag2"]},{"1338797819":["hashtag1","hashtag2"]},{"1338797824":["hashtag1","hashtag2"]},{"1338797812":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338797825, 1338797822, 1338797816, 1338797819, 1338797824, 1338797812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.653950929641724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:11:32.454764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/36/image_21022025_10_36_14_9342.jpg', '/home/pi/Desktop/images/21022025/10/36/image_21022025_10_36_35_10415.jpg', '/home/pi/Desktop/images/21022025/10/36/image_21022025_10_36_44_9337.jpg', '/home/pi/Desktop/images/21022025/10/36/image_21022025_10_37_04_9436.jpg', '/home/pi/Desktop/images/21022025/10/37/image_21022025_10_37_25_10409.jpg', '/home/pi/Desktop/images/21022025/10/37/image_21022025_10_37_34_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/36/image_21022025_10_36_14_9342.jpg
/home/pi/Desktop/images/21022025/10/36/image_21022025_10_36_35_10415.jpg
/home/pi/Desktop/images/21022025/10/36/image_21022025_10_36_44_9337.jpg
/home/pi/Desktop/images/21022025/10/36/image_21022025_10_37_04_9436.jpg
/home/pi/Desktop/images/21022025/10/37/image_21022025_10_37_25_10409.jpg
/home/pi/Desktop/images/21022025/10/37/image_21022025_10_37_34_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338797870","1338797875","1338797883","1338797886","1338797889","1338797880"],"photo_ids_order":["1338797870","1338797875","1338797880","1338797883","1338797886","1338797889"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/690d4fc5ec5793c4cdf944c1f446816c.jpg","text":"TemporaryFile(/tmp/multipartBody2699775964960251579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132752921,"filename":"image_21022025_10_36_14_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1175b74986ab64dfd6125348542fd575.jpg","text":"TemporaryFile(/tmp/multipartBody2786881725285962429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132752921,"filename":"image_21022025_10_36_35_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/99787dfa0da33bea1b1e2982b6a2ea91.jpg","text":"TemporaryFile(/tmp/multipartBody8564185386633664133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132752921,"filename":"image_21022025_10_37_04_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e74ada6da5f961733dbfde02ff3bce3.jpg","text":"TemporaryFile(/tmp/multipartBody4672714721432334456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132752921,"filename":"image_21022025_10_37_25_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/569e15d7bd65ff33ee998419a0481d2d.jpg","text":"TemporaryFile(/tmp/multipartBody6311978657168202707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132752921,"filename":"image_21022025_10_37_34_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e637bdad7d822ef9d82d80fcf7b2772b.jpg","text":"TemporaryFile(/tmp/multipartBody2054168469180008207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132752921,"filename":"image_21022025_10_36_44_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338797880","file1":"1338797875","file0":"1338797870","file4":"1338797886","file5":"1338797889","file3":"1338797883"},"map_files_photo_id_array":[{"photo_id":"1338797889","filename":"file5"},{"photo_id":"1338797880","filename":"file2"},{"photo_id":"1338797886","filename":"file4"},{"photo_id":"1338797875","filename":"file1"},{"photo_id":"1338797870","filename":"file0"},{"photo_id":"1338797883","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338797870":["hashtag1","hashtag2"]},{"1338797875":["hashtag1","hashtag2"]},{"1338797883":["hashtag1","hashtag2"]},{"1338797886":["hashtag1","hashtag2"]},{"1338797889":["hashtag1","hashtag2"]},{"1338797880":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338797870, 1338797875, 1338797883, 1338797886, 1338797889, 1338797880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23100471496582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:12:32.705374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/37/image_21022025_10_37_44_10349.jpg', '/home/pi/Desktop/images/21022025/10/37/image_21022025_10_37_55_10429.jpg', '/home/pi/Desktop/images/21022025/10/37/image_21022025_10_38_04_9321.jpg', '/home/pi/Desktop/images/21022025/10/38/image_21022025_10_38_25_10437.jpg', '/home/pi/Desktop/images/21022025/10/38/image_21022025_10_38_55_10341.jpg', '/home/pi/Desktop/images/21022025/10/39/image_21022025_10_39_15_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/37/image_21022025_10_37_44_10349.jpg
/home/pi/Desktop/images/21022025/10/37/image_21022025_10_37_55_10429.jpg
/home/pi/Desktop/images/21022025/10/37/image_21022025_10_38_04_9321.jpg
/home/pi/Desktop/images/21022025/10/38/image_21022025_10_38_25_10437.jpg
/home/pi/Desktop/images/21022025/10/38/image_21022025_10_38_55_10341.jpg
/home/pi/Desktop/images/21022025/10/39/image_21022025_10_39_15_10337.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39223670959472656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 11:12:42.740619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/37/image_21022025_10_37_44_10349.jpg', '/home/pi/Desktop/images/21022025/10/37/image_21022025_10_37_55_10429.jpg', '/home/pi/Desktop/images/21022025/10/37/image_21022025_10_38_04_9321.jpg', '/home/pi/Desktop/images/21022025/10/38/image_21022025_10_38_25_10437.jpg', '/home/pi/Desktop/images/21022025/10/38/image_21022025_10_38_55_10341.jpg', '/home/pi/Desktop/images/21022025/10/39/image_21022025_10_39_15_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/37/image_21022025_10_37_44_10349.jpg
/home/pi/Desktop/images/21022025/10/37/image_21022025_10_37_55_10429.jpg
/home/pi/Desktop/images/21022025/10/37/image_21022025_10_38_04_9321.jpg
/home/pi/Desktop/images/21022025/10/38/image_21022025_10_38_25_10437.jpg
/home/pi/Desktop/images/21022025/10/38/image_21022025_10_38_55_10341.jpg
/home/pi/Desktop/images/21022025/10/39/image_21022025_10_39_15_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338797960","1338797962","1338797950","1338797958","1338797952","1338797955"],"photo_ids_order":["1338797950","1338797952","1338797955","1338797958","1338797960","1338797962"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a491b33c2d196aca75f0c3db52126f3a.jpg","text":"TemporaryFile(/tmp/multipartBody1364849959320661745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132823232,"filename":"image_21022025_10_38_55_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7246c4a6c7a158cd13090d3aa6175482.jpg","text":"TemporaryFile(/tmp/multipartBody7686948778054568599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132823232,"filename":"image_21022025_10_39_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/45cb57bd6fd852ec1e95d467f0e1aa9b.jpg","text":"TemporaryFile(/tmp/multipartBody5698089995338208050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132823232,"filename":"image_21022025_10_37_44_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/485108dec9643f0ed1d6e2b5982b6645.jpg","text":"TemporaryFile(/tmp/multipartBody2228946432241019733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132823232,"filename":"image_21022025_10_38_25_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a5afb345783c894be8cd8528b851305d.jpg","text":"TemporaryFile(/tmp/multipartBody144630113328479520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132823232,"filename":"image_21022025_10_37_55_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3310692c8d6b312412f92d4bb98a44a5.jpg","text":"TemporaryFile(/tmp/multipartBody2038502173232524284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132823232,"filename":"image_21022025_10_38_04_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338797955","file1":"1338797952","file0":"1338797950","file4":"1338797960","file5":"1338797962","file3":"1338797958"},"map_files_photo_id_array":[{"photo_id":"1338797962","filename":"file5"},{"photo_id":"1338797955","filename":"file2"},{"photo_id":"1338797960","filename":"file4"},{"photo_id":"1338797952","filename":"file1"},{"photo_id":"1338797950","filename":"file0"},{"photo_id":"1338797958","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338797960":["hashtag1","hashtag2"]},{"1338797962":["hashtag1","hashtag2"]},{"1338797950":["hashtag1","hashtag2"]},{"1338797958":["hashtag1","hashtag2"]},{"1338797952":["hashtag1","hashtag2"]},{"1338797955":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338797960, 1338797962, 1338797950, 1338797958, 1338797952, 1338797955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.75549578666687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:13:32.993429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/39/image_21022025_10_39_34_10351.jpg', '/home/pi/Desktop/images/21022025/10/39/image_21022025_10_39_45_10394.jpg', '/home/pi/Desktop/images/21022025/10/39/image_21022025_10_39_54_9342.jpg', '/home/pi/Desktop/images/21022025/10/41/image_21022025_10_41_24_10396.jpg', '/home/pi/Desktop/images/21022025/10/41/image_21022025_10_41_35_10371.jpg', '/home/pi/Desktop/images/21022025/10/41/image_21022025_10_41_44_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/39/image_21022025_10_39_34_10351.jpg
/home/pi/Desktop/images/21022025/10/39/image_21022025_10_39_45_10394.jpg
/home/pi/Desktop/images/21022025/10/39/image_21022025_10_39_54_9342.jpg
/home/pi/Desktop/images/21022025/10/41/image_21022025_10_41_24_10396.jpg
/home/pi/Desktop/images/21022025/10/41/image_21022025_10_41_35_10371.jpg
/home/pi/Desktop/images/21022025/10/41/image_21022025_10_41_44_9354.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3970198631286621 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 11:13:42.926525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/39/image_21022025_10_39_34_10351.jpg', '/home/pi/Desktop/images/21022025/10/39/image_21022025_10_39_45_10394.jpg', '/home/pi/Desktop/images/21022025/10/39/image_21022025_10_39_54_9342.jpg', '/home/pi/Desktop/images/21022025/10/41/image_21022025_10_41_24_10396.jpg', '/home/pi/Desktop/images/21022025/10/41/image_21022025_10_41_35_10371.jpg', '/home/pi/Desktop/images/21022025/10/41/image_21022025_10_41_44_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/39/image_21022025_10_39_34_10351.jpg
/home/pi/Desktop/images/21022025/10/39/image_21022025_10_39_45_10394.jpg
/home/pi/Desktop/images/21022025/10/39/image_21022025_10_39_54_9342.jpg
/home/pi/Desktop/images/21022025/10/41/image_21022025_10_41_24_10396.jpg
/home/pi/Desktop/images/21022025/10/41/image_21022025_10_41_35_10371.jpg
/home/pi/Desktop/images/21022025/10/41/image_21022025_10_41_44_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338797996","1338798005","1338797999","1338798002","1338797983","1338797988"],"photo_ids_order":["1338797983","1338797988","1338797996","1338797999","1338798002","1338798005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/07e783a0140d803fc0abdd0621916942.jpg","text":"TemporaryFile(/tmp/multipartBody7133753566556356613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132883390,"filename":"image_21022025_10_39_54_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/db2a82250a4c4ba9e04b2c0e2e411cd9.jpg","text":"TemporaryFile(/tmp/multipartBody3546672612470356643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132883390,"filename":"image_21022025_10_41_44_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4ac6d13ec63d54ce35b228f9f115789.jpg","text":"TemporaryFile(/tmp/multipartBody1507145300359218208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132883390,"filename":"image_21022025_10_41_24_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2aee8293bd43961a1736ad6575f1f379.jpg","text":"TemporaryFile(/tmp/multipartBody7834164590000729075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132883390,"filename":"image_21022025_10_41_35_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce0310a8a783e20035e2f22e62a67693.jpg","text":"TemporaryFile(/tmp/multipartBody3962673837248465543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132883390,"filename":"image_21022025_10_39_34_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/569f200ce1c4cce9174bf913b2a49f08.jpg","text":"TemporaryFile(/tmp/multipartBody3103537888613221268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132883390,"filename":"image_21022025_10_39_45_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338797996","file1":"1338797988","file0":"1338797983","file4":"1338798002","file5":"1338798005","file3":"1338797999"},"map_files_photo_id_array":[{"photo_id":"1338798005","filename":"file5"},{"photo_id":"1338797996","filename":"file2"},{"photo_id":"1338798002","filename":"file4"},{"photo_id":"1338797988","filename":"file1"},{"photo_id":"1338797983","filename":"file0"},{"photo_id":"1338797999","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338797996":["hashtag1","hashtag2"]},{"1338798005":["hashtag1","hashtag2"]},{"1338797999":["hashtag1","hashtag2"]},{"1338798002":["hashtag1","hashtag2"]},{"1338797983":["hashtag1","hashtag2"]},{"1338797988":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338797996, 1338798005, 1338797999, 1338798002, 1338797983, 1338797988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87549424171448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:14:32.338202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/41/image_21022025_10_41_54_10345.jpg', '/home/pi/Desktop/images/21022025/10/41/image_21022025_10_42_05_10382.jpg', '/home/pi/Desktop/images/21022025/10/42/image_21022025_10_42_14_9314.jpg', '/home/pi/Desktop/images/21022025/10/42/image_21022025_10_42_24_10365.jpg', '/home/pi/Desktop/images/21022025/10/42/image_21022025_10_42_35_10417.jpg', '/home/pi/Desktop/images/21022025/10/42/image_21022025_10_42_44_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/41/image_21022025_10_41_54_10345.jpg
/home/pi/Desktop/images/21022025/10/41/image_21022025_10_42_05_10382.jpg
/home/pi/Desktop/images/21022025/10/42/image_21022025_10_42_14_9314.jpg
/home/pi/Desktop/images/21022025/10/42/image_21022025_10_42_24_10365.jpg
/home/pi/Desktop/images/21022025/10/42/image_21022025_10_42_35_10417.jpg
/home/pi/Desktop/images/21022025/10/42/image_21022025_10_42_44_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338798017","1338798073","1338798064","1338798075","1338798069","1338798027"],"photo_ids_order":["1338798017","1338798027","1338798064","1338798069","1338798073","1338798075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/26888e356e7eabaf43f7de33398c31ed.jpg","text":"TemporaryFile(/tmp/multipartBody2247330721430995949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132932805,"filename":"image_21022025_10_41_54_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7cfbf87c14fc0f7774bab7d369257cfd.jpg","text":"TemporaryFile(/tmp/multipartBody2966426949143425275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132932805,"filename":"image_21022025_10_42_35_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0eb3950e8c8df551c807277dbe0c9cce.jpg","text":"TemporaryFile(/tmp/multipartBody1698253532839696514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132932805,"filename":"image_21022025_10_42_14_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3b3433a78494decd2456f50d8f941339.jpg","text":"TemporaryFile(/tmp/multipartBody8218254802118263950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132932805,"filename":"image_21022025_10_42_44_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d4ff6892f15d5bbe338da1cc77c4eb0f.jpg","text":"TemporaryFile(/tmp/multipartBody5508682076620177211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132932805,"filename":"image_21022025_10_42_24_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c0c11065de6ed2dd25ca09673cb9b447.jpg","text":"TemporaryFile(/tmp/multipartBody5083056506133988158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132932805,"filename":"image_21022025_10_42_05_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338798064","file1":"1338798027","file0":"1338798017","file4":"1338798073","file5":"1338798075","file3":"1338798069"},"map_files_photo_id_array":[{"photo_id":"1338798075","filename":"file5"},{"photo_id":"1338798064","filename":"file2"},{"photo_id":"1338798073","filename":"file4"},{"photo_id":"1338798027","filename":"file1"},{"photo_id":"1338798017","filename":"file0"},{"photo_id":"1338798069","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338798017":["hashtag1","hashtag2"]},{"1338798073":["hashtag1","hashtag2"]},{"1338798064":["hashtag1","hashtag2"]},{"1338798075":["hashtag1","hashtag2"]},{"1338798069":["hashtag1","hashtag2"]},{"1338798027":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338798017, 1338798073, 1338798064, 1338798075, 1338798069, 1338798027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94442343711853 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:15:32.552310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/42/image_21022025_10_42_55_10388.jpg', '/home/pi/Desktop/images/21022025/10/42/image_21022025_10_43_04_9367.jpg', '/home/pi/Desktop/images/21022025/10/43/image_21022025_10_43_14_10326.jpg', '/home/pi/Desktop/images/21022025/10/43/image_21022025_10_43_25_10489.jpg', '/home/pi/Desktop/images/21022025/10/43/image_21022025_10_43_34_9302.jpg', '/home/pi/Desktop/images/21022025/10/43/image_21022025_10_43_55_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/42/image_21022025_10_42_55_10388.jpg
/home/pi/Desktop/images/21022025/10/42/image_21022025_10_43_04_9367.jpg
/home/pi/Desktop/images/21022025/10/43/image_21022025_10_43_14_10326.jpg
/home/pi/Desktop/images/21022025/10/43/image_21022025_10_43_25_10489.jpg
/home/pi/Desktop/images/21022025/10/43/image_21022025_10_43_34_9302.jpg
/home/pi/Desktop/images/21022025/10/43/image_21022025_10_43_55_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338798164","1338798162","1338798165","1338798108","1338798117","1338798102"],"photo_ids_order":["1338798102","1338798108","1338798117","1338798162","1338798164","1338798165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/892c03a6f8d72364428dedb4abbec085.jpg","text":"TemporaryFile(/tmp/multipartBody5281379127015699459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132993035,"filename":"image_21022025_10_43_34_9302.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/67f4c7298555b0cde65b4f61dcc77fbd.jpg","text":"TemporaryFile(/tmp/multipartBody4562074320465660096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132993035,"filename":"image_21022025_10_43_25_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a572457f12bd7462ea21bd60d3c9cd29.jpg","text":"TemporaryFile(/tmp/multipartBody8867593777888463148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132993035,"filename":"image_21022025_10_43_55_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ea445644d3c4dbb9d1786e15a98b1658.jpg","text":"TemporaryFile(/tmp/multipartBody8178028748847353681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132993035,"filename":"image_21022025_10_43_04_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a715fa021b920e9a21acce2ae33fdb4.jpg","text":"TemporaryFile(/tmp/multipartBody1221935436491341664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132993035,"filename":"image_21022025_10_43_14_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9008e0000d88079f9cf745a308688a08.jpg","text":"TemporaryFile(/tmp/multipartBody6396613041588261728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740132993035,"filename":"image_21022025_10_42_55_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338798117","file1":"1338798108","file0":"1338798102","file4":"1338798164","file5":"1338798165","file3":"1338798162"},"map_files_photo_id_array":[{"photo_id":"1338798165","filename":"file5"},{"photo_id":"1338798117","filename":"file2"},{"photo_id":"1338798164","filename":"file4"},{"photo_id":"1338798108","filename":"file1"},{"photo_id":"1338798102","filename":"file0"},{"photo_id":"1338798162","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338798164":["hashtag1","hashtag2"]},{"1338798162":["hashtag1","hashtag2"]},{"1338798165":["hashtag1","hashtag2"]},{"1338798108":["hashtag1","hashtag2"]},{"1338798117":["hashtag1","hashtag2"]},{"1338798102":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338798164, 1338798162, 1338798165, 1338798108, 1338798117, 1338798102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.974862813949585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:16:32.843726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/43/image_21022025_10_44_04_9331.jpg', '/home/pi/Desktop/images/21022025/10/44/image_21022025_10_44_15_10360.jpg', '/home/pi/Desktop/images/21022025/10/44/image_21022025_10_44_24_9352.jpg', '/home/pi/Desktop/images/21022025/10/44/image_21022025_10_44_34_10324.jpg', '/home/pi/Desktop/images/21022025/10/44/image_21022025_10_44_45_10392.jpg', '/home/pi/Desktop/images/21022025/10/44/image_21022025_10_44_54_9325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/43/image_21022025_10_44_04_9331.jpg
/home/pi/Desktop/images/21022025/10/44/image_21022025_10_44_15_10360.jpg
/home/pi/Desktop/images/21022025/10/44/image_21022025_10_44_24_9352.jpg
/home/pi/Desktop/images/21022025/10/44/image_21022025_10_44_34_10324.jpg
/home/pi/Desktop/images/21022025/10/44/image_21022025_10_44_45_10392.jpg
/home/pi/Desktop/images/21022025/10/44/image_21022025_10_44_54_9325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338798266","1338798269","1338798233","1338798262","1338798252","1338798246"],"photo_ids_order":["1338798233","1338798246","1338798252","1338798262","1338798266","1338798269"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/65d7718da6d11aae6865ebf8205f6ff8.jpg","text":"TemporaryFile(/tmp/multipartBody749384092652592354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133053319,"filename":"image_21022025_10_44_45_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ca1ccf84622c97ab3ec7592226e74563.jpg","text":"TemporaryFile(/tmp/multipartBody5331420803351815210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133053319,"filename":"image_21022025_10_44_54_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/42746ee381cb4727ed43bd34a6b60627.jpg","text":"TemporaryFile(/tmp/multipartBody4660581289898657376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133053319,"filename":"image_21022025_10_44_04_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6db4f33056bda4ed04283212a21419d5.jpg","text":"TemporaryFile(/tmp/multipartBody8176930072812903815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133053319,"filename":"image_21022025_10_44_34_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cc908f70122f38c7ba6c3e1ca31aa83f.jpg","text":"TemporaryFile(/tmp/multipartBody1478931546891805900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133053319,"filename":"image_21022025_10_44_24_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0794aa1dbad68472b0d1836196ba6580.jpg","text":"TemporaryFile(/tmp/multipartBody7164978129363344423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133053319,"filename":"image_21022025_10_44_15_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338798252","file1":"1338798246","file0":"1338798233","file4":"1338798266","file5":"1338798269","file3":"1338798262"},"map_files_photo_id_array":[{"photo_id":"1338798269","filename":"file5"},{"photo_id":"1338798252","filename":"file2"},{"photo_id":"1338798266","filename":"file4"},{"photo_id":"1338798246","filename":"file1"},{"photo_id":"1338798233","filename":"file0"},{"photo_id":"1338798262","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338798266":["hashtag1","hashtag2"]},{"1338798269":["hashtag1","hashtag2"]},{"1338798233":["hashtag1","hashtag2"]},{"1338798262":["hashtag1","hashtag2"]},{"1338798252":["hashtag1","hashtag2"]},{"1338798246":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338798266, 1338798269, 1338798233, 1338798262, 1338798252, 1338798246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.509171724319458 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:17:33.005736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/44/image_21022025_10_45_04_10340.jpg', '/home/pi/Desktop/images/21022025/10/45/image_21022025_10_45_15_10381.jpg', '/home/pi/Desktop/images/21022025/10/45/image_21022025_10_45_24_9331.jpg', '/home/pi/Desktop/images/21022025/10/45/image_21022025_10_45_34_10392.jpg', '/home/pi/Desktop/images/21022025/10/45/image_21022025_10_45_45_10362.jpg', '/home/pi/Desktop/images/21022025/10/45/image_21022025_10_45_54_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/44/image_21022025_10_45_04_10340.jpg
/home/pi/Desktop/images/21022025/10/45/image_21022025_10_45_15_10381.jpg
/home/pi/Desktop/images/21022025/10/45/image_21022025_10_45_24_9331.jpg
/home/pi/Desktop/images/21022025/10/45/image_21022025_10_45_34_10392.jpg
/home/pi/Desktop/images/21022025/10/45/image_21022025_10_45_45_10362.jpg
/home/pi/Desktop/images/21022025/10/45/image_21022025_10_45_54_9336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338798365","1338798551","1338798539","1338798542","1338798318","1338798315"],"photo_ids_order":["1338798315","1338798318","1338798365","1338798539","1338798542","1338798551"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ba53da1305a23df217778b17b02a740c.jpg","text":"TemporaryFile(/tmp/multipartBody7474476835288169893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133113496,"filename":"image_21022025_10_45_24_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5daa6bd1412043864980b187a03d7292.jpg","text":"TemporaryFile(/tmp/multipartBody5241956453363802362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133113496,"filename":"image_21022025_10_45_54_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0c98ceca07fa0663a68ac536cbb3e111.jpg","text":"TemporaryFile(/tmp/multipartBody5021391543760973891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133113496,"filename":"image_21022025_10_45_34_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/252a7574f1993e6d89daf84b67f93a69.jpg","text":"TemporaryFile(/tmp/multipartBody6737001782960601196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133113496,"filename":"image_21022025_10_45_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fdfb7095266c4d8e637684494bf511f0.jpg","text":"TemporaryFile(/tmp/multipartBody8544594042375832307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133113496,"filename":"image_21022025_10_45_15_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b3065abb7c3b3a1a94aca4b3f79c114.jpg","text":"TemporaryFile(/tmp/multipartBody4665916655794164008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133113496,"filename":"image_21022025_10_45_04_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338798365","file1":"1338798318","file0":"1338798315","file4":"1338798542","file5":"1338798551","file3":"1338798539"},"map_files_photo_id_array":[{"photo_id":"1338798551","filename":"file5"},{"photo_id":"1338798365","filename":"file2"},{"photo_id":"1338798542","filename":"file4"},{"photo_id":"1338798318","filename":"file1"},{"photo_id":"1338798315","filename":"file0"},{"photo_id":"1338798539","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338798365":["hashtag1","hashtag2"]},{"1338798551":["hashtag1","hashtag2"]},{"1338798539":["hashtag1","hashtag2"]},{"1338798542":["hashtag1","hashtag2"]},{"1338798318":["hashtag1","hashtag2"]},{"1338798315":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338798365, 1338798551, 1338798539, 1338798542, 1338798318, 1338798315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26217079162598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:18:32.280070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/45/image_21022025_10_46_04_10340.jpg', '/home/pi/Desktop/images/21022025/10/46/image_21022025_10_46_15_10435.jpg', '/home/pi/Desktop/images/21022025/10/46/image_21022025_10_46_24_9335.jpg', '/home/pi/Desktop/images/21022025/10/46/image_21022025_10_46_34_10328.jpg', '/home/pi/Desktop/images/21022025/10/46/image_21022025_10_46_44_9376.jpg', '/home/pi/Desktop/images/21022025/10/46/image_21022025_10_46_54_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/45/image_21022025_10_46_04_10340.jpg
/home/pi/Desktop/images/21022025/10/46/image_21022025_10_46_15_10435.jpg
/home/pi/Desktop/images/21022025/10/46/image_21022025_10_46_24_9335.jpg
/home/pi/Desktop/images/21022025/10/46/image_21022025_10_46_34_10328.jpg
/home/pi/Desktop/images/21022025/10/46/image_21022025_10_46_44_9376.jpg
/home/pi/Desktop/images/21022025/10/46/image_21022025_10_46_54_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338798863","1338798877","1338798795","1338798879","1338798870","1338798873"],"photo_ids_order":["1338798795","1338798863","1338798870","1338798873","1338798877","1338798879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0bca0c3c09e4da738aa95446bf72a46a.jpg","text":"TemporaryFile(/tmp/multipartBody7366199238645632118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133172744,"filename":"image_21022025_10_46_15_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be8b4de0d8ecc44e70ef809dd5d057f8.jpg","text":"TemporaryFile(/tmp/multipartBody1213257938072185655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133172744,"filename":"image_21022025_10_46_44_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f0b803689ae1c48a2fd13edb6ec4e633.jpg","text":"TemporaryFile(/tmp/multipartBody7736092417552760335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133172744,"filename":"image_21022025_10_46_04_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/94e3aa53216362c10e77ff2078253c34.jpg","text":"TemporaryFile(/tmp/multipartBody7728785384926815140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133172744,"filename":"image_21022025_10_46_54_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef7de4ba5d5a8274a37941881ee58f9f.jpg","text":"TemporaryFile(/tmp/multipartBody3209325243644116734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133172744,"filename":"image_21022025_10_46_24_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f20813f35fa7e30b6e0293a65ae4922a.jpg","text":"TemporaryFile(/tmp/multipartBody3705443138977285224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133172744,"filename":"image_21022025_10_46_34_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338798870","file1":"1338798863","file0":"1338798795","file4":"1338798877","file5":"1338798879","file3":"1338798873"},"map_files_photo_id_array":[{"photo_id":"1338798879","filename":"file5"},{"photo_id":"1338798870","filename":"file2"},{"photo_id":"1338798877","filename":"file4"},{"photo_id":"1338798863","filename":"file1"},{"photo_id":"1338798795","filename":"file0"},{"photo_id":"1338798873","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338798863":["hashtag1","hashtag2"]},{"1338798877":["hashtag1","hashtag2"]},{"1338798795":["hashtag1","hashtag2"]},{"1338798879":["hashtag1","hashtag2"]},{"1338798870":["hashtag1","hashtag2"]},{"1338798873":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338798863, 1338798877, 1338798795, 1338798879, 1338798870, 1338798873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15743899345398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:19:32.455774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/47/image_21022025_10_47_14_9313.jpg', '/home/pi/Desktop/images/21022025/10/47/image_21022025_10_47_24_10344.jpg', '/home/pi/Desktop/images/21022025/10/47/image_21022025_10_47_35_10376.jpg', '/home/pi/Desktop/images/21022025/10/47/image_21022025_10_47_44_9332.jpg', '/home/pi/Desktop/images/21022025/10/47/image_21022025_10_47_54_10340.jpg', '/home/pi/Desktop/images/21022025/10/47/image_21022025_10_48_05_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/47/image_21022025_10_47_14_9313.jpg
/home/pi/Desktop/images/21022025/10/47/image_21022025_10_47_24_10344.jpg
/home/pi/Desktop/images/21022025/10/47/image_21022025_10_47_35_10376.jpg
/home/pi/Desktop/images/21022025/10/47/image_21022025_10_47_44_9332.jpg
/home/pi/Desktop/images/21022025/10/47/image_21022025_10_47_54_10340.jpg
/home/pi/Desktop/images/21022025/10/47/image_21022025_10_48_05_10464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338799229","1338799165","1338799539","1338799380","1338799305","1338799079"],"photo_ids_order":["1338799079","1338799165","1338799229","1338799305","1338799380","1338799539"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/41140616d382a4cb011b2a2d66050d90.jpg","text":"TemporaryFile(/tmp/multipartBody8777595662642346852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133232927,"filename":"image_21022025_10_47_35_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e49be51b1b613f0d044a41a04a58c4bb.jpg","text":"TemporaryFile(/tmp/multipartBody503396772752586750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133232927,"filename":"image_21022025_10_47_24_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8e6260d548142cbc17380b1e776f25b0.jpg","text":"TemporaryFile(/tmp/multipartBody4541603779023014439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133232927,"filename":"image_21022025_10_48_05_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/daf2635e8a718e477c7703e7724c9781.jpg","text":"TemporaryFile(/tmp/multipartBody1869407536633339282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133232927,"filename":"image_21022025_10_47_54_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c9800f2bb417e27d9c43168675e39f30.jpg","text":"TemporaryFile(/tmp/multipartBody1665862736887882984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133232927,"filename":"image_21022025_10_47_44_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b248a3db859b8f921a68716cbf5bc59d.jpg","text":"TemporaryFile(/tmp/multipartBody2367986346052449610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133232927,"filename":"image_21022025_10_47_14_9313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338799229","file1":"1338799165","file0":"1338799079","file4":"1338799380","file5":"1338799539","file3":"1338799305"},"map_files_photo_id_array":[{"photo_id":"1338799539","filename":"file5"},{"photo_id":"1338799229","filename":"file2"},{"photo_id":"1338799380","filename":"file4"},{"photo_id":"1338799165","filename":"file1"},{"photo_id":"1338799079","filename":"file0"},{"photo_id":"1338799305","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338799229":["hashtag1","hashtag2"]},{"1338799165":["hashtag1","hashtag2"]},{"1338799539":["hashtag1","hashtag2"]},{"1338799380":["hashtag1","hashtag2"]},{"1338799305":["hashtag1","hashtag2"]},{"1338799079":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338799229, 1338799165, 1338799539, 1338799380, 1338799305, 1338799079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.765605211257935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:20:32.728773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/48/image_21022025_10_48_14_9322.jpg', '/home/pi/Desktop/images/21022025/10/48/image_21022025_10_48_24_10362.jpg', '/home/pi/Desktop/images/21022025/10/48/image_21022025_10_48_35_10339.jpg', '/home/pi/Desktop/images/21022025/10/48/image_21022025_10_48_44_9326.jpg', '/home/pi/Desktop/images/21022025/10/48/image_21022025_10_48_55_10450.jpg', '/home/pi/Desktop/images/21022025/10/48/image_21022025_10_49_04_9314.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/48/image_21022025_10_48_14_9322.jpg
/home/pi/Desktop/images/21022025/10/48/image_21022025_10_48_24_10362.jpg
/home/pi/Desktop/images/21022025/10/48/image_21022025_10_48_35_10339.jpg
/home/pi/Desktop/images/21022025/10/48/image_21022025_10_48_44_9326.jpg
/home/pi/Desktop/images/21022025/10/48/image_21022025_10_48_55_10450.jpg
/home/pi/Desktop/images/21022025/10/48/image_21022025_10_49_04_9314.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338799585","1338799564","1338799576","1338799581","1338799566","1338799583"],"photo_ids_order":["1338799564","1338799566","1338799576","1338799581","1338799583","1338799585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b24bdabf8b12f743d981abcffeeb2281.jpg","text":"TemporaryFile(/tmp/multipartBody1373549875583750931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133293233,"filename":"image_21022025_10_49_04_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cc0040e4d1a1885f34950f704f82103c.jpg","text":"TemporaryFile(/tmp/multipartBody6250387122193727313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133293233,"filename":"image_21022025_10_48_14_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3efd7a2dd5ca1c591bb6f2a2da42aeab.jpg","text":"TemporaryFile(/tmp/multipartBody1356922505371861119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133293233,"filename":"image_21022025_10_48_35_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/527b45d9e5249055782f9d01f01b98a2.jpg","text":"TemporaryFile(/tmp/multipartBody75172684873550523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133293233,"filename":"image_21022025_10_48_44_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d065b9f3c7591750e88120a2e9e31221.jpg","text":"TemporaryFile(/tmp/multipartBody1430239005216077010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133293233,"filename":"image_21022025_10_48_24_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/944a761eab25f9c50e68fe2838adcfc7.jpg","text":"TemporaryFile(/tmp/multipartBody3557673481284648552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133293233,"filename":"image_21022025_10_48_55_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338799576","file1":"1338799566","file0":"1338799564","file4":"1338799583","file5":"1338799585","file3":"1338799581"},"map_files_photo_id_array":[{"photo_id":"1338799585","filename":"file5"},{"photo_id":"1338799576","filename":"file2"},{"photo_id":"1338799583","filename":"file4"},{"photo_id":"1338799566","filename":"file1"},{"photo_id":"1338799564","filename":"file0"},{"photo_id":"1338799581","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338799585":["hashtag1","hashtag2"]},{"1338799564":["hashtag1","hashtag2"]},{"1338799576":["hashtag1","hashtag2"]},{"1338799581":["hashtag1","hashtag2"]},{"1338799566":["hashtag1","hashtag2"]},{"1338799583":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338799585, 1338799564, 1338799576, 1338799581, 1338799566, 1338799583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.895359754562378 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:21:33.034719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/49/image_21022025_10_49_14_10318.jpg', '/home/pi/Desktop/images/21022025/10/49/image_21022025_10_49_25_10448.jpg', '/home/pi/Desktop/images/21022025/10/49/image_21022025_10_49_34_9363.jpg', '/home/pi/Desktop/images/21022025/10/49/image_21022025_10_49_44_10416.jpg', '/home/pi/Desktop/images/21022025/10/49/image_21022025_10_49_55_10384.jpg', '/home/pi/Desktop/images/21022025/10/49/image_21022025_10_50_04_9324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/49/image_21022025_10_49_14_10318.jpg
/home/pi/Desktop/images/21022025/10/49/image_21022025_10_49_25_10448.jpg
/home/pi/Desktop/images/21022025/10/49/image_21022025_10_49_34_9363.jpg
/home/pi/Desktop/images/21022025/10/49/image_21022025_10_49_44_10416.jpg
/home/pi/Desktop/images/21022025/10/49/image_21022025_10_49_55_10384.jpg
/home/pi/Desktop/images/21022025/10/49/image_21022025_10_50_04_9324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338799631","1338799613","1338799607","1338799615","1338799611","1338799623"],"photo_ids_order":["1338799607","1338799611","1338799613","1338799615","1338799623","1338799631"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/50cedac1a1eff04ddf7b1b6461eb2f6d.jpg","text":"TemporaryFile(/tmp/multipartBody1075757788831728925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133353501,"filename":"image_21022025_10_50_04_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/34a2c32484274f5467ef66b128233fbb.jpg","text":"TemporaryFile(/tmp/multipartBody1825052985152595584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133353501,"filename":"image_21022025_10_49_34_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/309281b554e86a5f0d64aa0699585046.jpg","text":"TemporaryFile(/tmp/multipartBody1472615384256988070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133353501,"filename":"image_21022025_10_49_14_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c96e14763a11937492abf6ff4132672a.jpg","text":"TemporaryFile(/tmp/multipartBody507915633854820301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133353501,"filename":"image_21022025_10_49_44_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3929ac375f91c3bc75c286a1f9a57d17.jpg","text":"TemporaryFile(/tmp/multipartBody7218843223403462965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133353501,"filename":"image_21022025_10_49_25_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9822f49c1fd9898ff6154af95b86b335.jpg","text":"TemporaryFile(/tmp/multipartBody99724137361893602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133353501,"filename":"image_21022025_10_49_55_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338799613","file1":"1338799611","file0":"1338799607","file4":"1338799623","file5":"1338799631","file3":"1338799615"},"map_files_photo_id_array":[{"photo_id":"1338799631","filename":"file5"},{"photo_id":"1338799613","filename":"file2"},{"photo_id":"1338799623","filename":"file4"},{"photo_id":"1338799611","filename":"file1"},{"photo_id":"1338799607","filename":"file0"},{"photo_id":"1338799615","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338799631":["hashtag1","hashtag2"]},{"1338799613":["hashtag1","hashtag2"]},{"1338799607":["hashtag1","hashtag2"]},{"1338799615":["hashtag1","hashtag2"]},{"1338799611":["hashtag1","hashtag2"]},{"1338799623":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338799631, 1338799613, 1338799607, 1338799615, 1338799611, 1338799623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.473888158798218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:22:32.159325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/50/image_21022025_10_50_15_10345.jpg', '/home/pi/Desktop/images/21022025/10/50/image_21022025_10_50_34_10335.jpg', '/home/pi/Desktop/images/21022025/10/50/image_21022025_10_50_45_10414.jpg', '/home/pi/Desktop/images/21022025/10/50/image_21022025_10_50_54_9342.jpg', '/home/pi/Desktop/images/21022025/10/50/image_21022025_10_51_04_10339.jpg', '/home/pi/Desktop/images/21022025/10/51/image_21022025_10_51_15_10319.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/50/image_21022025_10_50_15_10345.jpg
/home/pi/Desktop/images/21022025/10/50/image_21022025_10_50_34_10335.jpg
/home/pi/Desktop/images/21022025/10/50/image_21022025_10_50_45_10414.jpg
/home/pi/Desktop/images/21022025/10/50/image_21022025_10_50_54_9342.jpg
/home/pi/Desktop/images/21022025/10/50/image_21022025_10_51_04_10339.jpg
/home/pi/Desktop/images/21022025/10/51/image_21022025_10_51_15_10319.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338799678","1338799669","1338799671","1338799704","1338799673","1338799676"],"photo_ids_order":["1338799669","1338799671","1338799673","1338799676","1338799678","1338799704"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a761386d73d08ad3c87effbbf9f11450.jpg","text":"TemporaryFile(/tmp/multipartBody3449804085674550905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133412625,"filename":"image_21022025_10_51_04_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/390d7ad6a877c514081dc32bf4af08cd.jpg","text":"TemporaryFile(/tmp/multipartBody7902161681984895022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133412625,"filename":"image_21022025_10_50_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4ce9a7d922eb59b9b402a2442320265a.jpg","text":"TemporaryFile(/tmp/multipartBody1013893359708693228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133412625,"filename":"image_21022025_10_50_34_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/41c7c7f5ea28c301f2c67d56577dfd3e.jpg","text":"TemporaryFile(/tmp/multipartBody6475292738216941869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133412625,"filename":"image_21022025_10_51_15_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/68ea812e9a3259d512813ae86cdc068b.jpg","text":"TemporaryFile(/tmp/multipartBody8258181985039739245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133412625,"filename":"image_21022025_10_50_45_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ddbe05f2d9a97872e20754a50387182.jpg","text":"TemporaryFile(/tmp/multipartBody6530645748814599746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133412625,"filename":"image_21022025_10_50_54_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338799673","file1":"1338799671","file0":"1338799669","file4":"1338799678","file5":"1338799704","file3":"1338799676"},"map_files_photo_id_array":[{"photo_id":"1338799704","filename":"file5"},{"photo_id":"1338799673","filename":"file2"},{"photo_id":"1338799678","filename":"file4"},{"photo_id":"1338799671","filename":"file1"},{"photo_id":"1338799669","filename":"file0"},{"photo_id":"1338799676","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338799678":["hashtag1","hashtag2"]},{"1338799669":["hashtag1","hashtag2"]},{"1338799671":["hashtag1","hashtag2"]},{"1338799704":["hashtag1","hashtag2"]},{"1338799673":["hashtag1","hashtag2"]},{"1338799676":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338799678, 1338799669, 1338799671, 1338799704, 1338799673, 1338799676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.523082494735718 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:23:32.377167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/51/image_21022025_10_51_24_9416.jpg', '/home/pi/Desktop/images/21022025/10/51/image_21022025_10_51_34_10330.jpg', '/home/pi/Desktop/images/21022025/10/51/image_21022025_10_51_45_10403.jpg', '/home/pi/Desktop/images/21022025/10/51/image_21022025_10_51_54_9348.jpg', '/home/pi/Desktop/images/21022025/10/51/image_21022025_10_52_05_10453.jpg', '/home/pi/Desktop/images/21022025/10/52/image_21022025_10_52_14_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/51/image_21022025_10_51_24_9416.jpg
/home/pi/Desktop/images/21022025/10/51/image_21022025_10_51_34_10330.jpg
/home/pi/Desktop/images/21022025/10/51/image_21022025_10_51_45_10403.jpg
/home/pi/Desktop/images/21022025/10/51/image_21022025_10_51_54_9348.jpg
/home/pi/Desktop/images/21022025/10/51/image_21022025_10_52_05_10453.jpg
/home/pi/Desktop/images/21022025/10/52/image_21022025_10_52_14_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338799750","1338799741","1338799752","1338799746","1338799754","1338799748"],"photo_ids_order":["1338799741","1338799746","1338799748","1338799750","1338799752","1338799754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62ebafc800d8d988a76f525f8da49707.jpg","text":"TemporaryFile(/tmp/multipartBody7346607270515492941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133472842,"filename":"image_21022025_10_51_54_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ab8c299125f48d111fc0cba0b5305a02.jpg","text":"TemporaryFile(/tmp/multipartBody5141871838199226644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133472842,"filename":"image_21022025_10_51_24_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/809d6d2fa44a7e27e8604f8577a8f370.jpg","text":"TemporaryFile(/tmp/multipartBody263962873647334613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133472842,"filename":"image_21022025_10_52_05_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/25084205a0b84741f83254ac023d9d1d.jpg","text":"TemporaryFile(/tmp/multipartBody2891870059010901825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133472842,"filename":"image_21022025_10_51_34_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dc584dd2862c34466753675c6f150412.jpg","text":"TemporaryFile(/tmp/multipartBody4332888115586473235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133472842,"filename":"image_21022025_10_52_14_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/97c8dd0c8aa758512e51275777b87782.jpg","text":"TemporaryFile(/tmp/multipartBody5893274281316629483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133472842,"filename":"image_21022025_10_51_45_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338799748","file1":"1338799746","file0":"1338799741","file4":"1338799752","file5":"1338799754","file3":"1338799750"},"map_files_photo_id_array":[{"photo_id":"1338799754","filename":"file5"},{"photo_id":"1338799748","filename":"file2"},{"photo_id":"1338799752","filename":"file4"},{"photo_id":"1338799746","filename":"file1"},{"photo_id":"1338799741","filename":"file0"},{"photo_id":"1338799750","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338799750":["hashtag1","hashtag2"]},{"1338799741":["hashtag1","hashtag2"]},{"1338799752":["hashtag1","hashtag2"]},{"1338799746":["hashtag1","hashtag2"]},{"1338799754":["hashtag1","hashtag2"]},{"1338799748":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338799750, 1338799741, 1338799752, 1338799746, 1338799754, 1338799748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36986255645752 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:24:32.630150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/52/image_21022025_10_52_24_10344.jpg', '/home/pi/Desktop/images/21022025/10/52/image_21022025_10_52_35_10334.jpg', '/home/pi/Desktop/images/21022025/10/52/image_21022025_10_52_54_10362.jpg', '/home/pi/Desktop/images/21022025/10/52/image_21022025_10_53_05_10406.jpg', '/home/pi/Desktop/images/21022025/10/53/image_21022025_10_53_14_9309.jpg', '/home/pi/Desktop/images/21022025/10/53/image_21022025_10_53_24_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/52/image_21022025_10_52_24_10344.jpg
/home/pi/Desktop/images/21022025/10/52/image_21022025_10_52_35_10334.jpg
/home/pi/Desktop/images/21022025/10/52/image_21022025_10_52_54_10362.jpg
/home/pi/Desktop/images/21022025/10/52/image_21022025_10_53_05_10406.jpg
/home/pi/Desktop/images/21022025/10/53/image_21022025_10_53_14_9309.jpg
/home/pi/Desktop/images/21022025/10/53/image_21022025_10_53_24_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338799817","1338799821","1338799830","1338799824","1338799827","1338799814"],"photo_ids_order":["1338799814","1338799817","1338799821","1338799824","1338799827","1338799830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e14308da7deec4d3b620238d76a22fb.jpg","text":"TemporaryFile(/tmp/multipartBody8117497138993847213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133533100,"filename":"image_21022025_10_52_35_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1088a8bf846f573b2a7981c6efe24b6.jpg","text":"TemporaryFile(/tmp/multipartBody2282449667419466760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133533100,"filename":"image_21022025_10_52_54_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f7a5960c6715844935f11bb3ee3bd9d.jpg","text":"TemporaryFile(/tmp/multipartBody4723827892960349190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133533100,"filename":"image_21022025_10_53_24_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c4d133d105645777a1561692f723a359.jpg","text":"TemporaryFile(/tmp/multipartBody4486148751517067009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133533100,"filename":"image_21022025_10_53_05_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ab473bc7c0558cac8c7c63ec86556e5.jpg","text":"TemporaryFile(/tmp/multipartBody7386615770947271138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133533100,"filename":"image_21022025_10_53_14_9309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/64f6d77e27be364536824717ee751fe0.jpg","text":"TemporaryFile(/tmp/multipartBody3629008956035710843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133533100,"filename":"image_21022025_10_52_24_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338799821","file1":"1338799817","file0":"1338799814","file4":"1338799827","file5":"1338799830","file3":"1338799824"},"map_files_photo_id_array":[{"photo_id":"1338799830","filename":"file5"},{"photo_id":"1338799821","filename":"file2"},{"photo_id":"1338799827","filename":"file4"},{"photo_id":"1338799817","filename":"file1"},{"photo_id":"1338799814","filename":"file0"},{"photo_id":"1338799824","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338799817":["hashtag1","hashtag2"]},{"1338799821":["hashtag1","hashtag2"]},{"1338799830":["hashtag1","hashtag2"]},{"1338799824":["hashtag1","hashtag2"]},{"1338799827":["hashtag1","hashtag2"]},{"1338799814":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338799817, 1338799821, 1338799830, 1338799824, 1338799827, 1338799814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.62250876426697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:25:32.829767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/53/image_21022025_10_53_35_10331.jpg', '/home/pi/Desktop/images/21022025/10/53/image_21022025_10_53_44_9331.jpg', '/home/pi/Desktop/images/21022025/10/53/image_21022025_10_53_54_10351.jpg', '/home/pi/Desktop/images/21022025/10/53/image_21022025_10_54_05_10419.jpg', '/home/pi/Desktop/images/21022025/10/54/image_21022025_10_54_14_9319.jpg', '/home/pi/Desktop/images/21022025/10/54/image_21022025_10_54_25_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/53/image_21022025_10_53_35_10331.jpg
/home/pi/Desktop/images/21022025/10/53/image_21022025_10_53_44_9331.jpg
/home/pi/Desktop/images/21022025/10/53/image_21022025_10_53_54_10351.jpg
/home/pi/Desktop/images/21022025/10/53/image_21022025_10_54_05_10419.jpg
/home/pi/Desktop/images/21022025/10/54/image_21022025_10_54_14_9319.jpg
/home/pi/Desktop/images/21022025/10/54/image_21022025_10_54_25_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338799924","1338799918","1338799921","1338799915","1338799909","1338799913"],"photo_ids_order":["1338799909","1338799913","1338799915","1338799918","1338799921","1338799924"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b9ba4911fa27d55775360965005807d3.jpg","text":"TemporaryFile(/tmp/multipartBody8670444965955308565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133593304,"filename":"image_21022025_10_54_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/08030befdf1cc6f21a2ad6bc89f641bf.jpg","text":"TemporaryFile(/tmp/multipartBody7235665596808747448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133593304,"filename":"image_21022025_10_54_05_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/abb80a669825099bed822d4e44ff2d79.jpg","text":"TemporaryFile(/tmp/multipartBody8931052842853016028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133593304,"filename":"image_21022025_10_54_14_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c5e899d9b9862c6f18330a4c36ab77c.jpg","text":"TemporaryFile(/tmp/multipartBody6614511540607368694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133593304,"filename":"image_21022025_10_53_54_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/15b2ea5a0783833f13aaf9dbdaddfde4.jpg","text":"TemporaryFile(/tmp/multipartBody6936105723305165154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133593304,"filename":"image_21022025_10_53_35_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d5b72e07736a1e77e4d57f2ba1608d49.jpg","text":"TemporaryFile(/tmp/multipartBody7752275741418960437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133593304,"filename":"image_21022025_10_53_44_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338799915","file1":"1338799913","file0":"1338799909","file4":"1338799921","file5":"1338799924","file3":"1338799918"},"map_files_photo_id_array":[{"photo_id":"1338799924","filename":"file5"},{"photo_id":"1338799915","filename":"file2"},{"photo_id":"1338799921","filename":"file4"},{"photo_id":"1338799913","filename":"file1"},{"photo_id":"1338799909","filename":"file0"},{"photo_id":"1338799918","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338799924":["hashtag1","hashtag2"]},{"1338799918":["hashtag1","hashtag2"]},{"1338799921":["hashtag1","hashtag2"]},{"1338799915":["hashtag1","hashtag2"]},{"1338799909":["hashtag1","hashtag2"]},{"1338799913":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338799924, 1338799918, 1338799921, 1338799915, 1338799909, 1338799913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.232284545898438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:26:33.197491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/54/image_21022025_10_54_34_9417.jpg', '/home/pi/Desktop/images/21022025/10/54/image_21022025_10_54_44_10341.jpg', '/home/pi/Desktop/images/21022025/10/54/image_21022025_10_54_55_10389.jpg', '/home/pi/Desktop/images/21022025/10/54/image_21022025_10_55_04_9383.jpg', '/home/pi/Desktop/images/21022025/10/55/image_21022025_10_55_14_10336.jpg', '/home/pi/Desktop/images/21022025/10/55/image_21022025_10_55_25_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/54/image_21022025_10_54_34_9417.jpg
/home/pi/Desktop/images/21022025/10/54/image_21022025_10_54_44_10341.jpg
/home/pi/Desktop/images/21022025/10/54/image_21022025_10_54_55_10389.jpg
/home/pi/Desktop/images/21022025/10/54/image_21022025_10_55_04_9383.jpg
/home/pi/Desktop/images/21022025/10/55/image_21022025_10_55_14_10336.jpg
/home/pi/Desktop/images/21022025/10/55/image_21022025_10_55_25_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338800077","1338800247","1338800154","1338800270","1338800267","1338800054"],"photo_ids_order":["1338800054","1338800077","1338800154","1338800247","1338800267","1338800270"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8745ec4b5462d0efdaa7b203a98fe5c.jpg","text":"TemporaryFile(/tmp/multipartBody1721614552337107731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133653666,"filename":"image_21022025_10_54_44_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5324361ea6a7e027a917a7b37f029e22.jpg","text":"TemporaryFile(/tmp/multipartBody6792409088074645965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133653666,"filename":"image_21022025_10_55_04_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5793d6c11f72912ff75fda8974c371f8.jpg","text":"TemporaryFile(/tmp/multipartBody7083730929672473598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133653666,"filename":"image_21022025_10_54_55_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/08aa7e10460824bd3d177b33ae4cd058.jpg","text":"TemporaryFile(/tmp/multipartBody1183749528892376551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133653666,"filename":"image_21022025_10_55_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3acaef10a01b23a00aa27e8a1a47b42.jpg","text":"TemporaryFile(/tmp/multipartBody8258674167890170650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133653666,"filename":"image_21022025_10_55_14_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61b37d4c6c31eba07fed6dda0a5b5b8e.jpg","text":"TemporaryFile(/tmp/multipartBody7037860828269760187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133653666,"filename":"image_21022025_10_54_34_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338800154","file1":"1338800077","file0":"1338800054","file4":"1338800267","file5":"1338800270","file3":"1338800247"},"map_files_photo_id_array":[{"photo_id":"1338800270","filename":"file5"},{"photo_id":"1338800154","filename":"file2"},{"photo_id":"1338800267","filename":"file4"},{"photo_id":"1338800077","filename":"file1"},{"photo_id":"1338800054","filename":"file0"},{"photo_id":"1338800247","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338800077":["hashtag1","hashtag2"]},{"1338800247":["hashtag1","hashtag2"]},{"1338800154":["hashtag1","hashtag2"]},{"1338800270":["hashtag1","hashtag2"]},{"1338800267":["hashtag1","hashtag2"]},{"1338800054":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338800077, 1338800247, 1338800154, 1338800270, 1338800267, 1338800054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6289963722229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:27:32.330611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/55/image_21022025_10_55_34_9321.jpg', '/home/pi/Desktop/images/21022025/10/55/image_21022025_10_55_44_10331.jpg', '/home/pi/Desktop/images/21022025/10/55/image_21022025_10_55_55_10429.jpg', '/home/pi/Desktop/images/21022025/10/55/image_21022025_10_56_04_9318.jpg', '/home/pi/Desktop/images/21022025/10/56/image_21022025_10_56_15_10347.jpg', '/home/pi/Desktop/images/21022025/10/56/image_21022025_10_56_24_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/55/image_21022025_10_55_34_9321.jpg
/home/pi/Desktop/images/21022025/10/55/image_21022025_10_55_44_10331.jpg
/home/pi/Desktop/images/21022025/10/55/image_21022025_10_55_55_10429.jpg
/home/pi/Desktop/images/21022025/10/55/image_21022025_10_56_04_9318.jpg
/home/pi/Desktop/images/21022025/10/56/image_21022025_10_56_15_10347.jpg
/home/pi/Desktop/images/21022025/10/56/image_21022025_10_56_24_9399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338800403","1338800396","1338800400","1338800392","1338800389","1338800386"],"photo_ids_order":["1338800386","1338800389","1338800392","1338800396","1338800400","1338800403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ddbdd1c1ca543fbd66ed5410a883e946.jpg","text":"TemporaryFile(/tmp/multipartBody489121227901330766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133712813,"filename":"image_21022025_10_56_24_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/18b30aca48db3e79a5448571be7ce480.jpg","text":"TemporaryFile(/tmp/multipartBody5326247251903453699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133712813,"filename":"image_21022025_10_56_04_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/26962090ebba359a92c104234a8496ba.jpg","text":"TemporaryFile(/tmp/multipartBody483221056487926396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133712813,"filename":"image_21022025_10_56_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c9455708dbd1537d1e1d867121d9a008.jpg","text":"TemporaryFile(/tmp/multipartBody353599586735530845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133712813,"filename":"image_21022025_10_55_55_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f729694c2143bba6aa1142e3e6220c8.jpg","text":"TemporaryFile(/tmp/multipartBody7823491136932757776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133712813,"filename":"image_21022025_10_55_44_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/69ad0651321de09a9eebdc1c44058eb6.jpg","text":"TemporaryFile(/tmp/multipartBody3629941263358249639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133712813,"filename":"image_21022025_10_55_34_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338800392","file1":"1338800389","file0":"1338800386","file4":"1338800400","file5":"1338800403","file3":"1338800396"},"map_files_photo_id_array":[{"photo_id":"1338800403","filename":"file5"},{"photo_id":"1338800392","filename":"file2"},{"photo_id":"1338800400","filename":"file4"},{"photo_id":"1338800389","filename":"file1"},{"photo_id":"1338800386","filename":"file0"},{"photo_id":"1338800396","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338800403":["hashtag1","hashtag2"]},{"1338800396":["hashtag1","hashtag2"]},{"1338800400":["hashtag1","hashtag2"]},{"1338800392":["hashtag1","hashtag2"]},{"1338800389":["hashtag1","hashtag2"]},{"1338800386":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338800403, 1338800396, 1338800400, 1338800392, 1338800389, 1338800386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.11661458015442 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:28:32.512316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/56/image_21022025_10_56_34_10316.jpg', '/home/pi/Desktop/images/21022025/10/56/image_21022025_10_56_54_9355.jpg', '/home/pi/Desktop/images/21022025/10/56/image_21022025_10_57_04_10343.jpg', '/home/pi/Desktop/images/21022025/10/57/image_21022025_10_57_15_10404.jpg', '/home/pi/Desktop/images/21022025/10/57/image_21022025_10_57_24_9349.jpg', '/home/pi/Desktop/images/21022025/10/57/image_21022025_10_57_45_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/56/image_21022025_10_56_34_10316.jpg
/home/pi/Desktop/images/21022025/10/56/image_21022025_10_56_54_9355.jpg
/home/pi/Desktop/images/21022025/10/56/image_21022025_10_57_04_10343.jpg
/home/pi/Desktop/images/21022025/10/57/image_21022025_10_57_15_10404.jpg
/home/pi/Desktop/images/21022025/10/57/image_21022025_10_57_24_9349.jpg
/home/pi/Desktop/images/21022025/10/57/image_21022025_10_57_45_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338800430","1338800424","1338800418","1338800433","1338800427","1338800441"],"photo_ids_order":["1338800418","1338800424","1338800427","1338800430","1338800433","1338800441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/820b8293744f7a47316aca376831e4e2.jpg","text":"TemporaryFile(/tmp/multipartBody5230775412648578830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133772986,"filename":"image_21022025_10_57_15_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/001786713d68e64b2fef826176491a79.jpg","text":"TemporaryFile(/tmp/multipartBody6582809681520778666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133772986,"filename":"image_21022025_10_56_54_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b83656c2df59f54fcbaec7d0ffb69d0.jpg","text":"TemporaryFile(/tmp/multipartBody5512854874767076572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133772986,"filename":"image_21022025_10_56_34_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cdec84f02409c8e984aa1fe7a0f73d2e.jpg","text":"TemporaryFile(/tmp/multipartBody2765598505662126692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133772986,"filename":"image_21022025_10_57_24_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/18d77306dc902225c243e1cfc06fa155.jpg","text":"TemporaryFile(/tmp/multipartBody6421672461314837069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133772986,"filename":"image_21022025_10_57_04_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ffc0d3345f1d8fbb2409cdf728389ad7.jpg","text":"TemporaryFile(/tmp/multipartBody6270821253219184614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133772986,"filename":"image_21022025_10_57_45_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338800427","file1":"1338800424","file0":"1338800418","file4":"1338800433","file5":"1338800441","file3":"1338800430"},"map_files_photo_id_array":[{"photo_id":"1338800441","filename":"file5"},{"photo_id":"1338800427","filename":"file2"},{"photo_id":"1338800433","filename":"file4"},{"photo_id":"1338800424","filename":"file1"},{"photo_id":"1338800418","filename":"file0"},{"photo_id":"1338800430","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338800430":["hashtag1","hashtag2"]},{"1338800424":["hashtag1","hashtag2"]},{"1338800418":["hashtag1","hashtag2"]},{"1338800433":["hashtag1","hashtag2"]},{"1338800427":["hashtag1","hashtag2"]},{"1338800441":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338800430, 1338800424, 1338800418, 1338800433, 1338800427, 1338800441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5686559677124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:29:32.876477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/57/image_21022025_10_57_54_9340.jpg', '/home/pi/Desktop/images/21022025/10/57/image_21022025_10_58_05_10455.jpg', '/home/pi/Desktop/images/21022025/10/58/image_21022025_10_58_14_9346.jpg', '/home/pi/Desktop/images/21022025/10/58/image_21022025_10_58_24_10334.jpg', '/home/pi/Desktop/images/21022025/10/58/image_21022025_10_58_35_10413.jpg', '/home/pi/Desktop/images/21022025/10/58/image_21022025_10_58_44_9321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/57/image_21022025_10_57_54_9340.jpg
/home/pi/Desktop/images/21022025/10/57/image_21022025_10_58_05_10455.jpg
/home/pi/Desktop/images/21022025/10/58/image_21022025_10_58_14_9346.jpg
/home/pi/Desktop/images/21022025/10/58/image_21022025_10_58_24_10334.jpg
/home/pi/Desktop/images/21022025/10/58/image_21022025_10_58_35_10413.jpg
/home/pi/Desktop/images/21022025/10/58/image_21022025_10_58_44_9321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338800608","1338800472","1338800469","1338800457","1338800604","1338800464"],"photo_ids_order":["1338800457","1338800464","1338800469","1338800472","1338800604","1338800608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/069baeb03312f7ecb66441cbc40a1d87.jpg","text":"TemporaryFile(/tmp/multipartBody398742704065660648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133833354,"filename":"image_21022025_10_58_44_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62682b40203c386a5540db1a45e6a975.jpg","text":"TemporaryFile(/tmp/multipartBody4718425176396045620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133833354,"filename":"image_21022025_10_58_24_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6fdb06b3030ef333952e853dab4a62bc.jpg","text":"TemporaryFile(/tmp/multipartBody1629250193184810077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133833354,"filename":"image_21022025_10_58_14_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/638f51bff6d74a63a4cbe08173a75c1b.jpg","text":"TemporaryFile(/tmp/multipartBody7023622345975552400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133833354,"filename":"image_21022025_10_57_54_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/47fd6049ea7a827af8a7a5fca1e37061.jpg","text":"TemporaryFile(/tmp/multipartBody4407136764133786576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133833354,"filename":"image_21022025_10_58_35_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a6620291bc8b8a57b24a885bc8dca8b2.jpg","text":"TemporaryFile(/tmp/multipartBody6515582401338072248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133833354,"filename":"image_21022025_10_58_05_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338800469","file1":"1338800464","file0":"1338800457","file4":"1338800604","file5":"1338800608","file3":"1338800472"},"map_files_photo_id_array":[{"photo_id":"1338800608","filename":"file5"},{"photo_id":"1338800469","filename":"file2"},{"photo_id":"1338800604","filename":"file4"},{"photo_id":"1338800464","filename":"file1"},{"photo_id":"1338800457","filename":"file0"},{"photo_id":"1338800472","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338800608":["hashtag1","hashtag2"]},{"1338800472":["hashtag1","hashtag2"]},{"1338800469":["hashtag1","hashtag2"]},{"1338800457":["hashtag1","hashtag2"]},{"1338800604":["hashtag1","hashtag2"]},{"1338800464":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338800608, 1338800472, 1338800469, 1338800457, 1338800604, 1338800464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67348766326904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:30:33.095117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/58/image_21022025_10_58_54_10337.jpg', '/home/pi/Desktop/images/21022025/10/58/image_21022025_10_59_05_10401.jpg', '/home/pi/Desktop/images/21022025/10/59/image_21022025_10_59_14_9323.jpg', '/home/pi/Desktop/images/21022025/10/59/image_21022025_10_59_24_10332.jpg', '/home/pi/Desktop/images/21022025/10/59/image_21022025_10_59_35_10404.jpg', '/home/pi/Desktop/images/21022025/10/59/image_21022025_10_59_44_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/58/image_21022025_10_58_54_10337.jpg
/home/pi/Desktop/images/21022025/10/58/image_21022025_10_59_05_10401.jpg
/home/pi/Desktop/images/21022025/10/59/image_21022025_10_59_14_9323.jpg
/home/pi/Desktop/images/21022025/10/59/image_21022025_10_59_24_10332.jpg
/home/pi/Desktop/images/21022025/10/59/image_21022025_10_59_35_10404.jpg
/home/pi/Desktop/images/21022025/10/59/image_21022025_10_59_44_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338800647","1338800629","1338800637","1338800625","1338800639","1338800633"],"photo_ids_order":["1338800625","1338800629","1338800633","1338800637","1338800639","1338800647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d21d716b9ad94b81a453e4079249bd5e.jpg","text":"TemporaryFile(/tmp/multipartBody7730253538377538975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133893569,"filename":"image_21022025_10_59_44_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d9fa49d22fcc454a0f5c7be7c638762.jpg","text":"TemporaryFile(/tmp/multipartBody8629128212728448742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133893569,"filename":"image_21022025_10_59_05_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d3bdafd465710a4d2cc9621445fd1569.jpg","text":"TemporaryFile(/tmp/multipartBody1394504894376618428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133893569,"filename":"image_21022025_10_59_24_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/815f9e0a2fb81600dfced6d5c50d1eb2.jpg","text":"TemporaryFile(/tmp/multipartBody9105489051514391244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133893569,"filename":"image_21022025_10_58_54_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/24b09d1624cb5ae5ae62c9f89dace5c0.jpg","text":"TemporaryFile(/tmp/multipartBody7301739802870325533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133893569,"filename":"image_21022025_10_59_35_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fe8e1a6cc001c117f01f80a4db85be0c.jpg","text":"TemporaryFile(/tmp/multipartBody748830316203481131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133893569,"filename":"image_21022025_10_59_14_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338800633","file1":"1338800629","file0":"1338800625","file4":"1338800639","file5":"1338800647","file3":"1338800637"},"map_files_photo_id_array":[{"photo_id":"1338800647","filename":"file5"},{"photo_id":"1338800633","filename":"file2"},{"photo_id":"1338800639","filename":"file4"},{"photo_id":"1338800629","filename":"file1"},{"photo_id":"1338800625","filename":"file0"},{"photo_id":"1338800637","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338800647":["hashtag1","hashtag2"]},{"1338800629":["hashtag1","hashtag2"]},{"1338800637":["hashtag1","hashtag2"]},{"1338800625":["hashtag1","hashtag2"]},{"1338800639":["hashtag1","hashtag2"]},{"1338800633":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338800647, 1338800629, 1338800637, 1338800625, 1338800639, 1338800633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.914600133895874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:31:32.300885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/10/59/image_21022025_10_59_54_10342.jpg', '/home/pi/Desktop/images/21022025/11/01/image_21022025_11_01_15_10069.jpg', '/home/pi/Desktop/images/21022025/11/01/image_21022025_11_01_25_10432.jpg', '/home/pi/Desktop/images/21022025/11/01/image_21022025_11_01_35_10317.jpg', '/home/pi/Desktop/images/21022025/11/01/image_21022025_11_01_45_9322.jpg', '/home/pi/Desktop/images/21022025/11/01/image_21022025_11_01_55_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/10/59/image_21022025_10_59_54_10342.jpg
/home/pi/Desktop/images/21022025/11/01/image_21022025_11_01_15_10069.jpg
/home/pi/Desktop/images/21022025/11/01/image_21022025_11_01_25_10432.jpg
/home/pi/Desktop/images/21022025/11/01/image_21022025_11_01_35_10317.jpg
/home/pi/Desktop/images/21022025/11/01/image_21022025_11_01_45_9322.jpg
/home/pi/Desktop/images/21022025/11/01/image_21022025_11_01_55_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338800925","1338800910","1338800832","1338800829","1338800825","1338800869"],"photo_ids_order":["1338800825","1338800829","1338800832","1338800869","1338800910","1338800925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/48aa06c0db7c5ead5174fc63cedf244a.jpg","text":"TemporaryFile(/tmp/multipartBody3971321444225488812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133952759,"filename":"image_21022025_11_01_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c542e5c04426a3db8762acb1daab2a69.jpg","text":"TemporaryFile(/tmp/multipartBody4764244809199954443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133952759,"filename":"image_21022025_11_01_45_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aa2416a738819d526aa1f698ea52fd6e.jpg","text":"TemporaryFile(/tmp/multipartBody7256495026633448620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133952759,"filename":"image_21022025_11_01_25_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3b71a04f96553705b44ab0428c1abd47.jpg","text":"TemporaryFile(/tmp/multipartBody7197700481611021575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133952759,"filename":"image_21022025_11_01_15_10069.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/97e88b7d8f65e4f381cfda73b028d914.jpg","text":"TemporaryFile(/tmp/multipartBody2320638062322065035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133952759,"filename":"image_21022025_10_59_54_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1abe364112d7d52475f5abbd62036f1.jpg","text":"TemporaryFile(/tmp/multipartBody3266668353634805442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740133952759,"filename":"image_21022025_11_01_35_10317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338800832","file1":"1338800829","file0":"1338800825","file4":"1338800910","file5":"1338800925","file3":"1338800869"},"map_files_photo_id_array":[{"photo_id":"1338800925","filename":"file5"},{"photo_id":"1338800832","filename":"file2"},{"photo_id":"1338800910","filename":"file4"},{"photo_id":"1338800829","filename":"file1"},{"photo_id":"1338800825","filename":"file0"},{"photo_id":"1338800869","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338800925":["hashtag1","hashtag2"]},{"1338800910":["hashtag1","hashtag2"]},{"1338800832":["hashtag1","hashtag2"]},{"1338800829":["hashtag1","hashtag2"]},{"1338800825":["hashtag1","hashtag2"]},{"1338800869":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338800925, 1338800910, 1338800832, 1338800829, 1338800825, 1338800869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.997929334640503 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:32:32.488951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/01/image_21022025_11_02_05_10431.jpg', '/home/pi/Desktop/images/21022025/11/02/image_21022025_11_02_15_9409.jpg', '/home/pi/Desktop/images/21022025/11/02/image_21022025_11_02_25_10353.jpg', '/home/pi/Desktop/images/21022025/11/02/image_21022025_11_02_35_9420.jpg', '/home/pi/Desktop/images/21022025/11/02/image_21022025_11_02_45_10348.jpg', '/home/pi/Desktop/images/21022025/11/02/image_21022025_11_02_55_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/01/image_21022025_11_02_05_10431.jpg
/home/pi/Desktop/images/21022025/11/02/image_21022025_11_02_15_9409.jpg
/home/pi/Desktop/images/21022025/11/02/image_21022025_11_02_25_10353.jpg
/home/pi/Desktop/images/21022025/11/02/image_21022025_11_02_35_9420.jpg
/home/pi/Desktop/images/21022025/11/02/image_21022025_11_02_45_10348.jpg
/home/pi/Desktop/images/21022025/11/02/image_21022025_11_02_55_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338801010","1338801002","1338801011","1338801005","1338801008","1338800998"],"photo_ids_order":["1338800998","1338801002","1338801005","1338801008","1338801010","1338801011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/da00d2cb91d587d6679fac2a39057f65.jpg","text":"TemporaryFile(/tmp/multipartBody454685183242183383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134012958,"filename":"image_21022025_11_02_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/226267e555b7b48b2d0d63d81430b4c2.jpg","text":"TemporaryFile(/tmp/multipartBody8249155364190799418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134012958,"filename":"image_21022025_11_02_15_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5899cb525b92f0c190ad536af70d73e6.jpg","text":"TemporaryFile(/tmp/multipartBody8595021315547257642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134012958,"filename":"image_21022025_11_02_55_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7e85b06fe641fbdef0b26ff38c9e9277.jpg","text":"TemporaryFile(/tmp/multipartBody5124687902468305447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134012958,"filename":"image_21022025_11_02_25_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/add01a1f85fd8ddcb72861e63fd1464b.jpg","text":"TemporaryFile(/tmp/multipartBody3785744669471761079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134012958,"filename":"image_21022025_11_02_35_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4fb41e9eef11049606591ea7b1f14c2.jpg","text":"TemporaryFile(/tmp/multipartBody826564738206983922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134012958,"filename":"image_21022025_11_02_05_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338801005","file1":"1338801002","file0":"1338800998","file4":"1338801010","file5":"1338801011","file3":"1338801008"},"map_files_photo_id_array":[{"photo_id":"1338801011","filename":"file5"},{"photo_id":"1338801005","filename":"file2"},{"photo_id":"1338801010","filename":"file4"},{"photo_id":"1338801002","filename":"file1"},{"photo_id":"1338800998","filename":"file0"},{"photo_id":"1338801008","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338801010":["hashtag1","hashtag2"]},{"1338801002":["hashtag1","hashtag2"]},{"1338801011":["hashtag1","hashtag2"]},{"1338801005":["hashtag1","hashtag2"]},{"1338801008":["hashtag1","hashtag2"]},{"1338800998":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338801010, 1338801002, 1338801011, 1338801005, 1338801008, 1338800998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.562050819396973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:33:32.754500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/02/image_21022025_11_03_05_9441.jpg', '/home/pi/Desktop/images/21022025/11/03/image_21022025_11_03_25_9430.jpg', '/home/pi/Desktop/images/21022025/11/03/image_21022025_11_03_35_10326.jpg', '/home/pi/Desktop/images/21022025/11/03/image_21022025_11_03_45_10341.jpg', '/home/pi/Desktop/images/21022025/11/03/image_21022025_11_03_55_9395.jpg', '/home/pi/Desktop/images/21022025/11/03/image_21022025_11_04_05_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/02/image_21022025_11_03_05_9441.jpg
/home/pi/Desktop/images/21022025/11/03/image_21022025_11_03_25_9430.jpg
/home/pi/Desktop/images/21022025/11/03/image_21022025_11_03_35_10326.jpg
/home/pi/Desktop/images/21022025/11/03/image_21022025_11_03_45_10341.jpg
/home/pi/Desktop/images/21022025/11/03/image_21022025_11_03_55_9395.jpg
/home/pi/Desktop/images/21022025/11/03/image_21022025_11_04_05_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338801030","1338801033","1338801035","1338801032","1338801034","1338801028"],"photo_ids_order":["1338801028","1338801030","1338801032","1338801033","1338801034","1338801035"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/46e314b3ebfa48af3dd2a739d64e2016.jpg","text":"TemporaryFile(/tmp/multipartBody1817960881402124098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134073238,"filename":"image_21022025_11_03_25_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0040cb5338c5293e56e2e27e42992cd7.jpg","text":"TemporaryFile(/tmp/multipartBody8453957602516971949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134073238,"filename":"image_21022025_11_03_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3a37099b464e0059bf5f7989b7d0f382.jpg","text":"TemporaryFile(/tmp/multipartBody6899837732069239300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134073238,"filename":"image_21022025_11_04_05_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d517463e3153b6bc3b5b18748c5518c0.jpg","text":"TemporaryFile(/tmp/multipartBody5301865123270132345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134073238,"filename":"image_21022025_11_03_35_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f27e77dab684f1f1fb2204dff208000e.jpg","text":"TemporaryFile(/tmp/multipartBody3528316571969028041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134073238,"filename":"image_21022025_11_03_55_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23cf76855dc8fd53205b20d7ae859037.jpg","text":"TemporaryFile(/tmp/multipartBody2197557289229816686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134073238,"filename":"image_21022025_11_03_05_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338801032","file1":"1338801030","file0":"1338801028","file4":"1338801034","file5":"1338801035","file3":"1338801033"},"map_files_photo_id_array":[{"photo_id":"1338801035","filename":"file5"},{"photo_id":"1338801032","filename":"file2"},{"photo_id":"1338801034","filename":"file4"},{"photo_id":"1338801030","filename":"file1"},{"photo_id":"1338801028","filename":"file0"},{"photo_id":"1338801033","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338801030":["hashtag1","hashtag2"]},{"1338801033":["hashtag1","hashtag2"]},{"1338801035":["hashtag1","hashtag2"]},{"1338801032":["hashtag1","hashtag2"]},{"1338801034":["hashtag1","hashtag2"]},{"1338801028":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338801030, 1338801033, 1338801035, 1338801032, 1338801034, 1338801028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50536274909973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:34:32.926843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/04/image_21022025_11_04_15_10325.jpg', '/home/pi/Desktop/images/21022025/11/04/image_21022025_11_04_25_9313.jpg', '/home/pi/Desktop/images/21022025/11/04/image_21022025_11_04_35_10339.jpg', '/home/pi/Desktop/images/21022025/11/04/image_21022025_11_04_45_10348.jpg', '/home/pi/Desktop/images/21022025/11/04/image_21022025_11_04_55_9325.jpg', '/home/pi/Desktop/images/21022025/11/04/image_21022025_11_05_05_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/04/image_21022025_11_04_15_10325.jpg
/home/pi/Desktop/images/21022025/11/04/image_21022025_11_04_25_9313.jpg
/home/pi/Desktop/images/21022025/11/04/image_21022025_11_04_35_10339.jpg
/home/pi/Desktop/images/21022025/11/04/image_21022025_11_04_45_10348.jpg
/home/pi/Desktop/images/21022025/11/04/image_21022025_11_04_55_9325.jpg
/home/pi/Desktop/images/21022025/11/04/image_21022025_11_05_05_10325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338801072","1338801068","1338801101","1338801091","1338801085","1338801079"],"photo_ids_order":["1338801068","1338801072","1338801079","1338801085","1338801091","1338801101"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b1bd19024c05545a66d7482805b95715.jpg","text":"TemporaryFile(/tmp/multipartBody2823241980362223362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134133397,"filename":"image_21022025_11_04_25_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/14f04574c3ad2d946ff3f812c87d499c.jpg","text":"TemporaryFile(/tmp/multipartBody5498985530195211318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134133397,"filename":"image_21022025_11_04_15_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/26364497ff3d572b3f7d817f7d29b5fa.jpg","text":"TemporaryFile(/tmp/multipartBody389398682958318280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134133397,"filename":"image_21022025_11_05_05_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2f8530443c7537cb7deb2c79517a2d64.jpg","text":"TemporaryFile(/tmp/multipartBody6619116302629833639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134133397,"filename":"image_21022025_11_04_55_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f5243e34567e2bdd313f8d9b129803ba.jpg","text":"TemporaryFile(/tmp/multipartBody6302212690123596518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134133397,"filename":"image_21022025_11_04_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a68f769ce79a962b50d80a594c54d33e.jpg","text":"TemporaryFile(/tmp/multipartBody3953390637114983364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134133397,"filename":"image_21022025_11_04_35_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338801079","file1":"1338801072","file0":"1338801068","file4":"1338801091","file5":"1338801101","file3":"1338801085"},"map_files_photo_id_array":[{"photo_id":"1338801101","filename":"file5"},{"photo_id":"1338801079","filename":"file2"},{"photo_id":"1338801091","filename":"file4"},{"photo_id":"1338801072","filename":"file1"},{"photo_id":"1338801068","filename":"file0"},{"photo_id":"1338801085","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338801072":["hashtag1","hashtag2"]},{"1338801068":["hashtag1","hashtag2"]},{"1338801101":["hashtag1","hashtag2"]},{"1338801091":["hashtag1","hashtag2"]},{"1338801085":["hashtag1","hashtag2"]},{"1338801079":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338801072, 1338801068, 1338801101, 1338801091, 1338801085, 1338801079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.91571378707886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:35:33.285114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/05/image_21022025_11_05_15_10431.jpg', '/home/pi/Desktop/images/21022025/11/05/image_21022025_11_05_25_9383.jpg', '/home/pi/Desktop/images/21022025/11/05/image_21022025_11_05_35_10325.jpg', '/home/pi/Desktop/images/21022025/11/05/image_21022025_11_05_45_9385.jpg', '/home/pi/Desktop/images/21022025/11/05/image_21022025_11_05_55_10342.jpg', '/home/pi/Desktop/images/21022025/11/06/image_21022025_11_06_25_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/05/image_21022025_11_05_15_10431.jpg
/home/pi/Desktop/images/21022025/11/05/image_21022025_11_05_25_9383.jpg
/home/pi/Desktop/images/21022025/11/05/image_21022025_11_05_35_10325.jpg
/home/pi/Desktop/images/21022025/11/05/image_21022025_11_05_45_9385.jpg
/home/pi/Desktop/images/21022025/11/05/image_21022025_11_05_55_10342.jpg
/home/pi/Desktop/images/21022025/11/06/image_21022025_11_06_25_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338801135","1338801147","1338801142","1338801145","1338801139","1338801148"],"photo_ids_order":["1338801135","1338801139","1338801142","1338801145","1338801147","1338801148"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cff93e80c6c5c140ad691547464b1e75.jpg","text":"TemporaryFile(/tmp/multipartBody1545019396283088730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134193755,"filename":"image_21022025_11_05_15_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f028d814750cc571ab4b0f47c299f0fe.jpg","text":"TemporaryFile(/tmp/multipartBody1400840669828595108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134193755,"filename":"image_21022025_11_05_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/64cfe20e01692aa61de699463d701f2b.jpg","text":"TemporaryFile(/tmp/multipartBody4570242062483599508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134193755,"filename":"image_21022025_11_05_35_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a7d43bec4016e81e2a1bd30d7fa1bae8.jpg","text":"TemporaryFile(/tmp/multipartBody1278306512105999054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134193755,"filename":"image_21022025_11_05_45_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a4458332578509529f251efe5fcf25d0.jpg","text":"TemporaryFile(/tmp/multipartBody951630377684390010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134193755,"filename":"image_21022025_11_05_25_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f785675782efb71e1e2989bf2f6b47c3.jpg","text":"TemporaryFile(/tmp/multipartBody6667672218544052432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134193755,"filename":"image_21022025_11_06_25_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338801142","file1":"1338801139","file0":"1338801135","file4":"1338801147","file5":"1338801148","file3":"1338801145"},"map_files_photo_id_array":[{"photo_id":"1338801148","filename":"file5"},{"photo_id":"1338801142","filename":"file2"},{"photo_id":"1338801147","filename":"file4"},{"photo_id":"1338801139","filename":"file1"},{"photo_id":"1338801135","filename":"file0"},{"photo_id":"1338801145","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338801135":["hashtag1","hashtag2"]},{"1338801147":["hashtag1","hashtag2"]},{"1338801142":["hashtag1","hashtag2"]},{"1338801145":["hashtag1","hashtag2"]},{"1338801139":["hashtag1","hashtag2"]},{"1338801148":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338801135, 1338801147, 1338801142, 1338801145, 1338801139, 1338801148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.714439392089844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:36:32.509655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/06/image_21022025_11_06_35_10316.jpg', '/home/pi/Desktop/images/21022025/11/06/image_21022025_11_06_45_9386.jpg', '/home/pi/Desktop/images/21022025/11/06/image_21022025_11_06_55_10402.jpg', '/home/pi/Desktop/images/21022025/11/06/image_21022025_11_07_05_10337.jpg', '/home/pi/Desktop/images/21022025/11/07/image_21022025_11_07_15_9367.jpg', '/home/pi/Desktop/images/21022025/11/07/image_21022025_11_07_25_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/06/image_21022025_11_06_35_10316.jpg
/home/pi/Desktop/images/21022025/11/06/image_21022025_11_06_45_9386.jpg
/home/pi/Desktop/images/21022025/11/06/image_21022025_11_06_55_10402.jpg
/home/pi/Desktop/images/21022025/11/06/image_21022025_11_07_05_10337.jpg
/home/pi/Desktop/images/21022025/11/07/image_21022025_11_07_15_9367.jpg
/home/pi/Desktop/images/21022025/11/07/image_21022025_11_07_25_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338801195","1338801197","1338801191","1338801188","1338801193","1338801199"],"photo_ids_order":["1338801188","1338801191","1338801193","1338801195","1338801197","1338801199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b498ea539cda59fd3904c0ef94521834.jpg","text":"TemporaryFile(/tmp/multipartBody1655697885929026160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134252976,"filename":"image_21022025_11_07_05_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a4cf2a22211030687927b056bbeaae8.jpg","text":"TemporaryFile(/tmp/multipartBody3391907183816533939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134252976,"filename":"image_21022025_11_07_15_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cfaff7354b14ac1a1da9615ef830b4b4.jpg","text":"TemporaryFile(/tmp/multipartBody7308037892098167552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134252976,"filename":"image_21022025_11_06_45_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5460ec863cb0698ca794e4b79a461827.jpg","text":"TemporaryFile(/tmp/multipartBody6935954139051334485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134252976,"filename":"image_21022025_11_06_35_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/86b9f9416fa59ed9ac35a7515500ef71.jpg","text":"TemporaryFile(/tmp/multipartBody4755829036773300255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134252976,"filename":"image_21022025_11_06_55_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/adbf7a915a63a2e386306e719f15a8f4.jpg","text":"TemporaryFile(/tmp/multipartBody1727025031294919429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134252976,"filename":"image_21022025_11_07_25_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338801193","file1":"1338801191","file0":"1338801188","file4":"1338801197","file5":"1338801199","file3":"1338801195"},"map_files_photo_id_array":[{"photo_id":"1338801199","filename":"file5"},{"photo_id":"1338801193","filename":"file2"},{"photo_id":"1338801197","filename":"file4"},{"photo_id":"1338801191","filename":"file1"},{"photo_id":"1338801188","filename":"file0"},{"photo_id":"1338801195","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338801195":["hashtag1","hashtag2"]},{"1338801197":["hashtag1","hashtag2"]},{"1338801191":["hashtag1","hashtag2"]},{"1338801188":["hashtag1","hashtag2"]},{"1338801193":["hashtag1","hashtag2"]},{"1338801199":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338801195, 1338801197, 1338801191, 1338801188, 1338801193, 1338801199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1999614238739 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:37:32.730343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/07/image_21022025_11_07_35_9433.jpg', '/home/pi/Desktop/images/21022025/11/07/image_21022025_11_07_45_10333.jpg', '/home/pi/Desktop/images/21022025/11/07/image_21022025_11_07_55_10346.jpg', '/home/pi/Desktop/images/21022025/11/07/image_21022025_11_08_05_9436.jpg', '/home/pi/Desktop/images/21022025/11/08/image_21022025_11_08_15_10340.jpg', '/home/pi/Desktop/images/21022025/11/08/image_21022025_11_08_26_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/07/image_21022025_11_07_35_9433.jpg
/home/pi/Desktop/images/21022025/11/07/image_21022025_11_07_45_10333.jpg
/home/pi/Desktop/images/21022025/11/07/image_21022025_11_07_55_10346.jpg
/home/pi/Desktop/images/21022025/11/07/image_21022025_11_08_05_9436.jpg
/home/pi/Desktop/images/21022025/11/08/image_21022025_11_08_15_10340.jpg
/home/pi/Desktop/images/21022025/11/08/image_21022025_11_08_26_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338801316","1338801301","1338801321","1338801281","1338801256","1338801310"],"photo_ids_order":["1338801256","1338801281","1338801301","1338801310","1338801316","1338801321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b6d60ee97270b8f5745e4d67176117b.jpg","text":"TemporaryFile(/tmp/multipartBody1875227483241577838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134313214,"filename":"image_21022025_11_08_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a293858be446605bb22cf0724727edc7.jpg","text":"TemporaryFile(/tmp/multipartBody53749344148340588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134313214,"filename":"image_21022025_11_07_55_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ceb44a9d69560c2c12ec318acf6fe7bf.jpg","text":"TemporaryFile(/tmp/multipartBody3392118437255372967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134313214,"filename":"image_21022025_11_08_26_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1fa966e469e916c1d0ecc911ba43e726.jpg","text":"TemporaryFile(/tmp/multipartBody2393514881587817872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134313214,"filename":"image_21022025_11_07_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/212563d98c08d5cc4fb2e58046ed8f5f.jpg","text":"TemporaryFile(/tmp/multipartBody1438610561984619800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134313214,"filename":"image_21022025_11_07_35_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e3659855447dee1e2e11c158781583a9.jpg","text":"TemporaryFile(/tmp/multipartBody5540116446636112555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134313214,"filename":"image_21022025_11_08_05_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338801301","file1":"1338801281","file0":"1338801256","file4":"1338801316","file5":"1338801321","file3":"1338801310"},"map_files_photo_id_array":[{"photo_id":"1338801321","filename":"file5"},{"photo_id":"1338801301","filename":"file2"},{"photo_id":"1338801316","filename":"file4"},{"photo_id":"1338801281","filename":"file1"},{"photo_id":"1338801256","filename":"file0"},{"photo_id":"1338801310","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338801316":["hashtag1","hashtag2"]},{"1338801301":["hashtag1","hashtag2"]},{"1338801321":["hashtag1","hashtag2"]},{"1338801281":["hashtag1","hashtag2"]},{"1338801256":["hashtag1","hashtag2"]},{"1338801310":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338801316, 1338801301, 1338801321, 1338801281, 1338801256, 1338801310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45499086380005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:38:32.963062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/08/image_21022025_11_08_35_9394.jpg', '/home/pi/Desktop/images/21022025/11/08/image_21022025_11_08_45_10332.jpg', '/home/pi/Desktop/images/21022025/11/08/image_21022025_11_08_55_9368.jpg', '/home/pi/Desktop/images/21022025/11/08/image_21022025_11_09_05_10339.jpg', '/home/pi/Desktop/images/21022025/11/09/image_21022025_11_09_15_10324.jpg', '/home/pi/Desktop/images/21022025/11/09/image_21022025_11_09_25_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/08/image_21022025_11_08_35_9394.jpg
/home/pi/Desktop/images/21022025/11/08/image_21022025_11_08_45_10332.jpg
/home/pi/Desktop/images/21022025/11/08/image_21022025_11_08_55_9368.jpg
/home/pi/Desktop/images/21022025/11/08/image_21022025_11_09_05_10339.jpg
/home/pi/Desktop/images/21022025/11/09/image_21022025_11_09_15_10324.jpg
/home/pi/Desktop/images/21022025/11/09/image_21022025_11_09_25_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338801378","1338801369","1338801365","1338801391","1338801385","1338801367"],"photo_ids_order":["1338801365","1338801367","1338801369","1338801378","1338801385","1338801391"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32912f26096f8bbb906b6f06e4b97dad.jpg","text":"TemporaryFile(/tmp/multipartBody1721578149014971945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134373432,"filename":"image_21022025_11_09_05_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c88ad717dd2b295cef9e46969bb46152.jpg","text":"TemporaryFile(/tmp/multipartBody7393812981795036315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134373432,"filename":"image_21022025_11_08_55_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7117fa4e13570ee20a3082f977fa000f.jpg","text":"TemporaryFile(/tmp/multipartBody930944779470324670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134373432,"filename":"image_21022025_11_08_35_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/89a5a38d4b51a832245d55d7e34ec7ca.jpg","text":"TemporaryFile(/tmp/multipartBody3190567770657913697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134373432,"filename":"image_21022025_11_09_25_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0cd75ec047ac7f49be5ed3dfdf997975.jpg","text":"TemporaryFile(/tmp/multipartBody4006266392669991167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134373432,"filename":"image_21022025_11_09_15_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f018e6c1cb572514bf519374183a3bf.jpg","text":"TemporaryFile(/tmp/multipartBody8290276896358683573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134373432,"filename":"image_21022025_11_08_45_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338801369","file1":"1338801367","file0":"1338801365","file4":"1338801385","file5":"1338801391","file3":"1338801378"},"map_files_photo_id_array":[{"photo_id":"1338801391","filename":"file5"},{"photo_id":"1338801369","filename":"file2"},{"photo_id":"1338801385","filename":"file4"},{"photo_id":"1338801367","filename":"file1"},{"photo_id":"1338801365","filename":"file0"},{"photo_id":"1338801378","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338801378":["hashtag1","hashtag2"]},{"1338801369":["hashtag1","hashtag2"]},{"1338801365":["hashtag1","hashtag2"]},{"1338801391":["hashtag1","hashtag2"]},{"1338801385":["hashtag1","hashtag2"]},{"1338801367":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338801378, 1338801369, 1338801365, 1338801391, 1338801385, 1338801367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.72209882736206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:39:33.194858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/09/image_21022025_11_09_35_10336.jpg', '/home/pi/Desktop/images/21022025/11/09/image_21022025_11_09_45_10326.jpg', '/home/pi/Desktop/images/21022025/11/09/image_21022025_11_09_55_9373.jpg', '/home/pi/Desktop/images/21022025/11/09/image_21022025_11_10_05_10334.jpg', '/home/pi/Desktop/images/21022025/11/10/image_21022025_11_10_15_10355.jpg', '/home/pi/Desktop/images/21022025/11/10/image_21022025_11_10_25_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/09/image_21022025_11_09_35_10336.jpg
/home/pi/Desktop/images/21022025/11/09/image_21022025_11_09_45_10326.jpg
/home/pi/Desktop/images/21022025/11/09/image_21022025_11_09_55_9373.jpg
/home/pi/Desktop/images/21022025/11/09/image_21022025_11_10_05_10334.jpg
/home/pi/Desktop/images/21022025/11/10/image_21022025_11_10_15_10355.jpg
/home/pi/Desktop/images/21022025/11/10/image_21022025_11_10_25_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338801615","1338801629","1338801638","1338801646","1338801655","1338801622"],"photo_ids_order":["1338801615","1338801622","1338801629","1338801638","1338801646","1338801655"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f86d534857f9d1139ba67ce7d1bd7512.jpg","text":"TemporaryFile(/tmp/multipartBody7453005170369970204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134433737,"filename":"image_21022025_11_09_35_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/53878133a3bf652129235e6c52866a61.jpg","text":"TemporaryFile(/tmp/multipartBody5025672920592785769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134433737,"filename":"image_21022025_11_09_55_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e2aaf761185c7a977421baf1337bd75e.jpg","text":"TemporaryFile(/tmp/multipartBody5595270612745023755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134433737,"filename":"image_21022025_11_10_05_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83b219d873f13c19707d117fd0f4b2ae.jpg","text":"TemporaryFile(/tmp/multipartBody997488756827554870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134433737,"filename":"image_21022025_11_10_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2dddf2f0556a7e58be0c1ea1b05135c3.jpg","text":"TemporaryFile(/tmp/multipartBody2572387143622792642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134433737,"filename":"image_21022025_11_10_25_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4224defd23de2efbf7dc2bb9002ab6b4.jpg","text":"TemporaryFile(/tmp/multipartBody7233348727923936022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134433737,"filename":"image_21022025_11_09_45_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338801629","file1":"1338801622","file0":"1338801615","file4":"1338801646","file5":"1338801655","file3":"1338801638"},"map_files_photo_id_array":[{"photo_id":"1338801655","filename":"file5"},{"photo_id":"1338801629","filename":"file2"},{"photo_id":"1338801646","filename":"file4"},{"photo_id":"1338801622","filename":"file1"},{"photo_id":"1338801615","filename":"file0"},{"photo_id":"1338801638","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338801615":["hashtag1","hashtag2"]},{"1338801629":["hashtag1","hashtag2"]},{"1338801638":["hashtag1","hashtag2"]},{"1338801646":["hashtag1","hashtag2"]},{"1338801655":["hashtag1","hashtag2"]},{"1338801622":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338801615, 1338801629, 1338801638, 1338801646, 1338801655, 1338801622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.39651083946228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:40:32.405178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/10/image_21022025_11_10_35_10316.jpg', '/home/pi/Desktop/images/21022025/11/10/image_21022025_11_10_45_10330.jpg', '/home/pi/Desktop/images/21022025/11/10/image_21022025_11_10_55_9428.jpg', '/home/pi/Desktop/images/21022025/11/10/image_21022025_11_11_05_10315.jpg', '/home/pi/Desktop/images/21022025/11/11/image_21022025_11_11_15_10337.jpg', '/home/pi/Desktop/images/21022025/11/11/image_21022025_11_11_25_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/10/image_21022025_11_10_35_10316.jpg
/home/pi/Desktop/images/21022025/11/10/image_21022025_11_10_45_10330.jpg
/home/pi/Desktop/images/21022025/11/10/image_21022025_11_10_55_9428.jpg
/home/pi/Desktop/images/21022025/11/10/image_21022025_11_11_05_10315.jpg
/home/pi/Desktop/images/21022025/11/11/image_21022025_11_11_15_10337.jpg
/home/pi/Desktop/images/21022025/11/11/image_21022025_11_11_25_9397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338801696","1338801714","1338801716","1338801709","1338801700","1338801699"],"photo_ids_order":["1338801696","1338801699","1338801700","1338801709","1338801714","1338801716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8173bd444dc84d129cd14f796e9f0ac5.jpg","text":"TemporaryFile(/tmp/multipartBody2973361455317064498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134492866,"filename":"image_21022025_11_10_35_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/887d18309224c7c180cbcbca8e0c231e.jpg","text":"TemporaryFile(/tmp/multipartBody2750288052271277372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134492866,"filename":"image_21022025_11_11_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5a3a0861c79781a5113356017c3cba70.jpg","text":"TemporaryFile(/tmp/multipartBody4832134168070754243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134492866,"filename":"image_21022025_11_11_25_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a01991e39a3cdb9d7deeb83d712831bf.jpg","text":"TemporaryFile(/tmp/multipartBody4678269770370166757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134492866,"filename":"image_21022025_11_11_05_10315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8296906319bbbcfe54805fe081d77a3e.jpg","text":"TemporaryFile(/tmp/multipartBody2823211782083033930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134492866,"filename":"image_21022025_11_10_55_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/95e1d5e20049ac9196d6390c2b157438.jpg","text":"TemporaryFile(/tmp/multipartBody5233638022056713331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134492866,"filename":"image_21022025_11_10_45_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338801700","file1":"1338801699","file0":"1338801696","file4":"1338801714","file5":"1338801716","file3":"1338801709"},"map_files_photo_id_array":[{"photo_id":"1338801716","filename":"file5"},{"photo_id":"1338801700","filename":"file2"},{"photo_id":"1338801714","filename":"file4"},{"photo_id":"1338801699","filename":"file1"},{"photo_id":"1338801696","filename":"file0"},{"photo_id":"1338801709","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338801696":["hashtag1","hashtag2"]},{"1338801714":["hashtag1","hashtag2"]},{"1338801716":["hashtag1","hashtag2"]},{"1338801709":["hashtag1","hashtag2"]},{"1338801700":["hashtag1","hashtag2"]},{"1338801699":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338801696, 1338801714, 1338801716, 1338801709, 1338801700, 1338801699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13045597076416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:41:32.518383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/11/image_21022025_11_11_35_10319.jpg', '/home/pi/Desktop/images/21022025/11/11/image_21022025_11_11_45_10336.jpg', '/home/pi/Desktop/images/21022025/11/11/image_21022025_11_11_55_9406.jpg', '/home/pi/Desktop/images/21022025/11/11/image_21022025_11_12_05_10315.jpg', '/home/pi/Desktop/images/21022025/11/12/image_21022025_11_12_15_9371.jpg', '/home/pi/Desktop/images/21022025/11/12/image_21022025_11_12_25_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/11/image_21022025_11_11_35_10319.jpg
/home/pi/Desktop/images/21022025/11/11/image_21022025_11_11_45_10336.jpg
/home/pi/Desktop/images/21022025/11/11/image_21022025_11_11_55_9406.jpg
/home/pi/Desktop/images/21022025/11/11/image_21022025_11_12_05_10315.jpg
/home/pi/Desktop/images/21022025/11/12/image_21022025_11_12_15_9371.jpg
/home/pi/Desktop/images/21022025/11/12/image_21022025_11_12_25_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338801780","1338801770","1338801764","1338801767","1338801799","1338801808"],"photo_ids_order":["1338801764","1338801767","1338801770","1338801780","1338801799","1338801808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c6953dcfcb86ddffbc2b8c84c063373c.jpg","text":"TemporaryFile(/tmp/multipartBody5412465629146441835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134552998,"filename":"image_21022025_11_12_05_10315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ae5db59eb7c75e8464d34809944744a.jpg","text":"TemporaryFile(/tmp/multipartBody3523039508738455334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134552998,"filename":"image_21022025_11_11_55_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1c51eb531e270a9575b1715821c11b8b.jpg","text":"TemporaryFile(/tmp/multipartBody7286120329618514034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134552998,"filename":"image_21022025_11_11_35_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4c7c7206f1395254ab4fa74a9648309b.jpg","text":"TemporaryFile(/tmp/multipartBody4201292731132327258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134552998,"filename":"image_21022025_11_11_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2dfff3d429f077591dec6132df03401e.jpg","text":"TemporaryFile(/tmp/multipartBody142048841298568188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134552998,"filename":"image_21022025_11_12_15_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61636006c767f5798a5c84399efc597d.jpg","text":"TemporaryFile(/tmp/multipartBody1436491752698994057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134552998,"filename":"image_21022025_11_12_25_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338801770","file1":"1338801767","file0":"1338801764","file4":"1338801799","file5":"1338801808","file3":"1338801780"},"map_files_photo_id_array":[{"photo_id":"1338801808","filename":"file5"},{"photo_id":"1338801770","filename":"file2"},{"photo_id":"1338801799","filename":"file4"},{"photo_id":"1338801767","filename":"file1"},{"photo_id":"1338801764","filename":"file0"},{"photo_id":"1338801780","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338801780":["hashtag1","hashtag2"]},{"1338801770":["hashtag1","hashtag2"]},{"1338801764":["hashtag1","hashtag2"]},{"1338801767":["hashtag1","hashtag2"]},{"1338801799":["hashtag1","hashtag2"]},{"1338801808":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338801780, 1338801770, 1338801764, 1338801767, 1338801799, 1338801808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66524362564087 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:42:32.805501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/12/image_21022025_11_12_35_10311.jpg', '/home/pi/Desktop/images/21022025/11/12/image_21022025_11_12_45_9413.jpg', '/home/pi/Desktop/images/21022025/11/12/image_21022025_11_12_55_10381.jpg', '/home/pi/Desktop/images/21022025/11/13/image_21022025_11_13_15_9382.jpg', '/home/pi/Desktop/images/21022025/11/13/image_21022025_11_13_25_10347.jpg', '/home/pi/Desktop/images/21022025/11/13/image_21022025_11_13_45_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/12/image_21022025_11_12_35_10311.jpg
/home/pi/Desktop/images/21022025/11/12/image_21022025_11_12_45_9413.jpg
/home/pi/Desktop/images/21022025/11/12/image_21022025_11_12_55_10381.jpg
/home/pi/Desktop/images/21022025/11/13/image_21022025_11_13_15_9382.jpg
/home/pi/Desktop/images/21022025/11/13/image_21022025_11_13_25_10347.jpg
/home/pi/Desktop/images/21022025/11/13/image_21022025_11_13_45_9409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338801819","1338801827","1338801821","1338801824","1338801841","1338801835"],"photo_ids_order":["1338801819","1338801821","1338801824","1338801827","1338801835","1338801841"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b422ff45801743b277ebf88a8a3ad56c.jpg","text":"TemporaryFile(/tmp/multipartBody6685302528607019874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134613299,"filename":"image_21022025_11_12_35_10311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/041af8f614e916207cad1ced18d5fe72.jpg","text":"TemporaryFile(/tmp/multipartBody9141699461480598827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134613299,"filename":"image_21022025_11_13_15_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae67c35ed8c23db11b1117c26937501f.jpg","text":"TemporaryFile(/tmp/multipartBody2215018936029553934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134613299,"filename":"image_21022025_11_12_45_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d29bdfac6a77d7ac72486846b303aab.jpg","text":"TemporaryFile(/tmp/multipartBody1627776833361732561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134613299,"filename":"image_21022025_11_12_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bd4a584577a2436b3328cd3bf5258efd.jpg","text":"TemporaryFile(/tmp/multipartBody632475677321566967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134613299,"filename":"image_21022025_11_13_45_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fbfb34ea7e6cb3ebb852a1a159ba1fa5.jpg","text":"TemporaryFile(/tmp/multipartBody6002602595620527984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134613299,"filename":"image_21022025_11_13_25_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338801824","file1":"1338801821","file0":"1338801819","file4":"1338801835","file5":"1338801841","file3":"1338801827"},"map_files_photo_id_array":[{"photo_id":"1338801841","filename":"file5"},{"photo_id":"1338801824","filename":"file2"},{"photo_id":"1338801835","filename":"file4"},{"photo_id":"1338801821","filename":"file1"},{"photo_id":"1338801819","filename":"file0"},{"photo_id":"1338801827","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338801819":["hashtag1","hashtag2"]},{"1338801827":["hashtag1","hashtag2"]},{"1338801821":["hashtag1","hashtag2"]},{"1338801824":["hashtag1","hashtag2"]},{"1338801841":["hashtag1","hashtag2"]},{"1338801835":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338801819, 1338801827, 1338801821, 1338801824, 1338801841, 1338801835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.011029958724976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:43:33.003770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/13/image_21022025_11_13_55_10339.jpg', '/home/pi/Desktop/images/21022025/11/14/image_21022025_11_14_15_10338.jpg', '/home/pi/Desktop/images/21022025/11/14/image_21022025_11_14_25_10346.jpg', '/home/pi/Desktop/images/21022025/11/14/image_21022025_11_14_35_9343.jpg', '/home/pi/Desktop/images/21022025/11/14/image_21022025_11_14_45_10328.jpg', '/home/pi/Desktop/images/21022025/11/14/image_21022025_11_14_55_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/13/image_21022025_11_13_55_10339.jpg
/home/pi/Desktop/images/21022025/11/14/image_21022025_11_14_15_10338.jpg
/home/pi/Desktop/images/21022025/11/14/image_21022025_11_14_25_10346.jpg
/home/pi/Desktop/images/21022025/11/14/image_21022025_11_14_35_9343.jpg
/home/pi/Desktop/images/21022025/11/14/image_21022025_11_14_45_10328.jpg
/home/pi/Desktop/images/21022025/11/14/image_21022025_11_14_55_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338801888","1338801875","1338801905","1338801907","1338801901","1338801879"],"photo_ids_order":["1338801875","1338801879","1338801888","1338801901","1338801905","1338801907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/042fd4bf660e1910345f82b871e510d3.jpg","text":"TemporaryFile(/tmp/multipartBody5959936539805909304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134673474,"filename":"image_21022025_11_14_25_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d94ed1015d98c06bb799744b5687c8c5.jpg","text":"TemporaryFile(/tmp/multipartBody8700496109462509668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134673474,"filename":"image_21022025_11_13_55_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/caf4277af3d4cc170ab08e6c4025dd9f.jpg","text":"TemporaryFile(/tmp/multipartBody5501596394340599161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134673474,"filename":"image_21022025_11_14_45_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/65fbcb5b380a78cb735fa242e7f96587.jpg","text":"TemporaryFile(/tmp/multipartBody1210295080237615009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134673474,"filename":"image_21022025_11_14_55_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cdcf6e4774e877731e190f605c64e5f5.jpg","text":"TemporaryFile(/tmp/multipartBody4449775452669617053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134673474,"filename":"image_21022025_11_14_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/226c3ec992d8eee673e06c1e634202e5.jpg","text":"TemporaryFile(/tmp/multipartBody5668830062986773960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134673474,"filename":"image_21022025_11_14_15_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338801888","file1":"1338801879","file0":"1338801875","file4":"1338801905","file5":"1338801907","file3":"1338801901"},"map_files_photo_id_array":[{"photo_id":"1338801907","filename":"file5"},{"photo_id":"1338801888","filename":"file2"},{"photo_id":"1338801905","filename":"file4"},{"photo_id":"1338801879","filename":"file1"},{"photo_id":"1338801875","filename":"file0"},{"photo_id":"1338801901","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338801888":["hashtag1","hashtag2"]},{"1338801875":["hashtag1","hashtag2"]},{"1338801905":["hashtag1","hashtag2"]},{"1338801907":["hashtag1","hashtag2"]},{"1338801901":["hashtag1","hashtag2"]},{"1338801879":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338801888, 1338801875, 1338801905, 1338801907, 1338801901, 1338801879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.585328102111816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:44:32.186436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/14/image_21022025_11_15_05_9410.jpg', '/home/pi/Desktop/images/21022025/11/15/image_21022025_11_15_15_10354.jpg', '/home/pi/Desktop/images/21022025/11/15/image_21022025_11_15_35_9392.jpg', '/home/pi/Desktop/images/21022025/11/15/image_21022025_11_15_45_10352.jpg', '/home/pi/Desktop/images/21022025/11/15/image_21022025_11_15_55_9434.jpg', '/home/pi/Desktop/images/21022025/11/15/image_21022025_11_16_05_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/14/image_21022025_11_15_05_9410.jpg
/home/pi/Desktop/images/21022025/11/15/image_21022025_11_15_15_10354.jpg
/home/pi/Desktop/images/21022025/11/15/image_21022025_11_15_35_9392.jpg
/home/pi/Desktop/images/21022025/11/15/image_21022025_11_15_45_10352.jpg
/home/pi/Desktop/images/21022025/11/15/image_21022025_11_15_55_9434.jpg
/home/pi/Desktop/images/21022025/11/15/image_21022025_11_16_05_10329.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3757643699645996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 11:44:42.254364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/14/image_21022025_11_15_05_9410.jpg', '/home/pi/Desktop/images/21022025/11/15/image_21022025_11_15_15_10354.jpg', '/home/pi/Desktop/images/21022025/11/15/image_21022025_11_15_35_9392.jpg', '/home/pi/Desktop/images/21022025/11/15/image_21022025_11_15_45_10352.jpg', '/home/pi/Desktop/images/21022025/11/15/image_21022025_11_15_55_9434.jpg', '/home/pi/Desktop/images/21022025/11/15/image_21022025_11_16_05_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/14/image_21022025_11_15_05_9410.jpg
/home/pi/Desktop/images/21022025/11/15/image_21022025_11_15_15_10354.jpg
/home/pi/Desktop/images/21022025/11/15/image_21022025_11_15_35_9392.jpg
/home/pi/Desktop/images/21022025/11/15/image_21022025_11_15_45_10352.jpg
/home/pi/Desktop/images/21022025/11/15/image_21022025_11_15_55_9434.jpg
/home/pi/Desktop/images/21022025/11/15/image_21022025_11_16_05_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338801987","1338801989","1338801962","1338801965","1338801959","1338801970"],"photo_ids_order":["1338801959","1338801962","1338801965","1338801970","1338801987","1338801989"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1e534a1582f027cb1a5966498c2cf84a.jpg","text":"TemporaryFile(/tmp/multipartBody1960883692211470063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134742731,"filename":"image_21022025_11_15_55_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80f7cec2500ea777eb43dcf7bdcbf2c8.jpg","text":"TemporaryFile(/tmp/multipartBody7957026411237104596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134742731,"filename":"image_21022025_11_16_05_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a9e2fd7bbaba7df19233d47075bef5c5.jpg","text":"TemporaryFile(/tmp/multipartBody3098638911300974916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134742731,"filename":"image_21022025_11_15_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74ae26ecbf3c6397fa9e0c551e76b18b.jpg","text":"TemporaryFile(/tmp/multipartBody2627644968322560589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134742731,"filename":"image_21022025_11_15_35_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5e0fe1784eaefdde5e734a9c75fb3504.jpg","text":"TemporaryFile(/tmp/multipartBody7986810829945099356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134742731,"filename":"image_21022025_11_15_05_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/385f3333ce0c86fee18b208a6137fe12.jpg","text":"TemporaryFile(/tmp/multipartBody1894396393275749819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134742731,"filename":"image_21022025_11_15_45_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338801965","file1":"1338801962","file0":"1338801959","file4":"1338801987","file5":"1338801989","file3":"1338801970"},"map_files_photo_id_array":[{"photo_id":"1338801989","filename":"file5"},{"photo_id":"1338801965","filename":"file2"},{"photo_id":"1338801987","filename":"file4"},{"photo_id":"1338801962","filename":"file1"},{"photo_id":"1338801959","filename":"file0"},{"photo_id":"1338801970","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338801987":["hashtag1","hashtag2"]},{"1338801989":["hashtag1","hashtag2"]},{"1338801962":["hashtag1","hashtag2"]},{"1338801965":["hashtag1","hashtag2"]},{"1338801959":["hashtag1","hashtag2"]},{"1338801970":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338801987, 1338801989, 1338801962, 1338801965, 1338801959, 1338801970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.616161823272705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:45:32.430209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/16/image_21022025_11_16_15_10097.jpg', '/home/pi/Desktop/images/21022025/11/16/image_21022025_11_16_25_10349.jpg', '/home/pi/Desktop/images/21022025/11/16/image_21022025_11_16_35_9372.jpg', '/home/pi/Desktop/images/21022025/11/16/image_21022025_11_16_45_10341.jpg', '/home/pi/Desktop/images/21022025/11/16/image_21022025_11_16_55_10325.jpg', '/home/pi/Desktop/images/21022025/11/16/image_21022025_11_17_05_9328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/16/image_21022025_11_16_15_10097.jpg
/home/pi/Desktop/images/21022025/11/16/image_21022025_11_16_25_10349.jpg
/home/pi/Desktop/images/21022025/11/16/image_21022025_11_16_35_9372.jpg
/home/pi/Desktop/images/21022025/11/16/image_21022025_11_16_45_10341.jpg
/home/pi/Desktop/images/21022025/11/16/image_21022025_11_16_55_10325.jpg
/home/pi/Desktop/images/21022025/11/16/image_21022025_11_17_05_9328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338802113","1338802023","1338802031","1338802138","1338802039","1338802108"],"photo_ids_order":["1338802023","1338802031","1338802039","1338802108","1338802113","1338802138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2e31caca9e07fdac543dabb714cc3999.jpg","text":"TemporaryFile(/tmp/multipartBody8116230493490254325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134792884,"filename":"image_21022025_11_16_55_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/10794574fb4900d46f98165aeb46dd52.jpg","text":"TemporaryFile(/tmp/multipartBody7068863551033162627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134792884,"filename":"image_21022025_11_16_15_10097.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cd94205c2af6731db77b0e75cc5f4b76.jpg","text":"TemporaryFile(/tmp/multipartBody870328301755049780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134792884,"filename":"image_21022025_11_16_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5a44009bac73baf57b5b959fa9c8614e.jpg","text":"TemporaryFile(/tmp/multipartBody9086259316539475779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134792884,"filename":"image_21022025_11_17_05_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a8c0fad012a3bba767953ef991091fd.jpg","text":"TemporaryFile(/tmp/multipartBody425457638664321959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134792884,"filename":"image_21022025_11_16_35_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4491e38956cf4f03bc225b398782f264.jpg","text":"TemporaryFile(/tmp/multipartBody1446767507924448884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134792884,"filename":"image_21022025_11_16_45_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338802039","file1":"1338802031","file0":"1338802023","file4":"1338802113","file5":"1338802138","file3":"1338802108"},"map_files_photo_id_array":[{"photo_id":"1338802138","filename":"file5"},{"photo_id":"1338802039","filename":"file2"},{"photo_id":"1338802113","filename":"file4"},{"photo_id":"1338802031","filename":"file1"},{"photo_id":"1338802023","filename":"file0"},{"photo_id":"1338802108","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338802113":["hashtag1","hashtag2"]},{"1338802023":["hashtag1","hashtag2"]},{"1338802031":["hashtag1","hashtag2"]},{"1338802138":["hashtag1","hashtag2"]},{"1338802039":["hashtag1","hashtag2"]},{"1338802108":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338802113, 1338802023, 1338802031, 1338802138, 1338802039, 1338802108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.390610456466675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:46:32.762530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/17/image_21022025_11_17_15_10315.jpg', '/home/pi/Desktop/images/21022025/11/17/image_21022025_11_17_25_10351.jpg', '/home/pi/Desktop/images/21022025/11/17/image_21022025_11_17_35_9415.jpg', '/home/pi/Desktop/images/21022025/11/17/image_21022025_11_17_45_10340.jpg', '/home/pi/Desktop/images/21022025/11/17/image_21022025_11_17_55_10333.jpg', '/home/pi/Desktop/images/21022025/11/17/image_21022025_11_18_05_9316.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/17/image_21022025_11_17_15_10315.jpg
/home/pi/Desktop/images/21022025/11/17/image_21022025_11_17_25_10351.jpg
/home/pi/Desktop/images/21022025/11/17/image_21022025_11_17_35_9415.jpg
/home/pi/Desktop/images/21022025/11/17/image_21022025_11_17_45_10340.jpg
/home/pi/Desktop/images/21022025/11/17/image_21022025_11_17_55_10333.jpg
/home/pi/Desktop/images/21022025/11/17/image_21022025_11_18_05_9316.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338802459","1338802534","1338802467","1338802536","1338802470","1338802464"],"photo_ids_order":["1338802459","1338802464","1338802467","1338802470","1338802534","1338802536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3605d11ede4c6346d885168642392d7.jpg","text":"TemporaryFile(/tmp/multipartBody3897705034508925144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134853240,"filename":"image_21022025_11_17_15_10315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c99ead4acff64ccb39943992178e7b31.jpg","text":"TemporaryFile(/tmp/multipartBody6723610487899600215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134853240,"filename":"image_21022025_11_17_55_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5e252eab130fb7ef20fe44bd48b0042a.jpg","text":"TemporaryFile(/tmp/multipartBody4075559553588091817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134853240,"filename":"image_21022025_11_17_35_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75b3ca9fb9ec4b57383228b3202e62fd.jpg","text":"TemporaryFile(/tmp/multipartBody5451257745998311946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134853240,"filename":"image_21022025_11_18_05_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/67fe2a0c2c22219ec29994e2212c951b.jpg","text":"TemporaryFile(/tmp/multipartBody4768120248133042907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134853240,"filename":"image_21022025_11_17_45_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/64991ae2a235b57a86436fce4b2d20fa.jpg","text":"TemporaryFile(/tmp/multipartBody8399728396049142401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134853240,"filename":"image_21022025_11_17_25_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338802467","file1":"1338802464","file0":"1338802459","file4":"1338802534","file5":"1338802536","file3":"1338802470"},"map_files_photo_id_array":[{"photo_id":"1338802536","filename":"file5"},{"photo_id":"1338802467","filename":"file2"},{"photo_id":"1338802534","filename":"file4"},{"photo_id":"1338802464","filename":"file1"},{"photo_id":"1338802459","filename":"file0"},{"photo_id":"1338802470","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338802459":["hashtag1","hashtag2"]},{"1338802534":["hashtag1","hashtag2"]},{"1338802467":["hashtag1","hashtag2"]},{"1338802536":["hashtag1","hashtag2"]},{"1338802470":["hashtag1","hashtag2"]},{"1338802464":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338802459, 1338802534, 1338802467, 1338802536, 1338802470, 1338802464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.841888189315796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:47:33.056419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/18/image_21022025_11_18_15_10314.jpg', '/home/pi/Desktop/images/21022025/11/18/image_21022025_11_18_25_9927.jpg', '/home/pi/Desktop/images/21022025/11/18/image_21022025_11_18_35_10313.jpg', '/home/pi/Desktop/images/21022025/11/18/image_21022025_11_18_45_9405.jpg', '/home/pi/Desktop/images/21022025/11/18/image_21022025_11_18_55_10320.jpg', '/home/pi/Desktop/images/21022025/11/18/image_21022025_11_19_05_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/18/image_21022025_11_18_15_10314.jpg
/home/pi/Desktop/images/21022025/11/18/image_21022025_11_18_25_9927.jpg
/home/pi/Desktop/images/21022025/11/18/image_21022025_11_18_35_10313.jpg
/home/pi/Desktop/images/21022025/11/18/image_21022025_11_18_45_9405.jpg
/home/pi/Desktop/images/21022025/11/18/image_21022025_11_18_55_10320.jpg
/home/pi/Desktop/images/21022025/11/18/image_21022025_11_19_05_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338802568","1338802576","1338802579","1338802564","1338802572","1338802578"],"photo_ids_order":["1338802564","1338802568","1338802572","1338802576","1338802578","1338802579"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9727d9226cede5f38590d35509749a4a.jpg","text":"TemporaryFile(/tmp/multipartBody7960936627372238346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134913529,"filename":"image_21022025_11_18_25_9927.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc0e095a331dbd74d8558407be8ee387.jpg","text":"TemporaryFile(/tmp/multipartBody73353966231624990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134913529,"filename":"image_21022025_11_18_45_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/86a968a349ebf43dda5683e26a51a4ad.jpg","text":"TemporaryFile(/tmp/multipartBody1919661887352297208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134913529,"filename":"image_21022025_11_19_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1742cc7649695864b90232c9872cdecb.jpg","text":"TemporaryFile(/tmp/multipartBody7996041910997956694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134913529,"filename":"image_21022025_11_18_15_10314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/91e6c885891fcbb31c599db43f79d5ef.jpg","text":"TemporaryFile(/tmp/multipartBody181242493337378738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134913529,"filename":"image_21022025_11_18_35_10313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cd103b1283e7a5ce2d8a0b1e5956daef.jpg","text":"TemporaryFile(/tmp/multipartBody2169094959729447907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134913529,"filename":"image_21022025_11_18_55_10320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338802572","file1":"1338802568","file0":"1338802564","file4":"1338802578","file5":"1338802579","file3":"1338802576"},"map_files_photo_id_array":[{"photo_id":"1338802579","filename":"file5"},{"photo_id":"1338802572","filename":"file2"},{"photo_id":"1338802578","filename":"file4"},{"photo_id":"1338802568","filename":"file1"},{"photo_id":"1338802564","filename":"file0"},{"photo_id":"1338802576","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338802568":["hashtag1","hashtag2"]},{"1338802576":["hashtag1","hashtag2"]},{"1338802579":["hashtag1","hashtag2"]},{"1338802564":["hashtag1","hashtag2"]},{"1338802572":["hashtag1","hashtag2"]},{"1338802578":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338802568, 1338802576, 1338802579, 1338802564, 1338802572, 1338802578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.512492418289185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:48:33.146172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/19/image_21022025_11_19_15_9346.jpg', '/home/pi/Desktop/images/21022025/11/19/image_21022025_11_19_25_10352.jpg', '/home/pi/Desktop/images/21022025/11/19/image_21022025_11_19_35_10332.jpg', '/home/pi/Desktop/images/21022025/11/19/image_21022025_11_19_45_9412.jpg', '/home/pi/Desktop/images/21022025/11/19/image_21022025_11_19_55_10356.jpg', '/home/pi/Desktop/images/21022025/11/19/image_21022025_11_20_05_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/19/image_21022025_11_19_15_9346.jpg
/home/pi/Desktop/images/21022025/11/19/image_21022025_11_19_25_10352.jpg
/home/pi/Desktop/images/21022025/11/19/image_21022025_11_19_35_10332.jpg
/home/pi/Desktop/images/21022025/11/19/image_21022025_11_19_45_9412.jpg
/home/pi/Desktop/images/21022025/11/19/image_21022025_11_19_55_10356.jpg
/home/pi/Desktop/images/21022025/11/19/image_21022025_11_20_05_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338802632","1338802626","1338802637","1338802618","1338802635","1338802629"],"photo_ids_order":["1338802618","1338802626","1338802629","1338802632","1338802635","1338802637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1274fd0140affff21b1707141ca9d947.jpg","text":"TemporaryFile(/tmp/multipartBody4901261628791412633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134973626,"filename":"image_21022025_11_19_45_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c637afc6225e06fe78d99b699f2cef45.jpg","text":"TemporaryFile(/tmp/multipartBody5560203763983475651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134973626,"filename":"image_21022025_11_19_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/925c06ffc44677fac6c158d8af9d2656.jpg","text":"TemporaryFile(/tmp/multipartBody3592355521382712456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134973626,"filename":"image_21022025_11_20_05_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d5fd2ae14b727a75f7bb829a470b77b3.jpg","text":"TemporaryFile(/tmp/multipartBody7895737997132099421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134973626,"filename":"image_21022025_11_19_15_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d9f68bf6cd1b459e04dc87ecfe9f3be9.jpg","text":"TemporaryFile(/tmp/multipartBody6486247191090348220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134973626,"filename":"image_21022025_11_19_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1138e90b19c7fc9e7c9af0caf83088f6.jpg","text":"TemporaryFile(/tmp/multipartBody1084306692908856969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740134973626,"filename":"image_21022025_11_19_35_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338802629","file1":"1338802626","file0":"1338802618","file4":"1338802635","file5":"1338802637","file3":"1338802632"},"map_files_photo_id_array":[{"photo_id":"1338802637","filename":"file5"},{"photo_id":"1338802629","filename":"file2"},{"photo_id":"1338802635","filename":"file4"},{"photo_id":"1338802626","filename":"file1"},{"photo_id":"1338802618","filename":"file0"},{"photo_id":"1338802632","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338802632":["hashtag1","hashtag2"]},{"1338802626":["hashtag1","hashtag2"]},{"1338802637":["hashtag1","hashtag2"]},{"1338802618":["hashtag1","hashtag2"]},{"1338802635":["hashtag1","hashtag2"]},{"1338802629":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338802632, 1338802626, 1338802637, 1338802618, 1338802635, 1338802629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17689347267151 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:49:32.339828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/20/image_21022025_11_20_15_10345.jpg', '/home/pi/Desktop/images/21022025/11/20/image_21022025_11_20_25_10341.jpg', '/home/pi/Desktop/images/21022025/11/20/image_21022025_11_20_35_9390.jpg', '/home/pi/Desktop/images/21022025/11/20/image_21022025_11_20_45_10360.jpg', '/home/pi/Desktop/images/21022025/11/20/image_21022025_11_20_55_9450.jpg', '/home/pi/Desktop/images/21022025/11/20/image_21022025_11_21_05_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/20/image_21022025_11_20_15_10345.jpg
/home/pi/Desktop/images/21022025/11/20/image_21022025_11_20_25_10341.jpg
/home/pi/Desktop/images/21022025/11/20/image_21022025_11_20_35_9390.jpg
/home/pi/Desktop/images/21022025/11/20/image_21022025_11_20_45_10360.jpg
/home/pi/Desktop/images/21022025/11/20/image_21022025_11_20_55_9450.jpg
/home/pi/Desktop/images/21022025/11/20/image_21022025_11_21_05_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338802769","1338802763","1338802771","1338802768","1338802759","1338802740"],"photo_ids_order":["1338802740","1338802759","1338802763","1338802768","1338802769","1338802771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83babf4498c31136f467c0c6c6677f64.jpg","text":"TemporaryFile(/tmp/multipartBody4172784644189967047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135032799,"filename":"image_21022025_11_20_55_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ad43e8f3c4956cdaa2a373503f440c80.jpg","text":"TemporaryFile(/tmp/multipartBody331194024451469091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135032799,"filename":"image_21022025_11_20_35_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/574117a5dc220e1e43fcc74213d85355.jpg","text":"TemporaryFile(/tmp/multipartBody3335058940199215754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135032799,"filename":"image_21022025_11_21_05_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/166741aed6e8c80ea3098810fb954f64.jpg","text":"TemporaryFile(/tmp/multipartBody923711192988727486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135032799,"filename":"image_21022025_11_20_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0437b3ed81b0d08e4be9f858dd01bbc8.jpg","text":"TemporaryFile(/tmp/multipartBody926144239571032870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135032799,"filename":"image_21022025_11_20_25_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/088975922faf4bc2c2071df2557f1b8e.jpg","text":"TemporaryFile(/tmp/multipartBody9081733548583101700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135032799,"filename":"image_21022025_11_20_15_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338802763","file1":"1338802759","file0":"1338802740","file4":"1338802769","file5":"1338802771","file3":"1338802768"},"map_files_photo_id_array":[{"photo_id":"1338802771","filename":"file5"},{"photo_id":"1338802763","filename":"file2"},{"photo_id":"1338802769","filename":"file4"},{"photo_id":"1338802759","filename":"file1"},{"photo_id":"1338802740","filename":"file0"},{"photo_id":"1338802768","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338802769":["hashtag1","hashtag2"]},{"1338802763":["hashtag1","hashtag2"]},{"1338802771":["hashtag1","hashtag2"]},{"1338802768":["hashtag1","hashtag2"]},{"1338802759":["hashtag1","hashtag2"]},{"1338802740":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338802769, 1338802763, 1338802771, 1338802768, 1338802759, 1338802740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.3093478679657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:50:32.575715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/21/image_21022025_11_21_15_10336.jpg', '/home/pi/Desktop/images/21022025/11/21/image_21022025_11_21_25_9322.jpg', '/home/pi/Desktop/images/21022025/11/21/image_21022025_11_21_45_10336.jpg', '/home/pi/Desktop/images/21022025/11/21/image_21022025_11_21_55_9399.jpg', '/home/pi/Desktop/images/21022025/11/21/image_21022025_11_22_05_10337.jpg', '/home/pi/Desktop/images/21022025/11/22/image_21022025_11_22_35_10316.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/21/image_21022025_11_21_15_10336.jpg
/home/pi/Desktop/images/21022025/11/21/image_21022025_11_21_25_9322.jpg
/home/pi/Desktop/images/21022025/11/21/image_21022025_11_21_45_10336.jpg
/home/pi/Desktop/images/21022025/11/21/image_21022025_11_21_55_9399.jpg
/home/pi/Desktop/images/21022025/11/21/image_21022025_11_22_05_10337.jpg
/home/pi/Desktop/images/21022025/11/22/image_21022025_11_22_35_10316.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338802800","1338802793","1338802790","1338802792","1338802795","1338802797"],"photo_ids_order":["1338802790","1338802792","1338802793","1338802795","1338802797","1338802800"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6d30fa9c58d704718326b65a7b61dea6.jpg","text":"TemporaryFile(/tmp/multipartBody2381278498926905201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135093055,"filename":"image_21022025_11_22_35_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e9861a000fcf35351276ef058e404fc.jpg","text":"TemporaryFile(/tmp/multipartBody1587375103957575398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135093055,"filename":"image_21022025_11_21_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/073c4455543fc136ee3f86fd53c9f579.jpg","text":"TemporaryFile(/tmp/multipartBody3761635921166809409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135093055,"filename":"image_21022025_11_21_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e33ed9cd61726f3957b5703277b582d.jpg","text":"TemporaryFile(/tmp/multipartBody5539412602698263954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135093055,"filename":"image_21022025_11_21_25_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ebee92f0ea639f07cda76c306742088.jpg","text":"TemporaryFile(/tmp/multipartBody7747294123705280727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135093055,"filename":"image_21022025_11_21_55_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a72cf1956dca36dfa50926b779e43949.jpg","text":"TemporaryFile(/tmp/multipartBody2013542223662415781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135093055,"filename":"image_21022025_11_22_05_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338802793","file1":"1338802792","file0":"1338802790","file4":"1338802797","file5":"1338802800","file3":"1338802795"},"map_files_photo_id_array":[{"photo_id":"1338802800","filename":"file5"},{"photo_id":"1338802793","filename":"file2"},{"photo_id":"1338802797","filename":"file4"},{"photo_id":"1338802792","filename":"file1"},{"photo_id":"1338802790","filename":"file0"},{"photo_id":"1338802795","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338802800":["hashtag1","hashtag2"]},{"1338802793":["hashtag1","hashtag2"]},{"1338802790":["hashtag1","hashtag2"]},{"1338802792":["hashtag1","hashtag2"]},{"1338802795":["hashtag1","hashtag2"]},{"1338802797":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338802800, 1338802793, 1338802790, 1338802792, 1338802795, 1338802797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.61413073539734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:51:32.737014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/22/image_21022025_11_22_45_10347.jpg', '/home/pi/Desktop/images/21022025/11/22/image_21022025_11_22_55_9339.jpg', '/home/pi/Desktop/images/21022025/11/22/image_21022025_11_23_05_10316.jpg', '/home/pi/Desktop/images/21022025/11/23/image_21022025_11_23_15_10350.jpg', '/home/pi/Desktop/images/21022025/11/23/image_21022025_11_23_25_9406.jpg', '/home/pi/Desktop/images/21022025/11/23/image_21022025_11_23_35_10324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/22/image_21022025_11_22_45_10347.jpg
/home/pi/Desktop/images/21022025/11/22/image_21022025_11_22_55_9339.jpg
/home/pi/Desktop/images/21022025/11/22/image_21022025_11_23_05_10316.jpg
/home/pi/Desktop/images/21022025/11/23/image_21022025_11_23_15_10350.jpg
/home/pi/Desktop/images/21022025/11/23/image_21022025_11_23_25_9406.jpg
/home/pi/Desktop/images/21022025/11/23/image_21022025_11_23_35_10324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338802818","1338802820","1338802817","1338802822","1338802825","1338802827"],"photo_ids_order":["1338802817","1338802818","1338802820","1338802822","1338802825","1338802827"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e086c86e5c7fd2ef8aaf0ee49c35273.jpg","text":"TemporaryFile(/tmp/multipartBody168535351481151671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135153202,"filename":"image_21022025_11_22_55_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a4225caeaa0567b0f4eae3ca937d23c7.jpg","text":"TemporaryFile(/tmp/multipartBody2715095128114262930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135153202,"filename":"image_21022025_11_23_05_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/34b25d238f8e7e8d5ce91af8262a37e2.jpg","text":"TemporaryFile(/tmp/multipartBody4785856296274211728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135153202,"filename":"image_21022025_11_22_45_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7877cc8c617e8ec41cd4ec72b06df34c.jpg","text":"TemporaryFile(/tmp/multipartBody3178617585507641456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135153202,"filename":"image_21022025_11_23_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/67c70e24ab3f69630d48b8c01ec8c2d4.jpg","text":"TemporaryFile(/tmp/multipartBody2875506260783736062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135153202,"filename":"image_21022025_11_23_25_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8f21e83db2d5ad1b75a51cc0f3b7cfa1.jpg","text":"TemporaryFile(/tmp/multipartBody1522856751850813307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135153202,"filename":"image_21022025_11_23_35_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338802820","file1":"1338802818","file0":"1338802817","file4":"1338802825","file5":"1338802827","file3":"1338802822"},"map_files_photo_id_array":[{"photo_id":"1338802827","filename":"file5"},{"photo_id":"1338802820","filename":"file2"},{"photo_id":"1338802825","filename":"file4"},{"photo_id":"1338802818","filename":"file1"},{"photo_id":"1338802817","filename":"file0"},{"photo_id":"1338802822","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338802818":["hashtag1","hashtag2"]},{"1338802820":["hashtag1","hashtag2"]},{"1338802817":["hashtag1","hashtag2"]},{"1338802822":["hashtag1","hashtag2"]},{"1338802825":["hashtag1","hashtag2"]},{"1338802827":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338802818, 1338802820, 1338802817, 1338802822, 1338802825, 1338802827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07786560058594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:52:33.039303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/23/image_21022025_11_23_45_9452.jpg', '/home/pi/Desktop/images/21022025/11/23/image_21022025_11_23_55_10342.jpg', '/home/pi/Desktop/images/21022025/11/24/image_21022025_11_24_15_9305.jpg', '/home/pi/Desktop/images/21022025/11/24/image_21022025_11_24_25_10356.jpg', '/home/pi/Desktop/images/21022025/11/24/image_21022025_11_24_35_10311.jpg', '/home/pi/Desktop/images/21022025/11/24/image_21022025_11_24_45_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/23/image_21022025_11_23_45_9452.jpg
/home/pi/Desktop/images/21022025/11/23/image_21022025_11_23_55_10342.jpg
/home/pi/Desktop/images/21022025/11/24/image_21022025_11_24_15_9305.jpg
/home/pi/Desktop/images/21022025/11/24/image_21022025_11_24_25_10356.jpg
/home/pi/Desktop/images/21022025/11/24/image_21022025_11_24_35_10311.jpg
/home/pi/Desktop/images/21022025/11/24/image_21022025_11_24_45_9404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338802892","1338802880","1338802888","1338802876","1338802861","1338802887"],"photo_ids_order":["1338802861","1338802876","1338802880","1338802887","1338802888","1338802892"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/40da84deddf5d061fa5b495e995d7fe9.jpg","text":"TemporaryFile(/tmp/multipartBody7064819469065256400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135213506,"filename":"image_21022025_11_24_45_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6793876cbe982bef69b7ee21accceafe.jpg","text":"TemporaryFile(/tmp/multipartBody7578303094184961552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135213506,"filename":"image_21022025_11_24_15_9305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/47eb68b71a389205c75d0cff68d9f56d.jpg","text":"TemporaryFile(/tmp/multipartBody4814681326599913810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135213506,"filename":"image_21022025_11_24_35_10311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b372f1eeabbb6a21e875a07cbdf764a2.jpg","text":"TemporaryFile(/tmp/multipartBody1161844628400320719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135213506,"filename":"image_21022025_11_23_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/259ff78ced8db20d2f95c6bf09beeb04.jpg","text":"TemporaryFile(/tmp/multipartBody5374978456405124050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135213506,"filename":"image_21022025_11_23_45_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1bba39398404bf0615e0b227f691a0f8.jpg","text":"TemporaryFile(/tmp/multipartBody3513728089833886666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135213506,"filename":"image_21022025_11_24_25_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338802880","file1":"1338802876","file0":"1338802861","file4":"1338802888","file5":"1338802892","file3":"1338802887"},"map_files_photo_id_array":[{"photo_id":"1338802892","filename":"file5"},{"photo_id":"1338802880","filename":"file2"},{"photo_id":"1338802888","filename":"file4"},{"photo_id":"1338802876","filename":"file1"},{"photo_id":"1338802861","filename":"file0"},{"photo_id":"1338802887","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338802892":["hashtag1","hashtag2"]},{"1338802880":["hashtag1","hashtag2"]},{"1338802888":["hashtag1","hashtag2"]},{"1338802876":["hashtag1","hashtag2"]},{"1338802861":["hashtag1","hashtag2"]},{"1338802887":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338802892, 1338802880, 1338802888, 1338802876, 1338802861, 1338802887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72880721092224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:53:32.299549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/24/image_21022025_11_24_55_10334.jpg', '/home/pi/Desktop/images/21022025/11/24/image_21022025_11_25_05_10311.jpg', '/home/pi/Desktop/images/21022025/11/25/image_21022025_11_25_15_9329.jpg', '/home/pi/Desktop/images/21022025/11/25/image_21022025_11_25_25_10369.jpg', '/home/pi/Desktop/images/21022025/11/25/image_21022025_11_25_35_10390.jpg', '/home/pi/Desktop/images/21022025/11/25/image_21022025_11_25_45_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/24/image_21022025_11_24_55_10334.jpg
/home/pi/Desktop/images/21022025/11/24/image_21022025_11_25_05_10311.jpg
/home/pi/Desktop/images/21022025/11/25/image_21022025_11_25_15_9329.jpg
/home/pi/Desktop/images/21022025/11/25/image_21022025_11_25_25_10369.jpg
/home/pi/Desktop/images/21022025/11/25/image_21022025_11_25_35_10390.jpg
/home/pi/Desktop/images/21022025/11/25/image_21022025_11_25_45_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338803240","1338803234","1338803242","1338803199","1338803238","1338803220"],"photo_ids_order":["1338803199","1338803220","1338803234","1338803238","1338803240","1338803242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/af6e2d646f38872138f2834b31247911.jpg","text":"TemporaryFile(/tmp/multipartBody1010338575000458569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135272757,"filename":"image_21022025_11_25_35_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/91f76445bb87ddbbf0c0c540b1d78320.jpg","text":"TemporaryFile(/tmp/multipartBody1046289502122852419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135272757,"filename":"image_21022025_11_25_15_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3a22e3ae73f923a85ebeff03063a0455.jpg","text":"TemporaryFile(/tmp/multipartBody3262701372425906648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135272757,"filename":"image_21022025_11_25_45_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4ab8683a1cbbace5ac75cd60d61f8590.jpg","text":"TemporaryFile(/tmp/multipartBody6580202195609068774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135272757,"filename":"image_21022025_11_24_55_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1e08e92cfd20febfb16b842315c98b84.jpg","text":"TemporaryFile(/tmp/multipartBody4418044700222025261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135272757,"filename":"image_21022025_11_25_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5cd92c5a6ffddd356d0afcb1abb54e2a.jpg","text":"TemporaryFile(/tmp/multipartBody8296063559409754249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135272757,"filename":"image_21022025_11_25_05_10311.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338803234","file1":"1338803220","file0":"1338803199","file4":"1338803240","file5":"1338803242","file3":"1338803238"},"map_files_photo_id_array":[{"photo_id":"1338803242","filename":"file5"},{"photo_id":"1338803234","filename":"file2"},{"photo_id":"1338803240","filename":"file4"},{"photo_id":"1338803220","filename":"file1"},{"photo_id":"1338803199","filename":"file0"},{"photo_id":"1338803238","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338803240":["hashtag1","hashtag2"]},{"1338803234":["hashtag1","hashtag2"]},{"1338803242":["hashtag1","hashtag2"]},{"1338803199":["hashtag1","hashtag2"]},{"1338803238":["hashtag1","hashtag2"]},{"1338803220":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338803240, 1338803234, 1338803242, 1338803199, 1338803238, 1338803220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.1257426738739 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:54:32.411182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/25/image_21022025_11_25_55_10336.jpg', '/home/pi/Desktop/images/21022025/11/25/image_21022025_11_26_05_9413.jpg', '/home/pi/Desktop/images/21022025/11/26/image_21022025_11_26_15_10397.jpg', '/home/pi/Desktop/images/21022025/11/26/image_21022025_11_26_25_10411.jpg', '/home/pi/Desktop/images/21022025/11/26/image_21022025_11_26_35_9384.jpg', '/home/pi/Desktop/images/21022025/11/26/image_21022025_11_26_45_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/25/image_21022025_11_25_55_10336.jpg
/home/pi/Desktop/images/21022025/11/25/image_21022025_11_26_05_9413.jpg
/home/pi/Desktop/images/21022025/11/26/image_21022025_11_26_15_10397.jpg
/home/pi/Desktop/images/21022025/11/26/image_21022025_11_26_25_10411.jpg
/home/pi/Desktop/images/21022025/11/26/image_21022025_11_26_35_9384.jpg
/home/pi/Desktop/images/21022025/11/26/image_21022025_11_26_45_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338803378","1338803354","1338803392","1338803374","1338803350","1338803394"],"photo_ids_order":["1338803350","1338803354","1338803374","1338803378","1338803392","1338803394"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9d8f2c01ab0723629fb9f039c16e9dd8.jpg","text":"TemporaryFile(/tmp/multipartBody6313935627358842719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135332881,"filename":"image_21022025_11_26_25_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/30095a6888b152da1298796f34fe9abd.jpg","text":"TemporaryFile(/tmp/multipartBody8660986421609264294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135332881,"filename":"image_21022025_11_26_05_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3b354a1ebfc1426c8dc85ff30887e1e7.jpg","text":"TemporaryFile(/tmp/multipartBody6291586215215525309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135332881,"filename":"image_21022025_11_26_35_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/89661fd0196e719018c1c5482481529e.jpg","text":"TemporaryFile(/tmp/multipartBody5748150107198882427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135332881,"filename":"image_21022025_11_26_15_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac5654c2e153b15b6e4df344e2d568cf.jpg","text":"TemporaryFile(/tmp/multipartBody1553282554804548388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135332881,"filename":"image_21022025_11_25_55_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d167c4aac0eb0bc0f67d750edb1ebbc6.jpg","text":"TemporaryFile(/tmp/multipartBody890004144298991641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135332881,"filename":"image_21022025_11_26_45_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338803374","file1":"1338803354","file0":"1338803350","file4":"1338803392","file5":"1338803394","file3":"1338803378"},"map_files_photo_id_array":[{"photo_id":"1338803394","filename":"file5"},{"photo_id":"1338803374","filename":"file2"},{"photo_id":"1338803392","filename":"file4"},{"photo_id":"1338803354","filename":"file1"},{"photo_id":"1338803350","filename":"file0"},{"photo_id":"1338803378","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338803378":["hashtag1","hashtag2"]},{"1338803354":["hashtag1","hashtag2"]},{"1338803392":["hashtag1","hashtag2"]},{"1338803374":["hashtag1","hashtag2"]},{"1338803350":["hashtag1","hashtag2"]},{"1338803394":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338803378, 1338803354, 1338803392, 1338803374, 1338803350, 1338803394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86176323890686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:55:32.550736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/26/image_21022025_11_26_55_10349.jpg', '/home/pi/Desktop/images/21022025/11/26/image_21022025_11_27_05_9316.jpg', '/home/pi/Desktop/images/21022025/11/27/image_21022025_11_27_25_10337.jpg', '/home/pi/Desktop/images/21022025/11/27/image_21022025_11_27_35_9389.jpg', '/home/pi/Desktop/images/21022025/11/27/image_21022025_11_27_45_10339.jpg', '/home/pi/Desktop/images/21022025/11/27/image_21022025_11_27_55_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/26/image_21022025_11_26_55_10349.jpg
/home/pi/Desktop/images/21022025/11/26/image_21022025_11_27_05_9316.jpg
/home/pi/Desktop/images/21022025/11/27/image_21022025_11_27_25_10337.jpg
/home/pi/Desktop/images/21022025/11/27/image_21022025_11_27_35_9389.jpg
/home/pi/Desktop/images/21022025/11/27/image_21022025_11_27_45_10339.jpg
/home/pi/Desktop/images/21022025/11/27/image_21022025_11_27_55_9397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338803450","1338803447","1338803441","1338803437","1338803452","1338803445"],"photo_ids_order":["1338803437","1338803441","1338803445","1338803447","1338803450","1338803452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c75823cd8920caf6663f6ea108073fdd.jpg","text":"TemporaryFile(/tmp/multipartBody3104412307837512798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135393018,"filename":"image_21022025_11_27_45_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c764db26e898b76cc52f7e6d684c7240.jpg","text":"TemporaryFile(/tmp/multipartBody4696163876569628606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135393018,"filename":"image_21022025_11_27_35_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/79d6e9814ff63947c7981bb1d55d594f.jpg","text":"TemporaryFile(/tmp/multipartBody6591515101608123002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135393018,"filename":"image_21022025_11_27_05_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2752d2150c75cd6e143501494518c53d.jpg","text":"TemporaryFile(/tmp/multipartBody2290058676169651389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135393018,"filename":"image_21022025_11_26_55_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1cb4245882d353da15c07ad1df63499d.jpg","text":"TemporaryFile(/tmp/multipartBody1139751883727907052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135393018,"filename":"image_21022025_11_27_55_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6c794fdc723371489f80ff08cda4d473.jpg","text":"TemporaryFile(/tmp/multipartBody499752926550990197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135393018,"filename":"image_21022025_11_27_25_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338803445","file1":"1338803441","file0":"1338803437","file4":"1338803450","file5":"1338803452","file3":"1338803447"},"map_files_photo_id_array":[{"photo_id":"1338803452","filename":"file5"},{"photo_id":"1338803445","filename":"file2"},{"photo_id":"1338803450","filename":"file4"},{"photo_id":"1338803441","filename":"file1"},{"photo_id":"1338803437","filename":"file0"},{"photo_id":"1338803447","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338803450":["hashtag1","hashtag2"]},{"1338803447":["hashtag1","hashtag2"]},{"1338803441":["hashtag1","hashtag2"]},{"1338803437":["hashtag1","hashtag2"]},{"1338803452":["hashtag1","hashtag2"]},{"1338803445":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338803450, 1338803447, 1338803441, 1338803437, 1338803452, 1338803445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.088494300842285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:56:32.785494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/27/image_21022025_11_28_05_10331.jpg', '/home/pi/Desktop/images/21022025/11/28/image_21022025_11_28_15_10324.jpg', '/home/pi/Desktop/images/21022025/11/28/image_21022025_11_28_25_9462.jpg', '/home/pi/Desktop/images/21022025/11/28/image_21022025_11_28_35_10429.jpg', '/home/pi/Desktop/images/21022025/11/28/image_21022025_11_28_46_10373.jpg', '/home/pi/Desktop/images/21022025/11/28/image_21022025_11_28_55_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/27/image_21022025_11_28_05_10331.jpg
/home/pi/Desktop/images/21022025/11/28/image_21022025_11_28_15_10324.jpg
/home/pi/Desktop/images/21022025/11/28/image_21022025_11_28_25_9462.jpg
/home/pi/Desktop/images/21022025/11/28/image_21022025_11_28_35_10429.jpg
/home/pi/Desktop/images/21022025/11/28/image_21022025_11_28_46_10373.jpg
/home/pi/Desktop/images/21022025/11/28/image_21022025_11_28_55_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338803477","1338803471","1338803474","1338803467","1338803479","1338803524"],"photo_ids_order":["1338803467","1338803471","1338803474","1338803477","1338803479","1338803524"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8f0eb31d711dd444986cb56e9395b6da.jpg","text":"TemporaryFile(/tmp/multipartBody998087823626712091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135453269,"filename":"image_21022025_11_28_35_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/84c7bf9c76600a77490f37487e223359.jpg","text":"TemporaryFile(/tmp/multipartBody6815924641521715779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135453269,"filename":"image_21022025_11_28_15_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/444e9624e81677b122b31037198a4e62.jpg","text":"TemporaryFile(/tmp/multipartBody4085577724457503594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135453269,"filename":"image_21022025_11_28_25_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/36bff855b4b04a654641884a9ed72d99.jpg","text":"TemporaryFile(/tmp/multipartBody8580622706829704941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135453269,"filename":"image_21022025_11_28_05_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/593030379e2d4efe60120f5732f04eaa.jpg","text":"TemporaryFile(/tmp/multipartBody3447531916044586115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135453269,"filename":"image_21022025_11_28_46_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f69f2333e9a7eba7e20c7b5fab58b7ab.jpg","text":"TemporaryFile(/tmp/multipartBody9206628792189382789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135453269,"filename":"image_21022025_11_28_55_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338803474","file1":"1338803471","file0":"1338803467","file4":"1338803479","file5":"1338803524","file3":"1338803477"},"map_files_photo_id_array":[{"photo_id":"1338803524","filename":"file5"},{"photo_id":"1338803474","filename":"file2"},{"photo_id":"1338803479","filename":"file4"},{"photo_id":"1338803471","filename":"file1"},{"photo_id":"1338803467","filename":"file0"},{"photo_id":"1338803477","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338803477":["hashtag1","hashtag2"]},{"1338803471":["hashtag1","hashtag2"]},{"1338803474":["hashtag1","hashtag2"]},{"1338803467":["hashtag1","hashtag2"]},{"1338803479":["hashtag1","hashtag2"]},{"1338803524":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338803477, 1338803471, 1338803474, 1338803467, 1338803479, 1338803524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1718635559082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 11:57:33.055624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/28/image_21022025_11_29_05_10344.jpg', '/home/pi/Desktop/images/21022025/11/29/image_21022025_11_29_15_9441.jpg', '/home/pi/Desktop/images/21022025/11/29/image_21022025_11_29_25_10339.jpg', '/home/pi/Desktop/images/21022025/11/29/image_21022025_11_29_35_10311.jpg', '/home/pi/Desktop/images/21022025/11/29/image_21022025_11_29_55_10363.jpg', '/home/pi/Desktop/images/21022025/11/29/image_21022025_11_30_05_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/28/image_21022025_11_29_05_10344.jpg
/home/pi/Desktop/images/21022025/11/29/image_21022025_11_29_15_9441.jpg
/home/pi/Desktop/images/21022025/11/29/image_21022025_11_29_25_10339.jpg
/home/pi/Desktop/images/21022025/11/29/image_21022025_11_29_35_10311.jpg
/home/pi/Desktop/images/21022025/11/29/image_21022025_11_29_55_10363.jpg
/home/pi/Desktop/images/21022025/11/29/image_21022025_11_30_05_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 11:59:04.071861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/28/image_21022025_11_29_05_10344.jpg', '/home/pi/Desktop/images/21022025/11/29/image_21022025_11_29_15_9441.jpg', '/home/pi/Desktop/images/21022025/11/29/image_21022025_11_29_25_10339.jpg', '/home/pi/Desktop/images/21022025/11/29/image_21022025_11_29_35_10311.jpg', '/home/pi/Desktop/images/21022025/11/29/image_21022025_11_29_55_10363.jpg', '/home/pi/Desktop/images/21022025/11/29/image_21022025_11_30_05_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/28/image_21022025_11_29_05_10344.jpg
/home/pi/Desktop/images/21022025/11/29/image_21022025_11_29_15_9441.jpg
/home/pi/Desktop/images/21022025/11/29/image_21022025_11_29_25_10339.jpg
/home/pi/Desktop/images/21022025/11/29/image_21022025_11_29_35_10311.jpg
/home/pi/Desktop/images/21022025/11/29/image_21022025_11_29_55_10363.jpg
/home/pi/Desktop/images/21022025/11/29/image_21022025_11_30_05_10328.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338805153","1338805141","1338805131","1338805134","1338805128","1338805122"],"photo_ids_order":["1338805122","1338805128","1338805131","1338805134","1338805141","1338805153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/94b71419eea1f53f78c02e0f47ccc4e7.jpg","text":"TemporaryFile(/tmp/multipartBody311778239097683057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135604676,"filename":"image_21022025_11_30_05_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cda5dc241e16e01b269ca7ac6d965c3a.jpg","text":"TemporaryFile(/tmp/multipartBody1003963182869704680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135604676,"filename":"image_21022025_11_29_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/49bc1e24cd660e77a8ce5721b5c56e74.jpg","text":"TemporaryFile(/tmp/multipartBody8779375171623632476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135604676,"filename":"image_21022025_11_29_25_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d5da5c9fef0a54c42fa6ce7891b469a.jpg","text":"TemporaryFile(/tmp/multipartBody1148526098616295754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135604676,"filename":"image_21022025_11_29_35_10311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/33295f84eb72334ae4ccfd679aaa4617.jpg","text":"TemporaryFile(/tmp/multipartBody408181646998229976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135604676,"filename":"image_21022025_11_29_15_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/28ea474a2a108face8bead9d365fbddf.jpg","text":"TemporaryFile(/tmp/multipartBody3826723372767669714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135604676,"filename":"image_21022025_11_29_05_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338805131","file1":"1338805128","file0":"1338805122","file4":"1338805141","file5":"1338805153","file3":"1338805134"},"map_files_photo_id_array":[{"photo_id":"1338805153","filename":"file5"},{"photo_id":"1338805131","filename":"file2"},{"photo_id":"1338805141","filename":"file4"},{"photo_id":"1338805128","filename":"file1"},{"photo_id":"1338805122","filename":"file0"},{"photo_id":"1338805134","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338805153":["hashtag1","hashtag2"]},{"1338805141":["hashtag1","hashtag2"]},{"1338805131":["hashtag1","hashtag2"]},{"1338805134":["hashtag1","hashtag2"]},{"1338805128":["hashtag1","hashtag2"]},{"1338805122":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338805153, 1338805141, 1338805131, 1338805134, 1338805128, 1338805122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.967952728271484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 11:59:42.451824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/30/image_21022025_11_30_15_9342.jpg', '/home/pi/Desktop/images/21022025/11/30/image_21022025_11_30_25_10349.jpg', '/home/pi/Desktop/images/21022025/11/30/image_21022025_11_30_35_10331.jpg', '/home/pi/Desktop/images/21022025/11/30/image_21022025_11_30_45_9384.jpg', '/home/pi/Desktop/images/21022025/11/30/image_21022025_11_30_55_10344.jpg', '/home/pi/Desktop/images/21022025/11/30/image_21022025_11_31_05_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/30/image_21022025_11_30_15_9342.jpg
/home/pi/Desktop/images/21022025/11/30/image_21022025_11_30_25_10349.jpg
/home/pi/Desktop/images/21022025/11/30/image_21022025_11_30_35_10331.jpg
/home/pi/Desktop/images/21022025/11/30/image_21022025_11_30_45_9384.jpg
/home/pi/Desktop/images/21022025/11/30/image_21022025_11_30_55_10344.jpg
/home/pi/Desktop/images/21022025/11/30/image_21022025_11_31_05_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338805168","1338805170","1338805175","1338805178","1338805163","1338805166"],"photo_ids_order":["1338805163","1338805166","1338805168","1338805170","1338805175","1338805178"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae14aaa18085d1648d19d2ef23742aa2.jpg","text":"TemporaryFile(/tmp/multipartBody2983774145957348534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135642911,"filename":"image_21022025_11_30_35_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eaf34a1610c9c30aa2e90361e444b899.jpg","text":"TemporaryFile(/tmp/multipartBody4779876780928388010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135642911,"filename":"image_21022025_11_30_45_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d5146e517ae855d9a83504a2ffab4c9b.jpg","text":"TemporaryFile(/tmp/multipartBody3316296948802935597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135642911,"filename":"image_21022025_11_30_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80d307c9270519a7646b9c585757bd40.jpg","text":"TemporaryFile(/tmp/multipartBody7733219782257810717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135642911,"filename":"image_21022025_11_31_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e5e74450c30c054b2924de0e4b43a09e.jpg","text":"TemporaryFile(/tmp/multipartBody7822375743607738345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135642911,"filename":"image_21022025_11_30_15_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eff9e2a53413b9f9f8dccc40c62f7cdf.jpg","text":"TemporaryFile(/tmp/multipartBody9060803004697318187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135642911,"filename":"image_21022025_11_30_25_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338805168","file1":"1338805166","file0":"1338805163","file4":"1338805175","file5":"1338805178","file3":"1338805170"},"map_files_photo_id_array":[{"photo_id":"1338805178","filename":"file5"},{"photo_id":"1338805168","filename":"file2"},{"photo_id":"1338805175","filename":"file4"},{"photo_id":"1338805166","filename":"file1"},{"photo_id":"1338805163","filename":"file0"},{"photo_id":"1338805170","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338805168":["hashtag1","hashtag2"]},{"1338805170":["hashtag1","hashtag2"]},{"1338805175":["hashtag1","hashtag2"]},{"1338805178":["hashtag1","hashtag2"]},{"1338805163":["hashtag1","hashtag2"]},{"1338805166":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338805168, 1338805170, 1338805175, 1338805178, 1338805163, 1338805166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.30745077133179 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:00:32.838141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/31/image_21022025_11_31_15_9325.jpg', '/home/pi/Desktop/images/21022025/11/31/image_21022025_11_31_25_10358.jpg', '/home/pi/Desktop/images/21022025/11/31/image_21022025_11_31_35_10318.jpg', '/home/pi/Desktop/images/21022025/11/31/image_21022025_11_31_45_9434.jpg', '/home/pi/Desktop/images/21022025/11/31/image_21022025_11_31_55_10321.jpg', '/home/pi/Desktop/images/21022025/11/31/image_21022025_11_32_05_9468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/31/image_21022025_11_31_15_9325.jpg
/home/pi/Desktop/images/21022025/11/31/image_21022025_11_31_25_10358.jpg
/home/pi/Desktop/images/21022025/11/31/image_21022025_11_31_35_10318.jpg
/home/pi/Desktop/images/21022025/11/31/image_21022025_11_31_45_9434.jpg
/home/pi/Desktop/images/21022025/11/31/image_21022025_11_31_55_10321.jpg
/home/pi/Desktop/images/21022025/11/31/image_21022025_11_32_05_9468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338805663","1338805657","1338805666","1338805671","1338805734","1338805661"],"photo_ids_order":["1338805657","1338805661","1338805663","1338805666","1338805671","1338805734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cacebfaddacc69bcf003d5bdf4ccb3c8.jpg","text":"TemporaryFile(/tmp/multipartBody7286651237243247515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135693322,"filename":"image_21022025_11_31_35_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/78936ae03c40d4e6972f4cf0de1632d9.jpg","text":"TemporaryFile(/tmp/multipartBody3564915350336410922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135693322,"filename":"image_21022025_11_31_15_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/39d32c3c344f7450582486cbf6292ecb.jpg","text":"TemporaryFile(/tmp/multipartBody1356663702433018218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135693322,"filename":"image_21022025_11_31_45_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0b7ffe0f9f0b5eb08219440d5b6af9c7.jpg","text":"TemporaryFile(/tmp/multipartBody4349776947861220664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135693322,"filename":"image_21022025_11_31_55_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc8fad1ab6970d3737e87222a54028cc.jpg","text":"TemporaryFile(/tmp/multipartBody3783185141082461331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135693322,"filename":"image_21022025_11_32_05_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6c010b19d3a32b7bfe79b5242cbca10e.jpg","text":"TemporaryFile(/tmp/multipartBody3751892654494605731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135693322,"filename":"image_21022025_11_31_25_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338805663","file1":"1338805661","file0":"1338805657","file4":"1338805671","file5":"1338805734","file3":"1338805666"},"map_files_photo_id_array":[{"photo_id":"1338805734","filename":"file5"},{"photo_id":"1338805663","filename":"file2"},{"photo_id":"1338805671","filename":"file4"},{"photo_id":"1338805661","filename":"file1"},{"photo_id":"1338805657","filename":"file0"},{"photo_id":"1338805666","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338805663":["hashtag1","hashtag2"]},{"1338805657":["hashtag1","hashtag2"]},{"1338805666":["hashtag1","hashtag2"]},{"1338805671":["hashtag1","hashtag2"]},{"1338805734":["hashtag1","hashtag2"]},{"1338805661":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338805663, 1338805657, 1338805666, 1338805671, 1338805734, 1338805661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.408947467803955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:01:33.106432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/32/image_21022025_11_32_15_10351.jpg', '/home/pi/Desktop/images/21022025/11/32/image_21022025_11_32_25_10344.jpg', '/home/pi/Desktop/images/21022025/11/32/image_21022025_11_32_35_9325.jpg', '/home/pi/Desktop/images/21022025/11/32/image_21022025_11_32_45_10356.jpg', '/home/pi/Desktop/images/21022025/11/32/image_21022025_11_32_55_10392.jpg', '/home/pi/Desktop/images/21022025/11/32/image_21022025_11_33_05_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/32/image_21022025_11_32_15_10351.jpg
/home/pi/Desktop/images/21022025/11/32/image_21022025_11_32_25_10344.jpg
/home/pi/Desktop/images/21022025/11/32/image_21022025_11_32_35_9325.jpg
/home/pi/Desktop/images/21022025/11/32/image_21022025_11_32_45_10356.jpg
/home/pi/Desktop/images/21022025/11/32/image_21022025_11_32_55_10392.jpg
/home/pi/Desktop/images/21022025/11/32/image_21022025_11_33_05_9399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338805942","1338805980","1338805782","1338805979","1338805778","1338805981"],"photo_ids_order":["1338805778","1338805782","1338805942","1338805979","1338805980","1338805981"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aa4e2386619ae65f0322619ffa7defd6.jpg","text":"TemporaryFile(/tmp/multipartBody486161219527875104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135753575,"filename":"image_21022025_11_32_35_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7e33dc83c229cc6bac8dfddcde42f859.jpg","text":"TemporaryFile(/tmp/multipartBody1486542276415076591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135753575,"filename":"image_21022025_11_32_55_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f6443d9b780d04fb6e848723ec912d1f.jpg","text":"TemporaryFile(/tmp/multipartBody158077681165600197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135753575,"filename":"image_21022025_11_32_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5110ea2eb826e267df702cdbdd36d896.jpg","text":"TemporaryFile(/tmp/multipartBody2575053195031429196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135753575,"filename":"image_21022025_11_32_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/adf4f83360e096f7fa7487897292bdfb.jpg","text":"TemporaryFile(/tmp/multipartBody5439289000939160196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135753575,"filename":"image_21022025_11_32_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8472ddf3052c31d63319cb49717dfac8.jpg","text":"TemporaryFile(/tmp/multipartBody7410084794400288122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135753575,"filename":"image_21022025_11_33_05_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338805942","file1":"1338805782","file0":"1338805778","file4":"1338805980","file5":"1338805981","file3":"1338805979"},"map_files_photo_id_array":[{"photo_id":"1338805981","filename":"file5"},{"photo_id":"1338805942","filename":"file2"},{"photo_id":"1338805980","filename":"file4"},{"photo_id":"1338805782","filename":"file1"},{"photo_id":"1338805778","filename":"file0"},{"photo_id":"1338805979","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338805942":["hashtag1","hashtag2"]},{"1338805980":["hashtag1","hashtag2"]},{"1338805782":["hashtag1","hashtag2"]},{"1338805979":["hashtag1","hashtag2"]},{"1338805778":["hashtag1","hashtag2"]},{"1338805981":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338805942, 1338805980, 1338805782, 1338805979, 1338805778, 1338805981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.7864351272583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:02:33.086179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/33/image_21022025_11_33_15_10330.jpg', '/home/pi/Desktop/images/21022025/11/33/image_21022025_11_33_25_9413.jpg', '/home/pi/Desktop/images/21022025/11/33/image_21022025_11_33_35_10371.jpg', '/home/pi/Desktop/images/21022025/11/33/image_21022025_11_33_45_10330.jpg', '/home/pi/Desktop/images/21022025/11/33/image_21022025_11_33_55_9532.jpg', '/home/pi/Desktop/images/21022025/11/33/image_21022025_11_34_05_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/33/image_21022025_11_33_15_10330.jpg
/home/pi/Desktop/images/21022025/11/33/image_21022025_11_33_25_9413.jpg
/home/pi/Desktop/images/21022025/11/33/image_21022025_11_33_35_10371.jpg
/home/pi/Desktop/images/21022025/11/33/image_21022025_11_33_45_10330.jpg
/home/pi/Desktop/images/21022025/11/33/image_21022025_11_33_55_9532.jpg
/home/pi/Desktop/images/21022025/11/33/image_21022025_11_34_05_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338806353","1338806355","1338806349","1338806358","1338806357","1338806341"],"photo_ids_order":["1338806341","1338806349","1338806353","1338806355","1338806357","1338806358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/01aa8e3bfc0ae69f24b8fbcf7afb078c.jpg","text":"TemporaryFile(/tmp/multipartBody5001229170920007489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135813602,"filename":"image_21022025_11_33_35_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d7e4620d587578c2f899a8b0a3cca19c.jpg","text":"TemporaryFile(/tmp/multipartBody8415349867148542569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135813602,"filename":"image_21022025_11_33_45_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/33034d5b30cfbefcad5626da0bfbd576.jpg","text":"TemporaryFile(/tmp/multipartBody4625608092134514506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135813602,"filename":"image_21022025_11_33_25_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bb4e5fc2e6490bd12476450f21a645bb.jpg","text":"TemporaryFile(/tmp/multipartBody1945321247674274989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135813602,"filename":"image_21022025_11_34_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0d7f4ebbd7621530669789d7b9dd3024.jpg","text":"TemporaryFile(/tmp/multipartBody2646137286822849543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135813602,"filename":"image_21022025_11_33_55_9532.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bdb2fe9d9dcd91f1f4e3f6b08797bfaf.jpg","text":"TemporaryFile(/tmp/multipartBody6770000637397795907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135813602,"filename":"image_21022025_11_33_15_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338806353","file1":"1338806349","file0":"1338806341","file4":"1338806357","file5":"1338806358","file3":"1338806355"},"map_files_photo_id_array":[{"photo_id":"1338806358","filename":"file5"},{"photo_id":"1338806353","filename":"file2"},{"photo_id":"1338806357","filename":"file4"},{"photo_id":"1338806349","filename":"file1"},{"photo_id":"1338806341","filename":"file0"},{"photo_id":"1338806355","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338806353":["hashtag1","hashtag2"]},{"1338806355":["hashtag1","hashtag2"]},{"1338806349":["hashtag1","hashtag2"]},{"1338806358":["hashtag1","hashtag2"]},{"1338806357":["hashtag1","hashtag2"]},{"1338806341":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338806353, 1338806355, 1338806349, 1338806358, 1338806357, 1338806341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.142202377319336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:03:32.312765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/34/image_21022025_11_34_15_10320.jpg', '/home/pi/Desktop/images/21022025/11/34/image_21022025_11_34_25_9416.jpg', '/home/pi/Desktop/images/21022025/11/34/image_21022025_11_34_35_10349.jpg', '/home/pi/Desktop/images/21022025/11/34/image_21022025_11_34_45_9410.jpg', '/home/pi/Desktop/images/21022025/11/34/image_21022025_11_35_05_10426.jpg', '/home/pi/Desktop/images/21022025/11/35/image_21022025_11_35_15_9325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/34/image_21022025_11_34_15_10320.jpg
/home/pi/Desktop/images/21022025/11/34/image_21022025_11_34_25_9416.jpg
/home/pi/Desktop/images/21022025/11/34/image_21022025_11_34_35_10349.jpg
/home/pi/Desktop/images/21022025/11/34/image_21022025_11_34_45_9410.jpg
/home/pi/Desktop/images/21022025/11/34/image_21022025_11_35_05_10426.jpg
/home/pi/Desktop/images/21022025/11/35/image_21022025_11_35_15_9325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338806452","1338806382","1338806582","1338806558","1338806507","1338806374"],"photo_ids_order":["1338806374","1338806382","1338806452","1338806507","1338806558","1338806582"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5e54c51609b0b29d41c55383b3ff2083.jpg","text":"TemporaryFile(/tmp/multipartBody964477618758018863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135872767,"filename":"image_21022025_11_34_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/289c9f6679762be94eee3484a0d19d99.jpg","text":"TemporaryFile(/tmp/multipartBody32708498353205458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135872767,"filename":"image_21022025_11_34_25_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be13e8cfd6e9ceda7a18e68e0d4580b6.jpg","text":"TemporaryFile(/tmp/multipartBody2676559105510741939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135872767,"filename":"image_21022025_11_35_15_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/11bb0062b3340e78f159ae687b04535a.jpg","text":"TemporaryFile(/tmp/multipartBody6949139437119071566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135872767,"filename":"image_21022025_11_35_05_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/82d50c13a3657e1cddc94452523d6177.jpg","text":"TemporaryFile(/tmp/multipartBody1397474274285260075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135872767,"filename":"image_21022025_11_34_45_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/356b564a638691dc151c0a2f507386e8.jpg","text":"TemporaryFile(/tmp/multipartBody7831957092265704574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135872767,"filename":"image_21022025_11_34_15_10320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338806452","file1":"1338806382","file0":"1338806374","file4":"1338806558","file5":"1338806582","file3":"1338806507"},"map_files_photo_id_array":[{"photo_id":"1338806582","filename":"file5"},{"photo_id":"1338806452","filename":"file2"},{"photo_id":"1338806558","filename":"file4"},{"photo_id":"1338806382","filename":"file1"},{"photo_id":"1338806374","filename":"file0"},{"photo_id":"1338806507","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338806452":["hashtag1","hashtag2"]},{"1338806382":["hashtag1","hashtag2"]},{"1338806582":["hashtag1","hashtag2"]},{"1338806558":["hashtag1","hashtag2"]},{"1338806507":["hashtag1","hashtag2"]},{"1338806374":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338806452, 1338806382, 1338806582, 1338806558, 1338806507, 1338806374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.497802734375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:04:32.546895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/35/image_21022025_11_35_25_10420.jpg', '/home/pi/Desktop/images/21022025/11/35/image_21022025_11_35_35_9388.jpg', '/home/pi/Desktop/images/21022025/11/35/image_21022025_11_35_45_10358.jpg', '/home/pi/Desktop/images/21022025/11/35/image_21022025_11_35_55_10344.jpg', '/home/pi/Desktop/images/21022025/11/35/image_21022025_11_36_05_9427.jpg', '/home/pi/Desktop/images/21022025/11/36/image_21022025_11_36_15_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/35/image_21022025_11_35_25_10420.jpg
/home/pi/Desktop/images/21022025/11/35/image_21022025_11_35_35_9388.jpg
/home/pi/Desktop/images/21022025/11/35/image_21022025_11_35_45_10358.jpg
/home/pi/Desktop/images/21022025/11/35/image_21022025_11_35_55_10344.jpg
/home/pi/Desktop/images/21022025/11/35/image_21022025_11_36_05_9427.jpg
/home/pi/Desktop/images/21022025/11/36/image_21022025_11_36_15_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338807330","1338807161","1338807071","1338807266","1338807011","1338806930"],"photo_ids_order":["1338806930","1338807011","1338807071","1338807161","1338807266","1338807330"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9561bf8993202f2f313447372c9a0d8b.jpg","text":"TemporaryFile(/tmp/multipartBody1710620639964358371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135933034,"filename":"image_21022025_11_36_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/93421011f856220d19090cd0883e8aa2.jpg","text":"TemporaryFile(/tmp/multipartBody1340511494144019857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135933034,"filename":"image_21022025_11_35_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/79ac4cad130e621eb99e11caaf88b737.jpg","text":"TemporaryFile(/tmp/multipartBody8179416432349504253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135933034,"filename":"image_21022025_11_35_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0abf4e6bc41ba9ffc56be00089d4909e.jpg","text":"TemporaryFile(/tmp/multipartBody9165756415890613734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135933034,"filename":"image_21022025_11_36_05_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac8b6b5638116b75da736af7f42023fe.jpg","text":"TemporaryFile(/tmp/multipartBody4698152176836902193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135933034,"filename":"image_21022025_11_35_35_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/878662a4f90b394ee7455cb4083e8929.jpg","text":"TemporaryFile(/tmp/multipartBody2501971167072140672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740135933034,"filename":"image_21022025_11_35_25_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338807071","file1":"1338807011","file0":"1338806930","file4":"1338807266","file5":"1338807330","file3":"1338807161"},"map_files_photo_id_array":[{"photo_id":"1338807330","filename":"file5"},{"photo_id":"1338807071","filename":"file2"},{"photo_id":"1338807266","filename":"file4"},{"photo_id":"1338807011","filename":"file1"},{"photo_id":"1338806930","filename":"file0"},{"photo_id":"1338807161","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338807330":["hashtag1","hashtag2"]},{"1338807161":["hashtag1","hashtag2"]},{"1338807071":["hashtag1","hashtag2"]},{"1338807266":["hashtag1","hashtag2"]},{"1338807011":["hashtag1","hashtag2"]},{"1338806930":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338807330, 1338807161, 1338807071, 1338807266, 1338807011, 1338806930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.66072392463684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:05:32.752473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/36/image_21022025_11_36_25_10341.jpg', '/home/pi/Desktop/images/21022025/11/36/image_21022025_11_36_35_9418.jpg', '/home/pi/Desktop/images/21022025/11/36/image_21022025_11_36_45_10346.jpg', '/home/pi/Desktop/images/21022025/11/36/image_21022025_11_36_55_9448.jpg', '/home/pi/Desktop/images/21022025/11/36/image_21022025_11_37_05_10341.jpg', '/home/pi/Desktop/images/21022025/11/37/image_21022025_11_37_15_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/36/image_21022025_11_36_25_10341.jpg
/home/pi/Desktop/images/21022025/11/36/image_21022025_11_36_35_9418.jpg
/home/pi/Desktop/images/21022025/11/36/image_21022025_11_36_45_10346.jpg
/home/pi/Desktop/images/21022025/11/36/image_21022025_11_36_55_9448.jpg
/home/pi/Desktop/images/21022025/11/36/image_21022025_11_37_05_10341.jpg
/home/pi/Desktop/images/21022025/11/37/image_21022025_11_37_15_10338.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.560352087020874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 12:05:42.888037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/36/image_21022025_11_36_25_10341.jpg', '/home/pi/Desktop/images/21022025/11/36/image_21022025_11_36_35_9418.jpg', '/home/pi/Desktop/images/21022025/11/36/image_21022025_11_36_45_10346.jpg', '/home/pi/Desktop/images/21022025/11/36/image_21022025_11_36_55_9448.jpg', '/home/pi/Desktop/images/21022025/11/36/image_21022025_11_37_05_10341.jpg', '/home/pi/Desktop/images/21022025/11/37/image_21022025_11_37_15_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/36/image_21022025_11_36_25_10341.jpg
/home/pi/Desktop/images/21022025/11/36/image_21022025_11_36_35_9418.jpg
/home/pi/Desktop/images/21022025/11/36/image_21022025_11_36_45_10346.jpg
/home/pi/Desktop/images/21022025/11/36/image_21022025_11_36_55_9448.jpg
/home/pi/Desktop/images/21022025/11/36/image_21022025_11_37_05_10341.jpg
/home/pi/Desktop/images/21022025/11/37/image_21022025_11_37_15_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338807681","1338807777","1338807762","1338807779","1338807775","1338807769"],"photo_ids_order":["1338807681","1338807762","1338807769","1338807775","1338807777","1338807779"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bff0a8db671f34b2000c73b2ec15e238.jpg","text":"TemporaryFile(/tmp/multipartBody8252192915321751941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136003343,"filename":"image_21022025_11_36_25_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd3e0eac1c87cd59c457047f7840b145.jpg","text":"TemporaryFile(/tmp/multipartBody4218972422324762810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136003343,"filename":"image_21022025_11_37_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9f841000294912556a2fe9193c2a4788.jpg","text":"TemporaryFile(/tmp/multipartBody1244448970883496552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136003343,"filename":"image_21022025_11_36_35_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7677fc110c18f287ccd4ae400964b63b.jpg","text":"TemporaryFile(/tmp/multipartBody7787280516636684741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136003343,"filename":"image_21022025_11_37_15_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/999a5dcbabb449f2e7d2412e7e4326c2.jpg","text":"TemporaryFile(/tmp/multipartBody4777282654929043749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136003343,"filename":"image_21022025_11_36_55_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/77e55472ac4eb2888be8f2652e127398.jpg","text":"TemporaryFile(/tmp/multipartBody5494911400307354307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136003343,"filename":"image_21022025_11_36_45_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338807769","file1":"1338807762","file0":"1338807681","file4":"1338807777","file5":"1338807779","file3":"1338807775"},"map_files_photo_id_array":[{"photo_id":"1338807779","filename":"file5"},{"photo_id":"1338807769","filename":"file2"},{"photo_id":"1338807777","filename":"file4"},{"photo_id":"1338807762","filename":"file1"},{"photo_id":"1338807681","filename":"file0"},{"photo_id":"1338807775","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338807681":["hashtag1","hashtag2"]},{"1338807777":["hashtag1","hashtag2"]},{"1338807762":["hashtag1","hashtag2"]},{"1338807779":["hashtag1","hashtag2"]},{"1338807775":["hashtag1","hashtag2"]},{"1338807769":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338807681, 1338807777, 1338807762, 1338807779, 1338807775, 1338807769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42074394226074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:06:32.969365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/37/image_21022025_11_37_25_9428.jpg', '/home/pi/Desktop/images/21022025/11/37/image_21022025_11_37_35_10327.jpg', '/home/pi/Desktop/images/21022025/11/37/image_21022025_11_37_45_10337.jpg', '/home/pi/Desktop/images/21022025/11/37/image_21022025_11_37_55_9337.jpg', '/home/pi/Desktop/images/21022025/11/37/image_21022025_11_38_05_10344.jpg', '/home/pi/Desktop/images/21022025/11/38/image_21022025_11_38_15_10313.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/37/image_21022025_11_37_25_9428.jpg
/home/pi/Desktop/images/21022025/11/37/image_21022025_11_37_35_10327.jpg
/home/pi/Desktop/images/21022025/11/37/image_21022025_11_37_45_10337.jpg
/home/pi/Desktop/images/21022025/11/37/image_21022025_11_37_55_9337.jpg
/home/pi/Desktop/images/21022025/11/37/image_21022025_11_38_05_10344.jpg
/home/pi/Desktop/images/21022025/11/38/image_21022025_11_38_15_10313.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338807843","1338807822","1338807831","1338807818","1338807841","1338807838"],"photo_ids_order":["1338807818","1338807822","1338807831","1338807838","1338807841","1338807843"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5147e902cb979e9d54c0fa2fd642e816.jpg","text":"TemporaryFile(/tmp/multipartBody6013256768172029343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136053447,"filename":"image_21022025_11_38_15_10313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2cff6b2a502d143994086fb0e317bdb9.jpg","text":"TemporaryFile(/tmp/multipartBody6243350746072234038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136053447,"filename":"image_21022025_11_37_35_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4db1561e4bb65a859cb4376d153b34e4.jpg","text":"TemporaryFile(/tmp/multipartBody3760855920474316230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136053447,"filename":"image_21022025_11_37_45_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/429a5a9406655f73d7e87f79fe56eecc.jpg","text":"TemporaryFile(/tmp/multipartBody376626053707451725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136053447,"filename":"image_21022025_11_37_25_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a201b80d7455aeb77903fe2847c2495.jpg","text":"TemporaryFile(/tmp/multipartBody636235737000704910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136053447,"filename":"image_21022025_11_38_05_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e5c38b23382d546593326591525074e7.jpg","text":"TemporaryFile(/tmp/multipartBody2651274466215964899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136053447,"filename":"image_21022025_11_37_55_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338807831","file1":"1338807822","file0":"1338807818","file4":"1338807841","file5":"1338807843","file3":"1338807838"},"map_files_photo_id_array":[{"photo_id":"1338807843","filename":"file5"},{"photo_id":"1338807831","filename":"file2"},{"photo_id":"1338807841","filename":"file4"},{"photo_id":"1338807822","filename":"file1"},{"photo_id":"1338807818","filename":"file0"},{"photo_id":"1338807838","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338807843":["hashtag1","hashtag2"]},{"1338807822":["hashtag1","hashtag2"]},{"1338807831":["hashtag1","hashtag2"]},{"1338807818":["hashtag1","hashtag2"]},{"1338807841":["hashtag1","hashtag2"]},{"1338807838":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338807843, 1338807822, 1338807831, 1338807818, 1338807841, 1338807838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.883806467056274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:07:32.269385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/38/image_21022025_11_38_25_9414.jpg', '/home/pi/Desktop/images/21022025/11/38/image_21022025_11_38_35_10425.jpg', '/home/pi/Desktop/images/21022025/11/38/image_21022025_11_38_45_9497.jpg', '/home/pi/Desktop/images/21022025/11/38/image_21022025_11_38_55_10331.jpg', '/home/pi/Desktop/images/21022025/11/38/image_21022025_11_39_05_10316.jpg', '/home/pi/Desktop/images/21022025/11/39/image_21022025_11_39_15_9317.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/38/image_21022025_11_38_25_9414.jpg
/home/pi/Desktop/images/21022025/11/38/image_21022025_11_38_35_10425.jpg
/home/pi/Desktop/images/21022025/11/38/image_21022025_11_38_45_9497.jpg
/home/pi/Desktop/images/21022025/11/38/image_21022025_11_38_55_10331.jpg
/home/pi/Desktop/images/21022025/11/38/image_21022025_11_39_05_10316.jpg
/home/pi/Desktop/images/21022025/11/39/image_21022025_11_39_15_9317.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338807927","1338808067","1338808424","1338807920","1338807923","1338808245"],"photo_ids_order":["1338807920","1338807923","1338807927","1338808067","1338808245","1338808424"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/198fc395b3215425ea4a3f5e5787e997.jpg","text":"TemporaryFile(/tmp/multipartBody5787983879047161621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136112726,"filename":"image_21022025_11_38_45_9497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80f27fca4a86bb899fe5037d6bb7c2aa.jpg","text":"TemporaryFile(/tmp/multipartBody5846468202530637024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136112726,"filename":"image_21022025_11_38_55_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dc5742b1b81ace0786c4d1efce003cc0.jpg","text":"TemporaryFile(/tmp/multipartBody8954340880541843640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136112726,"filename":"image_21022025_11_39_15_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90ca6eca34c591304152a3577f47296c.jpg","text":"TemporaryFile(/tmp/multipartBody4421719990797043668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136112726,"filename":"image_21022025_11_38_25_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/289b88e8e113eb88f4e64ed848ebce92.jpg","text":"TemporaryFile(/tmp/multipartBody4664958570090384781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136112726,"filename":"image_21022025_11_38_35_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/441c4164dc4b3198ca0147baa333e354.jpg","text":"TemporaryFile(/tmp/multipartBody4673042125126582089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136112726,"filename":"image_21022025_11_39_05_10316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338807927","file1":"1338807923","file0":"1338807920","file4":"1338808245","file5":"1338808424","file3":"1338808067"},"map_files_photo_id_array":[{"photo_id":"1338808424","filename":"file5"},{"photo_id":"1338807927","filename":"file2"},{"photo_id":"1338808245","filename":"file4"},{"photo_id":"1338807923","filename":"file1"},{"photo_id":"1338807920","filename":"file0"},{"photo_id":"1338808067","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338807927":["hashtag1","hashtag2"]},{"1338808067":["hashtag1","hashtag2"]},{"1338808424":["hashtag1","hashtag2"]},{"1338807920":["hashtag1","hashtag2"]},{"1338807923":["hashtag1","hashtag2"]},{"1338808245":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338807927, 1338808067, 1338808424, 1338807920, 1338807923, 1338808245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19874691963196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:08:32.402158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/39/image_21022025_11_39_25_10402.jpg', '/home/pi/Desktop/images/21022025/11/39/image_21022025_11_39_35_10332.jpg', '/home/pi/Desktop/images/21022025/11/39/image_21022025_11_39_45_9424.jpg', '/home/pi/Desktop/images/21022025/11/39/image_21022025_11_39_55_10323.jpg', '/home/pi/Desktop/images/21022025/11/39/image_21022025_11_40_06_10374.jpg', '/home/pi/Desktop/images/21022025/11/40/image_21022025_11_40_15_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/39/image_21022025_11_39_25_10402.jpg
/home/pi/Desktop/images/21022025/11/39/image_21022025_11_39_35_10332.jpg
/home/pi/Desktop/images/21022025/11/39/image_21022025_11_39_45_9424.jpg
/home/pi/Desktop/images/21022025/11/39/image_21022025_11_39_55_10323.jpg
/home/pi/Desktop/images/21022025/11/39/image_21022025_11_40_06_10374.jpg
/home/pi/Desktop/images/21022025/11/40/image_21022025_11_40_15_9391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338808967","1338809003","1338808844","1338809050","1338809053","1338809008"],"photo_ids_order":["1338808844","1338808967","1338809003","1338809008","1338809050","1338809053"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ecc0f098621325621beef7afc430720.jpg","text":"TemporaryFile(/tmp/multipartBody9006830136642614876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136172871,"filename":"image_21022025_11_39_35_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc7fac9ecf5d8bdb70569caa041a9ef0.jpg","text":"TemporaryFile(/tmp/multipartBody6279715052611401364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136172871,"filename":"image_21022025_11_39_45_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e17993ff580056c7c52ccb41847a26a8.jpg","text":"TemporaryFile(/tmp/multipartBody4490627903475842150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136172871,"filename":"image_21022025_11_39_25_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/17b838751d36f5242eddfee8cf0ad135.jpg","text":"TemporaryFile(/tmp/multipartBody2751182733357990155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136172871,"filename":"image_21022025_11_40_06_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f4d843a11c5f70f4936adf10976b9429.jpg","text":"TemporaryFile(/tmp/multipartBody2597897584531466372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136172871,"filename":"image_21022025_11_40_15_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/12c44bf6674e77fc7559e85479e6e833.jpg","text":"TemporaryFile(/tmp/multipartBody8578876762348409984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136172871,"filename":"image_21022025_11_39_55_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338809003","file1":"1338808967","file0":"1338808844","file4":"1338809050","file5":"1338809053","file3":"1338809008"},"map_files_photo_id_array":[{"photo_id":"1338809053","filename":"file5"},{"photo_id":"1338809003","filename":"file2"},{"photo_id":"1338809050","filename":"file4"},{"photo_id":"1338808967","filename":"file1"},{"photo_id":"1338808844","filename":"file0"},{"photo_id":"1338809008","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338808967":["hashtag1","hashtag2"]},{"1338809003":["hashtag1","hashtag2"]},{"1338808844":["hashtag1","hashtag2"]},{"1338809050":["hashtag1","hashtag2"]},{"1338809053":["hashtag1","hashtag2"]},{"1338809008":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338808967, 1338809003, 1338808844, 1338809050, 1338809053, 1338809008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.825557708740234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:09:32.734002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/40/image_21022025_11_40_25_10346.jpg', '/home/pi/Desktop/images/21022025/11/40/image_21022025_11_40_35_9434.jpg', '/home/pi/Desktop/images/21022025/11/40/image_21022025_11_40_45_10358.jpg', '/home/pi/Desktop/images/21022025/11/40/image_21022025_11_40_55_10353.jpg', '/home/pi/Desktop/images/21022025/11/40/image_21022025_11_41_05_9305.jpg', '/home/pi/Desktop/images/21022025/11/41/image_21022025_11_41_15_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/40/image_21022025_11_40_25_10346.jpg
/home/pi/Desktop/images/21022025/11/40/image_21022025_11_40_35_9434.jpg
/home/pi/Desktop/images/21022025/11/40/image_21022025_11_40_45_10358.jpg
/home/pi/Desktop/images/21022025/11/40/image_21022025_11_40_55_10353.jpg
/home/pi/Desktop/images/21022025/11/40/image_21022025_11_41_05_9305.jpg
/home/pi/Desktop/images/21022025/11/41/image_21022025_11_41_15_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338809972","1338809921","1338809201","1338809311","1338809844","1338809520"],"photo_ids_order":["1338809201","1338809311","1338809520","1338809844","1338809921","1338809972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d721639d45204e9eb44fdce6eb51f6e3.jpg","text":"TemporaryFile(/tmp/multipartBody2087315035106330723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136233200,"filename":"image_21022025_11_41_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4e081c1699851f89c64c48ae47f31236.jpg","text":"TemporaryFile(/tmp/multipartBody4652812839202506909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136233200,"filename":"image_21022025_11_41_05_9305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/77c7e1d2a9bf1e50f40034ac5ebbd5ec.jpg","text":"TemporaryFile(/tmp/multipartBody3971821119405163256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136233200,"filename":"image_21022025_11_40_25_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/03e771d8ee0d5b9a37abb982e6ea19f3.jpg","text":"TemporaryFile(/tmp/multipartBody6399357054342739624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136233200,"filename":"image_21022025_11_40_35_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5cc0786e27ece3942fe35a9769b0de2d.jpg","text":"TemporaryFile(/tmp/multipartBody1956846236355489746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136233200,"filename":"image_21022025_11_40_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c34e95b75faaec9e2670a46247f2a1a3.jpg","text":"TemporaryFile(/tmp/multipartBody2844610236871314694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136233200,"filename":"image_21022025_11_40_45_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338809520","file1":"1338809311","file0":"1338809201","file4":"1338809921","file5":"1338809972","file3":"1338809844"},"map_files_photo_id_array":[{"photo_id":"1338809972","filename":"file5"},{"photo_id":"1338809520","filename":"file2"},{"photo_id":"1338809921","filename":"file4"},{"photo_id":"1338809311","filename":"file1"},{"photo_id":"1338809201","filename":"file0"},{"photo_id":"1338809844","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338809972":["hashtag1","hashtag2"]},{"1338809921":["hashtag1","hashtag2"]},{"1338809201":["hashtag1","hashtag2"]},{"1338809311":["hashtag1","hashtag2"]},{"1338809844":["hashtag1","hashtag2"]},{"1338809520":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338809972, 1338809921, 1338809201, 1338809311, 1338809844, 1338809520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.71216821670532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:10:33.101073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/41/image_21022025_11_41_25_10327.jpg', '/home/pi/Desktop/images/21022025/11/41/image_21022025_11_41_35_9401.jpg', '/home/pi/Desktop/images/21022025/11/41/image_21022025_11_41_45_10342.jpg', '/home/pi/Desktop/images/21022025/11/41/image_21022025_11_42_05_9323.jpg', '/home/pi/Desktop/images/21022025/11/42/image_21022025_11_42_15_10343.jpg', '/home/pi/Desktop/images/21022025/11/42/image_21022025_11_42_26_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/41/image_21022025_11_41_25_10327.jpg
/home/pi/Desktop/images/21022025/11/41/image_21022025_11_41_35_9401.jpg
/home/pi/Desktop/images/21022025/11/41/image_21022025_11_41_45_10342.jpg
/home/pi/Desktop/images/21022025/11/41/image_21022025_11_42_05_9323.jpg
/home/pi/Desktop/images/21022025/11/42/image_21022025_11_42_15_10343.jpg
/home/pi/Desktop/images/21022025/11/42/image_21022025_11_42_26_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338810557","1338810536","1338810359","1338810401","1338810681","1338810471"],"photo_ids_order":["1338810359","1338810401","1338810471","1338810536","1338810557","1338810681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/60d5f3b5fa14d3b3bc32116ecd85478e.jpg","text":"TemporaryFile(/tmp/multipartBody3231428040082769896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136293573,"filename":"image_21022025_11_42_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7cbc337d5a5902adddd12cb985498dc7.jpg","text":"TemporaryFile(/tmp/multipartBody1130520854250385477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136293573,"filename":"image_21022025_11_42_05_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2db689a6c58e37520954444f6774b655.jpg","text":"TemporaryFile(/tmp/multipartBody8040426613458064697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136293573,"filename":"image_21022025_11_41_25_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1bdc3713745cd694b0383df9080e04c5.jpg","text":"TemporaryFile(/tmp/multipartBody7909595746157002119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136293573,"filename":"image_21022025_11_41_35_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2f02a5eb85c1b05aa6e009c2c3be0d6e.jpg","text":"TemporaryFile(/tmp/multipartBody4152708426654335884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136293573,"filename":"image_21022025_11_42_26_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8563ff5f1ae052541190116e0a8130a5.jpg","text":"TemporaryFile(/tmp/multipartBody6287379373222602942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136293573,"filename":"image_21022025_11_41_45_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338810471","file1":"1338810401","file0":"1338810359","file4":"1338810557","file5":"1338810681","file3":"1338810536"},"map_files_photo_id_array":[{"photo_id":"1338810681","filename":"file5"},{"photo_id":"1338810471","filename":"file2"},{"photo_id":"1338810557","filename":"file4"},{"photo_id":"1338810401","filename":"file1"},{"photo_id":"1338810359","filename":"file0"},{"photo_id":"1338810536","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338810557":["hashtag1","hashtag2"]},{"1338810536":["hashtag1","hashtag2"]},{"1338810359":["hashtag1","hashtag2"]},{"1338810401":["hashtag1","hashtag2"]},{"1338810681":["hashtag1","hashtag2"]},{"1338810471":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338810557, 1338810536, 1338810359, 1338810401, 1338810681, 1338810471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.93930006027222 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:11:32.268595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/42/image_21022025_11_42_35_9385.jpg', '/home/pi/Desktop/images/21022025/11/42/image_21022025_11_42_45_10335.jpg', '/home/pi/Desktop/images/21022025/11/42/image_21022025_11_42_55_9391.jpg', '/home/pi/Desktop/images/21022025/11/42/image_21022025_11_43_05_10350.jpg', '/home/pi/Desktop/images/21022025/11/43/image_21022025_11_43_15_10386.jpg', '/home/pi/Desktop/images/21022025/11/43/image_21022025_11_43_25_9386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/42/image_21022025_11_42_35_9385.jpg
/home/pi/Desktop/images/21022025/11/42/image_21022025_11_42_45_10335.jpg
/home/pi/Desktop/images/21022025/11/42/image_21022025_11_42_55_9391.jpg
/home/pi/Desktop/images/21022025/11/42/image_21022025_11_43_05_10350.jpg
/home/pi/Desktop/images/21022025/11/43/image_21022025_11_43_15_10386.jpg
/home/pi/Desktop/images/21022025/11/43/image_21022025_11_43_25_9386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338810974","1338810977","1338810965","1338810938","1338810976","1338810969"],"photo_ids_order":["1338810938","1338810965","1338810969","1338810974","1338810976","1338810977"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ee15a2b61d80a6f9a429fca7f17f99b7.jpg","text":"TemporaryFile(/tmp/multipartBody6194723359057087150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136352742,"filename":"image_21022025_11_43_05_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/11846207039667798e1a88d3a17e7a43.jpg","text":"TemporaryFile(/tmp/multipartBody1961273469326175272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136352742,"filename":"image_21022025_11_43_25_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3b47c1d2810eb1ddc7281cfd2cf713e5.jpg","text":"TemporaryFile(/tmp/multipartBody1568074927040587751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136352742,"filename":"image_21022025_11_42_45_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/00882c929fcf1a3b94539ac0d7ca352c.jpg","text":"TemporaryFile(/tmp/multipartBody3470594457855737910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136352742,"filename":"image_21022025_11_42_35_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/352e4d48a4f50dc376c978dd7c9ca3fa.jpg","text":"TemporaryFile(/tmp/multipartBody6456796155779193520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136352742,"filename":"image_21022025_11_43_15_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e770885cfe7298f581ab8a99157a80d5.jpg","text":"TemporaryFile(/tmp/multipartBody1739081689767198707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136352742,"filename":"image_21022025_11_42_55_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338810969","file1":"1338810965","file0":"1338810938","file4":"1338810976","file5":"1338810977","file3":"1338810974"},"map_files_photo_id_array":[{"photo_id":"1338810977","filename":"file5"},{"photo_id":"1338810969","filename":"file2"},{"photo_id":"1338810976","filename":"file4"},{"photo_id":"1338810965","filename":"file1"},{"photo_id":"1338810938","filename":"file0"},{"photo_id":"1338810974","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338810974":["hashtag1","hashtag2"]},{"1338810977":["hashtag1","hashtag2"]},{"1338810965":["hashtag1","hashtag2"]},{"1338810938":["hashtag1","hashtag2"]},{"1338810976":["hashtag1","hashtag2"]},{"1338810969":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338810974, 1338810977, 1338810965, 1338810938, 1338810976, 1338810969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59170079231262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:12:32.551284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/43/image_21022025_11_43_35_10341.jpg', '/home/pi/Desktop/images/21022025/11/43/image_21022025_11_43_45_10344.jpg', '/home/pi/Desktop/images/21022025/11/43/image_21022025_11_43_55_9350.jpg', '/home/pi/Desktop/images/21022025/11/43/image_21022025_11_44_05_10322.jpg', '/home/pi/Desktop/images/21022025/11/44/image_21022025_11_44_25_9403.jpg', '/home/pi/Desktop/images/21022025/11/44/image_21022025_11_44_35_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/43/image_21022025_11_43_35_10341.jpg
/home/pi/Desktop/images/21022025/11/43/image_21022025_11_43_45_10344.jpg
/home/pi/Desktop/images/21022025/11/43/image_21022025_11_43_55_9350.jpg
/home/pi/Desktop/images/21022025/11/43/image_21022025_11_44_05_10322.jpg
/home/pi/Desktop/images/21022025/11/44/image_21022025_11_44_25_9403.jpg
/home/pi/Desktop/images/21022025/11/44/image_21022025_11_44_35_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338811024","1338811027","1338811006","1338811020","1338811008","1338811011"],"photo_ids_order":["1338811006","1338811008","1338811011","1338811020","1338811024","1338811027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9f0baeabbe0e3d041ec3223fd45fa51f.jpg","text":"TemporaryFile(/tmp/multipartBody6529129791597974213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136413013,"filename":"image_21022025_11_44_25_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9a9095d05d8089e7aff262643ba74721.jpg","text":"TemporaryFile(/tmp/multipartBody7216489706860649617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136413013,"filename":"image_21022025_11_44_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d5bbbcc98b63328c2ecb941b97ea8187.jpg","text":"TemporaryFile(/tmp/multipartBody2687981281484905972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136413013,"filename":"image_21022025_11_43_35_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fb460c3ef1394238fdee0a710b969130.jpg","text":"TemporaryFile(/tmp/multipartBody1630458060309728241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136413013,"filename":"image_21022025_11_44_05_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a57dca6a9940c52eed9c3976cb2b3d3d.jpg","text":"TemporaryFile(/tmp/multipartBody7214575874143308671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136413013,"filename":"image_21022025_11_43_45_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1e1c032c979ff90fc2a2c4bc304cc233.jpg","text":"TemporaryFile(/tmp/multipartBody7201287435689559235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136413013,"filename":"image_21022025_11_43_55_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338811011","file1":"1338811008","file0":"1338811006","file4":"1338811024","file5":"1338811027","file3":"1338811020"},"map_files_photo_id_array":[{"photo_id":"1338811027","filename":"file5"},{"photo_id":"1338811011","filename":"file2"},{"photo_id":"1338811024","filename":"file4"},{"photo_id":"1338811008","filename":"file1"},{"photo_id":"1338811006","filename":"file0"},{"photo_id":"1338811020","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338811024":["hashtag1","hashtag2"]},{"1338811027":["hashtag1","hashtag2"]},{"1338811006":["hashtag1","hashtag2"]},{"1338811020":["hashtag1","hashtag2"]},{"1338811008":["hashtag1","hashtag2"]},{"1338811011":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338811024, 1338811027, 1338811006, 1338811020, 1338811008, 1338811011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.42928504943848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:13:32.904560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/44/image_21022025_11_44_46_10333.jpg', '/home/pi/Desktop/images/21022025/11/44/image_21022025_11_44_55_9340.jpg', '/home/pi/Desktop/images/21022025/11/44/image_21022025_11_45_05_10334.jpg', '/home/pi/Desktop/images/21022025/11/45/image_21022025_11_45_15_9421.jpg', '/home/pi/Desktop/images/21022025/11/45/image_21022025_11_45_25_10347.jpg', '/home/pi/Desktop/images/21022025/11/45/image_21022025_11_45_35_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/44/image_21022025_11_44_46_10333.jpg
/home/pi/Desktop/images/21022025/11/44/image_21022025_11_44_55_9340.jpg
/home/pi/Desktop/images/21022025/11/44/image_21022025_11_45_05_10334.jpg
/home/pi/Desktop/images/21022025/11/45/image_21022025_11_45_15_9421.jpg
/home/pi/Desktop/images/21022025/11/45/image_21022025_11_45_25_10347.jpg
/home/pi/Desktop/images/21022025/11/45/image_21022025_11_45_35_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338811568","1338811573","1338811567","1338811570","1338811572","1338811562"],"photo_ids_order":["1338811562","1338811567","1338811568","1338811570","1338811572","1338811573"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e10693c85c5c2054f785934de965b2d5.jpg","text":"TemporaryFile(/tmp/multipartBody6995510172290933984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136473403,"filename":"image_21022025_11_45_05_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/736db7e4f88cc5d3797024291ff7a47c.jpg","text":"TemporaryFile(/tmp/multipartBody1252990516471371206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136473403,"filename":"image_21022025_11_45_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/643f617e1471c393163345c08c41f416.jpg","text":"TemporaryFile(/tmp/multipartBody1281548308267011956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136473403,"filename":"image_21022025_11_44_55_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7ed573c50d601fe936063a8ff2eed20.jpg","text":"TemporaryFile(/tmp/multipartBody3624987334880556788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136473403,"filename":"image_21022025_11_45_15_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7bc7e4076f4d822a864e65040b374e32.jpg","text":"TemporaryFile(/tmp/multipartBody7734161621137370254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136473403,"filename":"image_21022025_11_45_25_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d9946fd87f85af80c662ccebfded72b.jpg","text":"TemporaryFile(/tmp/multipartBody998626985753069852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136473403,"filename":"image_21022025_11_44_46_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338811568","file1":"1338811567","file0":"1338811562","file4":"1338811572","file5":"1338811573","file3":"1338811570"},"map_files_photo_id_array":[{"photo_id":"1338811573","filename":"file5"},{"photo_id":"1338811568","filename":"file2"},{"photo_id":"1338811572","filename":"file4"},{"photo_id":"1338811567","filename":"file1"},{"photo_id":"1338811562","filename":"file0"},{"photo_id":"1338811570","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338811568":["hashtag1","hashtag2"]},{"1338811573":["hashtag1","hashtag2"]},{"1338811567":["hashtag1","hashtag2"]},{"1338811570":["hashtag1","hashtag2"]},{"1338811572":["hashtag1","hashtag2"]},{"1338811562":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338811568, 1338811573, 1338811567, 1338811570, 1338811572, 1338811562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.60232186317444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:14:32.994527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/45/image_21022025_11_45_55_10348.jpg', '/home/pi/Desktop/images/21022025/11/45/image_21022025_11_46_05_10320.jpg', '/home/pi/Desktop/images/21022025/11/46/image_21022025_11_46_15_9342.jpg', '/home/pi/Desktop/images/21022025/11/46/image_21022025_11_46_25_10357.jpg', '/home/pi/Desktop/images/21022025/11/46/image_21022025_11_46_45_9451.jpg', '/home/pi/Desktop/images/21022025/11/46/image_21022025_11_46_55_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/45/image_21022025_11_45_55_10348.jpg
/home/pi/Desktop/images/21022025/11/45/image_21022025_11_46_05_10320.jpg
/home/pi/Desktop/images/21022025/11/46/image_21022025_11_46_15_9342.jpg
/home/pi/Desktop/images/21022025/11/46/image_21022025_11_46_25_10357.jpg
/home/pi/Desktop/images/21022025/11/46/image_21022025_11_46_45_9451.jpg
/home/pi/Desktop/images/21022025/11/46/image_21022025_11_46_55_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338811712","1338811715","1338811720","1338811723","1338811717","1338811725"],"photo_ids_order":["1338811712","1338811715","1338811717","1338811720","1338811723","1338811725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5e0ba6755a2d6fac60f76ba2717263dc.jpg","text":"TemporaryFile(/tmp/multipartBody3812397043351160869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136533469,"filename":"image_21022025_11_45_55_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/18b876524c8b096ea2cba4733c07a523.jpg","text":"TemporaryFile(/tmp/multipartBody845970665122203086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136533469,"filename":"image_21022025_11_46_05_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/56d931a4e59a2fc07683151c9d630102.jpg","text":"TemporaryFile(/tmp/multipartBody7873275692037873542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136533469,"filename":"image_21022025_11_46_25_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9cdaea418f9c3c7e9ff78e09aa286190.jpg","text":"TemporaryFile(/tmp/multipartBody1446912679047013961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136533469,"filename":"image_21022025_11_46_45_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/37b3e18abde4efac9b9f109cb1b6ccda.jpg","text":"TemporaryFile(/tmp/multipartBody5855934137703442797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136533469,"filename":"image_21022025_11_46_15_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/82f06bfdfa4ba636669089326bdf1d56.jpg","text":"TemporaryFile(/tmp/multipartBody6809695028570543238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136533469,"filename":"image_21022025_11_46_55_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338811717","file1":"1338811715","file0":"1338811712","file4":"1338811723","file5":"1338811725","file3":"1338811720"},"map_files_photo_id_array":[{"photo_id":"1338811725","filename":"file5"},{"photo_id":"1338811717","filename":"file2"},{"photo_id":"1338811723","filename":"file4"},{"photo_id":"1338811715","filename":"file1"},{"photo_id":"1338811712","filename":"file0"},{"photo_id":"1338811720","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338811712":["hashtag1","hashtag2"]},{"1338811715":["hashtag1","hashtag2"]},{"1338811720":["hashtag1","hashtag2"]},{"1338811723":["hashtag1","hashtag2"]},{"1338811717":["hashtag1","hashtag2"]},{"1338811725":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338811712, 1338811715, 1338811720, 1338811723, 1338811717, 1338811725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.31250619888306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:15:32.321469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/46/image_21022025_11_47_05_10336.jpg', '/home/pi/Desktop/images/21022025/11/47/image_21022025_11_47_15_9421.jpg', '/home/pi/Desktop/images/21022025/11/47/image_21022025_11_47_25_10336.jpg', '/home/pi/Desktop/images/21022025/11/47/image_21022025_11_47_35_9411.jpg', '/home/pi/Desktop/images/21022025/11/47/image_21022025_11_47_45_10366.jpg', '/home/pi/Desktop/images/21022025/11/47/image_21022025_11_47_55_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/46/image_21022025_11_47_05_10336.jpg
/home/pi/Desktop/images/21022025/11/47/image_21022025_11_47_15_9421.jpg
/home/pi/Desktop/images/21022025/11/47/image_21022025_11_47_25_10336.jpg
/home/pi/Desktop/images/21022025/11/47/image_21022025_11_47_35_9411.jpg
/home/pi/Desktop/images/21022025/11/47/image_21022025_11_47_45_10366.jpg
/home/pi/Desktop/images/21022025/11/47/image_21022025_11_47_55_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338812039","1338812035","1338812037","1338812031","1338812060","1338812054"],"photo_ids_order":["1338812031","1338812035","1338812037","1338812039","1338812054","1338812060"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ec4b9fc9bd3acffd2bb64de8a2eb96e0.jpg","text":"TemporaryFile(/tmp/multipartBody255373762524710082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136592789,"filename":"image_21022025_11_47_35_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/56505475c1e489eba9659c0fbbf930e9.jpg","text":"TemporaryFile(/tmp/multipartBody5351333151772714287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136592789,"filename":"image_21022025_11_47_15_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/011b1faa697510d134ac1d7c98c0d92d.jpg","text":"TemporaryFile(/tmp/multipartBody3145289592252165824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136592789,"filename":"image_21022025_11_47_25_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c57b7eda357346af72d4dd106cabf92.jpg","text":"TemporaryFile(/tmp/multipartBody377486541014535066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136592789,"filename":"image_21022025_11_47_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b428c2741d2ef34e341031367ab405e4.jpg","text":"TemporaryFile(/tmp/multipartBody4859818771212404478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136592789,"filename":"image_21022025_11_47_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d88bcf52ba7cf2ff13d3eb99009fb665.jpg","text":"TemporaryFile(/tmp/multipartBody8208604139497683755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136592789,"filename":"image_21022025_11_47_45_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338812037","file1":"1338812035","file0":"1338812031","file4":"1338812054","file5":"1338812060","file3":"1338812039"},"map_files_photo_id_array":[{"photo_id":"1338812060","filename":"file5"},{"photo_id":"1338812037","filename":"file2"},{"photo_id":"1338812054","filename":"file4"},{"photo_id":"1338812035","filename":"file1"},{"photo_id":"1338812031","filename":"file0"},{"photo_id":"1338812039","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338812039":["hashtag1","hashtag2"]},{"1338812035":["hashtag1","hashtag2"]},{"1338812037":["hashtag1","hashtag2"]},{"1338812031":["hashtag1","hashtag2"]},{"1338812060":["hashtag1","hashtag2"]},{"1338812054":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338812039, 1338812035, 1338812037, 1338812031, 1338812060, 1338812054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90175986289978 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:16:32.454976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/47/image_21022025_11_48_05_9320.jpg', '/home/pi/Desktop/images/21022025/11/48/image_21022025_11_48_15_10377.jpg', '/home/pi/Desktop/images/21022025/11/48/image_21022025_11_48_25_9474.jpg', '/home/pi/Desktop/images/21022025/11/48/image_21022025_11_48_45_10370.jpg', '/home/pi/Desktop/images/21022025/11/48/image_21022025_11_48_55_9392.jpg', '/home/pi/Desktop/images/21022025/11/48/image_21022025_11_49_05_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/47/image_21022025_11_48_05_9320.jpg
/home/pi/Desktop/images/21022025/11/48/image_21022025_11_48_15_10377.jpg
/home/pi/Desktop/images/21022025/11/48/image_21022025_11_48_25_9474.jpg
/home/pi/Desktop/images/21022025/11/48/image_21022025_11_48_45_10370.jpg
/home/pi/Desktop/images/21022025/11/48/image_21022025_11_48_55_9392.jpg
/home/pi/Desktop/images/21022025/11/48/image_21022025_11_49_05_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338812092","1338812088","1338812103","1338812099","1338812090","1338812084"],"photo_ids_order":["1338812084","1338812088","1338812090","1338812092","1338812099","1338812103"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0dde20ebd1f9d8b647803324e7fc4520.jpg","text":"TemporaryFile(/tmp/multipartBody1722571184027314226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136652921,"filename":"image_21022025_11_48_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c9d123702659d0998db895956eda32df.jpg","text":"TemporaryFile(/tmp/multipartBody2965620388938411289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136652921,"filename":"image_21022025_11_48_15_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4879165c97bc357959d049b3e74f9edb.jpg","text":"TemporaryFile(/tmp/multipartBody5593050498846262312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136652921,"filename":"image_21022025_11_49_05_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a12adc07d4ac497d6144091a7d6c491e.jpg","text":"TemporaryFile(/tmp/multipartBody6885339066439293430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136652921,"filename":"image_21022025_11_48_55_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7906e0ff8f0fdf81acc9ab5e50c79c7a.jpg","text":"TemporaryFile(/tmp/multipartBody5871962418511092391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136652921,"filename":"image_21022025_11_48_25_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d4f1a647630792f60178ba1011d357f2.jpg","text":"TemporaryFile(/tmp/multipartBody2267846196054456945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136652921,"filename":"image_21022025_11_48_05_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338812090","file1":"1338812088","file0":"1338812084","file4":"1338812099","file5":"1338812103","file3":"1338812092"},"map_files_photo_id_array":[{"photo_id":"1338812103","filename":"file5"},{"photo_id":"1338812090","filename":"file2"},{"photo_id":"1338812099","filename":"file4"},{"photo_id":"1338812088","filename":"file1"},{"photo_id":"1338812084","filename":"file0"},{"photo_id":"1338812092","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338812092":["hashtag1","hashtag2"]},{"1338812088":["hashtag1","hashtag2"]},{"1338812103":["hashtag1","hashtag2"]},{"1338812099":["hashtag1","hashtag2"]},{"1338812090":["hashtag1","hashtag2"]},{"1338812084":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338812092, 1338812088, 1338812103, 1338812099, 1338812090, 1338812084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.55402898788452 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:17:32.696473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/49/image_21022025_11_49_15_10322.jpg', '/home/pi/Desktop/images/21022025/11/49/image_21022025_11_49_35_10352.jpg', '/home/pi/Desktop/images/21022025/11/49/image_21022025_11_49_45_9441.jpg', '/home/pi/Desktop/images/21022025/11/49/image_21022025_11_50_05_10322.jpg', '/home/pi/Desktop/images/21022025/11/50/image_21022025_11_50_15_9428.jpg', '/home/pi/Desktop/images/21022025/11/50/image_21022025_11_50_25_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/49/image_21022025_11_49_15_10322.jpg
/home/pi/Desktop/images/21022025/11/49/image_21022025_11_49_35_10352.jpg
/home/pi/Desktop/images/21022025/11/49/image_21022025_11_49_45_9441.jpg
/home/pi/Desktop/images/21022025/11/49/image_21022025_11_50_05_10322.jpg
/home/pi/Desktop/images/21022025/11/50/image_21022025_11_50_15_9428.jpg
/home/pi/Desktop/images/21022025/11/50/image_21022025_11_50_25_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338812167","1338812175","1338812183","1338812189","1338812180","1338812153"],"photo_ids_order":["1338812153","1338812167","1338812175","1338812180","1338812183","1338812189"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d3a2ead66ec85b1d82cf1bbc3e2b027.jpg","text":"TemporaryFile(/tmp/multipartBody3447796894301865673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136713201,"filename":"image_21022025_11_49_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/21ab497dbffcc3ea86620995bbd0be89.jpg","text":"TemporaryFile(/tmp/multipartBody8062743324035234401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136713201,"filename":"image_21022025_11_49_45_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c0023dc82f75577fff7679e2c0f46c78.jpg","text":"TemporaryFile(/tmp/multipartBody6580365808531527980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136713201,"filename":"image_21022025_11_50_15_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/22002621a9834b95e5d60268cf32fb3f.jpg","text":"TemporaryFile(/tmp/multipartBody6608081791770854166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136713201,"filename":"image_21022025_11_50_25_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d9dce48a14c37aad0725a8e348b1d8c5.jpg","text":"TemporaryFile(/tmp/multipartBody8024679644957328600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136713201,"filename":"image_21022025_11_50_05_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/12d3e35a53361d3b1aeb5cc8ae014cb7.jpg","text":"TemporaryFile(/tmp/multipartBody6922466678260106758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136713201,"filename":"image_21022025_11_49_15_10322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338812175","file1":"1338812167","file0":"1338812153","file4":"1338812183","file5":"1338812189","file3":"1338812180"},"map_files_photo_id_array":[{"photo_id":"1338812189","filename":"file5"},{"photo_id":"1338812175","filename":"file2"},{"photo_id":"1338812183","filename":"file4"},{"photo_id":"1338812167","filename":"file1"},{"photo_id":"1338812153","filename":"file0"},{"photo_id":"1338812180","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338812167":["hashtag1","hashtag2"]},{"1338812175":["hashtag1","hashtag2"]},{"1338812183":["hashtag1","hashtag2"]},{"1338812189":["hashtag1","hashtag2"]},{"1338812180":["hashtag1","hashtag2"]},{"1338812153":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338812167, 1338812175, 1338812183, 1338812189, 1338812180, 1338812153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.157384395599365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:18:32.882789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/50/image_21022025_11_50_35_10305.jpg', '/home/pi/Desktop/images/21022025/11/50/image_21022025_11_50_45_9410.jpg', '/home/pi/Desktop/images/21022025/11/50/image_21022025_11_50_55_10442.jpg', '/home/pi/Desktop/images/21022025/11/50/image_21022025_11_51_05_9475.jpg', '/home/pi/Desktop/images/21022025/11/51/image_21022025_11_51_15_10337.jpg', '/home/pi/Desktop/images/21022025/11/51/image_21022025_11_51_26_10452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/50/image_21022025_11_50_35_10305.jpg
/home/pi/Desktop/images/21022025/11/50/image_21022025_11_50_45_9410.jpg
/home/pi/Desktop/images/21022025/11/50/image_21022025_11_50_55_10442.jpg
/home/pi/Desktop/images/21022025/11/50/image_21022025_11_51_05_9475.jpg
/home/pi/Desktop/images/21022025/11/51/image_21022025_11_51_15_10337.jpg
/home/pi/Desktop/images/21022025/11/51/image_21022025_11_51_26_10452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338812569","1338812554","1338812557","1338812565","1338812559","1338812561"],"photo_ids_order":["1338812554","1338812557","1338812559","1338812561","1338812565","1338812569"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1c3f80a955f9c96458271f09f4cb1f44.jpg","text":"TemporaryFile(/tmp/multipartBody7866544851428358248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136773361,"filename":"image_21022025_11_51_26_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2cf0d85a8e742210d74c5c0143145319.jpg","text":"TemporaryFile(/tmp/multipartBody76645729008666056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136773361,"filename":"image_21022025_11_50_35_10305.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5a44ae48cd4111b4c23be6f805afc63b.jpg","text":"TemporaryFile(/tmp/multipartBody704088537301911532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136773361,"filename":"image_21022025_11_50_45_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c0cd0237ff6a9ae15704ae4fedffc67.jpg","text":"TemporaryFile(/tmp/multipartBody2342854603394508747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136773361,"filename":"image_21022025_11_51_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f828eefd3dd9c8670dde3c3ebb7c2e0f.jpg","text":"TemporaryFile(/tmp/multipartBody6773920715611946572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136773361,"filename":"image_21022025_11_50_55_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e15fb687a28222e0897e2f0f360725b.jpg","text":"TemporaryFile(/tmp/multipartBody2472369594083458625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136773361,"filename":"image_21022025_11_51_05_9475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338812559","file1":"1338812557","file0":"1338812554","file4":"1338812565","file5":"1338812569","file3":"1338812561"},"map_files_photo_id_array":[{"photo_id":"1338812569","filename":"file5"},{"photo_id":"1338812559","filename":"file2"},{"photo_id":"1338812565","filename":"file4"},{"photo_id":"1338812557","filename":"file1"},{"photo_id":"1338812554","filename":"file0"},{"photo_id":"1338812561","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338812569":["hashtag1","hashtag2"]},{"1338812554":["hashtag1","hashtag2"]},{"1338812557":["hashtag1","hashtag2"]},{"1338812565":["hashtag1","hashtag2"]},{"1338812559":["hashtag1","hashtag2"]},{"1338812561":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338812569, 1338812554, 1338812557, 1338812565, 1338812559, 1338812561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.898428440093994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:19:33.076336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/51/image_21022025_11_51_35_9427.jpg', '/home/pi/Desktop/images/21022025/11/52/image_21022025_11_52_15_10334.jpg', '/home/pi/Desktop/images/21022025/11/52/image_21022025_11_52_25_9387.jpg', '/home/pi/Desktop/images/21022025/11/52/image_21022025_11_52_35_10321.jpg', '/home/pi/Desktop/images/21022025/11/52/image_21022025_11_52_45_10353.jpg', '/home/pi/Desktop/images/21022025/11/52/image_21022025_11_52_55_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/51/image_21022025_11_51_35_9427.jpg
/home/pi/Desktop/images/21022025/11/52/image_21022025_11_52_15_10334.jpg
/home/pi/Desktop/images/21022025/11/52/image_21022025_11_52_25_9387.jpg
/home/pi/Desktop/images/21022025/11/52/image_21022025_11_52_35_10321.jpg
/home/pi/Desktop/images/21022025/11/52/image_21022025_11_52_45_10353.jpg
/home/pi/Desktop/images/21022025/11/52/image_21022025_11_52_55_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338812896","1338812898","1338812793","1338812894","1338812891","1338812789"],"photo_ids_order":["1338812789","1338812793","1338812891","1338812894","1338812896","1338812898"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8e9bba55f8c998b27592ff7d750178fe.jpg","text":"TemporaryFile(/tmp/multipartBody2973643575341867929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136833545,"filename":"image_21022025_11_52_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1af74b1f3e420e59ee42a2c56db81789.jpg","text":"TemporaryFile(/tmp/multipartBody2220114096293754347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136833545,"filename":"image_21022025_11_52_55_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f77ac57078e8d1dbaaba9f00a2541290.jpg","text":"TemporaryFile(/tmp/multipartBody5678712875377774622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136833545,"filename":"image_21022025_11_52_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f0b5950ea04fd99f2aea69da62487cd3.jpg","text":"TemporaryFile(/tmp/multipartBody7170226533901090774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136833545,"filename":"image_21022025_11_52_35_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/872e1178dc8b611aa637b7b630827b5e.jpg","text":"TemporaryFile(/tmp/multipartBody2447325509100562741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136833545,"filename":"image_21022025_11_52_25_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/597a2a93dde3786284ea37fe220bb5c8.jpg","text":"TemporaryFile(/tmp/multipartBody5696348332703531016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136833545,"filename":"image_21022025_11_51_35_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338812891","file1":"1338812793","file0":"1338812789","file4":"1338812896","file5":"1338812898","file3":"1338812894"},"map_files_photo_id_array":[{"photo_id":"1338812898","filename":"file5"},{"photo_id":"1338812891","filename":"file2"},{"photo_id":"1338812896","filename":"file4"},{"photo_id":"1338812793","filename":"file1"},{"photo_id":"1338812789","filename":"file0"},{"photo_id":"1338812894","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338812896":["hashtag1","hashtag2"]},{"1338812898":["hashtag1","hashtag2"]},{"1338812793":["hashtag1","hashtag2"]},{"1338812894":["hashtag1","hashtag2"]},{"1338812891":["hashtag1","hashtag2"]},{"1338812789":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338812896, 1338812898, 1338812793, 1338812894, 1338812891, 1338812789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1316921710968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:20:32.257119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/52/image_21022025_11_53_05_10310.jpg', '/home/pi/Desktop/images/21022025/11/53/image_21022025_11_53_15_9505.jpg', '/home/pi/Desktop/images/21022025/11/53/image_21022025_11_53_25_10349.jpg', '/home/pi/Desktop/images/21022025/11/53/image_21022025_11_53_35_10330.jpg', '/home/pi/Desktop/images/21022025/11/53/image_21022025_11_53_45_9438.jpg', '/home/pi/Desktop/images/21022025/11/53/image_21022025_11_53_55_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/52/image_21022025_11_53_05_10310.jpg
/home/pi/Desktop/images/21022025/11/53/image_21022025_11_53_15_9505.jpg
/home/pi/Desktop/images/21022025/11/53/image_21022025_11_53_25_10349.jpg
/home/pi/Desktop/images/21022025/11/53/image_21022025_11_53_35_10330.jpg
/home/pi/Desktop/images/21022025/11/53/image_21022025_11_53_45_9438.jpg
/home/pi/Desktop/images/21022025/11/53/image_21022025_11_53_55_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338813487","1338813607","1338813411","1338813794","1338813779","1338813796"],"photo_ids_order":["1338813411","1338813487","1338813607","1338813779","1338813794","1338813796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f2018fb175b83fe2c4be1353694331a.jpg","text":"TemporaryFile(/tmp/multipartBody6747496883125300984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136892717,"filename":"image_21022025_11_53_15_9505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a3e7970686cf928bb45b5f83ca1988d8.jpg","text":"TemporaryFile(/tmp/multipartBody4132172705201627683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136892717,"filename":"image_21022025_11_53_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1c0ad2a9c3a4fbd878e338647e9e2f0d.jpg","text":"TemporaryFile(/tmp/multipartBody452543316303031022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136892717,"filename":"image_21022025_11_53_05_10310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eb5d5b875cdee73638b1fc0236e3250a.jpg","text":"TemporaryFile(/tmp/multipartBody3994160973276892143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136892717,"filename":"image_21022025_11_53_45_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b446da2e3b3c8b816721807b24968f6.jpg","text":"TemporaryFile(/tmp/multipartBody6918567435907369482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136892717,"filename":"image_21022025_11_53_35_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/059857d9acbc47daf9ed70de08850de6.jpg","text":"TemporaryFile(/tmp/multipartBody2929611169726149788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136892717,"filename":"image_21022025_11_53_55_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338813607","file1":"1338813487","file0":"1338813411","file4":"1338813794","file5":"1338813796","file3":"1338813779"},"map_files_photo_id_array":[{"photo_id":"1338813796","filename":"file5"},{"photo_id":"1338813607","filename":"file2"},{"photo_id":"1338813794","filename":"file4"},{"photo_id":"1338813487","filename":"file1"},{"photo_id":"1338813411","filename":"file0"},{"photo_id":"1338813779","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338813487":["hashtag1","hashtag2"]},{"1338813607":["hashtag1","hashtag2"]},{"1338813411":["hashtag1","hashtag2"]},{"1338813794":["hashtag1","hashtag2"]},{"1338813779":["hashtag1","hashtag2"]},{"1338813796":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338813487, 1338813607, 1338813411, 1338813794, 1338813779, 1338813796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38695669174194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:21:32.511189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/53/image_21022025_11_54_05_10325.jpg', '/home/pi/Desktop/images/21022025/11/54/image_21022025_11_54_25_10340.jpg', '/home/pi/Desktop/images/21022025/11/54/image_21022025_11_54_35_9375.jpg', '/home/pi/Desktop/images/21022025/11/54/image_21022025_11_54_45_10359.jpg', '/home/pi/Desktop/images/21022025/11/54/image_21022025_11_54_55_10338.jpg', '/home/pi/Desktop/images/21022025/11/54/image_21022025_11_55_05_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/53/image_21022025_11_54_05_10325.jpg
/home/pi/Desktop/images/21022025/11/54/image_21022025_11_54_25_10340.jpg
/home/pi/Desktop/images/21022025/11/54/image_21022025_11_54_35_9375.jpg
/home/pi/Desktop/images/21022025/11/54/image_21022025_11_54_45_10359.jpg
/home/pi/Desktop/images/21022025/11/54/image_21022025_11_54_55_10338.jpg
/home/pi/Desktop/images/21022025/11/54/image_21022025_11_55_05_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338814194","1338814026","1338814052","1338814133","1338814480","1338814330"],"photo_ids_order":["1338814026","1338814052","1338814133","1338814194","1338814330","1338814480"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8bc87d23c130ea664c915a5428e3ed9a.jpg","text":"TemporaryFile(/tmp/multipartBody9097108628057708921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136952977,"filename":"image_21022025_11_54_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/56e75781eeb38b342eb6d7f3c9435942.jpg","text":"TemporaryFile(/tmp/multipartBody7585246412259884759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136952977,"filename":"image_21022025_11_54_05_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/766ee2b474899339264d85a3f3d351d3.jpg","text":"TemporaryFile(/tmp/multipartBody1568388370248594327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136952977,"filename":"image_21022025_11_54_25_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/348fc884f8ebe5c5e15c6e83b137fd51.jpg","text":"TemporaryFile(/tmp/multipartBody1876553036693659612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136952977,"filename":"image_21022025_11_54_35_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4740101826a698a7384992008702adf4.jpg","text":"TemporaryFile(/tmp/multipartBody2049644209933055407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136952977,"filename":"image_21022025_11_55_05_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/426b4170604c19d8075c9581c66c72e9.jpg","text":"TemporaryFile(/tmp/multipartBody7587179909354529565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740136952977,"filename":"image_21022025_11_54_55_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338814133","file1":"1338814052","file0":"1338814026","file4":"1338814330","file5":"1338814480","file3":"1338814194"},"map_files_photo_id_array":[{"photo_id":"1338814480","filename":"file5"},{"photo_id":"1338814133","filename":"file2"},{"photo_id":"1338814330","filename":"file4"},{"photo_id":"1338814052","filename":"file1"},{"photo_id":"1338814026","filename":"file0"},{"photo_id":"1338814194","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338814194":["hashtag1","hashtag2"]},{"1338814026":["hashtag1","hashtag2"]},{"1338814052":["hashtag1","hashtag2"]},{"1338814133":["hashtag1","hashtag2"]},{"1338814480":["hashtag1","hashtag2"]},{"1338814330":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338814194, 1338814026, 1338814052, 1338814133, 1338814480, 1338814330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.85817003250122 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:22:32.794906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/55/image_21022025_11_55_15_10378.jpg', '/home/pi/Desktop/images/21022025/11/55/image_21022025_11_55_25_10338.jpg', '/home/pi/Desktop/images/21022025/11/55/image_21022025_11_55_35_9338.jpg', '/home/pi/Desktop/images/21022025/11/55/image_21022025_11_55_45_10365.jpg', '/home/pi/Desktop/images/21022025/11/55/image_21022025_11_55_55_10339.jpg', '/home/pi/Desktop/images/21022025/11/55/image_21022025_11_56_05_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/55/image_21022025_11_55_15_10378.jpg
/home/pi/Desktop/images/21022025/11/55/image_21022025_11_55_25_10338.jpg
/home/pi/Desktop/images/21022025/11/55/image_21022025_11_55_35_9338.jpg
/home/pi/Desktop/images/21022025/11/55/image_21022025_11_55_45_10365.jpg
/home/pi/Desktop/images/21022025/11/55/image_21022025_11_55_55_10339.jpg
/home/pi/Desktop/images/21022025/11/55/image_21022025_11_56_05_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338814791","1338814806","1338814808","1338814747","1338814741","1338814744"],"photo_ids_order":["1338814741","1338814744","1338814747","1338814791","1338814806","1338814808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a5b3e22be363007fdcb7792dbb995e51.jpg","text":"TemporaryFile(/tmp/multipartBody7008700744479508719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137013337,"filename":"image_21022025_11_55_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2df7143e4c5d3ac13e8450f778126ad6.jpg","text":"TemporaryFile(/tmp/multipartBody6151344825418863685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137013337,"filename":"image_21022025_11_55_55_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aecd6a6510e95bf16f7ae2e55c7ab8be.jpg","text":"TemporaryFile(/tmp/multipartBody6428609471123045132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137013337,"filename":"image_21022025_11_56_05_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/35dbd0af0d42b521e42e5c3b192a3d89.jpg","text":"TemporaryFile(/tmp/multipartBody5992767586850121432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137013337,"filename":"image_21022025_11_55_35_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3a6def9a00b55a20bc8c29f1dcf109a2.jpg","text":"TemporaryFile(/tmp/multipartBody6647306101979572759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137013337,"filename":"image_21022025_11_55_15_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ea988c2599c3cab4cc234b0b1814f348.jpg","text":"TemporaryFile(/tmp/multipartBody7805864670376641915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137013337,"filename":"image_21022025_11_55_25_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338814747","file1":"1338814744","file0":"1338814741","file4":"1338814806","file5":"1338814808","file3":"1338814791"},"map_files_photo_id_array":[{"photo_id":"1338814808","filename":"file5"},{"photo_id":"1338814747","filename":"file2"},{"photo_id":"1338814806","filename":"file4"},{"photo_id":"1338814744","filename":"file1"},{"photo_id":"1338814741","filename":"file0"},{"photo_id":"1338814791","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338814791":["hashtag1","hashtag2"]},{"1338814806":["hashtag1","hashtag2"]},{"1338814808":["hashtag1","hashtag2"]},{"1338814747":["hashtag1","hashtag2"]},{"1338814741":["hashtag1","hashtag2"]},{"1338814744":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338814791, 1338814806, 1338814808, 1338814747, 1338814741, 1338814744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.87387251853943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:23:33.224691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/56/image_21022025_11_56_15_10358.jpg', '/home/pi/Desktop/images/21022025/11/56/image_21022025_11_56_25_9402.jpg', '/home/pi/Desktop/images/21022025/11/56/image_21022025_11_56_35_10339.jpg', '/home/pi/Desktop/images/21022025/11/56/image_21022025_11_56_45_10339.jpg', '/home/pi/Desktop/images/21022025/11/56/image_21022025_11_56_55_9483.jpg', '/home/pi/Desktop/images/21022025/11/56/image_21022025_11_57_05_10321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/56/image_21022025_11_56_15_10358.jpg
/home/pi/Desktop/images/21022025/11/56/image_21022025_11_56_25_9402.jpg
/home/pi/Desktop/images/21022025/11/56/image_21022025_11_56_35_10339.jpg
/home/pi/Desktop/images/21022025/11/56/image_21022025_11_56_45_10339.jpg
/home/pi/Desktop/images/21022025/11/56/image_21022025_11_56_55_9483.jpg
/home/pi/Desktop/images/21022025/11/56/image_21022025_11_57_05_10321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338815010","1338815013","1338815007","1338815009","1338815011","1338815008"],"photo_ids_order":["1338815007","1338815008","1338815009","1338815010","1338815011","1338815013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d11176f7e04ea062ee51b8a70ba1ba1c.jpg","text":"TemporaryFile(/tmp/multipartBody4829173264312722485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137073697,"filename":"image_21022025_11_56_45_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/57bc8a37a24a8a1979d4b0b9a248e3b5.jpg","text":"TemporaryFile(/tmp/multipartBody1263770660172704189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137073697,"filename":"image_21022025_11_57_05_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e52f3bfce2f667c21754db7fed04c1d9.jpg","text":"TemporaryFile(/tmp/multipartBody6551107141604070715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137073697,"filename":"image_21022025_11_56_15_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/113a50c26e3837f451a74b13a7e8b1ba.jpg","text":"TemporaryFile(/tmp/multipartBody3429273668755235028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137073697,"filename":"image_21022025_11_56_35_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/98050b91572a91568b7ea11511acccd7.jpg","text":"TemporaryFile(/tmp/multipartBody2625490900761652724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137073697,"filename":"image_21022025_11_56_55_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f7087b4b3321496fdf6e1f3256ff9b4.jpg","text":"TemporaryFile(/tmp/multipartBody4208645733826790064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137073697,"filename":"image_21022025_11_56_25_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338815009","file1":"1338815008","file0":"1338815007","file4":"1338815011","file5":"1338815013","file3":"1338815010"},"map_files_photo_id_array":[{"photo_id":"1338815013","filename":"file5"},{"photo_id":"1338815009","filename":"file2"},{"photo_id":"1338815011","filename":"file4"},{"photo_id":"1338815008","filename":"file1"},{"photo_id":"1338815007","filename":"file0"},{"photo_id":"1338815010","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338815010":["hashtag1","hashtag2"]},{"1338815013":["hashtag1","hashtag2"]},{"1338815007":["hashtag1","hashtag2"]},{"1338815009":["hashtag1","hashtag2"]},{"1338815011":["hashtag1","hashtag2"]},{"1338815008":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338815010, 1338815013, 1338815007, 1338815009, 1338815011, 1338815008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.91435694694519 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:24:32.335208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/57/image_21022025_11_57_35_10330.jpg', '/home/pi/Desktop/images/21022025/11/57/image_21022025_11_57_46_10355.jpg', '/home/pi/Desktop/images/21022025/11/57/image_21022025_11_57_55_9340.jpg', '/home/pi/Desktop/images/21022025/11/58/image_21022025_11_58_15_9507.jpg', '/home/pi/Desktop/images/21022025/11/58/image_21022025_11_58_25_10345.jpg', '/home/pi/Desktop/images/21022025/11/58/image_21022025_11_58_35_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/57/image_21022025_11_57_35_10330.jpg
/home/pi/Desktop/images/21022025/11/57/image_21022025_11_57_46_10355.jpg
/home/pi/Desktop/images/21022025/11/57/image_21022025_11_57_55_9340.jpg
/home/pi/Desktop/images/21022025/11/58/image_21022025_11_58_15_9507.jpg
/home/pi/Desktop/images/21022025/11/58/image_21022025_11_58_25_10345.jpg
/home/pi/Desktop/images/21022025/11/58/image_21022025_11_58_35_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338815040","1338815045","1338815048","1338815042","1338815039","1338815030"],"photo_ids_order":["1338815030","1338815039","1338815040","1338815042","1338815045","1338815048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ddd2448dbca4fbfe5f90a5d8c63e9e17.jpg","text":"TemporaryFile(/tmp/multipartBody2813165268666206338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137132797,"filename":"image_21022025_11_57_55_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ae80ab4715200321c041b3c64e128db.jpg","text":"TemporaryFile(/tmp/multipartBody2187835111832850715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137132797,"filename":"image_21022025_11_58_25_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f1a2e5a7d96d6973497cca1e9000552.jpg","text":"TemporaryFile(/tmp/multipartBody3984235048436241181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137132797,"filename":"image_21022025_11_58_35_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/beb4796d74409b9efafc745b6f298f90.jpg","text":"TemporaryFile(/tmp/multipartBody6235808389979462321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137132797,"filename":"image_21022025_11_58_15_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2c601564b918d2e2c618b2765d2ad95b.jpg","text":"TemporaryFile(/tmp/multipartBody175398235358342069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137132797,"filename":"image_21022025_11_57_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3ef300ad3520bbdd252648096275a876.jpg","text":"TemporaryFile(/tmp/multipartBody477504305098380053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137132797,"filename":"image_21022025_11_57_35_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338815040","file1":"1338815039","file0":"1338815030","file4":"1338815045","file5":"1338815048","file3":"1338815042"},"map_files_photo_id_array":[{"photo_id":"1338815048","filename":"file5"},{"photo_id":"1338815040","filename":"file2"},{"photo_id":"1338815045","filename":"file4"},{"photo_id":"1338815039","filename":"file1"},{"photo_id":"1338815030","filename":"file0"},{"photo_id":"1338815042","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338815040":["hashtag1","hashtag2"]},{"1338815045":["hashtag1","hashtag2"]},{"1338815048":["hashtag1","hashtag2"]},{"1338815042":["hashtag1","hashtag2"]},{"1338815039":["hashtag1","hashtag2"]},{"1338815030":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338815040, 1338815045, 1338815048, 1338815042, 1338815039, 1338815030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23987650871277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:25:32.527511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/58/image_21022025_11_58_45_9421.jpg', '/home/pi/Desktop/images/21022025/11/58/image_21022025_11_58_55_10345.jpg', '/home/pi/Desktop/images/21022025/11/58/image_21022025_11_59_05_9380.jpg', '/home/pi/Desktop/images/21022025/11/59/image_21022025_11_59_15_10413.jpg', '/home/pi/Desktop/images/21022025/11/59/image_21022025_11_59_25_10345.jpg', '/home/pi/Desktop/images/21022025/11/59/image_21022025_11_59_35_9315.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/58/image_21022025_11_58_45_9421.jpg
/home/pi/Desktop/images/21022025/11/58/image_21022025_11_58_55_10345.jpg
/home/pi/Desktop/images/21022025/11/58/image_21022025_11_59_05_9380.jpg
/home/pi/Desktop/images/21022025/11/59/image_21022025_11_59_15_10413.jpg
/home/pi/Desktop/images/21022025/11/59/image_21022025_11_59_25_10345.jpg
/home/pi/Desktop/images/21022025/11/59/image_21022025_11_59_35_9315.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338815076","1338815070","1338815072","1338815074","1338815079","1338815067"],"photo_ids_order":["1338815067","1338815070","1338815072","1338815074","1338815076","1338815079"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/66f58f2048b44a3053d52064ea89e9ee.jpg","text":"TemporaryFile(/tmp/multipartBody2600462941584317415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137192988,"filename":"image_21022025_11_59_25_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8e6283bf55afaaa4f9a2818170ffd2eb.jpg","text":"TemporaryFile(/tmp/multipartBody2739160180511140671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137192988,"filename":"image_21022025_11_58_55_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a56927c6e1340c27abf42139c743bb26.jpg","text":"TemporaryFile(/tmp/multipartBody3773303665276833239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137192988,"filename":"image_21022025_11_59_05_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6c443b4b3886fd341569b5e4d0cc4a62.jpg","text":"TemporaryFile(/tmp/multipartBody1386290304962149177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137192988,"filename":"image_21022025_11_59_15_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c91ebf48af72fc5976ab77de4f171132.jpg","text":"TemporaryFile(/tmp/multipartBody3406288143599424310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137192988,"filename":"image_21022025_11_59_35_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/adf6a71cf9583ad5994486957ae2100f.jpg","text":"TemporaryFile(/tmp/multipartBody7093075543093767379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137192988,"filename":"image_21022025_11_58_45_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338815072","file1":"1338815070","file0":"1338815067","file4":"1338815076","file5":"1338815079","file3":"1338815074"},"map_files_photo_id_array":[{"photo_id":"1338815079","filename":"file5"},{"photo_id":"1338815072","filename":"file2"},{"photo_id":"1338815076","filename":"file4"},{"photo_id":"1338815070","filename":"file1"},{"photo_id":"1338815067","filename":"file0"},{"photo_id":"1338815074","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338815076":["hashtag1","hashtag2"]},{"1338815070":["hashtag1","hashtag2"]},{"1338815072":["hashtag1","hashtag2"]},{"1338815074":["hashtag1","hashtag2"]},{"1338815079":["hashtag1","hashtag2"]},{"1338815067":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338815076, 1338815070, 1338815072, 1338815074, 1338815079, 1338815067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.543768644332886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:26:32.829239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/11/59/image_21022025_11_59_45_10404.jpg', '/home/pi/Desktop/images/21022025/11/59/image_21022025_11_59_55_10334.jpg', '/home/pi/Desktop/images/21022025/12/01/image_21022025_12_01_15_10071.jpg', '/home/pi/Desktop/images/21022025/12/01/image_21022025_12_01_25_10405.jpg', '/home/pi/Desktop/images/21022025/12/01/image_21022025_12_01_35_10319.jpg', '/home/pi/Desktop/images/21022025/12/01/image_21022025_12_01_45_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/11/59/image_21022025_11_59_45_10404.jpg
/home/pi/Desktop/images/21022025/11/59/image_21022025_11_59_55_10334.jpg
/home/pi/Desktop/images/21022025/12/01/image_21022025_12_01_15_10071.jpg
/home/pi/Desktop/images/21022025/12/01/image_21022025_12_01_25_10405.jpg
/home/pi/Desktop/images/21022025/12/01/image_21022025_12_01_35_10319.jpg
/home/pi/Desktop/images/21022025/12/01/image_21022025_12_01_45_9464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338815142","1338815208","1338815090","1338815336","1338815092","1338815281"],"photo_ids_order":["1338815090","1338815092","1338815142","1338815208","1338815281","1338815336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/580a2b947341edb138c5b09efa97d923.jpg","text":"TemporaryFile(/tmp/multipartBody6574762675365104532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137253303,"filename":"image_21022025_12_01_15_10071.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/00842935c95d5d729100b1ccf403ea95.jpg","text":"TemporaryFile(/tmp/multipartBody9071689457826068782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137253303,"filename":"image_21022025_12_01_25_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/27c99399f779c8ca721a97389ac493ba.jpg","text":"TemporaryFile(/tmp/multipartBody1186488602570223751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137253303,"filename":"image_21022025_11_59_45_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f788ea5ef06bede363d89904e559e9bf.jpg","text":"TemporaryFile(/tmp/multipartBody6287766113325195858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137253303,"filename":"image_21022025_12_01_45_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b1a42954cc056e05a75f312a43dd41b4.jpg","text":"TemporaryFile(/tmp/multipartBody1165558296752831253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137253303,"filename":"image_21022025_11_59_55_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8a512e010cdca165591583809d65a1da.jpg","text":"TemporaryFile(/tmp/multipartBody2923162287418709148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137253303,"filename":"image_21022025_12_01_35_10319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338815142","file1":"1338815092","file0":"1338815090","file4":"1338815281","file5":"1338815336","file3":"1338815208"},"map_files_photo_id_array":[{"photo_id":"1338815336","filename":"file5"},{"photo_id":"1338815142","filename":"file2"},{"photo_id":"1338815281","filename":"file4"},{"photo_id":"1338815092","filename":"file1"},{"photo_id":"1338815090","filename":"file0"},{"photo_id":"1338815208","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338815142":["hashtag1","hashtag2"]},{"1338815208":["hashtag1","hashtag2"]},{"1338815090":["hashtag1","hashtag2"]},{"1338815336":["hashtag1","hashtag2"]},{"1338815092":["hashtag1","hashtag2"]},{"1338815281":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338815142, 1338815208, 1338815090, 1338815336, 1338815092, 1338815281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.56048369407654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:27:33.255133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/01/image_21022025_12_01_55_10361.jpg', '/home/pi/Desktop/images/21022025/12/01/image_21022025_12_02_05_10335.jpg', '/home/pi/Desktop/images/21022025/12/02/image_21022025_12_02_15_9327.jpg', '/home/pi/Desktop/images/21022025/12/02/image_21022025_12_02_25_10425.jpg', '/home/pi/Desktop/images/21022025/12/02/image_21022025_12_02_34_9320.jpg', '/home/pi/Desktop/images/21022025/12/02/image_21022025_12_02_45_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/01/image_21022025_12_01_55_10361.jpg
/home/pi/Desktop/images/21022025/12/01/image_21022025_12_02_05_10335.jpg
/home/pi/Desktop/images/21022025/12/02/image_21022025_12_02_15_9327.jpg
/home/pi/Desktop/images/21022025/12/02/image_21022025_12_02_25_10425.jpg
/home/pi/Desktop/images/21022025/12/02/image_21022025_12_02_34_9320.jpg
/home/pi/Desktop/images/21022025/12/02/image_21022025_12_02_45_10441.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5063965320587158 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 12:27:43.047709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/01/image_21022025_12_01_55_10361.jpg', '/home/pi/Desktop/images/21022025/12/01/image_21022025_12_02_05_10335.jpg', '/home/pi/Desktop/images/21022025/12/02/image_21022025_12_02_15_9327.jpg', '/home/pi/Desktop/images/21022025/12/02/image_21022025_12_02_25_10425.jpg', '/home/pi/Desktop/images/21022025/12/02/image_21022025_12_02_34_9320.jpg', '/home/pi/Desktop/images/21022025/12/02/image_21022025_12_02_45_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/01/image_21022025_12_01_55_10361.jpg
/home/pi/Desktop/images/21022025/12/01/image_21022025_12_02_05_10335.jpg
/home/pi/Desktop/images/21022025/12/02/image_21022025_12_02_15_9327.jpg
/home/pi/Desktop/images/21022025/12/02/image_21022025_12_02_25_10425.jpg
/home/pi/Desktop/images/21022025/12/02/image_21022025_12_02_34_9320.jpg
/home/pi/Desktop/images/21022025/12/02/image_21022025_12_02_45_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338815510","1338815507","1338815515","1338815503","1338815512","1338815499"],"photo_ids_order":["1338815499","1338815503","1338815507","1338815510","1338815512","1338815515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c9864ce7d793be3cbc75021b31874c0b.jpg","text":"TemporaryFile(/tmp/multipartBody3207528695374463005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137323505,"filename":"image_21022025_12_02_25_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/de8b6fe5b45719a842f08ebee6252f65.jpg","text":"TemporaryFile(/tmp/multipartBody6801465364780676815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137323505,"filename":"image_21022025_12_02_15_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e4a99fb17f26d480a5aae91c3aa0aa7.jpg","text":"TemporaryFile(/tmp/multipartBody5337168278052219248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137323505,"filename":"image_21022025_12_02_45_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ceb075f41d181365bd60d14c551e24a3.jpg","text":"TemporaryFile(/tmp/multipartBody1315692294609712523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137323505,"filename":"image_21022025_12_02_05_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5bdec088a9b540e03a17825015c8d4e0.jpg","text":"TemporaryFile(/tmp/multipartBody3813371283120562938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137323505,"filename":"image_21022025_12_02_34_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cdd80158c6bdc8de6a7d692cb1801f66.jpg","text":"TemporaryFile(/tmp/multipartBody8767670843789330434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137323505,"filename":"image_21022025_12_01_55_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338815507","file1":"1338815503","file0":"1338815499","file4":"1338815512","file5":"1338815515","file3":"1338815510"},"map_files_photo_id_array":[{"photo_id":"1338815515","filename":"file5"},{"photo_id":"1338815507","filename":"file2"},{"photo_id":"1338815512","filename":"file4"},{"photo_id":"1338815503","filename":"file1"},{"photo_id":"1338815499","filename":"file0"},{"photo_id":"1338815510","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338815510":["hashtag1","hashtag2"]},{"1338815507":["hashtag1","hashtag2"]},{"1338815515":["hashtag1","hashtag2"]},{"1338815503":["hashtag1","hashtag2"]},{"1338815512":["hashtag1","hashtag2"]},{"1338815499":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338815510, 1338815507, 1338815515, 1338815503, 1338815512, 1338815499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49015974998474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:28:32.349957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/02/image_21022025_12_02_55_10431.jpg', '/home/pi/Desktop/images/21022025/12/02/image_21022025_12_03_05_9329.jpg', '/home/pi/Desktop/images/21022025/12/03/image_21022025_12_03_15_10313.jpg', '/home/pi/Desktop/images/21022025/12/03/image_21022025_12_03_25_10345.jpg', '/home/pi/Desktop/images/21022025/12/03/image_21022025_12_03_35_9400.jpg', '/home/pi/Desktop/images/21022025/12/03/image_21022025_12_03_55_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/02/image_21022025_12_02_55_10431.jpg
/home/pi/Desktop/images/21022025/12/02/image_21022025_12_03_05_9329.jpg
/home/pi/Desktop/images/21022025/12/03/image_21022025_12_03_15_10313.jpg
/home/pi/Desktop/images/21022025/12/03/image_21022025_12_03_25_10345.jpg
/home/pi/Desktop/images/21022025/12/03/image_21022025_12_03_35_9400.jpg
/home/pi/Desktop/images/21022025/12/03/image_21022025_12_03_55_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338815532","1338815540","1338815534","1338815537","1338815528","1338815530"],"photo_ids_order":["1338815528","1338815530","1338815532","1338815534","1338815537","1338815540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/65ba9ce71d9a78f43b4d270ca02a3e85.jpg","text":"TemporaryFile(/tmp/multipartBody1461864491558877060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137372816,"filename":"image_21022025_12_03_15_10313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be923cbc8af0c31cb7a30f3f97551668.jpg","text":"TemporaryFile(/tmp/multipartBody2338588831854051432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137372816,"filename":"image_21022025_12_03_55_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa590ad6e7fec901a77d57621531f576.jpg","text":"TemporaryFile(/tmp/multipartBody4382453666344391518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137372816,"filename":"image_21022025_12_03_25_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a40240ca67cfad40b95f3c2b3a23926b.jpg","text":"TemporaryFile(/tmp/multipartBody41339132696743792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137372816,"filename":"image_21022025_12_03_35_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81ed3eaae140fb9004160d1cf808558c.jpg","text":"TemporaryFile(/tmp/multipartBody6140981402470552367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137372816,"filename":"image_21022025_12_02_55_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ca748557735d2a9985dfd6abeeab1a8.jpg","text":"TemporaryFile(/tmp/multipartBody5412450660035431324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137372816,"filename":"image_21022025_12_03_05_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338815532","file1":"1338815530","file0":"1338815528","file4":"1338815537","file5":"1338815540","file3":"1338815534"},"map_files_photo_id_array":[{"photo_id":"1338815540","filename":"file5"},{"photo_id":"1338815532","filename":"file2"},{"photo_id":"1338815537","filename":"file4"},{"photo_id":"1338815530","filename":"file1"},{"photo_id":"1338815528","filename":"file0"},{"photo_id":"1338815534","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338815532":["hashtag1","hashtag2"]},{"1338815540":["hashtag1","hashtag2"]},{"1338815534":["hashtag1","hashtag2"]},{"1338815537":["hashtag1","hashtag2"]},{"1338815528":["hashtag1","hashtag2"]},{"1338815530":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338815532, 1338815540, 1338815534, 1338815537, 1338815528, 1338815530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61713790893555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:29:32.435428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/03/image_21022025_12_04_05_9429.jpg', '/home/pi/Desktop/images/21022025/12/04/image_21022025_12_04_15_10341.jpg', '/home/pi/Desktop/images/21022025/12/04/image_21022025_12_04_25_9430.jpg', '/home/pi/Desktop/images/21022025/12/04/image_21022025_12_04_35_10371.jpg', '/home/pi/Desktop/images/21022025/12/04/image_21022025_12_04_44_9459.jpg', '/home/pi/Desktop/images/21022025/12/04/image_21022025_12_04_55_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/03/image_21022025_12_04_05_9429.jpg
/home/pi/Desktop/images/21022025/12/04/image_21022025_12_04_15_10341.jpg
/home/pi/Desktop/images/21022025/12/04/image_21022025_12_04_25_9430.jpg
/home/pi/Desktop/images/21022025/12/04/image_21022025_12_04_35_10371.jpg
/home/pi/Desktop/images/21022025/12/04/image_21022025_12_04_44_9459.jpg
/home/pi/Desktop/images/21022025/12/04/image_21022025_12_04_55_10434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338815565","1338815576","1338815584","1338815563","1338815572","1338815580"],"photo_ids_order":["1338815563","1338815565","1338815572","1338815576","1338815580","1338815584"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ebf28c103076ce8cf6da309ba468377d.jpg","text":"TemporaryFile(/tmp/multipartBody1217777685557550130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137432898,"filename":"image_21022025_12_04_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/54f6653b0bf5f2a1b27ae93025a7d2a0.jpg","text":"TemporaryFile(/tmp/multipartBody3916520697552269374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137432898,"filename":"image_21022025_12_04_35_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eb2c1fe35efa298f1c583e7e51c20670.jpg","text":"TemporaryFile(/tmp/multipartBody8755756253682655656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137432898,"filename":"image_21022025_12_04_55_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cbc6da5913c6548c4d1f7692c497e49d.jpg","text":"TemporaryFile(/tmp/multipartBody6544137916481429410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137432898,"filename":"image_21022025_12_04_05_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a22afbd6e06d208ccc3a2d2e95ec17ee.jpg","text":"TemporaryFile(/tmp/multipartBody6749582839054395570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137432898,"filename":"image_21022025_12_04_25_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ba0a2844f6b10fb5a5ed0f022f6ba6f.jpg","text":"TemporaryFile(/tmp/multipartBody6980647377383383525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137432898,"filename":"image_21022025_12_04_44_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338815572","file1":"1338815565","file0":"1338815563","file4":"1338815580","file5":"1338815584","file3":"1338815576"},"map_files_photo_id_array":[{"photo_id":"1338815584","filename":"file5"},{"photo_id":"1338815572","filename":"file2"},{"photo_id":"1338815580","filename":"file4"},{"photo_id":"1338815565","filename":"file1"},{"photo_id":"1338815563","filename":"file0"},{"photo_id":"1338815576","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338815565":["hashtag1","hashtag2"]},{"1338815576":["hashtag1","hashtag2"]},{"1338815584":["hashtag1","hashtag2"]},{"1338815563":["hashtag1","hashtag2"]},{"1338815572":["hashtag1","hashtag2"]},{"1338815580":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338815565, 1338815576, 1338815584, 1338815563, 1338815572, 1338815580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02918601036072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:30:32.765087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/05/image_21022025_12_05_15_9365.jpg', '/home/pi/Desktop/images/21022025/12/05/image_21022025_12_05_25_10360.jpg', '/home/pi/Desktop/images/21022025/12/05/image_21022025_12_05_35_10329.jpg', '/home/pi/Desktop/images/21022025/12/05/image_21022025_12_05_45_9387.jpg', '/home/pi/Desktop/images/21022025/12/05/image_21022025_12_05_55_10354.jpg', '/home/pi/Desktop/images/21022025/12/05/image_21022025_12_06_05_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/05/image_21022025_12_05_15_9365.jpg
/home/pi/Desktop/images/21022025/12/05/image_21022025_12_05_25_10360.jpg
/home/pi/Desktop/images/21022025/12/05/image_21022025_12_05_35_10329.jpg
/home/pi/Desktop/images/21022025/12/05/image_21022025_12_05_45_9387.jpg
/home/pi/Desktop/images/21022025/12/05/image_21022025_12_05_55_10354.jpg
/home/pi/Desktop/images/21022025/12/05/image_21022025_12_06_05_10325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338815597","1338815601","1338815603","1338815677","1338815599","1338815635"],"photo_ids_order":["1338815597","1338815599","1338815601","1338815603","1338815635","1338815677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/73f1cc1211cb86feb5f268d9e77858a1.jpg","text":"TemporaryFile(/tmp/multipartBody4152084535902268429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137493262,"filename":"image_21022025_12_05_15_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2faad5db3c1fa96a9f5476232875492e.jpg","text":"TemporaryFile(/tmp/multipartBody3571096170664299143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137493262,"filename":"image_21022025_12_05_35_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1ac183fec6e6e7bf3e83bd33c1b8bb0.jpg","text":"TemporaryFile(/tmp/multipartBody4017344712758378887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137493262,"filename":"image_21022025_12_05_45_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/edad5b10cbe07d95cd9a9f4ed0c553dc.jpg","text":"TemporaryFile(/tmp/multipartBody441035553187808211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137493262,"filename":"image_21022025_12_06_05_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/77109392a25390df732658e2039a3694.jpg","text":"TemporaryFile(/tmp/multipartBody5682008615476112169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137493262,"filename":"image_21022025_12_05_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a18af2aa1f5ee9677f45c0bbf30cac80.jpg","text":"TemporaryFile(/tmp/multipartBody2634194856288418911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137493262,"filename":"image_21022025_12_05_55_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338815601","file1":"1338815599","file0":"1338815597","file4":"1338815635","file5":"1338815677","file3":"1338815603"},"map_files_photo_id_array":[{"photo_id":"1338815677","filename":"file5"},{"photo_id":"1338815601","filename":"file2"},{"photo_id":"1338815635","filename":"file4"},{"photo_id":"1338815599","filename":"file1"},{"photo_id":"1338815597","filename":"file0"},{"photo_id":"1338815603","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338815597":["hashtag1","hashtag2"]},{"1338815601":["hashtag1","hashtag2"]},{"1338815603":["hashtag1","hashtag2"]},{"1338815677":["hashtag1","hashtag2"]},{"1338815599":["hashtag1","hashtag2"]},{"1338815635":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338815597, 1338815601, 1338815603, 1338815677, 1338815599, 1338815635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.691025495529175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:31:33.059087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/06/image_21022025_12_06_15_9362.jpg', '/home/pi/Desktop/images/21022025/12/06/image_21022025_12_06_25_10378.jpg', '/home/pi/Desktop/images/21022025/12/06/image_21022025_12_06_35_10332.jpg', '/home/pi/Desktop/images/21022025/12/06/image_21022025_12_06_45_9427.jpg', '/home/pi/Desktop/images/21022025/12/06/image_21022025_12_06_55_10352.jpg', '/home/pi/Desktop/images/21022025/12/06/image_21022025_12_07_05_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/06/image_21022025_12_06_15_9362.jpg
/home/pi/Desktop/images/21022025/12/06/image_21022025_12_06_25_10378.jpg
/home/pi/Desktop/images/21022025/12/06/image_21022025_12_06_35_10332.jpg
/home/pi/Desktop/images/21022025/12/06/image_21022025_12_06_45_9427.jpg
/home/pi/Desktop/images/21022025/12/06/image_21022025_12_06_55_10352.jpg
/home/pi/Desktop/images/21022025/12/06/image_21022025_12_07_05_9419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338816039","1338815976","1338815823","1338815870","1338815822","1338816036"],"photo_ids_order":["1338815822","1338815823","1338815870","1338815976","1338816036","1338816039"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b67ef40907dcf51e60a726ea6072ded.jpg","text":"TemporaryFile(/tmp/multipartBody8910414068873598087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137553550,"filename":"image_21022025_12_07_05_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b3546ac27103246fe0477bcc7480af82.jpg","text":"TemporaryFile(/tmp/multipartBody5983724037034625619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137553550,"filename":"image_21022025_12_06_45_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b002542020c57ed497547e9063a08f49.jpg","text":"TemporaryFile(/tmp/multipartBody3406518616754839263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137553550,"filename":"image_21022025_12_06_25_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f60bb6f4dd4db1667be9dd69421b8278.jpg","text":"TemporaryFile(/tmp/multipartBody3429943491412017970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137553550,"filename":"image_21022025_12_06_35_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ccae4ec36d8f3166f5120b2132a948e.jpg","text":"TemporaryFile(/tmp/multipartBody8899092537275272205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137553550,"filename":"image_21022025_12_06_15_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/20ee1af286052615678dbb5df2072984.jpg","text":"TemporaryFile(/tmp/multipartBody7310617311119012997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137553550,"filename":"image_21022025_12_06_55_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338815870","file1":"1338815823","file0":"1338815822","file4":"1338816036","file5":"1338816039","file3":"1338815976"},"map_files_photo_id_array":[{"photo_id":"1338816039","filename":"file5"},{"photo_id":"1338815870","filename":"file2"},{"photo_id":"1338816036","filename":"file4"},{"photo_id":"1338815823","filename":"file1"},{"photo_id":"1338815822","filename":"file0"},{"photo_id":"1338815976","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338816039":["hashtag1","hashtag2"]},{"1338815976":["hashtag1","hashtag2"]},{"1338815823":["hashtag1","hashtag2"]},{"1338815870":["hashtag1","hashtag2"]},{"1338815822":["hashtag1","hashtag2"]},{"1338816036":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338816039, 1338815976, 1338815823, 1338815870, 1338815822, 1338816036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91083288192749 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:32:32.230455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/07/image_21022025_12_07_15_10332.jpg', '/home/pi/Desktop/images/21022025/12/07/image_21022025_12_07_35_9438.jpg', '/home/pi/Desktop/images/21022025/12/07/image_21022025_12_08_05_9351.jpg', '/home/pi/Desktop/images/21022025/12/08/image_21022025_12_08_55_9455.jpg', '/home/pi/Desktop/images/21022025/12/08/image_21022025_12_09_05_10366.jpg', '/home/pi/Desktop/images/21022025/12/09/image_21022025_12_09_15_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/07/image_21022025_12_07_15_10332.jpg
/home/pi/Desktop/images/21022025/12/07/image_21022025_12_07_35_9438.jpg
/home/pi/Desktop/images/21022025/12/07/image_21022025_12_08_05_9351.jpg
/home/pi/Desktop/images/21022025/12/08/image_21022025_12_08_55_9455.jpg
/home/pi/Desktop/images/21022025/12/08/image_21022025_12_09_05_10366.jpg
/home/pi/Desktop/images/21022025/12/09/image_21022025_12_09_15_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338816237","1338816242","1338816199","1338816177","1338816174","1338816240"],"photo_ids_order":["1338816174","1338816177","1338816199","1338816237","1338816240","1338816242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/25f89b867ee405023072aba67c504885.jpg","text":"TemporaryFile(/tmp/multipartBody4030048372171885929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137612697,"filename":"image_21022025_12_08_55_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/273ea0ba9a5aeb0ebb80a2bdf107d87e.jpg","text":"TemporaryFile(/tmp/multipartBody6570702826006002872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137612697,"filename":"image_21022025_12_09_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/421946ddc600965bfd8998c829b5cbb0.jpg","text":"TemporaryFile(/tmp/multipartBody6123344967092286501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137612697,"filename":"image_21022025_12_08_05_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa82c75ee3bedff462d054b49100ec93.jpg","text":"TemporaryFile(/tmp/multipartBody6913008582220100772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137612697,"filename":"image_21022025_12_07_35_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/520d46402b2385e55b77bb3c7195f1f1.jpg","text":"TemporaryFile(/tmp/multipartBody8587454028013255909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137612697,"filename":"image_21022025_12_07_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/590e94d3c122e70208720c6357bb060b.jpg","text":"TemporaryFile(/tmp/multipartBody4270802888870567855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137612697,"filename":"image_21022025_12_09_05_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338816199","file1":"1338816177","file0":"1338816174","file4":"1338816240","file5":"1338816242","file3":"1338816237"},"map_files_photo_id_array":[{"photo_id":"1338816242","filename":"file5"},{"photo_id":"1338816199","filename":"file2"},{"photo_id":"1338816240","filename":"file4"},{"photo_id":"1338816177","filename":"file1"},{"photo_id":"1338816174","filename":"file0"},{"photo_id":"1338816237","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338816237":["hashtag1","hashtag2"]},{"1338816242":["hashtag1","hashtag2"]},{"1338816199":["hashtag1","hashtag2"]},{"1338816177":["hashtag1","hashtag2"]},{"1338816174":["hashtag1","hashtag2"]},{"1338816240":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338816237, 1338816242, 1338816199, 1338816177, 1338816174, 1338816240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.375129222869873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:33:32.422971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/09/image_21022025_12_09_45_10355.jpg', '/home/pi/Desktop/images/21022025/12/09/image_21022025_12_09_55_9347.jpg', '/home/pi/Desktop/images/21022025/12/10/image_21022025_12_10_25_9432.jpg', '/home/pi/Desktop/images/21022025/12/10/image_21022025_12_10_45_9514.jpg', '/home/pi/Desktop/images/21022025/12/10/image_21022025_12_10_55_10362.jpg', '/home/pi/Desktop/images/21022025/12/10/image_21022025_12_11_05_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/09/image_21022025_12_09_45_10355.jpg
/home/pi/Desktop/images/21022025/12/09/image_21022025_12_09_55_9347.jpg
/home/pi/Desktop/images/21022025/12/10/image_21022025_12_10_25_9432.jpg
/home/pi/Desktop/images/21022025/12/10/image_21022025_12_10_45_9514.jpg
/home/pi/Desktop/images/21022025/12/10/image_21022025_12_10_55_10362.jpg
/home/pi/Desktop/images/21022025/12/10/image_21022025_12_11_05_9410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338816284","1338816272","1338816277","1338816274","1338816268","1338816270"],"photo_ids_order":["1338816268","1338816270","1338816272","1338816274","1338816277","1338816284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a19f8b27f09aa84f443683bd0189151.jpg","text":"TemporaryFile(/tmp/multipartBody6869804753186651751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137672902,"filename":"image_21022025_12_11_05_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/108f8738bb6e3d5895d9f0c81c4fa37a.jpg","text":"TemporaryFile(/tmp/multipartBody7357426127604566733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137672902,"filename":"image_21022025_12_10_25_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/af83edc4359eecc8f186512de428a7d1.jpg","text":"TemporaryFile(/tmp/multipartBody5319724758491668282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137672902,"filename":"image_21022025_12_10_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c0ed5101d3a67dff6110eb6721e02ba9.jpg","text":"TemporaryFile(/tmp/multipartBody6725575448386701585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137672902,"filename":"image_21022025_12_10_45_9514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ec825f3a031afa8410015c8842a623b.jpg","text":"TemporaryFile(/tmp/multipartBody4395296638752243474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137672902,"filename":"image_21022025_12_09_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/629c44203abf9d9823a8d71b83f2ef82.jpg","text":"TemporaryFile(/tmp/multipartBody2941465290399811455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137672902,"filename":"image_21022025_12_09_55_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338816272","file1":"1338816270","file0":"1338816268","file4":"1338816277","file5":"1338816284","file3":"1338816274"},"map_files_photo_id_array":[{"photo_id":"1338816284","filename":"file5"},{"photo_id":"1338816272","filename":"file2"},{"photo_id":"1338816277","filename":"file4"},{"photo_id":"1338816270","filename":"file1"},{"photo_id":"1338816268","filename":"file0"},{"photo_id":"1338816274","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338816284":["hashtag1","hashtag2"]},{"1338816272":["hashtag1","hashtag2"]},{"1338816277":["hashtag1","hashtag2"]},{"1338816274":["hashtag1","hashtag2"]},{"1338816268":["hashtag1","hashtag2"]},{"1338816270":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338816284, 1338816272, 1338816277, 1338816274, 1338816268, 1338816270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9409499168396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:34:32.668556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/11/image_21022025_12_11_15_10403.jpg', '/home/pi/Desktop/images/21022025/12/11/image_21022025_12_11_25_10362.jpg', '/home/pi/Desktop/images/21022025/12/11/image_21022025_12_11_35_9414.jpg', '/home/pi/Desktop/images/21022025/12/11/image_21022025_12_11_45_10336.jpg', '/home/pi/Desktop/images/21022025/12/11/image_21022025_12_11_55_10332.jpg', '/home/pi/Desktop/images/21022025/12/11/image_21022025_12_12_05_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/11/image_21022025_12_11_15_10403.jpg
/home/pi/Desktop/images/21022025/12/11/image_21022025_12_11_25_10362.jpg
/home/pi/Desktop/images/21022025/12/11/image_21022025_12_11_35_9414.jpg
/home/pi/Desktop/images/21022025/12/11/image_21022025_12_11_45_10336.jpg
/home/pi/Desktop/images/21022025/12/11/image_21022025_12_11_55_10332.jpg
/home/pi/Desktop/images/21022025/12/11/image_21022025_12_12_05_9388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338816302","1338816305","1338816310","1338816304","1338816307","1338816312"],"photo_ids_order":["1338816302","1338816304","1338816305","1338816307","1338816310","1338816312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/231777a5df278aa33459d6497894fa70.jpg","text":"TemporaryFile(/tmp/multipartBody2000458651627583715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137733137,"filename":"image_21022025_12_11_15_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/45675954755ee3ebfc8db393e8ee5afb.jpg","text":"TemporaryFile(/tmp/multipartBody4847511389572735824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137733137,"filename":"image_21022025_12_11_35_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8308c9da97d3816ff15e4e15c3a1c698.jpg","text":"TemporaryFile(/tmp/multipartBody5941379616172478009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137733137,"filename":"image_21022025_12_11_55_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/355c934103bc2ba136f32cff01a472fc.jpg","text":"TemporaryFile(/tmp/multipartBody504805250758178243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137733137,"filename":"image_21022025_12_11_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1951f2cc75113c3eae141fdd0b6e8d3.jpg","text":"TemporaryFile(/tmp/multipartBody8825575892711418586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137733137,"filename":"image_21022025_12_11_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4e82c3572b1e7088a85f1f16f39cb66f.jpg","text":"TemporaryFile(/tmp/multipartBody4341101909982928160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137733137,"filename":"image_21022025_12_12_05_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338816305","file1":"1338816304","file0":"1338816302","file4":"1338816310","file5":"1338816312","file3":"1338816307"},"map_files_photo_id_array":[{"photo_id":"1338816312","filename":"file5"},{"photo_id":"1338816305","filename":"file2"},{"photo_id":"1338816310","filename":"file4"},{"photo_id":"1338816304","filename":"file1"},{"photo_id":"1338816302","filename":"file0"},{"photo_id":"1338816307","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338816302":["hashtag1","hashtag2"]},{"1338816305":["hashtag1","hashtag2"]},{"1338816310":["hashtag1","hashtag2"]},{"1338816304":["hashtag1","hashtag2"]},{"1338816307":["hashtag1","hashtag2"]},{"1338816312":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338816302, 1338816305, 1338816310, 1338816304, 1338816307, 1338816312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.66417956352234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:35:32.926523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/12/image_21022025_12_12_15_10332.jpg', '/home/pi/Desktop/images/21022025/12/12/image_21022025_12_12_25_10335.jpg', '/home/pi/Desktop/images/21022025/12/12/image_21022025_12_12_35_9414.jpg', '/home/pi/Desktop/images/21022025/12/12/image_21022025_12_12_45_10348.jpg', '/home/pi/Desktop/images/21022025/12/12/image_21022025_12_12_55_9408.jpg', '/home/pi/Desktop/images/21022025/12/12/image_21022025_12_13_05_10326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/12/image_21022025_12_12_15_10332.jpg
/home/pi/Desktop/images/21022025/12/12/image_21022025_12_12_25_10335.jpg
/home/pi/Desktop/images/21022025/12/12/image_21022025_12_12_35_9414.jpg
/home/pi/Desktop/images/21022025/12/12/image_21022025_12_12_45_10348.jpg
/home/pi/Desktop/images/21022025/12/12/image_21022025_12_12_55_9408.jpg
/home/pi/Desktop/images/21022025/12/12/image_21022025_12_13_05_10326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338816335","1338816338","1338816332","1338816340","1338816325","1338816327"],"photo_ids_order":["1338816325","1338816327","1338816332","1338816335","1338816338","1338816340"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75b759268d792f99b771d5a076bccfee.jpg","text":"TemporaryFile(/tmp/multipartBody7077518768353872871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137793404,"filename":"image_21022025_12_12_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f43207ee61be824e37cf18ca8d10f5a.jpg","text":"TemporaryFile(/tmp/multipartBody7908154115696519555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137793404,"filename":"image_21022025_12_12_55_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a9b1adcd28d71daafb33ce0af656f33b.jpg","text":"TemporaryFile(/tmp/multipartBody5833614785250904486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137793404,"filename":"image_21022025_12_12_35_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/84783d21aedb288e856051765cb48c6c.jpg","text":"TemporaryFile(/tmp/multipartBody7315931396751718643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137793404,"filename":"image_21022025_12_13_05_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/50dd07c8def6c1dbbad6b891ced64505.jpg","text":"TemporaryFile(/tmp/multipartBody9004227747233461569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137793404,"filename":"image_21022025_12_12_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bf0fdd5b723ed58f6a974756386a8e07.jpg","text":"TemporaryFile(/tmp/multipartBody1934801912905978059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137793404,"filename":"image_21022025_12_12_25_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338816332","file1":"1338816327","file0":"1338816325","file4":"1338816338","file5":"1338816340","file3":"1338816335"},"map_files_photo_id_array":[{"photo_id":"1338816340","filename":"file5"},{"photo_id":"1338816332","filename":"file2"},{"photo_id":"1338816338","filename":"file4"},{"photo_id":"1338816327","filename":"file1"},{"photo_id":"1338816325","filename":"file0"},{"photo_id":"1338816335","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338816335":["hashtag1","hashtag2"]},{"1338816338":["hashtag1","hashtag2"]},{"1338816332":["hashtag1","hashtag2"]},{"1338816340":["hashtag1","hashtag2"]},{"1338816325":["hashtag1","hashtag2"]},{"1338816327":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338816335, 1338816338, 1338816332, 1338816340, 1338816325, 1338816327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.047889471054077 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:36:32.170491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/13/image_21022025_12_13_15_10330.jpg', '/home/pi/Desktop/images/21022025/12/13/image_21022025_12_13_25_9451.jpg', '/home/pi/Desktop/images/21022025/12/13/image_21022025_12_13_35_10336.jpg', '/home/pi/Desktop/images/21022025/12/13/image_21022025_12_13_45_10333.jpg', '/home/pi/Desktop/images/21022025/12/13/image_21022025_12_13_55_9386.jpg', '/home/pi/Desktop/images/21022025/12/13/image_21022025_12_14_05_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/13/image_21022025_12_13_15_10330.jpg
/home/pi/Desktop/images/21022025/12/13/image_21022025_12_13_25_9451.jpg
/home/pi/Desktop/images/21022025/12/13/image_21022025_12_13_35_10336.jpg
/home/pi/Desktop/images/21022025/12/13/image_21022025_12_13_45_10333.jpg
/home/pi/Desktop/images/21022025/12/13/image_21022025_12_13_55_9386.jpg
/home/pi/Desktop/images/21022025/12/13/image_21022025_12_14_05_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338816365","1338816380","1338816368","1338816370","1338816373","1338816375"],"photo_ids_order":["1338816365","1338816368","1338816370","1338816373","1338816375","1338816380"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e119f44724418e7c7c87eb352eadcd0.jpg","text":"TemporaryFile(/tmp/multipartBody76831167931762695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137852638,"filename":"image_21022025_12_13_15_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3306903654860a47cfb2ec143e14b921.jpg","text":"TemporaryFile(/tmp/multipartBody5884293140922243802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137852638,"filename":"image_21022025_12_14_05_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80f63674c9bb8fa11ae27fe5ae137704.jpg","text":"TemporaryFile(/tmp/multipartBody5744343843534589797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137852638,"filename":"image_21022025_12_13_25_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2f9316949004ec03bede02dfeb4fae8c.jpg","text":"TemporaryFile(/tmp/multipartBody6429404154616288096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137852638,"filename":"image_21022025_12_13_35_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6d7c998ea5c6e5f138b06a1ba5bf03b3.jpg","text":"TemporaryFile(/tmp/multipartBody3725372057888343773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137852638,"filename":"image_21022025_12_13_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0802dba07da8800299237a1106ed544a.jpg","text":"TemporaryFile(/tmp/multipartBody6085812519097836025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137852638,"filename":"image_21022025_12_13_55_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338816370","file1":"1338816368","file0":"1338816365","file4":"1338816375","file5":"1338816380","file3":"1338816373"},"map_files_photo_id_array":[{"photo_id":"1338816380","filename":"file5"},{"photo_id":"1338816370","filename":"file2"},{"photo_id":"1338816375","filename":"file4"},{"photo_id":"1338816368","filename":"file1"},{"photo_id":"1338816365","filename":"file0"},{"photo_id":"1338816373","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338816365":["hashtag1","hashtag2"]},{"1338816380":["hashtag1","hashtag2"]},{"1338816368":["hashtag1","hashtag2"]},{"1338816370":["hashtag1","hashtag2"]},{"1338816373":["hashtag1","hashtag2"]},{"1338816375":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338816365, 1338816380, 1338816368, 1338816370, 1338816373, 1338816375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.42000699043274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:37:32.368830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/14/image_21022025_12_14_15_10348.jpg', '/home/pi/Desktop/images/21022025/12/14/image_21022025_12_14_25_9326.jpg', '/home/pi/Desktop/images/21022025/12/14/image_21022025_12_14_35_10390.jpg', '/home/pi/Desktop/images/21022025/12/14/image_21022025_12_14_44_9330.jpg', '/home/pi/Desktop/images/21022025/12/14/image_21022025_12_15_05_10342.jpg', '/home/pi/Desktop/images/21022025/12/15/image_21022025_12_15_35_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/14/image_21022025_12_14_15_10348.jpg
/home/pi/Desktop/images/21022025/12/14/image_21022025_12_14_25_9326.jpg
/home/pi/Desktop/images/21022025/12/14/image_21022025_12_14_35_10390.jpg
/home/pi/Desktop/images/21022025/12/14/image_21022025_12_14_44_9330.jpg
/home/pi/Desktop/images/21022025/12/14/image_21022025_12_15_05_10342.jpg
/home/pi/Desktop/images/21022025/12/15/image_21022025_12_15_35_9427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338816695","1338816799","1338816787","1338816811","1338816690","1338816723"],"photo_ids_order":["1338816690","1338816695","1338816723","1338816787","1338816799","1338816811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e48ae51e40af9be7200f57684f13fc32.jpg","text":"TemporaryFile(/tmp/multipartBody6853611132835321815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137912844,"filename":"image_21022025_12_14_25_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c3c300a1ee683093dd1f74090562defe.jpg","text":"TemporaryFile(/tmp/multipartBody208463351704795118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137912844,"filename":"image_21022025_12_15_05_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b9d09e4257a4ea6806d94098d6837c68.jpg","text":"TemporaryFile(/tmp/multipartBody3710035781606007299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137912844,"filename":"image_21022025_12_14_44_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/33a6907c26823f09f2a007fd7cc6efbb.jpg","text":"TemporaryFile(/tmp/multipartBody5608306569431030975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137912844,"filename":"image_21022025_12_15_35_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a439fdcce82fe00d60e83735eb223df9.jpg","text":"TemporaryFile(/tmp/multipartBody1322079143440708370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137912844,"filename":"image_21022025_12_14_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c8906414a7efb1e1acda9c0db7da6f8b.jpg","text":"TemporaryFile(/tmp/multipartBody2019528896882670695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137912844,"filename":"image_21022025_12_14_35_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338816723","file1":"1338816695","file0":"1338816690","file4":"1338816799","file5":"1338816811","file3":"1338816787"},"map_files_photo_id_array":[{"photo_id":"1338816811","filename":"file5"},{"photo_id":"1338816723","filename":"file2"},{"photo_id":"1338816799","filename":"file4"},{"photo_id":"1338816695","filename":"file1"},{"photo_id":"1338816690","filename":"file0"},{"photo_id":"1338816787","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338816695":["hashtag1","hashtag2"]},{"1338816799":["hashtag1","hashtag2"]},{"1338816787":["hashtag1","hashtag2"]},{"1338816811":["hashtag1","hashtag2"]},{"1338816690":["hashtag1","hashtag2"]},{"1338816723":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338816695, 1338816799, 1338816787, 1338816811, 1338816690, 1338816723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65754199028015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:38:32.622745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/15/image_21022025_12_15_45_10368.jpg', '/home/pi/Desktop/images/21022025/12/15/image_21022025_12_15_55_10334.jpg', '/home/pi/Desktop/images/21022025/12/15/image_21022025_12_16_05_9386.jpg', '/home/pi/Desktop/images/21022025/12/16/image_21022025_12_16_15_10440.jpg', '/home/pi/Desktop/images/21022025/12/16/image_21022025_12_16_45_10422.jpg', '/home/pi/Desktop/images/21022025/12/16/image_21022025_12_17_05_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/15/image_21022025_12_15_45_10368.jpg
/home/pi/Desktop/images/21022025/12/15/image_21022025_12_15_55_10334.jpg
/home/pi/Desktop/images/21022025/12/15/image_21022025_12_16_05_9386.jpg
/home/pi/Desktop/images/21022025/12/16/image_21022025_12_16_15_10440.jpg
/home/pi/Desktop/images/21022025/12/16/image_21022025_12_16_45_10422.jpg
/home/pi/Desktop/images/21022025/12/16/image_21022025_12_17_05_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338816893","1338816898","1338816892","1338816895","1338816901","1338816891"],"photo_ids_order":["1338816891","1338816892","1338816893","1338816895","1338816898","1338816901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/37bbb4d55a011abb4918ff3261642d32.jpg","text":"TemporaryFile(/tmp/multipartBody6609515002098744793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137973103,"filename":"image_21022025_12_16_05_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aa23a2c49a6577a7d8983f6138a40d2a.jpg","text":"TemporaryFile(/tmp/multipartBody6513291342043936426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137973103,"filename":"image_21022025_12_16_45_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1d8865d13e348092c2125e5e3d835d0.jpg","text":"TemporaryFile(/tmp/multipartBody8155411623154483117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137973103,"filename":"image_21022025_12_15_55_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80f2a9844056791767947143cc6bf80e.jpg","text":"TemporaryFile(/tmp/multipartBody8713198689069993064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137973103,"filename":"image_21022025_12_16_15_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f16725525b039890976747a699e18573.jpg","text":"TemporaryFile(/tmp/multipartBody7452090603536871148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137973103,"filename":"image_21022025_12_17_05_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7d7d309fd492fcc61e5fa00ad9c7b24d.jpg","text":"TemporaryFile(/tmp/multipartBody4975424253860680597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740137973103,"filename":"image_21022025_12_15_45_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338816893","file1":"1338816892","file0":"1338816891","file4":"1338816898","file5":"1338816901","file3":"1338816895"},"map_files_photo_id_array":[{"photo_id":"1338816901","filename":"file5"},{"photo_id":"1338816893","filename":"file2"},{"photo_id":"1338816898","filename":"file4"},{"photo_id":"1338816892","filename":"file1"},{"photo_id":"1338816891","filename":"file0"},{"photo_id":"1338816895","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338816893":["hashtag1","hashtag2"]},{"1338816898":["hashtag1","hashtag2"]},{"1338816892":["hashtag1","hashtag2"]},{"1338816895":["hashtag1","hashtag2"]},{"1338816901":["hashtag1","hashtag2"]},{"1338816891":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338816893, 1338816898, 1338816892, 1338816895, 1338816901, 1338816891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77147817611694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:39:32.847991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/17/image_21022025_12_17_15_10334.jpg', '/home/pi/Desktop/images/21022025/12/17/image_21022025_12_17_25_9401.jpg', '/home/pi/Desktop/images/21022025/12/17/image_21022025_12_17_35_10359.jpg', '/home/pi/Desktop/images/21022025/12/17/image_21022025_12_17_45_10341.jpg', '/home/pi/Desktop/images/21022025/12/17/image_21022025_12_17_55_9338.jpg', '/home/pi/Desktop/images/21022025/12/17/image_21022025_12_18_05_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/17/image_21022025_12_17_15_10334.jpg
/home/pi/Desktop/images/21022025/12/17/image_21022025_12_17_25_9401.jpg
/home/pi/Desktop/images/21022025/12/17/image_21022025_12_17_35_10359.jpg
/home/pi/Desktop/images/21022025/12/17/image_21022025_12_17_45_10341.jpg
/home/pi/Desktop/images/21022025/12/17/image_21022025_12_17_55_9338.jpg
/home/pi/Desktop/images/21022025/12/17/image_21022025_12_18_05_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338816962","1338816956","1338816965","1338816959","1338816955","1338816957"],"photo_ids_order":["1338816955","1338816956","1338816957","1338816959","1338816962","1338816965"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a0e9d0006af24e2595dec5369af94a1b.jpg","text":"TemporaryFile(/tmp/multipartBody5099060293997306726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138033341,"filename":"image_21022025_12_17_55_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1e04a518b28df50d3f367c0755bcfd23.jpg","text":"TemporaryFile(/tmp/multipartBody1159962064222930023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138033341,"filename":"image_21022025_12_17_25_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9f7e0d369eebc0fa27733f837a4bf835.jpg","text":"TemporaryFile(/tmp/multipartBody5255741993961604797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138033341,"filename":"image_21022025_12_18_05_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/daf258588ad49aeb431d18f1a52beca8.jpg","text":"TemporaryFile(/tmp/multipartBody930779523692093118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138033341,"filename":"image_21022025_12_17_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7f60eca618256498d2c52ba47c2e48f9.jpg","text":"TemporaryFile(/tmp/multipartBody5146299427486937450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138033341,"filename":"image_21022025_12_17_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c750b7ce84b64a12fb6e83018c8654e.jpg","text":"TemporaryFile(/tmp/multipartBody2764644517657523715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138033341,"filename":"image_21022025_12_17_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338816957","file1":"1338816956","file0":"1338816955","file4":"1338816962","file5":"1338816965","file3":"1338816959"},"map_files_photo_id_array":[{"photo_id":"1338816965","filename":"file5"},{"photo_id":"1338816957","filename":"file2"},{"photo_id":"1338816962","filename":"file4"},{"photo_id":"1338816956","filename":"file1"},{"photo_id":"1338816955","filename":"file0"},{"photo_id":"1338816959","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338816962":["hashtag1","hashtag2"]},{"1338816956":["hashtag1","hashtag2"]},{"1338816965":["hashtag1","hashtag2"]},{"1338816959":["hashtag1","hashtag2"]},{"1338816955":["hashtag1","hashtag2"]},{"1338816957":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338816962, 1338816956, 1338816965, 1338816959, 1338816955, 1338816957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.878065586090088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:40:32.948573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/18/image_21022025_12_18_15_10343.jpg', '/home/pi/Desktop/images/21022025/12/18/image_21022025_12_18_25_9323.jpg', '/home/pi/Desktop/images/21022025/12/18/image_21022025_12_18_35_10328.jpg', '/home/pi/Desktop/images/21022025/12/18/image_21022025_12_18_45_10378.jpg', '/home/pi/Desktop/images/21022025/12/18/image_21022025_12_18_55_9338.jpg', '/home/pi/Desktop/images/21022025/12/18/image_21022025_12_19_05_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/18/image_21022025_12_18_15_10343.jpg
/home/pi/Desktop/images/21022025/12/18/image_21022025_12_18_25_9323.jpg
/home/pi/Desktop/images/21022025/12/18/image_21022025_12_18_35_10328.jpg
/home/pi/Desktop/images/21022025/12/18/image_21022025_12_18_45_10378.jpg
/home/pi/Desktop/images/21022025/12/18/image_21022025_12_18_55_9338.jpg
/home/pi/Desktop/images/21022025/12/18/image_21022025_12_19_05_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338816977","1338816979","1338816976","1338816981","1338816975","1338816984"],"photo_ids_order":["1338816975","1338816976","1338816977","1338816979","1338816981","1338816984"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a128672ece48a586f844b1cd7c554392.jpg","text":"TemporaryFile(/tmp/multipartBody4760946990558745769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138093419,"filename":"image_21022025_12_18_35_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4cc27d6b0e848d2627081aa47b290b2.jpg","text":"TemporaryFile(/tmp/multipartBody5401534175369492832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138093419,"filename":"image_21022025_12_18_45_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5e2763dee887f4a10507bbebcfad0580.jpg","text":"TemporaryFile(/tmp/multipartBody190723473512125888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138093419,"filename":"image_21022025_12_18_25_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c08acbe57ae48878c50297cda5c6039c.jpg","text":"TemporaryFile(/tmp/multipartBody7721036189714967292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138093419,"filename":"image_21022025_12_18_55_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce4a4b524253637b1fe60f2d56cace1f.jpg","text":"TemporaryFile(/tmp/multipartBody704683167736834253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138093419,"filename":"image_21022025_12_18_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7f93b6674f40058702eb77487955ebc.jpg","text":"TemporaryFile(/tmp/multipartBody5378106845667061372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138093419,"filename":"image_21022025_12_19_05_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338816977","file1":"1338816976","file0":"1338816975","file4":"1338816981","file5":"1338816984","file3":"1338816979"},"map_files_photo_id_array":[{"photo_id":"1338816984","filename":"file5"},{"photo_id":"1338816977","filename":"file2"},{"photo_id":"1338816981","filename":"file4"},{"photo_id":"1338816976","filename":"file1"},{"photo_id":"1338816975","filename":"file0"},{"photo_id":"1338816979","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338816977":["hashtag1","hashtag2"]},{"1338816979":["hashtag1","hashtag2"]},{"1338816976":["hashtag1","hashtag2"]},{"1338816981":["hashtag1","hashtag2"]},{"1338816975":["hashtag1","hashtag2"]},{"1338816984":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338816977, 1338816979, 1338816976, 1338816981, 1338816975, 1338816984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56330466270447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:41:32.436463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/19/image_21022025_12_19_15_9507.jpg', '/home/pi/Desktop/images/21022025/12/19/image_21022025_12_19_25_10344.jpg', '/home/pi/Desktop/images/21022025/12/19/image_21022025_12_19_35_10330.jpg', '/home/pi/Desktop/images/21022025/12/19/image_21022025_12_19_45_9433.jpg', '/home/pi/Desktop/images/21022025/12/20/image_21022025_12_20_55_10343.jpg', '/home/pi/Desktop/images/21022025/12/20/image_21022025_12_21_05_9326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/19/image_21022025_12_19_15_9507.jpg
/home/pi/Desktop/images/21022025/12/19/image_21022025_12_19_25_10344.jpg
/home/pi/Desktop/images/21022025/12/19/image_21022025_12_19_35_10330.jpg
/home/pi/Desktop/images/21022025/12/19/image_21022025_12_19_45_9433.jpg
/home/pi/Desktop/images/21022025/12/20/image_21022025_12_20_55_10343.jpg
/home/pi/Desktop/images/21022025/12/20/image_21022025_12_21_05_9326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338817004","1338817007","1338817001","1338816997","1338817003","1338816999"],"photo_ids_order":["1338816997","1338816999","1338817001","1338817003","1338817004","1338817007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a2bae111e61b90a9d731e4732be6d7a.jpg","text":"TemporaryFile(/tmp/multipartBody3637271658289324920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138152922,"filename":"image_21022025_12_20_55_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b5d623a94c94e6a1e66d955642cbbb5e.jpg","text":"TemporaryFile(/tmp/multipartBody392034834794966140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138152922,"filename":"image_21022025_12_21_05_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/427d96d3400abbd4394793411ae3abb2.jpg","text":"TemporaryFile(/tmp/multipartBody4653707266416765226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138152922,"filename":"image_21022025_12_19_35_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61082d033691a31ebfff5937eb1c2de9.jpg","text":"TemporaryFile(/tmp/multipartBody4320621502477717531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138152922,"filename":"image_21022025_12_19_15_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c9580adb9fd306b09d92206fbe1a491c.jpg","text":"TemporaryFile(/tmp/multipartBody6896598035253370774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138152922,"filename":"image_21022025_12_19_45_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/065d639b86fb6ac3eec43a78532a0979.jpg","text":"TemporaryFile(/tmp/multipartBody5389796291624267887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138152922,"filename":"image_21022025_12_19_25_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338817001","file1":"1338816999","file0":"1338816997","file4":"1338817004","file5":"1338817007","file3":"1338817003"},"map_files_photo_id_array":[{"photo_id":"1338817007","filename":"file5"},{"photo_id":"1338817001","filename":"file2"},{"photo_id":"1338817004","filename":"file4"},{"photo_id":"1338816999","filename":"file1"},{"photo_id":"1338816997","filename":"file0"},{"photo_id":"1338817003","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338817004":["hashtag1","hashtag2"]},{"1338817007":["hashtag1","hashtag2"]},{"1338817001":["hashtag1","hashtag2"]},{"1338816997":["hashtag1","hashtag2"]},{"1338817003":["hashtag1","hashtag2"]},{"1338816999":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338817004, 1338817007, 1338817001, 1338816997, 1338817003, 1338816999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.71593403816223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:42:32.633132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/21/image_21022025_12_21_25_10397.jpg', '/home/pi/Desktop/images/21022025/12/21/image_21022025_12_21_35_9344.jpg', '/home/pi/Desktop/images/21022025/12/21/image_21022025_12_21_45_10344.jpg', '/home/pi/Desktop/images/21022025/12/21/image_21022025_12_21_55_10338.jpg', '/home/pi/Desktop/images/21022025/12/21/image_21022025_12_22_05_9384.jpg', '/home/pi/Desktop/images/21022025/12/22/image_21022025_12_22_15_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/21/image_21022025_12_21_25_10397.jpg
/home/pi/Desktop/images/21022025/12/21/image_21022025_12_21_35_9344.jpg
/home/pi/Desktop/images/21022025/12/21/image_21022025_12_21_45_10344.jpg
/home/pi/Desktop/images/21022025/12/21/image_21022025_12_21_55_10338.jpg
/home/pi/Desktop/images/21022025/12/21/image_21022025_12_22_05_9384.jpg
/home/pi/Desktop/images/21022025/12/22/image_21022025_12_22_15_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338817418","1338817319","1338817294","1338817389","1338817419","1338817391"],"photo_ids_order":["1338817294","1338817319","1338817389","1338817391","1338817418","1338817419"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/adf445e31e1aa60a9a858545ce224554.jpg","text":"TemporaryFile(/tmp/multipartBody9093263892847126397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138213104,"filename":"image_21022025_12_22_05_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/57a37cd2a6a3f1477e85e0faf546cf7a.jpg","text":"TemporaryFile(/tmp/multipartBody4082935011245270939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138213104,"filename":"image_21022025_12_21_35_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/03ec903fc426be25271e4308d2113ca6.jpg","text":"TemporaryFile(/tmp/multipartBody1199265885252231194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138213104,"filename":"image_21022025_12_21_25_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff0cf2ac0d7ecf3aa7f677adb3b95b35.jpg","text":"TemporaryFile(/tmp/multipartBody8125169551361491927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138213104,"filename":"image_21022025_12_21_45_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/05182883e2ae1cfd8aa35462642519ed.jpg","text":"TemporaryFile(/tmp/multipartBody7953842804775860383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138213104,"filename":"image_21022025_12_22_15_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/26b3390fc75141bf9a72cf805ae4255d.jpg","text":"TemporaryFile(/tmp/multipartBody8972025373155107548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138213104,"filename":"image_21022025_12_21_55_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338817389","file1":"1338817319","file0":"1338817294","file4":"1338817418","file5":"1338817419","file3":"1338817391"},"map_files_photo_id_array":[{"photo_id":"1338817419","filename":"file5"},{"photo_id":"1338817389","filename":"file2"},{"photo_id":"1338817418","filename":"file4"},{"photo_id":"1338817319","filename":"file1"},{"photo_id":"1338817294","filename":"file0"},{"photo_id":"1338817391","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338817418":["hashtag1","hashtag2"]},{"1338817319":["hashtag1","hashtag2"]},{"1338817294":["hashtag1","hashtag2"]},{"1338817389":["hashtag1","hashtag2"]},{"1338817419":["hashtag1","hashtag2"]},{"1338817391":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338817418, 1338817319, 1338817294, 1338817389, 1338817419, 1338817391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.507700443267822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:43:33.026883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/22/image_21022025_12_22_24_9337.jpg', '/home/pi/Desktop/images/21022025/12/22/image_21022025_12_22_35_10421.jpg', '/home/pi/Desktop/images/21022025/12/22/image_21022025_12_22_45_10345.jpg', '/home/pi/Desktop/images/21022025/12/22/image_21022025_12_23_05_10331.jpg', '/home/pi/Desktop/images/21022025/12/23/image_21022025_12_23_15_9366.jpg', '/home/pi/Desktop/images/21022025/12/23/image_21022025_12_23_35_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/22/image_21022025_12_22_24_9337.jpg
/home/pi/Desktop/images/21022025/12/22/image_21022025_12_22_35_10421.jpg
/home/pi/Desktop/images/21022025/12/22/image_21022025_12_22_45_10345.jpg
/home/pi/Desktop/images/21022025/12/22/image_21022025_12_23_05_10331.jpg
/home/pi/Desktop/images/21022025/12/23/image_21022025_12_23_15_9366.jpg
/home/pi/Desktop/images/21022025/12/23/image_21022025_12_23_35_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338817501","1338817509","1338817500","1338817503","1338817506","1338817499"],"photo_ids_order":["1338817499","1338817500","1338817501","1338817503","1338817506","1338817509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a88712c4da662d3f7c17cf212c37925b.jpg","text":"TemporaryFile(/tmp/multipartBody2959181323199454120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138273499,"filename":"image_21022025_12_22_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c270b53d4832f1adb196127cd899d9b7.jpg","text":"TemporaryFile(/tmp/multipartBody2447445995335973636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138273499,"filename":"image_21022025_12_23_35_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b38a14d50b4842e1c158e44bb4220338.jpg","text":"TemporaryFile(/tmp/multipartBody5531061795528024827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138273499,"filename":"image_21022025_12_22_35_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7322be2c73c375b7c81886ebafa55119.jpg","text":"TemporaryFile(/tmp/multipartBody6138575540731515123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138273499,"filename":"image_21022025_12_23_05_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/356707054e503f5593e22082e6065c17.jpg","text":"TemporaryFile(/tmp/multipartBody5873119324273097076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138273499,"filename":"image_21022025_12_23_15_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/695c3a5f1abd834b0f3d887c2bd0d8e8.jpg","text":"TemporaryFile(/tmp/multipartBody8805725795741783705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138273499,"filename":"image_21022025_12_22_24_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338817501","file1":"1338817500","file0":"1338817499","file4":"1338817506","file5":"1338817509","file3":"1338817503"},"map_files_photo_id_array":[{"photo_id":"1338817509","filename":"file5"},{"photo_id":"1338817501","filename":"file2"},{"photo_id":"1338817506","filename":"file4"},{"photo_id":"1338817500","filename":"file1"},{"photo_id":"1338817499","filename":"file0"},{"photo_id":"1338817503","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338817501":["hashtag1","hashtag2"]},{"1338817509":["hashtag1","hashtag2"]},{"1338817500":["hashtag1","hashtag2"]},{"1338817503":["hashtag1","hashtag2"]},{"1338817506":["hashtag1","hashtag2"]},{"1338817499":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338817501, 1338817509, 1338817500, 1338817503, 1338817506, 1338817499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.7484085559845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:44:33.120018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/23/image_21022025_12_23_45_9431.jpg', '/home/pi/Desktop/images/21022025/12/24/image_21022025_12_24_25_10337.jpg', '/home/pi/Desktop/images/21022025/12/24/image_21022025_12_24_35_9446.jpg', '/home/pi/Desktop/images/21022025/12/24/image_21022025_12_24_45_10351.jpg', '/home/pi/Desktop/images/21022025/12/24/image_21022025_12_25_05_9354.jpg', '/home/pi/Desktop/images/21022025/12/25/image_21022025_12_25_15_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/23/image_21022025_12_23_45_9431.jpg
/home/pi/Desktop/images/21022025/12/24/image_21022025_12_24_25_10337.jpg
/home/pi/Desktop/images/21022025/12/24/image_21022025_12_24_35_9446.jpg
/home/pi/Desktop/images/21022025/12/24/image_21022025_12_24_45_10351.jpg
/home/pi/Desktop/images/21022025/12/24/image_21022025_12_25_05_9354.jpg
/home/pi/Desktop/images/21022025/12/25/image_21022025_12_25_15_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338817553","1338817582","1338817555","1338817549","1338817578","1338817560"],"photo_ids_order":["1338817549","1338817553","1338817555","1338817560","1338817578","1338817582"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa118b97c8ea9f6df37101e20034d433.jpg","text":"TemporaryFile(/tmp/multipartBody223958629920995926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138333615,"filename":"image_21022025_12_24_25_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b58909f40874b09f49368f2291f9774a.jpg","text":"TemporaryFile(/tmp/multipartBody1306701702964525574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138333615,"filename":"image_21022025_12_25_15_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e791456f943a3ca44040f113a20408d9.jpg","text":"TemporaryFile(/tmp/multipartBody8746781042867585269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138333615,"filename":"image_21022025_12_24_35_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ed8135db77be933c994417a0275fd996.jpg","text":"TemporaryFile(/tmp/multipartBody7313367581062337573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138333615,"filename":"image_21022025_12_23_45_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/746da9b81d9a38027634a141f1ee044e.jpg","text":"TemporaryFile(/tmp/multipartBody3448454345679208761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138333615,"filename":"image_21022025_12_25_05_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dd6bef084733390051401b10b0be061c.jpg","text":"TemporaryFile(/tmp/multipartBody7503689065943579354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138333615,"filename":"image_21022025_12_24_45_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338817555","file1":"1338817553","file0":"1338817549","file4":"1338817578","file5":"1338817582","file3":"1338817560"},"map_files_photo_id_array":[{"photo_id":"1338817582","filename":"file5"},{"photo_id":"1338817555","filename":"file2"},{"photo_id":"1338817578","filename":"file4"},{"photo_id":"1338817553","filename":"file1"},{"photo_id":"1338817549","filename":"file0"},{"photo_id":"1338817560","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338817553":["hashtag1","hashtag2"]},{"1338817582":["hashtag1","hashtag2"]},{"1338817555":["hashtag1","hashtag2"]},{"1338817549":["hashtag1","hashtag2"]},{"1338817578":["hashtag1","hashtag2"]},{"1338817560":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338817553, 1338817582, 1338817555, 1338817549, 1338817578, 1338817560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88336372375488 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:45:32.392599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/25/image_21022025_12_25_35_9421.jpg', '/home/pi/Desktop/images/21022025/12/26/image_21022025_12_26_25_9455.jpg', '/home/pi/Desktop/images/21022025/12/26/image_21022025_12_26_35_10340.jpg', '/home/pi/Desktop/images/21022025/12/26/image_21022025_12_26_45_10342.jpg', '/home/pi/Desktop/images/21022025/12/26/image_21022025_12_26_55_9417.jpg', '/home/pi/Desktop/images/21022025/12/26/image_21022025_12_27_05_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/25/image_21022025_12_25_35_9421.jpg
/home/pi/Desktop/images/21022025/12/26/image_21022025_12_26_25_9455.jpg
/home/pi/Desktop/images/21022025/12/26/image_21022025_12_26_35_10340.jpg
/home/pi/Desktop/images/21022025/12/26/image_21022025_12_26_45_10342.jpg
/home/pi/Desktop/images/21022025/12/26/image_21022025_12_26_55_9417.jpg
/home/pi/Desktop/images/21022025/12/26/image_21022025_12_27_05_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338817742","1338817736","1338817739","1338817741","1338817744","1338817737"],"photo_ids_order":["1338817736","1338817737","1338817739","1338817741","1338817742","1338817744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/569c7f08985a6be3f1093b41f4d1acda.jpg","text":"TemporaryFile(/tmp/multipartBody168511609463142731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138392854,"filename":"image_21022025_12_26_55_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87f5130881daaa117a7258e2fadc8785.jpg","text":"TemporaryFile(/tmp/multipartBody6672526219128473422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138392854,"filename":"image_21022025_12_25_35_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bf199f27237041bcc3f236931aee16e4.jpg","text":"TemporaryFile(/tmp/multipartBody5050439054049540254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138392854,"filename":"image_21022025_12_26_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f0bff813b45490e78b9c54584bd0c2a3.jpg","text":"TemporaryFile(/tmp/multipartBody3340615813944673000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138392854,"filename":"image_21022025_12_26_45_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/db71c77fa0f32581c02dcdfa21b953bd.jpg","text":"TemporaryFile(/tmp/multipartBody9083045742548102445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138392854,"filename":"image_21022025_12_27_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/22d143ce3824425a056d7bb424180d89.jpg","text":"TemporaryFile(/tmp/multipartBody626230968293813902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138392854,"filename":"image_21022025_12_26_25_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338817739","file1":"1338817737","file0":"1338817736","file4":"1338817742","file5":"1338817744","file3":"1338817741"},"map_files_photo_id_array":[{"photo_id":"1338817744","filename":"file5"},{"photo_id":"1338817739","filename":"file2"},{"photo_id":"1338817742","filename":"file4"},{"photo_id":"1338817737","filename":"file1"},{"photo_id":"1338817736","filename":"file0"},{"photo_id":"1338817741","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338817742":["hashtag1","hashtag2"]},{"1338817736":["hashtag1","hashtag2"]},{"1338817739":["hashtag1","hashtag2"]},{"1338817741":["hashtag1","hashtag2"]},{"1338817744":["hashtag1","hashtag2"]},{"1338817737":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338817742, 1338817736, 1338817739, 1338817741, 1338817744, 1338817737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.62717151641846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:46:32.694859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/27/image_21022025_12_27_15_9460.jpg', '/home/pi/Desktop/images/21022025/12/27/image_21022025_12_27_35_10329.jpg', '/home/pi/Desktop/images/21022025/12/27/image_21022025_12_27_45_9440.jpg', '/home/pi/Desktop/images/21022025/12/27/image_21022025_12_27_55_10338.jpg', '/home/pi/Desktop/images/21022025/12/27/image_21022025_12_28_04_9309.jpg', '/home/pi/Desktop/images/21022025/12/28/image_21022025_12_28_15_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/27/image_21022025_12_27_15_9460.jpg
/home/pi/Desktop/images/21022025/12/27/image_21022025_12_27_35_10329.jpg
/home/pi/Desktop/images/21022025/12/27/image_21022025_12_27_45_9440.jpg
/home/pi/Desktop/images/21022025/12/27/image_21022025_12_27_55_10338.jpg
/home/pi/Desktop/images/21022025/12/27/image_21022025_12_28_04_9309.jpg
/home/pi/Desktop/images/21022025/12/28/image_21022025_12_28_15_10412.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3888571262359619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 12:46:42.611212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/27/image_21022025_12_27_15_9460.jpg', '/home/pi/Desktop/images/21022025/12/27/image_21022025_12_27_35_10329.jpg', '/home/pi/Desktop/images/21022025/12/27/image_21022025_12_27_45_9440.jpg', '/home/pi/Desktop/images/21022025/12/27/image_21022025_12_27_55_10338.jpg', '/home/pi/Desktop/images/21022025/12/27/image_21022025_12_28_04_9309.jpg', '/home/pi/Desktop/images/21022025/12/28/image_21022025_12_28_15_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/27/image_21022025_12_27_15_9460.jpg
/home/pi/Desktop/images/21022025/12/27/image_21022025_12_27_35_10329.jpg
/home/pi/Desktop/images/21022025/12/27/image_21022025_12_27_45_9440.jpg
/home/pi/Desktop/images/21022025/12/27/image_21022025_12_27_55_10338.jpg
/home/pi/Desktop/images/21022025/12/27/image_21022025_12_28_04_9309.jpg
/home/pi/Desktop/images/21022025/12/28/image_21022025_12_28_15_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338817763","1338817792","1338817786","1338817780","1338817773","1338817766"],"photo_ids_order":["1338817763","1338817766","1338817773","1338817780","1338817786","1338817792"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4cc19bb57e096e41a7856b920414dcaa.jpg","text":"TemporaryFile(/tmp/multipartBody7309034445300599885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138463074,"filename":"image_21022025_12_27_15_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/abd6d97d5f6e5097ecf582821224d923.jpg","text":"TemporaryFile(/tmp/multipartBody7983030766987324494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138463074,"filename":"image_21022025_12_28_15_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b340e315a3df817a15d6e2db33f69b6.jpg","text":"TemporaryFile(/tmp/multipartBody159697841739837213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138463074,"filename":"image_21022025_12_28_04_9309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ae8809c76da2cf470e982c6b8430b44.jpg","text":"TemporaryFile(/tmp/multipartBody5336724911138526781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138463074,"filename":"image_21022025_12_27_55_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/157e56d3355bcc15849749cacabf7b4f.jpg","text":"TemporaryFile(/tmp/multipartBody6686586847248452737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138463074,"filename":"image_21022025_12_27_45_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/907c45a167985570bc1c49ad772a4397.jpg","text":"TemporaryFile(/tmp/multipartBody8300305800227013314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138463074,"filename":"image_21022025_12_27_35_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338817773","file1":"1338817766","file0":"1338817763","file4":"1338817786","file5":"1338817792","file3":"1338817780"},"map_files_photo_id_array":[{"photo_id":"1338817792","filename":"file5"},{"photo_id":"1338817773","filename":"file2"},{"photo_id":"1338817786","filename":"file4"},{"photo_id":"1338817766","filename":"file1"},{"photo_id":"1338817763","filename":"file0"},{"photo_id":"1338817780","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338817763":["hashtag1","hashtag2"]},{"1338817792":["hashtag1","hashtag2"]},{"1338817786":["hashtag1","hashtag2"]},{"1338817780":["hashtag1","hashtag2"]},{"1338817773":["hashtag1","hashtag2"]},{"1338817766":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338817763, 1338817792, 1338817786, 1338817780, 1338817773, 1338817766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.863402366638184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:47:32.900516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/28/image_21022025_12_28_25_10349.jpg', '/home/pi/Desktop/images/21022025/12/28/image_21022025_12_28_35_9389.jpg', '/home/pi/Desktop/images/21022025/12/28/image_21022025_12_28_45_10423.jpg', '/home/pi/Desktop/images/21022025/12/28/image_21022025_12_28_55_10327.jpg', '/home/pi/Desktop/images/21022025/12/28/image_21022025_12_29_05_9462.jpg', '/home/pi/Desktop/images/21022025/12/29/image_21022025_12_29_55_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/28/image_21022025_12_28_25_10349.jpg
/home/pi/Desktop/images/21022025/12/28/image_21022025_12_28_35_9389.jpg
/home/pi/Desktop/images/21022025/12/28/image_21022025_12_28_45_10423.jpg
/home/pi/Desktop/images/21022025/12/28/image_21022025_12_28_55_10327.jpg
/home/pi/Desktop/images/21022025/12/28/image_21022025_12_29_05_9462.jpg
/home/pi/Desktop/images/21022025/12/29/image_21022025_12_29_55_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338818513","1338818452","1338818446","1338818233","1338818379","1338818304"],"photo_ids_order":["1338818233","1338818304","1338818379","1338818446","1338818452","1338818513"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5daf4c04ffedd7c5511d318930d1f9ca.jpg","text":"TemporaryFile(/tmp/multipartBody3442798201684626132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138513367,"filename":"image_21022025_12_29_55_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9325d66d88598b30d97cae38923c7d91.jpg","text":"TemporaryFile(/tmp/multipartBody229309663947964605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138513367,"filename":"image_21022025_12_29_05_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c9f489642a94c90f02c84aee0e9558fe.jpg","text":"TemporaryFile(/tmp/multipartBody4242649811333714264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138513367,"filename":"image_21022025_12_28_55_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/54b7fe56d45bc833cdcede3c87544b83.jpg","text":"TemporaryFile(/tmp/multipartBody7118299050977158543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138513367,"filename":"image_21022025_12_28_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/068b9a56e4a71010e6798b097c720ada.jpg","text":"TemporaryFile(/tmp/multipartBody248873005474877559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138513367,"filename":"image_21022025_12_28_45_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/68a1e03ab599831857ee98ad5306b0f7.jpg","text":"TemporaryFile(/tmp/multipartBody7444004396870002908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138513367,"filename":"image_21022025_12_28_35_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338818379","file1":"1338818304","file0":"1338818233","file4":"1338818452","file5":"1338818513","file3":"1338818446"},"map_files_photo_id_array":[{"photo_id":"1338818513","filename":"file5"},{"photo_id":"1338818379","filename":"file2"},{"photo_id":"1338818452","filename":"file4"},{"photo_id":"1338818304","filename":"file1"},{"photo_id":"1338818233","filename":"file0"},{"photo_id":"1338818446","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338818513":["hashtag1","hashtag2"]},{"1338818452":["hashtag1","hashtag2"]},{"1338818446":["hashtag1","hashtag2"]},{"1338818233":["hashtag1","hashtag2"]},{"1338818379":["hashtag1","hashtag2"]},{"1338818304":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338818513, 1338818452, 1338818446, 1338818233, 1338818379, 1338818304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45503234863281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:48:33.071410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/29/image_21022025_12_30_05_10338.jpg', '/home/pi/Desktop/images/21022025/12/30/image_21022025_12_30_25_9333.jpg', '/home/pi/Desktop/images/21022025/12/30/image_21022025_12_30_35_10311.jpg', '/home/pi/Desktop/images/21022025/12/30/image_21022025_12_30_45_10352.jpg', '/home/pi/Desktop/images/21022025/12/30/image_21022025_12_30_55_9325.jpg', '/home/pi/Desktop/images/21022025/12/30/image_21022025_12_31_05_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/29/image_21022025_12_30_05_10338.jpg
/home/pi/Desktop/images/21022025/12/30/image_21022025_12_30_25_9333.jpg
/home/pi/Desktop/images/21022025/12/30/image_21022025_12_30_35_10311.jpg
/home/pi/Desktop/images/21022025/12/30/image_21022025_12_30_45_10352.jpg
/home/pi/Desktop/images/21022025/12/30/image_21022025_12_30_55_9325.jpg
/home/pi/Desktop/images/21022025/12/30/image_21022025_12_31_05_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338818896","1338818851","1338818853","1338818847","1338818855","1338818849"],"photo_ids_order":["1338818847","1338818849","1338818851","1338818853","1338818855","1338818896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e26cdacc4e6e7bae7ca12f54a83701a5.jpg","text":"TemporaryFile(/tmp/multipartBody746537512273765815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138573546,"filename":"image_21022025_12_31_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8f3d362321615e0a44eda50b4559c1e5.jpg","text":"TemporaryFile(/tmp/multipartBody6692931996576398656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138573546,"filename":"image_21022025_12_30_35_10311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/58dd06d704ac04536379204811cdbc68.jpg","text":"TemporaryFile(/tmp/multipartBody300569689345843173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138573546,"filename":"image_21022025_12_30_45_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a1cecf6721fa7fbcbb68eab1f8a6aa16.jpg","text":"TemporaryFile(/tmp/multipartBody5568493262692719411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138573546,"filename":"image_21022025_12_30_05_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1ab48736ad961f28d98ca6c39282d2c.jpg","text":"TemporaryFile(/tmp/multipartBody1014045399853009700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138573546,"filename":"image_21022025_12_30_55_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b4258c5ce02c2e4e6278b1a06c3637e6.jpg","text":"TemporaryFile(/tmp/multipartBody426637726038353015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138573546,"filename":"image_21022025_12_30_25_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338818851","file1":"1338818849","file0":"1338818847","file4":"1338818855","file5":"1338818896","file3":"1338818853"},"map_files_photo_id_array":[{"photo_id":"1338818896","filename":"file5"},{"photo_id":"1338818851","filename":"file2"},{"photo_id":"1338818855","filename":"file4"},{"photo_id":"1338818849","filename":"file1"},{"photo_id":"1338818847","filename":"file0"},{"photo_id":"1338818853","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338818896":["hashtag1","hashtag2"]},{"1338818851":["hashtag1","hashtag2"]},{"1338818853":["hashtag1","hashtag2"]},{"1338818847":["hashtag1","hashtag2"]},{"1338818855":["hashtag1","hashtag2"]},{"1338818849":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338818896, 1338818851, 1338818853, 1338818847, 1338818855, 1338818849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76516938209534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:49:32.458776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/31/image_21022025_12_31_15_10313.jpg', '/home/pi/Desktop/images/21022025/12/31/image_21022025_12_31_25_9337.jpg', '/home/pi/Desktop/images/21022025/12/31/image_21022025_12_31_35_10345.jpg', '/home/pi/Desktop/images/21022025/12/31/image_21022025_12_31_45_9452.jpg', '/home/pi/Desktop/images/21022025/12/31/image_21022025_12_31_55_10360.jpg', '/home/pi/Desktop/images/21022025/12/31/image_21022025_12_32_05_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/31/image_21022025_12_31_15_10313.jpg
/home/pi/Desktop/images/21022025/12/31/image_21022025_12_31_25_9337.jpg
/home/pi/Desktop/images/21022025/12/31/image_21022025_12_31_35_10345.jpg
/home/pi/Desktop/images/21022025/12/31/image_21022025_12_31_45_9452.jpg
/home/pi/Desktop/images/21022025/12/31/image_21022025_12_31_55_10360.jpg
/home/pi/Desktop/images/21022025/12/31/image_21022025_12_32_05_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338818953","1338818959","1338818955","1338818957","1338818951","1338818954"],"photo_ids_order":["1338818951","1338818953","1338818954","1338818955","1338818957","1338818959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3cec81c82dc35470e103959506508058.jpg","text":"TemporaryFile(/tmp/multipartBody3968454445608864362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138632931,"filename":"image_21022025_12_31_25_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32d6b99e8fae50f3241bf2992ed18eb8.jpg","text":"TemporaryFile(/tmp/multipartBody3003904977516785889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138632931,"filename":"image_21022025_12_32_05_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c73b3b7580e363fa05980deb1578b342.jpg","text":"TemporaryFile(/tmp/multipartBody1027573270874896579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138632931,"filename":"image_21022025_12_31_45_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b45f1b7bfe8980ab7a92b29f365c151.jpg","text":"TemporaryFile(/tmp/multipartBody6972229247112593639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138632931,"filename":"image_21022025_12_31_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9113488bbb11eeef2d6540c6025050bc.jpg","text":"TemporaryFile(/tmp/multipartBody428907702591613233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138632931,"filename":"image_21022025_12_31_15_10313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e0db82e05fee9fae66d03b25d6405ee8.jpg","text":"TemporaryFile(/tmp/multipartBody4428796552190605950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138632931,"filename":"image_21022025_12_31_35_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338818954","file1":"1338818953","file0":"1338818951","file4":"1338818957","file5":"1338818959","file3":"1338818955"},"map_files_photo_id_array":[{"photo_id":"1338818959","filename":"file5"},{"photo_id":"1338818954","filename":"file2"},{"photo_id":"1338818957","filename":"file4"},{"photo_id":"1338818953","filename":"file1"},{"photo_id":"1338818951","filename":"file0"},{"photo_id":"1338818955","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338818953":["hashtag1","hashtag2"]},{"1338818959":["hashtag1","hashtag2"]},{"1338818955":["hashtag1","hashtag2"]},{"1338818957":["hashtag1","hashtag2"]},{"1338818951":["hashtag1","hashtag2"]},{"1338818954":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338818953, 1338818959, 1338818955, 1338818957, 1338818951, 1338818954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.21380257606506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:50:32.409928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/32/image_21022025_12_32_15_9402.jpg', '/home/pi/Desktop/images/21022025/12/32/image_21022025_12_32_35_10338.jpg', '/home/pi/Desktop/images/21022025/12/33/image_21022025_12_33_15_10383.jpg', '/home/pi/Desktop/images/21022025/12/33/image_21022025_12_33_25_10449.jpg', '/home/pi/Desktop/images/21022025/12/33/image_21022025_12_33_35_9358.jpg', '/home/pi/Desktop/images/21022025/12/33/image_21022025_12_33_45_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/32/image_21022025_12_32_15_9402.jpg
/home/pi/Desktop/images/21022025/12/32/image_21022025_12_32_35_10338.jpg
/home/pi/Desktop/images/21022025/12/33/image_21022025_12_33_15_10383.jpg
/home/pi/Desktop/images/21022025/12/33/image_21022025_12_33_25_10449.jpg
/home/pi/Desktop/images/21022025/12/33/image_21022025_12_33_35_9358.jpg
/home/pi/Desktop/images/21022025/12/33/image_21022025_12_33_45_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338818971","1338818974","1338818982","1338818976","1338818979","1338818972"],"photo_ids_order":["1338818971","1338818972","1338818974","1338818976","1338818979","1338818982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0efde008d3a605ac096e4d8ff56977b8.jpg","text":"TemporaryFile(/tmp/multipartBody3878259324523431167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138692878,"filename":"image_21022025_12_32_15_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87b4772475bab7f6be74a28e73a0d5b7.jpg","text":"TemporaryFile(/tmp/multipartBody7549973911513535977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138692878,"filename":"image_21022025_12_33_15_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae176bf286d0b98e7a0ac48c3b22495f.jpg","text":"TemporaryFile(/tmp/multipartBody2782538527286634019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138692878,"filename":"image_21022025_12_33_45_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1c86308674b761836aee164863290e9.jpg","text":"TemporaryFile(/tmp/multipartBody5484125508285423929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138692878,"filename":"image_21022025_12_33_25_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/945172f954e2cf1e2ee800b716c87fb0.jpg","text":"TemporaryFile(/tmp/multipartBody2892965836463323382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138692878,"filename":"image_21022025_12_33_35_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c87ee3228508330879530fa31e5a6ed6.jpg","text":"TemporaryFile(/tmp/multipartBody4773936464634074717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138692878,"filename":"image_21022025_12_32_35_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338818974","file1":"1338818972","file0":"1338818971","file4":"1338818979","file5":"1338818982","file3":"1338818976"},"map_files_photo_id_array":[{"photo_id":"1338818982","filename":"file5"},{"photo_id":"1338818974","filename":"file2"},{"photo_id":"1338818979","filename":"file4"},{"photo_id":"1338818972","filename":"file1"},{"photo_id":"1338818971","filename":"file0"},{"photo_id":"1338818976","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338818971":["hashtag1","hashtag2"]},{"1338818974":["hashtag1","hashtag2"]},{"1338818982":["hashtag1","hashtag2"]},{"1338818976":["hashtag1","hashtag2"]},{"1338818979":["hashtag1","hashtag2"]},{"1338818972":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338818971, 1338818974, 1338818982, 1338818976, 1338818979, 1338818972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.14735984802246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:51:32.883123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/33/image_21022025_12_33_54_9348.jpg', '/home/pi/Desktop/images/21022025/12/33/image_21022025_12_34_05_10347.jpg', '/home/pi/Desktop/images/21022025/12/34/image_21022025_12_34_15_10353.jpg', '/home/pi/Desktop/images/21022025/12/35/image_21022025_12_35_14_9340.jpg', '/home/pi/Desktop/images/21022025/12/35/image_21022025_12_35_25_10371.jpg', '/home/pi/Desktop/images/21022025/12/35/image_21022025_12_35_35_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/33/image_21022025_12_33_54_9348.jpg
/home/pi/Desktop/images/21022025/12/33/image_21022025_12_34_05_10347.jpg
/home/pi/Desktop/images/21022025/12/34/image_21022025_12_34_15_10353.jpg
/home/pi/Desktop/images/21022025/12/35/image_21022025_12_35_14_9340.jpg
/home/pi/Desktop/images/21022025/12/35/image_21022025_12_35_25_10371.jpg
/home/pi/Desktop/images/21022025/12/35/image_21022025_12_35_35_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338818992","1338819004","1338818994","1338818997","1338818991","1338819000"],"photo_ids_order":["1338818991","1338818992","1338818994","1338818997","1338819000","1338819004"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2a275a80f4b743f020614eebb6f26cb.jpg","text":"TemporaryFile(/tmp/multipartBody5707872481035753572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138753363,"filename":"image_21022025_12_34_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9959883626e7e31229ad0d95eeb87e14.jpg","text":"TemporaryFile(/tmp/multipartBody2106279724647545418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138753363,"filename":"image_21022025_12_35_35_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a85bbc3fae336cfb90127c52b8965ef5.jpg","text":"TemporaryFile(/tmp/multipartBody1289839843684103162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138753363,"filename":"image_21022025_12_34_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c4e792520397c1baf155662bba4c7fca.jpg","text":"TemporaryFile(/tmp/multipartBody703646722666178360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138753363,"filename":"image_21022025_12_35_14_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2956d1067b1227643b1014317b16a0ff.jpg","text":"TemporaryFile(/tmp/multipartBody7802475883630829902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138753363,"filename":"image_21022025_12_33_54_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3a3270146863de98ace95896ed9276ee.jpg","text":"TemporaryFile(/tmp/multipartBody6307078472878094593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138753363,"filename":"image_21022025_12_35_25_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338818994","file1":"1338818992","file0":"1338818991","file4":"1338819000","file5":"1338819004","file3":"1338818997"},"map_files_photo_id_array":[{"photo_id":"1338819004","filename":"file5"},{"photo_id":"1338818994","filename":"file2"},{"photo_id":"1338819000","filename":"file4"},{"photo_id":"1338818992","filename":"file1"},{"photo_id":"1338818991","filename":"file0"},{"photo_id":"1338818997","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338818992":["hashtag1","hashtag2"]},{"1338819004":["hashtag1","hashtag2"]},{"1338818994":["hashtag1","hashtag2"]},{"1338818997":["hashtag1","hashtag2"]},{"1338818991":["hashtag1","hashtag2"]},{"1338819000":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338818992, 1338819004, 1338818994, 1338818997, 1338818991, 1338819000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32545208930969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:52:33.040257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/35/image_21022025_12_35_45_9408.jpg', '/home/pi/Desktop/images/21022025/12/36/image_21022025_12_36_25_10360.jpg', '/home/pi/Desktop/images/21022025/12/36/image_21022025_12_36_35_10328.jpg', '/home/pi/Desktop/images/21022025/12/36/image_21022025_12_36_55_10321.jpg', '/home/pi/Desktop/images/21022025/12/36/image_21022025_12_37_04_9312.jpg', '/home/pi/Desktop/images/21022025/12/37/image_21022025_12_37_15_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/35/image_21022025_12_35_45_9408.jpg
/home/pi/Desktop/images/21022025/12/36/image_21022025_12_36_25_10360.jpg
/home/pi/Desktop/images/21022025/12/36/image_21022025_12_36_35_10328.jpg
/home/pi/Desktop/images/21022025/12/36/image_21022025_12_36_55_10321.jpg
/home/pi/Desktop/images/21022025/12/36/image_21022025_12_37_04_9312.jpg
/home/pi/Desktop/images/21022025/12/37/image_21022025_12_37_15_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338819093","1338819090","1338819087","1338819072","1338819083","1338819070"],"photo_ids_order":["1338819070","1338819072","1338819083","1338819087","1338819090","1338819093"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a38ca513d8824e50722a4d7e1c05bfb0.jpg","text":"TemporaryFile(/tmp/multipartBody3295949396836737287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138813541,"filename":"image_21022025_12_37_15_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c80a95c7ead8769ad823cb24cb5ec5f0.jpg","text":"TemporaryFile(/tmp/multipartBody3697573520597871164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138813541,"filename":"image_21022025_12_37_04_9312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5da37dbb196f494c8b8282b7c74bcdf0.jpg","text":"TemporaryFile(/tmp/multipartBody4628818993580452196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138813541,"filename":"image_21022025_12_36_55_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bb9d250ccc3de0d23829b620c0de6158.jpg","text":"TemporaryFile(/tmp/multipartBody7165753677897882496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138813541,"filename":"image_21022025_12_36_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/44ca7131922faa9460e95e89b641ac2c.jpg","text":"TemporaryFile(/tmp/multipartBody8283004525825466260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138813541,"filename":"image_21022025_12_36_35_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/20c52ee32512e0b3476169a2a88eb9a4.jpg","text":"TemporaryFile(/tmp/multipartBody1770458358980563413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138813541,"filename":"image_21022025_12_35_45_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338819083","file1":"1338819072","file0":"1338819070","file4":"1338819090","file5":"1338819093","file3":"1338819087"},"map_files_photo_id_array":[{"photo_id":"1338819093","filename":"file5"},{"photo_id":"1338819083","filename":"file2"},{"photo_id":"1338819090","filename":"file4"},{"photo_id":"1338819072","filename":"file1"},{"photo_id":"1338819070","filename":"file0"},{"photo_id":"1338819087","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338819093":["hashtag1","hashtag2"]},{"1338819090":["hashtag1","hashtag2"]},{"1338819087":["hashtag1","hashtag2"]},{"1338819072":["hashtag1","hashtag2"]},{"1338819083":["hashtag1","hashtag2"]},{"1338819070":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338819093, 1338819090, 1338819087, 1338819072, 1338819083, 1338819070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.879064798355103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:53:33.216892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/38/image_21022025_12_38_15_10343.jpg', '/home/pi/Desktop/images/21022025/12/38/image_21022025_12_38_35_10438.jpg', '/home/pi/Desktop/images/21022025/12/38/image_21022025_12_38_45_10369.jpg', '/home/pi/Desktop/images/21022025/12/38/image_21022025_12_38_55_9298.jpg', '/home/pi/Desktop/images/21022025/12/38/image_21022025_12_39_05_10373.jpg', '/home/pi/Desktop/images/21022025/12/39/image_21022025_12_39_15_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/38/image_21022025_12_38_15_10343.jpg
/home/pi/Desktop/images/21022025/12/38/image_21022025_12_38_35_10438.jpg
/home/pi/Desktop/images/21022025/12/38/image_21022025_12_38_45_10369.jpg
/home/pi/Desktop/images/21022025/12/38/image_21022025_12_38_55_9298.jpg
/home/pi/Desktop/images/21022025/12/38/image_21022025_12_39_05_10373.jpg
/home/pi/Desktop/images/21022025/12/39/image_21022025_12_39_15_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338819619","1338819304","1338819645","1338819381","1338819465","1338819541"],"photo_ids_order":["1338819304","1338819381","1338819465","1338819541","1338819619","1338819645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ed8091c951af6556e868c49822c7402.jpg","text":"TemporaryFile(/tmp/multipartBody7151166085821415887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138873691,"filename":"image_21022025_12_39_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d11cdb860b498c44b98bfb9ea12c9372.jpg","text":"TemporaryFile(/tmp/multipartBody5680185933598162247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138873691,"filename":"image_21022025_12_38_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f60e59f04f2776ab44086e6fa6e35fc9.jpg","text":"TemporaryFile(/tmp/multipartBody7363458661135206240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138873691,"filename":"image_21022025_12_39_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ea15de122171c28e6600243014c8bff9.jpg","text":"TemporaryFile(/tmp/multipartBody4839014367111604126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138873691,"filename":"image_21022025_12_38_35_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bc75787d807ed7735311064bd4b59324.jpg","text":"TemporaryFile(/tmp/multipartBody1560521676902650899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138873691,"filename":"image_21022025_12_38_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fdfdab7a0879722eb62a7049bb8b7e99.jpg","text":"TemporaryFile(/tmp/multipartBody1882619865617664027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138873691,"filename":"image_21022025_12_38_55_9298.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338819465","file1":"1338819381","file0":"1338819304","file4":"1338819619","file5":"1338819645","file3":"1338819541"},"map_files_photo_id_array":[{"photo_id":"1338819645","filename":"file5"},{"photo_id":"1338819465","filename":"file2"},{"photo_id":"1338819619","filename":"file4"},{"photo_id":"1338819381","filename":"file1"},{"photo_id":"1338819304","filename":"file0"},{"photo_id":"1338819541","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338819619":["hashtag1","hashtag2"]},{"1338819304":["hashtag1","hashtag2"]},{"1338819645":["hashtag1","hashtag2"]},{"1338819381":["hashtag1","hashtag2"]},{"1338819465":["hashtag1","hashtag2"]},{"1338819541":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338819619, 1338819304, 1338819645, 1338819381, 1338819465, 1338819541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.515721559524536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:54:32.500393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/39/image_21022025_12_39_45_10350.jpg', '/home/pi/Desktop/images/21022025/12/40/image_21022025_12_40_35_10331.jpg', '/home/pi/Desktop/images/21022025/12/40/image_21022025_12_40_45_10347.jpg', '/home/pi/Desktop/images/21022025/12/40/image_21022025_12_40_55_9325.jpg', '/home/pi/Desktop/images/21022025/12/41/image_21022025_12_41_15_10335.jpg', '/home/pi/Desktop/images/21022025/12/41/image_21022025_12_41_25_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/39/image_21022025_12_39_45_10350.jpg
/home/pi/Desktop/images/21022025/12/40/image_21022025_12_40_35_10331.jpg
/home/pi/Desktop/images/21022025/12/40/image_21022025_12_40_45_10347.jpg
/home/pi/Desktop/images/21022025/12/40/image_21022025_12_40_55_9325.jpg
/home/pi/Desktop/images/21022025/12/41/image_21022025_12_41_15_10335.jpg
/home/pi/Desktop/images/21022025/12/41/image_21022025_12_41_25_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338819829","1338819825","1338819828","1338819720","1338819822","1338819799"],"photo_ids_order":["1338819720","1338819799","1338819822","1338819825","1338819828","1338819829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/15597f981da1be83354592860de8bf89.jpg","text":"TemporaryFile(/tmp/multipartBody3121196678766707576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138932987,"filename":"image_21022025_12_41_25_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a4b6282a3f8c5c464fdf4b15553e4d6.jpg","text":"TemporaryFile(/tmp/multipartBody7603605953550104281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138932987,"filename":"image_21022025_12_40_55_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/480ad7b8e5dbeee59c526ee102e5541a.jpg","text":"TemporaryFile(/tmp/multipartBody5350806247375276129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138932987,"filename":"image_21022025_12_41_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/11fae233324d984072bf84347e34468a.jpg","text":"TemporaryFile(/tmp/multipartBody1388717103676628191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138932987,"filename":"image_21022025_12_39_45_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c8b0a8b97de58493d8dc2697412304cf.jpg","text":"TemporaryFile(/tmp/multipartBody2949913671602380575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138932987,"filename":"image_21022025_12_40_45_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/26daa8f6840df6b3178f1cc8c48afb67.jpg","text":"TemporaryFile(/tmp/multipartBody5927592934700365088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740138932987,"filename":"image_21022025_12_40_35_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338819822","file1":"1338819799","file0":"1338819720","file4":"1338819828","file5":"1338819829","file3":"1338819825"},"map_files_photo_id_array":[{"photo_id":"1338819829","filename":"file5"},{"photo_id":"1338819822","filename":"file2"},{"photo_id":"1338819828","filename":"file4"},{"photo_id":"1338819799","filename":"file1"},{"photo_id":"1338819720","filename":"file0"},{"photo_id":"1338819825","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338819829":["hashtag1","hashtag2"]},{"1338819825":["hashtag1","hashtag2"]},{"1338819828":["hashtag1","hashtag2"]},{"1338819720":["hashtag1","hashtag2"]},{"1338819822":["hashtag1","hashtag2"]},{"1338819799":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338819829, 1338819825, 1338819828, 1338819720, 1338819822, 1338819799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.667635202407837 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:55:32.848869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/41/image_21022025_12_41_35_10379.jpg', '/home/pi/Desktop/images/21022025/12/41/image_21022025_12_41_45_9437.jpg', '/home/pi/Desktop/images/21022025/12/41/image_21022025_12_41_55_10349.jpg', '/home/pi/Desktop/images/21022025/12/41/image_21022025_12_42_05_10340.jpg', '/home/pi/Desktop/images/21022025/12/42/image_21022025_12_42_25_10371.jpg', '/home/pi/Desktop/images/21022025/12/42/image_21022025_12_42_35_10323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/41/image_21022025_12_41_35_10379.jpg
/home/pi/Desktop/images/21022025/12/41/image_21022025_12_41_45_9437.jpg
/home/pi/Desktop/images/21022025/12/41/image_21022025_12_41_55_10349.jpg
/home/pi/Desktop/images/21022025/12/41/image_21022025_12_42_05_10340.jpg
/home/pi/Desktop/images/21022025/12/42/image_21022025_12_42_25_10371.jpg
/home/pi/Desktop/images/21022025/12/42/image_21022025_12_42_35_10323.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.40964746475219727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 12:55:42.804927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/41/image_21022025_12_41_35_10379.jpg', '/home/pi/Desktop/images/21022025/12/41/image_21022025_12_41_45_9437.jpg', '/home/pi/Desktop/images/21022025/12/41/image_21022025_12_41_55_10349.jpg', '/home/pi/Desktop/images/21022025/12/41/image_21022025_12_42_05_10340.jpg', '/home/pi/Desktop/images/21022025/12/42/image_21022025_12_42_25_10371.jpg', '/home/pi/Desktop/images/21022025/12/42/image_21022025_12_42_35_10323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/41/image_21022025_12_41_35_10379.jpg
/home/pi/Desktop/images/21022025/12/41/image_21022025_12_41_45_9437.jpg
/home/pi/Desktop/images/21022025/12/41/image_21022025_12_41_55_10349.jpg
/home/pi/Desktop/images/21022025/12/41/image_21022025_12_42_05_10340.jpg
/home/pi/Desktop/images/21022025/12/42/image_21022025_12_42_25_10371.jpg
/home/pi/Desktop/images/21022025/12/42/image_21022025_12_42_35_10323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338820270","1338820264","1338820273","1338820267","1338820272","1338820274"],"photo_ids_order":["1338820264","1338820267","1338820270","1338820272","1338820273","1338820274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a3d8b6ac4029d246d94f3e8ee520a34.jpg","text":"TemporaryFile(/tmp/multipartBody8858591438497636943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139003265,"filename":"image_21022025_12_41_55_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/352e825c090a0e74010af5184b8026dc.jpg","text":"TemporaryFile(/tmp/multipartBody9034018119174940575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139003265,"filename":"image_21022025_12_41_35_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/26a577ebb812908c7d04bcf71b7c2002.jpg","text":"TemporaryFile(/tmp/multipartBody8487109207580232208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139003265,"filename":"image_21022025_12_42_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6de303af17ca04f1d89b3c5532dbe4a0.jpg","text":"TemporaryFile(/tmp/multipartBody5683150106232524880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139003265,"filename":"image_21022025_12_41_45_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/db41504c62fc44633740dcd307e5def8.jpg","text":"TemporaryFile(/tmp/multipartBody6509337915583159502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139003265,"filename":"image_21022025_12_42_05_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9997a24828dc57156699585a5e7680d0.jpg","text":"TemporaryFile(/tmp/multipartBody5226272294122048073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139003265,"filename":"image_21022025_12_42_35_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338820270","file1":"1338820267","file0":"1338820264","file4":"1338820273","file5":"1338820274","file3":"1338820272"},"map_files_photo_id_array":[{"photo_id":"1338820274","filename":"file5"},{"photo_id":"1338820270","filename":"file2"},{"photo_id":"1338820273","filename":"file4"},{"photo_id":"1338820267","filename":"file1"},{"photo_id":"1338820264","filename":"file0"},{"photo_id":"1338820272","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338820270":["hashtag1","hashtag2"]},{"1338820264":["hashtag1","hashtag2"]},{"1338820273":["hashtag1","hashtag2"]},{"1338820267":["hashtag1","hashtag2"]},{"1338820272":["hashtag1","hashtag2"]},{"1338820274":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338820270, 1338820264, 1338820273, 1338820267, 1338820272, 1338820274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.184027194976807 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:56:33.179451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/42/image_21022025_12_42_45_9350.jpg', '/home/pi/Desktop/images/21022025/12/42/image_21022025_12_42_55_10347.jpg', '/home/pi/Desktop/images/21022025/12/43/image_21022025_12_43_15_9429.jpg', '/home/pi/Desktop/images/21022025/12/43/image_21022025_12_43_25_10371.jpg', '/home/pi/Desktop/images/21022025/12/43/image_21022025_12_43_45_10351.jpg', '/home/pi/Desktop/images/21022025/12/44/image_21022025_12_44_15_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/42/image_21022025_12_42_45_9350.jpg
/home/pi/Desktop/images/21022025/12/42/image_21022025_12_42_55_10347.jpg
/home/pi/Desktop/images/21022025/12/43/image_21022025_12_43_15_9429.jpg
/home/pi/Desktop/images/21022025/12/43/image_21022025_12_43_25_10371.jpg
/home/pi/Desktop/images/21022025/12/43/image_21022025_12_43_45_10351.jpg
/home/pi/Desktop/images/21022025/12/44/image_21022025_12_44_15_10357.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38808536529541016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 12:56:43.027286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/42/image_21022025_12_42_45_9350.jpg', '/home/pi/Desktop/images/21022025/12/42/image_21022025_12_42_55_10347.jpg', '/home/pi/Desktop/images/21022025/12/43/image_21022025_12_43_15_9429.jpg', '/home/pi/Desktop/images/21022025/12/43/image_21022025_12_43_25_10371.jpg', '/home/pi/Desktop/images/21022025/12/43/image_21022025_12_43_45_10351.jpg', '/home/pi/Desktop/images/21022025/12/44/image_21022025_12_44_15_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/42/image_21022025_12_42_45_9350.jpg
/home/pi/Desktop/images/21022025/12/42/image_21022025_12_42_55_10347.jpg
/home/pi/Desktop/images/21022025/12/43/image_21022025_12_43_15_9429.jpg
/home/pi/Desktop/images/21022025/12/43/image_21022025_12_43_25_10371.jpg
/home/pi/Desktop/images/21022025/12/43/image_21022025_12_43_45_10351.jpg
/home/pi/Desktop/images/21022025/12/44/image_21022025_12_44_15_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338820660","1338820603","1338820563","1338820566","1338820560","1338820557"],"photo_ids_order":["1338820557","1338820560","1338820563","1338820566","1338820603","1338820660"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a44be9b6240134512957af50eb08dc0.jpg","text":"TemporaryFile(/tmp/multipartBody3318236748172849947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139063495,"filename":"image_21022025_12_44_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/66b15c17029fcd342ca4c8538a4d00a4.jpg","text":"TemporaryFile(/tmp/multipartBody1304745568169108016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139063495,"filename":"image_21022025_12_43_45_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/73b1d854083f91a6b0fa118d52ad1c00.jpg","text":"TemporaryFile(/tmp/multipartBody1809721469413483115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139063495,"filename":"image_21022025_12_43_15_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/669d181c193d92ec2d59ca866fe36aab.jpg","text":"TemporaryFile(/tmp/multipartBody4504974140216748964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139063495,"filename":"image_21022025_12_43_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/760ce67daa1e75c690dfd8aba9214112.jpg","text":"TemporaryFile(/tmp/multipartBody2148125792201894623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139063495,"filename":"image_21022025_12_42_55_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5af5cecd796ba3c38ac055e7a4df50a5.jpg","text":"TemporaryFile(/tmp/multipartBody6003446807884080807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139063495,"filename":"image_21022025_12_42_45_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338820563","file1":"1338820560","file0":"1338820557","file4":"1338820603","file5":"1338820660","file3":"1338820566"},"map_files_photo_id_array":[{"photo_id":"1338820660","filename":"file5"},{"photo_id":"1338820563","filename":"file2"},{"photo_id":"1338820603","filename":"file4"},{"photo_id":"1338820560","filename":"file1"},{"photo_id":"1338820557","filename":"file0"},{"photo_id":"1338820566","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338820660":["hashtag1","hashtag2"]},{"1338820603":["hashtag1","hashtag2"]},{"1338820563":["hashtag1","hashtag2"]},{"1338820566":["hashtag1","hashtag2"]},{"1338820560":["hashtag1","hashtag2"]},{"1338820557":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338820660, 1338820603, 1338820563, 1338820566, 1338820560, 1338820557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.806621551513672 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 12:57:32.334213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/44/image_21022025_12_44_25_10338.jpg', '/home/pi/Desktop/images/21022025/12/44/image_21022025_12_44_45_10340.jpg', '/home/pi/Desktop/images/21022025/12/44/image_21022025_12_45_05_10442.jpg', '/home/pi/Desktop/images/21022025/12/45/image_21022025_12_45_15_10377.jpg', '/home/pi/Desktop/images/21022025/12/45/image_21022025_12_45_55_9400.jpg', '/home/pi/Desktop/images/21022025/12/46/image_21022025_12_46_14_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/44/image_21022025_12_44_25_10338.jpg
/home/pi/Desktop/images/21022025/12/44/image_21022025_12_44_45_10340.jpg
/home/pi/Desktop/images/21022025/12/44/image_21022025_12_45_05_10442.jpg
/home/pi/Desktop/images/21022025/12/45/image_21022025_12_45_15_10377.jpg
/home/pi/Desktop/images/21022025/12/45/image_21022025_12_45_55_9400.jpg
/home/pi/Desktop/images/21022025/12/46/image_21022025_12_46_14_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 12:59:04.306010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/44/image_21022025_12_44_25_10338.jpg', '/home/pi/Desktop/images/21022025/12/44/image_21022025_12_44_45_10340.jpg', '/home/pi/Desktop/images/21022025/12/44/image_21022025_12_45_05_10442.jpg', '/home/pi/Desktop/images/21022025/12/45/image_21022025_12_45_15_10377.jpg', '/home/pi/Desktop/images/21022025/12/45/image_21022025_12_45_55_9400.jpg', '/home/pi/Desktop/images/21022025/12/46/image_21022025_12_46_14_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/44/image_21022025_12_44_25_10338.jpg
/home/pi/Desktop/images/21022025/12/44/image_21022025_12_44_45_10340.jpg
/home/pi/Desktop/images/21022025/12/44/image_21022025_12_45_05_10442.jpg
/home/pi/Desktop/images/21022025/12/45/image_21022025_12_45_15_10377.jpg
/home/pi/Desktop/images/21022025/12/45/image_21022025_12_45_55_9400.jpg
/home/pi/Desktop/images/21022025/12/46/image_21022025_12_46_14_9332.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338820969","1338820957","1338820972","1338820959","1338820964","1338820961"],"photo_ids_order":["1338820957","1338820959","1338820961","1338820964","1338820969","1338820972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8695bbbf2cea0d076e5d16cd5be1d4f2.jpg","text":"TemporaryFile(/tmp/multipartBody7760110211896114525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139204946,"filename":"image_21022025_12_45_55_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dd7dbaba7cdb761dcbf4834937f6590a.jpg","text":"TemporaryFile(/tmp/multipartBody7568338987261820566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139204946,"filename":"image_21022025_12_44_25_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/45bfbed89e8f118b1d79cfab4478cb3a.jpg","text":"TemporaryFile(/tmp/multipartBody1933665541157855002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139204946,"filename":"image_21022025_12_46_14_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f88b2704975de967172fd72522c3080.jpg","text":"TemporaryFile(/tmp/multipartBody8787074295828645513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139204946,"filename":"image_21022025_12_44_45_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4076ac8ee66b84379495cf34c8fb8166.jpg","text":"TemporaryFile(/tmp/multipartBody3446375448866228202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139204946,"filename":"image_21022025_12_45_15_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a879f6d94eadf25f88d0d79e9b07817.jpg","text":"TemporaryFile(/tmp/multipartBody4175234304393012686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139204946,"filename":"image_21022025_12_45_05_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338820961","file1":"1338820959","file0":"1338820957","file4":"1338820969","file5":"1338820972","file3":"1338820964"},"map_files_photo_id_array":[{"photo_id":"1338820972","filename":"file5"},{"photo_id":"1338820961","filename":"file2"},{"photo_id":"1338820969","filename":"file4"},{"photo_id":"1338820959","filename":"file1"},{"photo_id":"1338820957","filename":"file0"},{"photo_id":"1338820964","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338820969":["hashtag1","hashtag2"]},{"1338820957":["hashtag1","hashtag2"]},{"1338820972":["hashtag1","hashtag2"]},{"1338820959":["hashtag1","hashtag2"]},{"1338820964":["hashtag1","hashtag2"]},{"1338820961":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338820969, 1338820957, 1338820972, 1338820959, 1338820964, 1338820961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.131269454956055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 12:59:42.676248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/46/image_21022025_12_46_25_10362.jpg', '/home/pi/Desktop/images/21022025/12/46/image_21022025_12_46_35_10342.jpg', '/home/pi/Desktop/images/21022025/12/46/image_21022025_12_46_45_9401.jpg', '/home/pi/Desktop/images/21022025/12/47/image_21022025_12_47_15_9333.jpg', '/home/pi/Desktop/images/21022025/12/47/image_21022025_12_47_25_10357.jpg', '/home/pi/Desktop/images/21022025/12/47/image_21022025_12_47_35_10318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/46/image_21022025_12_46_25_10362.jpg
/home/pi/Desktop/images/21022025/12/46/image_21022025_12_46_35_10342.jpg
/home/pi/Desktop/images/21022025/12/46/image_21022025_12_46_45_9401.jpg
/home/pi/Desktop/images/21022025/12/47/image_21022025_12_47_15_9333.jpg
/home/pi/Desktop/images/21022025/12/47/image_21022025_12_47_25_10357.jpg
/home/pi/Desktop/images/21022025/12/47/image_21022025_12_47_35_10318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338820986","1338820995","1338820989","1338820997","1338820991","1338820993"],"photo_ids_order":["1338820986","1338820989","1338820991","1338820993","1338820995","1338820997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b4a9f7164f6b2d95d37b0740088cc539.jpg","text":"TemporaryFile(/tmp/multipartBody457660892141642565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139243158,"filename":"image_21022025_12_46_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c54ee7050ed336236f3d72e00bf7326.jpg","text":"TemporaryFile(/tmp/multipartBody3266467234648024187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139243158,"filename":"image_21022025_12_47_25_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0ebfa1db9fdc52d853475fd2dfa95b76.jpg","text":"TemporaryFile(/tmp/multipartBody1448845909329933647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139243158,"filename":"image_21022025_12_46_35_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7496cdc5a77f08fe3050b50637f8cc87.jpg","text":"TemporaryFile(/tmp/multipartBody9212654747936690500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139243158,"filename":"image_21022025_12_47_35_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce6a70c59a17bd5e5de2a9a4f0f5645d.jpg","text":"TemporaryFile(/tmp/multipartBody5199469031592907575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139243158,"filename":"image_21022025_12_46_45_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/170e1fe7486dde4701e40a85b7dd70b9.jpg","text":"TemporaryFile(/tmp/multipartBody4946544971973538617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139243158,"filename":"image_21022025_12_47_15_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338820991","file1":"1338820989","file0":"1338820986","file4":"1338820995","file5":"1338820997","file3":"1338820993"},"map_files_photo_id_array":[{"photo_id":"1338820997","filename":"file5"},{"photo_id":"1338820991","filename":"file2"},{"photo_id":"1338820995","filename":"file4"},{"photo_id":"1338820989","filename":"file1"},{"photo_id":"1338820986","filename":"file0"},{"photo_id":"1338820993","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338820986":["hashtag1","hashtag2"]},{"1338820995":["hashtag1","hashtag2"]},{"1338820989":["hashtag1","hashtag2"]},{"1338820997":["hashtag1","hashtag2"]},{"1338820991":["hashtag1","hashtag2"]},{"1338820993":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338820986, 1338820995, 1338820989, 1338820997, 1338820991, 1338820993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.74210476875305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:00:33.006287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/47/image_21022025_12_47_45_9355.jpg', '/home/pi/Desktop/images/21022025/12/47/image_21022025_12_47_55_10340.jpg', '/home/pi/Desktop/images/21022025/12/47/image_21022025_12_48_05_10338.jpg', '/home/pi/Desktop/images/21022025/12/48/image_21022025_12_48_15_9337.jpg', '/home/pi/Desktop/images/21022025/12/48/image_21022025_12_48_25_10360.jpg', '/home/pi/Desktop/images/21022025/12/48/image_21022025_12_48_35_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/47/image_21022025_12_47_45_9355.jpg
/home/pi/Desktop/images/21022025/12/47/image_21022025_12_47_55_10340.jpg
/home/pi/Desktop/images/21022025/12/47/image_21022025_12_48_05_10338.jpg
/home/pi/Desktop/images/21022025/12/48/image_21022025_12_48_15_9337.jpg
/home/pi/Desktop/images/21022025/12/48/image_21022025_12_48_25_10360.jpg
/home/pi/Desktop/images/21022025/12/48/image_21022025_12_48_35_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338821160","1338821124","1338821013","1338821093","1338821126","1338821009"],"photo_ids_order":["1338821009","1338821013","1338821093","1338821124","1338821126","1338821160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f169b2af61dc1201e540cc0995b29fdd.jpg","text":"TemporaryFile(/tmp/multipartBody1428269624816846390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139293498,"filename":"image_21022025_12_48_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ccc5caa17efb5c1804701277306e00c5.jpg","text":"TemporaryFile(/tmp/multipartBody8350163150584295147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139293498,"filename":"image_21022025_12_48_15_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f79b1ecbe0077f89cd8723370b8ccf2.jpg","text":"TemporaryFile(/tmp/multipartBody7698041116635589037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139293498,"filename":"image_21022025_12_47_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8518022fefdab3f1470780fea7118498.jpg","text":"TemporaryFile(/tmp/multipartBody8601551459619929429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139293498,"filename":"image_21022025_12_48_05_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9a1335e2df25e96ef5092ac502b15ccd.jpg","text":"TemporaryFile(/tmp/multipartBody5491179759513713145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139293498,"filename":"image_21022025_12_48_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/51ddb56bafaeb4b14f532539737f711b.jpg","text":"TemporaryFile(/tmp/multipartBody6481970532259240122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139293498,"filename":"image_21022025_12_47_45_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338821093","file1":"1338821013","file0":"1338821009","file4":"1338821126","file5":"1338821160","file3":"1338821124"},"map_files_photo_id_array":[{"photo_id":"1338821160","filename":"file5"},{"photo_id":"1338821093","filename":"file2"},{"photo_id":"1338821126","filename":"file4"},{"photo_id":"1338821013","filename":"file1"},{"photo_id":"1338821009","filename":"file0"},{"photo_id":"1338821124","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338821160":["hashtag1","hashtag2"]},{"1338821124":["hashtag1","hashtag2"]},{"1338821013":["hashtag1","hashtag2"]},{"1338821093":["hashtag1","hashtag2"]},{"1338821126":["hashtag1","hashtag2"]},{"1338821009":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338821160, 1338821124, 1338821013, 1338821093, 1338821126, 1338821009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.119031190872192 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:01:32.201985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/48/image_21022025_12_48_45_9340.jpg', '/home/pi/Desktop/images/21022025/12/48/image_21022025_12_49_05_10327.jpg', '/home/pi/Desktop/images/21022025/12/49/image_21022025_12_49_15_9419.jpg', '/home/pi/Desktop/images/21022025/12/49/image_21022025_12_49_35_9317.jpg', '/home/pi/Desktop/images/21022025/12/49/image_21022025_12_49_45_10416.jpg', '/home/pi/Desktop/images/21022025/12/49/image_21022025_12_49_55_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/48/image_21022025_12_48_45_9340.jpg
/home/pi/Desktop/images/21022025/12/48/image_21022025_12_49_05_10327.jpg
/home/pi/Desktop/images/21022025/12/49/image_21022025_12_49_15_9419.jpg
/home/pi/Desktop/images/21022025/12/49/image_21022025_12_49_35_9317.jpg
/home/pi/Desktop/images/21022025/12/49/image_21022025_12_49_45_10416.jpg
/home/pi/Desktop/images/21022025/12/49/image_21022025_12_49_55_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338821218","1338821292","1338821448","1338821214","1338821375","1338821216"],"photo_ids_order":["1338821214","1338821216","1338821218","1338821292","1338821375","1338821448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e5e656705f292f0b7754aae530ce79a1.jpg","text":"TemporaryFile(/tmp/multipartBody7906233229406906238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139352667,"filename":"image_21022025_12_49_15_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/69635cea8fbfccd88f03f77a86022963.jpg","text":"TemporaryFile(/tmp/multipartBody361607278658789585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139352667,"filename":"image_21022025_12_49_35_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1a5401a3c1230261bc4473928b6bb043.jpg","text":"TemporaryFile(/tmp/multipartBody5651483688803431367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139352667,"filename":"image_21022025_12_49_55_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4ad79343f6b3697dcbc6df99c23d6c2.jpg","text":"TemporaryFile(/tmp/multipartBody2024836387080874037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139352667,"filename":"image_21022025_12_48_45_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/82d33e6b9406b93bbf2c74a724381b5f.jpg","text":"TemporaryFile(/tmp/multipartBody2939091104461216067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139352667,"filename":"image_21022025_12_49_45_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f960284c21eee81e07f33cfa0366dd0d.jpg","text":"TemporaryFile(/tmp/multipartBody8028509778164295247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139352667,"filename":"image_21022025_12_49_05_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338821218","file1":"1338821216","file0":"1338821214","file4":"1338821375","file5":"1338821448","file3":"1338821292"},"map_files_photo_id_array":[{"photo_id":"1338821448","filename":"file5"},{"photo_id":"1338821218","filename":"file2"},{"photo_id":"1338821375","filename":"file4"},{"photo_id":"1338821216","filename":"file1"},{"photo_id":"1338821214","filename":"file0"},{"photo_id":"1338821292","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338821218":["hashtag1","hashtag2"]},{"1338821292":["hashtag1","hashtag2"]},{"1338821448":["hashtag1","hashtag2"]},{"1338821214":["hashtag1","hashtag2"]},{"1338821375":["hashtag1","hashtag2"]},{"1338821216":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338821218, 1338821292, 1338821448, 1338821214, 1338821375, 1338821216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02984595298767 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:02:32.455070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/49/image_21022025_12_50_05_9390.jpg', '/home/pi/Desktop/images/21022025/12/50/image_21022025_12_50_15_10368.jpg', '/home/pi/Desktop/images/21022025/12/50/image_21022025_12_50_35_10357.jpg', '/home/pi/Desktop/images/21022025/12/50/image_21022025_12_50_45_10372.jpg', '/home/pi/Desktop/images/21022025/12/50/image_21022025_12_51_05_10328.jpg', '/home/pi/Desktop/images/21022025/12/51/image_21022025_12_51_14_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/49/image_21022025_12_50_05_9390.jpg
/home/pi/Desktop/images/21022025/12/50/image_21022025_12_50_15_10368.jpg
/home/pi/Desktop/images/21022025/12/50/image_21022025_12_50_35_10357.jpg
/home/pi/Desktop/images/21022025/12/50/image_21022025_12_50_45_10372.jpg
/home/pi/Desktop/images/21022025/12/50/image_21022025_12_51_05_10328.jpg
/home/pi/Desktop/images/21022025/12/51/image_21022025_12_51_14_9408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338821647","1338821682","1338821634","1338821684","1338821675","1338821615"],"photo_ids_order":["1338821615","1338821634","1338821647","1338821675","1338821682","1338821684"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f10f359a176d809a7a11886e4181a839.jpg","text":"TemporaryFile(/tmp/multipartBody8160258356746751007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139412929,"filename":"image_21022025_12_50_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0906e80a2507586cf39aabbd8bf85181.jpg","text":"TemporaryFile(/tmp/multipartBody3287725857467267218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139412929,"filename":"image_21022025_12_51_05_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a3ba22993be156e615e3c65a6decec1.jpg","text":"TemporaryFile(/tmp/multipartBody8011854781483483315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139412929,"filename":"image_21022025_12_50_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a4078e38e911b6ef01de77f844186a1a.jpg","text":"TemporaryFile(/tmp/multipartBody3596396446095357671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139412929,"filename":"image_21022025_12_51_14_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d696766790c9aab10a33d7ced9712982.jpg","text":"TemporaryFile(/tmp/multipartBody1694468009778914816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139412929,"filename":"image_21022025_12_50_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e09cd3ef833f83739eb6e46bf4df5f02.jpg","text":"TemporaryFile(/tmp/multipartBody4788481709338575903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139412929,"filename":"image_21022025_12_50_05_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338821647","file1":"1338821634","file0":"1338821615","file4":"1338821682","file5":"1338821684","file3":"1338821675"},"map_files_photo_id_array":[{"photo_id":"1338821684","filename":"file5"},{"photo_id":"1338821647","filename":"file2"},{"photo_id":"1338821682","filename":"file4"},{"photo_id":"1338821634","filename":"file1"},{"photo_id":"1338821615","filename":"file0"},{"photo_id":"1338821675","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338821647":["hashtag1","hashtag2"]},{"1338821682":["hashtag1","hashtag2"]},{"1338821634":["hashtag1","hashtag2"]},{"1338821684":["hashtag1","hashtag2"]},{"1338821675":["hashtag1","hashtag2"]},{"1338821615":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338821647, 1338821682, 1338821634, 1338821684, 1338821675, 1338821615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32227158546448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:03:32.792564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/51/image_21022025_12_51_25_10346.jpg', '/home/pi/Desktop/images/21022025/12/51/image_21022025_12_52_05_10332.jpg', '/home/pi/Desktop/images/21022025/12/52/image_21022025_12_52_25_10344.jpg', '/home/pi/Desktop/images/21022025/12/52/image_21022025_12_52_35_10345.jpg', '/home/pi/Desktop/images/21022025/12/52/image_21022025_12_52_45_9472.jpg', '/home/pi/Desktop/images/21022025/12/53/image_21022025_12_53_15_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/51/image_21022025_12_51_25_10346.jpg
/home/pi/Desktop/images/21022025/12/51/image_21022025_12_52_05_10332.jpg
/home/pi/Desktop/images/21022025/12/52/image_21022025_12_52_25_10344.jpg
/home/pi/Desktop/images/21022025/12/52/image_21022025_12_52_35_10345.jpg
/home/pi/Desktop/images/21022025/12/52/image_21022025_12_52_45_9472.jpg
/home/pi/Desktop/images/21022025/12/53/image_21022025_12_53_15_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338821851","1338821848","1338821853","1338821856","1338821855","1338821849"],"photo_ids_order":["1338821848","1338821849","1338821851","1338821853","1338821855","1338821856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8f33b1b7649ed806f483031757d762ce.jpg","text":"TemporaryFile(/tmp/multipartBody1546433699370129320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139473275,"filename":"image_21022025_12_52_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9f4c2934cc869921df78677839850453.jpg","text":"TemporaryFile(/tmp/multipartBody286925454206714790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139473275,"filename":"image_21022025_12_51_25_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5768b15d9e0343953b811f1b9a6a49d9.jpg","text":"TemporaryFile(/tmp/multipartBody6499244865912790589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139473275,"filename":"image_21022025_12_52_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f6ed1ff025b7001bd6713e64e52d77f.jpg","text":"TemporaryFile(/tmp/multipartBody5066242010494916695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139473275,"filename":"image_21022025_12_53_15_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b94f2b45e9f44e01c018d3c7444452f8.jpg","text":"TemporaryFile(/tmp/multipartBody3528359876884780328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139473275,"filename":"image_21022025_12_52_45_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b04e0787052e75ea5e26360189b5b11.jpg","text":"TemporaryFile(/tmp/multipartBody6191686396979525048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139473275,"filename":"image_21022025_12_52_05_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338821851","file1":"1338821849","file0":"1338821848","file4":"1338821855","file5":"1338821856","file3":"1338821853"},"map_files_photo_id_array":[{"photo_id":"1338821856","filename":"file5"},{"photo_id":"1338821851","filename":"file2"},{"photo_id":"1338821855","filename":"file4"},{"photo_id":"1338821849","filename":"file1"},{"photo_id":"1338821848","filename":"file0"},{"photo_id":"1338821853","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338821851":["hashtag1","hashtag2"]},{"1338821848":["hashtag1","hashtag2"]},{"1338821853":["hashtag1","hashtag2"]},{"1338821856":["hashtag1","hashtag2"]},{"1338821855":["hashtag1","hashtag2"]},{"1338821849":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338821851, 1338821848, 1338821853, 1338821856, 1338821855, 1338821849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.29883313179016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:04:33.219998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/53/image_21022025_12_53_25_10339.jpg', '/home/pi/Desktop/images/21022025/12/53/image_21022025_12_53_35_9373.jpg', '/home/pi/Desktop/images/21022025/12/53/image_21022025_12_53_45_10423.jpg', '/home/pi/Desktop/images/21022025/12/53/image_21022025_12_53_55_10351.jpg', '/home/pi/Desktop/images/21022025/12/54/image_21022025_12_54_15_10330.jpg', '/home/pi/Desktop/images/21022025/12/54/image_21022025_12_54_25_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/53/image_21022025_12_53_25_10339.jpg
/home/pi/Desktop/images/21022025/12/53/image_21022025_12_53_35_9373.jpg
/home/pi/Desktop/images/21022025/12/53/image_21022025_12_53_45_10423.jpg
/home/pi/Desktop/images/21022025/12/53/image_21022025_12_53_55_10351.jpg
/home/pi/Desktop/images/21022025/12/54/image_21022025_12_54_15_10330.jpg
/home/pi/Desktop/images/21022025/12/54/image_21022025_12_54_25_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338823122","1338823120","1338823117","1338823092","1338822934","1338822780"],"photo_ids_order":["1338822780","1338822934","1338823092","1338823117","1338823120","1338823122"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5e4417bfe6b1c10a3bedc335351a983d.jpg","text":"TemporaryFile(/tmp/multipartBody4844605857608690703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139533749,"filename":"image_21022025_12_54_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dbcfd98c237b68e8dfd3b8eb5940af29.jpg","text":"TemporaryFile(/tmp/multipartBody3782890346117477806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139533749,"filename":"image_21022025_12_54_15_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0fc5384f6e456bb0de973366d662fcfe.jpg","text":"TemporaryFile(/tmp/multipartBody1769336615895672592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139533749,"filename":"image_21022025_12_53_55_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c0a9c3100365687fce9542cdff79ff72.jpg","text":"TemporaryFile(/tmp/multipartBody3038467517364397427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139533749,"filename":"image_21022025_12_53_45_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/64a80673c25e13455d5329c76e002306.jpg","text":"TemporaryFile(/tmp/multipartBody4198378595726537182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139533749,"filename":"image_21022025_12_53_35_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1e10b17d320a2029271d4dc0de61d2f5.jpg","text":"TemporaryFile(/tmp/multipartBody3447235967269500559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139533749,"filename":"image_21022025_12_53_25_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338823092","file1":"1338822934","file0":"1338822780","file4":"1338823120","file5":"1338823122","file3":"1338823117"},"map_files_photo_id_array":[{"photo_id":"1338823122","filename":"file5"},{"photo_id":"1338823092","filename":"file2"},{"photo_id":"1338823120","filename":"file4"},{"photo_id":"1338822934","filename":"file1"},{"photo_id":"1338822780","filename":"file0"},{"photo_id":"1338823117","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338823122":["hashtag1","hashtag2"]},{"1338823120":["hashtag1","hashtag2"]},{"1338823117":["hashtag1","hashtag2"]},{"1338823092":["hashtag1","hashtag2"]},{"1338822934":["hashtag1","hashtag2"]},{"1338822780":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338823122, 1338823120, 1338823117, 1338823092, 1338822934, 1338822780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.10983085632324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:05:32.302859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/54/image_21022025_12_54_35_9318.jpg', '/home/pi/Desktop/images/21022025/12/54/image_21022025_12_54_45_10331.jpg', '/home/pi/Desktop/images/21022025/12/54/image_21022025_12_55_05_10330.jpg', '/home/pi/Desktop/images/21022025/12/55/image_21022025_12_55_15_10340.jpg', '/home/pi/Desktop/images/21022025/12/55/image_21022025_12_55_24_9324.jpg', '/home/pi/Desktop/images/21022025/12/55/image_21022025_12_55_35_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/54/image_21022025_12_54_35_9318.jpg
/home/pi/Desktop/images/21022025/12/54/image_21022025_12_54_45_10331.jpg
/home/pi/Desktop/images/21022025/12/54/image_21022025_12_55_05_10330.jpg
/home/pi/Desktop/images/21022025/12/55/image_21022025_12_55_15_10340.jpg
/home/pi/Desktop/images/21022025/12/55/image_21022025_12_55_24_9324.jpg
/home/pi/Desktop/images/21022025/12/55/image_21022025_12_55_35_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338823143","1338823146","1338823138","1338823147","1338823141","1338823135"],"photo_ids_order":["1338823135","1338823138","1338823141","1338823143","1338823146","1338823147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/98191889de7887b506c2a748573781db.jpg","text":"TemporaryFile(/tmp/multipartBody5644068050459766346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139592769,"filename":"image_21022025_12_55_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/45e4708490db4a061603f1317ce80cdd.jpg","text":"TemporaryFile(/tmp/multipartBody2549784585784901469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139592769,"filename":"image_21022025_12_55_24_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b68d8242fea6a56fa6b4634a95b3b99.jpg","text":"TemporaryFile(/tmp/multipartBody3350187693620105595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139592769,"filename":"image_21022025_12_54_45_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f31194342df7f6c3e5eaffabd5939d8.jpg","text":"TemporaryFile(/tmp/multipartBody1767199843017192710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139592769,"filename":"image_21022025_12_55_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2e75ca84157b2c479a6beb22b15f528f.jpg","text":"TemporaryFile(/tmp/multipartBody3658323591381653191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139592769,"filename":"image_21022025_12_55_05_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ad23ed883244ff6dee586d842daf2679.jpg","text":"TemporaryFile(/tmp/multipartBody2770663133852050537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139592769,"filename":"image_21022025_12_54_35_9318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338823141","file1":"1338823138","file0":"1338823135","file4":"1338823146","file5":"1338823147","file3":"1338823143"},"map_files_photo_id_array":[{"photo_id":"1338823147","filename":"file5"},{"photo_id":"1338823141","filename":"file2"},{"photo_id":"1338823146","filename":"file4"},{"photo_id":"1338823138","filename":"file1"},{"photo_id":"1338823135","filename":"file0"},{"photo_id":"1338823143","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338823143":["hashtag1","hashtag2"]},{"1338823146":["hashtag1","hashtag2"]},{"1338823138":["hashtag1","hashtag2"]},{"1338823147":["hashtag1","hashtag2"]},{"1338823141":["hashtag1","hashtag2"]},{"1338823135":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338823143, 1338823146, 1338823138, 1338823147, 1338823141, 1338823135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.82788896560669 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:06:32.579122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/55/image_21022025_12_55_45_10347.jpg', '/home/pi/Desktop/images/21022025/12/55/image_21022025_12_55_55_9345.jpg', '/home/pi/Desktop/images/21022025/12/56/image_21022025_12_56_15_10375.jpg', '/home/pi/Desktop/images/21022025/12/56/image_21022025_12_56_25_9396.jpg', '/home/pi/Desktop/images/21022025/12/56/image_21022025_12_56_35_10341.jpg', '/home/pi/Desktop/images/21022025/12/56/image_21022025_12_56_45_10326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/55/image_21022025_12_55_45_10347.jpg
/home/pi/Desktop/images/21022025/12/55/image_21022025_12_55_55_9345.jpg
/home/pi/Desktop/images/21022025/12/56/image_21022025_12_56_15_10375.jpg
/home/pi/Desktop/images/21022025/12/56/image_21022025_12_56_25_9396.jpg
/home/pi/Desktop/images/21022025/12/56/image_21022025_12_56_35_10341.jpg
/home/pi/Desktop/images/21022025/12/56/image_21022025_12_56_45_10326.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3924858570098877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:06:42.494589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/55/image_21022025_12_55_45_10347.jpg', '/home/pi/Desktop/images/21022025/12/55/image_21022025_12_55_55_9345.jpg', '/home/pi/Desktop/images/21022025/12/56/image_21022025_12_56_15_10375.jpg', '/home/pi/Desktop/images/21022025/12/56/image_21022025_12_56_25_9396.jpg', '/home/pi/Desktop/images/21022025/12/56/image_21022025_12_56_35_10341.jpg', '/home/pi/Desktop/images/21022025/12/56/image_21022025_12_56_45_10326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/55/image_21022025_12_55_45_10347.jpg
/home/pi/Desktop/images/21022025/12/55/image_21022025_12_55_55_9345.jpg
/home/pi/Desktop/images/21022025/12/56/image_21022025_12_56_15_10375.jpg
/home/pi/Desktop/images/21022025/12/56/image_21022025_12_56_25_9396.jpg
/home/pi/Desktop/images/21022025/12/56/image_21022025_12_56_35_10341.jpg
/home/pi/Desktop/images/21022025/12/56/image_21022025_12_56_45_10326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338823895","1338823812","1338823914","1338823898","1338823822","1338823770"],"photo_ids_order":["1338823770","1338823812","1338823822","1338823895","1338823898","1338823914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eb19a0a1110fa504da255a179c69ff91.jpg","text":"TemporaryFile(/tmp/multipartBody2610890778781049111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139662972,"filename":"image_21022025_12_56_25_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2cc0ebed3829b71869a644a23e0c7e5a.jpg","text":"TemporaryFile(/tmp/multipartBody3451312592621368137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139662972,"filename":"image_21022025_12_55_55_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c805c98d6f707f22e22af8ae98f80ee2.jpg","text":"TemporaryFile(/tmp/multipartBody3485788272475892091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139662972,"filename":"image_21022025_12_56_45_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6708f12aac7c807ac985f5fc6cfd8d26.jpg","text":"TemporaryFile(/tmp/multipartBody6580678239348340229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139662972,"filename":"image_21022025_12_56_35_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3bd5ce01056b66177c0dc13172689c33.jpg","text":"TemporaryFile(/tmp/multipartBody6991807938650903149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139662972,"filename":"image_21022025_12_56_15_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/11c83aff0bcc3acab9988ef5675df636.jpg","text":"TemporaryFile(/tmp/multipartBody2298307951178780707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139662972,"filename":"image_21022025_12_55_45_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338823822","file1":"1338823812","file0":"1338823770","file4":"1338823898","file5":"1338823914","file3":"1338823895"},"map_files_photo_id_array":[{"photo_id":"1338823914","filename":"file5"},{"photo_id":"1338823822","filename":"file2"},{"photo_id":"1338823898","filename":"file4"},{"photo_id":"1338823812","filename":"file1"},{"photo_id":"1338823770","filename":"file0"},{"photo_id":"1338823895","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338823895":["hashtag1","hashtag2"]},{"1338823812":["hashtag1","hashtag2"]},{"1338823914":["hashtag1","hashtag2"]},{"1338823898":["hashtag1","hashtag2"]},{"1338823822":["hashtag1","hashtag2"]},{"1338823770":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338823895, 1338823812, 1338823914, 1338823898, 1338823822, 1338823770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82895374298096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:07:32.857794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/57/image_21022025_12_57_15_10331.jpg', '/home/pi/Desktop/images/21022025/12/57/image_21022025_12_57_25_9443.jpg', '/home/pi/Desktop/images/21022025/12/57/image_21022025_12_57_45_9474.jpg', '/home/pi/Desktop/images/21022025/12/57/image_21022025_12_57_55_10414.jpg', '/home/pi/Desktop/images/21022025/12/58/image_21022025_12_58_35_9355.jpg', '/home/pi/Desktop/images/21022025/12/58/image_21022025_12_58_45_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/57/image_21022025_12_57_15_10331.jpg
/home/pi/Desktop/images/21022025/12/57/image_21022025_12_57_25_9443.jpg
/home/pi/Desktop/images/21022025/12/57/image_21022025_12_57_45_9474.jpg
/home/pi/Desktop/images/21022025/12/57/image_21022025_12_57_55_10414.jpg
/home/pi/Desktop/images/21022025/12/58/image_21022025_12_58_35_9355.jpg
/home/pi/Desktop/images/21022025/12/58/image_21022025_12_58_45_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338823932","1338823937","1338823925","1338823927","1338823935","1338823929"],"photo_ids_order":["1338823925","1338823927","1338823929","1338823932","1338823935","1338823937"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/19b853800d08e5c2399c3a6ac2572f34.jpg","text":"TemporaryFile(/tmp/multipartBody8663320778395717230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139713340,"filename":"image_21022025_12_57_55_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7bab61c072bac6a389c5be6d79297b6e.jpg","text":"TemporaryFile(/tmp/multipartBody3015782795532138111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139713340,"filename":"image_21022025_12_58_45_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/474abdb2690bbb3019b16539fdf9e1c2.jpg","text":"TemporaryFile(/tmp/multipartBody4229158147713359043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139713340,"filename":"image_21022025_12_57_15_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/93d49398acc3a9853790d87632018f94.jpg","text":"TemporaryFile(/tmp/multipartBody7470865218923658035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139713340,"filename":"image_21022025_12_57_25_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c468de1406a7eed42e8a89c1ff18fd8.jpg","text":"TemporaryFile(/tmp/multipartBody3190310640536643724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139713340,"filename":"image_21022025_12_58_35_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8029ca75addc8524b271dc720a1fe8de.jpg","text":"TemporaryFile(/tmp/multipartBody8799251944838906753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139713340,"filename":"image_21022025_12_57_45_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338823929","file1":"1338823927","file0":"1338823925","file4":"1338823935","file5":"1338823937","file3":"1338823932"},"map_files_photo_id_array":[{"photo_id":"1338823937","filename":"file5"},{"photo_id":"1338823929","filename":"file2"},{"photo_id":"1338823935","filename":"file4"},{"photo_id":"1338823927","filename":"file1"},{"photo_id":"1338823925","filename":"file0"},{"photo_id":"1338823932","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338823932":["hashtag1","hashtag2"]},{"1338823937":["hashtag1","hashtag2"]},{"1338823925":["hashtag1","hashtag2"]},{"1338823927":["hashtag1","hashtag2"]},{"1338823935":["hashtag1","hashtag2"]},{"1338823929":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338823932, 1338823937, 1338823925, 1338823927, 1338823935, 1338823929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21983194351196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:08:33.118505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/12/58/image_21022025_12_58_55_10334.jpg', '/home/pi/Desktop/images/21022025/12/58/image_21022025_12_59_05_9425.jpg', '/home/pi/Desktop/images/21022025/12/59/image_21022025_12_59_15_10345.jpg', '/home/pi/Desktop/images/21022025/12/59/image_21022025_12_59_24_9354.jpg', '/home/pi/Desktop/images/21022025/12/59/image_21022025_12_59_35_10394.jpg', '/home/pi/Desktop/images/21022025/12/59/image_21022025_12_59_55_9541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/12/58/image_21022025_12_58_55_10334.jpg
/home/pi/Desktop/images/21022025/12/58/image_21022025_12_59_05_9425.jpg
/home/pi/Desktop/images/21022025/12/59/image_21022025_12_59_15_10345.jpg
/home/pi/Desktop/images/21022025/12/59/image_21022025_12_59_24_9354.jpg
/home/pi/Desktop/images/21022025/12/59/image_21022025_12_59_35_10394.jpg
/home/pi/Desktop/images/21022025/12/59/image_21022025_12_59_55_9541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338823970","1338823967","1338823961","1338823960","1338823963","1338823966"],"photo_ids_order":["1338823960","1338823961","1338823963","1338823966","1338823967","1338823970"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b96573a0abb22589c00700d2bf65c90.jpg","text":"TemporaryFile(/tmp/multipartBody5927472533352978189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139773589,"filename":"image_21022025_12_59_55_9541.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7e94a46d3237ed950e2cfe9dbfd3527.jpg","text":"TemporaryFile(/tmp/multipartBody5744536668165939961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139773589,"filename":"image_21022025_12_59_35_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/43e3cdf107e22d0e295fe35e29f3c124.jpg","text":"TemporaryFile(/tmp/multipartBody3437535295587416207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139773589,"filename":"image_21022025_12_59_05_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/65d9a38cbc6872223bef60373cd8ce8b.jpg","text":"TemporaryFile(/tmp/multipartBody3644623337910895861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139773589,"filename":"image_21022025_12_58_55_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/76ea47530c9a275708f990a1de603436.jpg","text":"TemporaryFile(/tmp/multipartBody746407492142513361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139773589,"filename":"image_21022025_12_59_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/118ad8e8244d03ed8936d39ccd3c4048.jpg","text":"TemporaryFile(/tmp/multipartBody3754904510018658153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139773589,"filename":"image_21022025_12_59_24_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338823963","file1":"1338823961","file0":"1338823960","file4":"1338823967","file5":"1338823970","file3":"1338823966"},"map_files_photo_id_array":[{"photo_id":"1338823970","filename":"file5"},{"photo_id":"1338823963","filename":"file2"},{"photo_id":"1338823967","filename":"file4"},{"photo_id":"1338823961","filename":"file1"},{"photo_id":"1338823960","filename":"file0"},{"photo_id":"1338823966","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338823970":["hashtag1","hashtag2"]},{"1338823967":["hashtag1","hashtag2"]},{"1338823961":["hashtag1","hashtag2"]},{"1338823960":["hashtag1","hashtag2"]},{"1338823963":["hashtag1","hashtag2"]},{"1338823966":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338823970, 1338823967, 1338823961, 1338823960, 1338823963, 1338823966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.816925048828125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:09:32.248150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/01/image_21022025_13_01_15_10072.jpg', '/home/pi/Desktop/images/21022025/13/01/image_21022025_13_01_25_10345.jpg', '/home/pi/Desktop/images/21022025/13/01/image_21022025_13_01_36_10388.jpg', '/home/pi/Desktop/images/21022025/13/01/image_21022025_13_01_45_9372.jpg', '/home/pi/Desktop/images/21022025/13/01/image_21022025_13_01_55_10331.jpg', '/home/pi/Desktop/images/21022025/13/02/image_21022025_13_02_15_9320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/01/image_21022025_13_01_15_10072.jpg
/home/pi/Desktop/images/21022025/13/01/image_21022025_13_01_25_10345.jpg
/home/pi/Desktop/images/21022025/13/01/image_21022025_13_01_36_10388.jpg
/home/pi/Desktop/images/21022025/13/01/image_21022025_13_01_45_9372.jpg
/home/pi/Desktop/images/21022025/13/01/image_21022025_13_01_55_10331.jpg
/home/pi/Desktop/images/21022025/13/02/image_21022025_13_02_15_9320.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338824167","1338824083","1338824164","1338824137","1338824128","1338824169"],"photo_ids_order":["1338824083","1338824128","1338824137","1338824164","1338824167","1338824169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d04f07ef3dc30872972b465e25b54fe.jpg","text":"TemporaryFile(/tmp/multipartBody5049373600587362644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139832708,"filename":"image_21022025_13_01_55_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/110ea6f48d85e4753ba2238f1c5229b7.jpg","text":"TemporaryFile(/tmp/multipartBody5113551820721034996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139832708,"filename":"image_21022025_13_01_15_10072.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b36eae6c055b6079c8004f9c3fde843d.jpg","text":"TemporaryFile(/tmp/multipartBody3736548368759825331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139832708,"filename":"image_21022025_13_01_45_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d00fee565d86a39fc781bf0321c26a4a.jpg","text":"TemporaryFile(/tmp/multipartBody8648688351544224481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139832708,"filename":"image_21022025_13_01_36_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f9d3027706bd399aca3aaa2fe3068705.jpg","text":"TemporaryFile(/tmp/multipartBody6870223138940161001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139832708,"filename":"image_21022025_13_01_25_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b1aa2588ca72e1c13e47f1c5966f1afb.jpg","text":"TemporaryFile(/tmp/multipartBody2371014236210366230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139832708,"filename":"image_21022025_13_02_15_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338824137","file1":"1338824128","file0":"1338824083","file4":"1338824167","file5":"1338824169","file3":"1338824164"},"map_files_photo_id_array":[{"photo_id":"1338824169","filename":"file5"},{"photo_id":"1338824137","filename":"file2"},{"photo_id":"1338824167","filename":"file4"},{"photo_id":"1338824128","filename":"file1"},{"photo_id":"1338824083","filename":"file0"},{"photo_id":"1338824164","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338824167":["hashtag1","hashtag2"]},{"1338824083":["hashtag1","hashtag2"]},{"1338824164":["hashtag1","hashtag2"]},{"1338824137":["hashtag1","hashtag2"]},{"1338824128":["hashtag1","hashtag2"]},{"1338824169":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338824167, 1338824083, 1338824164, 1338824137, 1338824128, 1338824169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.48228979110718 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:10:32.440764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/02/image_21022025_13_02_25_10356.jpg', '/home/pi/Desktop/images/21022025/13/02/image_21022025_13_02_45_9346.jpg', '/home/pi/Desktop/images/21022025/13/02/image_21022025_13_03_05_9445.jpg', '/home/pi/Desktop/images/21022025/13/03/image_21022025_13_03_15_10334.jpg', '/home/pi/Desktop/images/21022025/13/03/image_21022025_13_03_26_10404.jpg', '/home/pi/Desktop/images/21022025/13/03/image_21022025_13_03_35_9316.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/02/image_21022025_13_02_25_10356.jpg
/home/pi/Desktop/images/21022025/13/02/image_21022025_13_02_45_9346.jpg
/home/pi/Desktop/images/21022025/13/02/image_21022025_13_03_05_9445.jpg
/home/pi/Desktop/images/21022025/13/03/image_21022025_13_03_15_10334.jpg
/home/pi/Desktop/images/21022025/13/03/image_21022025_13_03_26_10404.jpg
/home/pi/Desktop/images/21022025/13/03/image_21022025_13_03_35_9316.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338824381","1338824336","1338824264","1338824181","1338824184","1338824202"],"photo_ids_order":["1338824181","1338824184","1338824202","1338824264","1338824336","1338824381"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc023adb4b577e4c9c03b4ab41e82fa5.jpg","text":"TemporaryFile(/tmp/multipartBody1937832185727590514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139892907,"filename":"image_21022025_13_03_35_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f836b332bdeb3d09f854d6b1c6898ac7.jpg","text":"TemporaryFile(/tmp/multipartBody4861325930553885633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139892907,"filename":"image_21022025_13_03_26_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/50d0c47ee2113a8464447bbd7c64da9d.jpg","text":"TemporaryFile(/tmp/multipartBody1757839407145531819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139892907,"filename":"image_21022025_13_03_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d8a5c6e5141737171fdf278653c2235f.jpg","text":"TemporaryFile(/tmp/multipartBody1342932248680087918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139892907,"filename":"image_21022025_13_02_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8d251e1f116b2543856ac95745f6b6eb.jpg","text":"TemporaryFile(/tmp/multipartBody8652402237158778773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139892907,"filename":"image_21022025_13_02_45_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/496beb585b4fd3e8adfa7273a144d516.jpg","text":"TemporaryFile(/tmp/multipartBody4475925402157595089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139892907,"filename":"image_21022025_13_03_05_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338824202","file1":"1338824184","file0":"1338824181","file4":"1338824336","file5":"1338824381","file3":"1338824264"},"map_files_photo_id_array":[{"photo_id":"1338824381","filename":"file5"},{"photo_id":"1338824202","filename":"file2"},{"photo_id":"1338824336","filename":"file4"},{"photo_id":"1338824184","filename":"file1"},{"photo_id":"1338824181","filename":"file0"},{"photo_id":"1338824264","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338824381":["hashtag1","hashtag2"]},{"1338824336":["hashtag1","hashtag2"]},{"1338824264":["hashtag1","hashtag2"]},{"1338824181":["hashtag1","hashtag2"]},{"1338824184":["hashtag1","hashtag2"]},{"1338824202":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338824381, 1338824336, 1338824264, 1338824181, 1338824184, 1338824202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.273632287979126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:11:32.743848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/03/image_21022025_13_03_45_10336.jpg', '/home/pi/Desktop/images/21022025/13/03/image_21022025_13_03_56_10366.jpg', '/home/pi/Desktop/images/21022025/13/03/image_21022025_13_04_05_9328.jpg', '/home/pi/Desktop/images/21022025/13/04/image_21022025_13_04_15_10322.jpg', '/home/pi/Desktop/images/21022025/13/04/image_21022025_13_04_26_10455.jpg', '/home/pi/Desktop/images/21022025/13/04/image_21022025_13_04_45_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/03/image_21022025_13_03_45_10336.jpg
/home/pi/Desktop/images/21022025/13/03/image_21022025_13_03_56_10366.jpg
/home/pi/Desktop/images/21022025/13/03/image_21022025_13_04_05_9328.jpg
/home/pi/Desktop/images/21022025/13/04/image_21022025_13_04_15_10322.jpg
/home/pi/Desktop/images/21022025/13/04/image_21022025_13_04_26_10455.jpg
/home/pi/Desktop/images/21022025/13/04/image_21022025_13_04_45_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338824502","1338824504","1338824512","1338824509","1338824499","1338824506"],"photo_ids_order":["1338824499","1338824502","1338824504","1338824506","1338824509","1338824512"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f354260ef412001e6f8780cc1c1c8794.jpg","text":"TemporaryFile(/tmp/multipartBody7176454931204501773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139953225,"filename":"image_21022025_13_03_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/85cec5779002e9d3a00663bab1e2c068.jpg","text":"TemporaryFile(/tmp/multipartBody5771716600102218453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139953225,"filename":"image_21022025_13_04_05_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1073c7f35c62918d6cee06c25492add1.jpg","text":"TemporaryFile(/tmp/multipartBody6097954390729518425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139953225,"filename":"image_21022025_13_04_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c8db1276a0b20e3f03d1dd10f1801531.jpg","text":"TemporaryFile(/tmp/multipartBody1552856968255753499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139953225,"filename":"image_21022025_13_04_26_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f6ee106b8ffa1785138a4a3a4cf0b52.jpg","text":"TemporaryFile(/tmp/multipartBody6481693183237758876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139953225,"filename":"image_21022025_13_03_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0bf84c1a117641a87ee165f3fe3da907.jpg","text":"TemporaryFile(/tmp/multipartBody6061748292635598003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740139953225,"filename":"image_21022025_13_04_15_10322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338824504","file1":"1338824502","file0":"1338824499","file4":"1338824509","file5":"1338824512","file3":"1338824506"},"map_files_photo_id_array":[{"photo_id":"1338824512","filename":"file5"},{"photo_id":"1338824504","filename":"file2"},{"photo_id":"1338824509","filename":"file4"},{"photo_id":"1338824502","filename":"file1"},{"photo_id":"1338824499","filename":"file0"},{"photo_id":"1338824506","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338824502":["hashtag1","hashtag2"]},{"1338824504":["hashtag1","hashtag2"]},{"1338824512":["hashtag1","hashtag2"]},{"1338824509":["hashtag1","hashtag2"]},{"1338824499":["hashtag1","hashtag2"]},{"1338824506":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338824502, 1338824504, 1338824512, 1338824509, 1338824499, 1338824506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.227795362472534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:12:33.011044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/04/image_21022025_13_05_05_9324.jpg', '/home/pi/Desktop/images/21022025/13/05/image_21022025_13_05_15_10329.jpg', '/home/pi/Desktop/images/21022025/13/05/image_21022025_13_05_26_10368.jpg', '/home/pi/Desktop/images/21022025/13/05/image_21022025_13_05_46_10458.jpg', '/home/pi/Desktop/images/21022025/13/05/image_21022025_13_05_55_9434.jpg', '/home/pi/Desktop/images/21022025/13/05/image_21022025_13_06_05_10313.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/04/image_21022025_13_05_05_9324.jpg
/home/pi/Desktop/images/21022025/13/05/image_21022025_13_05_15_10329.jpg
/home/pi/Desktop/images/21022025/13/05/image_21022025_13_05_26_10368.jpg
/home/pi/Desktop/images/21022025/13/05/image_21022025_13_05_46_10458.jpg
/home/pi/Desktop/images/21022025/13/05/image_21022025_13_05_55_9434.jpg
/home/pi/Desktop/images/21022025/13/05/image_21022025_13_06_05_10313.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338824621","1338824615","1338824609","1338824618","1338824612","1338824623"],"photo_ids_order":["1338824609","1338824612","1338824615","1338824618","1338824621","1338824623"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1cdc00458f5eee3f97f326d45ebf5c8.jpg","text":"TemporaryFile(/tmp/multipartBody235164595677549597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140013487,"filename":"image_21022025_13_05_55_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b49095074dd9d0332b6985e7e70ad09.jpg","text":"TemporaryFile(/tmp/multipartBody1117526149457429985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140013487,"filename":"image_21022025_13_05_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/257a8848de7443990564754a19f0eaac.jpg","text":"TemporaryFile(/tmp/multipartBody3324930485900971137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140013487,"filename":"image_21022025_13_05_05_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9d582b5c662442d37e000f539b80b91c.jpg","text":"TemporaryFile(/tmp/multipartBody2979844387417704481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140013487,"filename":"image_21022025_13_05_46_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/998dd04ae8bc2ab7ec594443e41ce356.jpg","text":"TemporaryFile(/tmp/multipartBody6274661522502005787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140013487,"filename":"image_21022025_13_05_15_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62d9475d078f23b9f184458544023c28.jpg","text":"TemporaryFile(/tmp/multipartBody858702968812961838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140013487,"filename":"image_21022025_13_06_05_10313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338824615","file1":"1338824612","file0":"1338824609","file4":"1338824621","file5":"1338824623","file3":"1338824618"},"map_files_photo_id_array":[{"photo_id":"1338824623","filename":"file5"},{"photo_id":"1338824615","filename":"file2"},{"photo_id":"1338824621","filename":"file4"},{"photo_id":"1338824612","filename":"file1"},{"photo_id":"1338824609","filename":"file0"},{"photo_id":"1338824618","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338824621":["hashtag1","hashtag2"]},{"1338824615":["hashtag1","hashtag2"]},{"1338824609":["hashtag1","hashtag2"]},{"1338824618":["hashtag1","hashtag2"]},{"1338824612":["hashtag1","hashtag2"]},{"1338824623":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338824621, 1338824615, 1338824609, 1338824618, 1338824612, 1338824623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.79139518737793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:13:33.127756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/06/image_21022025_13_06_16_10322.jpg', '/home/pi/Desktop/images/21022025/13/06/image_21022025_13_06_25_9352.jpg', '/home/pi/Desktop/images/21022025/13/06/image_21022025_13_06_35_10317.jpg', '/home/pi/Desktop/images/21022025/13/06/image_21022025_13_07_05_10322.jpg', '/home/pi/Desktop/images/21022025/13/07/image_21022025_13_07_16_10412.jpg', '/home/pi/Desktop/images/21022025/13/07/image_21022025_13_07_36_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/06/image_21022025_13_06_16_10322.jpg
/home/pi/Desktop/images/21022025/13/06/image_21022025_13_06_25_9352.jpg
/home/pi/Desktop/images/21022025/13/06/image_21022025_13_06_35_10317.jpg
/home/pi/Desktop/images/21022025/13/06/image_21022025_13_07_05_10322.jpg
/home/pi/Desktop/images/21022025/13/07/image_21022025_13_07_16_10412.jpg
/home/pi/Desktop/images/21022025/13/07/image_21022025_13_07_36_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338824644","1338824638","1338824647","1338824641","1338824634","1338824637"],"photo_ids_order":["1338824634","1338824637","1338824638","1338824641","1338824644","1338824647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/41bed3515116f4e728276be058a2d83c.jpg","text":"TemporaryFile(/tmp/multipartBody8434357495945019120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140073613,"filename":"image_21022025_13_07_16_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/af716ecf114483a58ab2cbed02348c10.jpg","text":"TemporaryFile(/tmp/multipartBody517880060396027753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140073613,"filename":"image_21022025_13_06_35_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ed3af94d621cc1c1d53b91dfce6112b.jpg","text":"TemporaryFile(/tmp/multipartBody242113867051240122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140073613,"filename":"image_21022025_13_07_36_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ca6ea5f6a594adc1e64995539b38cef4.jpg","text":"TemporaryFile(/tmp/multipartBody5069356992966230486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140073613,"filename":"image_21022025_13_07_05_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fb71d434d66d6a1abd8ba6a0f3b77636.jpg","text":"TemporaryFile(/tmp/multipartBody1775806259406520135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140073613,"filename":"image_21022025_13_06_16_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b3fe87dbc7cd8d953cdca0f50a3ca94.jpg","text":"TemporaryFile(/tmp/multipartBody3296745285104722288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140073613,"filename":"image_21022025_13_06_25_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338824638","file1":"1338824637","file0":"1338824634","file4":"1338824644","file5":"1338824647","file3":"1338824641"},"map_files_photo_id_array":[{"photo_id":"1338824647","filename":"file5"},{"photo_id":"1338824638","filename":"file2"},{"photo_id":"1338824644","filename":"file4"},{"photo_id":"1338824637","filename":"file1"},{"photo_id":"1338824634","filename":"file0"},{"photo_id":"1338824641","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338824644":["hashtag1","hashtag2"]},{"1338824638":["hashtag1","hashtag2"]},{"1338824647":["hashtag1","hashtag2"]},{"1338824641":["hashtag1","hashtag2"]},{"1338824634":["hashtag1","hashtag2"]},{"1338824637":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338824644, 1338824638, 1338824647, 1338824641, 1338824634, 1338824637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.834092617034912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:14:32.391356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/07/image_21022025_13_07_45_9349.jpg', '/home/pi/Desktop/images/21022025/13/07/image_21022025_13_07_55_10326.jpg', '/home/pi/Desktop/images/21022025/13/07/image_21022025_13_08_06_10397.jpg', '/home/pi/Desktop/images/21022025/13/08/image_21022025_13_08_25_10351.jpg', '/home/pi/Desktop/images/21022025/13/08/image_21022025_13_08_36_10410.jpg', '/home/pi/Desktop/images/21022025/13/08/image_21022025_13_08_45_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/07/image_21022025_13_07_45_9349.jpg
/home/pi/Desktop/images/21022025/13/07/image_21022025_13_07_55_10326.jpg
/home/pi/Desktop/images/21022025/13/07/image_21022025_13_08_06_10397.jpg
/home/pi/Desktop/images/21022025/13/08/image_21022025_13_08_25_10351.jpg
/home/pi/Desktop/images/21022025/13/08/image_21022025_13_08_36_10410.jpg
/home/pi/Desktop/images/21022025/13/08/image_21022025_13_08_45_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338824834","1338824807","1338824837","1338824839","1338824832","1338824838"],"photo_ids_order":["1338824807","1338824832","1338824834","1338824837","1338824838","1338824839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/94b8d0bfdcbcde6ce96073eff1cb3fb9.jpg","text":"TemporaryFile(/tmp/multipartBody1854682483477686854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140132876,"filename":"image_21022025_13_08_06_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cefdfe57d5d74291864b58666f739df5.jpg","text":"TemporaryFile(/tmp/multipartBody3297528779994676993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140132876,"filename":"image_21022025_13_07_45_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b6dbb5b7927ba8f5489af219ebb0c7ba.jpg","text":"TemporaryFile(/tmp/multipartBody6163208920632793520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140132876,"filename":"image_21022025_13_08_25_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0126891b533b590cac287da6cf4a3966.jpg","text":"TemporaryFile(/tmp/multipartBody8433001732846503682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140132876,"filename":"image_21022025_13_08_45_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74b7d64053dc11e33db25f096373407f.jpg","text":"TemporaryFile(/tmp/multipartBody8468745036884001234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140132876,"filename":"image_21022025_13_07_55_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bcbdc5b90fd456b9395b344696a033cd.jpg","text":"TemporaryFile(/tmp/multipartBody5244315923151585494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140132876,"filename":"image_21022025_13_08_36_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338824834","file1":"1338824832","file0":"1338824807","file4":"1338824838","file5":"1338824839","file3":"1338824837"},"map_files_photo_id_array":[{"photo_id":"1338824839","filename":"file5"},{"photo_id":"1338824834","filename":"file2"},{"photo_id":"1338824838","filename":"file4"},{"photo_id":"1338824832","filename":"file1"},{"photo_id":"1338824807","filename":"file0"},{"photo_id":"1338824837","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338824834":["hashtag1","hashtag2"]},{"1338824807":["hashtag1","hashtag2"]},{"1338824837":["hashtag1","hashtag2"]},{"1338824839":["hashtag1","hashtag2"]},{"1338824832":["hashtag1","hashtag2"]},{"1338824838":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338824834, 1338824807, 1338824837, 1338824839, 1338824832, 1338824838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.236496925354004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:15:32.567966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/08/image_21022025_13_08_55_10337.jpg', '/home/pi/Desktop/images/21022025/13/08/image_21022025_13_09_06_10361.jpg', '/home/pi/Desktop/images/21022025/13/09/image_21022025_13_09_26_10477.jpg', '/home/pi/Desktop/images/21022025/13/09/image_21022025_13_09_45_10335.jpg', '/home/pi/Desktop/images/21022025/13/09/image_21022025_13_09_56_10453.jpg', '/home/pi/Desktop/images/21022025/13/10/image_21022025_13_10_15_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/08/image_21022025_13_08_55_10337.jpg
/home/pi/Desktop/images/21022025/13/08/image_21022025_13_09_06_10361.jpg
/home/pi/Desktop/images/21022025/13/09/image_21022025_13_09_26_10477.jpg
/home/pi/Desktop/images/21022025/13/09/image_21022025_13_09_45_10335.jpg
/home/pi/Desktop/images/21022025/13/09/image_21022025_13_09_56_10453.jpg
/home/pi/Desktop/images/21022025/13/10/image_21022025_13_10_15_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338824861","1338824852","1338824855","1338824863","1338824857","1338824859"],"photo_ids_order":["1338824852","1338824855","1338824857","1338824859","1338824861","1338824863"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/543d4b2992aeeb15c72f14eb376b07be.jpg","text":"TemporaryFile(/tmp/multipartBody8505558897425608329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140193034,"filename":"image_21022025_13_09_56_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/342cf9bcadd35ea60236e19850341beb.jpg","text":"TemporaryFile(/tmp/multipartBody1891529633114366420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140193034,"filename":"image_21022025_13_08_55_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8425be8aae96c1a203d62db35d7db5a0.jpg","text":"TemporaryFile(/tmp/multipartBody3321133673258432334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140193034,"filename":"image_21022025_13_09_06_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/721b7ada5d205edd372aec6a905367e3.jpg","text":"TemporaryFile(/tmp/multipartBody5475894203926054258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140193034,"filename":"image_21022025_13_10_15_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/401b438fc297550bc64ab97fcc8caf08.jpg","text":"TemporaryFile(/tmp/multipartBody7677783853191032194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140193034,"filename":"image_21022025_13_09_26_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d0dc9f56f2a5d9d5d35dc88b99cd1f7c.jpg","text":"TemporaryFile(/tmp/multipartBody3002168647468307843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140193034,"filename":"image_21022025_13_09_45_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338824857","file1":"1338824855","file0":"1338824852","file4":"1338824861","file5":"1338824863","file3":"1338824859"},"map_files_photo_id_array":[{"photo_id":"1338824863","filename":"file5"},{"photo_id":"1338824857","filename":"file2"},{"photo_id":"1338824861","filename":"file4"},{"photo_id":"1338824855","filename":"file1"},{"photo_id":"1338824852","filename":"file0"},{"photo_id":"1338824859","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338824861":["hashtag1","hashtag2"]},{"1338824852":["hashtag1","hashtag2"]},{"1338824855":["hashtag1","hashtag2"]},{"1338824863":["hashtag1","hashtag2"]},{"1338824857":["hashtag1","hashtag2"]},{"1338824859":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338824861, 1338824852, 1338824855, 1338824863, 1338824857, 1338824859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.9854474067688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:16:32.819674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/10/image_21022025_13_10_25_9477.jpg', '/home/pi/Desktop/images/21022025/13/10/image_21022025_13_10_35_10437.jpg', '/home/pi/Desktop/images/21022025/13/10/image_21022025_13_10_46_10376.jpg', '/home/pi/Desktop/images/21022025/13/10/image_21022025_13_10_55_9367.jpg', '/home/pi/Desktop/images/21022025/13/11/image_21022025_13_11_15_9426.jpg', '/home/pi/Desktop/images/21022025/13/11/image_21022025_13_11_25_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/10/image_21022025_13_10_25_9477.jpg
/home/pi/Desktop/images/21022025/13/10/image_21022025_13_10_35_10437.jpg
/home/pi/Desktop/images/21022025/13/10/image_21022025_13_10_46_10376.jpg
/home/pi/Desktop/images/21022025/13/10/image_21022025_13_10_55_9367.jpg
/home/pi/Desktop/images/21022025/13/11/image_21022025_13_11_15_9426.jpg
/home/pi/Desktop/images/21022025/13/11/image_21022025_13_11_25_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338825461","1338825271","1338825420","1338825459","1338825426","1338825269"],"photo_ids_order":["1338825269","1338825271","1338825420","1338825426","1338825459","1338825461"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1357980752eea8f0d210e549bf89e991.jpg","text":"TemporaryFile(/tmp/multipartBody5843081235372664145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140253312,"filename":"image_21022025_13_11_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cfd6debbc78772338648316362ed4cc8.jpg","text":"TemporaryFile(/tmp/multipartBody394219421134382350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140253312,"filename":"image_21022025_13_10_35_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/431ccb3d149bf852e5339366d76738bc.jpg","text":"TemporaryFile(/tmp/multipartBody1095303691672335097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140253312,"filename":"image_21022025_13_10_46_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b84a16bd23a0440ddcd12c0b4aebff9.jpg","text":"TemporaryFile(/tmp/multipartBody2380020355203597983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140253312,"filename":"image_21022025_13_11_15_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f1be76e233ea203ce2e4809e36cae00.jpg","text":"TemporaryFile(/tmp/multipartBody7232048948537503819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140253312,"filename":"image_21022025_13_10_55_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a824790b95f765fc76febcbda9dc4ed9.jpg","text":"TemporaryFile(/tmp/multipartBody5729459732829598610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140253312,"filename":"image_21022025_13_10_25_9477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338825420","file1":"1338825271","file0":"1338825269","file4":"1338825459","file5":"1338825461","file3":"1338825426"},"map_files_photo_id_array":[{"photo_id":"1338825461","filename":"file5"},{"photo_id":"1338825420","filename":"file2"},{"photo_id":"1338825459","filename":"file4"},{"photo_id":"1338825271","filename":"file1"},{"photo_id":"1338825269","filename":"file0"},{"photo_id":"1338825426","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338825461":["hashtag1","hashtag2"]},{"1338825271":["hashtag1","hashtag2"]},{"1338825420":["hashtag1","hashtag2"]},{"1338825459":["hashtag1","hashtag2"]},{"1338825426":["hashtag1","hashtag2"]},{"1338825269":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338825461, 1338825271, 1338825420, 1338825459, 1338825426, 1338825269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.67220640182495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:17:33.132267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/11/image_21022025_13_11_36_10399.jpg', '/home/pi/Desktop/images/21022025/13/11/image_21022025_13_11_55_10392.jpg', '/home/pi/Desktop/images/21022025/13/11/image_21022025_13_12_06_10372.jpg', '/home/pi/Desktop/images/21022025/13/12/image_21022025_13_12_15_9327.jpg', '/home/pi/Desktop/images/21022025/13/12/image_21022025_13_12_26_10462.jpg', '/home/pi/Desktop/images/21022025/13/12/image_21022025_13_12_35_9330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/11/image_21022025_13_11_36_10399.jpg
/home/pi/Desktop/images/21022025/13/11/image_21022025_13_11_55_10392.jpg
/home/pi/Desktop/images/21022025/13/11/image_21022025_13_12_06_10372.jpg
/home/pi/Desktop/images/21022025/13/12/image_21022025_13_12_15_9327.jpg
/home/pi/Desktop/images/21022025/13/12/image_21022025_13_12_26_10462.jpg
/home/pi/Desktop/images/21022025/13/12/image_21022025_13_12_35_9330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338825568","1338825570","1338825573","1338825576","1338825578","1338825566"],"photo_ids_order":["1338825566","1338825568","1338825570","1338825573","1338825576","1338825578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ca4d3aab4a0ddb3cef10976b18375169.jpg","text":"TemporaryFile(/tmp/multipartBody598990357994836230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140313605,"filename":"image_21022025_13_11_55_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23a539a5cc1abc6ca8956bba0f86398c.jpg","text":"TemporaryFile(/tmp/multipartBody7676062086929020012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140313605,"filename":"image_21022025_13_12_06_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/27be98c4308804c35573ca153de22732.jpg","text":"TemporaryFile(/tmp/multipartBody7886768198294017183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140313605,"filename":"image_21022025_13_12_15_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1f9d9eaf825e107b630fcca36dc8a725.jpg","text":"TemporaryFile(/tmp/multipartBody2991109578772332254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140313605,"filename":"image_21022025_13_12_26_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f527555bae681277c55310379ea73a23.jpg","text":"TemporaryFile(/tmp/multipartBody6737903924931195960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140313605,"filename":"image_21022025_13_12_35_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e123de4c205856758db86980541dcd1f.jpg","text":"TemporaryFile(/tmp/multipartBody5010680796646211391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140313605,"filename":"image_21022025_13_11_36_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338825570","file1":"1338825568","file0":"1338825566","file4":"1338825576","file5":"1338825578","file3":"1338825573"},"map_files_photo_id_array":[{"photo_id":"1338825578","filename":"file5"},{"photo_id":"1338825570","filename":"file2"},{"photo_id":"1338825576","filename":"file4"},{"photo_id":"1338825568","filename":"file1"},{"photo_id":"1338825566","filename":"file0"},{"photo_id":"1338825573","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338825568":["hashtag1","hashtag2"]},{"1338825570":["hashtag1","hashtag2"]},{"1338825573":["hashtag1","hashtag2"]},{"1338825576":["hashtag1","hashtag2"]},{"1338825578":["hashtag1","hashtag2"]},{"1338825566":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338825568, 1338825570, 1338825573, 1338825576, 1338825578, 1338825566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38879132270813 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:18:32.215282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/12/image_21022025_13_12_45_10368.jpg', '/home/pi/Desktop/images/21022025/13/12/image_21022025_13_12_56_10370.jpg', '/home/pi/Desktop/images/21022025/13/12/image_21022025_13_13_05_9402.jpg', '/home/pi/Desktop/images/21022025/13/13/image_21022025_13_13_15_10368.jpg', '/home/pi/Desktop/images/21022025/13/13/image_21022025_13_13_35_9343.jpg', '/home/pi/Desktop/images/21022025/13/13/image_21022025_13_13_46_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/12/image_21022025_13_12_45_10368.jpg
/home/pi/Desktop/images/21022025/13/12/image_21022025_13_12_56_10370.jpg
/home/pi/Desktop/images/21022025/13/12/image_21022025_13_13_05_9402.jpg
/home/pi/Desktop/images/21022025/13/13/image_21022025_13_13_15_10368.jpg
/home/pi/Desktop/images/21022025/13/13/image_21022025_13_13_35_9343.jpg
/home/pi/Desktop/images/21022025/13/13/image_21022025_13_13_46_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338825595","1338825597","1338825601","1338825593","1338825599","1338825590"],"photo_ids_order":["1338825590","1338825593","1338825595","1338825597","1338825599","1338825601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d84242723e013e77983c4261ca22049a.jpg","text":"TemporaryFile(/tmp/multipartBody6480070778977348170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140372683,"filename":"image_21022025_13_13_05_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c8c21150c9102ee69c1c35c5965cc344.jpg","text":"TemporaryFile(/tmp/multipartBody4227223454883134264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140372683,"filename":"image_21022025_13_13_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/795d9339e46910a1f25cc5d9793a2ae3.jpg","text":"TemporaryFile(/tmp/multipartBody5764797421857489136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140372683,"filename":"image_21022025_13_13_46_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/634961f51dfad6dc395afdf5db8428a9.jpg","text":"TemporaryFile(/tmp/multipartBody7410620068623445915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140372683,"filename":"image_21022025_13_12_56_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5d24f89ccc7f0e0a2182e43d7ede7456.jpg","text":"TemporaryFile(/tmp/multipartBody1151189891093144782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140372683,"filename":"image_21022025_13_13_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ca1e710e80e52d8b512ee422fc8e590.jpg","text":"TemporaryFile(/tmp/multipartBody3926462366885550168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140372683,"filename":"image_21022025_13_12_45_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338825595","file1":"1338825593","file0":"1338825590","file4":"1338825599","file5":"1338825601","file3":"1338825597"},"map_files_photo_id_array":[{"photo_id":"1338825601","filename":"file5"},{"photo_id":"1338825595","filename":"file2"},{"photo_id":"1338825599","filename":"file4"},{"photo_id":"1338825593","filename":"file1"},{"photo_id":"1338825590","filename":"file0"},{"photo_id":"1338825597","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338825595":["hashtag1","hashtag2"]},{"1338825597":["hashtag1","hashtag2"]},{"1338825601":["hashtag1","hashtag2"]},{"1338825593":["hashtag1","hashtag2"]},{"1338825599":["hashtag1","hashtag2"]},{"1338825590":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338825595, 1338825597, 1338825601, 1338825593, 1338825599, 1338825590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.978849172592163 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:19:32.394426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/13/image_21022025_13_13_55_9388.jpg', '/home/pi/Desktop/images/21022025/13/14/image_21022025_13_14_25_9404.jpg', '/home/pi/Desktop/images/21022025/13/14/image_21022025_13_14_35_10378.jpg', '/home/pi/Desktop/images/21022025/13/14/image_21022025_13_15_06_10472.jpg', '/home/pi/Desktop/images/21022025/13/15/image_21022025_13_15_15_9351.jpg', '/home/pi/Desktop/images/21022025/13/15/image_21022025_13_15_35_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/13/image_21022025_13_13_55_9388.jpg
/home/pi/Desktop/images/21022025/13/14/image_21022025_13_14_25_9404.jpg
/home/pi/Desktop/images/21022025/13/14/image_21022025_13_14_35_10378.jpg
/home/pi/Desktop/images/21022025/13/14/image_21022025_13_15_06_10472.jpg
/home/pi/Desktop/images/21022025/13/15/image_21022025_13_15_15_9351.jpg
/home/pi/Desktop/images/21022025/13/15/image_21022025_13_15_35_9336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338825635","1338825637","1338825631","1338825628","1338825636","1338825638"],"photo_ids_order":["1338825628","1338825631","1338825635","1338825636","1338825637","1338825638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/24b01187790946fa6e904049114bba32.jpg","text":"TemporaryFile(/tmp/multipartBody1580040217937388610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140432856,"filename":"image_21022025_13_14_35_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/36f8bea61f06ad3af1730b12204169b8.jpg","text":"TemporaryFile(/tmp/multipartBody3551082897161350495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140432856,"filename":"image_21022025_13_15_15_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/057db8418708f5a7bef98186f8da025d.jpg","text":"TemporaryFile(/tmp/multipartBody8194964977246215214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140432856,"filename":"image_21022025_13_14_25_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5e0dc6646b5e815428bffffdadc24dbd.jpg","text":"TemporaryFile(/tmp/multipartBody7671955521049469046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140432856,"filename":"image_21022025_13_13_55_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8687dcdd6eb074c3c3c10d3159f57e6c.jpg","text":"TemporaryFile(/tmp/multipartBody2684898731983800583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140432856,"filename":"image_21022025_13_15_06_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/28e050c411eb8f5b478417ae047867d7.jpg","text":"TemporaryFile(/tmp/multipartBody4075445327455279417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140432856,"filename":"image_21022025_13_15_35_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338825635","file1":"1338825631","file0":"1338825628","file4":"1338825637","file5":"1338825638","file3":"1338825636"},"map_files_photo_id_array":[{"photo_id":"1338825638","filename":"file5"},{"photo_id":"1338825635","filename":"file2"},{"photo_id":"1338825637","filename":"file4"},{"photo_id":"1338825631","filename":"file1"},{"photo_id":"1338825628","filename":"file0"},{"photo_id":"1338825636","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338825635":["hashtag1","hashtag2"]},{"1338825637":["hashtag1","hashtag2"]},{"1338825631":["hashtag1","hashtag2"]},{"1338825628":["hashtag1","hashtag2"]},{"1338825636":["hashtag1","hashtag2"]},{"1338825638":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338825635, 1338825637, 1338825631, 1338825628, 1338825636, 1338825638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87571597099304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:20:32.830328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/15/image_21022025_13_15_56_10401.jpg', '/home/pi/Desktop/images/21022025/13/15/image_21022025_13_16_05_9380.jpg', '/home/pi/Desktop/images/21022025/13/16/image_21022025_13_16_35_10409.jpg', '/home/pi/Desktop/images/21022025/13/16/image_21022025_13_16_46_10370.jpg', '/home/pi/Desktop/images/21022025/13/16/image_21022025_13_16_55_9361.jpg', '/home/pi/Desktop/images/21022025/13/17/image_21022025_13_17_16_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/15/image_21022025_13_15_56_10401.jpg
/home/pi/Desktop/images/21022025/13/15/image_21022025_13_16_05_9380.jpg
/home/pi/Desktop/images/21022025/13/16/image_21022025_13_16_35_10409.jpg
/home/pi/Desktop/images/21022025/13/16/image_21022025_13_16_46_10370.jpg
/home/pi/Desktop/images/21022025/13/16/image_21022025_13_16_55_9361.jpg
/home/pi/Desktop/images/21022025/13/17/image_21022025_13_17_16_10397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338825793","1338825823","1338825745","1338825795","1338825822","1338825773"],"photo_ids_order":["1338825745","1338825773","1338825793","1338825795","1338825822","1338825823"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a4e587db3c28d54f81344eece9677063.jpg","text":"TemporaryFile(/tmp/multipartBody2245573366915936905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140493316,"filename":"image_21022025_13_16_35_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/65450340ebe0110e2b4876647e85a6c3.jpg","text":"TemporaryFile(/tmp/multipartBody8395238338005289077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140493316,"filename":"image_21022025_13_17_16_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/888a377cc3b68202893318cda2669ca0.jpg","text":"TemporaryFile(/tmp/multipartBody2284633120101354785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140493316,"filename":"image_21022025_13_15_56_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d40baaa44dbd96e2c720c3131d58046.jpg","text":"TemporaryFile(/tmp/multipartBody2883724128090537350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140493316,"filename":"image_21022025_13_16_46_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f74b173d0870a1055aa1e1db9691049.jpg","text":"TemporaryFile(/tmp/multipartBody8739682666814384529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140493316,"filename":"image_21022025_13_16_55_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90efb089e29003a409343cedb4dfd9bd.jpg","text":"TemporaryFile(/tmp/multipartBody2415650098811733593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140493316,"filename":"image_21022025_13_16_05_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338825793","file1":"1338825773","file0":"1338825745","file4":"1338825822","file5":"1338825823","file3":"1338825795"},"map_files_photo_id_array":[{"photo_id":"1338825823","filename":"file5"},{"photo_id":"1338825793","filename":"file2"},{"photo_id":"1338825822","filename":"file4"},{"photo_id":"1338825773","filename":"file1"},{"photo_id":"1338825745","filename":"file0"},{"photo_id":"1338825795","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338825793":["hashtag1","hashtag2"]},{"1338825823":["hashtag1","hashtag2"]},{"1338825745":["hashtag1","hashtag2"]},{"1338825795":["hashtag1","hashtag2"]},{"1338825822":["hashtag1","hashtag2"]},{"1338825773":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338825793, 1338825823, 1338825745, 1338825795, 1338825822, 1338825773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83957386016846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:21:33.083200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/17/image_21022025_13_17_25_9392.jpg', '/home/pi/Desktop/images/21022025/13/17/image_21022025_13_17_36_10414.jpg', '/home/pi/Desktop/images/21022025/13/17/image_21022025_13_17_45_9389.jpg', '/home/pi/Desktop/images/21022025/13/17/image_21022025_13_17_55_10358.jpg', '/home/pi/Desktop/images/21022025/13/18/image_21022025_13_18_15_9344.jpg', '/home/pi/Desktop/images/21022025/13/18/image_21022025_13_18_45_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/17/image_21022025_13_17_25_9392.jpg
/home/pi/Desktop/images/21022025/13/17/image_21022025_13_17_36_10414.jpg
/home/pi/Desktop/images/21022025/13/17/image_21022025_13_17_45_9389.jpg
/home/pi/Desktop/images/21022025/13/17/image_21022025_13_17_55_10358.jpg
/home/pi/Desktop/images/21022025/13/18/image_21022025_13_18_15_9344.jpg
/home/pi/Desktop/images/21022025/13/18/image_21022025_13_18_45_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338825991","1338825972","1338825996","1338825981","1338825980","1338825974"],"photo_ids_order":["1338825972","1338825974","1338825980","1338825981","1338825991","1338825996"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae8a9c79ccfb43a96d195ce7d22f1693.jpg","text":"TemporaryFile(/tmp/multipartBody5095695454607674999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140553576,"filename":"image_21022025_13_18_15_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f969e95aec496fb4c371df64c7f9c1e2.jpg","text":"TemporaryFile(/tmp/multipartBody3212396529233217369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140553576,"filename":"image_21022025_13_17_25_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2b6c96951a39abe5ac03e4714b955c60.jpg","text":"TemporaryFile(/tmp/multipartBody5183984336218300584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140553576,"filename":"image_21022025_13_18_45_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0090961c9ab2bb1a116a4f1d309fef6c.jpg","text":"TemporaryFile(/tmp/multipartBody3125623721681322216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140553576,"filename":"image_21022025_13_17_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0cd6b72b265f8da735c04928fcf16b7b.jpg","text":"TemporaryFile(/tmp/multipartBody7554005564621929582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140553576,"filename":"image_21022025_13_17_45_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2500ca9a1a7f834a84a7958712353b30.jpg","text":"TemporaryFile(/tmp/multipartBody7721013590395325429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140553576,"filename":"image_21022025_13_17_36_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338825980","file1":"1338825974","file0":"1338825972","file4":"1338825991","file5":"1338825996","file3":"1338825981"},"map_files_photo_id_array":[{"photo_id":"1338825996","filename":"file5"},{"photo_id":"1338825980","filename":"file2"},{"photo_id":"1338825991","filename":"file4"},{"photo_id":"1338825974","filename":"file1"},{"photo_id":"1338825972","filename":"file0"},{"photo_id":"1338825981","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338825991":["hashtag1","hashtag2"]},{"1338825972":["hashtag1","hashtag2"]},{"1338825996":["hashtag1","hashtag2"]},{"1338825981":["hashtag1","hashtag2"]},{"1338825980":["hashtag1","hashtag2"]},{"1338825974":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338825991, 1338825972, 1338825996, 1338825981, 1338825980, 1338825974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.316460371017456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:22:32.283602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/18/image_21022025_13_18_55_10352.jpg', '/home/pi/Desktop/images/21022025/13/18/image_21022025_13_19_06_10387.jpg', '/home/pi/Desktop/images/21022025/13/19/image_21022025_13_19_26_10363.jpg', '/home/pi/Desktop/images/21022025/13/19/image_21022025_13_19_35_9565.jpg', '/home/pi/Desktop/images/21022025/13/19/image_21022025_13_19_45_10359.jpg', '/home/pi/Desktop/images/21022025/13/19/image_21022025_13_19_56_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/18/image_21022025_13_18_55_10352.jpg
/home/pi/Desktop/images/21022025/13/18/image_21022025_13_19_06_10387.jpg
/home/pi/Desktop/images/21022025/13/19/image_21022025_13_19_26_10363.jpg
/home/pi/Desktop/images/21022025/13/19/image_21022025_13_19_35_9565.jpg
/home/pi/Desktop/images/21022025/13/19/image_21022025_13_19_45_10359.jpg
/home/pi/Desktop/images/21022025/13/19/image_21022025_13_19_56_10359.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3816225528717041 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:22:42.231365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/18/image_21022025_13_18_55_10352.jpg', '/home/pi/Desktop/images/21022025/13/18/image_21022025_13_19_06_10387.jpg', '/home/pi/Desktop/images/21022025/13/19/image_21022025_13_19_26_10363.jpg', '/home/pi/Desktop/images/21022025/13/19/image_21022025_13_19_35_9565.jpg', '/home/pi/Desktop/images/21022025/13/19/image_21022025_13_19_45_10359.jpg', '/home/pi/Desktop/images/21022025/13/19/image_21022025_13_19_56_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/18/image_21022025_13_18_55_10352.jpg
/home/pi/Desktop/images/21022025/13/18/image_21022025_13_19_06_10387.jpg
/home/pi/Desktop/images/21022025/13/19/image_21022025_13_19_26_10363.jpg
/home/pi/Desktop/images/21022025/13/19/image_21022025_13_19_35_9565.jpg
/home/pi/Desktop/images/21022025/13/19/image_21022025_13_19_45_10359.jpg
/home/pi/Desktop/images/21022025/13/19/image_21022025_13_19_56_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338826063","1338826064","1338826067","1338826061","1338826055","1338826058"],"photo_ids_order":["1338826055","1338826058","1338826061","1338826063","1338826064","1338826067"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ee04f8914099ad8bf92f95ad0363c30c.jpg","text":"TemporaryFile(/tmp/multipartBody8020501592532682347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140622703,"filename":"image_21022025_13_19_35_9565.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f8294120f4d4402229b7a8e3cf49fbc.jpg","text":"TemporaryFile(/tmp/multipartBody2858561683458878205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140622703,"filename":"image_21022025_13_19_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/505b5b8acdf9bb14e15c17fbf8a5be36.jpg","text":"TemporaryFile(/tmp/multipartBody1637461855553945062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140622703,"filename":"image_21022025_13_19_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/851f4dd1e428abd46de887af8cbc82bd.jpg","text":"TemporaryFile(/tmp/multipartBody5747940312789549417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140622703,"filename":"image_21022025_13_19_26_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/767301211abcf1bf363727251befd744.jpg","text":"TemporaryFile(/tmp/multipartBody6566091367597499692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140622703,"filename":"image_21022025_13_18_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4ff17e5082350a9e9c99ce4ab9d10846.jpg","text":"TemporaryFile(/tmp/multipartBody6114706906546822196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140622703,"filename":"image_21022025_13_19_06_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338826061","file1":"1338826058","file0":"1338826055","file4":"1338826064","file5":"1338826067","file3":"1338826063"},"map_files_photo_id_array":[{"photo_id":"1338826067","filename":"file5"},{"photo_id":"1338826061","filename":"file2"},{"photo_id":"1338826064","filename":"file4"},{"photo_id":"1338826058","filename":"file1"},{"photo_id":"1338826055","filename":"file0"},{"photo_id":"1338826063","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338826063":["hashtag1","hashtag2"]},{"1338826064":["hashtag1","hashtag2"]},{"1338826067":["hashtag1","hashtag2"]},{"1338826061":["hashtag1","hashtag2"]},{"1338826055":["hashtag1","hashtag2"]},{"1338826058":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338826063, 1338826064, 1338826067, 1338826061, 1338826055, 1338826058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.959762811660767 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:23:32.511663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/19/image_21022025_13_20_05_9415.jpg', '/home/pi/Desktop/images/21022025/13/20/image_21022025_13_20_25_9351.jpg', '/home/pi/Desktop/images/21022025/13/20/image_21022025_13_20_35_10404.jpg', '/home/pi/Desktop/images/21022025/13/20/image_21022025_13_20_46_10406.jpg', '/home/pi/Desktop/images/21022025/13/20/image_21022025_13_20_55_9337.jpg', '/home/pi/Desktop/images/21022025/13/20/image_21022025_13_21_05_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/19/image_21022025_13_20_05_9415.jpg
/home/pi/Desktop/images/21022025/13/20/image_21022025_13_20_25_9351.jpg
/home/pi/Desktop/images/21022025/13/20/image_21022025_13_20_35_10404.jpg
/home/pi/Desktop/images/21022025/13/20/image_21022025_13_20_46_10406.jpg
/home/pi/Desktop/images/21022025/13/20/image_21022025_13_20_55_9337.jpg
/home/pi/Desktop/images/21022025/13/20/image_21022025_13_21_05_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338826516","1338826510","1338826507","1338826512","1338826515","1338826514"],"photo_ids_order":["1338826507","1338826510","1338826512","1338826514","1338826515","1338826516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/76bf24e964fdd49be41a260cffe2a92e.jpg","text":"TemporaryFile(/tmp/multipartBody1327121087621138310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140672988,"filename":"image_21022025_13_21_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3ac8099957eff7418a9103cda02ca012.jpg","text":"TemporaryFile(/tmp/multipartBody6801328142036426957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140672988,"filename":"image_21022025_13_20_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5926e372b4e21e93a03754d2dc7b4cf5.jpg","text":"TemporaryFile(/tmp/multipartBody8391040879094168106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140672988,"filename":"image_21022025_13_20_05_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b1e0b527da1e7fda017bdac01f347bd3.jpg","text":"TemporaryFile(/tmp/multipartBody38217833632078495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140672988,"filename":"image_21022025_13_20_35_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8f347f346987bf693d02501ea4bdcb3a.jpg","text":"TemporaryFile(/tmp/multipartBody206992904133837529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140672988,"filename":"image_21022025_13_20_55_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b1edfd3181a14a96508f8a12c07616c.jpg","text":"TemporaryFile(/tmp/multipartBody5452881607267094475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140672988,"filename":"image_21022025_13_20_46_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338826512","file1":"1338826510","file0":"1338826507","file4":"1338826515","file5":"1338826516","file3":"1338826514"},"map_files_photo_id_array":[{"photo_id":"1338826516","filename":"file5"},{"photo_id":"1338826512","filename":"file2"},{"photo_id":"1338826515","filename":"file4"},{"photo_id":"1338826510","filename":"file1"},{"photo_id":"1338826507","filename":"file0"},{"photo_id":"1338826514","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338826516":["hashtag1","hashtag2"]},{"1338826510":["hashtag1","hashtag2"]},{"1338826507":["hashtag1","hashtag2"]},{"1338826512":["hashtag1","hashtag2"]},{"1338826515":["hashtag1","hashtag2"]},{"1338826514":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338826516, 1338826510, 1338826507, 1338826512, 1338826515, 1338826514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.235228300094604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:24:32.806168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/21/image_21022025_13_21_15_9421.jpg', '/home/pi/Desktop/images/21022025/13/21/image_21022025_13_21_25_10339.jpg', '/home/pi/Desktop/images/21022025/13/21/image_21022025_13_21_36_10426.jpg', '/home/pi/Desktop/images/21022025/13/21/image_21022025_13_21_55_10360.jpg', '/home/pi/Desktop/images/21022025/13/21/image_21022025_13_22_06_10414.jpg', '/home/pi/Desktop/images/21022025/13/22/image_21022025_13_22_15_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/21/image_21022025_13_21_15_9421.jpg
/home/pi/Desktop/images/21022025/13/21/image_21022025_13_21_25_10339.jpg
/home/pi/Desktop/images/21022025/13/21/image_21022025_13_21_36_10426.jpg
/home/pi/Desktop/images/21022025/13/21/image_21022025_13_21_55_10360.jpg
/home/pi/Desktop/images/21022025/13/21/image_21022025_13_22_06_10414.jpg
/home/pi/Desktop/images/21022025/13/22/image_21022025_13_22_15_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338826729","1338826749","1338826751","1338826754","1338826757","1338826643"],"photo_ids_order":["1338826643","1338826729","1338826749","1338826751","1338826754","1338826757"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83409654b8252bf33b1d0b8c3289429a.jpg","text":"TemporaryFile(/tmp/multipartBody5838875742029418676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140733279,"filename":"image_21022025_13_21_25_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fdd023b41e6981a33438b3b557cccecb.jpg","text":"TemporaryFile(/tmp/multipartBody8045697085694421720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140733279,"filename":"image_21022025_13_21_36_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4be31967a49b12c4c52a066be5baa742.jpg","text":"TemporaryFile(/tmp/multipartBody6482729678312903917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140733279,"filename":"image_21022025_13_21_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3af927cb699e46d1ebc4d921ebd7117b.jpg","text":"TemporaryFile(/tmp/multipartBody3273077287647458213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140733279,"filename":"image_21022025_13_22_06_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b5d0f79aa487f46752383d296173daf2.jpg","text":"TemporaryFile(/tmp/multipartBody4030270301828044398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140733279,"filename":"image_21022025_13_22_15_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62f993c0eedab78294a2a61815cd6199.jpg","text":"TemporaryFile(/tmp/multipartBody8512500862649298908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140733279,"filename":"image_21022025_13_21_15_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338826749","file1":"1338826729","file0":"1338826643","file4":"1338826754","file5":"1338826757","file3":"1338826751"},"map_files_photo_id_array":[{"photo_id":"1338826757","filename":"file5"},{"photo_id":"1338826749","filename":"file2"},{"photo_id":"1338826754","filename":"file4"},{"photo_id":"1338826729","filename":"file1"},{"photo_id":"1338826643","filename":"file0"},{"photo_id":"1338826751","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338826729":["hashtag1","hashtag2"]},{"1338826749":["hashtag1","hashtag2"]},{"1338826751":["hashtag1","hashtag2"]},{"1338826754":["hashtag1","hashtag2"]},{"1338826757":["hashtag1","hashtag2"]},{"1338826643":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338826729, 1338826749, 1338826751, 1338826754, 1338826757, 1338826643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.154678344726562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:25:33.172094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/22/image_21022025_13_22_25_10347.jpg', '/home/pi/Desktop/images/21022025/13/22/image_21022025_13_22_36_10337.jpg', '/home/pi/Desktop/images/21022025/13/22/image_21022025_13_22_56_10358.jpg', '/home/pi/Desktop/images/21022025/13/22/image_21022025_13_23_05_9344.jpg', '/home/pi/Desktop/images/21022025/13/23/image_21022025_13_23_15_10330.jpg', '/home/pi/Desktop/images/21022025/13/23/image_21022025_13_23_26_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/22/image_21022025_13_22_25_10347.jpg
/home/pi/Desktop/images/21022025/13/22/image_21022025_13_22_36_10337.jpg
/home/pi/Desktop/images/21022025/13/22/image_21022025_13_22_56_10358.jpg
/home/pi/Desktop/images/21022025/13/22/image_21022025_13_23_05_9344.jpg
/home/pi/Desktop/images/21022025/13/23/image_21022025_13_23_15_10330.jpg
/home/pi/Desktop/images/21022025/13/23/image_21022025_13_23_26_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338826924","1338826912","1338826913","1338826922","1338826916","1338826919"],"photo_ids_order":["1338826912","1338826913","1338826916","1338826919","1338826922","1338826924"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/885323119f4c89d6b405a99712f5ccd0.jpg","text":"TemporaryFile(/tmp/multipartBody949495046999050122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140793657,"filename":"image_21022025_13_23_26_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6741e6ab36ae2066bd83a6266d3718d2.jpg","text":"TemporaryFile(/tmp/multipartBody870943178686830285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140793657,"filename":"image_21022025_13_22_25_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c81516b195145aca40c9385a1f0e9cc7.jpg","text":"TemporaryFile(/tmp/multipartBody389641043937792904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140793657,"filename":"image_21022025_13_22_36_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4942d12eee22c721916533cf31c71385.jpg","text":"TemporaryFile(/tmp/multipartBody4473938410343342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140793657,"filename":"image_21022025_13_23_15_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0738577943c250a5b727a79f12e85c70.jpg","text":"TemporaryFile(/tmp/multipartBody7795188313554447659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140793657,"filename":"image_21022025_13_22_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2e305154891a783579b83c968db1e9df.jpg","text":"TemporaryFile(/tmp/multipartBody5180854689238025151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140793657,"filename":"image_21022025_13_23_05_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338826916","file1":"1338826913","file0":"1338826912","file4":"1338826922","file5":"1338826924","file3":"1338826919"},"map_files_photo_id_array":[{"photo_id":"1338826924","filename":"file5"},{"photo_id":"1338826916","filename":"file2"},{"photo_id":"1338826922","filename":"file4"},{"photo_id":"1338826913","filename":"file1"},{"photo_id":"1338826912","filename":"file0"},{"photo_id":"1338826919","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338826924":["hashtag1","hashtag2"]},{"1338826912":["hashtag1","hashtag2"]},{"1338826913":["hashtag1","hashtag2"]},{"1338826922":["hashtag1","hashtag2"]},{"1338826916":["hashtag1","hashtag2"]},{"1338826919":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338826924, 1338826912, 1338826913, 1338826922, 1338826916, 1338826919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15030479431152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:26:32.254583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/23/image_21022025_13_23_35_9334.jpg', '/home/pi/Desktop/images/21022025/13/23/image_21022025_13_23_45_10365.jpg', '/home/pi/Desktop/images/21022025/13/23/image_21022025_13_23_56_10496.jpg', '/home/pi/Desktop/images/21022025/13/23/image_21022025_13_24_05_9434.jpg', '/home/pi/Desktop/images/21022025/13/24/image_21022025_13_24_15_10344.jpg', '/home/pi/Desktop/images/21022025/13/24/image_21022025_13_24_25_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/23/image_21022025_13_23_35_9334.jpg
/home/pi/Desktop/images/21022025/13/23/image_21022025_13_23_45_10365.jpg
/home/pi/Desktop/images/21022025/13/23/image_21022025_13_23_56_10496.jpg
/home/pi/Desktop/images/21022025/13/23/image_21022025_13_24_05_9434.jpg
/home/pi/Desktop/images/21022025/13/24/image_21022025_13_24_15_10344.jpg
/home/pi/Desktop/images/21022025/13/24/image_21022025_13_24_25_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338826939","1338826941","1338826943","1338826946","1338826949","1338826940"],"photo_ids_order":["1338826939","1338826940","1338826941","1338826943","1338826946","1338826949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02b2d6d524a3f126a4b6148765dee737.jpg","text":"TemporaryFile(/tmp/multipartBody7966894579283425132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140852730,"filename":"image_21022025_13_23_35_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a786cf8e6250171309bbb4854824867c.jpg","text":"TemporaryFile(/tmp/multipartBody6077204432013195256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140852730,"filename":"image_21022025_13_23_56_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9da1c92dadc097ac4890a1bdd50d6e86.jpg","text":"TemporaryFile(/tmp/multipartBody2067827377204563562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140852730,"filename":"image_21022025_13_24_05_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/49deca16bdea926d14db8594e54942ce.jpg","text":"TemporaryFile(/tmp/multipartBody6652686005752420118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140852730,"filename":"image_21022025_13_24_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c0548319c2bbf83a968d73bba92b2a16.jpg","text":"TemporaryFile(/tmp/multipartBody6574615572316436889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140852730,"filename":"image_21022025_13_24_25_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/473a75883ae35f89d99172ef32a23d43.jpg","text":"TemporaryFile(/tmp/multipartBody2107654118552079560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140852730,"filename":"image_21022025_13_23_45_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338826941","file1":"1338826940","file0":"1338826939","file4":"1338826946","file5":"1338826949","file3":"1338826943"},"map_files_photo_id_array":[{"photo_id":"1338826949","filename":"file5"},{"photo_id":"1338826941","filename":"file2"},{"photo_id":"1338826946","filename":"file4"},{"photo_id":"1338826940","filename":"file1"},{"photo_id":"1338826939","filename":"file0"},{"photo_id":"1338826943","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338826939":["hashtag1","hashtag2"]},{"1338826941":["hashtag1","hashtag2"]},{"1338826943":["hashtag1","hashtag2"]},{"1338826946":["hashtag1","hashtag2"]},{"1338826949":["hashtag1","hashtag2"]},{"1338826940":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338826939, 1338826941, 1338826943, 1338826946, 1338826949, 1338826940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.30834460258484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:27:32.459043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/24/image_21022025_13_24_35_10324.jpg', '/home/pi/Desktop/images/21022025/13/24/image_21022025_13_24_46_10416.jpg', '/home/pi/Desktop/images/21022025/13/24/image_21022025_13_25_05_10324.jpg', '/home/pi/Desktop/images/21022025/13/25/image_21022025_13_25_16_10396.jpg', '/home/pi/Desktop/images/21022025/13/25/image_21022025_13_25_35_10322.jpg', '/home/pi/Desktop/images/21022025/13/25/image_21022025_13_25_46_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/24/image_21022025_13_24_35_10324.jpg
/home/pi/Desktop/images/21022025/13/24/image_21022025_13_24_46_10416.jpg
/home/pi/Desktop/images/21022025/13/24/image_21022025_13_25_05_10324.jpg
/home/pi/Desktop/images/21022025/13/25/image_21022025_13_25_16_10396.jpg
/home/pi/Desktop/images/21022025/13/25/image_21022025_13_25_35_10322.jpg
/home/pi/Desktop/images/21022025/13/25/image_21022025_13_25_46_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338827382","1338827256","1338827259","1338827381","1338827326","1338827269"],"photo_ids_order":["1338827256","1338827259","1338827269","1338827326","1338827381","1338827382"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e12eb8ef7c646d2b26ec5e7b3f5458dc.jpg","text":"TemporaryFile(/tmp/multipartBody6636796895573682366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140912928,"filename":"image_21022025_13_25_46_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/84474c6dc4e71712b0f6d81b1d3abe96.jpg","text":"TemporaryFile(/tmp/multipartBody8866553543565741109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140912928,"filename":"image_21022025_13_24_35_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/baa30a7282f304619f00f24740a9b988.jpg","text":"TemporaryFile(/tmp/multipartBody3313113293853410138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140912928,"filename":"image_21022025_13_24_46_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/34f544d0ed894abd8aa781127dd728f0.jpg","text":"TemporaryFile(/tmp/multipartBody7611639391187524139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140912928,"filename":"image_21022025_13_25_35_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e9a02c7eee58f9297fcdf0ca6e2b9c8b.jpg","text":"TemporaryFile(/tmp/multipartBody4734803767609944223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140912928,"filename":"image_21022025_13_25_16_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/835ab2b9fe384ff4c777c9ab8253f044.jpg","text":"TemporaryFile(/tmp/multipartBody5478355331010127214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140912928,"filename":"image_21022025_13_25_05_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338827269","file1":"1338827259","file0":"1338827256","file4":"1338827381","file5":"1338827382","file3":"1338827326"},"map_files_photo_id_array":[{"photo_id":"1338827382","filename":"file5"},{"photo_id":"1338827269","filename":"file2"},{"photo_id":"1338827381","filename":"file4"},{"photo_id":"1338827259","filename":"file1"},{"photo_id":"1338827256","filename":"file0"},{"photo_id":"1338827326","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338827382":["hashtag1","hashtag2"]},{"1338827256":["hashtag1","hashtag2"]},{"1338827259":["hashtag1","hashtag2"]},{"1338827381":["hashtag1","hashtag2"]},{"1338827326":["hashtag1","hashtag2"]},{"1338827269":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338827382, 1338827256, 1338827259, 1338827381, 1338827326, 1338827269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01711368560791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:28:32.626108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/25/image_21022025_13_25_55_9350.jpg', '/home/pi/Desktop/images/21022025/13/25/image_21022025_13_26_05_10347.jpg', '/home/pi/Desktop/images/21022025/13/26/image_21022025_13_26_15_9383.jpg', '/home/pi/Desktop/images/21022025/13/26/image_21022025_13_26_25_10366.jpg', '/home/pi/Desktop/images/21022025/13/26/image_21022025_13_26_36_10407.jpg', '/home/pi/Desktop/images/21022025/13/26/image_21022025_13_26_45_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/25/image_21022025_13_25_55_9350.jpg
/home/pi/Desktop/images/21022025/13/25/image_21022025_13_26_05_10347.jpg
/home/pi/Desktop/images/21022025/13/26/image_21022025_13_26_15_9383.jpg
/home/pi/Desktop/images/21022025/13/26/image_21022025_13_26_25_10366.jpg
/home/pi/Desktop/images/21022025/13/26/image_21022025_13_26_36_10407.jpg
/home/pi/Desktop/images/21022025/13/26/image_21022025_13_26_45_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338827506","1338827500","1338827499","1338827505","1338827502","1338827504"],"photo_ids_order":["1338827499","1338827500","1338827502","1338827504","1338827505","1338827506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/af1bf01f85eca86fd95f9878865c3748.jpg","text":"TemporaryFile(/tmp/multipartBody2315522571774783861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140973110,"filename":"image_21022025_13_26_45_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d4109769403733a04c6ff060f50f79e.jpg","text":"TemporaryFile(/tmp/multipartBody4903341029447837891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140973110,"filename":"image_21022025_13_26_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2be30c6c50fc945bdaab1001a08ccd03.jpg","text":"TemporaryFile(/tmp/multipartBody3930081189548699712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140973110,"filename":"image_21022025_13_25_55_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c4ee19ea6ae0ab543887f95d9177fd40.jpg","text":"TemporaryFile(/tmp/multipartBody7099069483097770199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140973110,"filename":"image_21022025_13_26_36_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/53b0de0e575fc7dfd4e5413981f06d2f.jpg","text":"TemporaryFile(/tmp/multipartBody292803960791712960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140973110,"filename":"image_21022025_13_26_15_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1597d398cd566f2e29a7a99fe99910e9.jpg","text":"TemporaryFile(/tmp/multipartBody1515061157997980936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740140973110,"filename":"image_21022025_13_26_25_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338827502","file1":"1338827500","file0":"1338827499","file4":"1338827505","file5":"1338827506","file3":"1338827504"},"map_files_photo_id_array":[{"photo_id":"1338827506","filename":"file5"},{"photo_id":"1338827502","filename":"file2"},{"photo_id":"1338827505","filename":"file4"},{"photo_id":"1338827500","filename":"file1"},{"photo_id":"1338827499","filename":"file0"},{"photo_id":"1338827504","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338827506":["hashtag1","hashtag2"]},{"1338827500":["hashtag1","hashtag2"]},{"1338827499":["hashtag1","hashtag2"]},{"1338827505":["hashtag1","hashtag2"]},{"1338827502":["hashtag1","hashtag2"]},{"1338827504":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338827506, 1338827500, 1338827499, 1338827505, 1338827502, 1338827504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.06953763961792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:29:32.949317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/26/image_21022025_13_26_55_10415.jpg', '/home/pi/Desktop/images/21022025/13/27/image_21022025_13_27_15_9345.jpg', '/home/pi/Desktop/images/21022025/13/27/image_21022025_13_27_26_10465.jpg', '/home/pi/Desktop/images/21022025/13/27/image_21022025_13_27_35_9400.jpg', '/home/pi/Desktop/images/21022025/13/27/image_21022025_13_27_45_10361.jpg', '/home/pi/Desktop/images/21022025/13/27/image_21022025_13_27_56_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/26/image_21022025_13_26_55_10415.jpg
/home/pi/Desktop/images/21022025/13/27/image_21022025_13_27_15_9345.jpg
/home/pi/Desktop/images/21022025/13/27/image_21022025_13_27_26_10465.jpg
/home/pi/Desktop/images/21022025/13/27/image_21022025_13_27_35_9400.jpg
/home/pi/Desktop/images/21022025/13/27/image_21022025_13_27_45_10361.jpg
/home/pi/Desktop/images/21022025/13/27/image_21022025_13_27_56_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338827803","1338827800","1338827784","1338827778","1338827780","1338827782"],"photo_ids_order":["1338827778","1338827780","1338827782","1338827784","1338827800","1338827803"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e939d76987ee71e147720146eae0a006.jpg","text":"TemporaryFile(/tmp/multipartBody3192256384418338955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141033444,"filename":"image_21022025_13_27_56_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/957fca5529fa2ed55c097ff622ab2165.jpg","text":"TemporaryFile(/tmp/multipartBody4221909244504985437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141033444,"filename":"image_21022025_13_27_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/64ba3909a903c03bdc7842e874442761.jpg","text":"TemporaryFile(/tmp/multipartBody8149602320610524804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141033444,"filename":"image_21022025_13_27_35_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/898267568bea779545c5328359dc5c01.jpg","text":"TemporaryFile(/tmp/multipartBody3977705003139446306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141033444,"filename":"image_21022025_13_26_55_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/837c8cd0bba8b938a1621bad876fc8df.jpg","text":"TemporaryFile(/tmp/multipartBody4372600159890440111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141033444,"filename":"image_21022025_13_27_15_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e973ddf61682de00b7bcbc84a070d18b.jpg","text":"TemporaryFile(/tmp/multipartBody1090660708662407266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141033444,"filename":"image_21022025_13_27_26_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338827782","file1":"1338827780","file0":"1338827778","file4":"1338827800","file5":"1338827803","file3":"1338827784"},"map_files_photo_id_array":[{"photo_id":"1338827803","filename":"file5"},{"photo_id":"1338827782","filename":"file2"},{"photo_id":"1338827800","filename":"file4"},{"photo_id":"1338827780","filename":"file1"},{"photo_id":"1338827778","filename":"file0"},{"photo_id":"1338827784","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338827803":["hashtag1","hashtag2"]},{"1338827800":["hashtag1","hashtag2"]},{"1338827784":["hashtag1","hashtag2"]},{"1338827778":["hashtag1","hashtag2"]},{"1338827780":["hashtag1","hashtag2"]},{"1338827782":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338827803, 1338827800, 1338827784, 1338827778, 1338827780, 1338827782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.094489336013794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:30:33.084397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/28/image_21022025_13_28_15_10331.jpg', '/home/pi/Desktop/images/21022025/13/28/image_21022025_13_28_26_10360.jpg', '/home/pi/Desktop/images/21022025/13/28/image_21022025_13_28_35_9354.jpg', '/home/pi/Desktop/images/21022025/13/28/image_21022025_13_29_05_10345.jpg', '/home/pi/Desktop/images/21022025/13/29/image_21022025_13_29_16_10405.jpg', '/home/pi/Desktop/images/21022025/13/29/image_21022025_13_29_25_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/28/image_21022025_13_28_15_10331.jpg
/home/pi/Desktop/images/21022025/13/28/image_21022025_13_28_26_10360.jpg
/home/pi/Desktop/images/21022025/13/28/image_21022025_13_28_35_9354.jpg
/home/pi/Desktop/images/21022025/13/28/image_21022025_13_29_05_10345.jpg
/home/pi/Desktop/images/21022025/13/29/image_21022025_13_29_16_10405.jpg
/home/pi/Desktop/images/21022025/13/29/image_21022025_13_29_25_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338827926","1338827982","1338827934","1338827928","1338827924","1338827927"],"photo_ids_order":["1338827924","1338827926","1338827927","1338827928","1338827934","1338827982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/777d7cb21961163e3f9eb69c09680790.jpg","text":"TemporaryFile(/tmp/multipartBody6340838907985976271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141093588,"filename":"image_21022025_13_28_26_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae6bd152883ca4e98b698efe5152b162.jpg","text":"TemporaryFile(/tmp/multipartBody260150657525522157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141093588,"filename":"image_21022025_13_29_25_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/900afa9960988c2ea8462b4d62bef64b.jpg","text":"TemporaryFile(/tmp/multipartBody7596076051468331579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141093588,"filename":"image_21022025_13_29_16_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2f21c6f1670eda4d91880ada82734923.jpg","text":"TemporaryFile(/tmp/multipartBody6246011920186283024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141093588,"filename":"image_21022025_13_29_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/181081d6653f3ef4dfd256ce8105765a.jpg","text":"TemporaryFile(/tmp/multipartBody8339122527009118809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141093588,"filename":"image_21022025_13_28_15_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a997cda27a797a9fd5442badfa1566e0.jpg","text":"TemporaryFile(/tmp/multipartBody920890396186858472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141093588,"filename":"image_21022025_13_28_35_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338827927","file1":"1338827926","file0":"1338827924","file4":"1338827934","file5":"1338827982","file3":"1338827928"},"map_files_photo_id_array":[{"photo_id":"1338827982","filename":"file5"},{"photo_id":"1338827927","filename":"file2"},{"photo_id":"1338827934","filename":"file4"},{"photo_id":"1338827926","filename":"file1"},{"photo_id":"1338827924","filename":"file0"},{"photo_id":"1338827928","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338827926":["hashtag1","hashtag2"]},{"1338827982":["hashtag1","hashtag2"]},{"1338827934":["hashtag1","hashtag2"]},{"1338827928":["hashtag1","hashtag2"]},{"1338827924":["hashtag1","hashtag2"]},{"1338827927":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338827926, 1338827982, 1338827934, 1338827928, 1338827924, 1338827927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.607187747955322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:31:32.384470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/29/image_21022025_13_29_46_10438.jpg', '/home/pi/Desktop/images/21022025/13/29/image_21022025_13_29_55_9347.jpg', '/home/pi/Desktop/images/21022025/13/29/image_21022025_13_30_05_10353.jpg', '/home/pi/Desktop/images/21022025/13/30/image_21022025_13_30_15_9399.jpg', '/home/pi/Desktop/images/21022025/13/30/image_21022025_13_30_25_10355.jpg', '/home/pi/Desktop/images/21022025/13/30/image_21022025_13_30_36_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/29/image_21022025_13_29_46_10438.jpg
/home/pi/Desktop/images/21022025/13/29/image_21022025_13_29_55_9347.jpg
/home/pi/Desktop/images/21022025/13/29/image_21022025_13_30_05_10353.jpg
/home/pi/Desktop/images/21022025/13/30/image_21022025_13_30_15_9399.jpg
/home/pi/Desktop/images/21022025/13/30/image_21022025_13_30_25_10355.jpg
/home/pi/Desktop/images/21022025/13/30/image_21022025_13_30_36_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338828140","1338828130","1338828133","1338828127","1338828142","1338828136"],"photo_ids_order":["1338828127","1338828130","1338828133","1338828136","1338828140","1338828142"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a700ee0823c073458f912388b57f8627.jpg","text":"TemporaryFile(/tmp/multipartBody6734387766796070704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141152847,"filename":"image_21022025_13_30_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f658f79d8e8e8a09ce42d2ea1eee8857.jpg","text":"TemporaryFile(/tmp/multipartBody2265724291119507153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141152847,"filename":"image_21022025_13_29_55_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/195221ce2c2b6c4c812128b807258b7c.jpg","text":"TemporaryFile(/tmp/multipartBody8172331130726266901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141152847,"filename":"image_21022025_13_30_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e18d3dc3ddd31d4e4e9ab73cffcff8d7.jpg","text":"TemporaryFile(/tmp/multipartBody329324072147571376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141152847,"filename":"image_21022025_13_29_46_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83f2ca0b81e84a9f96d93387db018f54.jpg","text":"TemporaryFile(/tmp/multipartBody8037169307254249608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141152847,"filename":"image_21022025_13_30_36_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff299e6796337dd9a32e83122b245084.jpg","text":"TemporaryFile(/tmp/multipartBody7308445662480820585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141152847,"filename":"image_21022025_13_30_15_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338828133","file1":"1338828130","file0":"1338828127","file4":"1338828140","file5":"1338828142","file3":"1338828136"},"map_files_photo_id_array":[{"photo_id":"1338828142","filename":"file5"},{"photo_id":"1338828133","filename":"file2"},{"photo_id":"1338828140","filename":"file4"},{"photo_id":"1338828130","filename":"file1"},{"photo_id":"1338828127","filename":"file0"},{"photo_id":"1338828136","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338828140":["hashtag1","hashtag2"]},{"1338828130":["hashtag1","hashtag2"]},{"1338828133":["hashtag1","hashtag2"]},{"1338828127":["hashtag1","hashtag2"]},{"1338828142":["hashtag1","hashtag2"]},{"1338828136":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338828140, 1338828130, 1338828133, 1338828127, 1338828142, 1338828136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86416578292847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:32:32.819783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/30/image_21022025_13_30_45_9349.jpg', '/home/pi/Desktop/images/21022025/13/30/image_21022025_13_30_55_10356.jpg', '/home/pi/Desktop/images/21022025/13/30/image_21022025_13_31_06_10384.jpg', '/home/pi/Desktop/images/21022025/13/31/image_21022025_13_31_25_10344.jpg', '/home/pi/Desktop/images/21022025/13/31/image_21022025_13_31_36_10332.jpg', '/home/pi/Desktop/images/21022025/13/31/image_21022025_13_31_45_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/30/image_21022025_13_30_45_9349.jpg
/home/pi/Desktop/images/21022025/13/30/image_21022025_13_30_55_10356.jpg
/home/pi/Desktop/images/21022025/13/30/image_21022025_13_31_06_10384.jpg
/home/pi/Desktop/images/21022025/13/31/image_21022025_13_31_25_10344.jpg
/home/pi/Desktop/images/21022025/13/31/image_21022025_13_31_36_10332.jpg
/home/pi/Desktop/images/21022025/13/31/image_21022025_13_31_45_9446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338828156","1338828165","1338828159","1338828161","1338828172","1338828169"],"photo_ids_order":["1338828156","1338828159","1338828161","1338828165","1338828169","1338828172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0fe5ea3fbc583fbc9491eb6dd8d9bd84.jpg","text":"TemporaryFile(/tmp/multipartBody6636680298950092589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141213304,"filename":"image_21022025_13_30_45_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4e1761444b04cda7bbac5365725df8af.jpg","text":"TemporaryFile(/tmp/multipartBody1288507058660275626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141213304,"filename":"image_21022025_13_31_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/39910892004112bf738d8cdcc8ae6856.jpg","text":"TemporaryFile(/tmp/multipartBody3736721795757981656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141213304,"filename":"image_21022025_13_30_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc2285be8488afcdcda63c1d6dccbee9.jpg","text":"TemporaryFile(/tmp/multipartBody1162715043382532675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141213304,"filename":"image_21022025_13_31_06_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5fd65d4461ac2557c80273b3a831d1a0.jpg","text":"TemporaryFile(/tmp/multipartBody5080546560634012325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141213304,"filename":"image_21022025_13_31_45_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2805eeec4a70da9e382812ce9bd1e04.jpg","text":"TemporaryFile(/tmp/multipartBody2056373263819709292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141213304,"filename":"image_21022025_13_31_36_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338828161","file1":"1338828159","file0":"1338828156","file4":"1338828169","file5":"1338828172","file3":"1338828165"},"map_files_photo_id_array":[{"photo_id":"1338828172","filename":"file5"},{"photo_id":"1338828161","filename":"file2"},{"photo_id":"1338828169","filename":"file4"},{"photo_id":"1338828159","filename":"file1"},{"photo_id":"1338828156","filename":"file0"},{"photo_id":"1338828165","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338828156":["hashtag1","hashtag2"]},{"1338828165":["hashtag1","hashtag2"]},{"1338828159":["hashtag1","hashtag2"]},{"1338828161":["hashtag1","hashtag2"]},{"1338828172":["hashtag1","hashtag2"]},{"1338828169":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338828156, 1338828165, 1338828159, 1338828161, 1338828172, 1338828169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1779580116272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:33:33.071233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/32/image_21022025_13_32_25_10359.jpg', '/home/pi/Desktop/images/21022025/13/32/image_21022025_13_32_36_10349.jpg', '/home/pi/Desktop/images/21022025/13/32/image_21022025_13_32_56_10395.jpg', '/home/pi/Desktop/images/21022025/13/32/image_21022025_13_33_05_9571.jpg', '/home/pi/Desktop/images/21022025/13/33/image_21022025_13_33_15_10274.jpg', '/home/pi/Desktop/images/21022025/13/33/image_21022025_13_33_25_9454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/32/image_21022025_13_32_25_10359.jpg
/home/pi/Desktop/images/21022025/13/32/image_21022025_13_32_36_10349.jpg
/home/pi/Desktop/images/21022025/13/32/image_21022025_13_32_56_10395.jpg
/home/pi/Desktop/images/21022025/13/32/image_21022025_13_33_05_9571.jpg
/home/pi/Desktop/images/21022025/13/33/image_21022025_13_33_15_10274.jpg
/home/pi/Desktop/images/21022025/13/33/image_21022025_13_33_25_9454.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39492130279541016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:33:42.965162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/32/image_21022025_13_32_25_10359.jpg', '/home/pi/Desktop/images/21022025/13/32/image_21022025_13_32_36_10349.jpg', '/home/pi/Desktop/images/21022025/13/32/image_21022025_13_32_56_10395.jpg', '/home/pi/Desktop/images/21022025/13/32/image_21022025_13_33_05_9571.jpg', '/home/pi/Desktop/images/21022025/13/33/image_21022025_13_33_15_10274.jpg', '/home/pi/Desktop/images/21022025/13/33/image_21022025_13_33_25_9454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/32/image_21022025_13_32_25_10359.jpg
/home/pi/Desktop/images/21022025/13/32/image_21022025_13_32_36_10349.jpg
/home/pi/Desktop/images/21022025/13/32/image_21022025_13_32_56_10395.jpg
/home/pi/Desktop/images/21022025/13/32/image_21022025_13_33_05_9571.jpg
/home/pi/Desktop/images/21022025/13/33/image_21022025_13_33_15_10274.jpg
/home/pi/Desktop/images/21022025/13/33/image_21022025_13_33_25_9454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338828468","1338828453","1338828466","1338828451","1338828445","1338828448"],"photo_ids_order":["1338828445","1338828448","1338828451","1338828453","1338828466","1338828468"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dbd89c6e55f74d78d79b4e226fc21f52.jpg","text":"TemporaryFile(/tmp/multipartBody239483308398094574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141283429,"filename":"image_21022025_13_33_25_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8e73cce36faec5aba0604788d98ebebf.jpg","text":"TemporaryFile(/tmp/multipartBody7454444328962182403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141283429,"filename":"image_21022025_13_33_05_9571.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/07e4fb7d7376614ad2ba8380dc917ed7.jpg","text":"TemporaryFile(/tmp/multipartBody927824438729881315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141283429,"filename":"image_21022025_13_33_15_10274.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c500c79138ead7ed8b3c16bece4d613e.jpg","text":"TemporaryFile(/tmp/multipartBody4069470754291161127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141283429,"filename":"image_21022025_13_32_56_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3675dd19b5f967ade745939dc7ace3a7.jpg","text":"TemporaryFile(/tmp/multipartBody4089485956779789952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141283429,"filename":"image_21022025_13_32_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f2adba4131507f1b27b6c12e19053123.jpg","text":"TemporaryFile(/tmp/multipartBody6750737040396607857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141283429,"filename":"image_21022025_13_32_36_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338828451","file1":"1338828448","file0":"1338828445","file4":"1338828466","file5":"1338828468","file3":"1338828453"},"map_files_photo_id_array":[{"photo_id":"1338828468","filename":"file5"},{"photo_id":"1338828451","filename":"file2"},{"photo_id":"1338828466","filename":"file4"},{"photo_id":"1338828448","filename":"file1"},{"photo_id":"1338828445","filename":"file0"},{"photo_id":"1338828453","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338828468":["hashtag1","hashtag2"]},{"1338828453":["hashtag1","hashtag2"]},{"1338828466":["hashtag1","hashtag2"]},{"1338828451":["hashtag1","hashtag2"]},{"1338828445":["hashtag1","hashtag2"]},{"1338828448":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338828468, 1338828453, 1338828466, 1338828451, 1338828445, 1338828448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.830054998397827 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:34:32.148740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/33/image_21022025_13_33_46_10414.jpg', '/home/pi/Desktop/images/21022025/13/33/image_21022025_13_33_55_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/33/image_21022025_13_33_46_10414.jpg
/home/pi/Desktop/images/21022025/13/33/image_21022025_13_33_55_9351.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338828790","1338828844"],"photo_ids_order":["1338828790","1338828844"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a305c9a05d769b73818ecca494c2e349.jpg","text":"TemporaryFile(/tmp/multipartBody7542015274789973021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141332570,"filename":"image_21022025_13_33_46_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd26cc23c6f61d5b43bb1a9d5268ae63.jpg","text":"TemporaryFile(/tmp/multipartBody101774203597871045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141332570,"filename":"image_21022025_13_33_55_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338828844","file0":"1338828790"},"map_files_photo_id_array":[{"photo_id":"1338828844","filename":"file1"},{"photo_id":"1338828790","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338828790":["hashtag1","hashtag2"]},{"1338828844":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338828790, 1338828844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.472605466842651 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:34:52.153548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/30/image_20022025_16_30_17_10320.jpg', '/home/pi/Desktop/images/20022025/16/30/image_20022025_16_30_26_9340.jpg', '/home/pi/Desktop/images/20022025/16/30/image_20022025_16_30_36_10333.jpg', '/home/pi/Desktop/images/20022025/16/30/image_20022025_16_30_47_10386.jpg', '/home/pi/Desktop/images/20022025/16/30/image_20022025_16_30_56_9388.jpg', '/home/pi/Desktop/images/20022025/16/30/image_20022025_16_31_07_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/30/image_20022025_16_30_17_10320.jpg
/home/pi/Desktop/images/20022025/16/30/image_20022025_16_30_26_9340.jpg
/home/pi/Desktop/images/20022025/16/30/image_20022025_16_30_36_10333.jpg
/home/pi/Desktop/images/20022025/16/30/image_20022025_16_30_47_10386.jpg
/home/pi/Desktop/images/20022025/16/30/image_20022025_16_30_56_9388.jpg
/home/pi/Desktop/images/20022025/16/30/image_20022025_16_31_07_10404.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338829116","1338829110","1338829113","1338829106","1338829108","1338829102"],"photo_ids_order":["1338829102","1338829106","1338829108","1338829110","1338829113","1338829116"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f75136a34d1458e5927e47ac22b06bbf.jpg","text":"TemporaryFile(/tmp/multipartBody1854701937853353920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141354228,"filename":"image_20022025_16_31_07_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/69596744a1d5fa05ee00fb2bac662c3a.jpg","text":"TemporaryFile(/tmp/multipartBody8737784591456406670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141354228,"filename":"image_20022025_16_30_47_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92106f95ed8412e0202daae2f0bf049b.jpg","text":"TemporaryFile(/tmp/multipartBody2305976384081309661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141354228,"filename":"image_20022025_16_30_56_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cdfb51573e2f2fb301ff34f108d54d9a.jpg","text":"TemporaryFile(/tmp/multipartBody5789567368603731101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141354228,"filename":"image_20022025_16_30_26_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7f5bf9e37938f55a9f8701b7b5745356.jpg","text":"TemporaryFile(/tmp/multipartBody8074174164483062669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141354228,"filename":"image_20022025_16_30_36_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92e3ad5bb64dbd9d9923450f52dadd1f.jpg","text":"TemporaryFile(/tmp/multipartBody7744051298928135815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141354228,"filename":"image_20022025_16_30_17_10320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338829108","file1":"1338829106","file0":"1338829102","file4":"1338829113","file5":"1338829116","file3":"1338829110"},"map_files_photo_id_array":[{"photo_id":"1338829116","filename":"file5"},{"photo_id":"1338829108","filename":"file2"},{"photo_id":"1338829113","filename":"file4"},{"photo_id":"1338829106","filename":"file1"},{"photo_id":"1338829102","filename":"file0"},{"photo_id":"1338829110","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338829116":["hashtag1","hashtag2"]},{"1338829110":["hashtag1","hashtag2"]},{"1338829113":["hashtag1","hashtag2"]},{"1338829106":["hashtag1","hashtag2"]},{"1338829108":["hashtag1","hashtag2"]},{"1338829102":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338829116, 1338829110, 1338829113, 1338829106, 1338829108, 1338829102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.92526650428772 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:35:32.393889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/34/image_21022025_13_34_36_10383.jpg', '/home/pi/Desktop/images/21022025/13/35/image_21022025_13_35_15_9332.jpg', '/home/pi/Desktop/images/21022025/13/35/image_21022025_13_35_26_10356.jpg', '/home/pi/Desktop/images/21022025/13/35/image_21022025_13_35_35_9384.jpg', '/home/pi/Desktop/images/21022025/13/35/image_21022025_13_35_45_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/34/image_21022025_13_34_36_10383.jpg
/home/pi/Desktop/images/21022025/13/35/image_21022025_13_35_15_9332.jpg
/home/pi/Desktop/images/21022025/13/35/image_21022025_13_35_26_10356.jpg
/home/pi/Desktop/images/21022025/13/35/image_21022025_13_35_35_9384.jpg
/home/pi/Desktop/images/21022025/13/35/image_21022025_13_35_45_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338829200","1338829265","1338829198","1338829330","1338829194"],"photo_ids_order":["1338829194","1338829198","1338829200","1338829265","1338829330"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6c7005a862405665bf759924dcb65d4f.jpg","text":"TemporaryFile(/tmp/multipartBody4800744198104899498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141392859,"filename":"image_21022025_13_35_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1a2549a89db694fa36bc807bd9f17f26.jpg","text":"TemporaryFile(/tmp/multipartBody3773562402064891470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141392859,"filename":"image_21022025_13_35_35_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5899127b032c24a1d9931a1c521b49e1.jpg","text":"TemporaryFile(/tmp/multipartBody6392710137342581380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141392859,"filename":"image_21022025_13_35_15_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3e0b77f63a844cbf822def9b2b8e1e3.jpg","text":"TemporaryFile(/tmp/multipartBody2372120997793507366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141392859,"filename":"image_21022025_13_35_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c40113ffd9c2602035ca102c5554270f.jpg","text":"TemporaryFile(/tmp/multipartBody2693667392575729422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141392859,"filename":"image_21022025_13_34_36_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338829200","file1":"1338829198","file0":"1338829194","file4":"1338829330","file3":"1338829265"},"map_files_photo_id_array":[{"photo_id":"1338829200","filename":"file2"},{"photo_id":"1338829330","filename":"file4"},{"photo_id":"1338829198","filename":"file1"},{"photo_id":"1338829194","filename":"file0"},{"photo_id":"1338829265","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338829200":["hashtag1","hashtag2"]},{"1338829265":["hashtag1","hashtag2"]},{"1338829198":["hashtag1","hashtag2"]},{"1338829330":["hashtag1","hashtag2"]},{"1338829194":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338829200, 1338829265, 1338829198, 1338829330, 1338829194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.97319769859314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:36:03.275780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/31/image_20022025_16_31_17_10440.jpg', '/home/pi/Desktop/images/20022025/16/31/image_20022025_16_31_26_9325.jpg', '/home/pi/Desktop/images/20022025/16/31/image_20022025_16_31_37_10412.jpg', '/home/pi/Desktop/images/20022025/16/31/image_20022025_16_31_56_10336.jpg', '/home/pi/Desktop/images/20022025/16/31/image_20022025_16_32_07_10360.jpg', '/home/pi/Desktop/images/20022025/16/32/image_20022025_16_32_16_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/31/image_20022025_16_31_17_10440.jpg
/home/pi/Desktop/images/20022025/16/31/image_20022025_16_31_26_9325.jpg
/home/pi/Desktop/images/20022025/16/31/image_20022025_16_31_37_10412.jpg
/home/pi/Desktop/images/20022025/16/31/image_20022025_16_31_56_10336.jpg
/home/pi/Desktop/images/20022025/16/31/image_20022025_16_32_07_10360.jpg
/home/pi/Desktop/images/20022025/16/32/image_20022025_16_32_16_9339.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338829691","1338829493","1338829696","1338829414","1338829557","1338829644"],"photo_ids_order":["1338829414","1338829493","1338829557","1338829644","1338829691","1338829696"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b19424737db291042e9072b1dbb0780e.jpg","text":"TemporaryFile(/tmp/multipartBody678522176335754188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141424688,"filename":"image_20022025_16_32_07_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/38c0e25cd150a88bab0a1518f84ff432.jpg","text":"TemporaryFile(/tmp/multipartBody2524990625992759398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141424688,"filename":"image_20022025_16_31_26_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9b3cb5cc238710c8efdcbd9ace0379db.jpg","text":"TemporaryFile(/tmp/multipartBody5343898586191979565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141424688,"filename":"image_20022025_16_32_16_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d0c80e65023832729de35f833e85f16b.jpg","text":"TemporaryFile(/tmp/multipartBody1826679786635651011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141424688,"filename":"image_20022025_16_31_17_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0dbe603d52c79398a3693dc3cd196f27.jpg","text":"TemporaryFile(/tmp/multipartBody1246130139483580722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141424688,"filename":"image_20022025_16_31_37_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b2ce336572e5df9e6fa0b52b8baf5ad.jpg","text":"TemporaryFile(/tmp/multipartBody698631268785773100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141424688,"filename":"image_20022025_16_31_56_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338829557","file1":"1338829493","file0":"1338829414","file4":"1338829691","file5":"1338829696","file3":"1338829644"},"map_files_photo_id_array":[{"photo_id":"1338829696","filename":"file5"},{"photo_id":"1338829557","filename":"file2"},{"photo_id":"1338829691","filename":"file4"},{"photo_id":"1338829493","filename":"file1"},{"photo_id":"1338829414","filename":"file0"},{"photo_id":"1338829644","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338829691":["hashtag1","hashtag2"]},{"1338829493":["hashtag1","hashtag2"]},{"1338829696":["hashtag1","hashtag2"]},{"1338829414":["hashtag1","hashtag2"]},{"1338829557":["hashtag1","hashtag2"]},{"1338829644":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338829691, 1338829493, 1338829696, 1338829414, 1338829557, 1338829644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29336166381836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:36:42.571390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/35/image_21022025_13_35_56_10415.jpg', '/home/pi/Desktop/images/21022025/13/35/image_21022025_13_36_05_9404.jpg', '/home/pi/Desktop/images/21022025/13/36/image_21022025_13_36_26_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/35/image_21022025_13_35_56_10415.jpg
/home/pi/Desktop/images/21022025/13/35/image_21022025_13_36_05_9404.jpg
/home/pi/Desktop/images/21022025/13/36/image_21022025_13_36_26_10347.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338829777","1338829776","1338829716"],"photo_ids_order":["1338829716","1338829776","1338829777"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a71254b38c29703597b6c1fd6fb937fb.jpg","text":"TemporaryFile(/tmp/multipartBody2497758327104851759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141463006,"filename":"image_21022025_13_36_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/16edab412cf5b83248172d55971443ea.jpg","text":"TemporaryFile(/tmp/multipartBody3987719015843212217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141463006,"filename":"image_21022025_13_36_05_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/27ee15b7bb6a3e811265fcf7e7a1acaf.jpg","text":"TemporaryFile(/tmp/multipartBody6426159079697704598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141463006,"filename":"image_21022025_13_35_56_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338829777","file1":"1338829776","file0":"1338829716"},"map_files_photo_id_array":[{"photo_id":"1338829777","filename":"file2"},{"photo_id":"1338829776","filename":"file1"},{"photo_id":"1338829716","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338829777":["hashtag1","hashtag2"]},{"1338829776":["hashtag1","hashtag2"]},{"1338829716":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338829777, 1338829776, 1338829716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.473963022232056 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:37:32.795464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/36/image_21022025_13_36_35_9342.jpg', '/home/pi/Desktop/images/21022025/13/37/image_21022025_13_37_25_9354.jpg', '/home/pi/Desktop/images/21022025/13/37/image_21022025_13_37_36_10360.jpg', '/home/pi/Desktop/images/21022025/13/37/image_21022025_13_37_45_9447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/36/image_21022025_13_36_35_9342.jpg
/home/pi/Desktop/images/21022025/13/37/image_21022025_13_37_25_9354.jpg
/home/pi/Desktop/images/21022025/13/37/image_21022025_13_37_36_10360.jpg
/home/pi/Desktop/images/21022025/13/37/image_21022025_13_37_45_9447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338829910","1338829822","1338829968","1338829962"],"photo_ids_order":["1338829822","1338829910","1338829962","1338829968"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/866b36a836777c0c6d7d1a15cfb4de68.jpg","text":"TemporaryFile(/tmp/multipartBody8264648660946992832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141513254,"filename":"image_21022025_13_37_25_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4fb5c83c262bce51802dcf2b003d6126.jpg","text":"TemporaryFile(/tmp/multipartBody6341152501534535664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141513254,"filename":"image_21022025_13_36_35_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2bcf2b4fcafb208ef5b55d4018d71d3.jpg","text":"TemporaryFile(/tmp/multipartBody8079536406153828749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141513254,"filename":"image_21022025_13_37_45_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dcfe026859360511bb60d54c035d96ff.jpg","text":"TemporaryFile(/tmp/multipartBody6352011212512220892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141513254,"filename":"image_21022025_13_37_36_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338829962","file1":"1338829910","file0":"1338829822","file3":"1338829968"},"map_files_photo_id_array":[{"photo_id":"1338829962","filename":"file2"},{"photo_id":"1338829910","filename":"file1"},{"photo_id":"1338829822","filename":"file0"},{"photo_id":"1338829968","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338829910":["hashtag1","hashtag2"]},{"1338829822":["hashtag1","hashtag2"]},{"1338829968":["hashtag1","hashtag2"]},{"1338829962":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338829910, 1338829822, 1338829968, 1338829962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.635066270828247 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:38:03.986248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/32/image_20022025_16_32_26_10350.jpg', '/home/pi/Desktop/images/20022025/16/32/image_20022025_16_32_37_10389.jpg', '/home/pi/Desktop/images/20022025/16/32/image_20022025_16_32_46_9332.jpg', '/home/pi/Desktop/images/20022025/16/32/image_20022025_16_33_07_10342.jpg', '/home/pi/Desktop/images/20022025/16/33/image_20022025_16_33_16_9340.jpg', '/home/pi/Desktop/images/20022025/16/33/image_20022025_16_33_27_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/32/image_20022025_16_32_26_10350.jpg
/home/pi/Desktop/images/20022025/16/32/image_20022025_16_32_37_10389.jpg
/home/pi/Desktop/images/20022025/16/32/image_20022025_16_32_46_9332.jpg
/home/pi/Desktop/images/20022025/16/32/image_20022025_16_33_07_10342.jpg
/home/pi/Desktop/images/20022025/16/33/image_20022025_16_33_16_9340.jpg
/home/pi/Desktop/images/20022025/16/33/image_20022025_16_33_27_10455.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338829983","1338829977","1338829986","1338829971","1338829980","1338829974"],"photo_ids_order":["1338829971","1338829974","1338829977","1338829980","1338829983","1338829986"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92c680e09c1e2f7c88c527b6e54d546e.jpg","text":"TemporaryFile(/tmp/multipartBody5791923419824451469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141545504,"filename":"image_20022025_16_33_16_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a5603996bbc479f501d83f70f1634e87.jpg","text":"TemporaryFile(/tmp/multipartBody2642811331362128730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141545504,"filename":"image_20022025_16_32_46_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8667827002b495acba3f80bf67b49000.jpg","text":"TemporaryFile(/tmp/multipartBody4511500098478258558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141545504,"filename":"image_20022025_16_33_27_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/641aa0c2c2262f5c95191063688e8e33.jpg","text":"TemporaryFile(/tmp/multipartBody5315178387579867888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141545504,"filename":"image_20022025_16_32_26_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9657e792e85344d652dbaf77d0c9bdfa.jpg","text":"TemporaryFile(/tmp/multipartBody4548224197783289511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141545504,"filename":"image_20022025_16_33_07_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/336f1e607e9aa7345cbedaad224b8fba.jpg","text":"TemporaryFile(/tmp/multipartBody5792926557320098694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141545504,"filename":"image_20022025_16_32_37_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338829977","file1":"1338829974","file0":"1338829971","file4":"1338829983","file5":"1338829986","file3":"1338829980"},"map_files_photo_id_array":[{"photo_id":"1338829986","filename":"file5"},{"photo_id":"1338829977","filename":"file2"},{"photo_id":"1338829983","filename":"file4"},{"photo_id":"1338829974","filename":"file1"},{"photo_id":"1338829971","filename":"file0"},{"photo_id":"1338829980","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338829983":["hashtag1","hashtag2"]},{"1338829977":["hashtag1","hashtag2"]},{"1338829986":["hashtag1","hashtag2"]},{"1338829971":["hashtag1","hashtag2"]},{"1338829980":["hashtag1","hashtag2"]},{"1338829974":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338829983, 1338829977, 1338829986, 1338829971, 1338829980, 1338829974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74152970314026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:38:43.033617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/37/image_21022025_13_37_55_10410.jpg', '/home/pi/Desktop/images/21022025/13/37/image_21022025_13_38_06_10379.jpg', '/home/pi/Desktop/images/21022025/13/38/image_21022025_13_38_15_9347.jpg', '/home/pi/Desktop/images/21022025/13/38/image_21022025_13_38_26_10440.jpg', '/home/pi/Desktop/images/21022025/13/38/image_21022025_13_38_35_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/37/image_21022025_13_37_55_10410.jpg
/home/pi/Desktop/images/21022025/13/37/image_21022025_13_38_06_10379.jpg
/home/pi/Desktop/images/21022025/13/38/image_21022025_13_38_15_9347.jpg
/home/pi/Desktop/images/21022025/13/38/image_21022025_13_38_26_10440.jpg
/home/pi/Desktop/images/21022025/13/38/image_21022025_13_38_35_9441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338829994","1338829990","1338829996","1338829998","1338829992"],"photo_ids_order":["1338829990","1338829992","1338829994","1338829996","1338829998"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6bceb0bfbcc96c65f4a6fbda6e04325d.jpg","text":"TemporaryFile(/tmp/multipartBody3693499016222471754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141583485,"filename":"image_21022025_13_38_15_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d6744d5f309f4a0c2d7c011e5bd64065.jpg","text":"TemporaryFile(/tmp/multipartBody2526029978920705564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141583485,"filename":"image_21022025_13_37_55_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1c4f5212ea76cfbb2334225fc36b5dda.jpg","text":"TemporaryFile(/tmp/multipartBody5340881946579665559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141583485,"filename":"image_21022025_13_38_26_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fe34e437b344d507d286b04fe055ee88.jpg","text":"TemporaryFile(/tmp/multipartBody1564500924770860001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141583485,"filename":"image_21022025_13_38_35_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/33d72a7ef9b92a38419a38a57bef9388.jpg","text":"TemporaryFile(/tmp/multipartBody2083157547756194357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141583485,"filename":"image_21022025_13_38_06_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338829994","file1":"1338829992","file0":"1338829990","file4":"1338829998","file3":"1338829996"},"map_files_photo_id_array":[{"photo_id":"1338829994","filename":"file2"},{"photo_id":"1338829998","filename":"file4"},{"photo_id":"1338829992","filename":"file1"},{"photo_id":"1338829990","filename":"file0"},{"photo_id":"1338829996","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338829994":["hashtag1","hashtag2"]},{"1338829990":["hashtag1","hashtag2"]},{"1338829996":["hashtag1","hashtag2"]},{"1338829998":["hashtag1","hashtag2"]},{"1338829992":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338829994, 1338829990, 1338829996, 1338829998, 1338829992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.398793697357178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:39:32.421864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/38/image_21022025_13_38_56_10426.jpg', '/home/pi/Desktop/images/21022025/13/38/image_21022025_13_39_05_9317.jpg', '/home/pi/Desktop/images/21022025/13/39/image_21022025_13_39_26_10452.jpg', '/home/pi/Desktop/images/21022025/13/39/image_21022025_13_39_35_9343.jpg', '/home/pi/Desktop/images/21022025/13/39/image_21022025_13_39_46_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/38/image_21022025_13_38_56_10426.jpg
/home/pi/Desktop/images/21022025/13/38/image_21022025_13_39_05_9317.jpg
/home/pi/Desktop/images/21022025/13/39/image_21022025_13_39_26_10452.jpg
/home/pi/Desktop/images/21022025/13/39/image_21022025_13_39_35_9343.jpg
/home/pi/Desktop/images/21022025/13/39/image_21022025_13_39_46_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338830022","1338830019","1338830024","1338830026","1338830014"],"photo_ids_order":["1338830014","1338830019","1338830022","1338830024","1338830026"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f11532d70e3d6a7eb10c47746dae8609.jpg","text":"TemporaryFile(/tmp/multipartBody5098840452787312628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141632871,"filename":"image_21022025_13_39_26_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c35ec7972375133b7140e6bc81562bb.jpg","text":"TemporaryFile(/tmp/multipartBody9035095226527255384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141632871,"filename":"image_21022025_13_39_05_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b571f116a6c718203c8b03eb556c454.jpg","text":"TemporaryFile(/tmp/multipartBody1799231104097125978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141632871,"filename":"image_21022025_13_39_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2f99c30df4a0cd0e001191ba8d2add17.jpg","text":"TemporaryFile(/tmp/multipartBody7430359936720288004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141632871,"filename":"image_21022025_13_39_46_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ded56cee681b369549ae11c076bc625d.jpg","text":"TemporaryFile(/tmp/multipartBody7789747744202121445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141632871,"filename":"image_21022025_13_38_56_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338830022","file1":"1338830019","file0":"1338830014","file4":"1338830026","file3":"1338830024"},"map_files_photo_id_array":[{"photo_id":"1338830022","filename":"file2"},{"photo_id":"1338830026","filename":"file4"},{"photo_id":"1338830019","filename":"file1"},{"photo_id":"1338830014","filename":"file0"},{"photo_id":"1338830024","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338830022":["hashtag1","hashtag2"]},{"1338830019":["hashtag1","hashtag2"]},{"1338830024":["hashtag1","hashtag2"]},{"1338830026":["hashtag1","hashtag2"]},{"1338830014":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338830022, 1338830019, 1338830024, 1338830026, 1338830014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.68359375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:40:32.468606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/39/image_21022025_13_39_55_9326.jpg', '/home/pi/Desktop/images/21022025/13/39/image_21022025_13_40_05_10336.jpg', '/home/pi/Desktop/images/21022025/13/40/image_21022025_13_40_16_10403.jpg', '/home/pi/Desktop/images/21022025/13/40/image_21022025_13_40_25_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/39/image_21022025_13_39_55_9326.jpg
/home/pi/Desktop/images/21022025/13/39/image_21022025_13_40_05_10336.jpg
/home/pi/Desktop/images/21022025/13/40/image_21022025_13_40_16_10403.jpg
/home/pi/Desktop/images/21022025/13/40/image_21022025_13_40_25_9410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338830052","1338830049","1338830045","1338830056"],"photo_ids_order":["1338830045","1338830049","1338830052","1338830056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1097e00e68d68d5d85925e496890f6c3.jpg","text":"TemporaryFile(/tmp/multipartBody6591510256616840633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141692908,"filename":"image_21022025_13_40_16_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d756854ba9b0974710bd1a9974026f4a.jpg","text":"TemporaryFile(/tmp/multipartBody5334063657890827985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141692908,"filename":"image_21022025_13_40_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dddae311dc57886d15b7e8fd7b030f3c.jpg","text":"TemporaryFile(/tmp/multipartBody2152901893385229819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141692908,"filename":"image_21022025_13_39_55_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c0c313536f9e060418e848e584f28295.jpg","text":"TemporaryFile(/tmp/multipartBody1655410127719851247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141692908,"filename":"image_21022025_13_40_25_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338830052","file1":"1338830049","file0":"1338830045","file3":"1338830056"},"map_files_photo_id_array":[{"photo_id":"1338830052","filename":"file2"},{"photo_id":"1338830049","filename":"file1"},{"photo_id":"1338830045","filename":"file0"},{"photo_id":"1338830056","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338830052":["hashtag1","hashtag2"]},{"1338830049":["hashtag1","hashtag2"]},{"1338830045":["hashtag1","hashtag2"]},{"1338830056":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338830052, 1338830049, 1338830045, 1338830056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.327409744262695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:41:04.613161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/33/image_20022025_16_33_36_9318.jpg', '/home/pi/Desktop/images/20022025/16/33/image_20022025_16_33_47_10426.jpg', '/home/pi/Desktop/images/20022025/16/33/image_20022025_16_33_57_10347.jpg', '/home/pi/Desktop/images/20022025/16/33/image_20022025_16_34_06_9318.jpg', '/home/pi/Desktop/images/20022025/16/34/image_20022025_16_34_17_10362.jpg', '/home/pi/Desktop/images/20022025/16/34/image_20022025_16_34_27_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/33/image_20022025_16_33_36_9318.jpg
/home/pi/Desktop/images/20022025/16/33/image_20022025_16_33_47_10426.jpg
/home/pi/Desktop/images/20022025/16/33/image_20022025_16_33_57_10347.jpg
/home/pi/Desktop/images/20022025/16/33/image_20022025_16_34_06_9318.jpg
/home/pi/Desktop/images/20022025/16/34/image_20022025_16_34_17_10362.jpg
/home/pi/Desktop/images/20022025/16/34/image_20022025_16_34_27_10345.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338830069","1338830072","1338830066","1338830098","1338830116","1338830119"],"photo_ids_order":["1338830066","1338830069","1338830072","1338830098","1338830116","1338830119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fefb05a6b21c615d22800dedd9b30b98.jpg","text":"TemporaryFile(/tmp/multipartBody2947307223817070078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141729763,"filename":"image_20022025_16_33_47_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61c774536b9dad8612cfd8f3ce62938e.jpg","text":"TemporaryFile(/tmp/multipartBody4088710969370808103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141729763,"filename":"image_20022025_16_33_57_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d75a36096723d0c17995b4c56cfaf5bb.jpg","text":"TemporaryFile(/tmp/multipartBody3334543938250196782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141729763,"filename":"image_20022025_16_33_36_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ba89bb118eb81cb59facf6ed8c64338c.jpg","text":"TemporaryFile(/tmp/multipartBody4072291938893947799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141729763,"filename":"image_20022025_16_34_06_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/85484c71c6477f6a612c100939499a85.jpg","text":"TemporaryFile(/tmp/multipartBody7986885767413006558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141729763,"filename":"image_20022025_16_34_17_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d53594ad2a1cba6e935c8c0628c76b63.jpg","text":"TemporaryFile(/tmp/multipartBody5872985536439828006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141729763,"filename":"image_20022025_16_34_27_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338830072","file1":"1338830069","file0":"1338830066","file4":"1338830116","file5":"1338830119","file3":"1338830098"},"map_files_photo_id_array":[{"photo_id":"1338830119","filename":"file5"},{"photo_id":"1338830072","filename":"file2"},{"photo_id":"1338830116","filename":"file4"},{"photo_id":"1338830069","filename":"file1"},{"photo_id":"1338830066","filename":"file0"},{"photo_id":"1338830098","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338830069":["hashtag1","hashtag2"]},{"1338830072":["hashtag1","hashtag2"]},{"1338830066":["hashtag1","hashtag2"]},{"1338830098":["hashtag1","hashtag2"]},{"1338830116":["hashtag1","hashtag2"]},{"1338830119":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338830069, 1338830072, 1338830066, 1338830098, 1338830116, 1338830119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.576945543289185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:41:42.667355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/40/image_21022025_13_40_45_9443.jpg', '/home/pi/Desktop/images/21022025/13/41/image_21022025_13_41_15_9347.jpg', '/home/pi/Desktop/images/21022025/13/41/image_21022025_13_41_25_10416.jpg', '/home/pi/Desktop/images/21022025/13/41/image_21022025_13_41_45_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/40/image_21022025_13_40_45_9443.jpg
/home/pi/Desktop/images/21022025/13/41/image_21022025_13_41_15_9347.jpg
/home/pi/Desktop/images/21022025/13/41/image_21022025_13_41_25_10416.jpg
/home/pi/Desktop/images/21022025/13/41/image_21022025_13_41_45_9388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338830126","1338830129","1338830131","1338830128"],"photo_ids_order":["1338830126","1338830128","1338830129","1338830131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3726c3be186732656f32d8561acd0300.jpg","text":"TemporaryFile(/tmp/multipartBody6103578676649323188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141763134,"filename":"image_21022025_13_40_45_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ba56be5da67f435ce33690d3fccb229.jpg","text":"TemporaryFile(/tmp/multipartBody3450674110558258211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141763134,"filename":"image_21022025_13_41_25_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3b3314a0717c3fd8df1a0688d2927601.jpg","text":"TemporaryFile(/tmp/multipartBody1494055581680634500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141763134,"filename":"image_21022025_13_41_45_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a91cf878bc3370dc10a148f8d3949f8.jpg","text":"TemporaryFile(/tmp/multipartBody3289466373964149731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141763134,"filename":"image_21022025_13_41_15_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338830129","file1":"1338830128","file0":"1338830126","file3":"1338830131"},"map_files_photo_id_array":[{"photo_id":"1338830129","filename":"file2"},{"photo_id":"1338830128","filename":"file1"},{"photo_id":"1338830126","filename":"file0"},{"photo_id":"1338830131","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338830126":["hashtag1","hashtag2"]},{"1338830129":["hashtag1","hashtag2"]},{"1338830131":["hashtag1","hashtag2"]},{"1338830128":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338830126, 1338830129, 1338830131, 1338830128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.086984395980835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:42:32.922677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/41/image_21022025_13_41_56_10417.jpg', '/home/pi/Desktop/images/21022025/13/41/image_21022025_13_42_05_9346.jpg', '/home/pi/Desktop/images/21022025/13/42/image_21022025_13_42_15_10325.jpg', '/home/pi/Desktop/images/21022025/13/42/image_21022025_13_42_35_9323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/41/image_21022025_13_41_56_10417.jpg
/home/pi/Desktop/images/21022025/13/41/image_21022025_13_42_05_9346.jpg
/home/pi/Desktop/images/21022025/13/42/image_21022025_13_42_15_10325.jpg
/home/pi/Desktop/images/21022025/13/42/image_21022025_13_42_35_9323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338830325","1338830403","1338830246","1338830482"],"photo_ids_order":["1338830246","1338830325","1338830403","1338830482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df0fa5ea3140a1901c72418962c80092.jpg","text":"TemporaryFile(/tmp/multipartBody6601419940197292160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141813386,"filename":"image_21022025_13_42_05_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2f383a55c24005cebff0b9bb7b5c99a5.jpg","text":"TemporaryFile(/tmp/multipartBody181006087941752541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141813386,"filename":"image_21022025_13_42_15_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d8008946c0f32e0d60da0b7605f4b09b.jpg","text":"TemporaryFile(/tmp/multipartBody2068468249586156142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141813386,"filename":"image_21022025_13_41_56_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c3ce79dd6a1c023ad3edae2a147b81a.jpg","text":"TemporaryFile(/tmp/multipartBody5800873026754714624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141813386,"filename":"image_21022025_13_42_35_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338830403","file1":"1338830325","file0":"1338830246","file3":"1338830482"},"map_files_photo_id_array":[{"photo_id":"1338830403","filename":"file2"},{"photo_id":"1338830325","filename":"file1"},{"photo_id":"1338830246","filename":"file0"},{"photo_id":"1338830482","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338830325":["hashtag1","hashtag2"]},{"1338830403":["hashtag1","hashtag2"]},{"1338830246":["hashtag1","hashtag2"]},{"1338830482":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338830325, 1338830403, 1338830246, 1338830482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.234272480010986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:43:03.998440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/34/image_20022025_16_34_36_9340.jpg', '/home/pi/Desktop/images/20022025/16/34/image_20022025_16_34_47_10436.jpg', '/home/pi/Desktop/images/20022025/16/34/image_20022025_16_34_56_9336.jpg', '/home/pi/Desktop/images/20022025/16/35/image_20022025_16_35_17_10412.jpg', '/home/pi/Desktop/images/20022025/16/35/image_20022025_16_35_26_9543.jpg', '/home/pi/Desktop/images/20022025/16/35/image_20022025_16_35_37_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/34/image_20022025_16_34_36_9340.jpg
/home/pi/Desktop/images/20022025/16/34/image_20022025_16_34_47_10436.jpg
/home/pi/Desktop/images/20022025/16/34/image_20022025_16_34_56_9336.jpg
/home/pi/Desktop/images/20022025/16/35/image_20022025_16_35_17_10412.jpg
/home/pi/Desktop/images/20022025/16/35/image_20022025_16_35_26_9543.jpg
/home/pi/Desktop/images/20022025/16/35/image_20022025_16_35_37_10368.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338830583","1338830541","1338830544","1338830547","1338830552","1338830549"],"photo_ids_order":["1338830541","1338830544","1338830547","1338830549","1338830552","1338830583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ad2db8b96a1714bb465a3248bb284501.jpg","text":"TemporaryFile(/tmp/multipartBody1393624135100117425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141845968,"filename":"image_20022025_16_35_37_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce90ad63230051cab65e70d04656f55e.jpg","text":"TemporaryFile(/tmp/multipartBody610418270246217116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141845968,"filename":"image_20022025_16_34_36_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ea36d313ef2d4f4301a79305657ea464.jpg","text":"TemporaryFile(/tmp/multipartBody493519113957098860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141845968,"filename":"image_20022025_16_34_47_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1c2241bed215eac37add9d2a0e5e534f.jpg","text":"TemporaryFile(/tmp/multipartBody2111066764451044212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141845968,"filename":"image_20022025_16_34_56_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c9a1ea73e7ae295271140a10241c43d.jpg","text":"TemporaryFile(/tmp/multipartBody6285828133725957788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141845968,"filename":"image_20022025_16_35_26_9543.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d4c0b3794ac4023a3f34febf914b70ef.jpg","text":"TemporaryFile(/tmp/multipartBody1898122297279127828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141845968,"filename":"image_20022025_16_35_17_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338830547","file1":"1338830544","file0":"1338830541","file4":"1338830552","file5":"1338830583","file3":"1338830549"},"map_files_photo_id_array":[{"photo_id":"1338830583","filename":"file5"},{"photo_id":"1338830547","filename":"file2"},{"photo_id":"1338830552","filename":"file4"},{"photo_id":"1338830544","filename":"file1"},{"photo_id":"1338830541","filename":"file0"},{"photo_id":"1338830549","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338830583":["hashtag1","hashtag2"]},{"1338830541":["hashtag1","hashtag2"]},{"1338830544":["hashtag1","hashtag2"]},{"1338830547":["hashtag1","hashtag2"]},{"1338830552":["hashtag1","hashtag2"]},{"1338830549":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338830583, 1338830541, 1338830544, 1338830547, 1338830552, 1338830549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.16305613517761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:43:42.180504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/42/image_21022025_13_42_45_10356.jpg', '/home/pi/Desktop/images/21022025/13/42/image_21022025_13_43_05_10350.jpg', '/home/pi/Desktop/images/21022025/13/43/image_21022025_13_43_16_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/42/image_21022025_13_42_45_10356.jpg
/home/pi/Desktop/images/21022025/13/42/image_21022025_13_43_05_10350.jpg
/home/pi/Desktop/images/21022025/13/43/image_21022025_13_43_16_10395.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338830694","1338830733","1338830732"],"photo_ids_order":["1338830694","1338830732","1338830733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3e31d92a773b0844188af730b907c12f.jpg","text":"TemporaryFile(/tmp/multipartBody2373648217757162559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141882619,"filename":"image_21022025_13_42_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/564a443cd8602912c4e43aad82428e15.jpg","text":"TemporaryFile(/tmp/multipartBody6762660288756561702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141882619,"filename":"image_21022025_13_43_16_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a5a33e98dcc3a4be2d81706032a0dab9.jpg","text":"TemporaryFile(/tmp/multipartBody1035485215061232900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141882619,"filename":"image_21022025_13_43_05_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338830733","file1":"1338830732","file0":"1338830694"},"map_files_photo_id_array":[{"photo_id":"1338830733","filename":"file2"},{"photo_id":"1338830732","filename":"file1"},{"photo_id":"1338830694","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338830694":["hashtag1","hashtag2"]},{"1338830733":["hashtag1","hashtag2"]},{"1338830732":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338830694, 1338830733, 1338830732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.609134912490845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:44:03.044156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/35/image_20022025_16_35_47_10330.jpg', '/home/pi/Desktop/images/20022025/16/35/image_20022025_16_35_56_9352.jpg', '/home/pi/Desktop/images/20022025/16/35/image_20022025_16_36_07_10435.jpg', '/home/pi/Desktop/images/20022025/16/36/image_20022025_16_36_16_9330.jpg', '/home/pi/Desktop/images/20022025/16/36/image_20022025_16_36_27_10497.jpg', '/home/pi/Desktop/images/20022025/16/36/image_20022025_16_36_36_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/35/image_20022025_16_35_47_10330.jpg
/home/pi/Desktop/images/20022025/16/35/image_20022025_16_35_56_9352.jpg
/home/pi/Desktop/images/20022025/16/35/image_20022025_16_36_07_10435.jpg
/home/pi/Desktop/images/20022025/16/36/image_20022025_16_36_16_9330.jpg
/home/pi/Desktop/images/20022025/16/36/image_20022025_16_36_27_10497.jpg
/home/pi/Desktop/images/20022025/16/36/image_20022025_16_36_36_9429.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338830739","1338830846","1338830849","1338830767","1338830737","1338830839"],"photo_ids_order":["1338830737","1338830739","1338830767","1338830839","1338830846","1338830849"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aec427835dc5aca82d4220ba30d26aa9.jpg","text":"TemporaryFile(/tmp/multipartBody414273083817479708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141904515,"filename":"image_20022025_16_35_56_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa06c16c805fad136fdcb6af851d884d.jpg","text":"TemporaryFile(/tmp/multipartBody5157235285331639582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141904515,"filename":"image_20022025_16_36_27_10497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aa2f7e26c8d6f6a6248318444f44b3f5.jpg","text":"TemporaryFile(/tmp/multipartBody2442643187788461260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141904515,"filename":"image_20022025_16_36_36_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/697c717c01ca926f45cae7b1aeb4045a.jpg","text":"TemporaryFile(/tmp/multipartBody1875246048295011835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141904515,"filename":"image_20022025_16_36_07_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a51eb997a463d947db9bd26f0c14c9de.jpg","text":"TemporaryFile(/tmp/multipartBody6304865198973407891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141904515,"filename":"image_20022025_16_35_47_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ab3cf8f07d578f49b348dfc048540f96.jpg","text":"TemporaryFile(/tmp/multipartBody4353309499089256893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141904515,"filename":"image_20022025_16_36_16_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338830767","file1":"1338830739","file0":"1338830737","file4":"1338830846","file5":"1338830849","file3":"1338830839"},"map_files_photo_id_array":[{"photo_id":"1338830849","filename":"file5"},{"photo_id":"1338830767","filename":"file2"},{"photo_id":"1338830846","filename":"file4"},{"photo_id":"1338830739","filename":"file1"},{"photo_id":"1338830737","filename":"file0"},{"photo_id":"1338830839","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338830739":["hashtag1","hashtag2"]},{"1338830846":["hashtag1","hashtag2"]},{"1338830849":["hashtag1","hashtag2"]},{"1338830767":["hashtag1","hashtag2"]},{"1338830737":["hashtag1","hashtag2"]},{"1338830839":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338830739, 1338830846, 1338830849, 1338830767, 1338830737, 1338830839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51636719703674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:44:42.275978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/43/image_21022025_13_43_25_9367.jpg', '/home/pi/Desktop/images/21022025/13/43/image_21022025_13_44_05_10328.jpg', '/home/pi/Desktop/images/21022025/13/44/image_21022025_13_44_15_9411.jpg', '/home/pi/Desktop/images/21022025/13/44/image_21022025_13_44_25_10382.jpg', '/home/pi/Desktop/images/21022025/13/44/image_21022025_13_44_45_9330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/43/image_21022025_13_43_25_9367.jpg
/home/pi/Desktop/images/21022025/13/43/image_21022025_13_44_05_10328.jpg
/home/pi/Desktop/images/21022025/13/44/image_21022025_13_44_15_9411.jpg
/home/pi/Desktop/images/21022025/13/44/image_21022025_13_44_25_10382.jpg
/home/pi/Desktop/images/21022025/13/44/image_21022025_13_44_45_9330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338830859","1338830861","1338830855","1338830854","1338830857"],"photo_ids_order":["1338830854","1338830855","1338830857","1338830859","1338830861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c52bb00a833036646806bd0b954d068f.jpg","text":"TemporaryFile(/tmp/multipartBody780545563624207585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141942731,"filename":"image_21022025_13_44_25_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/13c68cf12c823c3b18f5a5f3731b54be.jpg","text":"TemporaryFile(/tmp/multipartBody6373790411816619137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141942731,"filename":"image_21022025_13_44_45_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/955e9d5f0625fafdd37e493bf414649d.jpg","text":"TemporaryFile(/tmp/multipartBody2190971389595900898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141942731,"filename":"image_21022025_13_44_05_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0ab08e9b4149595bbf30527ad4a147ee.jpg","text":"TemporaryFile(/tmp/multipartBody3860165880453192164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141942731,"filename":"image_21022025_13_43_25_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81315b8412a83a240fc84ac2429d6c30.jpg","text":"TemporaryFile(/tmp/multipartBody4193529826443308765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141942731,"filename":"image_21022025_13_44_15_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338830857","file1":"1338830855","file0":"1338830854","file4":"1338830861","file3":"1338830859"},"map_files_photo_id_array":[{"photo_id":"1338830857","filename":"file2"},{"photo_id":"1338830861","filename":"file4"},{"photo_id":"1338830855","filename":"file1"},{"photo_id":"1338830854","filename":"file0"},{"photo_id":"1338830859","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338830859":["hashtag1","hashtag2"]},{"1338830861":["hashtag1","hashtag2"]},{"1338830855":["hashtag1","hashtag2"]},{"1338830854":["hashtag1","hashtag2"]},{"1338830857":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338830859, 1338830861, 1338830855, 1338830854, 1338830857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.932018518447876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:45:32.635696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/44/image_21022025_13_44_55_10334.jpg', '/home/pi/Desktop/images/21022025/13/44/image_21022025_13_45_06_10371.jpg', '/home/pi/Desktop/images/21022025/13/45/image_21022025_13_45_15_9353.jpg', '/home/pi/Desktop/images/21022025/13/45/image_21022025_13_45_25_10343.jpg', '/home/pi/Desktop/images/21022025/13/45/image_21022025_13_45_36_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/44/image_21022025_13_44_55_10334.jpg
/home/pi/Desktop/images/21022025/13/44/image_21022025_13_45_06_10371.jpg
/home/pi/Desktop/images/21022025/13/45/image_21022025_13_45_15_9353.jpg
/home/pi/Desktop/images/21022025/13/45/image_21022025_13_45_25_10343.jpg
/home/pi/Desktop/images/21022025/13/45/image_21022025_13_45_36_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338830991","1338830990","1338830993","1338830996","1338830989"],"photo_ids_order":["1338830989","1338830990","1338830991","1338830993","1338830996"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bed1978764f0468c3d3df7244b46bd8a.jpg","text":"TemporaryFile(/tmp/multipartBody2295128637616113656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141993106,"filename":"image_21022025_13_45_15_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/810130208ac15d63a9783115adb87798.jpg","text":"TemporaryFile(/tmp/multipartBody8645283235891615445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141993106,"filename":"image_21022025_13_45_06_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f320d435017e985003d036c6c860a42d.jpg","text":"TemporaryFile(/tmp/multipartBody8349735881574767394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141993106,"filename":"image_21022025_13_45_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a58223f1ab601c49bcd2b95ff7ef2a5e.jpg","text":"TemporaryFile(/tmp/multipartBody4346366062424193988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141993106,"filename":"image_21022025_13_45_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a53b9285a6ac51f299bcec5814f8fb0.jpg","text":"TemporaryFile(/tmp/multipartBody3008397382750991137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740141993106,"filename":"image_21022025_13_44_55_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338830991","file1":"1338830990","file0":"1338830989","file4":"1338830996","file3":"1338830993"},"map_files_photo_id_array":[{"photo_id":"1338830991","filename":"file2"},{"photo_id":"1338830996","filename":"file4"},{"photo_id":"1338830990","filename":"file1"},{"photo_id":"1338830989","filename":"file0"},{"photo_id":"1338830993","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338830991":["hashtag1","hashtag2"]},{"1338830990":["hashtag1","hashtag2"]},{"1338830993":["hashtag1","hashtag2"]},{"1338830996":["hashtag1","hashtag2"]},{"1338830989":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338830991, 1338830990, 1338830993, 1338830996, 1338830989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.38421058654785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:46:03.675871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/36/image_20022025_16_36_46_10424.jpg', '/home/pi/Desktop/images/20022025/16/36/image_20022025_16_36_57_10419.jpg', '/home/pi/Desktop/images/20022025/16/37/image_20022025_16_37_17_10450.jpg', '/home/pi/Desktop/images/20022025/16/37/image_20022025_16_37_56_9330.jpg', '/home/pi/Desktop/images/20022025/16/37/image_20022025_16_38_07_10471.jpg', '/home/pi/Desktop/images/20022025/16/38/image_20022025_16_38_17_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/36/image_20022025_16_36_46_10424.jpg
/home/pi/Desktop/images/20022025/16/36/image_20022025_16_36_57_10419.jpg
/home/pi/Desktop/images/20022025/16/37/image_20022025_16_37_17_10450.jpg
/home/pi/Desktop/images/20022025/16/37/image_20022025_16_37_56_9330.jpg
/home/pi/Desktop/images/20022025/16/37/image_20022025_16_38_07_10471.jpg
/home/pi/Desktop/images/20022025/16/38/image_20022025_16_38_17_10336.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338831012","1338831003","1338831014","1338831019","1338831010","1338831007"],"photo_ids_order":["1338831003","1338831007","1338831010","1338831012","1338831014","1338831019"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/22bd712e4b6e5e98b5e6afa45cbedc90.jpg","text":"TemporaryFile(/tmp/multipartBody1248554051012325972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142025063,"filename":"image_20022025_16_37_56_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/30dd869f18fa12c3d86c0405f5bd4142.jpg","text":"TemporaryFile(/tmp/multipartBody703021388958807391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142025063,"filename":"image_20022025_16_36_46_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/40972aa4a1b56e6c5108e83aa118152a.jpg","text":"TemporaryFile(/tmp/multipartBody1732246514651987579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142025063,"filename":"image_20022025_16_38_07_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7892c65be9815d6c85e0641f30468e2b.jpg","text":"TemporaryFile(/tmp/multipartBody5105349985911770820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142025063,"filename":"image_20022025_16_38_17_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bfae86db619bfa7e214d6781a41f88ee.jpg","text":"TemporaryFile(/tmp/multipartBody2616803130235558798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142025063,"filename":"image_20022025_16_37_17_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/11aa119ac2967976188d6568dba19166.jpg","text":"TemporaryFile(/tmp/multipartBody2016198858231521175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142025063,"filename":"image_20022025_16_36_57_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338831010","file1":"1338831007","file0":"1338831003","file4":"1338831014","file5":"1338831019","file3":"1338831012"},"map_files_photo_id_array":[{"photo_id":"1338831019","filename":"file5"},{"photo_id":"1338831010","filename":"file2"},{"photo_id":"1338831014","filename":"file4"},{"photo_id":"1338831007","filename":"file1"},{"photo_id":"1338831003","filename":"file0"},{"photo_id":"1338831012","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338831012":["hashtag1","hashtag2"]},{"1338831003":["hashtag1","hashtag2"]},{"1338831014":["hashtag1","hashtag2"]},{"1338831019":["hashtag1","hashtag2"]},{"1338831010":["hashtag1","hashtag2"]},{"1338831007":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338831012, 1338831003, 1338831014, 1338831019, 1338831010, 1338831007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00340533256531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:46:42.946379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/45/image_21022025_13_45_45_9344.jpg', '/home/pi/Desktop/images/21022025/13/45/image_21022025_13_46_05_9427.jpg', '/home/pi/Desktop/images/21022025/13/46/image_21022025_13_46_15_10356.jpg', '/home/pi/Desktop/images/21022025/13/46/image_21022025_13_46_35_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/45/image_21022025_13_45_45_9344.jpg
/home/pi/Desktop/images/21022025/13/45/image_21022025_13_46_05_9427.jpg
/home/pi/Desktop/images/21022025/13/46/image_21022025_13_46_15_10356.jpg
/home/pi/Desktop/images/21022025/13/46/image_21022025_13_46_35_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338831181","1338831166","1338831208","1338831162"],"photo_ids_order":["1338831162","1338831166","1338831181","1338831208"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/028d563b62fcd65f51d487614d883dcb.jpg","text":"TemporaryFile(/tmp/multipartBody2528543611984624688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142063399,"filename":"image_21022025_13_46_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f15c9f198bd186c533f4912db3afae6.jpg","text":"TemporaryFile(/tmp/multipartBody6638282138762662933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142063399,"filename":"image_21022025_13_46_05_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ad9218f5b67e032218f58b4b48cea98.jpg","text":"TemporaryFile(/tmp/multipartBody981463119470928840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142063399,"filename":"image_21022025_13_46_35_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/967a64f23a5f8f13db150c2e5380b440.jpg","text":"TemporaryFile(/tmp/multipartBody729615114958516253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142063399,"filename":"image_21022025_13_45_45_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338831181","file1":"1338831166","file0":"1338831162","file3":"1338831208"},"map_files_photo_id_array":[{"photo_id":"1338831181","filename":"file2"},{"photo_id":"1338831166","filename":"file1"},{"photo_id":"1338831162","filename":"file0"},{"photo_id":"1338831208","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338831181":["hashtag1","hashtag2"]},{"1338831166":["hashtag1","hashtag2"]},{"1338831208":["hashtag1","hashtag2"]},{"1338831162":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338831181, 1338831166, 1338831208, 1338831162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.60574197769165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:47:33.253527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/46/image_21022025_13_46_45_10338.jpg', '/home/pi/Desktop/images/21022025/13/47/image_21022025_13_47_16_10343.jpg', '/home/pi/Desktop/images/21022025/13/47/image_21022025_13_47_25_9394.jpg', '/home/pi/Desktop/images/21022025/13/47/image_21022025_13_47_35_10364.jpg', '/home/pi/Desktop/images/21022025/13/47/image_21022025_13_47_46_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/46/image_21022025_13_46_45_10338.jpg
/home/pi/Desktop/images/21022025/13/47/image_21022025_13_47_16_10343.jpg
/home/pi/Desktop/images/21022025/13/47/image_21022025_13_47_25_9394.jpg
/home/pi/Desktop/images/21022025/13/47/image_21022025_13_47_35_10364.jpg
/home/pi/Desktop/images/21022025/13/47/image_21022025_13_47_46_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338831231","1338831234","1338831233","1338831230","1338831232"],"photo_ids_order":["1338831230","1338831231","1338831232","1338831233","1338831234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a22e9617894f99b144d576d284f27dbe.jpg","text":"TemporaryFile(/tmp/multipartBody5649582294905836750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142113719,"filename":"image_21022025_13_47_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a14dc45759a933bdc6b3aacbc04b2644.jpg","text":"TemporaryFile(/tmp/multipartBody248221800146955901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142113719,"filename":"image_21022025_13_47_46_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c69fbc1953199d4a8b05d39e142da63e.jpg","text":"TemporaryFile(/tmp/multipartBody6206977905988540128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142113719,"filename":"image_21022025_13_47_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/663283ca9f7e821e7addcc8b4738ffd0.jpg","text":"TemporaryFile(/tmp/multipartBody247447654579799297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142113719,"filename":"image_21022025_13_46_45_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/44b49d6abab18c428547b49e0ebf7910.jpg","text":"TemporaryFile(/tmp/multipartBody2025744963343528377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142113719,"filename":"image_21022025_13_47_25_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338831232","file1":"1338831231","file0":"1338831230","file4":"1338831234","file3":"1338831233"},"map_files_photo_id_array":[{"photo_id":"1338831232","filename":"file2"},{"photo_id":"1338831234","filename":"file4"},{"photo_id":"1338831231","filename":"file1"},{"photo_id":"1338831230","filename":"file0"},{"photo_id":"1338831233","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338831231":["hashtag1","hashtag2"]},{"1338831234":["hashtag1","hashtag2"]},{"1338831233":["hashtag1","hashtag2"]},{"1338831230":["hashtag1","hashtag2"]},{"1338831232":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338831231, 1338831234, 1338831233, 1338831230, 1338831232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.79608416557312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:48:03.137268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/38/image_20022025_16_38_26_9323.jpg', '/home/pi/Desktop/images/20022025/16/38/image_20022025_16_38_37_10412.jpg', '/home/pi/Desktop/images/20022025/16/38/image_20022025_16_38_47_10336.jpg', '/home/pi/Desktop/images/20022025/16/38/image_20022025_16_39_07_10445.jpg', '/home/pi/Desktop/images/20022025/16/39/image_20022025_16_39_16_9315.jpg', '/home/pi/Desktop/images/20022025/16/39/image_20022025_16_39_26_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/38/image_20022025_16_38_26_9323.jpg
/home/pi/Desktop/images/20022025/16/38/image_20022025_16_38_37_10412.jpg
/home/pi/Desktop/images/20022025/16/38/image_20022025_16_38_47_10336.jpg
/home/pi/Desktop/images/20022025/16/38/image_20022025_16_39_07_10445.jpg
/home/pi/Desktop/images/20022025/16/39/image_20022025_16_39_16_9315.jpg
/home/pi/Desktop/images/20022025/16/39/image_20022025_16_39_26_10400.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338831280","1338831271","1338831247","1338831267","1338831261","1338831249"],"photo_ids_order":["1338831247","1338831249","1338831261","1338831267","1338831271","1338831280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1219028f4f1226c4e0467b05db88960a.jpg","text":"TemporaryFile(/tmp/multipartBody2302043758906863204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142144695,"filename":"image_20022025_16_39_26_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a806bb0773f7983c1cf475d6c95672e2.jpg","text":"TemporaryFile(/tmp/multipartBody1650013088730036642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142144695,"filename":"image_20022025_16_39_16_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/652f0e77bc3d525867e1ae720af4c56d.jpg","text":"TemporaryFile(/tmp/multipartBody8519258284775793221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142144695,"filename":"image_20022025_16_38_26_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/31ed9d4a7ab2c15aef09600a41671f51.jpg","text":"TemporaryFile(/tmp/multipartBody1240058731437674202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142144695,"filename":"image_20022025_16_39_07_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/73d84b6e2224bc1bb6bbece5f6faf8b4.jpg","text":"TemporaryFile(/tmp/multipartBody8407227120766832142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142144695,"filename":"image_20022025_16_38_47_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ddbc20dfc401888a406cb5f45883a4d4.jpg","text":"TemporaryFile(/tmp/multipartBody8609178810937014246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142144695,"filename":"image_20022025_16_38_37_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338831261","file1":"1338831249","file0":"1338831247","file4":"1338831271","file5":"1338831280","file3":"1338831267"},"map_files_photo_id_array":[{"photo_id":"1338831280","filename":"file5"},{"photo_id":"1338831261","filename":"file2"},{"photo_id":"1338831271","filename":"file4"},{"photo_id":"1338831249","filename":"file1"},{"photo_id":"1338831247","filename":"file0"},{"photo_id":"1338831267","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338831280":["hashtag1","hashtag2"]},{"1338831271":["hashtag1","hashtag2"]},{"1338831247":["hashtag1","hashtag2"]},{"1338831267":["hashtag1","hashtag2"]},{"1338831261":["hashtag1","hashtag2"]},{"1338831249":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338831280, 1338831271, 1338831247, 1338831267, 1338831261, 1338831249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.16348958015442 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:48:42.310533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/47/image_21022025_13_47_55_9346.jpg', '/home/pi/Desktop/images/21022025/13/47/image_21022025_13_48_05_10411.jpg', '/home/pi/Desktop/images/21022025/13/48/image_21022025_13_48_16_10361.jpg', '/home/pi/Desktop/images/21022025/13/48/image_21022025_13_48_25_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/47/image_21022025_13_47_55_9346.jpg
/home/pi/Desktop/images/21022025/13/47/image_21022025_13_48_05_10411.jpg
/home/pi/Desktop/images/21022025/13/48/image_21022025_13_48_16_10361.jpg
/home/pi/Desktop/images/21022025/13/48/image_21022025_13_48_25_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338831287","1338831292","1338831289","1338831291"],"photo_ids_order":["1338831287","1338831289","1338831291","1338831292"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d38cbd0137076df7c82d6ec0d970b8bc.jpg","text":"TemporaryFile(/tmp/multipartBody2749194906993827440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142182753,"filename":"image_21022025_13_47_55_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b62d76b3a82f6cf5553768b63daceeaf.jpg","text":"TemporaryFile(/tmp/multipartBody5477230527740930780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142182753,"filename":"image_21022025_13_48_25_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c29310ea2b44e8d046e0dd36d210600.jpg","text":"TemporaryFile(/tmp/multipartBody6530362914458335870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142182753,"filename":"image_21022025_13_48_05_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/066c68cf338219aeb8c30e973202816e.jpg","text":"TemporaryFile(/tmp/multipartBody3579361199243270951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142182753,"filename":"image_21022025_13_48_16_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338831291","file1":"1338831289","file0":"1338831287","file3":"1338831292"},"map_files_photo_id_array":[{"photo_id":"1338831291","filename":"file2"},{"photo_id":"1338831289","filename":"file1"},{"photo_id":"1338831287","filename":"file0"},{"photo_id":"1338831292","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338831287":["hashtag1","hashtag2"]},{"1338831292":["hashtag1","hashtag2"]},{"1338831289":["hashtag1","hashtag2"]},{"1338831291":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338831287, 1338831292, 1338831289, 1338831291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.568826913833618 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:49:32.502038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/48/image_21022025_13_48_35_10340.jpg', '/home/pi/Desktop/images/21022025/13/49/image_21022025_13_49_15_9317.jpg', '/home/pi/Desktop/images/21022025/13/49/image_21022025_13_49_25_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/48/image_21022025_13_48_35_10340.jpg
/home/pi/Desktop/images/21022025/13/49/image_21022025_13_49_15_9317.jpg
/home/pi/Desktop/images/21022025/13/49/image_21022025_13_49_25_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338831318","1338831306","1338831329"],"photo_ids_order":["1338831306","1338831318","1338831329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/af0fa1317cf746ad9790f2e46ca07188.jpg","text":"TemporaryFile(/tmp/multipartBody7380158701086421989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142232931,"filename":"image_21022025_13_49_15_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1db48522f0a88b32c37705efc4715222.jpg","text":"TemporaryFile(/tmp/multipartBody5655255274900968256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142232931,"filename":"image_21022025_13_48_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9d264c16f7c662842d308adcd6fca927.jpg","text":"TemporaryFile(/tmp/multipartBody371505765095417572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142232931,"filename":"image_21022025_13_49_25_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338831329","file1":"1338831318","file0":"1338831306"},"map_files_photo_id_array":[{"photo_id":"1338831329","filename":"file2"},{"photo_id":"1338831318","filename":"file1"},{"photo_id":"1338831306","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338831318":["hashtag1","hashtag2"]},{"1338831306":["hashtag1","hashtag2"]},{"1338831329":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338831318, 1338831306, 1338831329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.448368072509766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:50:03.542854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/39/image_20022025_16_39_46_9434.jpg', '/home/pi/Desktop/images/20022025/16/39/image_20022025_16_39_57_10467.jpg', '/home/pi/Desktop/images/20022025/16/39/image_20022025_16_40_06_9329.jpg', '/home/pi/Desktop/images/20022025/16/40/image_20022025_16_40_36_9317.jpg', '/home/pi/Desktop/images/20022025/16/40/image_20022025_16_40_47_10349.jpg', '/home/pi/Desktop/images/20022025/16/40/image_20022025_16_40_57_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/39/image_20022025_16_39_46_9434.jpg
/home/pi/Desktop/images/20022025/16/39/image_20022025_16_39_57_10467.jpg
/home/pi/Desktop/images/20022025/16/39/image_20022025_16_40_06_9329.jpg
/home/pi/Desktop/images/20022025/16/40/image_20022025_16_40_36_9317.jpg
/home/pi/Desktop/images/20022025/16/40/image_20022025_16_40_47_10349.jpg
/home/pi/Desktop/images/20022025/16/40/image_20022025_16_40_57_10347.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.405439853668213 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:50:32.810604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/49/image_21022025_13_49_36_10440.jpg', '/home/pi/Desktop/images/21022025/13/50/image_21022025_13_50_15_10330.jpg', '/home/pi/Desktop/images/21022025/13/50/image_21022025_13_50_26_10444.jpg', '/home/pi/Desktop/images/21022025/13/50/image_21022025_13_50_45_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/49/image_21022025_13_49_36_10440.jpg
/home/pi/Desktop/images/21022025/13/50/image_21022025_13_50_15_10330.jpg
/home/pi/Desktop/images/21022025/13/50/image_21022025_13_50_26_10444.jpg
/home/pi/Desktop/images/21022025/13/50/image_21022025_13_50_45_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338831374","1338831370","1338831366","1338831363"],"photo_ids_order":["1338831363","1338831366","1338831370","1338831374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/451e63070bbbdfbf6845b2a743939ab2.jpg","text":"TemporaryFile(/tmp/multipartBody3668322764412153888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142293343,"filename":"image_21022025_13_50_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dde4b6b304ccc32b8743b45495344f29.jpg","text":"TemporaryFile(/tmp/multipartBody8620598766470395162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142293343,"filename":"image_21022025_13_50_26_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3b3a1bff16c89a661401509905d3a5fd.jpg","text":"TemporaryFile(/tmp/multipartBody4222842459204530388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142293343,"filename":"image_21022025_13_50_15_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6df7b1c06d41da9b88bddf583cbed593.jpg","text":"TemporaryFile(/tmp/multipartBody9132114568305181225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142293343,"filename":"image_21022025_13_49_36_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338831370","file1":"1338831366","file0":"1338831363","file3":"1338831374"},"map_files_photo_id_array":[{"photo_id":"1338831370","filename":"file2"},{"photo_id":"1338831366","filename":"file1"},{"photo_id":"1338831363","filename":"file0"},{"photo_id":"1338831374","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338831374":["hashtag1","hashtag2"]},{"1338831370":["hashtag1","hashtag2"]},{"1338831366":["hashtag1","hashtag2"]},{"1338831363":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338831374, 1338831370, 1338831366, 1338831363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.750539302825928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:51:04.849622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/39/image_20022025_16_39_46_9434.jpg', '/home/pi/Desktop/images/20022025/16/39/image_20022025_16_39_57_10467.jpg', '/home/pi/Desktop/images/20022025/16/39/image_20022025_16_40_06_9329.jpg', '/home/pi/Desktop/images/20022025/16/40/image_20022025_16_40_36_9317.jpg', '/home/pi/Desktop/images/20022025/16/40/image_20022025_16_40_47_10349.jpg', '/home/pi/Desktop/images/20022025/16/40/image_20022025_16_40_57_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/39/image_20022025_16_39_46_9434.jpg
/home/pi/Desktop/images/20022025/16/39/image_20022025_16_39_57_10467.jpg
/home/pi/Desktop/images/20022025/16/39/image_20022025_16_40_06_9329.jpg
/home/pi/Desktop/images/20022025/16/40/image_20022025_16_40_36_9317.jpg
/home/pi/Desktop/images/20022025/16/40/image_20022025_16_40_47_10349.jpg
/home/pi/Desktop/images/20022025/16/40/image_20022025_16_40_57_10347.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338831432","1338831440","1338831436","1338831427","1338831435","1338831429"],"photo_ids_order":["1338831427","1338831429","1338831432","1338831435","1338831436","1338831440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/daa2cb3fdd927b43319cd6dcb08ebe4f.jpg","text":"TemporaryFile(/tmp/multipartBody4954773846257443012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142326709,"filename":"image_20022025_16_40_06_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8690f6c71a18d1c1be8273cd592f9a1.jpg","text":"TemporaryFile(/tmp/multipartBody4772772834737480518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142326709,"filename":"image_20022025_16_40_57_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c3e82a8b87660bed70eb574906fd313.jpg","text":"TemporaryFile(/tmp/multipartBody6122621920485173058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142326709,"filename":"image_20022025_16_40_47_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/68a3ca6a5fb711c5ac1c754005489356.jpg","text":"TemporaryFile(/tmp/multipartBody7182023151777472140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142326709,"filename":"image_20022025_16_39_46_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0c4081c615ee6b237a3a0a864221f9d9.jpg","text":"TemporaryFile(/tmp/multipartBody7989839253274286740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142326709,"filename":"image_20022025_16_40_36_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/51fa4df0ae9a63eb964901636a688fc2.jpg","text":"TemporaryFile(/tmp/multipartBody5363592518399485286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142326709,"filename":"image_20022025_16_39_57_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338831432","file1":"1338831429","file0":"1338831427","file4":"1338831436","file5":"1338831440","file3":"1338831435"},"map_files_photo_id_array":[{"photo_id":"1338831440","filename":"file5"},{"photo_id":"1338831432","filename":"file2"},{"photo_id":"1338831436","filename":"file4"},{"photo_id":"1338831429","filename":"file1"},{"photo_id":"1338831427","filename":"file0"},{"photo_id":"1338831435","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338831432":["hashtag1","hashtag2"]},{"1338831440":["hashtag1","hashtag2"]},{"1338831436":["hashtag1","hashtag2"]},{"1338831427":["hashtag1","hashtag2"]},{"1338831435":["hashtag1","hashtag2"]},{"1338831429":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338831432, 1338831440, 1338831436, 1338831427, 1338831435, 1338831429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.197524547576904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:51:43.179468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/50/image_21022025_13_50_56_10421.jpg', '/home/pi/Desktop/images/21022025/13/50/image_21022025_13_51_05_9359.jpg', '/home/pi/Desktop/images/21022025/13/51/image_21022025_13_51_16_10498.jpg', '/home/pi/Desktop/images/21022025/13/51/image_21022025_13_51_25_9349.jpg', '/home/pi/Desktop/images/21022025/13/51/image_21022025_13_51_35_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/50/image_21022025_13_50_56_10421.jpg
/home/pi/Desktop/images/21022025/13/50/image_21022025_13_51_05_9359.jpg
/home/pi/Desktop/images/21022025/13/51/image_21022025_13_51_16_10498.jpg
/home/pi/Desktop/images/21022025/13/51/image_21022025_13_51_25_9349.jpg
/home/pi/Desktop/images/21022025/13/51/image_21022025_13_51_35_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338831450","1338831458","1338831455","1338831448","1338831453"],"photo_ids_order":["1338831448","1338831450","1338831453","1338831455","1338831458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1e490fca92f0c1f2ed497615811955b.jpg","text":"TemporaryFile(/tmp/multipartBody6945527827535065722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142363643,"filename":"image_21022025_13_51_05_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d657f14e259cd83a6ebf4c362ccdb07a.jpg","text":"TemporaryFile(/tmp/multipartBody6215388579618971212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142363643,"filename":"image_21022025_13_51_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c3145a6cd15d71ae4d09896bf06cec7a.jpg","text":"TemporaryFile(/tmp/multipartBody4128558144256149239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142363643,"filename":"image_21022025_13_51_25_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7275fde13e694b7efc03e65965c22122.jpg","text":"TemporaryFile(/tmp/multipartBody8115966011952863347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142363643,"filename":"image_21022025_13_50_56_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/046e1a71fcb99365134d3443ac11ec65.jpg","text":"TemporaryFile(/tmp/multipartBody1275412868837769040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142363643,"filename":"image_21022025_13_51_16_10498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338831453","file1":"1338831450","file0":"1338831448","file4":"1338831458","file3":"1338831455"},"map_files_photo_id_array":[{"photo_id":"1338831453","filename":"file2"},{"photo_id":"1338831458","filename":"file4"},{"photo_id":"1338831450","filename":"file1"},{"photo_id":"1338831448","filename":"file0"},{"photo_id":"1338831455","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338831450":["hashtag1","hashtag2"]},{"1338831458":["hashtag1","hashtag2"]},{"1338831455":["hashtag1","hashtag2"]},{"1338831448":["hashtag1","hashtag2"]},{"1338831453":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338831450, 1338831458, 1338831455, 1338831448, 1338831453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.361206531524658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:52:32.334432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/51/image_21022025_13_51_55_9341.jpg', '/home/pi/Desktop/images/21022025/13/51/image_21022025_13_52_05_10353.jpg', '/home/pi/Desktop/images/21022025/13/52/image_21022025_13_52_15_9386.jpg', '/home/pi/Desktop/images/21022025/13/52/image_21022025_13_52_25_10343.jpg', '/home/pi/Desktop/images/21022025/13/52/image_21022025_13_52_45_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/51/image_21022025_13_51_55_9341.jpg
/home/pi/Desktop/images/21022025/13/51/image_21022025_13_52_05_10353.jpg
/home/pi/Desktop/images/21022025/13/52/image_21022025_13_52_15_9386.jpg
/home/pi/Desktop/images/21022025/13/52/image_21022025_13_52_25_10343.jpg
/home/pi/Desktop/images/21022025/13/52/image_21022025_13_52_45_9333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338831482","1338831484","1338831478","1338831486","1338831480"],"photo_ids_order":["1338831478","1338831480","1338831482","1338831484","1338831486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/792163e40f5a7351653e9d60d0dfbf20.jpg","text":"TemporaryFile(/tmp/multipartBody2308165004835609931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142412793,"filename":"image_21022025_13_52_15_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/51d5933d6529c284db7b4e142a4dacae.jpg","text":"TemporaryFile(/tmp/multipartBody4701596480487234810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142412793,"filename":"image_21022025_13_52_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/461878dd0d293a37f7a913f5bbfb652b.jpg","text":"TemporaryFile(/tmp/multipartBody2209938625728080286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142412793,"filename":"image_21022025_13_51_55_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd3498cea555826e03027d6b4e74c6e5.jpg","text":"TemporaryFile(/tmp/multipartBody3840910310857419643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142412793,"filename":"image_21022025_13_52_45_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b9f638c8872a93ad242e123a178be0c4.jpg","text":"TemporaryFile(/tmp/multipartBody3133947629036119282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142412793,"filename":"image_21022025_13_52_05_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338831482","file1":"1338831480","file0":"1338831478","file4":"1338831486","file3":"1338831484"},"map_files_photo_id_array":[{"photo_id":"1338831482","filename":"file2"},{"photo_id":"1338831486","filename":"file4"},{"photo_id":"1338831480","filename":"file1"},{"photo_id":"1338831478","filename":"file0"},{"photo_id":"1338831484","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338831482":["hashtag1","hashtag2"]},{"1338831484":["hashtag1","hashtag2"]},{"1338831478":["hashtag1","hashtag2"]},{"1338831486":["hashtag1","hashtag2"]},{"1338831480":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338831482, 1338831484, 1338831478, 1338831486, 1338831480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.416364192962646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:53:03.960871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/40/image_20022025_16_41_06_9317.jpg', '/home/pi/Desktop/images/20022025/16/41/image_20022025_16_41_17_10376.jpg', '/home/pi/Desktop/images/20022025/16/41/image_20022025_16_41_47_10326.jpg', '/home/pi/Desktop/images/20022025/16/41/image_20022025_16_41_57_10343.jpg', '/home/pi/Desktop/images/20022025/16/41/image_20022025_16_42_06_9324.jpg', '/home/pi/Desktop/images/20022025/16/42/image_20022025_16_42_17_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/40/image_20022025_16_41_06_9317.jpg
/home/pi/Desktop/images/20022025/16/41/image_20022025_16_41_17_10376.jpg
/home/pi/Desktop/images/20022025/16/41/image_20022025_16_41_47_10326.jpg
/home/pi/Desktop/images/20022025/16/41/image_20022025_16_41_57_10343.jpg
/home/pi/Desktop/images/20022025/16/41/image_20022025_16_42_06_9324.jpg
/home/pi/Desktop/images/20022025/16/42/image_20022025_16_42_17_10332.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338831522","1338831525","1338831530","1338831527","1338831523","1338831532"],"photo_ids_order":["1338831522","1338831523","1338831525","1338831527","1338831530","1338831532"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/484b23e4c628dffb4cae5409d9d2edc8.jpg","text":"TemporaryFile(/tmp/multipartBody4854295514061932278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142447132,"filename":"image_20022025_16_41_06_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fdf68c186be6aab2415d3cd97916de51.jpg","text":"TemporaryFile(/tmp/multipartBody3179428384368045520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142447132,"filename":"image_20022025_16_41_47_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e16e554f434e5da7d67585fa51f1aeb0.jpg","text":"TemporaryFile(/tmp/multipartBody7168780867742559403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142447132,"filename":"image_20022025_16_42_06_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/96057f09ce326286916e462e186021cf.jpg","text":"TemporaryFile(/tmp/multipartBody1030981466188926240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142447132,"filename":"image_20022025_16_41_57_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2c0592082d281ee545f12900466d7f61.jpg","text":"TemporaryFile(/tmp/multipartBody4052140891835721642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142447132,"filename":"image_20022025_16_41_17_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74563543114dc3ba633d8f2a03fbf544.jpg","text":"TemporaryFile(/tmp/multipartBody7590877616747290488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142447132,"filename":"image_20022025_16_42_17_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338831525","file1":"1338831523","file0":"1338831522","file4":"1338831530","file5":"1338831532","file3":"1338831527"},"map_files_photo_id_array":[{"photo_id":"1338831532","filename":"file5"},{"photo_id":"1338831525","filename":"file2"},{"photo_id":"1338831530","filename":"file4"},{"photo_id":"1338831523","filename":"file1"},{"photo_id":"1338831522","filename":"file0"},{"photo_id":"1338831527","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338831522":["hashtag1","hashtag2"]},{"1338831525":["hashtag1","hashtag2"]},{"1338831530":["hashtag1","hashtag2"]},{"1338831527":["hashtag1","hashtag2"]},{"1338831523":["hashtag1","hashtag2"]},{"1338831532":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338831522, 1338831525, 1338831530, 1338831527, 1338831523, 1338831532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31911039352417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:53:42.563841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/52/image_21022025_13_52_55_10435.jpg', '/home/pi/Desktop/images/21022025/13/52/image_21022025_13_53_06_10385.jpg', '/home/pi/Desktop/images/21022025/13/53/image_21022025_13_53_26_10495.jpg', '/home/pi/Desktop/images/21022025/13/53/image_21022025_13_53_35_9334.jpg', '/home/pi/Desktop/images/21022025/13/53/image_21022025_13_53_45_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/52/image_21022025_13_52_55_10435.jpg
/home/pi/Desktop/images/21022025/13/52/image_21022025_13_53_06_10385.jpg
/home/pi/Desktop/images/21022025/13/53/image_21022025_13_53_26_10495.jpg
/home/pi/Desktop/images/21022025/13/53/image_21022025_13_53_35_9334.jpg
/home/pi/Desktop/images/21022025/13/53/image_21022025_13_53_45_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338831548","1338831541","1338831544","1338831538","1338831547"],"photo_ids_order":["1338831538","1338831541","1338831544","1338831547","1338831548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1e8c0fb4471f74bbb5b788801c21e86.jpg","text":"TemporaryFile(/tmp/multipartBody7708450138460216687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142483032,"filename":"image_21022025_13_53_45_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/67f2544644a9bd54f064d08a547d23b0.jpg","text":"TemporaryFile(/tmp/multipartBody3478796891056281529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142483032,"filename":"image_21022025_13_53_06_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/760202ecc68e2e34c7b3ddaffcd0636b.jpg","text":"TemporaryFile(/tmp/multipartBody889001095506203887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142483032,"filename":"image_21022025_13_53_26_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/afa947f55f3d549877a50e185623d13a.jpg","text":"TemporaryFile(/tmp/multipartBody6344083770368000837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142483032,"filename":"image_21022025_13_52_55_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8e5c95c28d495a8cdaa858cc61130dbb.jpg","text":"TemporaryFile(/tmp/multipartBody4156712827326704772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142483032,"filename":"image_21022025_13_53_35_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338831544","file1":"1338831541","file0":"1338831538","file4":"1338831548","file3":"1338831547"},"map_files_photo_id_array":[{"photo_id":"1338831544","filename":"file2"},{"photo_id":"1338831548","filename":"file4"},{"photo_id":"1338831541","filename":"file1"},{"photo_id":"1338831538","filename":"file0"},{"photo_id":"1338831547","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338831548":["hashtag1","hashtag2"]},{"1338831541":["hashtag1","hashtag2"]},{"1338831544":["hashtag1","hashtag2"]},{"1338831538":["hashtag1","hashtag2"]},{"1338831547":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338831548, 1338831541, 1338831544, 1338831538, 1338831547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.90997076034546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:54:32.895493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/53/image_21022025_13_53_56_10439.jpg', '/home/pi/Desktop/images/21022025/13/53/image_21022025_13_54_05_9291.jpg', '/home/pi/Desktop/images/21022025/13/54/image_21022025_13_54_15_10385.jpg', '/home/pi/Desktop/images/21022025/13/54/image_21022025_13_54_25_9432.jpg', '/home/pi/Desktop/images/21022025/13/54/image_21022025_13_54_35_10335.jpg', '/home/pi/Desktop/images/21022025/13/54/image_21022025_13_54_46_10522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/53/image_21022025_13_53_56_10439.jpg
/home/pi/Desktop/images/21022025/13/53/image_21022025_13_54_05_9291.jpg
/home/pi/Desktop/images/21022025/13/54/image_21022025_13_54_15_10385.jpg
/home/pi/Desktop/images/21022025/13/54/image_21022025_13_54_25_9432.jpg
/home/pi/Desktop/images/21022025/13/54/image_21022025_13_54_35_10335.jpg
/home/pi/Desktop/images/21022025/13/54/image_21022025_13_54_46_10522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338831560","1338831557","1338831553","1338831564","1338831567","1338831555"],"photo_ids_order":["1338831553","1338831555","1338831557","1338831560","1338831564","1338831567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d4a9db35d36d6ee9e9331f5836ff3992.jpg","text":"TemporaryFile(/tmp/multipartBody2409549030324232216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142533371,"filename":"image_21022025_13_54_25_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9b3e9329604ec85c7703f0bc28157d59.jpg","text":"TemporaryFile(/tmp/multipartBody9194198355086925805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142533371,"filename":"image_21022025_13_54_15_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c223c442f2c73953ee30d298fb6e39bf.jpg","text":"TemporaryFile(/tmp/multipartBody2174462424606037042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142533371,"filename":"image_21022025_13_53_56_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/668dbcebc2de1d5de637aa9d04b60758.jpg","text":"TemporaryFile(/tmp/multipartBody2910376557988090862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142533371,"filename":"image_21022025_13_54_35_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/512e570942a8fab336293aa6187d5913.jpg","text":"TemporaryFile(/tmp/multipartBody4018537006536359795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142533371,"filename":"image_21022025_13_54_46_10522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b696842abced5ba79a82676913a3c599.jpg","text":"TemporaryFile(/tmp/multipartBody2672052030100240556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142533371,"filename":"image_21022025_13_54_05_9291.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338831557","file1":"1338831555","file0":"1338831553","file4":"1338831564","file5":"1338831567","file3":"1338831560"},"map_files_photo_id_array":[{"photo_id":"1338831567","filename":"file5"},{"photo_id":"1338831557","filename":"file2"},{"photo_id":"1338831564","filename":"file4"},{"photo_id":"1338831555","filename":"file1"},{"photo_id":"1338831553","filename":"file0"},{"photo_id":"1338831560","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338831560":["hashtag1","hashtag2"]},{"1338831557":["hashtag1","hashtag2"]},{"1338831553":["hashtag1","hashtag2"]},{"1338831564":["hashtag1","hashtag2"]},{"1338831567":["hashtag1","hashtag2"]},{"1338831555":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338831560, 1338831557, 1338831553, 1338831564, 1338831567, 1338831555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.228556394577026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:55:33.348737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/54/image_21022025_13_54_55_9442.jpg', '/home/pi/Desktop/images/21022025/13/54/image_21022025_13_55_06_10422.jpg', '/home/pi/Desktop/images/21022025/13/55/image_21022025_13_55_15_9349.jpg', '/home/pi/Desktop/images/21022025/13/55/image_21022025_13_55_25_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/54/image_21022025_13_54_55_9442.jpg
/home/pi/Desktop/images/21022025/13/54/image_21022025_13_55_06_10422.jpg
/home/pi/Desktop/images/21022025/13/55/image_21022025_13_55_15_9349.jpg
/home/pi/Desktop/images/21022025/13/55/image_21022025_13_55_25_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338831581","1338831583","1338831582","1338831585"],"photo_ids_order":["1338831581","1338831582","1338831583","1338831585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/451015bddde7aac75c164f9b29f19b23.jpg","text":"TemporaryFile(/tmp/multipartBody769986643000030938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142593806,"filename":"image_21022025_13_54_55_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c69502711609066deb8eadc65dd382c.jpg","text":"TemporaryFile(/tmp/multipartBody6713959354575699650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142593806,"filename":"image_21022025_13_55_15_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bf10e9656c7767adebdee76302f832ef.jpg","text":"TemporaryFile(/tmp/multipartBody8638750317463673157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142593806,"filename":"image_21022025_13_55_06_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df35ec250e959112c39aec41b2881d86.jpg","text":"TemporaryFile(/tmp/multipartBody7860429774562451116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142593806,"filename":"image_21022025_13_55_25_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338831583","file1":"1338831582","file0":"1338831581","file3":"1338831585"},"map_files_photo_id_array":[{"photo_id":"1338831583","filename":"file2"},{"photo_id":"1338831582","filename":"file1"},{"photo_id":"1338831581","filename":"file0"},{"photo_id":"1338831585","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338831581":["hashtag1","hashtag2"]},{"1338831583":["hashtag1","hashtag2"]},{"1338831582":["hashtag1","hashtag2"]},{"1338831585":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338831581, 1338831583, 1338831582, 1338831585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.73956298828125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:56:03.141964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/42/image_20022025_16_42_27_10337.jpg', '/home/pi/Desktop/images/20022025/16/42/image_20022025_16_42_47_10338.jpg', '/home/pi/Desktop/images/20022025/16/43/image_20022025_16_43_26_9384.jpg', '/home/pi/Desktop/images/20022025/16/43/image_20022025_16_43_37_10465.jpg', '/home/pi/Desktop/images/20022025/16/43/image_20022025_16_43_56_9324.jpg', '/home/pi/Desktop/images/20022025/16/43/image_20022025_16_44_07_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/42/image_20022025_16_42_27_10337.jpg
/home/pi/Desktop/images/20022025/16/42/image_20022025_16_42_47_10338.jpg
/home/pi/Desktop/images/20022025/16/43/image_20022025_16_43_26_9384.jpg
/home/pi/Desktop/images/20022025/16/43/image_20022025_16_43_37_10465.jpg
/home/pi/Desktop/images/20022025/16/43/image_20022025_16_43_56_9324.jpg
/home/pi/Desktop/images/20022025/16/43/image_20022025_16_44_07_10425.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338831606","1338831599","1338831623","1338831614","1338831610","1338831613"],"photo_ids_order":["1338831599","1338831606","1338831610","1338831613","1338831614","1338831623"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/613713455e8f613290d867a8e8adc057.jpg","text":"TemporaryFile(/tmp/multipartBody2976169096199459393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142624603,"filename":"image_20022025_16_42_47_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c265d282c0912e902c38e9433432e1f3.jpg","text":"TemporaryFile(/tmp/multipartBody824032174948228495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142624603,"filename":"image_20022025_16_42_27_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/066783f1661e6f3a9326b2de35daf66e.jpg","text":"TemporaryFile(/tmp/multipartBody4107881788950064061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142624603,"filename":"image_20022025_16_44_07_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d4d331c021921acd998d9cfcb8ea894a.jpg","text":"TemporaryFile(/tmp/multipartBody6140266510222136409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142624603,"filename":"image_20022025_16_43_56_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ec008e15a9b62a3d9e46b7b256812dd.jpg","text":"TemporaryFile(/tmp/multipartBody6343299802575234082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142624603,"filename":"image_20022025_16_43_26_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1026a6848af862ca00818f3ca350779.jpg","text":"TemporaryFile(/tmp/multipartBody6073771793537784074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142624603,"filename":"image_20022025_16_43_37_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338831610","file1":"1338831606","file0":"1338831599","file4":"1338831614","file5":"1338831623","file3":"1338831613"},"map_files_photo_id_array":[{"photo_id":"1338831623","filename":"file5"},{"photo_id":"1338831610","filename":"file2"},{"photo_id":"1338831614","filename":"file4"},{"photo_id":"1338831606","filename":"file1"},{"photo_id":"1338831599","filename":"file0"},{"photo_id":"1338831613","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338831606":["hashtag1","hashtag2"]},{"1338831599":["hashtag1","hashtag2"]},{"1338831623":["hashtag1","hashtag2"]},{"1338831614":["hashtag1","hashtag2"]},{"1338831610":["hashtag1","hashtag2"]},{"1338831613":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338831606, 1338831599, 1338831623, 1338831614, 1338831610, 1338831613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88223958015442 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:56:42.275448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/55/image_21022025_13_55_45_9376.jpg', '/home/pi/Desktop/images/21022025/13/55/image_21022025_13_56_06_10347.jpg', '/home/pi/Desktop/images/21022025/13/56/image_21022025_13_56_15_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/55/image_21022025_13_55_45_9376.jpg
/home/pi/Desktop/images/21022025/13/55/image_21022025_13_56_06_10347.jpg
/home/pi/Desktop/images/21022025/13/56/image_21022025_13_56_15_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338831659","1338831661","1338831660"],"photo_ids_order":["1338831659","1338831660","1338831661"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ec059f498525a99dd86ce1cb1fe05468.jpg","text":"TemporaryFile(/tmp/multipartBody9194244849710166820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142662724,"filename":"image_21022025_13_55_45_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1052d808990e434a7e42b102e84db5ef.jpg","text":"TemporaryFile(/tmp/multipartBody4576622299275287480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142662724,"filename":"image_21022025_13_56_15_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/847daf2898c9875ca9ba3860db2b1612.jpg","text":"TemporaryFile(/tmp/multipartBody4136299393770791711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142662724,"filename":"image_21022025_13_56_06_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338831661","file1":"1338831660","file0":"1338831659"},"map_files_photo_id_array":[{"photo_id":"1338831661","filename":"file2"},{"photo_id":"1338831660","filename":"file1"},{"photo_id":"1338831659","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338831659":["hashtag1","hashtag2"]},{"1338831661":["hashtag1","hashtag2"]},{"1338831660":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338831659, 1338831661, 1338831660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.17465353012085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:57:32.543079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/56/image_21022025_13_56_25_10365.jpg', '/home/pi/Desktop/images/21022025/13/57/image_21022025_13_57_15_10365.jpg', '/home/pi/Desktop/images/21022025/13/57/image_21022025_13_57_25_9435.jpg', '/home/pi/Desktop/images/21022025/13/57/image_21022025_13_57_35_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/56/image_21022025_13_56_25_10365.jpg
/home/pi/Desktop/images/21022025/13/57/image_21022025_13_57_15_10365.jpg
/home/pi/Desktop/images/21022025/13/57/image_21022025_13_57_25_9435.jpg
/home/pi/Desktop/images/21022025/13/57/image_21022025_13_57_35_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338831842","1338831841","1338831838","1338831825"],"photo_ids_order":["1338831825","1338831838","1338831841","1338831842"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f227ae1f0e68e176d26c36ceba4d408.jpg","text":"TemporaryFile(/tmp/multipartBody6465357390198624946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142712985,"filename":"image_21022025_13_57_35_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b8e7919a294f254c5e398a1773ae7bd0.jpg","text":"TemporaryFile(/tmp/multipartBody3786649245282838369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142712985,"filename":"image_21022025_13_57_25_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0b7d732e9db096e2f0e4e2a987fad0fc.jpg","text":"TemporaryFile(/tmp/multipartBody1257505039341668790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142712985,"filename":"image_21022025_13_57_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fb3b75edd6e703e6efaa1d1ae76f0d31.jpg","text":"TemporaryFile(/tmp/multipartBody7598319196949886512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142712985,"filename":"image_21022025_13_56_25_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338831841","file1":"1338831838","file0":"1338831825","file3":"1338831842"},"map_files_photo_id_array":[{"photo_id":"1338831841","filename":"file2"},{"photo_id":"1338831838","filename":"file1"},{"photo_id":"1338831825","filename":"file0"},{"photo_id":"1338831842","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338831842":["hashtag1","hashtag2"]},{"1338831841":["hashtag1","hashtag2"]},{"1338831838":["hashtag1","hashtag2"]},{"1338831825":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338831842, 1338831841, 1338831838, 1338831825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.952919006347656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 13:59:03.732609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/57/image_21022025_13_57_55_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/57/image_21022025_13_57_55_9340.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338831965"],"photo_id":"1338831965","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90ec84064f82557f68c58486650d7de8.jpg","text":"TemporaryFile(/tmp/multipartBody7979409894479946023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142804295,"filename":"image_21022025_13_57_55_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338831965"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338831965"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.524855613708496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 13:59:32.439621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/58/image_21022025_13_58_55_9347.jpg', '/home/pi/Desktop/images/21022025/13/58/image_21022025_13_59_06_10420.jpg', '/home/pi/Desktop/images/21022025/13/59/image_21022025_13_59_36_10346.jpg', '/home/pi/Desktop/images/21022025/13/59/image_21022025_13_59_45_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/58/image_21022025_13_58_55_9347.jpg
/home/pi/Desktop/images/21022025/13/58/image_21022025_13_59_06_10420.jpg
/home/pi/Desktop/images/21022025/13/59/image_21022025_13_59_36_10346.jpg
/home/pi/Desktop/images/21022025/13/59/image_21022025_13_59_45_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338832382","1338832477","1338832474","1338832548"],"photo_ids_order":["1338832382","1338832474","1338832477","1338832548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b38dd65a8ddd19b97e394aef70f5bca6.jpg","text":"TemporaryFile(/tmp/multipartBody2298766823006657788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142832882,"filename":"image_21022025_13_58_55_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e6836aa24808f9de3d5e2313caf3ba1.jpg","text":"TemporaryFile(/tmp/multipartBody2134146369353971483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142832882,"filename":"image_21022025_13_59_36_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3dc73e8b3dfb77195d9941a0938ce678.jpg","text":"TemporaryFile(/tmp/multipartBody3528634997949888537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142832882,"filename":"image_21022025_13_59_06_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a4b096a5127d8e9698f2bdaa7b920f2.jpg","text":"TemporaryFile(/tmp/multipartBody7303958972127357274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142832882,"filename":"image_21022025_13_59_45_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338832477","file1":"1338832474","file0":"1338832382","file3":"1338832548"},"map_files_photo_id_array":[{"photo_id":"1338832477","filename":"file2"},{"photo_id":"1338832474","filename":"file1"},{"photo_id":"1338832382","filename":"file0"},{"photo_id":"1338832548","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338832382":["hashtag1","hashtag2"]},{"1338832477":["hashtag1","hashtag2"]},{"1338832474":["hashtag1","hashtag2"]},{"1338832548":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338832382, 1338832477, 1338832474, 1338832548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.34432864189148 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:00:03.610110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/44/image_20022025_16_44_17_10328.jpg', '/home/pi/Desktop/images/20022025/16/44/image_20022025_16_44_26_9304.jpg', '/home/pi/Desktop/images/20022025/16/45/image_20022025_16_45_16_9313.jpg', '/home/pi/Desktop/images/20022025/16/45/image_20022025_16_45_27_10419.jpg', '/home/pi/Desktop/images/20022025/16/45/image_20022025_16_45_37_10338.jpg', '/home/pi/Desktop/images/20022025/16/45/image_20022025_16_45_46_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/44/image_20022025_16_44_17_10328.jpg
/home/pi/Desktop/images/20022025/16/44/image_20022025_16_44_26_9304.jpg
/home/pi/Desktop/images/20022025/16/45/image_20022025_16_45_16_9313.jpg
/home/pi/Desktop/images/20022025/16/45/image_20022025_16_45_27_10419.jpg
/home/pi/Desktop/images/20022025/16/45/image_20022025_16_45_37_10338.jpg
/home/pi/Desktop/images/20022025/16/45/image_20022025_16_45_46_9331.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338832594","1338832582","1338832585","1338832588","1338832587","1338832590"],"photo_ids_order":["1338832582","1338832585","1338832587","1338832588","1338832590","1338832594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/21198584d615bfc87d4b8685254e8afc.jpg","text":"TemporaryFile(/tmp/multipartBody2778416995950594586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142865006,"filename":"image_20022025_16_45_46_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/28a3af8bfb067e778135e9d215b4af5b.jpg","text":"TemporaryFile(/tmp/multipartBody782045095097019249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142865006,"filename":"image_20022025_16_44_17_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/953e11acef7ff8b3bedef1c05b946430.jpg","text":"TemporaryFile(/tmp/multipartBody3156869846850172455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142865006,"filename":"image_20022025_16_44_26_9304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59eb094e1c754ae7b0e9e1083381e7d8.jpg","text":"TemporaryFile(/tmp/multipartBody6416694548238194639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142865006,"filename":"image_20022025_16_45_27_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c7935a98bd912eb0c98ae1316a5c890b.jpg","text":"TemporaryFile(/tmp/multipartBody2597851275548821813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142865006,"filename":"image_20022025_16_45_16_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/40b08b9c545e76c848c01ea0f59a0ee0.jpg","text":"TemporaryFile(/tmp/multipartBody6405036898884643260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142865006,"filename":"image_20022025_16_45_37_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338832587","file1":"1338832585","file0":"1338832582","file4":"1338832590","file5":"1338832594","file3":"1338832588"},"map_files_photo_id_array":[{"photo_id":"1338832594","filename":"file5"},{"photo_id":"1338832587","filename":"file2"},{"photo_id":"1338832590","filename":"file4"},{"photo_id":"1338832585","filename":"file1"},{"photo_id":"1338832582","filename":"file0"},{"photo_id":"1338832588","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338832594":["hashtag1","hashtag2"]},{"1338832582":["hashtag1","hashtag2"]},{"1338832585":["hashtag1","hashtag2"]},{"1338832588":["hashtag1","hashtag2"]},{"1338832587":["hashtag1","hashtag2"]},{"1338832590":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338832594, 1338832582, 1338832585, 1338832588, 1338832587, 1338832590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.262165546417236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:00:42.703344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/45/image_20022025_16_45_57_10375.jpg', '/home/pi/Desktop/images/20022025/16/46/image_20022025_16_46_27_10433.jpg', '/home/pi/Desktop/images/20022025/16/46/image_20022025_16_46_36_9330.jpg', '/home/pi/Desktop/images/20022025/16/46/image_20022025_16_46_57_10369.jpg', '/home/pi/Desktop/images/20022025/16/47/image_20022025_16_47_17_10362.jpg', '/home/pi/Desktop/images/20022025/16/47/image_20022025_16_47_47_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/45/image_20022025_16_45_57_10375.jpg
/home/pi/Desktop/images/20022025/16/46/image_20022025_16_46_27_10433.jpg
/home/pi/Desktop/images/20022025/16/46/image_20022025_16_46_36_9330.jpg
/home/pi/Desktop/images/20022025/16/46/image_20022025_16_46_57_10369.jpg
/home/pi/Desktop/images/20022025/16/47/image_20022025_16_47_17_10362.jpg
/home/pi/Desktop/images/20022025/16/47/image_20022025_16_47_47_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338832616","1338832633","1338832612","1338832624","1338832614","1338832608"],"photo_ids_order":["1338832608","1338832612","1338832614","1338832616","1338832624","1338832633"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a5c36766524b9b68898877a7b728129.jpg","text":"TemporaryFile(/tmp/multipartBody391896842883535568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142904037,"filename":"image_20022025_16_46_57_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a6fd491fd12718f8d6bc4915f59ee5c5.jpg","text":"TemporaryFile(/tmp/multipartBody1366035539957528552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142904037,"filename":"image_20022025_16_47_47_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eef2ebb1487e56585cad07d46bf99059.jpg","text":"TemporaryFile(/tmp/multipartBody5148449828239375239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142904037,"filename":"image_20022025_16_46_27_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3db5978e3bd59971c203fe2debfd7f29.jpg","text":"TemporaryFile(/tmp/multipartBody7679183080271393907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142904037,"filename":"image_20022025_16_47_17_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3b880c196d3e78833ee27faeab175046.jpg","text":"TemporaryFile(/tmp/multipartBody8403569447438038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142904037,"filename":"image_20022025_16_46_36_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c2b865f2bc24fbe1a23a39b6d1102b1e.jpg","text":"TemporaryFile(/tmp/multipartBody113884956331750861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142904037,"filename":"image_20022025_16_45_57_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338832614","file1":"1338832612","file0":"1338832608","file4":"1338832624","file5":"1338832633","file3":"1338832616"},"map_files_photo_id_array":[{"photo_id":"1338832633","filename":"file5"},{"photo_id":"1338832614","filename":"file2"},{"photo_id":"1338832624","filename":"file4"},{"photo_id":"1338832612","filename":"file1"},{"photo_id":"1338832608","filename":"file0"},{"photo_id":"1338832616","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338832616":["hashtag1","hashtag2"]},{"1338832633":["hashtag1","hashtag2"]},{"1338832612":["hashtag1","hashtag2"]},{"1338832624":["hashtag1","hashtag2"]},{"1338832614":["hashtag1","hashtag2"]},{"1338832608":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338832616, 1338832633, 1338832612, 1338832624, 1338832614, 1338832608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.275551557540894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:01:33.180423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/13/59/image_21022025_13_59_55_10367.jpg', '/home/pi/Desktop/images/21022025/14/01/image_21022025_14_01_15_10073.jpg', '/home/pi/Desktop/images/21022025/14/01/image_21022025_14_01_25_10359.jpg', '/home/pi/Desktop/images/21022025/14/01/image_21022025_14_01_36_10485.jpg', '/home/pi/Desktop/images/21022025/14/01/image_21022025_14_01_45_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/13/59/image_21022025_13_59_55_10367.jpg
/home/pi/Desktop/images/21022025/14/01/image_21022025_14_01_15_10073.jpg
/home/pi/Desktop/images/21022025/14/01/image_21022025_14_01_25_10359.jpg
/home/pi/Desktop/images/21022025/14/01/image_21022025_14_01_36_10485.jpg
/home/pi/Desktop/images/21022025/14/01/image_21022025_14_01_45_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338832694","1338832690","1338832680","1338832677","1338832697"],"photo_ids_order":["1338832677","1338832680","1338832690","1338832694","1338832697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d76490c2aa6654cbf0f6cf07a8e4c41a.jpg","text":"TemporaryFile(/tmp/multipartBody4200864685511198224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142953660,"filename":"image_21022025_14_01_36_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf7d3f2da20a693d17d9d8aa4434e135.jpg","text":"TemporaryFile(/tmp/multipartBody7983082569656835220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142953660,"filename":"image_21022025_14_01_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/446d1b20be8e8bfb0b3e3fff8ff1f33a.jpg","text":"TemporaryFile(/tmp/multipartBody23374535486766018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142953660,"filename":"image_21022025_14_01_15_10073.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a09f6f80d41cddac74a2473d9cc8b0d1.jpg","text":"TemporaryFile(/tmp/multipartBody5564222884979126098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142953660,"filename":"image_21022025_13_59_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7d11585837b92abfac3d36e323b31149.jpg","text":"TemporaryFile(/tmp/multipartBody4241673496362775811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740142953660,"filename":"image_21022025_14_01_45_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338832690","file1":"1338832680","file0":"1338832677","file4":"1338832697","file3":"1338832694"},"map_files_photo_id_array":[{"photo_id":"1338832690","filename":"file2"},{"photo_id":"1338832697","filename":"file4"},{"photo_id":"1338832680","filename":"file1"},{"photo_id":"1338832677","filename":"file0"},{"photo_id":"1338832694","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338832694":["hashtag1","hashtag2"]},{"1338832690":["hashtag1","hashtag2"]},{"1338832680":["hashtag1","hashtag2"]},{"1338832677":["hashtag1","hashtag2"]},{"1338832697":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338832694, 1338832690, 1338832680, 1338832677, 1338832697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.669918298721313 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:02:32.149762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/01/image_21022025_14_01_55_10369.jpg', '/home/pi/Desktop/images/21022025/14/01/image_21022025_14_02_05_9445.jpg', '/home/pi/Desktop/images/21022025/14/02/image_21022025_14_02_15_10349.jpg', '/home/pi/Desktop/images/21022025/14/02/image_21022025_14_02_26_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/01/image_21022025_14_01_55_10369.jpg
/home/pi/Desktop/images/21022025/14/01/image_21022025_14_02_05_9445.jpg
/home/pi/Desktop/images/21022025/14/02/image_21022025_14_02_15_10349.jpg
/home/pi/Desktop/images/21022025/14/02/image_21022025_14_02_26_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338832772","1338832769","1338832774","1338832778"],"photo_ids_order":["1338832769","1338832772","1338832774","1338832778"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f689b3f8e44bff1204a81f53e5564c39.jpg","text":"TemporaryFile(/tmp/multipartBody4473744420050640104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143012590,"filename":"image_21022025_14_02_05_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f31da90aef90562d9f9cd36f1365459.jpg","text":"TemporaryFile(/tmp/multipartBody2276313421944462812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143012590,"filename":"image_21022025_14_01_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf9435eba77fc2f8a84593ca4b7d9214.jpg","text":"TemporaryFile(/tmp/multipartBody5406623470851648116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143012590,"filename":"image_21022025_14_02_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06f69d3ea8cf854e46579af5ad14d098.jpg","text":"TemporaryFile(/tmp/multipartBody9013757421694695234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143012590,"filename":"image_21022025_14_02_26_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338832774","file1":"1338832772","file0":"1338832769","file3":"1338832778"},"map_files_photo_id_array":[{"photo_id":"1338832774","filename":"file2"},{"photo_id":"1338832772","filename":"file1"},{"photo_id":"1338832769","filename":"file0"},{"photo_id":"1338832778","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338832772":["hashtag1","hashtag2"]},{"1338832769":["hashtag1","hashtag2"]},{"1338832774":["hashtag1","hashtag2"]},{"1338832778":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338832772, 1338832769, 1338832774, 1338832778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.583143949508667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:03:04.142601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/47/image_20022025_16_47_56_9394.jpg', '/home/pi/Desktop/images/20022025/16/48/image_20022025_16_48_26_9342.jpg', '/home/pi/Desktop/images/20022025/16/48/image_20022025_16_48_37_10347.jpg', '/home/pi/Desktop/images/20022025/16/48/image_20022025_16_48_56_9342.jpg', '/home/pi/Desktop/images/20022025/16/48/image_20022025_16_49_07_10350.jpg', '/home/pi/Desktop/images/20022025/16/49/image_20022025_16_49_37_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/47/image_20022025_16_47_56_9394.jpg
/home/pi/Desktop/images/20022025/16/48/image_20022025_16_48_26_9342.jpg
/home/pi/Desktop/images/20022025/16/48/image_20022025_16_48_37_10347.jpg
/home/pi/Desktop/images/20022025/16/48/image_20022025_16_48_56_9342.jpg
/home/pi/Desktop/images/20022025/16/48/image_20022025_16_49_07_10350.jpg
/home/pi/Desktop/images/20022025/16/49/image_20022025_16_49_37_10429.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338832819","1338832822","1338832801","1338832804","1338832815","1338832790"],"photo_ids_order":["1338832790","1338832801","1338832804","1338832815","1338832819","1338832822"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4426516bc4f0266be30f933573234262.jpg","text":"TemporaryFile(/tmp/multipartBody6983998526687245450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143045920,"filename":"image_20022025_16_49_07_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7e6ebe5f5441f72964c170125f35345a.jpg","text":"TemporaryFile(/tmp/multipartBody1878820907970543327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143045920,"filename":"image_20022025_16_49_37_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/772193e2d7650d89fe57effd9533e705.jpg","text":"TemporaryFile(/tmp/multipartBody1584798476861414410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143045920,"filename":"image_20022025_16_48_26_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ab5322835479e4e36151a8511741158a.jpg","text":"TemporaryFile(/tmp/multipartBody6199027900970142055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143045920,"filename":"image_20022025_16_48_37_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff29dbb270ff3f926fbee48e061ac7ec.jpg","text":"TemporaryFile(/tmp/multipartBody120468477545453464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143045920,"filename":"image_20022025_16_48_56_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d9c5335eba1f77f7df592b983cfe6680.jpg","text":"TemporaryFile(/tmp/multipartBody5000098532092386696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143045920,"filename":"image_20022025_16_47_56_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338832804","file1":"1338832801","file0":"1338832790","file4":"1338832819","file5":"1338832822","file3":"1338832815"},"map_files_photo_id_array":[{"photo_id":"1338832822","filename":"file5"},{"photo_id":"1338832804","filename":"file2"},{"photo_id":"1338832819","filename":"file4"},{"photo_id":"1338832801","filename":"file1"},{"photo_id":"1338832790","filename":"file0"},{"photo_id":"1338832815","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338832819":["hashtag1","hashtag2"]},{"1338832822":["hashtag1","hashtag2"]},{"1338832801":["hashtag1","hashtag2"]},{"1338832804":["hashtag1","hashtag2"]},{"1338832815":["hashtag1","hashtag2"]},{"1338832790":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338832819, 1338832822, 1338832801, 1338832804, 1338832815, 1338832790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61500144004822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:03:42.325542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/02/image_21022025_14_02_35_9354.jpg', '/home/pi/Desktop/images/21022025/14/02/image_21022025_14_03_05_9400.jpg', '/home/pi/Desktop/images/21022025/14/03/image_21022025_14_03_16_10335.jpg', '/home/pi/Desktop/images/21022025/14/03/image_21022025_14_03_25_9394.jpg', '/home/pi/Desktop/images/21022025/14/03/image_21022025_14_03_35_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/02/image_21022025_14_02_35_9354.jpg
/home/pi/Desktop/images/21022025/14/02/image_21022025_14_03_05_9400.jpg
/home/pi/Desktop/images/21022025/14/03/image_21022025_14_03_16_10335.jpg
/home/pi/Desktop/images/21022025/14/03/image_21022025_14_03_25_9394.jpg
/home/pi/Desktop/images/21022025/14/03/image_21022025_14_03_35_10332.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3893706798553467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:03:52.404319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/02/image_21022025_14_02_35_9354.jpg', '/home/pi/Desktop/images/21022025/14/02/image_21022025_14_03_05_9400.jpg', '/home/pi/Desktop/images/21022025/14/03/image_21022025_14_03_16_10335.jpg', '/home/pi/Desktop/images/21022025/14/03/image_21022025_14_03_25_9394.jpg', '/home/pi/Desktop/images/21022025/14/03/image_21022025_14_03_35_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/02/image_21022025_14_02_35_9354.jpg
/home/pi/Desktop/images/21022025/14/02/image_21022025_14_03_05_9400.jpg
/home/pi/Desktop/images/21022025/14/03/image_21022025_14_03_16_10335.jpg
/home/pi/Desktop/images/21022025/14/03/image_21022025_14_03_25_9394.jpg
/home/pi/Desktop/images/21022025/14/03/image_21022025_14_03_35_10332.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338832853","1338832834","1338832848","1338832845","1338832997"],"photo_ids_order":["1338832834","1338832845","1338832848","1338832853","1338832997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/63583ab26d2726d485e5ae48fb4340be.jpg","text":"TemporaryFile(/tmp/multipartBody6069656138747094711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143092880,"filename":"image_21022025_14_03_25_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d5d3489c9aaa0aae854e14ede4cb24c5.jpg","text":"TemporaryFile(/tmp/multipartBody8175267451637864077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143092880,"filename":"image_21022025_14_02_35_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a0b0fd578bc484ad95793f2721bf8a92.jpg","text":"TemporaryFile(/tmp/multipartBody4612727488377946225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143092880,"filename":"image_21022025_14_03_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/856530b83650ff0db226a6698296d870.jpg","text":"TemporaryFile(/tmp/multipartBody1679414563585608366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143092880,"filename":"image_21022025_14_03_05_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/96305cb2de7d751d6af19970a889b0f6.jpg","text":"TemporaryFile(/tmp/multipartBody5604916853156663567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143092880,"filename":"image_21022025_14_03_35_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338832848","file1":"1338832845","file0":"1338832834","file4":"1338832997","file3":"1338832853"},"map_files_photo_id_array":[{"photo_id":"1338832848","filename":"file2"},{"photo_id":"1338832997","filename":"file4"},{"photo_id":"1338832845","filename":"file1"},{"photo_id":"1338832834","filename":"file0"},{"photo_id":"1338832853","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338832853":["hashtag1","hashtag2"]},{"1338832834":["hashtag1","hashtag2"]},{"1338832848":["hashtag1","hashtag2"]},{"1338832845":["hashtag1","hashtag2"]},{"1338832997":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338832853, 1338832834, 1338832848, 1338832845, 1338832997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.22425127029419 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:04:32.564957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/03/image_21022025_14_03_46_10404.jpg', '/home/pi/Desktop/images/21022025/14/03/image_21022025_14_04_05_10344.jpg', '/home/pi/Desktop/images/21022025/14/04/image_21022025_14_04_16_10426.jpg', '/home/pi/Desktop/images/21022025/14/04/image_21022025_14_04_25_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/03/image_21022025_14_03_46_10404.jpg
/home/pi/Desktop/images/21022025/14/03/image_21022025_14_04_05_10344.jpg
/home/pi/Desktop/images/21022025/14/04/image_21022025_14_04_16_10426.jpg
/home/pi/Desktop/images/21022025/14/04/image_21022025_14_04_25_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338833401","1338833400","1338833399","1338833403"],"photo_ids_order":["1338833399","1338833400","1338833401","1338833403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dfbd0419d3566cbe0186159c26f51c5d.jpg","text":"TemporaryFile(/tmp/multipartBody6347597414432694150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143133017,"filename":"image_21022025_14_04_16_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f558fd5ed1d7c5e0bb05a60013cd479a.jpg","text":"TemporaryFile(/tmp/multipartBody6478401299477170940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143133017,"filename":"image_21022025_14_04_05_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3dd82d4c2a9a937f6814dac8165b5737.jpg","text":"TemporaryFile(/tmp/multipartBody7773486807168371955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143133017,"filename":"image_21022025_14_03_46_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a353fa70ca07924007f4779cd4e599d.jpg","text":"TemporaryFile(/tmp/multipartBody1630161117168959790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143133017,"filename":"image_21022025_14_04_25_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338833401","file1":"1338833400","file0":"1338833399","file3":"1338833403"},"map_files_photo_id_array":[{"photo_id":"1338833401","filename":"file2"},{"photo_id":"1338833400","filename":"file1"},{"photo_id":"1338833399","filename":"file0"},{"photo_id":"1338833403","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338833401":["hashtag1","hashtag2"]},{"1338833400":["hashtag1","hashtag2"]},{"1338833399":["hashtag1","hashtag2"]},{"1338833403":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338833401, 1338833400, 1338833399, 1338833403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.16701650619507 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:05:04.524951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/49/image_20022025_16_49_46_9332.jpg', '/home/pi/Desktop/images/20022025/16/49/image_20022025_16_49_57_10441.jpg', '/home/pi/Desktop/images/20022025/16/50/image_20022025_16_50_37_10347.jpg', '/home/pi/Desktop/images/20022025/16/50/image_20022025_16_50_46_9339.jpg', '/home/pi/Desktop/images/20022025/16/52/image_20022025_16_52_17_10412.jpg', '/home/pi/Desktop/images/20022025/16/52/image_20022025_16_52_37_10483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/49/image_20022025_16_49_46_9332.jpg
/home/pi/Desktop/images/20022025/16/49/image_20022025_16_49_57_10441.jpg
/home/pi/Desktop/images/20022025/16/50/image_20022025_16_50_37_10347.jpg
/home/pi/Desktop/images/20022025/16/50/image_20022025_16_50_46_9339.jpg
/home/pi/Desktop/images/20022025/16/52/image_20022025_16_52_17_10412.jpg
/home/pi/Desktop/images/20022025/16/52/image_20022025_16_52_37_10483.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338833857","1338833889","1338833877","1338833676","1338833768","1338833840"],"photo_ids_order":["1338833676","1338833768","1338833840","1338833857","1338833877","1338833889"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc46f047316dd05a5346fa781582c5a3.jpg","text":"TemporaryFile(/tmp/multipartBody2991430177475062961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143166319,"filename":"image_20022025_16_50_46_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/daa3022d434b413c16dc9d12be84caa9.jpg","text":"TemporaryFile(/tmp/multipartBody634522152711281471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143166319,"filename":"image_20022025_16_52_37_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7a0c67d07793460e8c96eb3e7d19d1b.jpg","text":"TemporaryFile(/tmp/multipartBody8699659475886536037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143166319,"filename":"image_20022025_16_52_17_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b4714aa794a0417ffc654ac727b4409e.jpg","text":"TemporaryFile(/tmp/multipartBody3422207727386919153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143166319,"filename":"image_20022025_16_49_46_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c68888e23a307ee4f8efc725103f6943.jpg","text":"TemporaryFile(/tmp/multipartBody9134375732320534236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143166319,"filename":"image_20022025_16_49_57_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a85179ef968e84abcbadaae0595e7926.jpg","text":"TemporaryFile(/tmp/multipartBody6014254346179334845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143166319,"filename":"image_20022025_16_50_37_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338833840","file1":"1338833768","file0":"1338833676","file4":"1338833877","file5":"1338833889","file3":"1338833857"},"map_files_photo_id_array":[{"photo_id":"1338833889","filename":"file5"},{"photo_id":"1338833840","filename":"file2"},{"photo_id":"1338833877","filename":"file4"},{"photo_id":"1338833768","filename":"file1"},{"photo_id":"1338833676","filename":"file0"},{"photo_id":"1338833857","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338833857":["hashtag1","hashtag2"]},{"1338833889":["hashtag1","hashtag2"]},{"1338833877":["hashtag1","hashtag2"]},{"1338833676":["hashtag1","hashtag2"]},{"1338833768":["hashtag1","hashtag2"]},{"1338833840":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338833857, 1338833889, 1338833877, 1338833676, 1338833768, 1338833840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69388484954834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:05:42.805029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/04/image_21022025_14_04_55_10369.jpg', '/home/pi/Desktop/images/21022025/14/04/image_21022025_14_05_06_10385.jpg', '/home/pi/Desktop/images/21022025/14/05/image_21022025_14_05_15_9381.jpg', '/home/pi/Desktop/images/21022025/14/05/image_21022025_14_05_25_10386.jpg', '/home/pi/Desktop/images/21022025/14/05/image_21022025_14_05_35_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/04/image_21022025_14_04_55_10369.jpg
/home/pi/Desktop/images/21022025/14/04/image_21022025_14_05_06_10385.jpg
/home/pi/Desktop/images/21022025/14/05/image_21022025_14_05_15_9381.jpg
/home/pi/Desktop/images/21022025/14/05/image_21022025_14_05_25_10386.jpg
/home/pi/Desktop/images/21022025/14/05/image_21022025_14_05_35_9448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338833933","1338833912","1338833909","1338833911","1338833904"],"photo_ids_order":["1338833904","1338833909","1338833911","1338833912","1338833933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1b727ec0800da9c9b57117cdb94b047.jpg","text":"TemporaryFile(/tmp/multipartBody382495839355405364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143203265,"filename":"image_21022025_14_05_35_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75522f6cf4a474ec28df3f7815f3c675.jpg","text":"TemporaryFile(/tmp/multipartBody8294100300347295288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143203265,"filename":"image_21022025_14_05_25_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e9e485494e91023a3345d7f699bf6fc1.jpg","text":"TemporaryFile(/tmp/multipartBody7542465616482010697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143203265,"filename":"image_21022025_14_05_06_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3aaedc7138acd5a8a0a2c14f1aa005c8.jpg","text":"TemporaryFile(/tmp/multipartBody2711893517404179240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143203265,"filename":"image_21022025_14_05_15_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2427ac55a4c3c8e746cde7e383fafa1f.jpg","text":"TemporaryFile(/tmp/multipartBody1075763251759450008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143203265,"filename":"image_21022025_14_04_55_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338833911","file1":"1338833909","file0":"1338833904","file4":"1338833933","file3":"1338833912"},"map_files_photo_id_array":[{"photo_id":"1338833911","filename":"file2"},{"photo_id":"1338833933","filename":"file4"},{"photo_id":"1338833909","filename":"file1"},{"photo_id":"1338833904","filename":"file0"},{"photo_id":"1338833912","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338833933":["hashtag1","hashtag2"]},{"1338833912":["hashtag1","hashtag2"]},{"1338833909":["hashtag1","hashtag2"]},{"1338833911":["hashtag1","hashtag2"]},{"1338833904":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338833933, 1338833912, 1338833909, 1338833911, 1338833904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.047518491744995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:06:33.075548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/05/image_21022025_14_05_56_10463.jpg', '/home/pi/Desktop/images/21022025/14/05/image_21022025_14_06_05_9331.jpg', '/home/pi/Desktop/images/21022025/14/06/image_21022025_14_06_25_9439.jpg', '/home/pi/Desktop/images/21022025/14/06/image_21022025_14_06_35_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/05/image_21022025_14_05_56_10463.jpg
/home/pi/Desktop/images/21022025/14/05/image_21022025_14_06_05_9331.jpg
/home/pi/Desktop/images/21022025/14/06/image_21022025_14_06_25_9439.jpg
/home/pi/Desktop/images/21022025/14/06/image_21022025_14_06_35_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338834022","1338834010","1338834012","1338834026"],"photo_ids_order":["1338834010","1338834012","1338834022","1338834026"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f59637326a4b6cdda5ebb60e7670ca58.jpg","text":"TemporaryFile(/tmp/multipartBody3290164761881960900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143253528,"filename":"image_21022025_14_06_25_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff4ea878914754ef0a80b338344a85fd.jpg","text":"TemporaryFile(/tmp/multipartBody4118711027180427025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143253528,"filename":"image_21022025_14_05_56_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/31d667c462fa1988af9c67b2bc935199.jpg","text":"TemporaryFile(/tmp/multipartBody6204425247325909132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143253528,"filename":"image_21022025_14_06_05_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7e65374a5987deea780594d318ba0f52.jpg","text":"TemporaryFile(/tmp/multipartBody9172934805404876154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143253528,"filename":"image_21022025_14_06_35_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338834022","file1":"1338834012","file0":"1338834010","file3":"1338834026"},"map_files_photo_id_array":[{"photo_id":"1338834022","filename":"file2"},{"photo_id":"1338834012","filename":"file1"},{"photo_id":"1338834010","filename":"file0"},{"photo_id":"1338834026","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338834022":["hashtag1","hashtag2"]},{"1338834010":["hashtag1","hashtag2"]},{"1338834012":["hashtag1","hashtag2"]},{"1338834026":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338834022, 1338834010, 1338834012, 1338834026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.9720675945282 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:07:03.552744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/52/image_20022025_16_52_47_10323.jpg', '/home/pi/Desktop/images/20022025/16/52/image_20022025_16_53_07_10336.jpg', '/home/pi/Desktop/images/20022025/16/53/image_20022025_16_53_17_10348.jpg', '/home/pi/Desktop/images/20022025/16/53/image_20022025_16_53_37_10355.jpg', '/home/pi/Desktop/images/20022025/16/53/image_20022025_16_53_47_10327.jpg', '/home/pi/Desktop/images/20022025/16/53/image_20022025_16_53_56_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/52/image_20022025_16_52_47_10323.jpg
/home/pi/Desktop/images/20022025/16/52/image_20022025_16_53_07_10336.jpg
/home/pi/Desktop/images/20022025/16/53/image_20022025_16_53_17_10348.jpg
/home/pi/Desktop/images/20022025/16/53/image_20022025_16_53_37_10355.jpg
/home/pi/Desktop/images/20022025/16/53/image_20022025_16_53_47_10327.jpg
/home/pi/Desktop/images/20022025/16/53/image_20022025_16_53_56_9349.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338834052","1338834040","1338834043","1338834051","1338834048","1338834056"],"photo_ids_order":["1338834040","1338834043","1338834048","1338834051","1338834052","1338834056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/85a6be1d644af8775892f92b4c6ae85c.jpg","text":"TemporaryFile(/tmp/multipartBody3383342606178529904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143285324,"filename":"image_20022025_16_53_47_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b4347a81d4f38458e56f972dbc99f939.jpg","text":"TemporaryFile(/tmp/multipartBody2931258867532333570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143285324,"filename":"image_20022025_16_52_47_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/51af1b2708708a86087b422f5ccda551.jpg","text":"TemporaryFile(/tmp/multipartBody2560197004115798064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143285324,"filename":"image_20022025_16_53_07_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d6334cf40d3be3c8c2e22249d4484713.jpg","text":"TemporaryFile(/tmp/multipartBody3715023515742776861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143285324,"filename":"image_20022025_16_53_37_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e31b9bdaf9e942ac81e1e5bcadf46b73.jpg","text":"TemporaryFile(/tmp/multipartBody8029325895380604259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143285324,"filename":"image_20022025_16_53_17_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8fbf785f6b1286317a9f1d570227751d.jpg","text":"TemporaryFile(/tmp/multipartBody7356978471851711096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143285324,"filename":"image_20022025_16_53_56_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338834048","file1":"1338834043","file0":"1338834040","file4":"1338834052","file5":"1338834056","file3":"1338834051"},"map_files_photo_id_array":[{"photo_id":"1338834056","filename":"file5"},{"photo_id":"1338834048","filename":"file2"},{"photo_id":"1338834052","filename":"file4"},{"photo_id":"1338834043","filename":"file1"},{"photo_id":"1338834040","filename":"file0"},{"photo_id":"1338834051","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338834052":["hashtag1","hashtag2"]},{"1338834040":["hashtag1","hashtag2"]},{"1338834043":["hashtag1","hashtag2"]},{"1338834051":["hashtag1","hashtag2"]},{"1338834048":["hashtag1","hashtag2"]},{"1338834056":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338834052, 1338834040, 1338834043, 1338834051, 1338834048, 1338834056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35206699371338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:07:42.237022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/06/image_21022025_14_06_46_10339.jpg', '/home/pi/Desktop/images/21022025/14/07/image_21022025_14_07_35_10331.jpg', '/home/pi/Desktop/images/21022025/14/07/image_21022025_14_07_45_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/06/image_21022025_14_06_46_10339.jpg
/home/pi/Desktop/images/21022025/14/07/image_21022025_14_07_35_10331.jpg
/home/pi/Desktop/images/21022025/14/07/image_21022025_14_07_45_9451.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338834081","1338834078","1338834074"],"photo_ids_order":["1338834074","1338834078","1338834081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a039b97699ed7302872005aa8fcae467.jpg","text":"TemporaryFile(/tmp/multipartBody5025746136741855209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143322671,"filename":"image_21022025_14_07_45_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1312eb5fd486bd110a9f402ee04de945.jpg","text":"TemporaryFile(/tmp/multipartBody1843339876553544061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143322671,"filename":"image_21022025_14_07_35_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5acec620ba37186ca1eb9d90f4448404.jpg","text":"TemporaryFile(/tmp/multipartBody7983044280910821893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143322671,"filename":"image_21022025_14_06_46_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338834081","file1":"1338834078","file0":"1338834074"},"map_files_photo_id_array":[{"photo_id":"1338834081","filename":"file2"},{"photo_id":"1338834078","filename":"file1"},{"photo_id":"1338834074","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338834081":["hashtag1","hashtag2"]},{"1338834078":["hashtag1","hashtag2"]},{"1338834074":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338834081, 1338834078, 1338834074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.317497730255127 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:08:32.400103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/07/image_21022025_14_07_55_10347.jpg', '/home/pi/Desktop/images/21022025/14/07/image_21022025_14_08_06_10399.jpg', '/home/pi/Desktop/images/21022025/14/08/image_21022025_14_08_15_9310.jpg', '/home/pi/Desktop/images/21022025/14/08/image_21022025_14_08_36_10371.jpg', '/home/pi/Desktop/images/21022025/14/08/image_21022025_14_08_45_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/07/image_21022025_14_07_55_10347.jpg
/home/pi/Desktop/images/21022025/14/07/image_21022025_14_08_06_10399.jpg
/home/pi/Desktop/images/21022025/14/08/image_21022025_14_08_15_9310.jpg
/home/pi/Desktop/images/21022025/14/08/image_21022025_14_08_36_10371.jpg
/home/pi/Desktop/images/21022025/14/08/image_21022025_14_08_45_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338834172","1338834098","1338834179","1338834101","1338834175"],"photo_ids_order":["1338834098","1338834101","1338834172","1338834175","1338834179"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fffb8820cd0b017ab9738e0cf684e40b.jpg","text":"TemporaryFile(/tmp/multipartBody1454572990938637702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143372864,"filename":"image_21022025_14_08_15_9310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/085511614f375a88dbfb66e02dec0cba.jpg","text":"TemporaryFile(/tmp/multipartBody1052545399293669942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143372864,"filename":"image_21022025_14_07_55_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f2caedb34ef32e6de76f86673632c39.jpg","text":"TemporaryFile(/tmp/multipartBody1982468884261806501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143372864,"filename":"image_21022025_14_08_45_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/25cc668dd141be2464900569c61c92c3.jpg","text":"TemporaryFile(/tmp/multipartBody680765120355192104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143372864,"filename":"image_21022025_14_08_06_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d584a27cded26bd58f9fbd2c76d16f2b.jpg","text":"TemporaryFile(/tmp/multipartBody8094772244533251030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143372864,"filename":"image_21022025_14_08_36_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338834172","file1":"1338834101","file0":"1338834098","file4":"1338834179","file3":"1338834175"},"map_files_photo_id_array":[{"photo_id":"1338834172","filename":"file2"},{"photo_id":"1338834179","filename":"file4"},{"photo_id":"1338834101","filename":"file1"},{"photo_id":"1338834098","filename":"file0"},{"photo_id":"1338834175","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338834172":["hashtag1","hashtag2"]},{"1338834098":["hashtag1","hashtag2"]},{"1338834179":["hashtag1","hashtag2"]},{"1338834101":["hashtag1","hashtag2"]},{"1338834175":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338834172, 1338834098, 1338834179, 1338834101, 1338834175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.420164585113525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:09:04.302918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/53/image_20022025_16_54_07_10354.jpg', '/home/pi/Desktop/images/20022025/16/54/image_20022025_16_54_46_9321.jpg', '/home/pi/Desktop/images/20022025/16/54/image_20022025_16_54_56_10331.jpg', '/home/pi/Desktop/images/20022025/16/55/image_20022025_16_55_16_9320.jpg', '/home/pi/Desktop/images/20022025/16/55/image_20022025_16_55_46_9316.jpg', '/home/pi/Desktop/images/20022025/16/55/image_20022025_16_55_57_10465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/53/image_20022025_16_54_07_10354.jpg
/home/pi/Desktop/images/20022025/16/54/image_20022025_16_54_46_9321.jpg
/home/pi/Desktop/images/20022025/16/54/image_20022025_16_54_56_10331.jpg
/home/pi/Desktop/images/20022025/16/55/image_20022025_16_55_16_9320.jpg
/home/pi/Desktop/images/20022025/16/55/image_20022025_16_55_46_9316.jpg
/home/pi/Desktop/images/20022025/16/55/image_20022025_16_55_57_10465.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338834190","1338834202","1338834194","1338834188","1338834200","1338834196"],"photo_ids_order":["1338834188","1338834190","1338834194","1338834196","1338834200","1338834202"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d434bc5af23756b8e2edb35454d39a23.jpg","text":"TemporaryFile(/tmp/multipartBody2320286735528174247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143406205,"filename":"image_20022025_16_54_46_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ac3352407ccfed23deda78c32170c2c.jpg","text":"TemporaryFile(/tmp/multipartBody5594784509820144796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143406205,"filename":"image_20022025_16_55_57_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c5131269f66799b46288878d43106fdb.jpg","text":"TemporaryFile(/tmp/multipartBody3224964954861520228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143406205,"filename":"image_20022025_16_54_56_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/425d52c40ced95d26a97831de3376baa.jpg","text":"TemporaryFile(/tmp/multipartBody1510538102845879637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143406205,"filename":"image_20022025_16_54_07_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1798372d76cdb7abe3d9686bd3d2ecfe.jpg","text":"TemporaryFile(/tmp/multipartBody5720997281968437435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143406205,"filename":"image_20022025_16_55_46_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/05764aa23e297f76d8ba55132d1d3a49.jpg","text":"TemporaryFile(/tmp/multipartBody3128570211299269176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143406205,"filename":"image_20022025_16_55_16_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338834194","file1":"1338834190","file0":"1338834188","file4":"1338834200","file5":"1338834202","file3":"1338834196"},"map_files_photo_id_array":[{"photo_id":"1338834202","filename":"file5"},{"photo_id":"1338834194","filename":"file2"},{"photo_id":"1338834200","filename":"file4"},{"photo_id":"1338834190","filename":"file1"},{"photo_id":"1338834188","filename":"file0"},{"photo_id":"1338834196","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338834190":["hashtag1","hashtag2"]},{"1338834202":["hashtag1","hashtag2"]},{"1338834194":["hashtag1","hashtag2"]},{"1338834188":["hashtag1","hashtag2"]},{"1338834200":["hashtag1","hashtag2"]},{"1338834196":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338834190, 1338834202, 1338834194, 1338834188, 1338834200, 1338834196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44285202026367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:09:42.557197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/08/image_21022025_14_08_55_10339.jpg', '/home/pi/Desktop/images/21022025/14/08/image_21022025_14_09_06_10406.jpg', '/home/pi/Desktop/images/21022025/14/09/image_21022025_14_09_15_9321.jpg', '/home/pi/Desktop/images/21022025/14/09/image_21022025_14_09_25_10365.jpg', '/home/pi/Desktop/images/21022025/14/09/image_21022025_14_09_35_9440.jpg', '/home/pi/Desktop/images/21022025/14/09/image_21022025_14_09_45_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/08/image_21022025_14_08_55_10339.jpg
/home/pi/Desktop/images/21022025/14/08/image_21022025_14_09_06_10406.jpg
/home/pi/Desktop/images/21022025/14/09/image_21022025_14_09_15_9321.jpg
/home/pi/Desktop/images/21022025/14/09/image_21022025_14_09_25_10365.jpg
/home/pi/Desktop/images/21022025/14/09/image_21022025_14_09_35_9440.jpg
/home/pi/Desktop/images/21022025/14/09/image_21022025_14_09_45_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338834211","1338834214","1338834208","1338834217","1338834221","1338834218"],"photo_ids_order":["1338834208","1338834211","1338834214","1338834217","1338834218","1338834221"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74359bd093967743173cb0a8e5880b25.jpg","text":"TemporaryFile(/tmp/multipartBody3235068135486099028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143443026,"filename":"image_21022025_14_09_06_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9333b1e9b026abaa6ff87696e84a01cc.jpg","text":"TemporaryFile(/tmp/multipartBody4014897991811287874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143443026,"filename":"image_21022025_14_09_15_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/779c83e7840682c1bb6fec4625284256.jpg","text":"TemporaryFile(/tmp/multipartBody2482256868612902201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143443026,"filename":"image_21022025_14_08_55_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c65506214a79495f002d9b489407bf4f.jpg","text":"TemporaryFile(/tmp/multipartBody935438052481779217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143443026,"filename":"image_21022025_14_09_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5971d4f5b9056004a4f5b063473906c9.jpg","text":"TemporaryFile(/tmp/multipartBody3536689521574374043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143443026,"filename":"image_21022025_14_09_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8a12b9b1d0c767cceba12afc4c1f519.jpg","text":"TemporaryFile(/tmp/multipartBody5784525282103127143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143443026,"filename":"image_21022025_14_09_35_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338834214","file1":"1338834211","file0":"1338834208","file4":"1338834218","file5":"1338834221","file3":"1338834217"},"map_files_photo_id_array":[{"photo_id":"1338834221","filename":"file5"},{"photo_id":"1338834214","filename":"file2"},{"photo_id":"1338834218","filename":"file4"},{"photo_id":"1338834211","filename":"file1"},{"photo_id":"1338834208","filename":"file0"},{"photo_id":"1338834217","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338834211":["hashtag1","hashtag2"]},{"1338834214":["hashtag1","hashtag2"]},{"1338834208":["hashtag1","hashtag2"]},{"1338834217":["hashtag1","hashtag2"]},{"1338834221":["hashtag1","hashtag2"]},{"1338834218":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338834211, 1338834214, 1338834208, 1338834217, 1338834221, 1338834218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45619177818298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:10:32.840886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/09/image_21022025_14_09_56_10392.jpg', '/home/pi/Desktop/images/21022025/14/09/image_21022025_14_10_05_9419.jpg', '/home/pi/Desktop/images/21022025/14/10/image_21022025_14_10_15_10354.jpg', '/home/pi/Desktop/images/21022025/14/10/image_21022025_14_10_25_9413.jpg', '/home/pi/Desktop/images/21022025/14/10/image_21022025_14_10_35_10343.jpg', '/home/pi/Desktop/images/21022025/14/10/image_21022025_14_10_46_10468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/09/image_21022025_14_09_56_10392.jpg
/home/pi/Desktop/images/21022025/14/09/image_21022025_14_10_05_9419.jpg
/home/pi/Desktop/images/21022025/14/10/image_21022025_14_10_15_10354.jpg
/home/pi/Desktop/images/21022025/14/10/image_21022025_14_10_25_9413.jpg
/home/pi/Desktop/images/21022025/14/10/image_21022025_14_10_35_10343.jpg
/home/pi/Desktop/images/21022025/14/10/image_21022025_14_10_46_10468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338834259","1338834253","1338834247","1338834251","1338834245","1338834248"],"photo_ids_order":["1338834245","1338834247","1338834248","1338834251","1338834253","1338834259"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dbc6e9fb3cce0d74dbb0e23864f3d495.jpg","text":"TemporaryFile(/tmp/multipartBody2439837765698753065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143493328,"filename":"image_21022025_14_10_46_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/22b2d02b7e0f2ed645d947ede1f213d4.jpg","text":"TemporaryFile(/tmp/multipartBody5469816856668677725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143493328,"filename":"image_21022025_14_10_35_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9063c3964dfbbbd77d5313f12f0e9b65.jpg","text":"TemporaryFile(/tmp/multipartBody1693928273485820477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143493328,"filename":"image_21022025_14_10_05_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/794681f8f427b6290bfbd139af22c26d.jpg","text":"TemporaryFile(/tmp/multipartBody3924005053624001143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143493328,"filename":"image_21022025_14_10_25_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/11a25859281063012c22d95f35692c9c.jpg","text":"TemporaryFile(/tmp/multipartBody2517233115722188343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143493328,"filename":"image_21022025_14_09_56_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e13d719b6966a8057b81211f7bb760e.jpg","text":"TemporaryFile(/tmp/multipartBody627034215058683798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143493328,"filename":"image_21022025_14_10_15_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338834248","file1":"1338834247","file0":"1338834245","file4":"1338834253","file5":"1338834259","file3":"1338834251"},"map_files_photo_id_array":[{"photo_id":"1338834259","filename":"file5"},{"photo_id":"1338834248","filename":"file2"},{"photo_id":"1338834253","filename":"file4"},{"photo_id":"1338834247","filename":"file1"},{"photo_id":"1338834245","filename":"file0"},{"photo_id":"1338834251","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338834259":["hashtag1","hashtag2"]},{"1338834253":["hashtag1","hashtag2"]},{"1338834247":["hashtag1","hashtag2"]},{"1338834251":["hashtag1","hashtag2"]},{"1338834245":["hashtag1","hashtag2"]},{"1338834248":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338834259, 1338834253, 1338834247, 1338834251, 1338834245, 1338834248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63529396057129 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:11:33.161567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/10/image_21022025_14_10_55_9418.jpg', '/home/pi/Desktop/images/21022025/14/10/image_21022025_14_11_05_10334.jpg', '/home/pi/Desktop/images/21022025/14/11/image_21022025_14_11_45_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/10/image_21022025_14_10_55_9418.jpg
/home/pi/Desktop/images/21022025/14/10/image_21022025_14_11_05_10334.jpg
/home/pi/Desktop/images/21022025/14/11/image_21022025_14_11_45_9405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338834273","1338834278","1338834275"],"photo_ids_order":["1338834273","1338834275","1338834278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a0020481ac8ab3f73c69528c2628471.jpg","text":"TemporaryFile(/tmp/multipartBody8123316351912480979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143553611,"filename":"image_21022025_14_10_55_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/563bd7e943f671ba29f83889719e1170.jpg","text":"TemporaryFile(/tmp/multipartBody2077917853793465871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143553611,"filename":"image_21022025_14_11_45_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/97e3276c59f1a133be96689bc0cc69e7.jpg","text":"TemporaryFile(/tmp/multipartBody8197542504478603492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143553611,"filename":"image_21022025_14_11_05_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338834278","file1":"1338834275","file0":"1338834273"},"map_files_photo_id_array":[{"photo_id":"1338834278","filename":"file2"},{"photo_id":"1338834275","filename":"file1"},{"photo_id":"1338834273","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338834273":["hashtag1","hashtag2"]},{"1338834278":["hashtag1","hashtag2"]},{"1338834275":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338834273, 1338834278, 1338834275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.470233917236328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:12:02.963791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/55/image_20022025_16_56_06_9426.jpg', '/home/pi/Desktop/images/20022025/16/56/image_20022025_16_56_17_10405.jpg', '/home/pi/Desktop/images/20022025/16/56/image_20022025_16_56_27_10246.jpg', '/home/pi/Desktop/images/20022025/16/56/image_20022025_16_56_47_10418.jpg', '/home/pi/Desktop/images/20022025/16/56/image_20022025_16_56_57_10359.jpg', '/home/pi/Desktop/images/20022025/16/57/image_20022025_16_57_17_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/55/image_20022025_16_56_06_9426.jpg
/home/pi/Desktop/images/20022025/16/56/image_20022025_16_56_17_10405.jpg
/home/pi/Desktop/images/20022025/16/56/image_20022025_16_56_27_10246.jpg
/home/pi/Desktop/images/20022025/16/56/image_20022025_16_56_47_10418.jpg
/home/pi/Desktop/images/20022025/16/56/image_20022025_16_56_57_10359.jpg
/home/pi/Desktop/images/20022025/16/57/image_20022025_16_57_17_10412.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338834294","1338834288","1338834290","1338834302","1338834292","1338834295"],"photo_ids_order":["1338834288","1338834290","1338834292","1338834294","1338834295","1338834302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/93f7b5a414f5808f1269caa804b929e3.jpg","text":"TemporaryFile(/tmp/multipartBody8698444128289378893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143584354,"filename":"image_20022025_16_56_47_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cb0963ca161475046633b6f73af948ec.jpg","text":"TemporaryFile(/tmp/multipartBody4096323721746082149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143584354,"filename":"image_20022025_16_56_06_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dbcc260294440a8d43f596c2f9eed81c.jpg","text":"TemporaryFile(/tmp/multipartBody1530147377242531836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143584354,"filename":"image_20022025_16_56_17_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3974b387506e14430685a77bfb84457a.jpg","text":"TemporaryFile(/tmp/multipartBody3047276620615820128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143584354,"filename":"image_20022025_16_57_17_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6fa8b1867c7f5c0679a5c69604e97730.jpg","text":"TemporaryFile(/tmp/multipartBody1153478424855583654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143584354,"filename":"image_20022025_16_56_27_10246.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9d38d07d651336df02f655d427885203.jpg","text":"TemporaryFile(/tmp/multipartBody2632382353435540848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143584354,"filename":"image_20022025_16_56_57_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338834292","file1":"1338834290","file0":"1338834288","file4":"1338834295","file5":"1338834302","file3":"1338834294"},"map_files_photo_id_array":[{"photo_id":"1338834302","filename":"file5"},{"photo_id":"1338834292","filename":"file2"},{"photo_id":"1338834295","filename":"file4"},{"photo_id":"1338834290","filename":"file1"},{"photo_id":"1338834288","filename":"file0"},{"photo_id":"1338834294","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338834294":["hashtag1","hashtag2"]},{"1338834288":["hashtag1","hashtag2"]},{"1338834290":["hashtag1","hashtag2"]},{"1338834302":["hashtag1","hashtag2"]},{"1338834292":["hashtag1","hashtag2"]},{"1338834295":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338834294, 1338834288, 1338834290, 1338834302, 1338834292, 1338834295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.53403639793396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:12:42.185375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/11/image_21022025_14_11_55_10374.jpg', '/home/pi/Desktop/images/21022025/14/11/image_21022025_14_12_06_10400.jpg', '/home/pi/Desktop/images/21022025/14/12/image_21022025_14_12_15_9343.jpg', '/home/pi/Desktop/images/21022025/14/12/image_21022025_14_12_25_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/11/image_21022025_14_11_55_10374.jpg
/home/pi/Desktop/images/21022025/14/11/image_21022025_14_12_06_10400.jpg
/home/pi/Desktop/images/21022025/14/12/image_21022025_14_12_15_9343.jpg
/home/pi/Desktop/images/21022025/14/12/image_21022025_14_12_25_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338834313","1338834321","1338834324","1338834317"],"photo_ids_order":["1338834313","1338834317","1338834321","1338834324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/175b8ceb4e85685957ae63a59e4d4e5b.jpg","text":"TemporaryFile(/tmp/multipartBody7409932895508583062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143622627,"filename":"image_21022025_14_11_55_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59e45d00624ed488e26bb0a988cc82d3.jpg","text":"TemporaryFile(/tmp/multipartBody4708823484653462470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143622627,"filename":"image_21022025_14_12_15_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f4fca7ad71099dbeec10f036ca15b75e.jpg","text":"TemporaryFile(/tmp/multipartBody6480074468923226355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143622627,"filename":"image_21022025_14_12_25_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/085a33ab72827bb68337ee5c825b8c89.jpg","text":"TemporaryFile(/tmp/multipartBody712952957518548509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143622627,"filename":"image_21022025_14_12_06_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338834321","file1":"1338834317","file0":"1338834313","file3":"1338834324"},"map_files_photo_id_array":[{"photo_id":"1338834321","filename":"file2"},{"photo_id":"1338834317","filename":"file1"},{"photo_id":"1338834313","filename":"file0"},{"photo_id":"1338834324","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338834313":["hashtag1","hashtag2"]},{"1338834321":["hashtag1","hashtag2"]},{"1338834324":["hashtag1","hashtag2"]},{"1338834317":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338834313, 1338834321, 1338834324, 1338834317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.216891527175903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:13:32.522308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/12/image_21022025_14_12_45_9417.jpg', '/home/pi/Desktop/images/21022025/14/12/image_21022025_14_13_05_9375.jpg', '/home/pi/Desktop/images/21022025/14/13/image_21022025_14_13_26_10446.jpg', '/home/pi/Desktop/images/21022025/14/13/image_21022025_14_13_35_9329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/12/image_21022025_14_12_45_9417.jpg
/home/pi/Desktop/images/21022025/14/12/image_21022025_14_13_05_9375.jpg
/home/pi/Desktop/images/21022025/14/13/image_21022025_14_13_26_10446.jpg
/home/pi/Desktop/images/21022025/14/13/image_21022025_14_13_35_9329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338834418","1338834415","1338834409","1338834411"],"photo_ids_order":["1338834409","1338834411","1338834415","1338834418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dd36d8d5c0e212ebccf3cde3a7ff31cc.jpg","text":"TemporaryFile(/tmp/multipartBody3105934493536887326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143672970,"filename":"image_21022025_14_13_35_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d4216412e064db71b171c52745319a61.jpg","text":"TemporaryFile(/tmp/multipartBody2305667905821580939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143672970,"filename":"image_21022025_14_13_26_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dc58b2dcf111df6a343448cdb20a68e1.jpg","text":"TemporaryFile(/tmp/multipartBody2908601427898678063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143672970,"filename":"image_21022025_14_12_45_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8f44f0f15c0f1401001f6c61b6f15a4c.jpg","text":"TemporaryFile(/tmp/multipartBody1053543409732099442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143672970,"filename":"image_21022025_14_13_05_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338834415","file1":"1338834411","file0":"1338834409","file3":"1338834418"},"map_files_photo_id_array":[{"photo_id":"1338834415","filename":"file2"},{"photo_id":"1338834411","filename":"file1"},{"photo_id":"1338834409","filename":"file0"},{"photo_id":"1338834418","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338834418":["hashtag1","hashtag2"]},{"1338834415":["hashtag1","hashtag2"]},{"1338834409":["hashtag1","hashtag2"]},{"1338834411":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338834418, 1338834415, 1338834409, 1338834411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.957020044326782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:14:03.471504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/57/image_20022025_16_57_27_10348.jpg', '/home/pi/Desktop/images/20022025/16/57/image_20022025_16_57_56_9344.jpg', '/home/pi/Desktop/images/20022025/16/57/image_20022025_16_58_06_10416.jpg', '/home/pi/Desktop/images/20022025/16/58/image_20022025_16_58_17_10440.jpg', '/home/pi/Desktop/images/20022025/16/58/image_20022025_16_58_26_9326.jpg', '/home/pi/Desktop/images/20022025/16/58/image_20022025_16_58_46_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/57/image_20022025_16_57_27_10348.jpg
/home/pi/Desktop/images/20022025/16/57/image_20022025_16_57_56_9344.jpg
/home/pi/Desktop/images/20022025/16/57/image_20022025_16_58_06_10416.jpg
/home/pi/Desktop/images/20022025/16/58/image_20022025_16_58_17_10440.jpg
/home/pi/Desktop/images/20022025/16/58/image_20022025_16_58_26_9326.jpg
/home/pi/Desktop/images/20022025/16/58/image_20022025_16_58_46_9426.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338834469","1338834478","1338834480","1338834476","1338834484","1338834472"],"photo_ids_order":["1338834469","1338834472","1338834476","1338834478","1338834480","1338834484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a67603be7726c6e4317bfd747bb59ae5.jpg","text":"TemporaryFile(/tmp/multipartBody5931216219845263682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143704910,"filename":"image_20022025_16_57_27_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/63e047a0638536a7f81991520e18b155.jpg","text":"TemporaryFile(/tmp/multipartBody1579210612714646026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143704910,"filename":"image_20022025_16_58_17_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b24076e60326732d68eb977ff6c8cee.jpg","text":"TemporaryFile(/tmp/multipartBody6046894760778438178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143704910,"filename":"image_20022025_16_58_26_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5fa48f35cc3850f7281fdb48d46f1871.jpg","text":"TemporaryFile(/tmp/multipartBody395758266471302857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143704910,"filename":"image_20022025_16_58_06_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/43791b0bc2c693b88c631ce180b83232.jpg","text":"TemporaryFile(/tmp/multipartBody5055328777185231354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143704910,"filename":"image_20022025_16_58_46_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2b043ecb042540070c0966730942fabf.jpg","text":"TemporaryFile(/tmp/multipartBody6268203441518036503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143704910,"filename":"image_20022025_16_57_56_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338834476","file1":"1338834472","file0":"1338834469","file4":"1338834480","file5":"1338834484","file3":"1338834478"},"map_files_photo_id_array":[{"photo_id":"1338834484","filename":"file5"},{"photo_id":"1338834476","filename":"file2"},{"photo_id":"1338834480","filename":"file4"},{"photo_id":"1338834472","filename":"file1"},{"photo_id":"1338834469","filename":"file0"},{"photo_id":"1338834478","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338834469":["hashtag1","hashtag2"]},{"1338834478":["hashtag1","hashtag2"]},{"1338834480":["hashtag1","hashtag2"]},{"1338834476":["hashtag1","hashtag2"]},{"1338834484":["hashtag1","hashtag2"]},{"1338834472":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338834469, 1338834478, 1338834480, 1338834476, 1338834484, 1338834472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.761311054229736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:14:42.660998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/13/image_21022025_14_13_45_10402.jpg', '/home/pi/Desktop/images/21022025/14/13/image_21022025_14_14_05_9376.jpg', '/home/pi/Desktop/images/21022025/14/14/image_21022025_14_14_16_10325.jpg', '/home/pi/Desktop/images/21022025/14/14/image_21022025_14_14_35_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/13/image_21022025_14_13_45_10402.jpg
/home/pi/Desktop/images/21022025/14/13/image_21022025_14_14_05_9376.jpg
/home/pi/Desktop/images/21022025/14/14/image_21022025_14_14_16_10325.jpg
/home/pi/Desktop/images/21022025/14/14/image_21022025_14_14_35_10388.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.35968852043151855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:14:52.662087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/13/image_21022025_14_13_45_10402.jpg', '/home/pi/Desktop/images/21022025/14/13/image_21022025_14_14_05_9376.jpg', '/home/pi/Desktop/images/21022025/14/14/image_21022025_14_14_16_10325.jpg', '/home/pi/Desktop/images/21022025/14/14/image_21022025_14_14_35_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/13/image_21022025_14_13_45_10402.jpg
/home/pi/Desktop/images/21022025/14/13/image_21022025_14_14_05_9376.jpg
/home/pi/Desktop/images/21022025/14/14/image_21022025_14_14_16_10325.jpg
/home/pi/Desktop/images/21022025/14/14/image_21022025_14_14_35_10388.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338834496","1338834498","1338834497","1338834500"],"photo_ids_order":["1338834496","1338834497","1338834498","1338834500"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0c46f7e8d6802069224f406349d76b9a.jpg","text":"TemporaryFile(/tmp/multipartBody1679122498143762326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143753112,"filename":"image_21022025_14_13_45_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ca83068031171fe60d9bd1d98b02acbf.jpg","text":"TemporaryFile(/tmp/multipartBody4673113450209124017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143753112,"filename":"image_21022025_14_14_16_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a06bd2fbd00d5dcc16618b2cac5d6b17.jpg","text":"TemporaryFile(/tmp/multipartBody6219495277771024528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143753112,"filename":"image_21022025_14_14_05_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/12f6c3a285fe9261045587d9fd7b09ed.jpg","text":"TemporaryFile(/tmp/multipartBody2597833127128197438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143753112,"filename":"image_21022025_14_14_35_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338834498","file1":"1338834497","file0":"1338834496","file3":"1338834500"},"map_files_photo_id_array":[{"photo_id":"1338834498","filename":"file2"},{"photo_id":"1338834497","filename":"file1"},{"photo_id":"1338834496","filename":"file0"},{"photo_id":"1338834500","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338834496":["hashtag1","hashtag2"]},{"1338834498":["hashtag1","hashtag2"]},{"1338834497":["hashtag1","hashtag2"]},{"1338834500":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338834496, 1338834498, 1338834497, 1338834500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.012543201446533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:15:32.945669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/14/image_21022025_14_14_46_10430.jpg', '/home/pi/Desktop/images/21022025/14/14/image_21022025_14_15_05_10327.jpg', '/home/pi/Desktop/images/21022025/14/15/image_21022025_14_15_16_10363.jpg', '/home/pi/Desktop/images/21022025/14/15/image_21022025_14_15_45_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/14/image_21022025_14_14_46_10430.jpg
/home/pi/Desktop/images/21022025/14/14/image_21022025_14_15_05_10327.jpg
/home/pi/Desktop/images/21022025/14/15/image_21022025_14_15_16_10363.jpg
/home/pi/Desktop/images/21022025/14/15/image_21022025_14_15_45_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338834517","1338834514","1338834519","1338834512"],"photo_ids_order":["1338834512","1338834514","1338834517","1338834519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f9382759da1b16ddffa79c226dd37665.jpg","text":"TemporaryFile(/tmp/multipartBody752381406884087650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143793394,"filename":"image_21022025_14_15_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f46fe0a9d43129cbac169621fe5358a7.jpg","text":"TemporaryFile(/tmp/multipartBody6233154332851810348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143793394,"filename":"image_21022025_14_15_05_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/94cd8bb166baad8f296b698ecd33838a.jpg","text":"TemporaryFile(/tmp/multipartBody1753465477949860875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143793394,"filename":"image_21022025_14_15_45_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/89d8d01903df3881ec5ee14f8bc9a031.jpg","text":"TemporaryFile(/tmp/multipartBody1247929237109102130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143793394,"filename":"image_21022025_14_14_46_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338834517","file1":"1338834514","file0":"1338834512","file3":"1338834519"},"map_files_photo_id_array":[{"photo_id":"1338834517","filename":"file2"},{"photo_id":"1338834514","filename":"file1"},{"photo_id":"1338834512","filename":"file0"},{"photo_id":"1338834519","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338834517":["hashtag1","hashtag2"]},{"1338834514":["hashtag1","hashtag2"]},{"1338834519":["hashtag1","hashtag2"]},{"1338834512":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338834517, 1338834514, 1338834519, 1338834512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.130481004714966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:16:03.969172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/59/image_20022025_16_59_37_10412.jpg', '/home/pi/Desktop/images/20022025/16/59/image_20022025_16_59_46_9336.jpg', '/home/pi/Desktop/images/20022025/16/59/image_20022025_16_59_56_10328.jpg', '/home/pi/Desktop/images/20022025/17/00/image_20022025_17_00_16_10070.jpg', '/home/pi/Desktop/images/20022025/17/00/image_20022025_17_00_26_10354.jpg', '/home/pi/Desktop/images/20022025/17/00/image_20022025_17_00_37_10473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/59/image_20022025_16_59_37_10412.jpg
/home/pi/Desktop/images/20022025/16/59/image_20022025_16_59_46_9336.jpg
/home/pi/Desktop/images/20022025/16/59/image_20022025_16_59_56_10328.jpg
/home/pi/Desktop/images/20022025/17/00/image_20022025_17_00_16_10070.jpg
/home/pi/Desktop/images/20022025/17/00/image_20022025_17_00_26_10354.jpg
/home/pi/Desktop/images/20022025/17/00/image_20022025_17_00_37_10473.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338834532","1338834526","1338834531","1338834540","1338834528","1338834537"],"photo_ids_order":["1338834526","1338834528","1338834531","1338834532","1338834537","1338834540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/17c44b3846f9154046a19999e4217f31.jpg","text":"TemporaryFile(/tmp/multipartBody672484458189334903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143825401,"filename":"image_20022025_17_00_16_10070.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ddabf23dd1175f24522f27c7c7356542.jpg","text":"TemporaryFile(/tmp/multipartBody1671116572592245689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143825401,"filename":"image_20022025_16_59_37_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/49f846f794df24233005df62ec693f46.jpg","text":"TemporaryFile(/tmp/multipartBody998348227705199940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143825401,"filename":"image_20022025_16_59_56_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f80b6f12671fe37716a67a856606ff1.jpg","text":"TemporaryFile(/tmp/multipartBody3611338085944286325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143825401,"filename":"image_20022025_17_00_37_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/30b497a841ac56faa237583139cb59a3.jpg","text":"TemporaryFile(/tmp/multipartBody3785992271508081166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143825401,"filename":"image_20022025_16_59_46_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dc87d3e0e783ee13656762d6f28ea785.jpg","text":"TemporaryFile(/tmp/multipartBody7137908980792877519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143825401,"filename":"image_20022025_17_00_26_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338834531","file1":"1338834528","file0":"1338834526","file4":"1338834537","file5":"1338834540","file3":"1338834532"},"map_files_photo_id_array":[{"photo_id":"1338834540","filename":"file5"},{"photo_id":"1338834531","filename":"file2"},{"photo_id":"1338834537","filename":"file4"},{"photo_id":"1338834528","filename":"file1"},{"photo_id":"1338834526","filename":"file0"},{"photo_id":"1338834532","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338834532":["hashtag1","hashtag2"]},{"1338834526":["hashtag1","hashtag2"]},{"1338834531":["hashtag1","hashtag2"]},{"1338834540":["hashtag1","hashtag2"]},{"1338834528":["hashtag1","hashtag2"]},{"1338834537":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338834532, 1338834526, 1338834531, 1338834540, 1338834528, 1338834537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.65705394744873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:16:43.070461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/15/image_21022025_14_15_55_10395.jpg', '/home/pi/Desktop/images/21022025/14/15/image_21022025_14_16_06_10387.jpg', '/home/pi/Desktop/images/21022025/14/16/image_21022025_14_16_15_9308.jpg', '/home/pi/Desktop/images/21022025/14/16/image_21022025_14_16_25_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/15/image_21022025_14_15_55_10395.jpg
/home/pi/Desktop/images/21022025/14/15/image_21022025_14_16_06_10387.jpg
/home/pi/Desktop/images/21022025/14/16/image_21022025_14_16_15_9308.jpg
/home/pi/Desktop/images/21022025/14/16/image_21022025_14_16_25_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338834574","1338834568","1338834570","1338834572"],"photo_ids_order":["1338834568","1338834570","1338834572","1338834574"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6b07276656d00f3c2eb69d1c51f70388.jpg","text":"TemporaryFile(/tmp/multipartBody4576366414375572413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143863534,"filename":"image_21022025_14_16_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/753f2a067c99b150be0e693d66441549.jpg","text":"TemporaryFile(/tmp/multipartBody7555272949054056449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143863534,"filename":"image_21022025_14_15_55_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4174a26d93485f58677a7b6e3ffb106b.jpg","text":"TemporaryFile(/tmp/multipartBody5819587539867500016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143863534,"filename":"image_21022025_14_16_06_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5ad2fdff092ec161909dedfe58823018.jpg","text":"TemporaryFile(/tmp/multipartBody1860151370497708723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143863534,"filename":"image_21022025_14_16_15_9308.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338834572","file1":"1338834570","file0":"1338834568","file3":"1338834574"},"map_files_photo_id_array":[{"photo_id":"1338834572","filename":"file2"},{"photo_id":"1338834570","filename":"file1"},{"photo_id":"1338834568","filename":"file0"},{"photo_id":"1338834574","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338834574":["hashtag1","hashtag2"]},{"1338834568":["hashtag1","hashtag2"]},{"1338834570":["hashtag1","hashtag2"]},{"1338834572":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338834574, 1338834568, 1338834570, 1338834572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.75516414642334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:17:32.405424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/16/image_21022025_14_16_45_9351.jpg', '/home/pi/Desktop/images/21022025/14/16/image_21022025_14_17_06_10436.jpg', '/home/pi/Desktop/images/21022025/14/17/image_21022025_14_17_15_9436.jpg', '/home/pi/Desktop/images/21022025/14/17/image_21022025_14_17_35_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/16/image_21022025_14_16_45_9351.jpg
/home/pi/Desktop/images/21022025/14/16/image_21022025_14_17_06_10436.jpg
/home/pi/Desktop/images/21022025/14/17/image_21022025_14_17_15_9436.jpg
/home/pi/Desktop/images/21022025/14/17/image_21022025_14_17_35_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338834616","1338834588","1338834603","1338834586"],"photo_ids_order":["1338834586","1338834588","1338834603","1338834616"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5924b3b3f979487cd7ecc25d9fc31787.jpg","text":"TemporaryFile(/tmp/multipartBody6325052839046234551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143912841,"filename":"image_21022025_14_17_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d7f36add97bae158bd24321f465b053.jpg","text":"TemporaryFile(/tmp/multipartBody8374592415903926723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143912841,"filename":"image_21022025_14_17_06_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/392cf5a2b03182c63793c2762214b5f0.jpg","text":"TemporaryFile(/tmp/multipartBody9089123812840280587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143912841,"filename":"image_21022025_14_17_15_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dda6fb38c262955f7730698ea8d9bddb.jpg","text":"TemporaryFile(/tmp/multipartBody4674407614576424528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143912841,"filename":"image_21022025_14_16_45_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338834603","file1":"1338834588","file0":"1338834586","file3":"1338834616"},"map_files_photo_id_array":[{"photo_id":"1338834603","filename":"file2"},{"photo_id":"1338834588","filename":"file1"},{"photo_id":"1338834586","filename":"file0"},{"photo_id":"1338834616","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338834616":["hashtag1","hashtag2"]},{"1338834588":["hashtag1","hashtag2"]},{"1338834603":["hashtag1","hashtag2"]},{"1338834586":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338834616, 1338834588, 1338834603, 1338834586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.29984426498413 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:18:32.758141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/17/image_21022025_14_17_45_10338.jpg', '/home/pi/Desktop/images/21022025/14/18/image_21022025_14_18_15_10342.jpg', '/home/pi/Desktop/images/21022025/14/18/image_21022025_14_18_26_10357.jpg', '/home/pi/Desktop/images/21022025/14/18/image_21022025_14_18_35_9335.jpg', '/home/pi/Desktop/images/21022025/14/18/image_21022025_14_18_46_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/17/image_21022025_14_17_45_10338.jpg
/home/pi/Desktop/images/21022025/14/18/image_21022025_14_18_15_10342.jpg
/home/pi/Desktop/images/21022025/14/18/image_21022025_14_18_26_10357.jpg
/home/pi/Desktop/images/21022025/14/18/image_21022025_14_18_35_9335.jpg
/home/pi/Desktop/images/21022025/14/18/image_21022025_14_18_46_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338834640","1338834634","1338834637","1338834631","1338834642"],"photo_ids_order":["1338834631","1338834634","1338834637","1338834640","1338834642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9fd73cf5da8586113d3bc94505594047.jpg","text":"TemporaryFile(/tmp/multipartBody3665664464371707435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143973255,"filename":"image_21022025_14_18_35_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9dec846b96e1354e149fe90ccc476e35.jpg","text":"TemporaryFile(/tmp/multipartBody2830647476215435198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143973255,"filename":"image_21022025_14_18_15_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83387b6e7abd8d0ebd5f419d32f0914f.jpg","text":"TemporaryFile(/tmp/multipartBody6874136487170107497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143973255,"filename":"image_21022025_14_18_26_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f95f98150bf4767d03aadfeb6aa1e1c3.jpg","text":"TemporaryFile(/tmp/multipartBody9057715492666013802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143973255,"filename":"image_21022025_14_17_45_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a0eefc080f3a6ee0d680d815871d5058.jpg","text":"TemporaryFile(/tmp/multipartBody1145463543396891288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740143973255,"filename":"image_21022025_14_18_46_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338834637","file1":"1338834634","file0":"1338834631","file4":"1338834642","file3":"1338834640"},"map_files_photo_id_array":[{"photo_id":"1338834637","filename":"file2"},{"photo_id":"1338834642","filename":"file4"},{"photo_id":"1338834634","filename":"file1"},{"photo_id":"1338834631","filename":"file0"},{"photo_id":"1338834640","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338834640":["hashtag1","hashtag2"]},{"1338834634":["hashtag1","hashtag2"]},{"1338834637":["hashtag1","hashtag2"]},{"1338834631":["hashtag1","hashtag2"]},{"1338834642":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338834640, 1338834634, 1338834637, 1338834631, 1338834642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.12889790534973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:19:04.418154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/00/image_20022025_17_00_46_9379.jpg', '/home/pi/Desktop/images/20022025/17/00/image_20022025_17_00_56_10413.jpg', '/home/pi/Desktop/images/20022025/17/00/image_20022025_17_01_06_9355.jpg', '/home/pi/Desktop/images/20022025/17/01/image_20022025_17_01_16_10336.jpg', '/home/pi/Desktop/images/20022025/17/01/image_20022025_17_01_46_10415.jpg', '/home/pi/Desktop/images/20022025/17/01/image_20022025_17_01_57_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/00/image_20022025_17_00_46_9379.jpg
/home/pi/Desktop/images/20022025/17/00/image_20022025_17_00_56_10413.jpg
/home/pi/Desktop/images/20022025/17/00/image_20022025_17_01_06_9355.jpg
/home/pi/Desktop/images/20022025/17/01/image_20022025_17_01_16_10336.jpg
/home/pi/Desktop/images/20022025/17/01/image_20022025_17_01_46_10415.jpg
/home/pi/Desktop/images/20022025/17/01/image_20022025_17_01_57_10407.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338834652","1338834657","1338834654","1338834648","1338834659","1338834647"],"photo_ids_order":["1338834647","1338834648","1338834652","1338834654","1338834657","1338834659"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b1dd27358cdbb9591e08cab12526c2d2.jpg","text":"TemporaryFile(/tmp/multipartBody9028305853695209893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144006225,"filename":"image_20022025_17_01_06_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cb7d2542679827c08edcae3daec53d61.jpg","text":"TemporaryFile(/tmp/multipartBody2125542192933290984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144006225,"filename":"image_20022025_17_01_46_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1ea996c09b3234db7396c744a1c4999.jpg","text":"TemporaryFile(/tmp/multipartBody2075927479750765841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144006225,"filename":"image_20022025_17_01_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/887e35bfbe1278b775afe39899fc240d.jpg","text":"TemporaryFile(/tmp/multipartBody7493839372186408032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144006225,"filename":"image_20022025_17_00_56_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e53fda97b8a91de2a8ff76abdf0aa4d.jpg","text":"TemporaryFile(/tmp/multipartBody8521326445683738573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144006225,"filename":"image_20022025_17_01_57_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d07ecac7db8c08bfbf36f861b168448f.jpg","text":"TemporaryFile(/tmp/multipartBody4848237134125970728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144006225,"filename":"image_20022025_17_00_46_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338834652","file1":"1338834648","file0":"1338834647","file4":"1338834657","file5":"1338834659","file3":"1338834654"},"map_files_photo_id_array":[{"photo_id":"1338834659","filename":"file5"},{"photo_id":"1338834652","filename":"file2"},{"photo_id":"1338834657","filename":"file4"},{"photo_id":"1338834648","filename":"file1"},{"photo_id":"1338834647","filename":"file0"},{"photo_id":"1338834654","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338834652":["hashtag1","hashtag2"]},{"1338834657":["hashtag1","hashtag2"]},{"1338834654":["hashtag1","hashtag2"]},{"1338834648":["hashtag1","hashtag2"]},{"1338834659":["hashtag1","hashtag2"]},{"1338834647":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338834652, 1338834657, 1338834654, 1338834648, 1338834659, 1338834647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81872367858887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:19:42.870212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/18/image_21022025_14_18_55_9405.jpg', '/home/pi/Desktop/images/21022025/14/18/image_21022025_14_19_05_10345.jpg', '/home/pi/Desktop/images/21022025/14/19/image_21022025_14_19_25_9348.jpg', '/home/pi/Desktop/images/21022025/14/19/image_21022025_14_19_35_10332.jpg', '/home/pi/Desktop/images/21022025/14/19/image_21022025_14_19_46_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/18/image_21022025_14_18_55_9405.jpg
/home/pi/Desktop/images/21022025/14/18/image_21022025_14_19_05_10345.jpg
/home/pi/Desktop/images/21022025/14/19/image_21022025_14_19_25_9348.jpg
/home/pi/Desktop/images/21022025/14/19/image_21022025_14_19_35_10332.jpg
/home/pi/Desktop/images/21022025/14/19/image_21022025_14_19_46_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338834841","1338834706","1338834663","1338834843","1338834796"],"photo_ids_order":["1338834663","1338834706","1338834796","1338834841","1338834843"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87a98f43b467e42484f932b5740704ac.jpg","text":"TemporaryFile(/tmp/multipartBody7394856358126483495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144043351,"filename":"image_21022025_14_19_35_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/167d306fb3028604b104dd09b96d69dc.jpg","text":"TemporaryFile(/tmp/multipartBody5000255668884127377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144043351,"filename":"image_21022025_14_19_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62c329db22b0e9a0076ecdbc9e72af0c.jpg","text":"TemporaryFile(/tmp/multipartBody1947952648034115880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144043351,"filename":"image_21022025_14_18_55_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9bea1d5a40eb10ff4e7bb300d3f0b341.jpg","text":"TemporaryFile(/tmp/multipartBody4310208711474750720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144043351,"filename":"image_21022025_14_19_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/834461f734391cb0af4f82e61f03e234.jpg","text":"TemporaryFile(/tmp/multipartBody1208264822138464288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144043351,"filename":"image_21022025_14_19_25_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338834796","file1":"1338834706","file0":"1338834663","file4":"1338834843","file3":"1338834841"},"map_files_photo_id_array":[{"photo_id":"1338834796","filename":"file2"},{"photo_id":"1338834843","filename":"file4"},{"photo_id":"1338834706","filename":"file1"},{"photo_id":"1338834663","filename":"file0"},{"photo_id":"1338834841","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338834841":["hashtag1","hashtag2"]},{"1338834706":["hashtag1","hashtag2"]},{"1338834663":["hashtag1","hashtag2"]},{"1338834843":["hashtag1","hashtag2"]},{"1338834796":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338834841, 1338834706, 1338834663, 1338834843, 1338834796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.10822081565857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:20:33.033114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/19/image_21022025_14_19_55_9337.jpg', '/home/pi/Desktop/images/21022025/14/19/image_21022025_14_20_05_10338.jpg', '/home/pi/Desktop/images/21022025/14/20/image_21022025_14_20_15_9430.jpg', '/home/pi/Desktop/images/21022025/14/20/image_21022025_14_20_25_10366.jpg', '/home/pi/Desktop/images/21022025/14/20/image_21022025_14_20_45_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/19/image_21022025_14_19_55_9337.jpg
/home/pi/Desktop/images/21022025/14/19/image_21022025_14_20_05_10338.jpg
/home/pi/Desktop/images/21022025/14/20/image_21022025_14_20_15_9430.jpg
/home/pi/Desktop/images/21022025/14/20/image_21022025_14_20_25_10366.jpg
/home/pi/Desktop/images/21022025/14/20/image_21022025_14_20_45_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338835542","1338835242","1338834945","1338835544","1338835498"],"photo_ids_order":["1338834945","1338835242","1338835498","1338835542","1338835544"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d0e4202c123114f2f72869257aa4a1d6.jpg","text":"TemporaryFile(/tmp/multipartBody2093705013286125858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144093500,"filename":"image_21022025_14_20_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f013c22a4006097524287ef7ab4a024.jpg","text":"TemporaryFile(/tmp/multipartBody7116512762978352784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144093500,"filename":"image_21022025_14_20_05_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/63bd18ac4950ef184524fadca3be6dde.jpg","text":"TemporaryFile(/tmp/multipartBody7035895328455311399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144093500,"filename":"image_21022025_14_19_55_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/26178f3bdc07970c2fdf7794d7feed20.jpg","text":"TemporaryFile(/tmp/multipartBody4232188171182764342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144093500,"filename":"image_21022025_14_20_45_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9fbd2681dd5352926e7192c8c9732ac4.jpg","text":"TemporaryFile(/tmp/multipartBody1665830000679503960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144093500,"filename":"image_21022025_14_20_15_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338835498","file1":"1338835242","file0":"1338834945","file4":"1338835544","file3":"1338835542"},"map_files_photo_id_array":[{"photo_id":"1338835498","filename":"file2"},{"photo_id":"1338835544","filename":"file4"},{"photo_id":"1338835242","filename":"file1"},{"photo_id":"1338834945","filename":"file0"},{"photo_id":"1338835542","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338835542":["hashtag1","hashtag2"]},{"1338835242":["hashtag1","hashtag2"]},{"1338834945":["hashtag1","hashtag2"]},{"1338835544":["hashtag1","hashtag2"]},{"1338835498":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338835542, 1338835242, 1338834945, 1338835544, 1338835498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.39995574951172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:21:03.801542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/01/image_20022025_17_02_06_9353.jpg', '/home/pi/Desktop/images/20022025/17/02/image_20022025_17_02_16_10328.jpg', '/home/pi/Desktop/images/20022025/17/02/image_20022025_17_02_26_9415.jpg', '/home/pi/Desktop/images/20022025/17/02/image_20022025_17_02_56_9338.jpg', '/home/pi/Desktop/images/20022025/17/02/image_20022025_17_03_06_10422.jpg', '/home/pi/Desktop/images/20022025/17/03/image_20022025_17_03_16_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/01/image_20022025_17_02_06_9353.jpg
/home/pi/Desktop/images/20022025/17/02/image_20022025_17_02_16_10328.jpg
/home/pi/Desktop/images/20022025/17/02/image_20022025_17_02_26_9415.jpg
/home/pi/Desktop/images/20022025/17/02/image_20022025_17_02_56_9338.jpg
/home/pi/Desktop/images/20022025/17/02/image_20022025_17_03_06_10422.jpg
/home/pi/Desktop/images/20022025/17/03/image_20022025_17_03_16_9443.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338835686","1338835548","1338835690","1338835684","1338835552","1338835555"],"photo_ids_order":["1338835548","1338835552","1338835555","1338835684","1338835686","1338835690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d8fbe757b46dd9d5b0560e08243e04d0.jpg","text":"TemporaryFile(/tmp/multipartBody4203955912820339188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144125684,"filename":"image_20022025_17_03_06_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61ca871984d4a121953efba1a8424b0c.jpg","text":"TemporaryFile(/tmp/multipartBody8040305132596166241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144125684,"filename":"image_20022025_17_02_06_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c33bd0fdc00d989a4660551ca9692eee.jpg","text":"TemporaryFile(/tmp/multipartBody7366440632461774496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144125684,"filename":"image_20022025_17_03_16_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/861c5fb775e26a36506ce7c7de258091.jpg","text":"TemporaryFile(/tmp/multipartBody8663334260619940691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144125684,"filename":"image_20022025_17_02_56_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02edc4197ac80a3c5066e7f267b6bc6c.jpg","text":"TemporaryFile(/tmp/multipartBody3942331844731175020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144125684,"filename":"image_20022025_17_02_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dfed4eaffdea0b6205f11879af6bf084.jpg","text":"TemporaryFile(/tmp/multipartBody4198988791913991949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144125684,"filename":"image_20022025_17_02_26_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338835555","file1":"1338835552","file0":"1338835548","file4":"1338835686","file5":"1338835690","file3":"1338835684"},"map_files_photo_id_array":[{"photo_id":"1338835690","filename":"file5"},{"photo_id":"1338835555","filename":"file2"},{"photo_id":"1338835686","filename":"file4"},{"photo_id":"1338835552","filename":"file1"},{"photo_id":"1338835548","filename":"file0"},{"photo_id":"1338835684","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338835686":["hashtag1","hashtag2"]},{"1338835548":["hashtag1","hashtag2"]},{"1338835690":["hashtag1","hashtag2"]},{"1338835684":["hashtag1","hashtag2"]},{"1338835552":["hashtag1","hashtag2"]},{"1338835555":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338835686, 1338835548, 1338835690, 1338835684, 1338835552, 1338835555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69333362579346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:21:42.249876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/20/image_21022025_14_20_55_10344.jpg', '/home/pi/Desktop/images/21022025/14/20/image_21022025_14_21_06_10379.jpg', '/home/pi/Desktop/images/21022025/14/21/image_21022025_14_21_15_9354.jpg', '/home/pi/Desktop/images/21022025/14/21/image_21022025_14_21_25_10342.jpg', '/home/pi/Desktop/images/21022025/14/21/image_21022025_14_21_35_9420.jpg', '/home/pi/Desktop/images/21022025/14/21/image_21022025_14_21_45_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/20/image_21022025_14_20_55_10344.jpg
/home/pi/Desktop/images/21022025/14/20/image_21022025_14_21_06_10379.jpg
/home/pi/Desktop/images/21022025/14/21/image_21022025_14_21_15_9354.jpg
/home/pi/Desktop/images/21022025/14/21/image_21022025_14_21_25_10342.jpg
/home/pi/Desktop/images/21022025/14/21/image_21022025_14_21_35_9420.jpg
/home/pi/Desktop/images/21022025/14/21/image_21022025_14_21_45_10354.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38564348220825195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:21:52.328559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/20/image_21022025_14_20_55_10344.jpg', '/home/pi/Desktop/images/21022025/14/20/image_21022025_14_21_06_10379.jpg', '/home/pi/Desktop/images/21022025/14/21/image_21022025_14_21_15_9354.jpg', '/home/pi/Desktop/images/21022025/14/21/image_21022025_14_21_25_10342.jpg', '/home/pi/Desktop/images/21022025/14/21/image_21022025_14_21_35_9420.jpg', '/home/pi/Desktop/images/21022025/14/21/image_21022025_14_21_45_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/20/image_21022025_14_20_55_10344.jpg
/home/pi/Desktop/images/21022025/14/20/image_21022025_14_21_06_10379.jpg
/home/pi/Desktop/images/21022025/14/21/image_21022025_14_21_15_9354.jpg
/home/pi/Desktop/images/21022025/14/21/image_21022025_14_21_25_10342.jpg
/home/pi/Desktop/images/21022025/14/21/image_21022025_14_21_35_9420.jpg
/home/pi/Desktop/images/21022025/14/21/image_21022025_14_21_45_10354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338836106","1338836099","1338836054","1338836102","1338835993","1338836104"],"photo_ids_order":["1338835993","1338836054","1338836099","1338836102","1338836104","1338836106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/51d31d562da4d7184a1fb5b87ec0836e.jpg","text":"TemporaryFile(/tmp/multipartBody1485822999672505363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144172851,"filename":"image_21022025_14_21_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d3ba842f989a3b3d4c92b4a4b1572086.jpg","text":"TemporaryFile(/tmp/multipartBody1731461576773065958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144172851,"filename":"image_21022025_14_21_15_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/564f49555af9a43d0b8506ef7a0fa322.jpg","text":"TemporaryFile(/tmp/multipartBody6589314337387452140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144172851,"filename":"image_21022025_14_21_06_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7b0656077c710eead5d0c6c27416ec00.jpg","text":"TemporaryFile(/tmp/multipartBody1963114888138363222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144172851,"filename":"image_21022025_14_21_25_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5d2c3f7dbb24db2339361788002e06b8.jpg","text":"TemporaryFile(/tmp/multipartBody3064668979475138084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144172851,"filename":"image_21022025_14_20_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/41eadfe217a68f968f0573ed9e46ab76.jpg","text":"TemporaryFile(/tmp/multipartBody2987810474489008907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144172851,"filename":"image_21022025_14_21_35_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338836099","file1":"1338836054","file0":"1338835993","file4":"1338836104","file5":"1338836106","file3":"1338836102"},"map_files_photo_id_array":[{"photo_id":"1338836106","filename":"file5"},{"photo_id":"1338836099","filename":"file2"},{"photo_id":"1338836104","filename":"file4"},{"photo_id":"1338836054","filename":"file1"},{"photo_id":"1338835993","filename":"file0"},{"photo_id":"1338836102","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338836106":["hashtag1","hashtag2"]},{"1338836099":["hashtag1","hashtag2"]},{"1338836054":["hashtag1","hashtag2"]},{"1338836102":["hashtag1","hashtag2"]},{"1338835993":["hashtag1","hashtag2"]},{"1338836104":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338836106, 1338836099, 1338836054, 1338836102, 1338835993, 1338836104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33319401741028 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:22:32.645428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/21/image_21022025_14_21_56_10338.jpg', '/home/pi/Desktop/images/21022025/14/21/image_21022025_14_22_05_9356.jpg', '/home/pi/Desktop/images/21022025/14/22/image_21022025_14_22_15_10353.jpg', '/home/pi/Desktop/images/21022025/14/22/image_21022025_14_22_26_10417.jpg', '/home/pi/Desktop/images/21022025/14/22/image_21022025_14_22_35_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/21/image_21022025_14_21_56_10338.jpg
/home/pi/Desktop/images/21022025/14/21/image_21022025_14_22_05_9356.jpg
/home/pi/Desktop/images/21022025/14/22/image_21022025_14_22_15_10353.jpg
/home/pi/Desktop/images/21022025/14/22/image_21022025_14_22_26_10417.jpg
/home/pi/Desktop/images/21022025/14/22/image_21022025_14_22_35_9333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338836250","1338836232","1338836252","1338836228","1338836161"],"photo_ids_order":["1338836161","1338836228","1338836232","1338836250","1338836252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c8dff874ad3dcd8ccc373869a58e6195.jpg","text":"TemporaryFile(/tmp/multipartBody2890116825505964782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144213119,"filename":"image_21022025_14_22_26_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b6b9b4bdbd9238859eccdcbffa63a1fa.jpg","text":"TemporaryFile(/tmp/multipartBody6240114081545161902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144213119,"filename":"image_21022025_14_22_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/19aa246c2b39afcf64b2d851cdaa8b79.jpg","text":"TemporaryFile(/tmp/multipartBody1294871690599591865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144213119,"filename":"image_21022025_14_22_35_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3e89deaff96bbc44992a08ca3341ecb2.jpg","text":"TemporaryFile(/tmp/multipartBody8859344791802936268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144213119,"filename":"image_21022025_14_22_05_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d283c8cc6f4f70cf14f9c8ee9bd2275c.jpg","text":"TemporaryFile(/tmp/multipartBody6299572528285072911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144213119,"filename":"image_21022025_14_21_56_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338836232","file1":"1338836228","file0":"1338836161","file4":"1338836252","file3":"1338836250"},"map_files_photo_id_array":[{"photo_id":"1338836232","filename":"file2"},{"photo_id":"1338836252","filename":"file4"},{"photo_id":"1338836228","filename":"file1"},{"photo_id":"1338836161","filename":"file0"},{"photo_id":"1338836250","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338836250":["hashtag1","hashtag2"]},{"1338836232":["hashtag1","hashtag2"]},{"1338836252":["hashtag1","hashtag2"]},{"1338836228":["hashtag1","hashtag2"]},{"1338836161":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338836250, 1338836232, 1338836252, 1338836228, 1338836161)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 5 photos
time to upload: 30.54271364212036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:23:32.786085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/22/image_21022025_14_22_56_10339.jpg', '/home/pi/Desktop/images/21022025/14/22/image_21022025_14_23_05_9345.jpg', '/home/pi/Desktop/images/21022025/14/23/image_21022025_14_23_15_10349.jpg', '/home/pi/Desktop/images/21022025/14/23/image_21022025_14_23_25_9468.jpg', '/home/pi/Desktop/images/21022025/14/23/image_21022025_14_23_35_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/22/image_21022025_14_22_56_10339.jpg
/home/pi/Desktop/images/21022025/14/22/image_21022025_14_23_05_9345.jpg
/home/pi/Desktop/images/21022025/14/23/image_21022025_14_23_15_10349.jpg
/home/pi/Desktop/images/21022025/14/23/image_21022025_14_23_25_9468.jpg
/home/pi/Desktop/images/21022025/14/23/image_21022025_14_23_35_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338836369","1338836354","1338836362","1338836365","1338836359"],"photo_ids_order":["1338836354","1338836359","1338836362","1338836365","1338836369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/65d6ee1cacf7e34d6a9f53f0a83fbf1e.jpg","text":"TemporaryFile(/tmp/multipartBody2880727052197880810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144273350,"filename":"image_21022025_14_23_35_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/018d3476f83e5ea5482a217634b63552.jpg","text":"TemporaryFile(/tmp/multipartBody276409857249340233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144273350,"filename":"image_21022025_14_22_56_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6aa50604cde18f6857921382e5353ab8.jpg","text":"TemporaryFile(/tmp/multipartBody5867521913836825123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144273350,"filename":"image_21022025_14_23_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6cf4fa5527d09a0737b79064f8bf6409.jpg","text":"TemporaryFile(/tmp/multipartBody7842403233128604286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144273350,"filename":"image_21022025_14_23_25_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7bc2693743afe71b33ffe7678c20f034.jpg","text":"TemporaryFile(/tmp/multipartBody7681455657812401663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144273350,"filename":"image_21022025_14_23_05_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338836362","file1":"1338836359","file0":"1338836354","file4":"1338836369","file3":"1338836365"},"map_files_photo_id_array":[{"photo_id":"1338836362","filename":"file2"},{"photo_id":"1338836369","filename":"file4"},{"photo_id":"1338836359","filename":"file1"},{"photo_id":"1338836354","filename":"file0"},{"photo_id":"1338836365","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338836369":["hashtag1","hashtag2"]},{"1338836354":["hashtag1","hashtag2"]},{"1338836362":["hashtag1","hashtag2"]},{"1338836365":["hashtag1","hashtag2"]},{"1338836359":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338836369, 1338836354, 1338836362, 1338836365, 1338836359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.23066473007202 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:24:03.875840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/03/image_20022025_17_03_26_10335.jpg', '/home/pi/Desktop/images/20022025/17/03/image_20022025_17_03_36_10332.jpg', '/home/pi/Desktop/images/20022025/17/03/image_20022025_17_03_46_9429.jpg', '/home/pi/Desktop/images/20022025/17/03/image_20022025_17_03_56_10354.jpg', '/home/pi/Desktop/images/20022025/17/03/image_20022025_17_04_07_10484.jpg', '/home/pi/Desktop/images/20022025/17/04/image_20022025_17_04_16_9321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/03/image_20022025_17_03_26_10335.jpg
/home/pi/Desktop/images/20022025/17/03/image_20022025_17_03_36_10332.jpg
/home/pi/Desktop/images/20022025/17/03/image_20022025_17_03_46_9429.jpg
/home/pi/Desktop/images/20022025/17/03/image_20022025_17_03_56_10354.jpg
/home/pi/Desktop/images/20022025/17/03/image_20022025_17_04_07_10484.jpg
/home/pi/Desktop/images/20022025/17/04/image_20022025_17_04_16_9321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338836538","1338836532","1338836495","1338836534","1338836536","1338836539"],"photo_ids_order":["1338836495","1338836532","1338836534","1338836536","1338836538","1338836539"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac42991c8b98fd6f00c3b3797d358e34.jpg","text":"TemporaryFile(/tmp/multipartBody2407340868534411397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144309972,"filename":"image_20022025_17_04_07_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e6f25844abcbd63d0c4dfd6dac62c64d.jpg","text":"TemporaryFile(/tmp/multipartBody8756896388724249965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144309972,"filename":"image_20022025_17_03_36_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b318609628e8e3d36b47f60ae49d4741.jpg","text":"TemporaryFile(/tmp/multipartBody7476605615577036434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144309972,"filename":"image_20022025_17_03_26_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce7665cb77e142c93db9832fe3e33ddf.jpg","text":"TemporaryFile(/tmp/multipartBody8916236688819420307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144309972,"filename":"image_20022025_17_03_46_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/098b9ba8bbaa6b58481ae5f4c46da2ea.jpg","text":"TemporaryFile(/tmp/multipartBody529286327329777344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144309972,"filename":"image_20022025_17_03_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1f382caaefea31a47e5f5d9430099773.jpg","text":"TemporaryFile(/tmp/multipartBody3997932251794880347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144309972,"filename":"image_20022025_17_04_16_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338836534","file1":"1338836532","file0":"1338836495","file4":"1338836538","file5":"1338836539","file3":"1338836536"},"map_files_photo_id_array":[{"photo_id":"1338836539","filename":"file5"},{"photo_id":"1338836534","filename":"file2"},{"photo_id":"1338836538","filename":"file4"},{"photo_id":"1338836532","filename":"file1"},{"photo_id":"1338836495","filename":"file0"},{"photo_id":"1338836536","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338836538":["hashtag1","hashtag2"]},{"1338836532":["hashtag1","hashtag2"]},{"1338836495":["hashtag1","hashtag2"]},{"1338836534":["hashtag1","hashtag2"]},{"1338836536":["hashtag1","hashtag2"]},{"1338836539":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338836538, 1338836532, 1338836495, 1338836534, 1338836536, 1338836539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29578137397766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:24:53.027050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/23/image_21022025_14_23_55_9388.jpg', '/home/pi/Desktop/images/21022025/14/24/image_21022025_14_24_15_9403.jpg', '/home/pi/Desktop/images/21022025/14/24/image_21022025_14_24_36_10327.jpg', '/home/pi/Desktop/images/21022025/14/24/image_21022025_14_24_45_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/23/image_21022025_14_23_55_9388.jpg
/home/pi/Desktop/images/21022025/14/24/image_21022025_14_24_15_9403.jpg
/home/pi/Desktop/images/21022025/14/24/image_21022025_14_24_36_10327.jpg
/home/pi/Desktop/images/21022025/14/24/image_21022025_14_24_45_9381.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338836561","1338836564","1338836567","1338836559"],"photo_ids_order":["1338836559","1338836561","1338836564","1338836567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aeb412aec81764ca2c6233fff9db1799.jpg","text":"TemporaryFile(/tmp/multipartBody1201764479901912940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144353473,"filename":"image_21022025_14_24_15_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/637a90fbae79cd04b116308ae0fd3eda.jpg","text":"TemporaryFile(/tmp/multipartBody5986037449598022092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144353473,"filename":"image_21022025_14_24_36_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/853668df17c0ef883287d3ffb243c5fd.jpg","text":"TemporaryFile(/tmp/multipartBody3530820595611356239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144353473,"filename":"image_21022025_14_24_45_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/063ce803bce4a201d26b26bfc0c67c10.jpg","text":"TemporaryFile(/tmp/multipartBody2858900677630672973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144353473,"filename":"image_21022025_14_23_55_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338836564","file1":"1338836561","file0":"1338836559","file3":"1338836567"},"map_files_photo_id_array":[{"photo_id":"1338836564","filename":"file2"},{"photo_id":"1338836561","filename":"file1"},{"photo_id":"1338836559","filename":"file0"},{"photo_id":"1338836567","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338836561":["hashtag1","hashtag2"]},{"1338836564":["hashtag1","hashtag2"]},{"1338836567":["hashtag1","hashtag2"]},{"1338836559":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338836561, 1338836564, 1338836567, 1338836559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.56859540939331 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:25:32.253508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/24/image_21022025_14_24_55_10362.jpg', '/home/pi/Desktop/images/21022025/14/24/image_21022025_14_25_06_10383.jpg', '/home/pi/Desktop/images/21022025/14/25/image_21022025_14_25_15_9394.jpg', '/home/pi/Desktop/images/21022025/14/25/image_21022025_14_25_25_10441.jpg', '/home/pi/Desktop/images/21022025/14/25/image_21022025_14_25_36_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/24/image_21022025_14_24_55_10362.jpg
/home/pi/Desktop/images/21022025/14/24/image_21022025_14_25_06_10383.jpg
/home/pi/Desktop/images/21022025/14/25/image_21022025_14_25_15_9394.jpg
/home/pi/Desktop/images/21022025/14/25/image_21022025_14_25_25_10441.jpg
/home/pi/Desktop/images/21022025/14/25/image_21022025_14_25_36_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338836675","1338836666","1338836677","1338836662","1338836670"],"photo_ids_order":["1338836662","1338836666","1338836670","1338836675","1338836677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef8d7888eb27a439e7ae1e5faa2e1ecc.jpg","text":"TemporaryFile(/tmp/multipartBody956144266662488222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144392718,"filename":"image_21022025_14_25_25_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/029e8066dd0532a41e9a8d72dd3682c8.jpg","text":"TemporaryFile(/tmp/multipartBody7306653353173877267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144392718,"filename":"image_21022025_14_25_06_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6537f286cd19da901715ae29455bf9a2.jpg","text":"TemporaryFile(/tmp/multipartBody617282801590650405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144392718,"filename":"image_21022025_14_25_36_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd30c2b63e66ba9c320df890a24f289a.jpg","text":"TemporaryFile(/tmp/multipartBody1259796120867551904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144392718,"filename":"image_21022025_14_24_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/baa2309949c6eed620fc63d18cc89b6f.jpg","text":"TemporaryFile(/tmp/multipartBody1703145029604646055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144392718,"filename":"image_21022025_14_25_15_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338836670","file1":"1338836666","file0":"1338836662","file4":"1338836677","file3":"1338836675"},"map_files_photo_id_array":[{"photo_id":"1338836670","filename":"file2"},{"photo_id":"1338836677","filename":"file4"},{"photo_id":"1338836666","filename":"file1"},{"photo_id":"1338836662","filename":"file0"},{"photo_id":"1338836675","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338836675":["hashtag1","hashtag2"]},{"1338836666":["hashtag1","hashtag2"]},{"1338836677":["hashtag1","hashtag2"]},{"1338836662":["hashtag1","hashtag2"]},{"1338836670":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338836675, 1338836666, 1338836677, 1338836662, 1338836670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.251261234283447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:26:03.296492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/04/image_20022025_17_04_26_10334.jpg', '/home/pi/Desktop/images/20022025/17/04/image_20022025_17_04_37_10371.jpg', '/home/pi/Desktop/images/20022025/17/04/image_20022025_17_04_46_9311.jpg', '/home/pi/Desktop/images/20022025/17/04/image_20022025_17_04_56_10374.jpg', '/home/pi/Desktop/images/20022025/17/04/image_20022025_17_05_06_9426.jpg', '/home/pi/Desktop/images/20022025/17/05/image_20022025_17_05_16_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/04/image_20022025_17_04_26_10334.jpg
/home/pi/Desktop/images/20022025/17/04/image_20022025_17_04_37_10371.jpg
/home/pi/Desktop/images/20022025/17/04/image_20022025_17_04_46_9311.jpg
/home/pi/Desktop/images/20022025/17/04/image_20022025_17_04_56_10374.jpg
/home/pi/Desktop/images/20022025/17/04/image_20022025_17_05_06_9426.jpg
/home/pi/Desktop/images/20022025/17/05/image_20022025_17_05_16_10449.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338836703","1338836696","1338836699","1338836705","1338836692","1338836710"],"photo_ids_order":["1338836692","1338836696","1338836699","1338836703","1338836705","1338836710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9d7630074408753c0fd9815894c732c3.jpg","text":"TemporaryFile(/tmp/multipartBody1590696229121420243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144424848,"filename":"image_20022025_17_04_56_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/775f4be1fab8c81e5e91c443046f7473.jpg","text":"TemporaryFile(/tmp/multipartBody1392371360263833931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144424848,"filename":"image_20022025_17_04_37_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e606c0d0d716b9cc4702bc7fc46ade52.jpg","text":"TemporaryFile(/tmp/multipartBody1550219746240030286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144424848,"filename":"image_20022025_17_04_46_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ec5cdaa9640b7a6fd61dd40fd75f8a0.jpg","text":"TemporaryFile(/tmp/multipartBody8122329352417695903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144424848,"filename":"image_20022025_17_05_06_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1c0ee23f224d1fb66b5a85848287df6.jpg","text":"TemporaryFile(/tmp/multipartBody8238185018241719461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144424848,"filename":"image_20022025_17_04_26_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/15804c6cc71339ef98b393adb2ae829f.jpg","text":"TemporaryFile(/tmp/multipartBody3339189182506127707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144424848,"filename":"image_20022025_17_05_16_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338836699","file1":"1338836696","file0":"1338836692","file4":"1338836705","file5":"1338836710","file3":"1338836703"},"map_files_photo_id_array":[{"photo_id":"1338836710","filename":"file5"},{"photo_id":"1338836699","filename":"file2"},{"photo_id":"1338836705","filename":"file4"},{"photo_id":"1338836696","filename":"file1"},{"photo_id":"1338836692","filename":"file0"},{"photo_id":"1338836703","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338836703":["hashtag1","hashtag2"]},{"1338836696":["hashtag1","hashtag2"]},{"1338836699":["hashtag1","hashtag2"]},{"1338836705":["hashtag1","hashtag2"]},{"1338836692":["hashtag1","hashtag2"]},{"1338836710":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338836703, 1338836696, 1338836699, 1338836705, 1338836692, 1338836710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.63704752922058 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:26:42.443774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/25/image_21022025_14_25_56_10479.jpg', '/home/pi/Desktop/images/21022025/14/25/image_21022025_14_26_05_9687.jpg', '/home/pi/Desktop/images/21022025/14/26/image_21022025_14_26_16_10435.jpg', '/home/pi/Desktop/images/21022025/14/26/image_21022025_14_26_25_9332.jpg', '/home/pi/Desktop/images/21022025/14/26/image_21022025_14_26_35_10344.jpg', '/home/pi/Desktop/images/21022025/14/26/image_21022025_14_26_46_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/25/image_21022025_14_25_56_10479.jpg
/home/pi/Desktop/images/21022025/14/25/image_21022025_14_26_05_9687.jpg
/home/pi/Desktop/images/21022025/14/26/image_21022025_14_26_16_10435.jpg
/home/pi/Desktop/images/21022025/14/26/image_21022025_14_26_25_9332.jpg
/home/pi/Desktop/images/21022025/14/26/image_21022025_14_26_35_10344.jpg
/home/pi/Desktop/images/21022025/14/26/image_21022025_14_26_46_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338836721","1338836724","1338836718","1338836726","1338836729","1338836716"],"photo_ids_order":["1338836716","1338836718","1338836721","1338836724","1338836726","1338836729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/096302df8d162adc8ec254d98e9c3ac1.jpg","text":"TemporaryFile(/tmp/multipartBody5355280467201938665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144462912,"filename":"image_21022025_14_26_16_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf9a68696f8c542b6e964df7cd1067e0.jpg","text":"TemporaryFile(/tmp/multipartBody8733261868928440341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144462912,"filename":"image_21022025_14_26_25_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ce9715702db08c3e4507200762fff2f.jpg","text":"TemporaryFile(/tmp/multipartBody4128894315133058521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144462912,"filename":"image_21022025_14_26_05_9687.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c4a19470fc9d6d1608dc4c600f5510a0.jpg","text":"TemporaryFile(/tmp/multipartBody2540312011443654486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144462912,"filename":"image_21022025_14_26_35_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ed2948d414bbe20a8c76c85dbe65c74.jpg","text":"TemporaryFile(/tmp/multipartBody531382485924154368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144462912,"filename":"image_21022025_14_26_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/36b0c6d0072173c31467c0447027f02a.jpg","text":"TemporaryFile(/tmp/multipartBody2127204958232471530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144462912,"filename":"image_21022025_14_25_56_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338836721","file1":"1338836718","file0":"1338836716","file4":"1338836726","file5":"1338836729","file3":"1338836724"},"map_files_photo_id_array":[{"photo_id":"1338836729","filename":"file5"},{"photo_id":"1338836721","filename":"file2"},{"photo_id":"1338836726","filename":"file4"},{"photo_id":"1338836718","filename":"file1"},{"photo_id":"1338836716","filename":"file0"},{"photo_id":"1338836724","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338836721":["hashtag1","hashtag2"]},{"1338836724":["hashtag1","hashtag2"]},{"1338836718":["hashtag1","hashtag2"]},{"1338836726":["hashtag1","hashtag2"]},{"1338836729":["hashtag1","hashtag2"]},{"1338836716":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338836721, 1338836724, 1338836718, 1338836726, 1338836729, 1338836716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.740365266799927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:27:32.720995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/26/image_21022025_14_26_55_9419.jpg', '/home/pi/Desktop/images/21022025/14/26/image_21022025_14_27_06_10393.jpg', '/home/pi/Desktop/images/21022025/14/27/image_21022025_14_27_15_9334.jpg', '/home/pi/Desktop/images/21022025/14/27/image_21022025_14_27_25_10353.jpg', '/home/pi/Desktop/images/21022025/14/27/image_21022025_14_27_36_10479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/26/image_21022025_14_26_55_9419.jpg
/home/pi/Desktop/images/21022025/14/26/image_21022025_14_27_06_10393.jpg
/home/pi/Desktop/images/21022025/14/27/image_21022025_14_27_15_9334.jpg
/home/pi/Desktop/images/21022025/14/27/image_21022025_14_27_25_10353.jpg
/home/pi/Desktop/images/21022025/14/27/image_21022025_14_27_36_10479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338836762","1338836741","1338836747","1338836764","1338836767"],"photo_ids_order":["1338836741","1338836747","1338836762","1338836764","1338836767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/21cb760f056e79b17545ad8d1aff8727.jpg","text":"TemporaryFile(/tmp/multipartBody5751844135353144052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144513194,"filename":"image_21022025_14_27_15_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3ea9b4e069884b4edcc6e5085a62ca03.jpg","text":"TemporaryFile(/tmp/multipartBody286053013422605845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144513194,"filename":"image_21022025_14_26_55_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/77ffd6901c47e3085e513bb87ec7f983.jpg","text":"TemporaryFile(/tmp/multipartBody6536983244061726130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144513194,"filename":"image_21022025_14_27_06_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/304b3b263365ec42cc774d7224ce1408.jpg","text":"TemporaryFile(/tmp/multipartBody2614829111276064362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144513194,"filename":"image_21022025_14_27_25_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92abe65c92ed604bc0f99ad42982a7bc.jpg","text":"TemporaryFile(/tmp/multipartBody6148070623222599416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144513194,"filename":"image_21022025_14_27_36_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338836762","file1":"1338836747","file0":"1338836741","file4":"1338836767","file3":"1338836764"},"map_files_photo_id_array":[{"photo_id":"1338836762","filename":"file2"},{"photo_id":"1338836767","filename":"file4"},{"photo_id":"1338836747","filename":"file1"},{"photo_id":"1338836741","filename":"file0"},{"photo_id":"1338836764","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338836762":["hashtag1","hashtag2"]},{"1338836741":["hashtag1","hashtag2"]},{"1338836747":["hashtag1","hashtag2"]},{"1338836764":["hashtag1","hashtag2"]},{"1338836767":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338836762, 1338836741, 1338836747, 1338836764, 1338836767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.568649291992188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:28:03.716989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/05/image_20022025_17_05_27_10353.jpg', '/home/pi/Desktop/images/20022025/17/05/image_20022025_17_05_36_9331.jpg', '/home/pi/Desktop/images/20022025/17/05/image_20022025_17_05_46_10338.jpg', '/home/pi/Desktop/images/20022025/17/05/image_20022025_17_05_57_10362.jpg', '/home/pi/Desktop/images/20022025/17/05/image_20022025_17_06_06_9332.jpg', '/home/pi/Desktop/images/20022025/17/06/image_20022025_17_06_16_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/05/image_20022025_17_05_27_10353.jpg
/home/pi/Desktop/images/20022025/17/05/image_20022025_17_05_36_9331.jpg
/home/pi/Desktop/images/20022025/17/05/image_20022025_17_05_46_10338.jpg
/home/pi/Desktop/images/20022025/17/05/image_20022025_17_05_57_10362.jpg
/home/pi/Desktop/images/20022025/17/05/image_20022025_17_06_06_9332.jpg
/home/pi/Desktop/images/20022025/17/06/image_20022025_17_06_16_10347.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338836814","1338836822","1338836825","1338836819","1338836803","1338836806"],"photo_ids_order":["1338836803","1338836806","1338836814","1338836819","1338836822","1338836825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1467222a8f38d2a122536c7b06af8ebd.jpg","text":"TemporaryFile(/tmp/multipartBody6131593021404486789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144545193,"filename":"image_20022025_17_05_46_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/72308d3786a9cab44498201df3850185.jpg","text":"TemporaryFile(/tmp/multipartBody4024237882060583810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144545193,"filename":"image_20022025_17_06_06_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/856a3cc444ad190dacb262d55f49568d.jpg","text":"TemporaryFile(/tmp/multipartBody7321885374600677426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144545193,"filename":"image_20022025_17_06_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6be696a11eec291c05c7e015c84b9f52.jpg","text":"TemporaryFile(/tmp/multipartBody1093828974361766503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144545193,"filename":"image_20022025_17_05_57_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c5a924ff1ac8300466b89e727d8b890.jpg","text":"TemporaryFile(/tmp/multipartBody2737800050255245929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144545193,"filename":"image_20022025_17_05_27_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/967149f52239c270241d0cd4bfa76eac.jpg","text":"TemporaryFile(/tmp/multipartBody7745284034529722589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144545193,"filename":"image_20022025_17_05_36_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338836814","file1":"1338836806","file0":"1338836803","file4":"1338836822","file5":"1338836825","file3":"1338836819"},"map_files_photo_id_array":[{"photo_id":"1338836825","filename":"file5"},{"photo_id":"1338836814","filename":"file2"},{"photo_id":"1338836822","filename":"file4"},{"photo_id":"1338836806","filename":"file1"},{"photo_id":"1338836803","filename":"file0"},{"photo_id":"1338836819","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338836814":["hashtag1","hashtag2"]},{"1338836822":["hashtag1","hashtag2"]},{"1338836825":["hashtag1","hashtag2"]},{"1338836819":["hashtag1","hashtag2"]},{"1338836803":["hashtag1","hashtag2"]},{"1338836806":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338836814, 1338836822, 1338836825, 1338836819, 1338836803, 1338836806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.89008808135986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:28:42.905508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/27/image_21022025_14_27_55_10362.jpg', '/home/pi/Desktop/images/21022025/14/28/image_21022025_14_28_15_10401.jpg', '/home/pi/Desktop/images/21022025/14/28/image_21022025_14_28_26_10368.jpg', '/home/pi/Desktop/images/21022025/14/28/image_21022025_14_28_35_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/27/image_21022025_14_27_55_10362.jpg
/home/pi/Desktop/images/21022025/14/28/image_21022025_14_28_15_10401.jpg
/home/pi/Desktop/images/21022025/14/28/image_21022025_14_28_26_10368.jpg
/home/pi/Desktop/images/21022025/14/28/image_21022025_14_28_35_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338836847","1338836849","1338836852","1338836846"],"photo_ids_order":["1338836846","1338836847","1338836849","1338836852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/afee84a08410caa5dbbbb73ea4e3b446.jpg","text":"TemporaryFile(/tmp/multipartBody9090173886654472329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144583357,"filename":"image_21022025_14_28_15_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ff5923ab207fa7f605f6369e075d44f.jpg","text":"TemporaryFile(/tmp/multipartBody5642422099280127894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144583357,"filename":"image_21022025_14_28_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/55bf6f622b79f4823c359c8be8333c9f.jpg","text":"TemporaryFile(/tmp/multipartBody6950537966768481432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144583357,"filename":"image_21022025_14_28_35_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/37231fa7bcaa5777b5073d7dda810c1e.jpg","text":"TemporaryFile(/tmp/multipartBody1201103856736786787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144583357,"filename":"image_21022025_14_27_55_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338836849","file1":"1338836847","file0":"1338836846","file3":"1338836852"},"map_files_photo_id_array":[{"photo_id":"1338836849","filename":"file2"},{"photo_id":"1338836847","filename":"file1"},{"photo_id":"1338836846","filename":"file0"},{"photo_id":"1338836852","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338836847":["hashtag1","hashtag2"]},{"1338836849":["hashtag1","hashtag2"]},{"1338836852":["hashtag1","hashtag2"]},{"1338836846":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338836847, 1338836849, 1338836852, 1338836846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.643059015274048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:29:33.097164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/28/image_21022025_14_28_56_10422.jpg', '/home/pi/Desktop/images/21022025/14/28/image_21022025_14_29_05_9369.jpg', '/home/pi/Desktop/images/21022025/14/29/image_21022025_14_29_16_10321.jpg', '/home/pi/Desktop/images/21022025/14/29/image_21022025_14_29_25_9431.jpg', '/home/pi/Desktop/images/21022025/14/29/image_21022025_14_29_35_10347.jpg', '/home/pi/Desktop/images/21022025/14/29/image_21022025_14_29_46_10490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/28/image_21022025_14_28_56_10422.jpg
/home/pi/Desktop/images/21022025/14/28/image_21022025_14_29_05_9369.jpg
/home/pi/Desktop/images/21022025/14/29/image_21022025_14_29_16_10321.jpg
/home/pi/Desktop/images/21022025/14/29/image_21022025_14_29_25_9431.jpg
/home/pi/Desktop/images/21022025/14/29/image_21022025_14_29_35_10347.jpg
/home/pi/Desktop/images/21022025/14/29/image_21022025_14_29_46_10490.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3962593078613281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:29:43.115147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/28/image_21022025_14_28_56_10422.jpg', '/home/pi/Desktop/images/21022025/14/28/image_21022025_14_29_05_9369.jpg', '/home/pi/Desktop/images/21022025/14/29/image_21022025_14_29_16_10321.jpg', '/home/pi/Desktop/images/21022025/14/29/image_21022025_14_29_25_9431.jpg', '/home/pi/Desktop/images/21022025/14/29/image_21022025_14_29_35_10347.jpg', '/home/pi/Desktop/images/21022025/14/29/image_21022025_14_29_46_10490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/28/image_21022025_14_28_56_10422.jpg
/home/pi/Desktop/images/21022025/14/28/image_21022025_14_29_05_9369.jpg
/home/pi/Desktop/images/21022025/14/29/image_21022025_14_29_16_10321.jpg
/home/pi/Desktop/images/21022025/14/29/image_21022025_14_29_25_9431.jpg
/home/pi/Desktop/images/21022025/14/29/image_21022025_14_29_35_10347.jpg
/home/pi/Desktop/images/21022025/14/29/image_21022025_14_29_46_10490.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338836958","1338836966","1338836960","1338836963","1338836962","1338836955"],"photo_ids_order":["1338836955","1338836958","1338836960","1338836962","1338836963","1338836966"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/38e2e6ecff34bc8b428a93386056c87a.jpg","text":"TemporaryFile(/tmp/multipartBody2840896046321725091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144643581,"filename":"image_21022025_14_29_05_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/410c8dca729f49d3377c0bbf6047c193.jpg","text":"TemporaryFile(/tmp/multipartBody1222119322594317564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144643581,"filename":"image_21022025_14_29_46_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bbcc606c56dbbde748cb29b6117a49a9.jpg","text":"TemporaryFile(/tmp/multipartBody7133082524754114677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144643581,"filename":"image_21022025_14_29_16_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a94d5af12963d34df7727ed4a3147de9.jpg","text":"TemporaryFile(/tmp/multipartBody1216012115048642453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144643581,"filename":"image_21022025_14_29_35_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/feb375c3e4b21ee4b6872b8088a88de7.jpg","text":"TemporaryFile(/tmp/multipartBody4603683679642913805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144643581,"filename":"image_21022025_14_29_25_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/60b0cccfe4ffca2b8173e05c968341ae.jpg","text":"TemporaryFile(/tmp/multipartBody3037402498656342169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144643581,"filename":"image_21022025_14_28_56_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338836960","file1":"1338836958","file0":"1338836955","file4":"1338836963","file5":"1338836966","file3":"1338836962"},"map_files_photo_id_array":[{"photo_id":"1338836966","filename":"file5"},{"photo_id":"1338836960","filename":"file2"},{"photo_id":"1338836963","filename":"file4"},{"photo_id":"1338836958","filename":"file1"},{"photo_id":"1338836955","filename":"file0"},{"photo_id":"1338836962","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338836958":["hashtag1","hashtag2"]},{"1338836966":["hashtag1","hashtag2"]},{"1338836960":["hashtag1","hashtag2"]},{"1338836963":["hashtag1","hashtag2"]},{"1338836962":["hashtag1","hashtag2"]},{"1338836955":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338836958, 1338836966, 1338836960, 1338836963, 1338836962, 1338836955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.448503494262695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:30:32.258662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/29/image_21022025_14_29_55_9412.jpg', '/home/pi/Desktop/images/21022025/14/29/image_21022025_14_30_06_10350.jpg', '/home/pi/Desktop/images/21022025/14/30/image_21022025_14_30_15_9379.jpg', '/home/pi/Desktop/images/21022025/14/30/image_21022025_14_30_36_10455.jpg', '/home/pi/Desktop/images/21022025/14/30/image_21022025_14_30_45_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/29/image_21022025_14_29_55_9412.jpg
/home/pi/Desktop/images/21022025/14/29/image_21022025_14_30_06_10350.jpg
/home/pi/Desktop/images/21022025/14/30/image_21022025_14_30_15_9379.jpg
/home/pi/Desktop/images/21022025/14/30/image_21022025_14_30_36_10455.jpg
/home/pi/Desktop/images/21022025/14/30/image_21022025_14_30_45_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338837098","1338837094","1338837090","1338837093","1338837096"],"photo_ids_order":["1338837090","1338837093","1338837094","1338837096","1338837098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c361974b338c9bad0e155587c96daa6.jpg","text":"TemporaryFile(/tmp/multipartBody7265377467277321147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144692713,"filename":"image_21022025_14_30_45_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c296d1084a5bcd41dea63a248b75b27.jpg","text":"TemporaryFile(/tmp/multipartBody3564641372456223392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144692713,"filename":"image_21022025_14_30_15_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f5a84d99426bc7f2e5347c9a710f002e.jpg","text":"TemporaryFile(/tmp/multipartBody5120909022954170412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144692713,"filename":"image_21022025_14_29_55_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e42fe83c6648e64f5b4134b5a8e2f7b8.jpg","text":"TemporaryFile(/tmp/multipartBody5467174583011589552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144692713,"filename":"image_21022025_14_30_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/450a24acf92b2fda257a3e47145d8c70.jpg","text":"TemporaryFile(/tmp/multipartBody3454388367465524074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144692713,"filename":"image_21022025_14_30_36_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338837094","file1":"1338837093","file0":"1338837090","file4":"1338837098","file3":"1338837096"},"map_files_photo_id_array":[{"photo_id":"1338837094","filename":"file2"},{"photo_id":"1338837098","filename":"file4"},{"photo_id":"1338837093","filename":"file1"},{"photo_id":"1338837090","filename":"file0"},{"photo_id":"1338837096","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338837098":["hashtag1","hashtag2"]},{"1338837094":["hashtag1","hashtag2"]},{"1338837090":["hashtag1","hashtag2"]},{"1338837093":["hashtag1","hashtag2"]},{"1338837096":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338837098, 1338837094, 1338837090, 1338837093, 1338837096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.464795112609863 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:31:32.570197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/30/image_21022025_14_30_55_10381.jpg', '/home/pi/Desktop/images/21022025/14/30/image_21022025_14_31_05_9406.jpg', '/home/pi/Desktop/images/21022025/14/31/image_21022025_14_31_15_10337.jpg', '/home/pi/Desktop/images/21022025/14/31/image_21022025_14_31_26_10410.jpg', '/home/pi/Desktop/images/21022025/14/31/image_21022025_14_31_35_9317.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/30/image_21022025_14_30_55_10381.jpg
/home/pi/Desktop/images/21022025/14/30/image_21022025_14_31_05_9406.jpg
/home/pi/Desktop/images/21022025/14/31/image_21022025_14_31_15_10337.jpg
/home/pi/Desktop/images/21022025/14/31/image_21022025_14_31_26_10410.jpg
/home/pi/Desktop/images/21022025/14/31/image_21022025_14_31_35_9317.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338837653","1338837647","1338837650","1338837480","1338837642"],"photo_ids_order":["1338837480","1338837642","1338837647","1338837650","1338837653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/570089c1fca5f4d259f1b0e55ab880f1.jpg","text":"TemporaryFile(/tmp/multipartBody5063273038191398248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144753021,"filename":"image_21022025_14_31_35_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/786fd5e497f2d33914ff71b4bdc3870f.jpg","text":"TemporaryFile(/tmp/multipartBody3079532867857466801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144753021,"filename":"image_21022025_14_31_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/da3827f9cae1f847b9e77213a15f7c7a.jpg","text":"TemporaryFile(/tmp/multipartBody7377737037520163840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144753021,"filename":"image_21022025_14_31_26_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be86b3ee333f307ebc87f958839fc6b0.jpg","text":"TemporaryFile(/tmp/multipartBody8339770356946125279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144753021,"filename":"image_21022025_14_30_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ef37a2f2da6374e8015e843c3ef14d1.jpg","text":"TemporaryFile(/tmp/multipartBody2050579225128974903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144753021,"filename":"image_21022025_14_31_05_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338837647","file1":"1338837642","file0":"1338837480","file4":"1338837653","file3":"1338837650"},"map_files_photo_id_array":[{"photo_id":"1338837647","filename":"file2"},{"photo_id":"1338837653","filename":"file4"},{"photo_id":"1338837642","filename":"file1"},{"photo_id":"1338837480","filename":"file0"},{"photo_id":"1338837650","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338837653":["hashtag1","hashtag2"]},{"1338837647":["hashtag1","hashtag2"]},{"1338837650":["hashtag1","hashtag2"]},{"1338837480":["hashtag1","hashtag2"]},{"1338837642":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338837653, 1338837647, 1338837650, 1338837480, 1338837642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.574874877929688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:32:03.610481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/06/image_20022025_17_06_26_9431.jpg', '/home/pi/Desktop/images/20022025/17/06/image_20022025_17_06_36_10318.jpg', '/home/pi/Desktop/images/20022025/17/06/image_20022025_17_06_47_10582.jpg', '/home/pi/Desktop/images/20022025/17/06/image_20022025_17_06_56_9363.jpg', '/home/pi/Desktop/images/20022025/17/06/image_20022025_17_07_06_10396.jpg', '/home/pi/Desktop/images/20022025/17/07/image_20022025_17_07_16_9316.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/06/image_20022025_17_06_26_9431.jpg
/home/pi/Desktop/images/20022025/17/06/image_20022025_17_06_36_10318.jpg
/home/pi/Desktop/images/20022025/17/06/image_20022025_17_06_47_10582.jpg
/home/pi/Desktop/images/20022025/17/06/image_20022025_17_06_56_9363.jpg
/home/pi/Desktop/images/20022025/17/06/image_20022025_17_07_06_10396.jpg
/home/pi/Desktop/images/20022025/17/07/image_20022025_17_07_16_9316.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338837803","1338837808","1338837798","1338837802","1338837805","1338837810"],"photo_ids_order":["1338837798","1338837802","1338837803","1338837805","1338837808","1338837810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df0c914a1dbee3ddb26b290cf2544996.jpg","text":"TemporaryFile(/tmp/multipartBody5620956108133334478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144785098,"filename":"image_20022025_17_06_47_10582.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/77902a2787006f82aa8444498be1f287.jpg","text":"TemporaryFile(/tmp/multipartBody622462680738646581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144785098,"filename":"image_20022025_17_07_06_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0bd59348fe3a89382ca36eece8b05c4f.jpg","text":"TemporaryFile(/tmp/multipartBody7389268974069720593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144785098,"filename":"image_20022025_17_06_26_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1a00fc17c201f14c1a6981083dc84167.jpg","text":"TemporaryFile(/tmp/multipartBody317345914200245452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144785098,"filename":"image_20022025_17_06_36_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3ba43dd9fadf1ee7020fe04fd3a4fcb1.jpg","text":"TemporaryFile(/tmp/multipartBody885228645586888754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144785098,"filename":"image_20022025_17_06_56_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f306ae05563ba1513a099bbbee7566ae.jpg","text":"TemporaryFile(/tmp/multipartBody1714662176948932053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144785098,"filename":"image_20022025_17_07_16_9316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338837803","file1":"1338837802","file0":"1338837798","file4":"1338837808","file5":"1338837810","file3":"1338837805"},"map_files_photo_id_array":[{"photo_id":"1338837810","filename":"file5"},{"photo_id":"1338837803","filename":"file2"},{"photo_id":"1338837808","filename":"file4"},{"photo_id":"1338837802","filename":"file1"},{"photo_id":"1338837798","filename":"file0"},{"photo_id":"1338837805","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338837803":["hashtag1","hashtag2"]},{"1338837808":["hashtag1","hashtag2"]},{"1338837798":["hashtag1","hashtag2"]},{"1338837802":["hashtag1","hashtag2"]},{"1338837805":["hashtag1","hashtag2"]},{"1338837810":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338837803, 1338837808, 1338837798, 1338837802, 1338837805, 1338837810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 152.35967588424683 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:34:42.136004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/31/image_21022025_14_31_55_9418.jpg', '/home/pi/Desktop/images/21022025/14/32/image_21022025_14_33_05_10355.jpg', '/home/pi/Desktop/images/21022025/14/33/image_21022025_14_33_16_10479.jpg', '/home/pi/Desktop/images/21022025/14/33/image_21022025_14_33_25_9343.jpg', '/home/pi/Desktop/images/21022025/14/33/image_21022025_14_33_35_10327.jpg', '/home/pi/Desktop/images/21022025/14/33/image_21022025_14_33_45_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/31/image_21022025_14_31_55_9418.jpg
/home/pi/Desktop/images/21022025/14/32/image_21022025_14_33_05_10355.jpg
/home/pi/Desktop/images/21022025/14/33/image_21022025_14_33_16_10479.jpg
/home/pi/Desktop/images/21022025/14/33/image_21022025_14_33_25_9343.jpg
/home/pi/Desktop/images/21022025/14/33/image_21022025_14_33_35_10327.jpg
/home/pi/Desktop/images/21022025/14/33/image_21022025_14_33_45_9409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338837827","1338837815","1338837817","1338837822","1338837825","1338837819"],"photo_ids_order":["1338837815","1338837817","1338837819","1338837822","1338837825","1338837827"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/56e974209eaba91c3f5e35153d37a697.jpg","text":"TemporaryFile(/tmp/multipartBody1055987590541600444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144942604,"filename":"image_21022025_14_33_45_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/edb33609a826e48deac0bacd0494c9a2.jpg","text":"TemporaryFile(/tmp/multipartBody1904247466644981623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144942604,"filename":"image_21022025_14_31_55_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fe663a2512693df1e2e7940b0ef875c7.jpg","text":"TemporaryFile(/tmp/multipartBody5508867385876364429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144942604,"filename":"image_21022025_14_33_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aae7a8f5c6d2153a227a6025f414d92c.jpg","text":"TemporaryFile(/tmp/multipartBody8877967192760151492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144942604,"filename":"image_21022025_14_33_25_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/10fe356b6ec38218731637d6332253c0.jpg","text":"TemporaryFile(/tmp/multipartBody3570207892850733991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144942604,"filename":"image_21022025_14_33_35_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5da62e55450b013d29eaffa7ce860071.jpg","text":"TemporaryFile(/tmp/multipartBody2746132037445065186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144942604,"filename":"image_21022025_14_33_16_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338837819","file1":"1338837817","file0":"1338837815","file4":"1338837825","file5":"1338837827","file3":"1338837822"},"map_files_photo_id_array":[{"photo_id":"1338837827","filename":"file5"},{"photo_id":"1338837819","filename":"file2"},{"photo_id":"1338837825","filename":"file4"},{"photo_id":"1338837817","filename":"file1"},{"photo_id":"1338837815","filename":"file0"},{"photo_id":"1338837822","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338837827":["hashtag1","hashtag2"]},{"1338837815":["hashtag1","hashtag2"]},{"1338837817":["hashtag1","hashtag2"]},{"1338837822":["hashtag1","hashtag2"]},{"1338837825":["hashtag1","hashtag2"]},{"1338837819":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338837827, 1338837815, 1338837817, 1338837822, 1338837825, 1338837819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.79930329322815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:35:32.516837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/33/image_21022025_14_33_55_10354.jpg', '/home/pi/Desktop/images/21022025/14/33/image_21022025_14_34_06_10413.jpg', '/home/pi/Desktop/images/21022025/14/34/image_21022025_14_34_15_9344.jpg', '/home/pi/Desktop/images/21022025/14/34/image_21022025_14_34_25_10426.jpg', '/home/pi/Desktop/images/21022025/14/34/image_21022025_14_34_45_9340.jpg', '/home/pi/Desktop/images/21022025/14/34/image_21022025_14_34_56_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/33/image_21022025_14_33_55_10354.jpg
/home/pi/Desktop/images/21022025/14/33/image_21022025_14_34_06_10413.jpg
/home/pi/Desktop/images/21022025/14/34/image_21022025_14_34_15_9344.jpg
/home/pi/Desktop/images/21022025/14/34/image_21022025_14_34_25_10426.jpg
/home/pi/Desktop/images/21022025/14/34/image_21022025_14_34_45_9340.jpg
/home/pi/Desktop/images/21022025/14/34/image_21022025_14_34_56_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338837854","1338837847","1338837832","1338837852","1338837855","1338837840"],"photo_ids_order":["1338837832","1338837840","1338837847","1338837852","1338837854","1338837855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e902518a7d29d9ad9f29b59dd51992f0.jpg","text":"TemporaryFile(/tmp/multipartBody2963541317044114866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144992995,"filename":"image_21022025_14_34_45_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cb88f2925c43a666fcfd82b7637d67d5.jpg","text":"TemporaryFile(/tmp/multipartBody7050276466832202364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144992995,"filename":"image_21022025_14_34_15_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ec764e4b28af925cc579f04333d316c.jpg","text":"TemporaryFile(/tmp/multipartBody1247311899164656680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144992995,"filename":"image_21022025_14_33_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/593998254b88c2bedbed227fb419af99.jpg","text":"TemporaryFile(/tmp/multipartBody8033648121135091414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144992995,"filename":"image_21022025_14_34_25_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ac706f6d77b98c6dfd1847b867da7a8.jpg","text":"TemporaryFile(/tmp/multipartBody465459230195749953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144992995,"filename":"image_21022025_14_34_56_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cac1b4a62fb3b94bdc8e8e76656ff031.jpg","text":"TemporaryFile(/tmp/multipartBody6303322931960398880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740144992995,"filename":"image_21022025_14_34_06_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338837847","file1":"1338837840","file0":"1338837832","file4":"1338837854","file5":"1338837855","file3":"1338837852"},"map_files_photo_id_array":[{"photo_id":"1338837855","filename":"file5"},{"photo_id":"1338837847","filename":"file2"},{"photo_id":"1338837854","filename":"file4"},{"photo_id":"1338837840","filename":"file1"},{"photo_id":"1338837832","filename":"file0"},{"photo_id":"1338837852","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338837854":["hashtag1","hashtag2"]},{"1338837847":["hashtag1","hashtag2"]},{"1338837832":["hashtag1","hashtag2"]},{"1338837852":["hashtag1","hashtag2"]},{"1338837855":["hashtag1","hashtag2"]},{"1338837840":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338837854, 1338837847, 1338837832, 1338837852, 1338837855, 1338837840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.24088716506958 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:36:32.800131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/34/image_21022025_14_35_05_9334.jpg', '/home/pi/Desktop/images/21022025/14/35/image_21022025_14_35_26_10426.jpg', '/home/pi/Desktop/images/21022025/14/35/image_21022025_14_35_35_9439.jpg', '/home/pi/Desktop/images/21022025/14/35/image_21022025_14_35_45_10349.jpg', '/home/pi/Desktop/images/21022025/14/35/image_21022025_14_35_55_9360.jpg', '/home/pi/Desktop/images/21022025/14/35/image_21022025_14_36_05_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/34/image_21022025_14_35_05_9334.jpg
/home/pi/Desktop/images/21022025/14/35/image_21022025_14_35_26_10426.jpg
/home/pi/Desktop/images/21022025/14/35/image_21022025_14_35_35_9439.jpg
/home/pi/Desktop/images/21022025/14/35/image_21022025_14_35_45_10349.jpg
/home/pi/Desktop/images/21022025/14/35/image_21022025_14_35_55_9360.jpg
/home/pi/Desktop/images/21022025/14/35/image_21022025_14_36_05_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338837900","1338837907","1338837897","1338837904","1338837894","1338837903"],"photo_ids_order":["1338837894","1338837897","1338837900","1338837903","1338837904","1338837907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/caee9fd6e8d1aea6f8e5c6862e2e41c8.jpg","text":"TemporaryFile(/tmp/multipartBody5299884989713033125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145053283,"filename":"image_21022025_14_35_35_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/560f0e2042c4ad5111e0a7e908818734.jpg","text":"TemporaryFile(/tmp/multipartBody813884647570407321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145053283,"filename":"image_21022025_14_36_05_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b81e45e65f80bb099d6cf8bbaf629930.jpg","text":"TemporaryFile(/tmp/multipartBody2125726316286451746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145053283,"filename":"image_21022025_14_35_26_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6799a19892415a10459a8cc6e80d8512.jpg","text":"TemporaryFile(/tmp/multipartBody7723551003938425719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145053283,"filename":"image_21022025_14_35_55_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a1622fd2651f4d208549e0ba38d90f56.jpg","text":"TemporaryFile(/tmp/multipartBody4967017746139884698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145053283,"filename":"image_21022025_14_35_05_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8f599b7242ba5e845674ab0ed9ff8c14.jpg","text":"TemporaryFile(/tmp/multipartBody3155279944271013116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145053283,"filename":"image_21022025_14_35_45_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338837900","file1":"1338837897","file0":"1338837894","file4":"1338837904","file5":"1338837907","file3":"1338837903"},"map_files_photo_id_array":[{"photo_id":"1338837907","filename":"file5"},{"photo_id":"1338837900","filename":"file2"},{"photo_id":"1338837904","filename":"file4"},{"photo_id":"1338837897","filename":"file1"},{"photo_id":"1338837894","filename":"file0"},{"photo_id":"1338837903","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338837900":["hashtag1","hashtag2"]},{"1338837907":["hashtag1","hashtag2"]},{"1338837897":["hashtag1","hashtag2"]},{"1338837904":["hashtag1","hashtag2"]},{"1338837894":["hashtag1","hashtag2"]},{"1338837903":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338837900, 1338837907, 1338837897, 1338837904, 1338837894, 1338837903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.76320838928223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:37:33.133921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/36/image_21022025_14_36_25_9360.jpg', '/home/pi/Desktop/images/21022025/14/36/image_21022025_14_36_35_10342.jpg', '/home/pi/Desktop/images/21022025/14/36/image_21022025_14_36_55_9365.jpg', '/home/pi/Desktop/images/21022025/14/36/image_21022025_14_37_05_10338.jpg', '/home/pi/Desktop/images/21022025/14/37/image_21022025_14_37_16_10352.jpg', '/home/pi/Desktop/images/21022025/14/37/image_21022025_14_37_35_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/36/image_21022025_14_36_25_9360.jpg
/home/pi/Desktop/images/21022025/14/36/image_21022025_14_36_35_10342.jpg
/home/pi/Desktop/images/21022025/14/36/image_21022025_14_36_55_9365.jpg
/home/pi/Desktop/images/21022025/14/36/image_21022025_14_37_05_10338.jpg
/home/pi/Desktop/images/21022025/14/37/image_21022025_14_37_16_10352.jpg
/home/pi/Desktop/images/21022025/14/37/image_21022025_14_37_35_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338837926","1338837929","1338837931","1338837922","1338837916","1338837918"],"photo_ids_order":["1338837916","1338837918","1338837922","1338837926","1338837929","1338837931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/29d35667dc6b7f9a5e924b214c088edd.jpg","text":"TemporaryFile(/tmp/multipartBody4703959096413181956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145113622,"filename":"image_21022025_14_37_05_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/49e9e71f8813aa67073c6cfb8ed3c403.jpg","text":"TemporaryFile(/tmp/multipartBody3704566026345410708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145113622,"filename":"image_21022025_14_37_16_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4ec86c95fc0d06da40f37e153f25343b.jpg","text":"TemporaryFile(/tmp/multipartBody3075821004180968065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145113622,"filename":"image_21022025_14_37_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2e6dce2a4f97782b6708b1884611db26.jpg","text":"TemporaryFile(/tmp/multipartBody333610951633235148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145113622,"filename":"image_21022025_14_36_55_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/428de431af7e72402cff4c3475226f62.jpg","text":"TemporaryFile(/tmp/multipartBody1700476525506290528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145113622,"filename":"image_21022025_14_36_25_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61c611c1ceccd7f7316e27671d83745d.jpg","text":"TemporaryFile(/tmp/multipartBody6034643467357834884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145113622,"filename":"image_21022025_14_36_35_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338837922","file1":"1338837918","file0":"1338837916","file4":"1338837929","file5":"1338837931","file3":"1338837926"},"map_files_photo_id_array":[{"photo_id":"1338837931","filename":"file5"},{"photo_id":"1338837922","filename":"file2"},{"photo_id":"1338837929","filename":"file4"},{"photo_id":"1338837918","filename":"file1"},{"photo_id":"1338837916","filename":"file0"},{"photo_id":"1338837926","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338837926":["hashtag1","hashtag2"]},{"1338837929":["hashtag1","hashtag2"]},{"1338837931":["hashtag1","hashtag2"]},{"1338837922":["hashtag1","hashtag2"]},{"1338837916":["hashtag1","hashtag2"]},{"1338837918":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338837926, 1338837929, 1338837931, 1338837922, 1338837916, 1338837918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.683894872665405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:38:32.414292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/37/image_21022025_14_37_45_9446.jpg', '/home/pi/Desktop/images/21022025/14/37/image_21022025_14_37_55_10429.jpg', '/home/pi/Desktop/images/21022025/14/38/image_21022025_14_38_15_9380.jpg', '/home/pi/Desktop/images/21022025/14/38/image_21022025_14_38_25_10345.jpg', '/home/pi/Desktop/images/21022025/14/38/image_21022025_14_38_36_10378.jpg', '/home/pi/Desktop/images/21022025/14/38/image_21022025_14_38_45_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/37/image_21022025_14_37_45_9446.jpg
/home/pi/Desktop/images/21022025/14/37/image_21022025_14_37_55_10429.jpg
/home/pi/Desktop/images/21022025/14/38/image_21022025_14_38_15_9380.jpg
/home/pi/Desktop/images/21022025/14/38/image_21022025_14_38_25_10345.jpg
/home/pi/Desktop/images/21022025/14/38/image_21022025_14_38_36_10378.jpg
/home/pi/Desktop/images/21022025/14/38/image_21022025_14_38_45_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338837995","1338838001","1338837997","1338837949","1338837940","1338837945"],"photo_ids_order":["1338837940","1338837945","1338837949","1338837995","1338837997","1338838001"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cd20858e6bb46c66ba6dbc072baaa6ee.jpg","text":"TemporaryFile(/tmp/multipartBody6387188575112326318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145172880,"filename":"image_21022025_14_38_25_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9232275bd3d885659e59c8dc7bb1babc.jpg","text":"TemporaryFile(/tmp/multipartBody8459206617023104795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145172880,"filename":"image_21022025_14_38_45_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d817f7bb0dbe66fd3510bda00f89bc15.jpg","text":"TemporaryFile(/tmp/multipartBody6292456896258281282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145172880,"filename":"image_21022025_14_38_36_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75f78529f1419d64c29dc2b8b8bee166.jpg","text":"TemporaryFile(/tmp/multipartBody8989411804673247210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145172880,"filename":"image_21022025_14_38_15_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f9dd867bb603b114c01f049bb53b3265.jpg","text":"TemporaryFile(/tmp/multipartBody804306230073929150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145172880,"filename":"image_21022025_14_37_45_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7724e13f20d1b146df9b0d6ceea3d004.jpg","text":"TemporaryFile(/tmp/multipartBody3180974029875041561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145172880,"filename":"image_21022025_14_37_55_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338837949","file1":"1338837945","file0":"1338837940","file4":"1338837997","file5":"1338838001","file3":"1338837995"},"map_files_photo_id_array":[{"photo_id":"1338838001","filename":"file5"},{"photo_id":"1338837949","filename":"file2"},{"photo_id":"1338837997","filename":"file4"},{"photo_id":"1338837945","filename":"file1"},{"photo_id":"1338837940","filename":"file0"},{"photo_id":"1338837995","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338837995":["hashtag1","hashtag2"]},{"1338838001":["hashtag1","hashtag2"]},{"1338837997":["hashtag1","hashtag2"]},{"1338837949":["hashtag1","hashtag2"]},{"1338837940":["hashtag1","hashtag2"]},{"1338837945":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338837995, 1338838001, 1338837997, 1338837949, 1338837940, 1338837945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.14201092720032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:39:32.657335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/38/image_21022025_14_38_55_10363.jpg', '/home/pi/Desktop/images/21022025/14/38/image_21022025_14_39_05_9405.jpg', '/home/pi/Desktop/images/21022025/14/39/image_21022025_14_39_26_10408.jpg', '/home/pi/Desktop/images/21022025/14/39/image_21022025_14_39_35_9343.jpg', '/home/pi/Desktop/images/21022025/14/39/image_21022025_14_39_45_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/38/image_21022025_14_38_55_10363.jpg
/home/pi/Desktop/images/21022025/14/38/image_21022025_14_39_05_9405.jpg
/home/pi/Desktop/images/21022025/14/39/image_21022025_14_39_26_10408.jpg
/home/pi/Desktop/images/21022025/14/39/image_21022025_14_39_35_9343.jpg
/home/pi/Desktop/images/21022025/14/39/image_21022025_14_39_45_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338838031","1338838027","1338838015","1338838035","1338838038"],"photo_ids_order":["1338838015","1338838027","1338838031","1338838035","1338838038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/35db4362a243f826b82108e7f80031f1.jpg","text":"TemporaryFile(/tmp/multipartBody8344465358927034983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145233120,"filename":"image_21022025_14_39_26_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/26ded5685492aae046047b06c5a97f34.jpg","text":"TemporaryFile(/tmp/multipartBody2287804885771651526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145233120,"filename":"image_21022025_14_39_05_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b3cb423491cb27d0739f601ac8f3dfb.jpg","text":"TemporaryFile(/tmp/multipartBody7796721289520622632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145233120,"filename":"image_21022025_14_38_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4098f736776caf6754f52b7c493567ae.jpg","text":"TemporaryFile(/tmp/multipartBody1986311872787882524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145233120,"filename":"image_21022025_14_39_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5d5bae8bb124747c90c030d188fcdcd2.jpg","text":"TemporaryFile(/tmp/multipartBody5984562244727352391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145233120,"filename":"image_21022025_14_39_45_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338838031","file1":"1338838027","file0":"1338838015","file4":"1338838038","file3":"1338838035"},"map_files_photo_id_array":[{"photo_id":"1338838031","filename":"file2"},{"photo_id":"1338838038","filename":"file4"},{"photo_id":"1338838027","filename":"file1"},{"photo_id":"1338838015","filename":"file0"},{"photo_id":"1338838035","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338838031":["hashtag1","hashtag2"]},{"1338838027":["hashtag1","hashtag2"]},{"1338838015":["hashtag1","hashtag2"]},{"1338838035":["hashtag1","hashtag2"]},{"1338838038":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338838031, 1338838027, 1338838015, 1338838035, 1338838038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.198129415512085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:40:32.924077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/39/image_21022025_14_39_56_10351.jpg', '/home/pi/Desktop/images/21022025/14/39/image_21022025_14_40_05_9332.jpg', '/home/pi/Desktop/images/21022025/14/40/image_21022025_14_40_15_10344.jpg', '/home/pi/Desktop/images/21022025/14/40/image_21022025_14_40_45_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/39/image_21022025_14_39_56_10351.jpg
/home/pi/Desktop/images/21022025/14/39/image_21022025_14_40_05_9332.jpg
/home/pi/Desktop/images/21022025/14/40/image_21022025_14_40_15_10344.jpg
/home/pi/Desktop/images/21022025/14/40/image_21022025_14_40_45_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338838070","1338838073","1338838075","1338838069"],"photo_ids_order":["1338838069","1338838070","1338838073","1338838075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87e39ecc723d76601dc38207cb243269.jpg","text":"TemporaryFile(/tmp/multipartBody8961816795794052488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145293378,"filename":"image_21022025_14_40_05_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5277107167be21291511d73a356c6669.jpg","text":"TemporaryFile(/tmp/multipartBody4202084711082765236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145293378,"filename":"image_21022025_14_40_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/152e9167c338b14fcedae235ed444591.jpg","text":"TemporaryFile(/tmp/multipartBody2722897526134489092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145293378,"filename":"image_21022025_14_40_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d471cfffe1412f5da36e5c20f44b055.jpg","text":"TemporaryFile(/tmp/multipartBody5485855854552266423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145293378,"filename":"image_21022025_14_39_56_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338838073","file1":"1338838070","file0":"1338838069","file3":"1338838075"},"map_files_photo_id_array":[{"photo_id":"1338838073","filename":"file2"},{"photo_id":"1338838070","filename":"file1"},{"photo_id":"1338838069","filename":"file0"},{"photo_id":"1338838075","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338838070":["hashtag1","hashtag2"]},{"1338838073":["hashtag1","hashtag2"]},{"1338838075":["hashtag1","hashtag2"]},{"1338838069":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338838070, 1338838073, 1338838075, 1338838069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.440127849578857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:41:04.992857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/07/image_20022025_17_07_26_10350.jpg', '/home/pi/Desktop/images/20022025/17/07/image_20022025_17_07_36_10416.jpg', '/home/pi/Desktop/images/20022025/17/07/image_20022025_17_07_46_9328.jpg', '/home/pi/Desktop/images/20022025/17/07/image_20022025_17_07_56_10432.jpg', '/home/pi/Desktop/images/20022025/17/07/image_20022025_17_08_07_10342.jpg', '/home/pi/Desktop/images/20022025/17/08/image_20022025_17_08_16_9326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/07/image_20022025_17_07_26_10350.jpg
/home/pi/Desktop/images/20022025/17/07/image_20022025_17_07_36_10416.jpg
/home/pi/Desktop/images/20022025/17/07/image_20022025_17_07_46_9328.jpg
/home/pi/Desktop/images/20022025/17/07/image_20022025_17_07_56_10432.jpg
/home/pi/Desktop/images/20022025/17/07/image_20022025_17_08_07_10342.jpg
/home/pi/Desktop/images/20022025/17/08/image_20022025_17_08_16_9326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338838091","1338838079","1338838084","1338838077","1338838089","1338838082"],"photo_ids_order":["1338838077","1338838079","1338838082","1338838084","1338838089","1338838091"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61b48d5e49577d79100e9608fdcfb6fb.jpg","text":"TemporaryFile(/tmp/multipartBody7638990107151201162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145326855,"filename":"image_20022025_17_08_16_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a3f9e61e99319e83dced98d987d6224.jpg","text":"TemporaryFile(/tmp/multipartBody5371179349218650845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145326855,"filename":"image_20022025_17_07_36_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/82ae33a13bc4c8e8b5ea39c31bf11a15.jpg","text":"TemporaryFile(/tmp/multipartBody5736866664166117690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145326855,"filename":"image_20022025_17_07_56_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac132b3a1083f4151872416d675c3b39.jpg","text":"TemporaryFile(/tmp/multipartBody695750858145234366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145326855,"filename":"image_20022025_17_07_26_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/40e0cd4217ba9f5001bd9be7763e0da0.jpg","text":"TemporaryFile(/tmp/multipartBody8608269286300856248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145326855,"filename":"image_20022025_17_08_07_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bfa6660f1dbf0374d4df31f997627030.jpg","text":"TemporaryFile(/tmp/multipartBody2701075955489073309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145326855,"filename":"image_20022025_17_07_46_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338838082","file1":"1338838079","file0":"1338838077","file4":"1338838089","file5":"1338838091","file3":"1338838084"},"map_files_photo_id_array":[{"photo_id":"1338838091","filename":"file5"},{"photo_id":"1338838082","filename":"file2"},{"photo_id":"1338838089","filename":"file4"},{"photo_id":"1338838079","filename":"file1"},{"photo_id":"1338838077","filename":"file0"},{"photo_id":"1338838084","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338838091":["hashtag1","hashtag2"]},{"1338838079":["hashtag1","hashtag2"]},{"1338838084":["hashtag1","hashtag2"]},{"1338838077":["hashtag1","hashtag2"]},{"1338838089":["hashtag1","hashtag2"]},{"1338838082":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338838091, 1338838079, 1338838084, 1338838077, 1338838089, 1338838082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36413550376892 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:41:53.179787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/40/image_21022025_14_40_56_10349.jpg', '/home/pi/Desktop/images/21022025/14/40/image_21022025_14_41_05_9330.jpg', '/home/pi/Desktop/images/21022025/14/41/image_21022025_14_41_16_10468.jpg', '/home/pi/Desktop/images/21022025/14/41/image_21022025_14_41_25_9407.jpg', '/home/pi/Desktop/images/21022025/14/41/image_21022025_14_41_35_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/40/image_21022025_14_40_56_10349.jpg
/home/pi/Desktop/images/21022025/14/40/image_21022025_14_41_05_9330.jpg
/home/pi/Desktop/images/21022025/14/41/image_21022025_14_41_16_10468.jpg
/home/pi/Desktop/images/21022025/14/41/image_21022025_14_41_25_9407.jpg
/home/pi/Desktop/images/21022025/14/41/image_21022025_14_41_35_10340.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338838454","1338838450","1338838333","1338838449","1338838451"],"photo_ids_order":["1338838333","1338838449","1338838450","1338838451","1338838454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/744bb2fa5ec4cca37c89fdce54b51ed5.jpg","text":"TemporaryFile(/tmp/multipartBody7814498458419677412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145373662,"filename":"image_21022025_14_41_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/082af99246af86df62177965e31d7fda.jpg","text":"TemporaryFile(/tmp/multipartBody2226485091830124160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145373662,"filename":"image_21022025_14_41_16_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/153c8c4a74f481b46390eccb56f0341c.jpg","text":"TemporaryFile(/tmp/multipartBody7671583835425623994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145373662,"filename":"image_21022025_14_40_56_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/10f7a37f720e6a71cf45fdded7fbca65.jpg","text":"TemporaryFile(/tmp/multipartBody3577208591126278656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145373662,"filename":"image_21022025_14_41_05_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f6eac42b876c67b51eb459357c1e5c1.jpg","text":"TemporaryFile(/tmp/multipartBody9171845450237035926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145373662,"filename":"image_21022025_14_41_25_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338838450","file1":"1338838449","file0":"1338838333","file4":"1338838454","file3":"1338838451"},"map_files_photo_id_array":[{"photo_id":"1338838450","filename":"file2"},{"photo_id":"1338838454","filename":"file4"},{"photo_id":"1338838449","filename":"file1"},{"photo_id":"1338838333","filename":"file0"},{"photo_id":"1338838451","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338838454":["hashtag1","hashtag2"]},{"1338838450":["hashtag1","hashtag2"]},{"1338838333":["hashtag1","hashtag2"]},{"1338838449":["hashtag1","hashtag2"]},{"1338838451":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338838454, 1338838450, 1338838333, 1338838449, 1338838451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.70694351196289 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:42:32.400763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/41/image_21022025_14_41_55_9329.jpg', '/home/pi/Desktop/images/21022025/14/41/image_21022025_14_42_05_10345.jpg', '/home/pi/Desktop/images/21022025/14/42/image_21022025_14_42_15_9384.jpg', '/home/pi/Desktop/images/21022025/14/42/image_21022025_14_42_25_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/41/image_21022025_14_41_55_9329.jpg
/home/pi/Desktop/images/21022025/14/41/image_21022025_14_42_05_10345.jpg
/home/pi/Desktop/images/21022025/14/42/image_21022025_14_42_15_9384.jpg
/home/pi/Desktop/images/21022025/14/42/image_21022025_14_42_25_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338838475","1338838463","1338838477","1338838470"],"photo_ids_order":["1338838463","1338838470","1338838475","1338838477"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b7f5d00011a2d55ba3db9c6e3476e6d0.jpg","text":"TemporaryFile(/tmp/multipartBody4387571001195562899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145412845,"filename":"image_21022025_14_42_15_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f638f104fe3a6f7b263c767ddab398b.jpg","text":"TemporaryFile(/tmp/multipartBody6522392943273199643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145412845,"filename":"image_21022025_14_41_55_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9017f19cd647ed6759317cedd360e1a3.jpg","text":"TemporaryFile(/tmp/multipartBody3388728239488353040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145412845,"filename":"image_21022025_14_42_25_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/361ea43b18c10b6c291c631ccfb9030c.jpg","text":"TemporaryFile(/tmp/multipartBody1787158858980615706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145412845,"filename":"image_21022025_14_42_05_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338838475","file1":"1338838470","file0":"1338838463","file3":"1338838477"},"map_files_photo_id_array":[{"photo_id":"1338838475","filename":"file2"},{"photo_id":"1338838470","filename":"file1"},{"photo_id":"1338838463","filename":"file0"},{"photo_id":"1338838477","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338838475":["hashtag1","hashtag2"]},{"1338838463":["hashtag1","hashtag2"]},{"1338838477":["hashtag1","hashtag2"]},{"1338838470":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338838475, 1338838463, 1338838477, 1338838470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.440062046051025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:43:04.326596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/08/image_20022025_17_08_26_10333.jpg', '/home/pi/Desktop/images/20022025/17/08/image_20022025_17_08_37_10356.jpg', '/home/pi/Desktop/images/20022025/17/08/image_20022025_17_08_46_9323.jpg', '/home/pi/Desktop/images/20022025/17/08/image_20022025_17_08_56_10362.jpg', '/home/pi/Desktop/images/20022025/17/08/image_20022025_17_09_07_10379.jpg', '/home/pi/Desktop/images/20022025/17/09/image_20022025_17_09_26_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/08/image_20022025_17_08_26_10333.jpg
/home/pi/Desktop/images/20022025/17/08/image_20022025_17_08_37_10356.jpg
/home/pi/Desktop/images/20022025/17/08/image_20022025_17_08_46_9323.jpg
/home/pi/Desktop/images/20022025/17/08/image_20022025_17_08_56_10362.jpg
/home/pi/Desktop/images/20022025/17/08/image_20022025_17_09_07_10379.jpg
/home/pi/Desktop/images/20022025/17/09/image_20022025_17_09_26_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338838489","1338838483","1338838492","1338838486","1338838485","1338838482"],"photo_ids_order":["1338838482","1338838483","1338838485","1338838486","1338838489","1338838492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a3cc2bb7ab8eec4cd221234cb3c79fe1.jpg","text":"TemporaryFile(/tmp/multipartBody5573294695880649628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145446203,"filename":"image_20022025_17_09_07_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1fba59a2509f7c107762f663cc72e8d.jpg","text":"TemporaryFile(/tmp/multipartBody8311564460217010675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145446203,"filename":"image_20022025_17_08_37_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4e98e6d1a2a4c952fcde305fc3397f6.jpg","text":"TemporaryFile(/tmp/multipartBody4011254907309118588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145446203,"filename":"image_20022025_17_09_26_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6d1f3bd6a40d3607cf3da12e0c3404ea.jpg","text":"TemporaryFile(/tmp/multipartBody119963345053503276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145446203,"filename":"image_20022025_17_08_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/895533d4edaa021ef145c090ae160a01.jpg","text":"TemporaryFile(/tmp/multipartBody7962333528774100730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145446203,"filename":"image_20022025_17_08_46_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1168975b2ebcf877c14eceb366b02ad5.jpg","text":"TemporaryFile(/tmp/multipartBody1044943933777998418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145446203,"filename":"image_20022025_17_08_26_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338838485","file1":"1338838483","file0":"1338838482","file4":"1338838489","file5":"1338838492","file3":"1338838486"},"map_files_photo_id_array":[{"photo_id":"1338838492","filename":"file5"},{"photo_id":"1338838485","filename":"file2"},{"photo_id":"1338838489","filename":"file4"},{"photo_id":"1338838483","filename":"file1"},{"photo_id":"1338838482","filename":"file0"},{"photo_id":"1338838486","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338838489":["hashtag1","hashtag2"]},{"1338838483":["hashtag1","hashtag2"]},{"1338838492":["hashtag1","hashtag2"]},{"1338838486":["hashtag1","hashtag2"]},{"1338838485":["hashtag1","hashtag2"]},{"1338838482":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338838489, 1338838483, 1338838492, 1338838486, 1338838485, 1338838482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.291921615600586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:43:52.655934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/42/image_21022025_14_42_36_10461.jpg', '/home/pi/Desktop/images/21022025/14/42/image_21022025_14_43_06_10340.jpg', '/home/pi/Desktop/images/21022025/14/43/image_21022025_14_43_25_10347.jpg', '/home/pi/Desktop/images/21022025/14/43/image_21022025_14_43_36_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/42/image_21022025_14_42_36_10461.jpg
/home/pi/Desktop/images/21022025/14/42/image_21022025_14_43_06_10340.jpg
/home/pi/Desktop/images/21022025/14/43/image_21022025_14_43_25_10347.jpg
/home/pi/Desktop/images/21022025/14/43/image_21022025_14_43_36_10331.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338838505","1338838501","1338838503","1338838499"],"photo_ids_order":["1338838499","1338838501","1338838503","1338838505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6d7b5104857e27f04fd3b5077f713591.jpg","text":"TemporaryFile(/tmp/multipartBody8258086109698681280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145493102,"filename":"image_21022025_14_43_36_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/feee8ee70ac40ca44b77f2db1b248dd7.jpg","text":"TemporaryFile(/tmp/multipartBody2205184408628173136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145493102,"filename":"image_21022025_14_43_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/52f54696cc1237ef904187fa90ce034b.jpg","text":"TemporaryFile(/tmp/multipartBody2462376085153727366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145493102,"filename":"image_21022025_14_43_25_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/994b9e071920ebf941ecce7aab618d49.jpg","text":"TemporaryFile(/tmp/multipartBody3982901394102291196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145493102,"filename":"image_21022025_14_42_36_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338838503","file1":"1338838501","file0":"1338838499","file3":"1338838505"},"map_files_photo_id_array":[{"photo_id":"1338838503","filename":"file2"},{"photo_id":"1338838501","filename":"file1"},{"photo_id":"1338838499","filename":"file0"},{"photo_id":"1338838505","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338838505":["hashtag1","hashtag2"]},{"1338838501":["hashtag1","hashtag2"]},{"1338838503":["hashtag1","hashtag2"]},{"1338838499":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338838505, 1338838501, 1338838503, 1338838499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.647940397262573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:44:32.916842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/43/image_21022025_14_43_45_9361.jpg', '/home/pi/Desktop/images/21022025/14/43/image_21022025_14_44_05_9325.jpg', '/home/pi/Desktop/images/21022025/14/44/image_21022025_14_44_15_10320.jpg', '/home/pi/Desktop/images/21022025/14/44/image_21022025_14_44_35_9320.jpg', '/home/pi/Desktop/images/21022025/14/44/image_21022025_14_44_45_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/43/image_21022025_14_43_45_9361.jpg
/home/pi/Desktop/images/21022025/14/43/image_21022025_14_44_05_9325.jpg
/home/pi/Desktop/images/21022025/14/44/image_21022025_14_44_15_10320.jpg
/home/pi/Desktop/images/21022025/14/44/image_21022025_14_44_35_9320.jpg
/home/pi/Desktop/images/21022025/14/44/image_21022025_14_44_45_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338838513","1338838516","1338838521","1338838545","1338838518"],"photo_ids_order":["1338838513","1338838516","1338838518","1338838521","1338838545"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e97d95e7546b66f8e4b430d760484886.jpg","text":"TemporaryFile(/tmp/multipartBody1678302929180859694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145533381,"filename":"image_21022025_14_43_45_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dde0a88f6832a33e1fe35f07678cb45c.jpg","text":"TemporaryFile(/tmp/multipartBody972113831623041595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145533381,"filename":"image_21022025_14_44_05_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7926f9ccd6fd701c0dd983fcaed01cff.jpg","text":"TemporaryFile(/tmp/multipartBody2092564341180394453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145533381,"filename":"image_21022025_14_44_35_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8ef0df6abbff2c8018e64fa633aa850c.jpg","text":"TemporaryFile(/tmp/multipartBody7592138207036245114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145533381,"filename":"image_21022025_14_44_45_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/859b5de0c6f03a50ca74e39ad752df4f.jpg","text":"TemporaryFile(/tmp/multipartBody8616363190453580361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145533381,"filename":"image_21022025_14_44_15_10320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338838518","file1":"1338838516","file0":"1338838513","file4":"1338838545","file3":"1338838521"},"map_files_photo_id_array":[{"photo_id":"1338838518","filename":"file2"},{"photo_id":"1338838545","filename":"file4"},{"photo_id":"1338838516","filename":"file1"},{"photo_id":"1338838513","filename":"file0"},{"photo_id":"1338838521","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338838513":["hashtag1","hashtag2"]},{"1338838516":["hashtag1","hashtag2"]},{"1338838521":["hashtag1","hashtag2"]},{"1338838545":["hashtag1","hashtag2"]},{"1338838518":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338838513, 1338838516, 1338838521, 1338838545, 1338838518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.68544006347656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:45:33.135949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/44/image_21022025_14_44_56_10457.jpg', '/home/pi/Desktop/images/21022025/14/44/image_21022025_14_45_05_9390.jpg', '/home/pi/Desktop/images/21022025/14/45/image_21022025_14_45_15_10335.jpg', '/home/pi/Desktop/images/21022025/14/45/image_21022025_14_45_26_10365.jpg', '/home/pi/Desktop/images/21022025/14/45/image_21022025_14_45_35_9331.jpg', '/home/pi/Desktop/images/21022025/14/45/image_21022025_14_45_45_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/44/image_21022025_14_44_56_10457.jpg
/home/pi/Desktop/images/21022025/14/44/image_21022025_14_45_05_9390.jpg
/home/pi/Desktop/images/21022025/14/45/image_21022025_14_45_15_10335.jpg
/home/pi/Desktop/images/21022025/14/45/image_21022025_14_45_26_10365.jpg
/home/pi/Desktop/images/21022025/14/45/image_21022025_14_45_35_9331.jpg
/home/pi/Desktop/images/21022025/14/45/image_21022025_14_45_45_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338838613","1338838584","1338838602","1338838611","1338838605","1338838586"],"photo_ids_order":["1338838584","1338838586","1338838602","1338838605","1338838611","1338838613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b4cf1030af711a2b4441ff263e6c58e8.jpg","text":"TemporaryFile(/tmp/multipartBody9173622930853343662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145593611,"filename":"image_21022025_14_45_45_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c459a722845e4ef5d117a1c4c04fc503.jpg","text":"TemporaryFile(/tmp/multipartBody811231549908709275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145593611,"filename":"image_21022025_14_44_56_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3edefec297ca624f3f9d100766624967.jpg","text":"TemporaryFile(/tmp/multipartBody5394490268656279727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145593611,"filename":"image_21022025_14_45_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/14b9d10666ad88d2ac4033fae3321248.jpg","text":"TemporaryFile(/tmp/multipartBody2872585296812777125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145593611,"filename":"image_21022025_14_45_35_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a90891f4a18a3fafdce5462b16de14c0.jpg","text":"TemporaryFile(/tmp/multipartBody1798127141464951404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145593611,"filename":"image_21022025_14_45_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/89a1b8f8d141521929508f5c92a409fe.jpg","text":"TemporaryFile(/tmp/multipartBody7412667665115358535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145593611,"filename":"image_21022025_14_45_05_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338838602","file1":"1338838586","file0":"1338838584","file4":"1338838611","file5":"1338838613","file3":"1338838605"},"map_files_photo_id_array":[{"photo_id":"1338838613","filename":"file5"},{"photo_id":"1338838602","filename":"file2"},{"photo_id":"1338838611","filename":"file4"},{"photo_id":"1338838586","filename":"file1"},{"photo_id":"1338838584","filename":"file0"},{"photo_id":"1338838605","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338838613":["hashtag1","hashtag2"]},{"1338838584":["hashtag1","hashtag2"]},{"1338838602":["hashtag1","hashtag2"]},{"1338838611":["hashtag1","hashtag2"]},{"1338838605":["hashtag1","hashtag2"]},{"1338838586":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338838613, 1338838584, 1338838602, 1338838611, 1338838605, 1338838586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84631109237671 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:46:32.400441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/45/image_21022025_14_45_56_10355.jpg', '/home/pi/Desktop/images/21022025/14/45/image_21022025_14_46_05_9332.jpg', '/home/pi/Desktop/images/21022025/14/46/image_21022025_14_46_26_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/45/image_21022025_14_45_56_10355.jpg
/home/pi/Desktop/images/21022025/14/45/image_21022025_14_46_05_9332.jpg
/home/pi/Desktop/images/21022025/14/46/image_21022025_14_46_26_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338838681","1338838675","1338838679"],"photo_ids_order":["1338838675","1338838679","1338838681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aab170095f5d553e2cd886aa986d3771.jpg","text":"TemporaryFile(/tmp/multipartBody133628210750677908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145652829,"filename":"image_21022025_14_46_26_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/592fc25462bd44a7d4623624c8d64aa8.jpg","text":"TemporaryFile(/tmp/multipartBody4456952849657267555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145652829,"filename":"image_21022025_14_45_56_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4c1bc4888ac2aac434269025d8b3e0c4.jpg","text":"TemporaryFile(/tmp/multipartBody5896255092079578251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145652829,"filename":"image_21022025_14_46_05_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338838681","file1":"1338838679","file0":"1338838675"},"map_files_photo_id_array":[{"photo_id":"1338838681","filename":"file2"},{"photo_id":"1338838679","filename":"file1"},{"photo_id":"1338838675","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338838681":["hashtag1","hashtag2"]},{"1338838675":["hashtag1","hashtag2"]},{"1338838679":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338838681, 1338838675, 1338838679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.772910833358765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:47:04.370813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/09/image_20022025_17_09_36_9401.jpg', '/home/pi/Desktop/images/20022025/17/09/image_20022025_17_09_46_10323.jpg', '/home/pi/Desktop/images/20022025/17/09/image_20022025_17_09_56_10354.jpg', '/home/pi/Desktop/images/20022025/17/09/image_20022025_17_10_06_9366.jpg', '/home/pi/Desktop/images/20022025/17/10/image_20022025_17_10_16_10339.jpg', '/home/pi/Desktop/images/20022025/17/10/image_20022025_17_10_27_10531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/09/image_20022025_17_09_36_9401.jpg
/home/pi/Desktop/images/20022025/17/09/image_20022025_17_09_46_10323.jpg
/home/pi/Desktop/images/20022025/17/09/image_20022025_17_09_56_10354.jpg
/home/pi/Desktop/images/20022025/17/09/image_20022025_17_10_06_9366.jpg
/home/pi/Desktop/images/20022025/17/10/image_20022025_17_10_16_10339.jpg
/home/pi/Desktop/images/20022025/17/10/image_20022025_17_10_27_10531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338839236","1338839268","1338839238","1338839208","1338839240","1338838961"],"photo_ids_order":["1338838961","1338839208","1338839236","1338839238","1338839240","1338839268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a35d7b0c011b86a699afd80422a34c0b.jpg","text":"TemporaryFile(/tmp/multipartBody8815588335297121632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145686213,"filename":"image_20022025_17_09_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4efe69972e8b620a42eecefdc48c752c.jpg","text":"TemporaryFile(/tmp/multipartBody1990381076931552118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145686213,"filename":"image_20022025_17_10_27_10531.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b160e0138b336ddc32f5ecd89b84388f.jpg","text":"TemporaryFile(/tmp/multipartBody7503463511918868744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145686213,"filename":"image_20022025_17_10_06_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2650bf1bcb0cdfc153e7d3485dae0cb1.jpg","text":"TemporaryFile(/tmp/multipartBody1176585764203114800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145686213,"filename":"image_20022025_17_09_46_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/711db46cad2a133ac3bd8a3d2b68fddd.jpg","text":"TemporaryFile(/tmp/multipartBody5691140363620167079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145686213,"filename":"image_20022025_17_10_16_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4380f91e592e9cbff921f4bd490a2e1f.jpg","text":"TemporaryFile(/tmp/multipartBody795079343659043721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145686213,"filename":"image_20022025_17_09_36_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338839236","file1":"1338839208","file0":"1338838961","file4":"1338839240","file5":"1338839268","file3":"1338839238"},"map_files_photo_id_array":[{"photo_id":"1338839268","filename":"file5"},{"photo_id":"1338839236","filename":"file2"},{"photo_id":"1338839240","filename":"file4"},{"photo_id":"1338839208","filename":"file1"},{"photo_id":"1338838961","filename":"file0"},{"photo_id":"1338839238","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338839236":["hashtag1","hashtag2"]},{"1338839268":["hashtag1","hashtag2"]},{"1338839238":["hashtag1","hashtag2"]},{"1338839208":["hashtag1","hashtag2"]},{"1338839240":["hashtag1","hashtag2"]},{"1338838961":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338839236, 1338839268, 1338839238, 1338839208, 1338839240, 1338838961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.886894941329956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:47:52.655728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/46/image_21022025_14_46_45_10354.jpg', '/home/pi/Desktop/images/21022025/14/46/image_21022025_14_47_05_9322.jpg', '/home/pi/Desktop/images/21022025/14/47/image_21022025_14_47_15_10333.jpg', '/home/pi/Desktop/images/21022025/14/47/image_21022025_14_47_35_10321.jpg', '/home/pi/Desktop/images/21022025/14/47/image_21022025_14_47_46_10473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/46/image_21022025_14_46_45_10354.jpg
/home/pi/Desktop/images/21022025/14/46/image_21022025_14_47_05_9322.jpg
/home/pi/Desktop/images/21022025/14/47/image_21022025_14_47_15_10333.jpg
/home/pi/Desktop/images/21022025/14/47/image_21022025_14_47_35_10321.jpg
/home/pi/Desktop/images/21022025/14/47/image_21022025_14_47_46_10473.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338839410","1338839415","1338839393","1338839369","1338839414"],"photo_ids_order":["1338839369","1338839393","1338839410","1338839414","1338839415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0bfdd423decf19813fd7ba05052efdee.jpg","text":"TemporaryFile(/tmp/multipartBody826831125788537274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145733107,"filename":"image_21022025_14_47_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2240f2469214eeee40964006aa2cfc60.jpg","text":"TemporaryFile(/tmp/multipartBody1580114860519655112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145733107,"filename":"image_21022025_14_47_46_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2b7e45be917da0a996130fa420948f1b.jpg","text":"TemporaryFile(/tmp/multipartBody6191555001861267326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145733107,"filename":"image_21022025_14_47_05_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/44108f789e7e15ce0767c139cf146199.jpg","text":"TemporaryFile(/tmp/multipartBody5377546972577251016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145733107,"filename":"image_21022025_14_46_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/66983cfa625f3e2575acb7339f1d27a3.jpg","text":"TemporaryFile(/tmp/multipartBody3334369232983836624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145733107,"filename":"image_21022025_14_47_35_10321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338839410","file1":"1338839393","file0":"1338839369","file4":"1338839415","file3":"1338839414"},"map_files_photo_id_array":[{"photo_id":"1338839410","filename":"file2"},{"photo_id":"1338839415","filename":"file4"},{"photo_id":"1338839393","filename":"file1"},{"photo_id":"1338839369","filename":"file0"},{"photo_id":"1338839414","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338839410":["hashtag1","hashtag2"]},{"1338839415":["hashtag1","hashtag2"]},{"1338839393":["hashtag1","hashtag2"]},{"1338839369":["hashtag1","hashtag2"]},{"1338839414":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338839410, 1338839415, 1338839393, 1338839369, 1338839414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.51634621620178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:48:32.929686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/47/image_21022025_14_47_55_9338.jpg', '/home/pi/Desktop/images/21022025/14/48/image_21022025_14_48_25_9331.jpg', '/home/pi/Desktop/images/21022025/14/48/image_21022025_14_48_35_10320.jpg', '/home/pi/Desktop/images/21022025/14/48/image_21022025_14_48_46_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/47/image_21022025_14_47_55_9338.jpg
/home/pi/Desktop/images/21022025/14/48/image_21022025_14_48_25_9331.jpg
/home/pi/Desktop/images/21022025/14/48/image_21022025_14_48_35_10320.jpg
/home/pi/Desktop/images/21022025/14/48/image_21022025_14_48_46_10346.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37546348571777344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:48:42.890120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/47/image_21022025_14_47_55_9338.jpg', '/home/pi/Desktop/images/21022025/14/48/image_21022025_14_48_25_9331.jpg', '/home/pi/Desktop/images/21022025/14/48/image_21022025_14_48_35_10320.jpg', '/home/pi/Desktop/images/21022025/14/48/image_21022025_14_48_46_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/47/image_21022025_14_47_55_9338.jpg
/home/pi/Desktop/images/21022025/14/48/image_21022025_14_48_25_9331.jpg
/home/pi/Desktop/images/21022025/14/48/image_21022025_14_48_35_10320.jpg
/home/pi/Desktop/images/21022025/14/48/image_21022025_14_48_46_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338839491","1338839494","1338839493","1338839495"],"photo_ids_order":["1338839491","1338839493","1338839494","1338839495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa031d568fff6bc9c59067e7fefe9150.jpg","text":"TemporaryFile(/tmp/multipartBody5773815547335572607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145783334,"filename":"image_21022025_14_47_55_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/85e5c9e5ea4111021e7bbf26aad55652.jpg","text":"TemporaryFile(/tmp/multipartBody5582170215732338372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145783334,"filename":"image_21022025_14_48_35_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d43541333b1a8f2de20210c7bd598c48.jpg","text":"TemporaryFile(/tmp/multipartBody9114878313882398109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145783334,"filename":"image_21022025_14_48_25_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a11855aca78fa6acb080ec4fdc50e57.jpg","text":"TemporaryFile(/tmp/multipartBody7605363730749909259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145783334,"filename":"image_21022025_14_48_46_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338839494","file1":"1338839493","file0":"1338839491","file3":"1338839495"},"map_files_photo_id_array":[{"photo_id":"1338839494","filename":"file2"},{"photo_id":"1338839493","filename":"file1"},{"photo_id":"1338839491","filename":"file0"},{"photo_id":"1338839495","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338839491":["hashtag1","hashtag2"]},{"1338839494":["hashtag1","hashtag2"]},{"1338839493":["hashtag1","hashtag2"]},{"1338839495":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338839491, 1338839494, 1338839493, 1338839495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.3885977268219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:49:33.180692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/48/image_21022025_14_48_55_9328.jpg', '/home/pi/Desktop/images/21022025/14/48/image_21022025_14_49_05_10329.jpg', '/home/pi/Desktop/images/21022025/14/49/image_21022025_14_49_15_9434.jpg', '/home/pi/Desktop/images/21022025/14/49/image_21022025_14_49_25_10445.jpg', '/home/pi/Desktop/images/21022025/14/49/image_21022025_14_49_36_10332.jpg', '/home/pi/Desktop/images/21022025/14/49/image_21022025_14_49_45_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/48/image_21022025_14_48_55_9328.jpg
/home/pi/Desktop/images/21022025/14/48/image_21022025_14_49_05_10329.jpg
/home/pi/Desktop/images/21022025/14/49/image_21022025_14_49_15_9434.jpg
/home/pi/Desktop/images/21022025/14/49/image_21022025_14_49_25_10445.jpg
/home/pi/Desktop/images/21022025/14/49/image_21022025_14_49_36_10332.jpg
/home/pi/Desktop/images/21022025/14/49/image_21022025_14_49_45_9408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338839504","1338839503","1338839509","1338839514","1338839511","1338839508"],"photo_ids_order":["1338839503","1338839504","1338839508","1338839509","1338839511","1338839514"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8f5bc4308a1f6f6053ddb3703e4db834.jpg","text":"TemporaryFile(/tmp/multipartBody5495155269992517804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145833655,"filename":"image_21022025_14_49_05_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bc4a0f42d9851c6534228d40192c2fec.jpg","text":"TemporaryFile(/tmp/multipartBody150801484271882843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145833655,"filename":"image_21022025_14_48_55_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac396e6eb6a59b1a90993ee64e050050.jpg","text":"TemporaryFile(/tmp/multipartBody4245957701231442841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145833655,"filename":"image_21022025_14_49_25_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b6aa56013f2ad9c607ea74c914d5e287.jpg","text":"TemporaryFile(/tmp/multipartBody2297131901083626961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145833655,"filename":"image_21022025_14_49_45_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a48588fa520fff666658875fb93e2433.jpg","text":"TemporaryFile(/tmp/multipartBody6146974492707322109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145833655,"filename":"image_21022025_14_49_36_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ca5581aa28327acbee5238b3007b480b.jpg","text":"TemporaryFile(/tmp/multipartBody694850230289214451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145833655,"filename":"image_21022025_14_49_15_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338839508","file1":"1338839504","file0":"1338839503","file4":"1338839511","file5":"1338839514","file3":"1338839509"},"map_files_photo_id_array":[{"photo_id":"1338839514","filename":"file5"},{"photo_id":"1338839508","filename":"file2"},{"photo_id":"1338839511","filename":"file4"},{"photo_id":"1338839504","filename":"file1"},{"photo_id":"1338839503","filename":"file0"},{"photo_id":"1338839509","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338839504":["hashtag1","hashtag2"]},{"1338839503":["hashtag1","hashtag2"]},{"1338839509":["hashtag1","hashtag2"]},{"1338839514":["hashtag1","hashtag2"]},{"1338839511":["hashtag1","hashtag2"]},{"1338839508":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338839504, 1338839503, 1338839509, 1338839514, 1338839511, 1338839508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65535378456116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:50:32.389927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/49/image_21022025_14_49_55_10351.jpg', '/home/pi/Desktop/images/21022025/14/50/image_21022025_14_50_15_9317.jpg', '/home/pi/Desktop/images/21022025/14/50/image_21022025_14_50_45_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/49/image_21022025_14_49_55_10351.jpg
/home/pi/Desktop/images/21022025/14/50/image_21022025_14_50_15_9317.jpg
/home/pi/Desktop/images/21022025/14/50/image_21022025_14_50_45_10349.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.36237287521362305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:50:42.432857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/49/image_21022025_14_49_55_10351.jpg', '/home/pi/Desktop/images/21022025/14/50/image_21022025_14_50_15_9317.jpg', '/home/pi/Desktop/images/21022025/14/50/image_21022025_14_50_45_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/49/image_21022025_14_49_55_10351.jpg
/home/pi/Desktop/images/21022025/14/50/image_21022025_14_50_15_9317.jpg
/home/pi/Desktop/images/21022025/14/50/image_21022025_14_50_45_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338839551","1338839547","1338839549"],"photo_ids_order":["1338839547","1338839549","1338839551"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bd9e6deb2c22359b9af34f95022b8f0d.jpg","text":"TemporaryFile(/tmp/multipartBody7376658245413287854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145902866,"filename":"image_21022025_14_50_45_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f6579006b137a0e3ab573a7fe62db5e3.jpg","text":"TemporaryFile(/tmp/multipartBody5623182757484029716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145902866,"filename":"image_21022025_14_49_55_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/70925440d0063c25596db37f7700235b.jpg","text":"TemporaryFile(/tmp/multipartBody4923874999515763303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145902866,"filename":"image_21022025_14_50_15_9317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338839551","file1":"1338839549","file0":"1338839547"},"map_files_photo_id_array":[{"photo_id":"1338839551","filename":"file2"},{"photo_id":"1338839549","filename":"file1"},{"photo_id":"1338839547","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338839551":["hashtag1","hashtag2"]},{"1338839547":["hashtag1","hashtag2"]},{"1338839549":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338839551, 1338839547, 1338839549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.076611757278442 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:51:32.683502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/50/image_21022025_14_50_56_10451.jpg', '/home/pi/Desktop/images/21022025/14/50/image_21022025_14_51_05_9430.jpg', '/home/pi/Desktop/images/21022025/14/51/image_21022025_14_51_16_10394.jpg', '/home/pi/Desktop/images/21022025/14/51/image_21022025_14_51_25_9339.jpg', '/home/pi/Desktop/images/21022025/14/51/image_21022025_14_51_35_10346.jpg', '/home/pi/Desktop/images/21022025/14/51/image_21022025_14_51_46_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/50/image_21022025_14_50_56_10451.jpg
/home/pi/Desktop/images/21022025/14/50/image_21022025_14_51_05_9430.jpg
/home/pi/Desktop/images/21022025/14/51/image_21022025_14_51_16_10394.jpg
/home/pi/Desktop/images/21022025/14/51/image_21022025_14_51_25_9339.jpg
/home/pi/Desktop/images/21022025/14/51/image_21022025_14_51_35_10346.jpg
/home/pi/Desktop/images/21022025/14/51/image_21022025_14_51_46_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338839572","1338839566","1338839574","1338839568","1338839570","1338839567"],"photo_ids_order":["1338839566","1338839567","1338839568","1338839570","1338839572","1338839574"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/259aa1420911b29ca4147f05df2f174b.jpg","text":"TemporaryFile(/tmp/multipartBody1757392457573423841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145953162,"filename":"image_21022025_14_51_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/11d1ff2ab06ceb8a05de8c94d0c22d85.jpg","text":"TemporaryFile(/tmp/multipartBody4983404339367524202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145953162,"filename":"image_21022025_14_50_56_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8e98b90a58270b48273f58c48a03147c.jpg","text":"TemporaryFile(/tmp/multipartBody6951875609339994738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145953162,"filename":"image_21022025_14_51_46_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5034ea974de4fa040ca7f40ee3b4f5fc.jpg","text":"TemporaryFile(/tmp/multipartBody2122480674302375726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145953162,"filename":"image_21022025_14_51_16_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/959cb093303836b0a0c94084181452da.jpg","text":"TemporaryFile(/tmp/multipartBody4887922857188729966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145953162,"filename":"image_21022025_14_51_25_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cbdfd71a7f63837305b93300ec93969e.jpg","text":"TemporaryFile(/tmp/multipartBody7208468691552775104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740145953162,"filename":"image_21022025_14_51_05_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338839568","file1":"1338839567","file0":"1338839566","file4":"1338839572","file5":"1338839574","file3":"1338839570"},"map_files_photo_id_array":[{"photo_id":"1338839574","filename":"file5"},{"photo_id":"1338839568","filename":"file2"},{"photo_id":"1338839572","filename":"file4"},{"photo_id":"1338839567","filename":"file1"},{"photo_id":"1338839566","filename":"file0"},{"photo_id":"1338839570","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338839572":["hashtag1","hashtag2"]},{"1338839566":["hashtag1","hashtag2"]},{"1338839574":["hashtag1","hashtag2"]},{"1338839568":["hashtag1","hashtag2"]},{"1338839570":["hashtag1","hashtag2"]},{"1338839567":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338839572, 1338839566, 1338839574, 1338839568, 1338839570, 1338839567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19540190696716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:52:32.839773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/51/image_21022025_14_51_55_9337.jpg', '/home/pi/Desktop/images/21022025/14/51/image_21022025_14_52_05_10444.jpg', '/home/pi/Desktop/images/21022025/14/52/image_21022025_14_52_16_10327.jpg', '/home/pi/Desktop/images/21022025/14/52/image_21022025_14_52_25_9327.jpg', '/home/pi/Desktop/images/21022025/14/52/image_21022025_14_52_35_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/51/image_21022025_14_51_55_9337.jpg
/home/pi/Desktop/images/21022025/14/51/image_21022025_14_52_05_10444.jpg
/home/pi/Desktop/images/21022025/14/52/image_21022025_14_52_16_10327.jpg
/home/pi/Desktop/images/21022025/14/52/image_21022025_14_52_25_9327.jpg
/home/pi/Desktop/images/21022025/14/52/image_21022025_14_52_35_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338839600","1338839595","1338839598","1338839592","1338839597"],"photo_ids_order":["1338839592","1338839595","1338839597","1338839598","1338839600"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a7b1ebe18e91b338f798f3c85fd1013.jpg","text":"TemporaryFile(/tmp/multipartBody5944170053731799291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146013298,"filename":"image_21022025_14_52_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b9cc004dc8b1857b6e3cf6a67c60adbd.jpg","text":"TemporaryFile(/tmp/multipartBody9125911198475582358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146013298,"filename":"image_21022025_14_52_05_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/56c2579f5e0545016005809ec6f4cdb0.jpg","text":"TemporaryFile(/tmp/multipartBody7982180146300939512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146013298,"filename":"image_21022025_14_52_25_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/236d1cff8c921548149596df2f0b2bf4.jpg","text":"TemporaryFile(/tmp/multipartBody7899303655019167964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146013298,"filename":"image_21022025_14_51_55_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9b3e9ffd49be7a68cb8ec61593673469.jpg","text":"TemporaryFile(/tmp/multipartBody6192945962617730743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146013298,"filename":"image_21022025_14_52_16_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338839597","file1":"1338839595","file0":"1338839592","file4":"1338839600","file3":"1338839598"},"map_files_photo_id_array":[{"photo_id":"1338839597","filename":"file2"},{"photo_id":"1338839600","filename":"file4"},{"photo_id":"1338839595","filename":"file1"},{"photo_id":"1338839592","filename":"file0"},{"photo_id":"1338839598","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338839600":["hashtag1","hashtag2"]},{"1338839595":["hashtag1","hashtag2"]},{"1338839598":["hashtag1","hashtag2"]},{"1338839592":["hashtag1","hashtag2"]},{"1338839597":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338839600, 1338839595, 1338839598, 1338839592, 1338839597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.93439173698425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:53:33.109623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/52/image_21022025_14_52_55_10334.jpg', '/home/pi/Desktop/images/21022025/14/52/image_21022025_14_53_06_10409.jpg', '/home/pi/Desktop/images/21022025/14/53/image_21022025_14_53_15_9326.jpg', '/home/pi/Desktop/images/21022025/14/53/image_21022025_14_53_25_10360.jpg', '/home/pi/Desktop/images/21022025/14/53/image_21022025_14_53_36_10420.jpg', '/home/pi/Desktop/images/21022025/14/53/image_21022025_14_53_45_9330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/52/image_21022025_14_52_55_10334.jpg
/home/pi/Desktop/images/21022025/14/52/image_21022025_14_53_06_10409.jpg
/home/pi/Desktop/images/21022025/14/53/image_21022025_14_53_15_9326.jpg
/home/pi/Desktop/images/21022025/14/53/image_21022025_14_53_25_10360.jpg
/home/pi/Desktop/images/21022025/14/53/image_21022025_14_53_36_10420.jpg
/home/pi/Desktop/images/21022025/14/53/image_21022025_14_53_45_9330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338839653","1338839656","1338839641","1338839650","1338839645","1338839639"],"photo_ids_order":["1338839639","1338839641","1338839645","1338839650","1338839653","1338839656"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/de74fc7a69af870ff1a39753e854b01f.jpg","text":"TemporaryFile(/tmp/multipartBody1847685145479171796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146073597,"filename":"image_21022025_14_53_36_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3888d83f83689f32e75400fb23353d7c.jpg","text":"TemporaryFile(/tmp/multipartBody5580214165426029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146073597,"filename":"image_21022025_14_53_45_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ff1352c30896d0806c9c4cfed382b46.jpg","text":"TemporaryFile(/tmp/multipartBody715569863518710712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146073597,"filename":"image_21022025_14_53_06_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/98969016b903fcb8e165b103bfbd1580.jpg","text":"TemporaryFile(/tmp/multipartBody7919371360432574522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146073597,"filename":"image_21022025_14_53_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/127c7dd1d972cfde0ae7cc19f8b942c3.jpg","text":"TemporaryFile(/tmp/multipartBody934863668756146436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146073597,"filename":"image_21022025_14_53_15_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f5005d308492de04be87f95a6585d225.jpg","text":"TemporaryFile(/tmp/multipartBody8593354076110538799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146073597,"filename":"image_21022025_14_52_55_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338839645","file1":"1338839641","file0":"1338839639","file4":"1338839653","file5":"1338839656","file3":"1338839650"},"map_files_photo_id_array":[{"photo_id":"1338839656","filename":"file5"},{"photo_id":"1338839645","filename":"file2"},{"photo_id":"1338839653","filename":"file4"},{"photo_id":"1338839641","filename":"file1"},{"photo_id":"1338839639","filename":"file0"},{"photo_id":"1338839650","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338839653":["hashtag1","hashtag2"]},{"1338839656":["hashtag1","hashtag2"]},{"1338839641":["hashtag1","hashtag2"]},{"1338839650":["hashtag1","hashtag2"]},{"1338839645":["hashtag1","hashtag2"]},{"1338839639":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338839653, 1338839656, 1338839641, 1338839650, 1338839645, 1338839639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.2246196269989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:54:32.324411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/53/image_21022025_14_53_55_10351.jpg', '/home/pi/Desktop/images/21022025/14/54/image_21022025_14_54_15_9319.jpg', '/home/pi/Desktop/images/21022025/14/54/image_21022025_14_54_25_10343.jpg', '/home/pi/Desktop/images/21022025/14/54/image_21022025_14_54_36_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/53/image_21022025_14_53_55_10351.jpg
/home/pi/Desktop/images/21022025/14/54/image_21022025_14_54_15_9319.jpg
/home/pi/Desktop/images/21022025/14/54/image_21022025_14_54_25_10343.jpg
/home/pi/Desktop/images/21022025/14/54/image_21022025_14_54_36_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338839665","1338839680","1338839710","1338839713"],"photo_ids_order":["1338839665","1338839680","1338839710","1338839713"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80ad9580d333814373bac57c7b5f1763.jpg","text":"TemporaryFile(/tmp/multipartBody1591973465429917267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146132776,"filename":"image_21022025_14_53_55_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02f4e929fd57f14e98a243e954244203.jpg","text":"TemporaryFile(/tmp/multipartBody4494757643470640512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146132776,"filename":"image_21022025_14_54_15_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f2cc071a4b35fa4f15564927178b80b2.jpg","text":"TemporaryFile(/tmp/multipartBody7209840992741909176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146132776,"filename":"image_21022025_14_54_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/56dcefd7ad56307f1f10a692e2afc0c5.jpg","text":"TemporaryFile(/tmp/multipartBody4918020509649608320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146132776,"filename":"image_21022025_14_54_36_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338839710","file1":"1338839680","file0":"1338839665","file3":"1338839713"},"map_files_photo_id_array":[{"photo_id":"1338839710","filename":"file2"},{"photo_id":"1338839680","filename":"file1"},{"photo_id":"1338839665","filename":"file0"},{"photo_id":"1338839713","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338839665":["hashtag1","hashtag2"]},{"1338839680":["hashtag1","hashtag2"]},{"1338839710":["hashtag1","hashtag2"]},{"1338839713":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338839665, 1338839680, 1338839710, 1338839713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.9947612285614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:55:04.094127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/10/image_20022025_17_10_36_9353.jpg', '/home/pi/Desktop/images/20022025/17/10/image_20022025_17_10_46_10359.jpg', '/home/pi/Desktop/images/20022025/17/10/image_20022025_17_10_56_9327.jpg', '/home/pi/Desktop/images/20022025/17/10/image_20022025_17_11_06_10334.jpg', '/home/pi/Desktop/images/20022025/17/11/image_20022025_17_11_16_10472.jpg', '/home/pi/Desktop/images/20022025/17/11/image_20022025_17_11_26_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/10/image_20022025_17_10_36_9353.jpg
/home/pi/Desktop/images/20022025/17/10/image_20022025_17_10_46_10359.jpg
/home/pi/Desktop/images/20022025/17/10/image_20022025_17_10_56_9327.jpg
/home/pi/Desktop/images/20022025/17/10/image_20022025_17_11_06_10334.jpg
/home/pi/Desktop/images/20022025/17/11/image_20022025_17_11_16_10472.jpg
/home/pi/Desktop/images/20022025/17/11/image_20022025_17_11_26_9340.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338839720","1338839728","1338839730","1338839727","1338839723","1338839717"],"photo_ids_order":["1338839717","1338839720","1338839723","1338839727","1338839728","1338839730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b395b04d8bc5c84969f4ee07bd35ed05.jpg","text":"TemporaryFile(/tmp/multipartBody7844275131328175660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146165839,"filename":"image_20022025_17_10_46_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b462b4aeac76bb1d020022c510da848.jpg","text":"TemporaryFile(/tmp/multipartBody6933785850413064863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146165839,"filename":"image_20022025_17_11_16_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e347a70b07884360a11e5f90890f4f2c.jpg","text":"TemporaryFile(/tmp/multipartBody3026021592664291056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146165839,"filename":"image_20022025_17_11_26_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bd48fe8f3c3534cf16842cd95e195bd1.jpg","text":"TemporaryFile(/tmp/multipartBody7891158537617602219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146165839,"filename":"image_20022025_17_11_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cccff25e7fa42b108bc74400c43caa7c.jpg","text":"TemporaryFile(/tmp/multipartBody1201136084027660554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146165839,"filename":"image_20022025_17_10_56_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2b91d237bc2334eea8f3e3c34097ab60.jpg","text":"TemporaryFile(/tmp/multipartBody7745823800504486954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146165839,"filename":"image_20022025_17_10_36_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338839723","file1":"1338839720","file0":"1338839717","file4":"1338839728","file5":"1338839730","file3":"1338839727"},"map_files_photo_id_array":[{"photo_id":"1338839730","filename":"file5"},{"photo_id":"1338839723","filename":"file2"},{"photo_id":"1338839728","filename":"file4"},{"photo_id":"1338839720","filename":"file1"},{"photo_id":"1338839717","filename":"file0"},{"photo_id":"1338839727","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338839720":["hashtag1","hashtag2"]},{"1338839728":["hashtag1","hashtag2"]},{"1338839730":["hashtag1","hashtag2"]},{"1338839727":["hashtag1","hashtag2"]},{"1338839723":["hashtag1","hashtag2"]},{"1338839717":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338839720, 1338839728, 1338839730, 1338839727, 1338839723, 1338839717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.429083585739136 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:55:52.548968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/54/image_21022025_14_54_45_9371.jpg', '/home/pi/Desktop/images/21022025/14/54/image_21022025_14_55_05_9370.jpg', '/home/pi/Desktop/images/21022025/14/55/image_21022025_14_55_15_10347.jpg', '/home/pi/Desktop/images/21022025/14/55/image_21022025_14_55_35_9323.jpg', '/home/pi/Desktop/images/21022025/14/55/image_21022025_14_55_45_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/54/image_21022025_14_54_45_9371.jpg
/home/pi/Desktop/images/21022025/14/54/image_21022025_14_55_05_9370.jpg
/home/pi/Desktop/images/21022025/14/55/image_21022025_14_55_15_10347.jpg
/home/pi/Desktop/images/21022025/14/55/image_21022025_14_55_35_9323.jpg
/home/pi/Desktop/images/21022025/14/55/image_21022025_14_55_45_10354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338839758","1338839752","1338839760","1338839754","1338839750"],"photo_ids_order":["1338839750","1338839752","1338839754","1338839758","1338839760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f0f984b7c9c1f76d3247debd450a937.jpg","text":"TemporaryFile(/tmp/multipartBody4080354143205553459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146213007,"filename":"image_21022025_14_55_35_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4da6e5d789945c424375cba1b6f39e84.jpg","text":"TemporaryFile(/tmp/multipartBody8862221084767610353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146213007,"filename":"image_21022025_14_55_05_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5240877d314eb9852062954cd3d0ad48.jpg","text":"TemporaryFile(/tmp/multipartBody1913339744046050233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146213007,"filename":"image_21022025_14_55_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a78a27893213d249487a47a7abeb2bf.jpg","text":"TemporaryFile(/tmp/multipartBody6434849826336414393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146213007,"filename":"image_21022025_14_55_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b60a3d13db6b86cf715739bceaacf94c.jpg","text":"TemporaryFile(/tmp/multipartBody2970313131784203237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146213007,"filename":"image_21022025_14_54_45_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338839754","file1":"1338839752","file0":"1338839750","file4":"1338839760","file3":"1338839758"},"map_files_photo_id_array":[{"photo_id":"1338839754","filename":"file2"},{"photo_id":"1338839760","filename":"file4"},{"photo_id":"1338839752","filename":"file1"},{"photo_id":"1338839750","filename":"file0"},{"photo_id":"1338839758","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338839758":["hashtag1","hashtag2"]},{"1338839752":["hashtag1","hashtag2"]},{"1338839760":["hashtag1","hashtag2"]},{"1338839754":["hashtag1","hashtag2"]},{"1338839750":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338839758, 1338839752, 1338839760, 1338839754, 1338839750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.7784583568573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:56:32.816303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/55/image_21022025_14_55_56_10361.jpg', '/home/pi/Desktop/images/21022025/14/55/image_21022025_14_56_05_9354.jpg', '/home/pi/Desktop/images/21022025/14/56/image_21022025_14_56_16_10342.jpg', '/home/pi/Desktop/images/21022025/14/56/image_21022025_14_56_25_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/55/image_21022025_14_55_56_10361.jpg
/home/pi/Desktop/images/21022025/14/55/image_21022025_14_56_05_9354.jpg
/home/pi/Desktop/images/21022025/14/56/image_21022025_14_56_16_10342.jpg
/home/pi/Desktop/images/21022025/14/56/image_21022025_14_56_25_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338839785","1338839779","1338839792","1338839777"],"photo_ids_order":["1338839777","1338839779","1338839785","1338839792"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a76f21b191be9414a202c7ee934cadd7.jpg","text":"TemporaryFile(/tmp/multipartBody9197706894950523775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146253284,"filename":"image_21022025_14_56_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b1aa21e240080028427bcbe48039cc9a.jpg","text":"TemporaryFile(/tmp/multipartBody3290370644918224159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146253284,"filename":"image_21022025_14_56_05_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1cbf2f24e02ae64b03f05578c863b2fe.jpg","text":"TemporaryFile(/tmp/multipartBody5645571325344112379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146253284,"filename":"image_21022025_14_56_25_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c8d729c3b4ef45959f7cc6b9e5e519f.jpg","text":"TemporaryFile(/tmp/multipartBody8009893219565229073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146253284,"filename":"image_21022025_14_55_56_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338839785","file1":"1338839779","file0":"1338839777","file3":"1338839792"},"map_files_photo_id_array":[{"photo_id":"1338839785","filename":"file2"},{"photo_id":"1338839779","filename":"file1"},{"photo_id":"1338839777","filename":"file0"},{"photo_id":"1338839792","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338839785":["hashtag1","hashtag2"]},{"1338839779":["hashtag1","hashtag2"]},{"1338839792":["hashtag1","hashtag2"]},{"1338839777":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338839785, 1338839779, 1338839792, 1338839777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.355152130126953 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:57:32.979985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/11/image_20022025_17_11_36_10344.jpg', '/home/pi/Desktop/images/20022025/17/11/image_20022025_17_11_47_10441.jpg', '/home/pi/Desktop/images/20022025/17/11/image_20022025_17_11_56_9330.jpg', '/home/pi/Desktop/images/20022025/17/11/image_20022025_17_12_06_10354.jpg', '/home/pi/Desktop/images/20022025/17/12/image_20022025_17_12_17_10340.jpg', '/home/pi/Desktop/images/20022025/17/12/image_20022025_17_12_26_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/11/image_20022025_17_11_36_10344.jpg
/home/pi/Desktop/images/20022025/17/11/image_20022025_17_11_47_10441.jpg
/home/pi/Desktop/images/20022025/17/11/image_20022025_17_11_56_9330.jpg
/home/pi/Desktop/images/20022025/17/11/image_20022025_17_12_06_10354.jpg
/home/pi/Desktop/images/20022025/17/12/image_20022025_17_12_17_10340.jpg
/home/pi/Desktop/images/20022025/17/12/image_20022025_17_12_26_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 14:59:03.755983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/56/image_21022025_14_56_46_10396.jpg', '/home/pi/Desktop/images/21022025/14/58/image_21022025_14_58_35_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/56/image_21022025_14_56_46_10396.jpg
/home/pi/Desktop/images/21022025/14/58/image_21022025_14_58_35_9424.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338840011","1338840008"],"photo_ids_order":["1338840008","1338840011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f139d80bf7c81440f53e24bd669f3a84.jpg","text":"TemporaryFile(/tmp/multipartBody3777933009355816701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146404304,"filename":"image_21022025_14_58_35_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7df88b49c99463de9b59e66c8719afb7.jpg","text":"TemporaryFile(/tmp/multipartBody8117268516306320228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146404304,"filename":"image_21022025_14_56_46_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338840011","file0":"1338840008"},"map_files_photo_id_array":[{"photo_id":"1338840011","filename":"file1"},{"photo_id":"1338840008","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338840011":["hashtag1","hashtag2"]},{"1338840008":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338840011, 1338840008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.628134965896606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 14:59:32.646387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/58/image_21022025_14_58_45_10334.jpg', '/home/pi/Desktop/images/21022025/14/58/image_21022025_14_59_05_9427.jpg', '/home/pi/Desktop/images/21022025/14/59/image_21022025_14_59_15_10344.jpg', '/home/pi/Desktop/images/21022025/14/59/image_21022025_14_59_25_9392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/58/image_21022025_14_58_45_10334.jpg
/home/pi/Desktop/images/21022025/14/58/image_21022025_14_59_05_9427.jpg
/home/pi/Desktop/images/21022025/14/59/image_21022025_14_59_15_10344.jpg
/home/pi/Desktop/images/21022025/14/59/image_21022025_14_59_25_9392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338840116","1338840119","1338840113","1338840069"],"photo_ids_order":["1338840069","1338840113","1338840116","1338840119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be171c61d5322ca4104af091baea7a6c.jpg","text":"TemporaryFile(/tmp/multipartBody3506055477430815111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146433089,"filename":"image_21022025_14_59_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/748df29f4530685f138350c7aeaf6e86.jpg","text":"TemporaryFile(/tmp/multipartBody1158893732407764333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146433089,"filename":"image_21022025_14_59_25_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5758f3b9cabd02e8dbc1dc9e11d00d4c.jpg","text":"TemporaryFile(/tmp/multipartBody4688595372560635109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146433089,"filename":"image_21022025_14_59_05_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c6321dd957c24fc2baacdd454ecc00d0.jpg","text":"TemporaryFile(/tmp/multipartBody5140770598493723679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146433089,"filename":"image_21022025_14_58_45_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338840116","file1":"1338840113","file0":"1338840069","file3":"1338840119"},"map_files_photo_id_array":[{"photo_id":"1338840116","filename":"file2"},{"photo_id":"1338840113","filename":"file1"},{"photo_id":"1338840069","filename":"file0"},{"photo_id":"1338840119","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338840116":["hashtag1","hashtag2"]},{"1338840119":["hashtag1","hashtag2"]},{"1338840113":["hashtag1","hashtag2"]},{"1338840069":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338840116, 1338840119, 1338840113, 1338840069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.12818741798401 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 15:00:03.618017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/11/image_20022025_17_11_36_10344.jpg', '/home/pi/Desktop/images/20022025/17/11/image_20022025_17_11_47_10441.jpg', '/home/pi/Desktop/images/20022025/17/11/image_20022025_17_11_56_9330.jpg', '/home/pi/Desktop/images/20022025/17/11/image_20022025_17_12_06_10354.jpg', '/home/pi/Desktop/images/20022025/17/12/image_20022025_17_12_17_10340.jpg', '/home/pi/Desktop/images/20022025/17/12/image_20022025_17_12_26_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/11/image_20022025_17_11_36_10344.jpg
/home/pi/Desktop/images/20022025/17/11/image_20022025_17_11_47_10441.jpg
/home/pi/Desktop/images/20022025/17/11/image_20022025_17_11_56_9330.jpg
/home/pi/Desktop/images/20022025/17/11/image_20022025_17_12_06_10354.jpg
/home/pi/Desktop/images/20022025/17/12/image_20022025_17_12_17_10340.jpg
/home/pi/Desktop/images/20022025/17/12/image_20022025_17_12_26_9334.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338840128","1338840131","1338840125","1338840124","1338840135","1338840138"],"photo_ids_order":["1338840124","1338840125","1338840128","1338840131","1338840135","1338840138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c03a9ae3d9e57dd105384358d89cb01f.jpg","text":"TemporaryFile(/tmp/multipartBody4843281023913853361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146464977,"filename":"image_20022025_17_11_56_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f46b2874fe23ea8d04826f52f563a81f.jpg","text":"TemporaryFile(/tmp/multipartBody7683339768249566729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146464977,"filename":"image_20022025_17_12_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1f582f4b269e3b8c4b13a3db97135aa1.jpg","text":"TemporaryFile(/tmp/multipartBody8197150168528465247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146464977,"filename":"image_20022025_17_11_47_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d784ec5b9c51fe04f6704ab7b05ca479.jpg","text":"TemporaryFile(/tmp/multipartBody3024442299030143428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146464977,"filename":"image_20022025_17_11_36_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/457f3368ef74c561a61f096cd625a067.jpg","text":"TemporaryFile(/tmp/multipartBody6738508926388554658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146464977,"filename":"image_20022025_17_12_17_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f93d2cd2fe2fbd3b67148572a5b1b024.jpg","text":"TemporaryFile(/tmp/multipartBody2361106313328483538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146464977,"filename":"image_20022025_17_12_26_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338840128","file1":"1338840125","file0":"1338840124","file4":"1338840135","file5":"1338840138","file3":"1338840131"},"map_files_photo_id_array":[{"photo_id":"1338840138","filename":"file5"},{"photo_id":"1338840128","filename":"file2"},{"photo_id":"1338840135","filename":"file4"},{"photo_id":"1338840125","filename":"file1"},{"photo_id":"1338840124","filename":"file0"},{"photo_id":"1338840131","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338840128":["hashtag1","hashtag2"]},{"1338840131":["hashtag1","hashtag2"]},{"1338840125":["hashtag1","hashtag2"]},{"1338840124":["hashtag1","hashtag2"]},{"1338840135":["hashtag1","hashtag2"]},{"1338840138":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338840128, 1338840131, 1338840125, 1338840124, 1338840135, 1338840138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.030322551727295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 15:00:42.856397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/12/image_20022025_17_12_36_10333.jpg', '/home/pi/Desktop/images/20022025/17/12/image_20022025_17_12_46_9417.jpg', '/home/pi/Desktop/images/20022025/17/12/image_20022025_17_12_56_10360.jpg', '/home/pi/Desktop/images/20022025/17/12/image_20022025_17_13_06_10397.jpg', '/home/pi/Desktop/images/20022025/17/13/image_20022025_17_13_16_9428.jpg', '/home/pi/Desktop/images/20022025/17/13/image_20022025_17_13_36_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/12/image_20022025_17_12_36_10333.jpg
/home/pi/Desktop/images/20022025/17/12/image_20022025_17_12_46_9417.jpg
/home/pi/Desktop/images/20022025/17/12/image_20022025_17_12_56_10360.jpg
/home/pi/Desktop/images/20022025/17/12/image_20022025_17_13_06_10397.jpg
/home/pi/Desktop/images/20022025/17/13/image_20022025_17_13_16_9428.jpg
/home/pi/Desktop/images/20022025/17/13/image_20022025_17_13_36_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338840149","1338840143","1338840151","1338840145","1338840148","1338840147"],"photo_ids_order":["1338840143","1338840145","1338840147","1338840148","1338840149","1338840151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f6f458c5a2b8c812b7eef516fe10de8.jpg","text":"TemporaryFile(/tmp/multipartBody2847109005248132535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146504132,"filename":"image_20022025_17_13_16_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/41b9b9efbddd93847a2544620419388e.jpg","text":"TemporaryFile(/tmp/multipartBody7388560284201915647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146504132,"filename":"image_20022025_17_12_36_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75644c1c58860fe7caa6b2889a9e493e.jpg","text":"TemporaryFile(/tmp/multipartBody6982297825090454463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146504132,"filename":"image_20022025_17_13_36_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f42613612bc5f52e369a53782ba0527b.jpg","text":"TemporaryFile(/tmp/multipartBody3239158756800250073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146504132,"filename":"image_20022025_17_12_46_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3cc3bf1304e9680bf76d7021e6dfd11.jpg","text":"TemporaryFile(/tmp/multipartBody3926489461915724093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146504132,"filename":"image_20022025_17_13_06_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f974866c66cf3bc993612bd9704bed44.jpg","text":"TemporaryFile(/tmp/multipartBody202763567854418912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146504132,"filename":"image_20022025_17_12_56_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338840147","file1":"1338840145","file0":"1338840143","file4":"1338840149","file5":"1338840151","file3":"1338840148"},"map_files_photo_id_array":[{"photo_id":"1338840151","filename":"file5"},{"photo_id":"1338840147","filename":"file2"},{"photo_id":"1338840149","filename":"file4"},{"photo_id":"1338840145","filename":"file1"},{"photo_id":"1338840143","filename":"file0"},{"photo_id":"1338840148","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338840149":["hashtag1","hashtag2"]},{"1338840143":["hashtag1","hashtag2"]},{"1338840151":["hashtag1","hashtag2"]},{"1338840145":["hashtag1","hashtag2"]},{"1338840148":["hashtag1","hashtag2"]},{"1338840147":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338840149, 1338840143, 1338840151, 1338840145, 1338840148, 1338840147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.440842628479004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 15:01:32.207368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/14/59/image_21022025_14_59_55_9407.jpg', '/home/pi/Desktop/images/21022025/15/01/image_21022025_15_01_15_10071.jpg', '/home/pi/Desktop/images/21022025/15/01/image_21022025_15_01_25_10357.jpg', '/home/pi/Desktop/images/21022025/15/01/image_21022025_15_01_45_9321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/14/59/image_21022025_14_59_55_9407.jpg
/home/pi/Desktop/images/21022025/15/01/image_21022025_15_01_15_10071.jpg
/home/pi/Desktop/images/21022025/15/01/image_21022025_15_01_25_10357.jpg
/home/pi/Desktop/images/21022025/15/01/image_21022025_15_01_45_9321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338840245","1338840241","1338840244","1338840246"],"photo_ids_order":["1338840241","1338840244","1338840245","1338840246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0231a39d54f6bcaa5fcbfa0ee4f19106.jpg","text":"TemporaryFile(/tmp/multipartBody5712563165725617698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146552659,"filename":"image_21022025_15_01_25_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cd290a22557a55a99504572d01baf1ba.jpg","text":"TemporaryFile(/tmp/multipartBody5310411810731618151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146552659,"filename":"image_21022025_14_59_55_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bbc5e3b99289a753b7d85d232f128001.jpg","text":"TemporaryFile(/tmp/multipartBody4982794844653873398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146552659,"filename":"image_21022025_15_01_15_10071.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7355bf2da066f5bb6c8cf6b214dccbaf.jpg","text":"TemporaryFile(/tmp/multipartBody2533902108059081086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146552659,"filename":"image_21022025_15_01_45_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338840245","file1":"1338840244","file0":"1338840241","file3":"1338840246"},"map_files_photo_id_array":[{"photo_id":"1338840245","filename":"file2"},{"photo_id":"1338840244","filename":"file1"},{"photo_id":"1338840241","filename":"file0"},{"photo_id":"1338840246","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338840245":["hashtag1","hashtag2"]},{"1338840241":["hashtag1","hashtag2"]},{"1338840244":["hashtag1","hashtag2"]},{"1338840246":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338840245, 1338840241, 1338840244, 1338840246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.70213556289673 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 15:02:03.312326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/13/image_20022025_17_13_46_10327.jpg', '/home/pi/Desktop/images/20022025/17/13/image_20022025_17_13_56_10346.jpg', '/home/pi/Desktop/images/20022025/17/13/image_20022025_17_14_06_9374.jpg', '/home/pi/Desktop/images/20022025/17/14/image_20022025_17_14_16_10318.jpg', '/home/pi/Desktop/images/20022025/17/14/image_20022025_17_14_27_10443.jpg', '/home/pi/Desktop/images/20022025/17/14/image_20022025_17_14_36_9317.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/13/image_20022025_17_13_46_10327.jpg
/home/pi/Desktop/images/20022025/17/13/image_20022025_17_13_56_10346.jpg
/home/pi/Desktop/images/20022025/17/13/image_20022025_17_14_06_9374.jpg
/home/pi/Desktop/images/20022025/17/14/image_20022025_17_14_16_10318.jpg
/home/pi/Desktop/images/20022025/17/14/image_20022025_17_14_27_10443.jpg
/home/pi/Desktop/images/20022025/17/14/image_20022025_17_14_36_9317.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338840385","1338840382","1338840370","1338840378","1338840369","1338840374"],"photo_ids_order":["1338840369","1338840370","1338840374","1338840378","1338840382","1338840385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e99b6ec07fdea1e1c642d826348b3e31.jpg","text":"TemporaryFile(/tmp/multipartBody3543736525658399520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146584712,"filename":"image_20022025_17_14_36_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a5fe7aae414b43d54c3cb1833370497.jpg","text":"TemporaryFile(/tmp/multipartBody8602219254322965443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146584712,"filename":"image_20022025_17_14_27_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c20b841113d5025eee4b9491e28495a8.jpg","text":"TemporaryFile(/tmp/multipartBody8183917291451503836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146584712,"filename":"image_20022025_17_13_56_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d3988848d6c4d0a92b323b38ae626fd.jpg","text":"TemporaryFile(/tmp/multipartBody3882506654314641862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146584712,"filename":"image_20022025_17_14_16_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02f8b4d12d47a3d1eff2120cfea7c551.jpg","text":"TemporaryFile(/tmp/multipartBody4366951110712284197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146584712,"filename":"image_20022025_17_13_46_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/21b64c58cfedc5b3e253b91732f74eb5.jpg","text":"TemporaryFile(/tmp/multipartBody5546281678196305271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146584712,"filename":"image_20022025_17_14_06_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338840374","file1":"1338840370","file0":"1338840369","file4":"1338840382","file5":"1338840385","file3":"1338840378"},"map_files_photo_id_array":[{"photo_id":"1338840385","filename":"file5"},{"photo_id":"1338840374","filename":"file2"},{"photo_id":"1338840382","filename":"file4"},{"photo_id":"1338840370","filename":"file1"},{"photo_id":"1338840369","filename":"file0"},{"photo_id":"1338840378","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338840385":["hashtag1","hashtag2"]},{"1338840382":["hashtag1","hashtag2"]},{"1338840370":["hashtag1","hashtag2"]},{"1338840378":["hashtag1","hashtag2"]},{"1338840369":["hashtag1","hashtag2"]},{"1338840374":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338840385, 1338840382, 1338840370, 1338840378, 1338840369, 1338840374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23036050796509 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 15:02:52.531139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/01/image_21022025_15_01_55_10335.jpg', '/home/pi/Desktop/images/21022025/15/02/image_21022025_15_02_36_10331.jpg', '/home/pi/Desktop/images/21022025/15/02/image_21022025_15_02_45_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/01/image_21022025_15_01_55_10335.jpg
/home/pi/Desktop/images/21022025/15/02/image_21022025_15_02_36_10331.jpg
/home/pi/Desktop/images/21022025/15/02/image_21022025_15_02_45_9403.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338840391","1338840393","1338840395"],"photo_ids_order":["1338840391","1338840393","1338840395"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1e09b666a5316ffd06f973efb9b3f72f.jpg","text":"TemporaryFile(/tmp/multipartBody3342155560353100123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146632980,"filename":"image_21022025_15_01_55_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/db2c43fdf4e22cf43939a186f7b58cce.jpg","text":"TemporaryFile(/tmp/multipartBody2682894192059937344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146632980,"filename":"image_21022025_15_02_36_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7e19ef3fd1c324d14dc792fcc93384f.jpg","text":"TemporaryFile(/tmp/multipartBody1100953917043811170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146632980,"filename":"image_21022025_15_02_45_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338840395","file1":"1338840393","file0":"1338840391"},"map_files_photo_id_array":[{"photo_id":"1338840395","filename":"file2"},{"photo_id":"1338840393","filename":"file1"},{"photo_id":"1338840391","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338840391":["hashtag1","hashtag2"]},{"1338840393":["hashtag1","hashtag2"]},{"1338840395":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338840391, 1338840393, 1338840395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.917990922927856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 15:03:32.674862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/02/image_21022025_15_02_56_10352.jpg', '/home/pi/Desktop/images/21022025/15/02/image_21022025_15_03_05_9325.jpg', '/home/pi/Desktop/images/21022025/15/03/image_21022025_15_03_15_10355.jpg', '/home/pi/Desktop/images/21022025/15/03/image_21022025_15_03_26_10403.jpg', '/home/pi/Desktop/images/21022025/15/03/image_21022025_15_03_46_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/02/image_21022025_15_02_56_10352.jpg
/home/pi/Desktop/images/21022025/15/02/image_21022025_15_03_05_9325.jpg
/home/pi/Desktop/images/21022025/15/03/image_21022025_15_03_15_10355.jpg
/home/pi/Desktop/images/21022025/15/03/image_21022025_15_03_26_10403.jpg
/home/pi/Desktop/images/21022025/15/03/image_21022025_15_03_46_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338840425","1338840421","1338840427","1338840423","1338840417"],"photo_ids_order":["1338840417","1338840421","1338840423","1338840425","1338840427"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be328c90b2f02476bd354260d970f63b.jpg","text":"TemporaryFile(/tmp/multipartBody2726416517360948456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146673163,"filename":"image_21022025_15_03_26_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b6fe4f5ad3e90d239990bfc6ae33e912.jpg","text":"TemporaryFile(/tmp/multipartBody932462605234802857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146673163,"filename":"image_21022025_15_03_05_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3dba089c0f93868d5394f6d23b973744.jpg","text":"TemporaryFile(/tmp/multipartBody245817523246042116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146673163,"filename":"image_21022025_15_03_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/34f2f63c09505f468b2197436e98c193.jpg","text":"TemporaryFile(/tmp/multipartBody6075281884586143131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146673163,"filename":"image_21022025_15_03_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/105de6861dc9090be24882a364d04aa9.jpg","text":"TemporaryFile(/tmp/multipartBody2259453222650921058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146673163,"filename":"image_21022025_15_02_56_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338840423","file1":"1338840421","file0":"1338840417","file4":"1338840427","file3":"1338840425"},"map_files_photo_id_array":[{"photo_id":"1338840423","filename":"file2"},{"photo_id":"1338840427","filename":"file4"},{"photo_id":"1338840421","filename":"file1"},{"photo_id":"1338840417","filename":"file0"},{"photo_id":"1338840425","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338840425":["hashtag1","hashtag2"]},{"1338840421":["hashtag1","hashtag2"]},{"1338840427":["hashtag1","hashtag2"]},{"1338840423":["hashtag1","hashtag2"]},{"1338840417":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338840425, 1338840421, 1338840427, 1338840423, 1338840417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.94634485244751 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 15:04:32.830334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/03/image_21022025_15_03_56_10377.jpg', '/home/pi/Desktop/images/21022025/15/04/image_21022025_15_04_16_10382.jpg', '/home/pi/Desktop/images/21022025/15/04/image_21022025_15_04_35_10355.jpg', '/home/pi/Desktop/images/21022025/15/04/image_21022025_15_04_46_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/03/image_21022025_15_03_56_10377.jpg
/home/pi/Desktop/images/21022025/15/04/image_21022025_15_04_16_10382.jpg
/home/pi/Desktop/images/21022025/15/04/image_21022025_15_04_35_10355.jpg
/home/pi/Desktop/images/21022025/15/04/image_21022025_15_04_46_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338840509","1338840503","1338840494","1338840476"],"photo_ids_order":["1338840476","1338840494","1338840503","1338840509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/46910de3d0921443a035d1982010b404.jpg","text":"TemporaryFile(/tmp/multipartBody4199318742882461111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146733279,"filename":"image_21022025_15_04_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80e6c290d6bfaae1cb782f84cda7685f.jpg","text":"TemporaryFile(/tmp/multipartBody571557913543317294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146733279,"filename":"image_21022025_15_04_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4dc7c2c30659e9b2d69c319112514078.jpg","text":"TemporaryFile(/tmp/multipartBody7299426311987604517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146733279,"filename":"image_21022025_15_04_16_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f5eecaacc457203d0e5b8b6cb0c1c0a.jpg","text":"TemporaryFile(/tmp/multipartBody5475352738355256010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146733279,"filename":"image_21022025_15_03_56_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338840503","file1":"1338840494","file0":"1338840476","file3":"1338840509"},"map_files_photo_id_array":[{"photo_id":"1338840503","filename":"file2"},{"photo_id":"1338840494","filename":"file1"},{"photo_id":"1338840476","filename":"file0"},{"photo_id":"1338840509","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338840509":["hashtag1","hashtag2"]},{"1338840503":["hashtag1","hashtag2"]},{"1338840494":["hashtag1","hashtag2"]},{"1338840476":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338840509, 1338840503, 1338840494, 1338840476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.84799075126648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 15:05:04.981632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/14/image_20022025_17_14_46_10347.jpg', '/home/pi/Desktop/images/20022025/17/14/image_20022025_17_15_06_9347.jpg', '/home/pi/Desktop/images/20022025/17/15/image_20022025_17_15_16_10328.jpg', '/home/pi/Desktop/images/20022025/17/15/image_20022025_17_15_27_10370.jpg', '/home/pi/Desktop/images/20022025/17/15/image_20022025_17_15_36_9320.jpg', '/home/pi/Desktop/images/20022025/17/15/image_20022025_17_15_46_10305.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/14/image_20022025_17_14_46_10347.jpg
/home/pi/Desktop/images/20022025/17/14/image_20022025_17_15_06_9347.jpg
/home/pi/Desktop/images/20022025/17/15/image_20022025_17_15_16_10328.jpg
/home/pi/Desktop/images/20022025/17/15/image_20022025_17_15_27_10370.jpg
/home/pi/Desktop/images/20022025/17/15/image_20022025_17_15_36_9320.jpg
/home/pi/Desktop/images/20022025/17/15/image_20022025_17_15_46_10305.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338840536","1338840539","1338840530","1338840532","1338840543","1338840546"],"photo_ids_order":["1338840530","1338840532","1338840536","1338840539","1338840543","1338840546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/98b9ae7392472fcf52dbee945bb03a7f.jpg","text":"TemporaryFile(/tmp/multipartBody7856254686476498131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146766774,"filename":"image_20022025_17_15_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2cba15dc22eb55acc1c3ee47db52d25e.jpg","text":"TemporaryFile(/tmp/multipartBody7949548525335815863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146766774,"filename":"image_20022025_17_15_27_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/060b2157015c77722d1191df6f697507.jpg","text":"TemporaryFile(/tmp/multipartBody6621792001061469037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146766774,"filename":"image_20022025_17_14_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a742fbee93d4e5a68e2ada99b7cdee00.jpg","text":"TemporaryFile(/tmp/multipartBody2508292508258664857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146766774,"filename":"image_20022025_17_15_06_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f583fc2cb09c9a1831dedf61addaf504.jpg","text":"TemporaryFile(/tmp/multipartBody1725795701591130515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146766774,"filename":"image_20022025_17_15_36_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf0deb7452d2014089dd5e288160aef1.jpg","text":"TemporaryFile(/tmp/multipartBody3774620971507716242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146766774,"filename":"image_20022025_17_15_46_10305.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338840536","file1":"1338840532","file0":"1338840530","file4":"1338840543","file5":"1338840546","file3":"1338840539"},"map_files_photo_id_array":[{"photo_id":"1338840546","filename":"file5"},{"photo_id":"1338840536","filename":"file2"},{"photo_id":"1338840543","filename":"file4"},{"photo_id":"1338840532","filename":"file1"},{"photo_id":"1338840530","filename":"file0"},{"photo_id":"1338840539","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338840536":["hashtag1","hashtag2"]},{"1338840539":["hashtag1","hashtag2"]},{"1338840530":["hashtag1","hashtag2"]},{"1338840532":["hashtag1","hashtag2"]},{"1338840543":["hashtag1","hashtag2"]},{"1338840546":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338840536, 1338840539, 1338840530, 1338840532, 1338840543, 1338840546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.254422664642334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 15:05:43.058701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/04/image_21022025_15_04_56_9851.jpg', '/home/pi/Desktop/images/21022025/15/04/image_21022025_15_05_06_10331.jpg', '/home/pi/Desktop/images/21022025/15/05/image_21022025_15_05_16_9564.jpg', '/home/pi/Desktop/images/21022025/15/05/image_21022025_15_05_26_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/04/image_21022025_15_04_56_9851.jpg
/home/pi/Desktop/images/21022025/15/04/image_21022025_15_05_06_10331.jpg
/home/pi/Desktop/images/21022025/15/05/image_21022025_15_05_16_9564.jpg
/home/pi/Desktop/images/21022025/15/05/image_21022025_15_05_26_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338840551","1338840550","1338840552","1338840549"],"photo_ids_order":["1338840549","1338840550","1338840551","1338840552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d6b80a568560f8a5cdf0448a8dc3db32.jpg","text":"TemporaryFile(/tmp/multipartBody1882324535067125701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146803510,"filename":"image_21022025_15_05_16_9564.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f6bc1a16cc1ef135aa5cb9573257971a.jpg","text":"TemporaryFile(/tmp/multipartBody1384459836512633343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146803510,"filename":"image_21022025_15_05_06_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/16aa5898324627da7312aa4c4f1ff170.jpg","text":"TemporaryFile(/tmp/multipartBody7860249575387488288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146803510,"filename":"image_21022025_15_05_26_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/16a5f7312d4338aff2226510bb2a3f7c.jpg","text":"TemporaryFile(/tmp/multipartBody896699854198676263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146803510,"filename":"image_21022025_15_04_56_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338840551","file1":"1338840550","file0":"1338840549","file3":"1338840552"},"map_files_photo_id_array":[{"photo_id":"1338840551","filename":"file2"},{"photo_id":"1338840550","filename":"file1"},{"photo_id":"1338840549","filename":"file0"},{"photo_id":"1338840552","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338840551":["hashtag1","hashtag2"]},{"1338840550":["hashtag1","hashtag2"]},{"1338840552":["hashtag1","hashtag2"]},{"1338840549":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338840551, 1338840550, 1338840552, 1338840549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.145209074020386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 15:06:32.274878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/05/image_21022025_15_05_35_9332.jpg', '/home/pi/Desktop/images/21022025/15/05/image_21022025_15_06_05_10350.jpg', '/home/pi/Desktop/images/21022025/15/06/image_21022025_15_06_16_10447.jpg', '/home/pi/Desktop/images/21022025/15/06/image_21022025_15_06_25_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/05/image_21022025_15_05_35_9332.jpg
/home/pi/Desktop/images/21022025/15/05/image_21022025_15_06_05_10350.jpg
/home/pi/Desktop/images/21022025/15/06/image_21022025_15_06_16_10447.jpg
/home/pi/Desktop/images/21022025/15/06/image_21022025_15_06_25_9334.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4151318073272705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 15:06:42.253319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/05/image_21022025_15_05_35_9332.jpg', '/home/pi/Desktop/images/21022025/15/05/image_21022025_15_06_05_10350.jpg', '/home/pi/Desktop/images/21022025/15/06/image_21022025_15_06_16_10447.jpg', '/home/pi/Desktop/images/21022025/15/06/image_21022025_15_06_25_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/05/image_21022025_15_05_35_9332.jpg
/home/pi/Desktop/images/21022025/15/05/image_21022025_15_06_05_10350.jpg
/home/pi/Desktop/images/21022025/15/06/image_21022025_15_06_16_10447.jpg
/home/pi/Desktop/images/21022025/15/06/image_21022025_15_06_25_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338841294","1338841290","1338841287","1338841292"],"photo_ids_order":["1338841287","1338841290","1338841292","1338841294"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/198c71d1b768f8eb4c083b59effbecf0.jpg","text":"TemporaryFile(/tmp/multipartBody4784996384760067804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146862759,"filename":"image_21022025_15_06_25_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c642ebbfa4e791abd31007c4032bc5cb.jpg","text":"TemporaryFile(/tmp/multipartBody7324397839228660166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146862759,"filename":"image_21022025_15_06_05_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c59a3f257ca7ab921fb00b8b040191a.jpg","text":"TemporaryFile(/tmp/multipartBody976270681953669763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146862759,"filename":"image_21022025_15_05_35_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9131be24bf8c40ec6c21c27ebcf16a55.jpg","text":"TemporaryFile(/tmp/multipartBody8335424636600889923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146862759,"filename":"image_21022025_15_06_16_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338841292","file1":"1338841290","file0":"1338841287","file3":"1338841294"},"map_files_photo_id_array":[{"photo_id":"1338841292","filename":"file2"},{"photo_id":"1338841290","filename":"file1"},{"photo_id":"1338841287","filename":"file0"},{"photo_id":"1338841294","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338841294":["hashtag1","hashtag2"]},{"1338841290":["hashtag1","hashtag2"]},{"1338841287":["hashtag1","hashtag2"]},{"1338841292":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338841294, 1338841290, 1338841287, 1338841292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.84764003753662 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 15:07:32.514565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/06/image_21022025_15_06_35_10327.jpg', '/home/pi/Desktop/images/21022025/15/07/image_21022025_15_07_16_10362.jpg', '/home/pi/Desktop/images/21022025/15/07/image_21022025_15_07_25_9348.jpg', '/home/pi/Desktop/images/21022025/15/07/image_21022025_15_07_36_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/06/image_21022025_15_06_35_10327.jpg
/home/pi/Desktop/images/21022025/15/07/image_21022025_15_07_16_10362.jpg
/home/pi/Desktop/images/21022025/15/07/image_21022025_15_07_25_9348.jpg
/home/pi/Desktop/images/21022025/15/07/image_21022025_15_07_36_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338841477","1338841600","1338841701","1338841704"],"photo_ids_order":["1338841477","1338841600","1338841701","1338841704"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c7eec0fc548b142c6d4f375fa2be2ad7.jpg","text":"TemporaryFile(/tmp/multipartBody1811028680997783495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146912974,"filename":"image_21022025_15_06_35_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0b7316abdcd9c45105694fcac19379a2.jpg","text":"TemporaryFile(/tmp/multipartBody5046264076857599865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146912974,"filename":"image_21022025_15_07_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ba2b142d6beeee73eab730c00f13452f.jpg","text":"TemporaryFile(/tmp/multipartBody3807707920553909664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146912974,"filename":"image_21022025_15_07_25_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d62c525972b616a12d9a64557708d339.jpg","text":"TemporaryFile(/tmp/multipartBody6761195974424602325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146912974,"filename":"image_21022025_15_07_36_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338841701","file1":"1338841600","file0":"1338841477","file3":"1338841704"},"map_files_photo_id_array":[{"photo_id":"1338841701","filename":"file2"},{"photo_id":"1338841600","filename":"file1"},{"photo_id":"1338841477","filename":"file0"},{"photo_id":"1338841704","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338841477":["hashtag1","hashtag2"]},{"1338841600":["hashtag1","hashtag2"]},{"1338841701":["hashtag1","hashtag2"]},{"1338841704":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338841477, 1338841600, 1338841701, 1338841704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.252737760543823 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 15:08:03.569142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/15/image_20022025_17_15_56_9402.jpg', '/home/pi/Desktop/images/20022025/17/15/image_20022025_17_16_06_10334.jpg', '/home/pi/Desktop/images/20022025/17/16/image_20022025_17_16_16_10337.jpg', '/home/pi/Desktop/images/20022025/17/16/image_20022025_17_16_26_9330.jpg', '/home/pi/Desktop/images/20022025/17/16/image_20022025_17_16_36_10440.jpg', '/home/pi/Desktop/images/20022025/17/16/image_20022025_17_16_47_10479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/15/image_20022025_17_15_56_9402.jpg
/home/pi/Desktop/images/20022025/17/15/image_20022025_17_16_06_10334.jpg
/home/pi/Desktop/images/20022025/17/16/image_20022025_17_16_16_10337.jpg
/home/pi/Desktop/images/20022025/17/16/image_20022025_17_16_26_9330.jpg
/home/pi/Desktop/images/20022025/17/16/image_20022025_17_16_36_10440.jpg
/home/pi/Desktop/images/20022025/17/16/image_20022025_17_16_47_10479.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338841771","1338841768","1338841756","1338841750","1338841764","1338841754"],"photo_ids_order":["1338841750","1338841754","1338841756","1338841764","1338841768","1338841771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ddd7fd67a45dc4df0a32bf6f1748dc0.jpg","text":"TemporaryFile(/tmp/multipartBody5114482069789398985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146945036,"filename":"image_20022025_17_16_47_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0ca5195f058929f1e226439b6dc58fec.jpg","text":"TemporaryFile(/tmp/multipartBody1653198911207319831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146945036,"filename":"image_20022025_17_16_36_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02215431799901d4028f0324750a426c.jpg","text":"TemporaryFile(/tmp/multipartBody6519342739150476917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146945036,"filename":"image_20022025_17_16_16_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/341881027a7798096dd1d54943deca25.jpg","text":"TemporaryFile(/tmp/multipartBody900365098608157047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146945036,"filename":"image_20022025_17_15_56_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b415581b96a51e45bb870bcbcf7a45c2.jpg","text":"TemporaryFile(/tmp/multipartBody2026100096275307532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146945036,"filename":"image_20022025_17_16_26_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/51cc2d28cf716097f5f7d4bb7ce4c52b.jpg","text":"TemporaryFile(/tmp/multipartBody8283177193451658894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146945036,"filename":"image_20022025_17_16_06_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338841756","file1":"1338841754","file0":"1338841750","file4":"1338841768","file5":"1338841771","file3":"1338841764"},"map_files_photo_id_array":[{"photo_id":"1338841771","filename":"file5"},{"photo_id":"1338841756","filename":"file2"},{"photo_id":"1338841768","filename":"file4"},{"photo_id":"1338841754","filename":"file1"},{"photo_id":"1338841750","filename":"file0"},{"photo_id":"1338841764","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338841771":["hashtag1","hashtag2"]},{"1338841768":["hashtag1","hashtag2"]},{"1338841756":["hashtag1","hashtag2"]},{"1338841750":["hashtag1","hashtag2"]},{"1338841764":["hashtag1","hashtag2"]},{"1338841754":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338841771, 1338841768, 1338841756, 1338841750, 1338841764, 1338841754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.704864501953125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 15:08:42.698188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/07/image_21022025_15_07_55_9329.jpg', '/home/pi/Desktop/images/21022025/15/07/image_21022025_15_08_06_10388.jpg', '/home/pi/Desktop/images/21022025/15/08/image_21022025_15_08_15_9428.jpg', '/home/pi/Desktop/images/21022025/15/08/image_21022025_15_08_25_10341.jpg', '/home/pi/Desktop/images/21022025/15/08/image_21022025_15_08_36_10408.jpg', '/home/pi/Desktop/images/21022025/15/08/image_21022025_15_08_45_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/07/image_21022025_15_07_55_9329.jpg
/home/pi/Desktop/images/21022025/15/07/image_21022025_15_08_06_10388.jpg
/home/pi/Desktop/images/21022025/15/08/image_21022025_15_08_15_9428.jpg
/home/pi/Desktop/images/21022025/15/08/image_21022025_15_08_25_10341.jpg
/home/pi/Desktop/images/21022025/15/08/image_21022025_15_08_36_10408.jpg
/home/pi/Desktop/images/21022025/15/08/image_21022025_15_08_45_9336.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39171481132507324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 15:08:52.745380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/07/image_21022025_15_07_55_9329.jpg', '/home/pi/Desktop/images/21022025/15/07/image_21022025_15_08_06_10388.jpg', '/home/pi/Desktop/images/21022025/15/08/image_21022025_15_08_15_9428.jpg', '/home/pi/Desktop/images/21022025/15/08/image_21022025_15_08_25_10341.jpg', '/home/pi/Desktop/images/21022025/15/08/image_21022025_15_08_36_10408.jpg', '/home/pi/Desktop/images/21022025/15/08/image_21022025_15_08_45_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/07/image_21022025_15_07_55_9329.jpg
/home/pi/Desktop/images/21022025/15/07/image_21022025_15_08_06_10388.jpg
/home/pi/Desktop/images/21022025/15/08/image_21022025_15_08_15_9428.jpg
/home/pi/Desktop/images/21022025/15/08/image_21022025_15_08_25_10341.jpg
/home/pi/Desktop/images/21022025/15/08/image_21022025_15_08_36_10408.jpg
/home/pi/Desktop/images/21022025/15/08/image_21022025_15_08_45_9336.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338841789","1338841785","1338841793","1338841787","1338841781","1338841778"],"photo_ids_order":["1338841778","1338841781","1338841785","1338841787","1338841789","1338841793"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3cfc5a375d21ed4c9c60ce9403e6983b.jpg","text":"TemporaryFile(/tmp/multipartBody8953944655487284632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146993211,"filename":"image_21022025_15_08_36_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/742caf1bf5c3976dab5108c86328c4c0.jpg","text":"TemporaryFile(/tmp/multipartBody637546973916225489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146993211,"filename":"image_21022025_15_08_15_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/01de944b7a7a86f8241d16d33dfc1e5c.jpg","text":"TemporaryFile(/tmp/multipartBody6887482957945358575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146993211,"filename":"image_21022025_15_08_45_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6cd9fc7624668b687174219f8245ae7c.jpg","text":"TemporaryFile(/tmp/multipartBody7498111027908605881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146993211,"filename":"image_21022025_15_08_25_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a2edfdbc9386a452ca70800c4e230fe6.jpg","text":"TemporaryFile(/tmp/multipartBody3255791555878274721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146993211,"filename":"image_21022025_15_08_06_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/926af010d2bc2c5e3529a72bab76aefa.jpg","text":"TemporaryFile(/tmp/multipartBody1540252742579151582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740146993211,"filename":"image_21022025_15_07_55_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338841785","file1":"1338841781","file0":"1338841778","file4":"1338841789","file5":"1338841793","file3":"1338841787"},"map_files_photo_id_array":[{"photo_id":"1338841793","filename":"file5"},{"photo_id":"1338841785","filename":"file2"},{"photo_id":"1338841789","filename":"file4"},{"photo_id":"1338841781","filename":"file1"},{"photo_id":"1338841778","filename":"file0"},{"photo_id":"1338841787","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338841789":["hashtag1","hashtag2"]},{"1338841785":["hashtag1","hashtag2"]},{"1338841793":["hashtag1","hashtag2"]},{"1338841787":["hashtag1","hashtag2"]},{"1338841781":["hashtag1","hashtag2"]},{"1338841778":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338841789, 1338841785, 1338841793, 1338841787, 1338841781, 1338841778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.456148862838745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 15:09:32.964704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/08/image_21022025_15_08_56_10363.jpg', '/home/pi/Desktop/images/21022025/15/08/image_21022025_15_09_06_10343.jpg', '/home/pi/Desktop/images/21022025/15/09/image_21022025_15_09_15_9341.jpg', '/home/pi/Desktop/images/21022025/15/09/image_21022025_15_09_26_10423.jpg', '/home/pi/Desktop/images/21022025/15/09/image_21022025_15_09_35_9432.jpg', '/home/pi/Desktop/images/21022025/15/09/image_21022025_15_09_45_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/08/image_21022025_15_08_56_10363.jpg
/home/pi/Desktop/images/21022025/15/08/image_21022025_15_09_06_10343.jpg
/home/pi/Desktop/images/21022025/15/09/image_21022025_15_09_15_9341.jpg
/home/pi/Desktop/images/21022025/15/09/image_21022025_15_09_26_10423.jpg
/home/pi/Desktop/images/21022025/15/09/image_21022025_15_09_35_9432.jpg
/home/pi/Desktop/images/21022025/15/09/image_21022025_15_09_45_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338841805","1338841945","1338841807","1338841944","1338841947","1338841949"],"photo_ids_order":["1338841805","1338841807","1338841944","1338841945","1338841947","1338841949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c0dd7622913a60c62298f0ac8ea9e105.jpg","text":"TemporaryFile(/tmp/multipartBody7281120399693042434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147033485,"filename":"image_21022025_15_08_56_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4180298bea78443c6e7caf13ac61e33b.jpg","text":"TemporaryFile(/tmp/multipartBody5586333513613164552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147033485,"filename":"image_21022025_15_09_26_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6cb306dfd34530953b28ba02fec31a06.jpg","text":"TemporaryFile(/tmp/multipartBody1365599022500965633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147033485,"filename":"image_21022025_15_09_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a0592437a32d067ca8196349d19efbf7.jpg","text":"TemporaryFile(/tmp/multipartBody3767247713918490243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147033485,"filename":"image_21022025_15_09_15_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1018880f1b389a4c565c83f88afd17cd.jpg","text":"TemporaryFile(/tmp/multipartBody822058425204115974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147033485,"filename":"image_21022025_15_09_35_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/91906ec143dbd72c4316d4e71dfae929.jpg","text":"TemporaryFile(/tmp/multipartBody2975538891408129130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147033485,"filename":"image_21022025_15_09_45_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338841944","file1":"1338841807","file0":"1338841805","file4":"1338841947","file5":"1338841949","file3":"1338841945"},"map_files_photo_id_array":[{"photo_id":"1338841949","filename":"file5"},{"photo_id":"1338841944","filename":"file2"},{"photo_id":"1338841947","filename":"file4"},{"photo_id":"1338841807","filename":"file1"},{"photo_id":"1338841805","filename":"file0"},{"photo_id":"1338841945","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338841805":["hashtag1","hashtag2"]},{"1338841945":["hashtag1","hashtag2"]},{"1338841807":["hashtag1","hashtag2"]},{"1338841944":["hashtag1","hashtag2"]},{"1338841947":["hashtag1","hashtag2"]},{"1338841949":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338841805, 1338841945, 1338841807, 1338841944, 1338841947, 1338841949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46240949630737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 15:10:32.133316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/09/image_21022025_15_09_56_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/09/image_21022025_15_09_56_10446.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338841977"],"photo_id":"1338841977","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3cc97340754ae3fddc252e5752fb4adf.jpg","text":"TemporaryFile(/tmp/multipartBody3954007938828448317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147092543,"filename":"image_21022025_15_09_56_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338841977"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338841977"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.440730094909668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 15:10:52.175321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/16/image_20022025_17_16_56_9324.jpg', '/home/pi/Desktop/images/20022025/17/16/image_20022025_17_17_06_10323.jpg', '/home/pi/Desktop/images/20022025/17/17/image_20022025_17_17_17_10333.jpg', '/home/pi/Desktop/images/20022025/17/17/image_20022025_17_17_26_9344.jpg', '/home/pi/Desktop/images/20022025/17/17/image_20022025_17_17_36_10376.jpg', '/home/pi/Desktop/images/20022025/17/17/image_20022025_17_17_47_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/16/image_20022025_17_16_56_9324.jpg
/home/pi/Desktop/images/20022025/17/16/image_20022025_17_17_06_10323.jpg
/home/pi/Desktop/images/20022025/17/17/image_20022025_17_17_17_10333.jpg
/home/pi/Desktop/images/20022025/17/17/image_20022025_17_17_26_9344.jpg
/home/pi/Desktop/images/20022025/17/17/image_20022025_17_17_36_10376.jpg
/home/pi/Desktop/images/20022025/17/17/image_20022025_17_17_47_10344.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338841990","1338841984","1338841993","1338841998","1338841991","1338842000"],"photo_ids_order":["1338841984","1338841990","1338841991","1338841993","1338841998","1338842000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dbb940d7d61487d9152e6fd8fb0c7b14.jpg","text":"TemporaryFile(/tmp/multipartBody3577002499952807981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147114268,"filename":"image_20022025_17_17_06_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d6e4c67f1feb9199acde1c145e6a9178.jpg","text":"TemporaryFile(/tmp/multipartBody2440374971467350972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147114268,"filename":"image_20022025_17_16_56_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f11c947bb7248078c53d8d8396923937.jpg","text":"TemporaryFile(/tmp/multipartBody8391604201374968654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147114268,"filename":"image_20022025_17_17_26_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f980400366a41421aa701a85acdc0b32.jpg","text":"TemporaryFile(/tmp/multipartBody7906249105783523012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147114268,"filename":"image_20022025_17_17_36_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1051b382ce140b3ed739886cc633ccbe.jpg","text":"TemporaryFile(/tmp/multipartBody493143820719730924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147114268,"filename":"image_20022025_17_17_17_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0d2653b90850db1067e5ea9a4b73fad2.jpg","text":"TemporaryFile(/tmp/multipartBody1807588231971940437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147114268,"filename":"image_20022025_17_17_47_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338841991","file1":"1338841990","file0":"1338841984","file4":"1338841998","file5":"1338842000","file3":"1338841993"},"map_files_photo_id_array":[{"photo_id":"1338842000","filename":"file5"},{"photo_id":"1338841991","filename":"file2"},{"photo_id":"1338841998","filename":"file4"},{"photo_id":"1338841990","filename":"file1"},{"photo_id":"1338841984","filename":"file0"},{"photo_id":"1338841993","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338841990":["hashtag1","hashtag2"]},{"1338841984":["hashtag1","hashtag2"]},{"1338841993":["hashtag1","hashtag2"]},{"1338841998":["hashtag1","hashtag2"]},{"1338841991":["hashtag1","hashtag2"]},{"1338842000":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338841990, 1338841984, 1338841993, 1338841998, 1338841991, 1338842000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.490877628326416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 15:11:32.416600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/10/image_21022025_15_10_55_9341.jpg', '/home/pi/Desktop/images/21022025/15/11/image_21022025_15_11_16_10342.jpg', '/home/pi/Desktop/images/21022025/15/11/image_21022025_15_11_36_10402.jpg', '/home/pi/Desktop/images/21022025/15/11/image_21022025_15_11_46_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/10/image_21022025_15_10_55_9341.jpg
/home/pi/Desktop/images/21022025/15/11/image_21022025_15_11_16_10342.jpg
/home/pi/Desktop/images/21022025/15/11/image_21022025_15_11_36_10402.jpg
/home/pi/Desktop/images/21022025/15/11/image_21022025_15_11_46_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338842032","1338842035","1338842036","1338842030"],"photo_ids_order":["1338842030","1338842032","1338842035","1338842036"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32752a8954d02662b5870749cc8bba30.jpg","text":"TemporaryFile(/tmp/multipartBody6906608111468297706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147152867,"filename":"image_21022025_15_11_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/17b1cd25292d401df0c36d1530e31bc2.jpg","text":"TemporaryFile(/tmp/multipartBody9221844470915700910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147152867,"filename":"image_21022025_15_11_36_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b5ce8dd67cd0a40b6fd4669cdcf217aa.jpg","text":"TemporaryFile(/tmp/multipartBody4890338840639291344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147152867,"filename":"image_21022025_15_11_46_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/84c9aa1f0d348899e71fb0e5095bae0c.jpg","text":"TemporaryFile(/tmp/multipartBody6571095178632285501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147152867,"filename":"image_21022025_15_10_55_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338842035","file1":"1338842032","file0":"1338842030","file3":"1338842036"},"map_files_photo_id_array":[{"photo_id":"1338842035","filename":"file2"},{"photo_id":"1338842032","filename":"file1"},{"photo_id":"1338842030","filename":"file0"},{"photo_id":"1338842036","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338842032":["hashtag1","hashtag2"]},{"1338842035":["hashtag1","hashtag2"]},{"1338842036":["hashtag1","hashtag2"]},{"1338842030":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338842032, 1338842035, 1338842036, 1338842030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.557914972305298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 15:12:03.481546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/17/image_20022025_17_17_56_9333.jpg', '/home/pi/Desktop/images/20022025/17/17/image_20022025_17_18_06_10328.jpg', '/home/pi/Desktop/images/20022025/17/18/image_20022025_17_18_16_9439.jpg', '/home/pi/Desktop/images/20022025/17/18/image_20022025_17_18_26_10357.jpg', '/home/pi/Desktop/images/20022025/17/18/image_20022025_17_18_37_10403.jpg', '/home/pi/Desktop/images/20022025/17/18/image_20022025_17_18_46_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/17/image_20022025_17_17_56_9333.jpg
/home/pi/Desktop/images/20022025/17/17/image_20022025_17_18_06_10328.jpg
/home/pi/Desktop/images/20022025/17/18/image_20022025_17_18_16_9439.jpg
/home/pi/Desktop/images/20022025/17/18/image_20022025_17_18_26_10357.jpg
/home/pi/Desktop/images/20022025/17/18/image_20022025_17_18_37_10403.jpg
/home/pi/Desktop/images/20022025/17/18/image_20022025_17_18_46_9416.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338842052","1338842099","1338842093","1338842096","1338842102","1338842050"],"photo_ids_order":["1338842050","1338842052","1338842093","1338842096","1338842099","1338842102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1adace301eb838a10885c3d90764c52d.jpg","text":"TemporaryFile(/tmp/multipartBody5315677560091210993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147184925,"filename":"image_20022025_17_18_06_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87b422686346e74d11bba126f93ee9c1.jpg","text":"TemporaryFile(/tmp/multipartBody8056138394220086625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147184925,"filename":"image_20022025_17_18_37_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8cccb91689e6531221182e7771f42686.jpg","text":"TemporaryFile(/tmp/multipartBody6530938231608236512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147184925,"filename":"image_20022025_17_18_16_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1859018efd89bcc64bb77ff9a434e635.jpg","text":"TemporaryFile(/tmp/multipartBody164303363582177120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147184925,"filename":"image_20022025_17_18_26_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fe84db9f6a1d7c22d229c0474006c97e.jpg","text":"TemporaryFile(/tmp/multipartBody4362675752539756393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147184925,"filename":"image_20022025_17_18_46_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f9ec1dcc5c2298b690c2b716404eb5b9.jpg","text":"TemporaryFile(/tmp/multipartBody2841942326422300065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147184925,"filename":"image_20022025_17_17_56_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338842093","file1":"1338842052","file0":"1338842050","file4":"1338842099","file5":"1338842102","file3":"1338842096"},"map_files_photo_id_array":[{"photo_id":"1338842102","filename":"file5"},{"photo_id":"1338842093","filename":"file2"},{"photo_id":"1338842099","filename":"file4"},{"photo_id":"1338842052","filename":"file1"},{"photo_id":"1338842050","filename":"file0"},{"photo_id":"1338842096","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338842052":["hashtag1","hashtag2"]},{"1338842099":["hashtag1","hashtag2"]},{"1338842093":["hashtag1","hashtag2"]},{"1338842096":["hashtag1","hashtag2"]},{"1338842102":["hashtag1","hashtag2"]},{"1338842050":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338842052, 1338842099, 1338842093, 1338842096, 1338842102, 1338842050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93299674987793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 15:12:42.614023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/11/image_21022025_15_11_55_9335.jpg', '/home/pi/Desktop/images/21022025/15/11/image_21022025_15_12_06_10344.jpg', '/home/pi/Desktop/images/21022025/15/12/image_21022025_15_12_45_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/11/image_21022025_15_11_55_9335.jpg
/home/pi/Desktop/images/21022025/15/11/image_21022025_15_12_06_10344.jpg
/home/pi/Desktop/images/21022025/15/12/image_21022025_15_12_45_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338842128","1338842124","1338842126"],"photo_ids_order":["1338842124","1338842126","1338842128"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81cceaf3be4ab315cb710c34a614cbf3.jpg","text":"TemporaryFile(/tmp/multipartBody4856483869479304404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147223049,"filename":"image_21022025_15_12_45_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6b914265df560175d5a0742152867b14.jpg","text":"TemporaryFile(/tmp/multipartBody321839441530140455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147223049,"filename":"image_21022025_15_11_55_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/96c7262711166bd64de846a9ad4d0c8d.jpg","text":"TemporaryFile(/tmp/multipartBody2533669905563783312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147223049,"filename":"image_21022025_15_12_06_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338842128","file1":"1338842126","file0":"1338842124"},"map_files_photo_id_array":[{"photo_id":"1338842128","filename":"file2"},{"photo_id":"1338842126","filename":"file1"},{"photo_id":"1338842124","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338842128":["hashtag1","hashtag2"]},{"1338842124":["hashtag1","hashtag2"]},{"1338842126":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338842128, 1338842124, 1338842126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.038917779922485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 15:13:32.869187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/12/image_21022025_15_12_56_10351.jpg', '/home/pi/Desktop/images/21022025/15/13/image_21022025_15_13_15_9394.jpg', '/home/pi/Desktop/images/21022025/15/13/image_21022025_15_13_26_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/12/image_21022025_15_12_56_10351.jpg
/home/pi/Desktop/images/21022025/15/13/image_21022025_15_13_15_9394.jpg
/home/pi/Desktop/images/21022025/15/13/image_21022025_15_13_26_10396.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338842149","1338842145","1338842147"],"photo_ids_order":["1338842145","1338842147","1338842149"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/418097c5b8f65b7bf208cb1499c45614.jpg","text":"TemporaryFile(/tmp/multipartBody9160867851951077428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147273310,"filename":"image_21022025_15_13_26_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/64bc6da65db8cb0562174e46c3c6f53d.jpg","text":"TemporaryFile(/tmp/multipartBody8539654572566423867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147273310,"filename":"image_21022025_15_12_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7024f2087b209160ad19bac51566d8b5.jpg","text":"TemporaryFile(/tmp/multipartBody6109666268161398514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147273310,"filename":"image_21022025_15_13_15_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338842149","file1":"1338842147","file0":"1338842145"},"map_files_photo_id_array":[{"photo_id":"1338842149","filename":"file2"},{"photo_id":"1338842147","filename":"file1"},{"photo_id":"1338842145","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338842149":["hashtag1","hashtag2"]},{"1338842145":["hashtag1","hashtag2"]},{"1338842147":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338842149, 1338842145, 1338842147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 17.979145288467407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 15:13:52.833704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/18/image_20022025_17_18_56_10341.jpg', '/home/pi/Desktop/images/20022025/17/18/image_20022025_17_19_06_9436.jpg', '/home/pi/Desktop/images/20022025/17/19/image_20022025_17_19_16_10331.jpg', '/home/pi/Desktop/images/20022025/17/19/image_20022025_17_19_27_10540.jpg', '/home/pi/Desktop/images/20022025/17/19/image_20022025_17_19_36_9318.jpg', '/home/pi/Desktop/images/20022025/17/19/image_20022025_17_19_57_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/18/image_20022025_17_18_56_10341.jpg
/home/pi/Desktop/images/20022025/17/18/image_20022025_17_19_06_9436.jpg
/home/pi/Desktop/images/20022025/17/19/image_20022025_17_19_16_10331.jpg
/home/pi/Desktop/images/20022025/17/19/image_20022025_17_19_27_10540.jpg
/home/pi/Desktop/images/20022025/17/19/image_20022025_17_19_36_9318.jpg
/home/pi/Desktop/images/20022025/17/19/image_20022025_17_19_57_10344.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338842168","1338842153","1338842162","1338842156","1338842159","1338842170"],"photo_ids_order":["1338842153","1338842156","1338842159","1338842162","1338842168","1338842170"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b74c31ccd949756821ae5abf33f24547.jpg","text":"TemporaryFile(/tmp/multipartBody4591444987122404307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147294923,"filename":"image_20022025_17_19_36_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e44dbc759a1ed4268ce380d9b4136a0.jpg","text":"TemporaryFile(/tmp/multipartBody3920504154544306739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147294923,"filename":"image_20022025_17_18_56_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d7844677007079cd0e1bd37b378ed460.jpg","text":"TemporaryFile(/tmp/multipartBody5618047054998676356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147294923,"filename":"image_20022025_17_19_27_10540.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be2849b4c93dc369468a821aff9e9c17.jpg","text":"TemporaryFile(/tmp/multipartBody3402513267302285289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147294923,"filename":"image_20022025_17_19_06_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9364dcfabdc4639da9844187e4b2c482.jpg","text":"TemporaryFile(/tmp/multipartBody2594518801391269360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147294923,"filename":"image_20022025_17_19_16_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/780432db060754f6ff8adbaca6bc9ef7.jpg","text":"TemporaryFile(/tmp/multipartBody4375792916663429960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147294923,"filename":"image_20022025_17_19_57_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338842159","file1":"1338842156","file0":"1338842153","file4":"1338842168","file5":"1338842170","file3":"1338842162"},"map_files_photo_id_array":[{"photo_id":"1338842170","filename":"file5"},{"photo_id":"1338842159","filename":"file2"},{"photo_id":"1338842168","filename":"file4"},{"photo_id":"1338842156","filename":"file1"},{"photo_id":"1338842153","filename":"file0"},{"photo_id":"1338842162","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338842168":["hashtag1","hashtag2"]},{"1338842153":["hashtag1","hashtag2"]},{"1338842162":["hashtag1","hashtag2"]},{"1338842156":["hashtag1","hashtag2"]},{"1338842159":["hashtag1","hashtag2"]},{"1338842170":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338842168, 1338842153, 1338842162, 1338842156, 1338842159, 1338842170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.243610858917236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 15:14:33.058819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/13/image_21022025_15_13_56_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/13/image_21022025_15_13_56_10440.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338842180"],"photo_id":"1338842180","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/43c43a6bdb77e79fdffd6a3ff041c72a.jpg","text":"TemporaryFile(/tmp/multipartBody6395521561582278638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147333476,"filename":"image_21022025_15_13_56_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338842180"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338842180"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.493440628051758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 15:14:53.208403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/19/image_20022025_17_20_06_9422.jpg', '/home/pi/Desktop/images/20022025/17/20/image_20022025_17_20_16_10343.jpg', '/home/pi/Desktop/images/20022025/17/20/image_20022025_17_20_26_9432.jpg', '/home/pi/Desktop/images/20022025/17/20/image_20022025_17_20_36_10333.jpg', '/home/pi/Desktop/images/20022025/17/20/image_20022025_17_20_47_10383.jpg', '/home/pi/Desktop/images/20022025/17/20/image_20022025_17_20_56_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/19/image_20022025_17_20_06_9422.jpg
/home/pi/Desktop/images/20022025/17/20/image_20022025_17_20_16_10343.jpg
/home/pi/Desktop/images/20022025/17/20/image_20022025_17_20_26_9432.jpg
/home/pi/Desktop/images/20022025/17/20/image_20022025_17_20_36_10333.jpg
/home/pi/Desktop/images/20022025/17/20/image_20022025_17_20_47_10383.jpg
/home/pi/Desktop/images/20022025/17/20/image_20022025_17_20_56_9335.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338842198","1338842192","1338842186","1338842189","1338842201","1338842194"],"photo_ids_order":["1338842186","1338842189","1338842192","1338842194","1338842198","1338842201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f4d5a200b12b6bb207539359329f4d3.jpg","text":"TemporaryFile(/tmp/multipartBody8007598975234174123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147355340,"filename":"image_20022025_17_20_47_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cbefb3bc2d6bed5cae8f3e0e7c5bd640.jpg","text":"TemporaryFile(/tmp/multipartBody5244409678221804858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147355340,"filename":"image_20022025_17_20_26_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/233d59557aac3cda7bdb403c168d91df.jpg","text":"TemporaryFile(/tmp/multipartBody1885218307608209366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147355340,"filename":"image_20022025_17_20_06_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c2ba95014841553cd407f02c2eb942b.jpg","text":"TemporaryFile(/tmp/multipartBody198366525111424459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147355340,"filename":"image_20022025_17_20_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/220768ef88cff7a74813fcd5ca50ac8d.jpg","text":"TemporaryFile(/tmp/multipartBody4401519531315390931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147355340,"filename":"image_20022025_17_20_56_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/305821864f012e17cd081484c0659738.jpg","text":"TemporaryFile(/tmp/multipartBody3610829054995120117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147355340,"filename":"image_20022025_17_20_36_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338842192","file1":"1338842189","file0":"1338842186","file4":"1338842198","file5":"1338842201","file3":"1338842194"},"map_files_photo_id_array":[{"photo_id":"1338842201","filename":"file5"},{"photo_id":"1338842192","filename":"file2"},{"photo_id":"1338842198","filename":"file4"},{"photo_id":"1338842189","filename":"file1"},{"photo_id":"1338842186","filename":"file0"},{"photo_id":"1338842194","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338842198":["hashtag1","hashtag2"]},{"1338842192":["hashtag1","hashtag2"]},{"1338842186":["hashtag1","hashtag2"]},{"1338842189":["hashtag1","hashtag2"]},{"1338842201":["hashtag1","hashtag2"]},{"1338842194":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338842198, 1338842192, 1338842186, 1338842189, 1338842201, 1338842194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43954133987427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 15:15:32.429877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/13/image_21022025_15_14_05_9331.jpg', '/home/pi/Desktop/images/21022025/15/15/image_21022025_15_15_16_10440.jpg', '/home/pi/Desktop/images/21022025/15/15/image_21022025_15_15_25_9424.jpg', '/home/pi/Desktop/images/21022025/15/15/image_21022025_15_15_45_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/13/image_21022025_15_14_05_9331.jpg
/home/pi/Desktop/images/21022025/15/15/image_21022025_15_15_16_10440.jpg
/home/pi/Desktop/images/21022025/15/15/image_21022025_15_15_25_9424.jpg
/home/pi/Desktop/images/21022025/15/15/image_21022025_15_15_45_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338842209","1338842211","1338842205","1338842213"],"photo_ids_order":["1338842205","1338842209","1338842211","1338842213"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/24a7679b8ba5404d77c1a899a807ee29.jpg","text":"TemporaryFile(/tmp/multipartBody91755375605097242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147392873,"filename":"image_21022025_15_15_16_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75bcd9e75f6099353c3ca215894f0caa.jpg","text":"TemporaryFile(/tmp/multipartBody8859072952780232486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147392873,"filename":"image_21022025_15_15_25_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/73bdd70e8b8842611c53fbdc0596190e.jpg","text":"TemporaryFile(/tmp/multipartBody7120931858967004489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147392873,"filename":"image_21022025_15_14_05_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1a1b4e10d19a4783da03d1e0b82f7f6c.jpg","text":"TemporaryFile(/tmp/multipartBody5831650363058055800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147392873,"filename":"image_21022025_15_15_45_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338842211","file1":"1338842209","file0":"1338842205","file3":"1338842213"},"map_files_photo_id_array":[{"photo_id":"1338842211","filename":"file2"},{"photo_id":"1338842209","filename":"file1"},{"photo_id":"1338842205","filename":"file0"},{"photo_id":"1338842213","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338842209":["hashtag1","hashtag2"]},{"1338842211":["hashtag1","hashtag2"]},{"1338842205":["hashtag1","hashtag2"]},{"1338842213":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338842209, 1338842211, 1338842205, 1338842213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.21314573287964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 15:16:03.580666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/20/image_20022025_17_21_06_10342.jpg', '/home/pi/Desktop/images/20022025/17/21/image_20022025_17_21_26_9375.jpg', '/home/pi/Desktop/images/20022025/17/21/image_20022025_17_21_36_10498.jpg', '/home/pi/Desktop/images/20022025/17/21/image_20022025_17_21_46_9415.jpg', '/home/pi/Desktop/images/20022025/17/21/image_20022025_17_21_56_10352.jpg', '/home/pi/Desktop/images/20022025/17/21/image_20022025_17_22_07_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/20/image_20022025_17_21_06_10342.jpg
/home/pi/Desktop/images/20022025/17/21/image_20022025_17_21_26_9375.jpg
/home/pi/Desktop/images/20022025/17/21/image_20022025_17_21_36_10498.jpg
/home/pi/Desktop/images/20022025/17/21/image_20022025_17_21_46_9415.jpg
/home/pi/Desktop/images/20022025/17/21/image_20022025_17_21_56_10352.jpg
/home/pi/Desktop/images/20022025/17/21/image_20022025_17_22_07_10399.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338842245","1338842227","1338842221","1338842224","1338842218","1338842243"],"photo_ids_order":["1338842218","1338842221","1338842224","1338842227","1338842243","1338842245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/26847b6f332a3fb81ed6f1a348f43785.jpg","text":"TemporaryFile(/tmp/multipartBody8105219776133761127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147425048,"filename":"image_20022025_17_22_07_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/825c7f1fd385973bac9ee3034c17bc05.jpg","text":"TemporaryFile(/tmp/multipartBody8561239391671372569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147425048,"filename":"image_20022025_17_21_46_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9b16b1d6a2a8b2c6a1e9e8530978aba3.jpg","text":"TemporaryFile(/tmp/multipartBody8720465285612628110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147425048,"filename":"image_20022025_17_21_26_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a64ff82f0d2010380d75fb9d65f62789.jpg","text":"TemporaryFile(/tmp/multipartBody3970066492890961212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147425048,"filename":"image_20022025_17_21_36_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c773429ff04d8bf22f6d171854f5b6d7.jpg","text":"TemporaryFile(/tmp/multipartBody3533344505897158790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147425048,"filename":"image_20022025_17_21_06_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2edefe2923130a76ec161120f6ba34fa.jpg","text":"TemporaryFile(/tmp/multipartBody7116594982884411397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147425048,"filename":"image_20022025_17_21_56_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338842224","file1":"1338842221","file0":"1338842218","file4":"1338842243","file5":"1338842245","file3":"1338842227"},"map_files_photo_id_array":[{"photo_id":"1338842245","filename":"file5"},{"photo_id":"1338842224","filename":"file2"},{"photo_id":"1338842243","filename":"file4"},{"photo_id":"1338842221","filename":"file1"},{"photo_id":"1338842218","filename":"file0"},{"photo_id":"1338842227","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338842245":["hashtag1","hashtag2"]},{"1338842227":["hashtag1","hashtag2"]},{"1338842221":["hashtag1","hashtag2"]},{"1338842224":["hashtag1","hashtag2"]},{"1338842218":["hashtag1","hashtag2"]},{"1338842243":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338842245, 1338842227, 1338842221, 1338842224, 1338842218, 1338842243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.429025173187256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 15:16:42.726549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/15/image_21022025_15_15_55_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/15/image_21022025_15_15_55_10334.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338842277"],"photo_id":"1338842277","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c637b11e0be1ccebcd9bb205c1e63d2f.jpg","text":"TemporaryFile(/tmp/multipartBody6934054027138035293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147463144,"filename":"image_21022025_15_15_55_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338842277"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338842277"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.05522871017456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 15:17:04.768536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/22/image_20022025_17_22_16_9347.jpg', '/home/pi/Desktop/images/20022025/17/22/image_20022025_17_22_36_9433.jpg', '/home/pi/Desktop/images/20022025/17/22/image_20022025_17_22_46_10417.jpg', '/home/pi/Desktop/images/20022025/17/22/image_20022025_17_22_57_10385.jpg', '/home/pi/Desktop/images/20022025/17/22/image_20022025_17_23_06_9347.jpg', '/home/pi/Desktop/images/20022025/17/23/image_20022025_17_23_16_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/22/image_20022025_17_22_16_9347.jpg
/home/pi/Desktop/images/20022025/17/22/image_20022025_17_22_36_9433.jpg
/home/pi/Desktop/images/20022025/17/22/image_20022025_17_22_46_10417.jpg
/home/pi/Desktop/images/20022025/17/22/image_20022025_17_22_57_10385.jpg
/home/pi/Desktop/images/20022025/17/22/image_20022025_17_23_06_9347.jpg
/home/pi/Desktop/images/20022025/17/23/image_20022025_17_23_16_10330.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338842349","1338842358","1338842345","1338842360","1338842354","1338842336"],"photo_ids_order":["1338842336","1338842345","1338842349","1338842354","1338842358","1338842360"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d9d200fa61e56d57bab5aca01762ae8d.jpg","text":"TemporaryFile(/tmp/multipartBody878635419316642697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147486725,"filename":"image_20022025_17_22_46_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/34cb619ca50a3320f776dd0f9e982217.jpg","text":"TemporaryFile(/tmp/multipartBody2927146725578522717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147486725,"filename":"image_20022025_17_23_06_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a724441d2264e715247ff56ed48fdf57.jpg","text":"TemporaryFile(/tmp/multipartBody8115382818346379040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147486725,"filename":"image_20022025_17_22_36_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c041023ad78adb23940e0cc6c9e12b05.jpg","text":"TemporaryFile(/tmp/multipartBody7507707788640378672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147486725,"filename":"image_20022025_17_23_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a743a99fd84745dd3a047131f7d04821.jpg","text":"TemporaryFile(/tmp/multipartBody1996113751270191864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147486725,"filename":"image_20022025_17_22_57_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/44a41f6ab8e821a2de8e3a29e988b342.jpg","text":"TemporaryFile(/tmp/multipartBody3168262627578074578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147486725,"filename":"image_20022025_17_22_16_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338842349","file1":"1338842345","file0":"1338842336","file4":"1338842358","file5":"1338842360","file3":"1338842354"},"map_files_photo_id_array":[{"photo_id":"1338842360","filename":"file5"},{"photo_id":"1338842349","filename":"file2"},{"photo_id":"1338842358","filename":"file4"},{"photo_id":"1338842345","filename":"file1"},{"photo_id":"1338842336","filename":"file0"},{"photo_id":"1338842354","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338842349":["hashtag1","hashtag2"]},{"1338842358":["hashtag1","hashtag2"]},{"1338842345":["hashtag1","hashtag2"]},{"1338842360":["hashtag1","hashtag2"]},{"1338842354":["hashtag1","hashtag2"]},{"1338842336":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338842349, 1338842358, 1338842345, 1338842360, 1338842354, 1338842336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.994035720825195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 15:17:43.014729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/16/image_21022025_15_16_25_10341.jpg', '/home/pi/Desktop/images/21022025/15/16/image_21022025_15_17_05_9415.jpg', '/home/pi/Desktop/images/21022025/15/17/image_21022025_15_17_16_10355.jpg', '/home/pi/Desktop/images/21022025/15/17/image_21022025_15_17_26_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/16/image_21022025_15_16_25_10341.jpg
/home/pi/Desktop/images/21022025/15/16/image_21022025_15_17_05_9415.jpg
/home/pi/Desktop/images/21022025/15/17/image_21022025_15_17_16_10355.jpg
/home/pi/Desktop/images/21022025/15/17/image_21022025_15_17_26_10434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338842385","1338842378","1338842380","1338842383"],"photo_ids_order":["1338842378","1338842380","1338842383","1338842385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f39bf237bd62c923e4f58479ed9c70ff.jpg","text":"TemporaryFile(/tmp/multipartBody6447321973546905714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147523460,"filename":"image_21022025_15_17_26_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c82bb36f4222765ded583865e17aa580.jpg","text":"TemporaryFile(/tmp/multipartBody4571542295259912067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147523460,"filename":"image_21022025_15_16_25_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ca36a62e72d90c017c169508d8e152b6.jpg","text":"TemporaryFile(/tmp/multipartBody8666111104591297818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147523460,"filename":"image_21022025_15_17_05_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef37ca592567ff2247c291c4ae7875c9.jpg","text":"TemporaryFile(/tmp/multipartBody7488485644487966456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147523460,"filename":"image_21022025_15_17_16_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338842383","file1":"1338842380","file0":"1338842378","file3":"1338842385"},"map_files_photo_id_array":[{"photo_id":"1338842383","filename":"file2"},{"photo_id":"1338842380","filename":"file1"},{"photo_id":"1338842378","filename":"file0"},{"photo_id":"1338842385","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338842385":["hashtag1","hashtag2"]},{"1338842378":["hashtag1","hashtag2"]},{"1338842380":["hashtag1","hashtag2"]},{"1338842383":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338842385, 1338842378, 1338842380, 1338842383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.827309608459473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 15:18:32.250395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/17/image_21022025_15_17_55_9365.jpg', '/home/pi/Desktop/images/21022025/15/17/image_21022025_15_18_05_10340.jpg', '/home/pi/Desktop/images/21022025/15/18/image_21022025_15_18_25_9343.jpg', '/home/pi/Desktop/images/21022025/15/18/image_21022025_15_18_46_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/17/image_21022025_15_17_55_9365.jpg
/home/pi/Desktop/images/21022025/15/17/image_21022025_15_18_05_10340.jpg
/home/pi/Desktop/images/21022025/15/18/image_21022025_15_18_25_9343.jpg
/home/pi/Desktop/images/21022025/15/18/image_21022025_15_18_46_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338842464","1338842466","1338842460","1338842462"],"photo_ids_order":["1338842460","1338842462","1338842464","1338842466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/983ea8ab70f9e73457da71947ae8225d.jpg","text":"TemporaryFile(/tmp/multipartBody4100451261800101882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147572690,"filename":"image_21022025_15_18_25_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1a0f5556aebd83d13d6ed9bab770ea58.jpg","text":"TemporaryFile(/tmp/multipartBody503493313378571796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147572690,"filename":"image_21022025_15_18_46_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a4418400c5d3ca2d7df4b5196115196c.jpg","text":"TemporaryFile(/tmp/multipartBody7624370755716227584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147572690,"filename":"image_21022025_15_17_55_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c5b073a01e9a860a9430ab3d4909a5da.jpg","text":"TemporaryFile(/tmp/multipartBody8106133212820446535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147572690,"filename":"image_21022025_15_18_05_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338842464","file1":"1338842462","file0":"1338842460","file3":"1338842466"},"map_files_photo_id_array":[{"photo_id":"1338842464","filename":"file2"},{"photo_id":"1338842462","filename":"file1"},{"photo_id":"1338842460","filename":"file0"},{"photo_id":"1338842466","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338842464":["hashtag1","hashtag2"]},{"1338842466":["hashtag1","hashtag2"]},{"1338842460":["hashtag1","hashtag2"]},{"1338842462":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338842464, 1338842466, 1338842460, 1338842462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.503806591033936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 15:19:04.193696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/23/image_20022025_17_23_27_10365.jpg', '/home/pi/Desktop/images/20022025/17/23/image_20022025_17_23_36_9313.jpg', '/home/pi/Desktop/images/20022025/17/23/image_20022025_17_23_46_10319.jpg', '/home/pi/Desktop/images/20022025/17/23/image_20022025_17_23_56_9444.jpg', '/home/pi/Desktop/images/20022025/17/23/image_20022025_17_24_06_10400.jpg', '/home/pi/Desktop/images/20022025/17/24/image_20022025_17_24_17_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/23/image_20022025_17_23_27_10365.jpg
/home/pi/Desktop/images/20022025/17/23/image_20022025_17_23_36_9313.jpg
/home/pi/Desktop/images/20022025/17/23/image_20022025_17_23_46_10319.jpg
/home/pi/Desktop/images/20022025/17/23/image_20022025_17_23_56_9444.jpg
/home/pi/Desktop/images/20022025/17/23/image_20022025_17_24_06_10400.jpg
/home/pi/Desktop/images/20022025/17/24/image_20022025_17_24_17_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338842487","1338842472","1338842475","1338842480","1338842483","1338842485"],"photo_ids_order":["1338842472","1338842475","1338842480","1338842483","1338842485","1338842487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e2c88eb0388fbd07c9e6c6fc4454d25e.jpg","text":"TemporaryFile(/tmp/multipartBody5761912561380325144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147606131,"filename":"image_20022025_17_24_17_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/34ac20f1764a2f037b380484dcb606d0.jpg","text":"TemporaryFile(/tmp/multipartBody2831351628740133856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147606131,"filename":"image_20022025_17_23_27_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/13c91f73c095523cddccfbd84a2a0b96.jpg","text":"TemporaryFile(/tmp/multipartBody9100320914442434070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147606131,"filename":"image_20022025_17_23_36_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/38debfd3e3bef25632a2ac9fcd60cc34.jpg","text":"TemporaryFile(/tmp/multipartBody1074838902543649398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147606131,"filename":"image_20022025_17_23_46_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d2ba4d75c147b4899be28294ef62d14a.jpg","text":"TemporaryFile(/tmp/multipartBody8339511700726292430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147606131,"filename":"image_20022025_17_23_56_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4fe196df3c826cb20d46b9cb7fe7195e.jpg","text":"TemporaryFile(/tmp/multipartBody2952557237532337685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147606131,"filename":"image_20022025_17_24_06_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338842480","file1":"1338842475","file0":"1338842472","file4":"1338842485","file5":"1338842487","file3":"1338842483"},"map_files_photo_id_array":[{"photo_id":"1338842487","filename":"file5"},{"photo_id":"1338842480","filename":"file2"},{"photo_id":"1338842485","filename":"file4"},{"photo_id":"1338842475","filename":"file1"},{"photo_id":"1338842472","filename":"file0"},{"photo_id":"1338842483","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338842487":["hashtag1","hashtag2"]},{"1338842472":["hashtag1","hashtag2"]},{"1338842475":["hashtag1","hashtag2"]},{"1338842480":["hashtag1","hashtag2"]},{"1338842483":["hashtag1","hashtag2"]},{"1338842485":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338842487, 1338842472, 1338842475, 1338842480, 1338842483, 1338842485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.717010498046875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 15:19:52.423568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/18/image_21022025_15_18_55_9461.jpg', '/home/pi/Desktop/images/21022025/15/18/image_21022025_15_19_06_10449.jpg', '/home/pi/Desktop/images/21022025/15/19/image_21022025_15_19_15_9330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/18/image_21022025_15_18_55_9461.jpg
/home/pi/Desktop/images/21022025/15/18/image_21022025_15_19_06_10449.jpg
/home/pi/Desktop/images/21022025/15/19/image_21022025_15_19_15_9330.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338842793","1338842493","1338842964"],"photo_ids_order":["1338842493","1338842793","1338842964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a38d892e188496f3022c22f27171d4ab.jpg","text":"TemporaryFile(/tmp/multipartBody3628404933331066923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147652851,"filename":"image_21022025_15_19_06_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7efd6e7083de4eeed0ddafa0d990eccb.jpg","text":"TemporaryFile(/tmp/multipartBody5501684884893150636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147652851,"filename":"image_21022025_15_18_55_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5bd3e238514706426e92a99dd1d458f1.jpg","text":"TemporaryFile(/tmp/multipartBody7439273057457760093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740147652851,"filename":"image_21022025_15_19_15_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338842964","file1":"1338842793","file0":"1338842493"},"map_files_photo_id_array":[{"photo_id":"1338842964","filename":"file2"},{"photo_id":"1338842793","filename":"file1"},{"photo_id":"1338842493","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338842793":["hashtag1","hashtag2"]},{"1338842493":["hashtag1","hashtag2"]},{"1338842964":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338842793, 1338842493, 1338842964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.229811668395996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 15:20:32.694992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/19/image_21022025_15_19_36_10410.jpg', '/home/pi/Desktop/images/21022025/15/20/image_21022025_15_20_26_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/19/image_21022025_15_19_36_10410.jpg
/home/pi/Desktop/images/21022025/15/20/image_21022025_15_20_26_10430.jpg
                                                 Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-21 15:18:08.659308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/19/image_21022025_15_19_36_10410.jpg', '/home/pi/Desktop/images/21022025/15/20/image_21022025_15_20_26_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/19/image_21022025_15_19_36_10410.jpg
/home/pi/Desktop/images/21022025/15/20/image_21022025_15_20_26_10430.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos 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! 
 val : 1 : upload photos 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! 
 val : 1 : upload photos 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! 
 val : 1 : upload photos 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! 
 val : 1 : upload photos 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! 
 val : 1 : upload photos 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! 
 val : 1 : upload photos 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! 
 val : 1 : upload photos 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! 
 val : 1 : upload photos 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! 
 val : 1 : upload photos 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! 
 val : 1 : upload photos 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! 
 val : 1 : upload photos 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! 
 val : 1 : upload photos 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! 
 val : 1 : upload photos 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! 
 val : 1 : upload photos 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! 
 val : 1 : upload photos 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! 
 val : 1 : upload photos 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! 
 val : 1 : upload photos 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! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 15:59:04.472736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/19/image_21022025_15_19_36_10410.jpg', '/home/pi/Desktop/images/21022025/15/20/image_21022025_15_20_26_10430.jpg', '/home/pi/Desktop/images/21022025/15/20/image_21022025_15_20_46_10345.jpg', '/home/pi/Desktop/images/21022025/15/20/image_21022025_15_21_05_9321.jpg', '/home/pi/Desktop/images/21022025/15/21/image_21022025_15_21_16_10388.jpg', '/home/pi/Desktop/images/21022025/15/21/image_21022025_15_21_35_9312.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/19/image_21022025_15_19_36_10410.jpg
/home/pi/Desktop/images/21022025/15/20/image_21022025_15_20_26_10430.jpg
/home/pi/Desktop/images/21022025/15/20/image_21022025_15_20_46_10345.jpg
/home/pi/Desktop/images/21022025/15/20/image_21022025_15_21_05_9321.jpg
/home/pi/Desktop/images/21022025/15/21/image_21022025_15_21_16_10388.jpg
/home/pi/Desktop/images/21022025/15/21/image_21022025_15_21_35_9312.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338849033","1338849042","1338849056","1338849121","1338849058","1338849037"],"photo_ids_order":["1338849033","1338849037","1338849042","1338849056","1338849058","1338849121"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b3aaa4ff0fd7eac05a618d89599176d0.jpg","text":"TemporaryFile(/tmp/multipartBody5549739203338772351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150005017,"filename":"image_21022025_15_19_36_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1371393b0d4cd82410c90283d4bbae7.jpg","text":"TemporaryFile(/tmp/multipartBody1895891967506123437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150005017,"filename":"image_21022025_15_20_46_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e2677dd669d24eb9a52736209c0d48a6.jpg","text":"TemporaryFile(/tmp/multipartBody4534986697192641844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150005017,"filename":"image_21022025_15_21_05_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5107d08bbed39eab15c7844fc24aef99.jpg","text":"TemporaryFile(/tmp/multipartBody8931587565399634643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150005017,"filename":"image_21022025_15_21_35_9312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/15a8c16502a23832b5a5576fcd7c3505.jpg","text":"TemporaryFile(/tmp/multipartBody7872691568835808184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150005017,"filename":"image_21022025_15_21_16_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0734be32bcd30691935292a1c20f7328.jpg","text":"TemporaryFile(/tmp/multipartBody2281118586447066898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150005017,"filename":"image_21022025_15_20_26_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338849042","file1":"1338849037","file0":"1338849033","file4":"1338849058","file5":"1338849121","file3":"1338849056"},"map_files_photo_id_array":[{"photo_id":"1338849121","filename":"file5"},{"photo_id":"1338849042","filename":"file2"},{"photo_id":"1338849058","filename":"file4"},{"photo_id":"1338849037","filename":"file1"},{"photo_id":"1338849033","filename":"file0"},{"photo_id":"1338849056","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338849033":["hashtag1","hashtag2"]},{"1338849042":["hashtag1","hashtag2"]},{"1338849056":["hashtag1","hashtag2"]},{"1338849121":["hashtag1","hashtag2"]},{"1338849058":["hashtag1","hashtag2"]},{"1338849037":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338849033, 1338849042, 1338849056, 1338849121, 1338849058, 1338849037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3538453578949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 15:59:43.082067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/34/image_21022025_15_35_05_10088.jpg', '/home/pi/Desktop/images/21022025/15/36/image_21022025_15_36_16_10081.jpg', '/home/pi/Desktop/images/21022025/15/36/image_21022025_15_36_26_10346.jpg', '/home/pi/Desktop/images/21022025/15/36/image_21022025_15_36_36_10348.jpg', '/home/pi/Desktop/images/21022025/15/36/image_21022025_15_36_46_9432.jpg', '/home/pi/Desktop/images/21022025/15/36/image_21022025_15_36_56_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/34/image_21022025_15_35_05_10088.jpg
/home/pi/Desktop/images/21022025/15/36/image_21022025_15_36_16_10081.jpg
/home/pi/Desktop/images/21022025/15/36/image_21022025_15_36_26_10346.jpg
/home/pi/Desktop/images/21022025/15/36/image_21022025_15_36_36_10348.jpg
/home/pi/Desktop/images/21022025/15/36/image_21022025_15_36_46_9432.jpg
/home/pi/Desktop/images/21022025/15/36/image_21022025_15_36_56_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338849156","1338849141","1338849155","1338849158","1338849148","1338849151"],"photo_ids_order":["1338849141","1338849148","1338849151","1338849155","1338849156","1338849158"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c5ed81ac07b3a38df2e31efe4f12d0b3.jpg","text":"TemporaryFile(/tmp/multipartBody7268413312562625110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150043586,"filename":"image_21022025_15_36_46_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d2c1a51a806d7c5fa0b67c429c9d8938.jpg","text":"TemporaryFile(/tmp/multipartBody2451378236215883858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150043586,"filename":"image_21022025_15_35_05_10088.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/051e7f4f72340f6c2a80debd37b38070.jpg","text":"TemporaryFile(/tmp/multipartBody7013291350755588790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150043586,"filename":"image_21022025_15_36_36_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/630066a95208cd6876ee3e38a0599b3a.jpg","text":"TemporaryFile(/tmp/multipartBody7687658515568877625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150043586,"filename":"image_21022025_15_36_56_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6dd84721ccc3f8d4ba953bfc206ba931.jpg","text":"TemporaryFile(/tmp/multipartBody3275567083768836101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150043586,"filename":"image_21022025_15_36_16_10081.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ae7564a7bab12bc9c91332a5e57ae3e.jpg","text":"TemporaryFile(/tmp/multipartBody8048389292190829563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150043586,"filename":"image_21022025_15_36_26_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338849151","file1":"1338849148","file0":"1338849141","file4":"1338849156","file5":"1338849158","file3":"1338849155"},"map_files_photo_id_array":[{"photo_id":"1338849158","filename":"file5"},{"photo_id":"1338849151","filename":"file2"},{"photo_id":"1338849156","filename":"file4"},{"photo_id":"1338849148","filename":"file1"},{"photo_id":"1338849141","filename":"file0"},{"photo_id":"1338849155","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338849156":["hashtag1","hashtag2"]},{"1338849141":["hashtag1","hashtag2"]},{"1338849155":["hashtag1","hashtag2"]},{"1338849158":["hashtag1","hashtag2"]},{"1338849148":["hashtag1","hashtag2"]},{"1338849151":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338849156, 1338849141, 1338849155, 1338849158, 1338849148, 1338849151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.426204919815063 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:00:32.295410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/36/image_21022025_15_37_07_10416.jpg', '/home/pi/Desktop/images/21022025/15/37/image_21022025_15_37_26_10355.jpg', '/home/pi/Desktop/images/21022025/15/37/image_21022025_15_37_46_10364.jpg', '/home/pi/Desktop/images/21022025/15/37/image_21022025_15_38_06_9425.jpg', '/home/pi/Desktop/images/21022025/15/38/image_21022025_15_38_16_10332.jpg', '/home/pi/Desktop/images/21022025/15/38/image_21022025_15_38_27_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/36/image_21022025_15_37_07_10416.jpg
/home/pi/Desktop/images/21022025/15/37/image_21022025_15_37_26_10355.jpg
/home/pi/Desktop/images/21022025/15/37/image_21022025_15_37_46_10364.jpg
/home/pi/Desktop/images/21022025/15/37/image_21022025_15_38_06_9425.jpg
/home/pi/Desktop/images/21022025/15/38/image_21022025_15_38_16_10332.jpg
/home/pi/Desktop/images/21022025/15/38/image_21022025_15_38_27_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338849192","1338849186","1338849201","1338849210","1338849209","1338849190"],"photo_ids_order":["1338849186","1338849190","1338849192","1338849201","1338849209","1338849210"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8444b7e62006bac37fbac772ca4cf438.jpg","text":"TemporaryFile(/tmp/multipartBody1003416589348258976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150092763,"filename":"image_21022025_15_37_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c99d81bcbc27e08b04606cd1ac20fe5c.jpg","text":"TemporaryFile(/tmp/multipartBody8307879653944242024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150092763,"filename":"image_21022025_15_37_07_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/656b6205394c7a1cca4ba492508d27e6.jpg","text":"TemporaryFile(/tmp/multipartBody3159254373248023441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150092763,"filename":"image_21022025_15_38_06_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7b870486adbd0046ba89b55c30b61505.jpg","text":"TemporaryFile(/tmp/multipartBody6657297309425296308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150092763,"filename":"image_21022025_15_38_27_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/658fb5010e8a96e106d12d9516e1ea91.jpg","text":"TemporaryFile(/tmp/multipartBody8109877716439034831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150092763,"filename":"image_21022025_15_38_16_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cfb5b33fd55dc8eb9eac3ac806f45ea0.jpg","text":"TemporaryFile(/tmp/multipartBody4152897445003938852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150092763,"filename":"image_21022025_15_37_26_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338849192","file1":"1338849190","file0":"1338849186","file4":"1338849209","file5":"1338849210","file3":"1338849201"},"map_files_photo_id_array":[{"photo_id":"1338849210","filename":"file5"},{"photo_id":"1338849192","filename":"file2"},{"photo_id":"1338849209","filename":"file4"},{"photo_id":"1338849190","filename":"file1"},{"photo_id":"1338849186","filename":"file0"},{"photo_id":"1338849201","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338849192":["hashtag1","hashtag2"]},{"1338849186":["hashtag1","hashtag2"]},{"1338849201":["hashtag1","hashtag2"]},{"1338849210":["hashtag1","hashtag2"]},{"1338849209":["hashtag1","hashtag2"]},{"1338849190":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338849192, 1338849186, 1338849201, 1338849210, 1338849209, 1338849190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38882350921631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:01:32.541676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/38/image_21022025_15_38_36_9396.jpg', '/home/pi/Desktop/images/21022025/15/38/image_21022025_15_38_46_10364.jpg', '/home/pi/Desktop/images/21022025/15/38/image_21022025_15_38_56_9402.jpg', '/home/pi/Desktop/images/21022025/15/38/image_21022025_15_39_06_10355.jpg', '/home/pi/Desktop/images/21022025/15/39/image_21022025_15_39_16_10338.jpg', '/home/pi/Desktop/images/21022025/15/39/image_21022025_15_39_26_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/38/image_21022025_15_38_36_9396.jpg
/home/pi/Desktop/images/21022025/15/38/image_21022025_15_38_46_10364.jpg
/home/pi/Desktop/images/21022025/15/38/image_21022025_15_38_56_9402.jpg
/home/pi/Desktop/images/21022025/15/38/image_21022025_15_39_06_10355.jpg
/home/pi/Desktop/images/21022025/15/39/image_21022025_15_39_16_10338.jpg
/home/pi/Desktop/images/21022025/15/39/image_21022025_15_39_26_9436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338849231","1338849228","1338849236","1338849233","1338849229","1338849226"],"photo_ids_order":["1338849226","1338849228","1338849229","1338849231","1338849233","1338849236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dd58b4869a05bf8ebd217d0d44ddaa9d.jpg","text":"TemporaryFile(/tmp/multipartBody7546244874215261661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150153015,"filename":"image_21022025_15_39_06_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4120919ef1ea28c2ce34ac9c1a11217f.jpg","text":"TemporaryFile(/tmp/multipartBody7294657516292797585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150153015,"filename":"image_21022025_15_38_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/37d09c8c523711e2f18d5e9728a4e79d.jpg","text":"TemporaryFile(/tmp/multipartBody6801229721040164197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150153015,"filename":"image_21022025_15_39_26_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/22a041fb88452c3639dfebffa89e6404.jpg","text":"TemporaryFile(/tmp/multipartBody5294795651634932060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150153015,"filename":"image_21022025_15_39_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b42ab7b9f87e5684c619809246710d1.jpg","text":"TemporaryFile(/tmp/multipartBody611978975018830536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150153015,"filename":"image_21022025_15_38_56_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/33d7b9b67c0bbc582a90a9640f1f763c.jpg","text":"TemporaryFile(/tmp/multipartBody6561242285547400471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150153015,"filename":"image_21022025_15_38_36_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338849229","file1":"1338849228","file0":"1338849226","file4":"1338849233","file5":"1338849236","file3":"1338849231"},"map_files_photo_id_array":[{"photo_id":"1338849236","filename":"file5"},{"photo_id":"1338849229","filename":"file2"},{"photo_id":"1338849233","filename":"file4"},{"photo_id":"1338849228","filename":"file1"},{"photo_id":"1338849226","filename":"file0"},{"photo_id":"1338849231","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338849231":["hashtag1","hashtag2"]},{"1338849228":["hashtag1","hashtag2"]},{"1338849236":["hashtag1","hashtag2"]},{"1338849233":["hashtag1","hashtag2"]},{"1338849229":["hashtag1","hashtag2"]},{"1338849226":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338849231, 1338849228, 1338849236, 1338849233, 1338849229, 1338849226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.713348865509033 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:02:32.714911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/39/image_21022025_15_39_47_10354.jpg', '/home/pi/Desktop/images/21022025/15/39/image_21022025_15_40_06_10350.jpg', '/home/pi/Desktop/images/21022025/15/40/image_21022025_15_40_26_10361.jpg', '/home/pi/Desktop/images/21022025/15/40/image_21022025_15_40_36_10348.jpg', '/home/pi/Desktop/images/21022025/15/40/image_21022025_15_40_46_9342.jpg', '/home/pi/Desktop/images/21022025/15/40/image_21022025_15_40_56_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/39/image_21022025_15_39_47_10354.jpg
/home/pi/Desktop/images/21022025/15/39/image_21022025_15_40_06_10350.jpg
/home/pi/Desktop/images/21022025/15/40/image_21022025_15_40_26_10361.jpg
/home/pi/Desktop/images/21022025/15/40/image_21022025_15_40_36_10348.jpg
/home/pi/Desktop/images/21022025/15/40/image_21022025_15_40_46_9342.jpg
/home/pi/Desktop/images/21022025/15/40/image_21022025_15_40_56_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338849270","1338849295","1338849314","1338849271","1338849265","1338849268"],"photo_ids_order":["1338849265","1338849268","1338849270","1338849271","1338849295","1338849314"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/31ae8c511eaa01216b8fe08069e4d367.jpg","text":"TemporaryFile(/tmp/multipartBody3880611472939578075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150213176,"filename":"image_21022025_15_40_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4fe538feff97f89aca04d123b4705658.jpg","text":"TemporaryFile(/tmp/multipartBody3614819601457804372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150213176,"filename":"image_21022025_15_40_46_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/995200ee2f3b5fc1ed42d7c79d90538f.jpg","text":"TemporaryFile(/tmp/multipartBody5935366985966945087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150213176,"filename":"image_21022025_15_40_56_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0507deec06dedc48f99c0d002ed1496a.jpg","text":"TemporaryFile(/tmp/multipartBody1194349543872677095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150213176,"filename":"image_21022025_15_40_36_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/921639112b837a78d59a8f950f53e8d0.jpg","text":"TemporaryFile(/tmp/multipartBody1127319013752145404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150213176,"filename":"image_21022025_15_39_47_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74efea6d56870fb436dac736be06a2c5.jpg","text":"TemporaryFile(/tmp/multipartBody5366123189600626375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150213176,"filename":"image_21022025_15_40_06_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338849270","file1":"1338849268","file0":"1338849265","file4":"1338849295","file5":"1338849314","file3":"1338849271"},"map_files_photo_id_array":[{"photo_id":"1338849314","filename":"file5"},{"photo_id":"1338849270","filename":"file2"},{"photo_id":"1338849295","filename":"file4"},{"photo_id":"1338849268","filename":"file1"},{"photo_id":"1338849265","filename":"file0"},{"photo_id":"1338849271","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338849270":["hashtag1","hashtag2"]},{"1338849295":["hashtag1","hashtag2"]},{"1338849314":["hashtag1","hashtag2"]},{"1338849271":["hashtag1","hashtag2"]},{"1338849265":["hashtag1","hashtag2"]},{"1338849268":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338849270, 1338849295, 1338849314, 1338849271, 1338849265, 1338849268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.225284576416016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:03:32.909374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/40/image_21022025_15_41_07_10330.jpg', '/home/pi/Desktop/images/21022025/15/41/image_21022025_15_41_16_9355.jpg', '/home/pi/Desktop/images/21022025/15/41/image_21022025_15_41_26_10359.jpg', '/home/pi/Desktop/images/21022025/15/41/image_21022025_15_41_37_10404.jpg', '/home/pi/Desktop/images/21022025/15/41/image_21022025_15_41_46_9348.jpg', '/home/pi/Desktop/images/21022025/15/41/image_21022025_15_41_56_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/40/image_21022025_15_41_07_10330.jpg
/home/pi/Desktop/images/21022025/15/41/image_21022025_15_41_16_9355.jpg
/home/pi/Desktop/images/21022025/15/41/image_21022025_15_41_26_10359.jpg
/home/pi/Desktop/images/21022025/15/41/image_21022025_15_41_37_10404.jpg
/home/pi/Desktop/images/21022025/15/41/image_21022025_15_41_46_9348.jpg
/home/pi/Desktop/images/21022025/15/41/image_21022025_15_41_56_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338849339","1338849330","1338849336","1338849332","1338849334","1338849331"],"photo_ids_order":["1338849330","1338849331","1338849332","1338849334","1338849336","1338849339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c5cbe2877f83298bac2dba8731f965c6.jpg","text":"TemporaryFile(/tmp/multipartBody7968707701673730826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150273373,"filename":"image_21022025_15_41_56_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/780de555bbea676c38d8996da721a130.jpg","text":"TemporaryFile(/tmp/multipartBody8371285456951400207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150273373,"filename":"image_21022025_15_41_07_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6509336c9e7ad7ce97ab06ce3f4dda94.jpg","text":"TemporaryFile(/tmp/multipartBody4617009225622040767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150273373,"filename":"image_21022025_15_41_46_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/981afdd746aa95a67e44540d2c2c5bd5.jpg","text":"TemporaryFile(/tmp/multipartBody2575251273950749718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150273373,"filename":"image_21022025_15_41_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e51ec30be1e87b211259e2e6ab4d7c5e.jpg","text":"TemporaryFile(/tmp/multipartBody136432039983187409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150273373,"filename":"image_21022025_15_41_37_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/82c2d17581457e4686f8a1a16d60cff8.jpg","text":"TemporaryFile(/tmp/multipartBody7116162142857611745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150273373,"filename":"image_21022025_15_41_16_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338849332","file1":"1338849331","file0":"1338849330","file4":"1338849336","file5":"1338849339","file3":"1338849334"},"map_files_photo_id_array":[{"photo_id":"1338849339","filename":"file5"},{"photo_id":"1338849332","filename":"file2"},{"photo_id":"1338849336","filename":"file4"},{"photo_id":"1338849331","filename":"file1"},{"photo_id":"1338849330","filename":"file0"},{"photo_id":"1338849334","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338849339":["hashtag1","hashtag2"]},{"1338849330":["hashtag1","hashtag2"]},{"1338849336":["hashtag1","hashtag2"]},{"1338849332":["hashtag1","hashtag2"]},{"1338849334":["hashtag1","hashtag2"]},{"1338849331":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338849339, 1338849330, 1338849336, 1338849332, 1338849334, 1338849331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.40265703201294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:04:32.209281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/41/image_21022025_15_42_06_9362.jpg', '/home/pi/Desktop/images/21022025/15/42/image_21022025_15_42_16_10360.jpg', '/home/pi/Desktop/images/21022025/15/42/image_21022025_15_42_26_10336.jpg', '/home/pi/Desktop/images/21022025/15/42/image_21022025_15_42_36_9345.jpg', '/home/pi/Desktop/images/21022025/15/42/image_21022025_15_42_46_10334.jpg', '/home/pi/Desktop/images/21022025/15/42/image_21022025_15_42_56_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/41/image_21022025_15_42_06_9362.jpg
/home/pi/Desktop/images/21022025/15/42/image_21022025_15_42_16_10360.jpg
/home/pi/Desktop/images/21022025/15/42/image_21022025_15_42_26_10336.jpg
/home/pi/Desktop/images/21022025/15/42/image_21022025_15_42_36_9345.jpg
/home/pi/Desktop/images/21022025/15/42/image_21022025_15_42_46_10334.jpg
/home/pi/Desktop/images/21022025/15/42/image_21022025_15_42_56_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338849369","1338849639","1338849371","1338849383","1338849464","1338849365"],"photo_ids_order":["1338849365","1338849369","1338849371","1338849383","1338849464","1338849639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/89a995e34766f6892ac4a69601f9d40d.jpg","text":"TemporaryFile(/tmp/multipartBody765705879881364882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150332682,"filename":"image_21022025_15_42_16_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/070f0e2982c8ea6bdeba8dbca2fe80e9.jpg","text":"TemporaryFile(/tmp/multipartBody287691065907677385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150332682,"filename":"image_21022025_15_42_56_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7e9538b8763bc07c3ec4b56311f77871.jpg","text":"TemporaryFile(/tmp/multipartBody1215956544411812684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150332682,"filename":"image_21022025_15_42_26_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/abaa92eb2247445310fbf8dd04e51b59.jpg","text":"TemporaryFile(/tmp/multipartBody8204237358142500145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150332682,"filename":"image_21022025_15_42_36_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/519297dfd4ddd7992083088c529386ae.jpg","text":"TemporaryFile(/tmp/multipartBody3849478547958237402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150332682,"filename":"image_21022025_15_42_46_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c93713d6561f9c489b2d1f045b052ba.jpg","text":"TemporaryFile(/tmp/multipartBody7083685021476264355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150332682,"filename":"image_21022025_15_42_06_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338849371","file1":"1338849369","file0":"1338849365","file4":"1338849464","file5":"1338849639","file3":"1338849383"},"map_files_photo_id_array":[{"photo_id":"1338849639","filename":"file5"},{"photo_id":"1338849371","filename":"file2"},{"photo_id":"1338849464","filename":"file4"},{"photo_id":"1338849369","filename":"file1"},{"photo_id":"1338849365","filename":"file0"},{"photo_id":"1338849383","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338849369":["hashtag1","hashtag2"]},{"1338849639":["hashtag1","hashtag2"]},{"1338849371":["hashtag1","hashtag2"]},{"1338849383":["hashtag1","hashtag2"]},{"1338849464":["hashtag1","hashtag2"]},{"1338849365":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338849369, 1338849639, 1338849371, 1338849383, 1338849464, 1338849365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.75891709327698 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:05:32.361739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/42/image_21022025_15_43_06_9431.jpg', '/home/pi/Desktop/images/21022025/15/43/image_21022025_15_43_16_10330.jpg', '/home/pi/Desktop/images/21022025/15/43/image_21022025_15_43_27_10354.jpg', '/home/pi/Desktop/images/21022025/15/43/image_21022025_15_43_46_10362.jpg', '/home/pi/Desktop/images/21022025/15/43/image_21022025_15_44_06_10324.jpg', '/home/pi/Desktop/images/21022025/15/44/image_21022025_15_44_16_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/42/image_21022025_15_43_06_9431.jpg
/home/pi/Desktop/images/21022025/15/43/image_21022025_15_43_16_10330.jpg
/home/pi/Desktop/images/21022025/15/43/image_21022025_15_43_27_10354.jpg
/home/pi/Desktop/images/21022025/15/43/image_21022025_15_43_46_10362.jpg
/home/pi/Desktop/images/21022025/15/43/image_21022025_15_44_06_10324.jpg
/home/pi/Desktop/images/21022025/15/44/image_21022025_15_44_16_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338850222","1338850216","1338850218","1338850211","1338850220","1338850214"],"photo_ids_order":["1338850211","1338850214","1338850216","1338850218","1338850220","1338850222"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e012ec8c0a3e127ed85144267f430d4b.jpg","text":"TemporaryFile(/tmp/multipartBody2283451525299676622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150392815,"filename":"image_21022025_15_44_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0133f0156213949b15d5bfecd862a03a.jpg","text":"TemporaryFile(/tmp/multipartBody7510780180210854129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150392815,"filename":"image_21022025_15_43_27_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3dcb56cd44201da45f0a6dd8c96325e1.jpg","text":"TemporaryFile(/tmp/multipartBody2668859900535974726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150392815,"filename":"image_21022025_15_43_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b37d3b3fc78d992af6709e0cd0634b58.jpg","text":"TemporaryFile(/tmp/multipartBody3510543728635369566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150392815,"filename":"image_21022025_15_43_06_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c5533b59eecd692522b4a5e0c019325.jpg","text":"TemporaryFile(/tmp/multipartBody5520776006772291705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150392815,"filename":"image_21022025_15_44_06_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1c310902e526bf1b37313afdddef7782.jpg","text":"TemporaryFile(/tmp/multipartBody5462347170222846527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150392815,"filename":"image_21022025_15_43_16_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338850216","file1":"1338850214","file0":"1338850211","file4":"1338850220","file5":"1338850222","file3":"1338850218"},"map_files_photo_id_array":[{"photo_id":"1338850222","filename":"file5"},{"photo_id":"1338850216","filename":"file2"},{"photo_id":"1338850220","filename":"file4"},{"photo_id":"1338850214","filename":"file1"},{"photo_id":"1338850211","filename":"file0"},{"photo_id":"1338850218","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338850222":["hashtag1","hashtag2"]},{"1338850216":["hashtag1","hashtag2"]},{"1338850218":["hashtag1","hashtag2"]},{"1338850211":["hashtag1","hashtag2"]},{"1338850220":["hashtag1","hashtag2"]},{"1338850214":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338850222, 1338850216, 1338850218, 1338850211, 1338850220, 1338850214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.609976768493652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:06:32.708881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/44/image_21022025_15_44_26_9396.jpg', '/home/pi/Desktop/images/21022025/15/44/image_21022025_15_44_36_10355.jpg', '/home/pi/Desktop/images/21022025/15/44/image_21022025_15_44_47_10422.jpg', '/home/pi/Desktop/images/21022025/15/44/image_21022025_15_44_56_9357.jpg', '/home/pi/Desktop/images/21022025/15/44/image_21022025_15_45_06_10437.jpg', '/home/pi/Desktop/images/21022025/15/45/image_21022025_15_45_16_9471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/44/image_21022025_15_44_26_9396.jpg
/home/pi/Desktop/images/21022025/15/44/image_21022025_15_44_36_10355.jpg
/home/pi/Desktop/images/21022025/15/44/image_21022025_15_44_47_10422.jpg
/home/pi/Desktop/images/21022025/15/44/image_21022025_15_44_56_9357.jpg
/home/pi/Desktop/images/21022025/15/44/image_21022025_15_45_06_10437.jpg
/home/pi/Desktop/images/21022025/15/45/image_21022025_15_45_16_9471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338850650","1338850563","1338850559","1338850648","1338850561","1338850555"],"photo_ids_order":["1338850555","1338850559","1338850561","1338850563","1338850648","1338850650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9d997bed5386d22dea243b102a0cb974.jpg","text":"TemporaryFile(/tmp/multipartBody1665868222426144697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150453173,"filename":"image_21022025_15_45_16_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/631ee5248262b0aee78bf324442e9973.jpg","text":"TemporaryFile(/tmp/multipartBody1954541006574757508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150453173,"filename":"image_21022025_15_44_56_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/25d79ced0f64269351c7584bb293b8b9.jpg","text":"TemporaryFile(/tmp/multipartBody3882190115106150980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150453173,"filename":"image_21022025_15_44_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9233f21cfcf867e0416becd2fca0cd3a.jpg","text":"TemporaryFile(/tmp/multipartBody3601365116168215925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150453173,"filename":"image_21022025_15_45_06_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a94d6d691ec781fd3aad5b4abbf38359.jpg","text":"TemporaryFile(/tmp/multipartBody5722547885717402962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150453173,"filename":"image_21022025_15_44_47_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83a0e7ef3beae5df420e8e598a2320f0.jpg","text":"TemporaryFile(/tmp/multipartBody4138870433400084526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150453173,"filename":"image_21022025_15_44_26_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338850561","file1":"1338850559","file0":"1338850555","file4":"1338850648","file5":"1338850650","file3":"1338850563"},"map_files_photo_id_array":[{"photo_id":"1338850650","filename":"file5"},{"photo_id":"1338850561","filename":"file2"},{"photo_id":"1338850648","filename":"file4"},{"photo_id":"1338850559","filename":"file1"},{"photo_id":"1338850555","filename":"file0"},{"photo_id":"1338850563","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338850650":["hashtag1","hashtag2"]},{"1338850563":["hashtag1","hashtag2"]},{"1338850559":["hashtag1","hashtag2"]},{"1338850648":["hashtag1","hashtag2"]},{"1338850561":["hashtag1","hashtag2"]},{"1338850555":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338850650, 1338850563, 1338850559, 1338850648, 1338850561, 1338850555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.484174251556396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:07:32.854032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/45/image_21022025_15_45_26_10366.jpg', '/home/pi/Desktop/images/21022025/15/45/image_21022025_15_45_36_9414.jpg', '/home/pi/Desktop/images/21022025/15/45/image_21022025_15_45_46_10375.jpg', '/home/pi/Desktop/images/21022025/15/45/image_21022025_15_45_56_10340.jpg', '/home/pi/Desktop/images/21022025/15/45/image_21022025_15_46_06_9424.jpg', '/home/pi/Desktop/images/21022025/15/46/image_21022025_15_46_16_10323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/45/image_21022025_15_45_26_10366.jpg
/home/pi/Desktop/images/21022025/15/45/image_21022025_15_45_36_9414.jpg
/home/pi/Desktop/images/21022025/15/45/image_21022025_15_45_46_10375.jpg
/home/pi/Desktop/images/21022025/15/45/image_21022025_15_45_56_10340.jpg
/home/pi/Desktop/images/21022025/15/45/image_21022025_15_46_06_9424.jpg
/home/pi/Desktop/images/21022025/15/46/image_21022025_15_46_16_10323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338851082","1338851124","1338851010","1338851105","1338851083","1338851122"],"photo_ids_order":["1338851010","1338851082","1338851083","1338851105","1338851122","1338851124"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/27ecc792183ce69dc342c0522b624653.jpg","text":"TemporaryFile(/tmp/multipartBody1414349486824430054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150513316,"filename":"image_21022025_15_45_36_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/51857582a046e3d691cf71d27acc7377.jpg","text":"TemporaryFile(/tmp/multipartBody8874873647743507576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150513316,"filename":"image_21022025_15_46_16_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74479f076b1d16edccf0a8a98c209469.jpg","text":"TemporaryFile(/tmp/multipartBody4905626860818994498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150513316,"filename":"image_21022025_15_45_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3bc9da620e9f9e0f52eb8da5f86ebb6c.jpg","text":"TemporaryFile(/tmp/multipartBody6245921881187943646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150513316,"filename":"image_21022025_15_45_56_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/da9c050aa29fdc3d5b4551b26cb75ea6.jpg","text":"TemporaryFile(/tmp/multipartBody7887800077165822430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150513316,"filename":"image_21022025_15_45_46_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf9d08dd58193e05f0f61ddf9c81bed2.jpg","text":"TemporaryFile(/tmp/multipartBody8752534060971879163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150513316,"filename":"image_21022025_15_46_06_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338851083","file1":"1338851082","file0":"1338851010","file4":"1338851122","file5":"1338851124","file3":"1338851105"},"map_files_photo_id_array":[{"photo_id":"1338851124","filename":"file5"},{"photo_id":"1338851083","filename":"file2"},{"photo_id":"1338851122","filename":"file4"},{"photo_id":"1338851082","filename":"file1"},{"photo_id":"1338851010","filename":"file0"},{"photo_id":"1338851105","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338851082":["hashtag1","hashtag2"]},{"1338851124":["hashtag1","hashtag2"]},{"1338851010":["hashtag1","hashtag2"]},{"1338851105":["hashtag1","hashtag2"]},{"1338851083":["hashtag1","hashtag2"]},{"1338851122":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338851082, 1338851124, 1338851010, 1338851105, 1338851083, 1338851122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.7069616317749 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:08:33.037641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/46/image_21022025_15_46_26_10355.jpg', '/home/pi/Desktop/images/21022025/15/46/image_21022025_15_46_36_9432.jpg', '/home/pi/Desktop/images/21022025/15/46/image_21022025_15_46_46_10446.jpg', '/home/pi/Desktop/images/21022025/15/46/image_21022025_15_47_06_10327.jpg', '/home/pi/Desktop/images/21022025/15/47/image_21022025_15_47_16_10402.jpg', '/home/pi/Desktop/images/21022025/15/47/image_21022025_15_47_26_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/46/image_21022025_15_46_26_10355.jpg
/home/pi/Desktop/images/21022025/15/46/image_21022025_15_46_36_9432.jpg
/home/pi/Desktop/images/21022025/15/46/image_21022025_15_46_46_10446.jpg
/home/pi/Desktop/images/21022025/15/46/image_21022025_15_47_06_10327.jpg
/home/pi/Desktop/images/21022025/15/47/image_21022025_15_47_16_10402.jpg
/home/pi/Desktop/images/21022025/15/47/image_21022025_15_47_26_9336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338851187","1338851186","1338851189","1338851180","1338851182","1338851184"],"photo_ids_order":["1338851180","1338851182","1338851184","1338851186","1338851187","1338851189"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b9357d4593e502f2d482bbc0eac74c4.jpg","text":"TemporaryFile(/tmp/multipartBody2806086625782931026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150573497,"filename":"image_21022025_15_47_16_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23d11e9f5a1a84b006e428f23b513a0e.jpg","text":"TemporaryFile(/tmp/multipartBody5665296173935078994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150573497,"filename":"image_21022025_15_47_06_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9499459a2082d36039925372a155a963.jpg","text":"TemporaryFile(/tmp/multipartBody3860925067926606848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150573497,"filename":"image_21022025_15_47_26_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a25619dd11903da8dcbbce66f77451fb.jpg","text":"TemporaryFile(/tmp/multipartBody815039849474515607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150573497,"filename":"image_21022025_15_46_26_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1a2ffdf83a15488d2d4d2201f2809ad.jpg","text":"TemporaryFile(/tmp/multipartBody6187560420217344796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150573497,"filename":"image_21022025_15_46_36_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f2af0628c790c3e8cd045ca00571c889.jpg","text":"TemporaryFile(/tmp/multipartBody4905559420110139467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150573497,"filename":"image_21022025_15_46_46_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338851184","file1":"1338851182","file0":"1338851180","file4":"1338851187","file5":"1338851189","file3":"1338851186"},"map_files_photo_id_array":[{"photo_id":"1338851189","filename":"file5"},{"photo_id":"1338851184","filename":"file2"},{"photo_id":"1338851187","filename":"file4"},{"photo_id":"1338851182","filename":"file1"},{"photo_id":"1338851180","filename":"file0"},{"photo_id":"1338851186","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338851187":["hashtag1","hashtag2"]},{"1338851186":["hashtag1","hashtag2"]},{"1338851189":["hashtag1","hashtag2"]},{"1338851180":["hashtag1","hashtag2"]},{"1338851182":["hashtag1","hashtag2"]},{"1338851184":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338851187, 1338851186, 1338851189, 1338851180, 1338851182, 1338851184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.095985889434814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:09:32.472815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/47/image_21022025_15_47_36_10347.jpg', '/home/pi/Desktop/images/21022025/15/47/image_21022025_15_47_47_10393.jpg', '/home/pi/Desktop/images/21022025/15/47/image_21022025_15_47_56_9415.jpg', '/home/pi/Desktop/images/21022025/15/48/image_21022025_15_48_16_9393.jpg', '/home/pi/Desktop/images/21022025/15/48/image_21022025_15_48_36_10365.jpg', '/home/pi/Desktop/images/21022025/15/48/image_21022025_15_48_56_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/47/image_21022025_15_47_36_10347.jpg
/home/pi/Desktop/images/21022025/15/47/image_21022025_15_47_47_10393.jpg
/home/pi/Desktop/images/21022025/15/47/image_21022025_15_47_56_9415.jpg
/home/pi/Desktop/images/21022025/15/48/image_21022025_15_48_16_9393.jpg
/home/pi/Desktop/images/21022025/15/48/image_21022025_15_48_36_10365.jpg
/home/pi/Desktop/images/21022025/15/48/image_21022025_15_48_56_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338851379","1338851409","1338851381","1338851411","1338851414","1338851417"],"photo_ids_order":["1338851379","1338851381","1338851409","1338851411","1338851414","1338851417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8cec0601661ea6f706d2f6419984c737.jpg","text":"TemporaryFile(/tmp/multipartBody8078309090117298729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150632967,"filename":"image_21022025_15_47_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e9c4e2a2ab1c0ffc5f8549ef598040c.jpg","text":"TemporaryFile(/tmp/multipartBody8465788977489317626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150632967,"filename":"image_21022025_15_47_56_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/78630ebc77ae170508e83e29885e88eb.jpg","text":"TemporaryFile(/tmp/multipartBody2987763859717729977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150632967,"filename":"image_21022025_15_47_47_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4c06255b892596159adef799dcfc4603.jpg","text":"TemporaryFile(/tmp/multipartBody2404058634642551166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150632967,"filename":"image_21022025_15_48_16_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3b55cd786c92eba43a7d7f8c2aa8f587.jpg","text":"TemporaryFile(/tmp/multipartBody3984254977769199630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150632967,"filename":"image_21022025_15_48_36_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e18862e3f8ec69c65cc78050d9d1398.jpg","text":"TemporaryFile(/tmp/multipartBody9217861855246811377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150632967,"filename":"image_21022025_15_48_56_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338851409","file1":"1338851381","file0":"1338851379","file4":"1338851414","file5":"1338851417","file3":"1338851411"},"map_files_photo_id_array":[{"photo_id":"1338851417","filename":"file5"},{"photo_id":"1338851409","filename":"file2"},{"photo_id":"1338851414","filename":"file4"},{"photo_id":"1338851381","filename":"file1"},{"photo_id":"1338851379","filename":"file0"},{"photo_id":"1338851411","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338851379":["hashtag1","hashtag2"]},{"1338851409":["hashtag1","hashtag2"]},{"1338851381":["hashtag1","hashtag2"]},{"1338851411":["hashtag1","hashtag2"]},{"1338851414":["hashtag1","hashtag2"]},{"1338851417":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338851379, 1338851409, 1338851381, 1338851411, 1338851414, 1338851417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98555779457092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:10:32.549443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/48/image_21022025_15_49_06_9328.jpg', '/home/pi/Desktop/images/21022025/15/49/image_21022025_15_49_16_10442.jpg', '/home/pi/Desktop/images/21022025/15/49/image_21022025_15_49_27_10375.jpg', '/home/pi/Desktop/images/21022025/15/49/image_21022025_15_49_36_9414.jpg', '/home/pi/Desktop/images/21022025/15/49/image_21022025_15_49_56_9428.jpg', '/home/pi/Desktop/images/21022025/15/49/image_21022025_15_50_06_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/48/image_21022025_15_49_06_9328.jpg
/home/pi/Desktop/images/21022025/15/49/image_21022025_15_49_16_10442.jpg
/home/pi/Desktop/images/21022025/15/49/image_21022025_15_49_27_10375.jpg
/home/pi/Desktop/images/21022025/15/49/image_21022025_15_49_36_9414.jpg
/home/pi/Desktop/images/21022025/15/49/image_21022025_15_49_56_9428.jpg
/home/pi/Desktop/images/21022025/15/49/image_21022025_15_50_06_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338851448","1338851430","1338851450","1338851453","1338851452","1338851443"],"photo_ids_order":["1338851430","1338851443","1338851448","1338851450","1338851452","1338851453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/084a6b79009bdd20e28b5500a67b554d.jpg","text":"TemporaryFile(/tmp/multipartBody6934578215953482589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150693021,"filename":"image_21022025_15_49_27_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d651e292b778f05f53af94fd6ee2bdb.jpg","text":"TemporaryFile(/tmp/multipartBody1578098989886992614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150693021,"filename":"image_21022025_15_49_06_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5cab7c48f45562403c40bc879a6ca891.jpg","text":"TemporaryFile(/tmp/multipartBody1280242449996774093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150693021,"filename":"image_21022025_15_49_36_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ae71f6e763ae8f73ab876452c5d2e39.jpg","text":"TemporaryFile(/tmp/multipartBody9101465659221696540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150693021,"filename":"image_21022025_15_50_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92f6ae9cb783bdaba1ff455f626015e8.jpg","text":"TemporaryFile(/tmp/multipartBody4519859432808750483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150693021,"filename":"image_21022025_15_49_56_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/82e6302bfc65cd83ccd225326bf07732.jpg","text":"TemporaryFile(/tmp/multipartBody8130861268345737807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150693021,"filename":"image_21022025_15_49_16_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338851448","file1":"1338851443","file0":"1338851430","file4":"1338851452","file5":"1338851453","file3":"1338851450"},"map_files_photo_id_array":[{"photo_id":"1338851453","filename":"file5"},{"photo_id":"1338851448","filename":"file2"},{"photo_id":"1338851452","filename":"file4"},{"photo_id":"1338851443","filename":"file1"},{"photo_id":"1338851430","filename":"file0"},{"photo_id":"1338851450","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338851448":["hashtag1","hashtag2"]},{"1338851430":["hashtag1","hashtag2"]},{"1338851450":["hashtag1","hashtag2"]},{"1338851453":["hashtag1","hashtag2"]},{"1338851452":["hashtag1","hashtag2"]},{"1338851443":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338851448, 1338851430, 1338851450, 1338851453, 1338851452, 1338851443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.03372025489807 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:11:32.856118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/50/image_21022025_15_50_16_10348.jpg', '/home/pi/Desktop/images/21022025/15/50/image_21022025_15_50_26_9351.jpg', '/home/pi/Desktop/images/21022025/15/50/image_21022025_15_50_36_10377.jpg', '/home/pi/Desktop/images/21022025/15/50/image_21022025_15_51_06_10354.jpg', '/home/pi/Desktop/images/21022025/15/51/image_21022025_15_51_16_9443.jpg', '/home/pi/Desktop/images/21022025/15/51/image_21022025_15_51_36_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/50/image_21022025_15_50_16_10348.jpg
/home/pi/Desktop/images/21022025/15/50/image_21022025_15_50_26_9351.jpg
/home/pi/Desktop/images/21022025/15/50/image_21022025_15_50_36_10377.jpg
/home/pi/Desktop/images/21022025/15/50/image_21022025_15_51_06_10354.jpg
/home/pi/Desktop/images/21022025/15/51/image_21022025_15_51_16_9443.jpg
/home/pi/Desktop/images/21022025/15/51/image_21022025_15_51_36_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338851469","1338851474","1338851468","1338851477","1338851471","1338851467"],"photo_ids_order":["1338851467","1338851468","1338851469","1338851471","1338851474","1338851477"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/66e4ef85c08d4a53ddb2a8c2321ce26f.jpg","text":"TemporaryFile(/tmp/multipartBody2007786661225045829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150753340,"filename":"image_21022025_15_50_36_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/44b5bc9b987c0c5f4427fc0de3d07f0c.jpg","text":"TemporaryFile(/tmp/multipartBody992766911261533219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150753340,"filename":"image_21022025_15_51_16_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1aaf55953ec19f13380d99fc50b48bc2.jpg","text":"TemporaryFile(/tmp/multipartBody5321296107492477374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150753340,"filename":"image_21022025_15_50_26_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f9dbb6650bded944e103f7029423d647.jpg","text":"TemporaryFile(/tmp/multipartBody3094660534686087479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150753340,"filename":"image_21022025_15_51_36_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be828ffc21efdffc42197012d1bc208d.jpg","text":"TemporaryFile(/tmp/multipartBody1862491927042200218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150753340,"filename":"image_21022025_15_51_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/105f57ab35bb277ff4ed1dd0111ed6f3.jpg","text":"TemporaryFile(/tmp/multipartBody9187439776955357409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150753340,"filename":"image_21022025_15_50_16_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338851469","file1":"1338851468","file0":"1338851467","file4":"1338851474","file5":"1338851477","file3":"1338851471"},"map_files_photo_id_array":[{"photo_id":"1338851477","filename":"file5"},{"photo_id":"1338851469","filename":"file2"},{"photo_id":"1338851474","filename":"file4"},{"photo_id":"1338851468","filename":"file1"},{"photo_id":"1338851467","filename":"file0"},{"photo_id":"1338851471","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338851469":["hashtag1","hashtag2"]},{"1338851474":["hashtag1","hashtag2"]},{"1338851468":["hashtag1","hashtag2"]},{"1338851477":["hashtag1","hashtag2"]},{"1338851471":["hashtag1","hashtag2"]},{"1338851467":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338851469, 1338851474, 1338851468, 1338851477, 1338851471, 1338851467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.406607151031494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:12:32.992677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/51/image_21022025_15_51_46_9411.jpg', '/home/pi/Desktop/images/21022025/15/51/image_21022025_15_51_56_10350.jpg', '/home/pi/Desktop/images/21022025/15/52/image_21022025_15_52_26_10343.jpg', '/home/pi/Desktop/images/21022025/15/53/image_21022025_15_53_16_10347.jpg', '/home/pi/Desktop/images/21022025/15/53/image_21022025_15_53_36_9382.jpg', '/home/pi/Desktop/images/21022025/15/53/image_21022025_15_53_46_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/51/image_21022025_15_51_46_9411.jpg
/home/pi/Desktop/images/21022025/15/51/image_21022025_15_51_56_10350.jpg
/home/pi/Desktop/images/21022025/15/52/image_21022025_15_52_26_10343.jpg
/home/pi/Desktop/images/21022025/15/53/image_21022025_15_53_16_10347.jpg
/home/pi/Desktop/images/21022025/15/53/image_21022025_15_53_36_9382.jpg
/home/pi/Desktop/images/21022025/15/53/image_21022025_15_53_46_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338851499","1338851490","1338851502","1338851492","1338851497","1338851494"],"photo_ids_order":["1338851490","1338851492","1338851494","1338851497","1338851499","1338851502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/77b8bc76ba0c2177ded810917bc47321.jpg","text":"TemporaryFile(/tmp/multipartBody6685808589272807431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150813455,"filename":"image_21022025_15_53_36_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eb87d09ed5cc9bc806a53e8c16214f09.jpg","text":"TemporaryFile(/tmp/multipartBody5921018827105872012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150813455,"filename":"image_21022025_15_51_46_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d952db551c2eb8bb85aef4346a53a2ce.jpg","text":"TemporaryFile(/tmp/multipartBody6292737815178877492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150813455,"filename":"image_21022025_15_53_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0402f80654279929c2685280ac3308b5.jpg","text":"TemporaryFile(/tmp/multipartBody8851568702722657521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150813455,"filename":"image_21022025_15_51_56_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7f84a0a2b231db10229de4a31acc0b00.jpg","text":"TemporaryFile(/tmp/multipartBody1063716086707632083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150813455,"filename":"image_21022025_15_53_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/574655dd3952b84623d0802a121cf393.jpg","text":"TemporaryFile(/tmp/multipartBody2930499817168884994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150813455,"filename":"image_21022025_15_52_26_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338851494","file1":"1338851492","file0":"1338851490","file4":"1338851499","file5":"1338851502","file3":"1338851497"},"map_files_photo_id_array":[{"photo_id":"1338851502","filename":"file5"},{"photo_id":"1338851494","filename":"file2"},{"photo_id":"1338851499","filename":"file4"},{"photo_id":"1338851492","filename":"file1"},{"photo_id":"1338851490","filename":"file0"},{"photo_id":"1338851497","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338851499":["hashtag1","hashtag2"]},{"1338851490":["hashtag1","hashtag2"]},{"1338851502":["hashtag1","hashtag2"]},{"1338851492":["hashtag1","hashtag2"]},{"1338851497":["hashtag1","hashtag2"]},{"1338851494":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338851499, 1338851490, 1338851502, 1338851492, 1338851497, 1338851494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04283905029297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:13:32.268304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/53/image_21022025_15_53_56_9451.jpg', '/home/pi/Desktop/images/21022025/15/54/image_21022025_15_54_36_10351.jpg', '/home/pi/Desktop/images/21022025/15/54/image_21022025_15_54_47_10449.jpg', '/home/pi/Desktop/images/21022025/15/55/image_21022025_15_55_17_10368.jpg', '/home/pi/Desktop/images/21022025/15/55/image_21022025_15_55_26_9337.jpg', '/home/pi/Desktop/images/21022025/15/55/image_21022025_15_55_36_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/53/image_21022025_15_53_56_9451.jpg
/home/pi/Desktop/images/21022025/15/54/image_21022025_15_54_36_10351.jpg
/home/pi/Desktop/images/21022025/15/54/image_21022025_15_54_47_10449.jpg
/home/pi/Desktop/images/21022025/15/55/image_21022025_15_55_17_10368.jpg
/home/pi/Desktop/images/21022025/15/55/image_21022025_15_55_26_9337.jpg
/home/pi/Desktop/images/21022025/15/55/image_21022025_15_55_36_10417.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39699292182922363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 16:13:42.272585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/53/image_21022025_15_53_56_9451.jpg', '/home/pi/Desktop/images/21022025/15/54/image_21022025_15_54_36_10351.jpg', '/home/pi/Desktop/images/21022025/15/54/image_21022025_15_54_47_10449.jpg', '/home/pi/Desktop/images/21022025/15/55/image_21022025_15_55_17_10368.jpg', '/home/pi/Desktop/images/21022025/15/55/image_21022025_15_55_26_9337.jpg', '/home/pi/Desktop/images/21022025/15/55/image_21022025_15_55_36_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/53/image_21022025_15_53_56_9451.jpg
/home/pi/Desktop/images/21022025/15/54/image_21022025_15_54_36_10351.jpg
/home/pi/Desktop/images/21022025/15/54/image_21022025_15_54_47_10449.jpg
/home/pi/Desktop/images/21022025/15/55/image_21022025_15_55_17_10368.jpg
/home/pi/Desktop/images/21022025/15/55/image_21022025_15_55_26_9337.jpg
/home/pi/Desktop/images/21022025/15/55/image_21022025_15_55_36_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338852114","1338852107","1338852110","1338852112","1338852034","1338851953"],"photo_ids_order":["1338851953","1338852034","1338852107","1338852110","1338852112","1338852114"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/66e00699042246836fbe3546ea218f77.jpg","text":"TemporaryFile(/tmp/multipartBody5101679015009109307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150882755,"filename":"image_21022025_15_55_36_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0898789861053fbb881bb0e60f9a97d2.jpg","text":"TemporaryFile(/tmp/multipartBody2191652647285081583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150882755,"filename":"image_21022025_15_54_47_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2c88fb82eed6dbe189321a4146117c1c.jpg","text":"TemporaryFile(/tmp/multipartBody1143074797727096803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150882755,"filename":"image_21022025_15_55_17_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c01be5781afdb64c282d78013f3079e6.jpg","text":"TemporaryFile(/tmp/multipartBody6672551816213420163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150882755,"filename":"image_21022025_15_55_26_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/badf998f7678ac01d62f10707e832c58.jpg","text":"TemporaryFile(/tmp/multipartBody1027889282168051085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150882755,"filename":"image_21022025_15_54_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/063f57584756b42457a2453a4cd256fa.jpg","text":"TemporaryFile(/tmp/multipartBody939351373424466331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150882755,"filename":"image_21022025_15_53_56_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338852107","file1":"1338852034","file0":"1338851953","file4":"1338852112","file5":"1338852114","file3":"1338852110"},"map_files_photo_id_array":[{"photo_id":"1338852114","filename":"file5"},{"photo_id":"1338852107","filename":"file2"},{"photo_id":"1338852112","filename":"file4"},{"photo_id":"1338852034","filename":"file1"},{"photo_id":"1338851953","filename":"file0"},{"photo_id":"1338852110","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338852114":["hashtag1","hashtag2"]},{"1338852107":["hashtag1","hashtag2"]},{"1338852110":["hashtag1","hashtag2"]},{"1338852112":["hashtag1","hashtag2"]},{"1338852034":["hashtag1","hashtag2"]},{"1338851953":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338852114, 1338852107, 1338852110, 1338852112, 1338852034, 1338851953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.47756052017212 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:14:32.492466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/55/image_21022025_15_55_46_9336.jpg', '/home/pi/Desktop/images/21022025/15/55/image_21022025_15_56_07_10470.jpg', '/home/pi/Desktop/images/21022025/15/56/image_21022025_15_56_16_9326.jpg', '/home/pi/Desktop/images/21022025/15/56/image_21022025_15_56_26_10365.jpg', '/home/pi/Desktop/images/21022025/15/56/image_21022025_15_56_36_9470.jpg', '/home/pi/Desktop/images/21022025/15/56/image_21022025_15_56_56_9517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/55/image_21022025_15_55_46_9336.jpg
/home/pi/Desktop/images/21022025/15/55/image_21022025_15_56_07_10470.jpg
/home/pi/Desktop/images/21022025/15/56/image_21022025_15_56_16_9326.jpg
/home/pi/Desktop/images/21022025/15/56/image_21022025_15_56_26_10365.jpg
/home/pi/Desktop/images/21022025/15/56/image_21022025_15_56_36_9470.jpg
/home/pi/Desktop/images/21022025/15/56/image_21022025_15_56_56_9517.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.379946231842041 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 16:14:42.386809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/55/image_21022025_15_55_46_9336.jpg', '/home/pi/Desktop/images/21022025/15/55/image_21022025_15_56_07_10470.jpg', '/home/pi/Desktop/images/21022025/15/56/image_21022025_15_56_16_9326.jpg', '/home/pi/Desktop/images/21022025/15/56/image_21022025_15_56_26_10365.jpg', '/home/pi/Desktop/images/21022025/15/56/image_21022025_15_56_36_9470.jpg', '/home/pi/Desktop/images/21022025/15/56/image_21022025_15_56_56_9517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/55/image_21022025_15_55_46_9336.jpg
/home/pi/Desktop/images/21022025/15/55/image_21022025_15_56_07_10470.jpg
/home/pi/Desktop/images/21022025/15/56/image_21022025_15_56_16_9326.jpg
/home/pi/Desktop/images/21022025/15/56/image_21022025_15_56_26_10365.jpg
/home/pi/Desktop/images/21022025/15/56/image_21022025_15_56_36_9470.jpg
/home/pi/Desktop/images/21022025/15/56/image_21022025_15_56_56_9517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338852341","1338852335","1338852338","1338852302","1338852349","1338852345"],"photo_ids_order":["1338852302","1338852335","1338852338","1338852341","1338852345","1338852349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/688599e7841123fab9eb7d0584c428a0.jpg","text":"TemporaryFile(/tmp/multipartBody5197780859436732121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150942849,"filename":"image_21022025_15_56_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5aeb7ed35083bc5441c159bfcdf72f79.jpg","text":"TemporaryFile(/tmp/multipartBody9061702837456695925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150942849,"filename":"image_21022025_15_56_07_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62128c04ed6dae9a5e9e03664a5e67e1.jpg","text":"TemporaryFile(/tmp/multipartBody4150216005298734440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150942849,"filename":"image_21022025_15_56_16_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b6846a03be4c8fc53ca31bb2d7c577c.jpg","text":"TemporaryFile(/tmp/multipartBody1396709906980627484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150942849,"filename":"image_21022025_15_55_46_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/03c16198657ff940421aa64de6f20659.jpg","text":"TemporaryFile(/tmp/multipartBody2359053979766448851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150942849,"filename":"image_21022025_15_56_56_9517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c4177f86a70e3c9e201aaac8ba80a199.jpg","text":"TemporaryFile(/tmp/multipartBody5007853762529632862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150942849,"filename":"image_21022025_15_56_36_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338852338","file1":"1338852335","file0":"1338852302","file4":"1338852345","file5":"1338852349","file3":"1338852341"},"map_files_photo_id_array":[{"photo_id":"1338852349","filename":"file5"},{"photo_id":"1338852338","filename":"file2"},{"photo_id":"1338852345","filename":"file4"},{"photo_id":"1338852335","filename":"file1"},{"photo_id":"1338852302","filename":"file0"},{"photo_id":"1338852341","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338852341":["hashtag1","hashtag2"]},{"1338852335":["hashtag1","hashtag2"]},{"1338852338":["hashtag1","hashtag2"]},{"1338852302":["hashtag1","hashtag2"]},{"1338852349":["hashtag1","hashtag2"]},{"1338852345":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338852341, 1338852335, 1338852338, 1338852302, 1338852349, 1338852345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.981125831604004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:15:32.706979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/56/image_21022025_15_57_06_10344.jpg', '/home/pi/Desktop/images/21022025/15/57/image_21022025_15_57_16_10410.jpg', '/home/pi/Desktop/images/21022025/15/57/image_21022025_15_57_26_9354.jpg', '/home/pi/Desktop/images/21022025/15/57/image_21022025_15_57_36_10408.jpg', '/home/pi/Desktop/images/21022025/15/57/image_21022025_15_57_46_9461.jpg', '/home/pi/Desktop/images/21022025/15/57/image_21022025_15_57_56_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/56/image_21022025_15_57_06_10344.jpg
/home/pi/Desktop/images/21022025/15/57/image_21022025_15_57_16_10410.jpg
/home/pi/Desktop/images/21022025/15/57/image_21022025_15_57_26_9354.jpg
/home/pi/Desktop/images/21022025/15/57/image_21022025_15_57_36_10408.jpg
/home/pi/Desktop/images/21022025/15/57/image_21022025_15_57_46_9461.jpg
/home/pi/Desktop/images/21022025/15/57/image_21022025_15_57_56_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338852364","1338852361","1338852375","1338852369","1338852372","1338852366"],"photo_ids_order":["1338852361","1338852364","1338852366","1338852369","1338852372","1338852375"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ba55db7aa344659b6b8ce1c5f3b8444.jpg","text":"TemporaryFile(/tmp/multipartBody8158045987272245492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150993193,"filename":"image_21022025_15_57_16_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/089d42be6062f23d407e659c3bb15dc5.jpg","text":"TemporaryFile(/tmp/multipartBody6431700628236639224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150993193,"filename":"image_21022025_15_57_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/64199010f84f6889649ad6cf18bee6a9.jpg","text":"TemporaryFile(/tmp/multipartBody6055459809110713275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150993193,"filename":"image_21022025_15_57_56_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f622cf5b8b78eb1b7e2859f79b09cbda.jpg","text":"TemporaryFile(/tmp/multipartBody5781917411665340109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150993193,"filename":"image_21022025_15_57_36_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/068e08d2fe1747ed035a701fe2df0ae7.jpg","text":"TemporaryFile(/tmp/multipartBody7780190703144943319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150993193,"filename":"image_21022025_15_57_46_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3036d25bf3fb248453732c7c2cd89d24.jpg","text":"TemporaryFile(/tmp/multipartBody8460584933622195529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740150993193,"filename":"image_21022025_15_57_26_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338852366","file1":"1338852364","file0":"1338852361","file4":"1338852372","file5":"1338852375","file3":"1338852369"},"map_files_photo_id_array":[{"photo_id":"1338852375","filename":"file5"},{"photo_id":"1338852366","filename":"file2"},{"photo_id":"1338852372","filename":"file4"},{"photo_id":"1338852364","filename":"file1"},{"photo_id":"1338852361","filename":"file0"},{"photo_id":"1338852369","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338852364":["hashtag1","hashtag2"]},{"1338852361":["hashtag1","hashtag2"]},{"1338852375":["hashtag1","hashtag2"]},{"1338852369":["hashtag1","hashtag2"]},{"1338852372":["hashtag1","hashtag2"]},{"1338852366":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338852364, 1338852361, 1338852375, 1338852369, 1338852372, 1338852366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.330074071884155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:16:32.885812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/57/image_21022025_15_58_06_10425.jpg', '/home/pi/Desktop/images/21022025/15/58/image_21022025_15_58_16_9341.jpg', '/home/pi/Desktop/images/21022025/15/58/image_21022025_15_58_26_10354.jpg', '/home/pi/Desktop/images/21022025/15/58/image_21022025_15_58_37_10355.jpg', '/home/pi/Desktop/images/21022025/15/58/image_21022025_15_58_46_9404.jpg', '/home/pi/Desktop/images/21022025/15/58/image_21022025_15_58_56_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/57/image_21022025_15_58_06_10425.jpg
/home/pi/Desktop/images/21022025/15/58/image_21022025_15_58_16_9341.jpg
/home/pi/Desktop/images/21022025/15/58/image_21022025_15_58_26_10354.jpg
/home/pi/Desktop/images/21022025/15/58/image_21022025_15_58_37_10355.jpg
/home/pi/Desktop/images/21022025/15/58/image_21022025_15_58_46_9404.jpg
/home/pi/Desktop/images/21022025/15/58/image_21022025_15_58_56_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338852695","1338852692","1338852410","1338852697","1338852529","1338852699"],"photo_ids_order":["1338852410","1338852529","1338852692","1338852695","1338852697","1338852699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3110a2b813ea09955b2aa57c6212f740.jpg","text":"TemporaryFile(/tmp/multipartBody2331497266050973262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151053346,"filename":"image_21022025_15_58_37_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c9f486b88b2140020016ebe356cd7f9.jpg","text":"TemporaryFile(/tmp/multipartBody2690777250929008133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151053346,"filename":"image_21022025_15_58_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f2f75e10a8290e6fd7905a533386912d.jpg","text":"TemporaryFile(/tmp/multipartBody8217434899850859648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151053346,"filename":"image_21022025_15_58_06_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/448cfecedc063af29955e819052bd783.jpg","text":"TemporaryFile(/tmp/multipartBody3545908577210647332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151053346,"filename":"image_21022025_15_58_46_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/00d66c65ea551a0f3c02976dc8b9a11e.jpg","text":"TemporaryFile(/tmp/multipartBody8032598300419381304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151053346,"filename":"image_21022025_15_58_16_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/096e6b57f6d7b2d223f23a8f507aa781.jpg","text":"TemporaryFile(/tmp/multipartBody5156583297147954540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151053346,"filename":"image_21022025_15_58_56_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338852692","file1":"1338852529","file0":"1338852410","file4":"1338852697","file5":"1338852699","file3":"1338852695"},"map_files_photo_id_array":[{"photo_id":"1338852699","filename":"file5"},{"photo_id":"1338852692","filename":"file2"},{"photo_id":"1338852697","filename":"file4"},{"photo_id":"1338852529","filename":"file1"},{"photo_id":"1338852410","filename":"file0"},{"photo_id":"1338852695","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338852695":["hashtag1","hashtag2"]},{"1338852692":["hashtag1","hashtag2"]},{"1338852410":["hashtag1","hashtag2"]},{"1338852697":["hashtag1","hashtag2"]},{"1338852529":["hashtag1","hashtag2"]},{"1338852699":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338852695, 1338852692, 1338852410, 1338852697, 1338852529, 1338852699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3303120136261 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:17:33.260220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/15/58/image_21022025_15_59_06_9399.jpg', '/home/pi/Desktop/images/21022025/15/59/image_21022025_15_59_16_10360.jpg', '/home/pi/Desktop/images/21022025/15/59/image_21022025_15_59_26_10348.jpg', '/home/pi/Desktop/images/21022025/16/01/image_21022025_16_01_14_10084.jpg', '/home/pi/Desktop/images/21022025/16/01/image_21022025_16_01_24_10360.jpg', '/home/pi/Desktop/images/21022025/16/01/image_21022025_16_01_35_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/15/58/image_21022025_15_59_06_9399.jpg
/home/pi/Desktop/images/21022025/15/59/image_21022025_15_59_16_10360.jpg
/home/pi/Desktop/images/21022025/15/59/image_21022025_15_59_26_10348.jpg
/home/pi/Desktop/images/21022025/16/01/image_21022025_16_01_14_10084.jpg
/home/pi/Desktop/images/21022025/16/01/image_21022025_16_01_24_10360.jpg
/home/pi/Desktop/images/21022025/16/01/image_21022025_16_01_35_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338852942","1338852938","1338852940","1338852943","1338852864","1338852861"],"photo_ids_order":["1338852861","1338852864","1338852938","1338852940","1338852942","1338852943"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/93c46b021ad9d4c2f48cab546ac7e39e.jpg","text":"TemporaryFile(/tmp/multipartBody2353199027548361169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151113729,"filename":"image_21022025_16_01_24_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/96b06e11d9e01faa0837caf32b07fe9a.jpg","text":"TemporaryFile(/tmp/multipartBody5852487988793534250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151113729,"filename":"image_21022025_15_59_26_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1d5270a4a81858cb221d47a6172c4ca.jpg","text":"TemporaryFile(/tmp/multipartBody5992429416183319996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151113729,"filename":"image_21022025_16_01_14_10084.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ed9761fe5be54febd325a91b273055b.jpg","text":"TemporaryFile(/tmp/multipartBody5867411045998686557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151113729,"filename":"image_21022025_16_01_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cba597a62f351b3ac0b3a0794644d8a0.jpg","text":"TemporaryFile(/tmp/multipartBody1129478665484800546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151113729,"filename":"image_21022025_15_59_16_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/52c1cd403d3ed1373b00bc458303e014.jpg","text":"TemporaryFile(/tmp/multipartBody1552717783366696067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151113729,"filename":"image_21022025_15_59_06_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338852938","file1":"1338852864","file0":"1338852861","file4":"1338852942","file5":"1338852943","file3":"1338852940"},"map_files_photo_id_array":[{"photo_id":"1338852943","filename":"file5"},{"photo_id":"1338852938","filename":"file2"},{"photo_id":"1338852942","filename":"file4"},{"photo_id":"1338852864","filename":"file1"},{"photo_id":"1338852861","filename":"file0"},{"photo_id":"1338852940","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338852942":["hashtag1","hashtag2"]},{"1338852938":["hashtag1","hashtag2"]},{"1338852940":["hashtag1","hashtag2"]},{"1338852943":["hashtag1","hashtag2"]},{"1338852864":["hashtag1","hashtag2"]},{"1338852861":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338852942, 1338852938, 1338852940, 1338852943, 1338852864, 1338852861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.565546989440918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:18:32.395559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/01/image_21022025_16_01_44_9346.jpg', '/home/pi/Desktop/images/21022025/16/01/image_21022025_16_02_05_10346.jpg', '/home/pi/Desktop/images/21022025/16/02/image_21022025_16_02_24_10351.jpg', '/home/pi/Desktop/images/21022025/16/02/image_21022025_16_02_35_10363.jpg', '/home/pi/Desktop/images/21022025/16/02/image_21022025_16_02_44_9353.jpg', '/home/pi/Desktop/images/21022025/16/03/image_21022025_16_03_25_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/01/image_21022025_16_01_44_9346.jpg
/home/pi/Desktop/images/21022025/16/01/image_21022025_16_02_05_10346.jpg
/home/pi/Desktop/images/21022025/16/02/image_21022025_16_02_24_10351.jpg
/home/pi/Desktop/images/21022025/16/02/image_21022025_16_02_35_10363.jpg
/home/pi/Desktop/images/21022025/16/02/image_21022025_16_02_44_9353.jpg
/home/pi/Desktop/images/21022025/16/03/image_21022025_16_03_25_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338852968","1338852962","1338852971","1338852965","1338852959","1338852961"],"photo_ids_order":["1338852959","1338852961","1338852962","1338852965","1338852968","1338852971"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/453185903363db1cfbedc1e0b4372192.jpg","text":"TemporaryFile(/tmp/multipartBody969728705858585630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151172861,"filename":"image_21022025_16_02_44_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7fef3b23e1644f2054676a762ea7c25a.jpg","text":"TemporaryFile(/tmp/multipartBody9219690146861455157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151172861,"filename":"image_21022025_16_02_24_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e2210dea3a96b07105c4936de324a50.jpg","text":"TemporaryFile(/tmp/multipartBody2059560624960856594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151172861,"filename":"image_21022025_16_03_25_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f356569ba0ab47c6758c94a4ffd9e3c.jpg","text":"TemporaryFile(/tmp/multipartBody2044623648615722901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151172861,"filename":"image_21022025_16_02_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/12a12f7a8c6340c6b93bd8208f21e070.jpg","text":"TemporaryFile(/tmp/multipartBody6945770039401536280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151172861,"filename":"image_21022025_16_01_44_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c696577e2071f4670c9a8cb3179ff45.jpg","text":"TemporaryFile(/tmp/multipartBody1002257514314956513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151172861,"filename":"image_21022025_16_02_05_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338852962","file1":"1338852961","file0":"1338852959","file4":"1338852968","file5":"1338852971","file3":"1338852965"},"map_files_photo_id_array":[{"photo_id":"1338852971","filename":"file5"},{"photo_id":"1338852962","filename":"file2"},{"photo_id":"1338852968","filename":"file4"},{"photo_id":"1338852961","filename":"file1"},{"photo_id":"1338852959","filename":"file0"},{"photo_id":"1338852965","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338852968":["hashtag1","hashtag2"]},{"1338852962":["hashtag1","hashtag2"]},{"1338852971":["hashtag1","hashtag2"]},{"1338852965":["hashtag1","hashtag2"]},{"1338852959":["hashtag1","hashtag2"]},{"1338852961":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338852968, 1338852962, 1338852971, 1338852965, 1338852959, 1338852961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.131401300430298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:19:32.649962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/03/image_21022025_16_03_34_9354.jpg', '/home/pi/Desktop/images/21022025/16/03/image_21022025_16_03_54_9404.jpg', '/home/pi/Desktop/images/21022025/16/03/image_21022025_16_04_04_10353.jpg', '/home/pi/Desktop/images/21022025/16/04/image_21022025_16_04_15_10459.jpg', '/home/pi/Desktop/images/21022025/16/05/image_21022025_16_05_35_10403.jpg', '/home/pi/Desktop/images/21022025/16/05/image_21022025_16_05_44_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/03/image_21022025_16_03_34_9354.jpg
/home/pi/Desktop/images/21022025/16/03/image_21022025_16_03_54_9404.jpg
/home/pi/Desktop/images/21022025/16/03/image_21022025_16_04_04_10353.jpg
/home/pi/Desktop/images/21022025/16/04/image_21022025_16_04_15_10459.jpg
/home/pi/Desktop/images/21022025/16/05/image_21022025_16_05_35_10403.jpg
/home/pi/Desktop/images/21022025/16/05/image_21022025_16_05_44_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338853005","1338852998","1338852983","1338852985","1338853003","1338852996"],"photo_ids_order":["1338852983","1338852985","1338852996","1338852998","1338853003","1338853005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aa9ddb49c56dededdd64f5a1ca89647d.jpg","text":"TemporaryFile(/tmp/multipartBody4583774475325768546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151233111,"filename":"image_21022025_16_05_44_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4dabe23e412cdcada324df382b81df45.jpg","text":"TemporaryFile(/tmp/multipartBody1752130025333313973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151233111,"filename":"image_21022025_16_04_15_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8fe229131b3879c321d02282cbf6d06b.jpg","text":"TemporaryFile(/tmp/multipartBody3789242488458766221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151233111,"filename":"image_21022025_16_03_34_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/01caa52a4391983b932b44f3c0f97e7b.jpg","text":"TemporaryFile(/tmp/multipartBody745295855499613300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151233111,"filename":"image_21022025_16_03_54_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5277168a6bdbf1383aff0a325696387e.jpg","text":"TemporaryFile(/tmp/multipartBody9012254223611962882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151233111,"filename":"image_21022025_16_05_35_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2963eee1b2f8ee0ad6aa76402c4c5f15.jpg","text":"TemporaryFile(/tmp/multipartBody3799877003915127145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151233111,"filename":"image_21022025_16_04_04_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338852996","file1":"1338852985","file0":"1338852983","file4":"1338853003","file5":"1338853005","file3":"1338852998"},"map_files_photo_id_array":[{"photo_id":"1338853005","filename":"file5"},{"photo_id":"1338852996","filename":"file2"},{"photo_id":"1338853003","filename":"file4"},{"photo_id":"1338852985","filename":"file1"},{"photo_id":"1338852983","filename":"file0"},{"photo_id":"1338852998","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338853005":["hashtag1","hashtag2"]},{"1338852998":["hashtag1","hashtag2"]},{"1338852983":["hashtag1","hashtag2"]},{"1338852985":["hashtag1","hashtag2"]},{"1338853003":["hashtag1","hashtag2"]},{"1338852996":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338853005, 1338852998, 1338852983, 1338852985, 1338853003, 1338852996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69404625892639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:20:32.910140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/05/image_21022025_16_05_54_10467.jpg', '/home/pi/Desktop/images/21022025/16/05/image_21022025_16_06_05_10359.jpg', '/home/pi/Desktop/images/21022025/16/06/image_21022025_16_06_14_9339.jpg', '/home/pi/Desktop/images/21022025/16/06/image_21022025_16_06_25_10376.jpg', '/home/pi/Desktop/images/21022025/16/06/image_21022025_16_06_55_10471.jpg', '/home/pi/Desktop/images/21022025/16/06/image_21022025_16_07_04_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/05/image_21022025_16_05_54_10467.jpg
/home/pi/Desktop/images/21022025/16/05/image_21022025_16_06_05_10359.jpg
/home/pi/Desktop/images/21022025/16/06/image_21022025_16_06_14_9339.jpg
/home/pi/Desktop/images/21022025/16/06/image_21022025_16_06_25_10376.jpg
/home/pi/Desktop/images/21022025/16/06/image_21022025_16_06_55_10471.jpg
/home/pi/Desktop/images/21022025/16/06/image_21022025_16_07_04_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338853055","1338853079","1338853052","1338853078","1338853069","1338853074"],"photo_ids_order":["1338853052","1338853055","1338853069","1338853074","1338853078","1338853079"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2b92d8f3202c43be6942dd422a173142.jpg","text":"TemporaryFile(/tmp/multipartBody1523914537619758746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151293370,"filename":"image_21022025_16_06_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2f98c3f1255318645637218da3b56fe.jpg","text":"TemporaryFile(/tmp/multipartBody8322526750352729816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151293370,"filename":"image_21022025_16_07_04_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0179c2a93c2ffde58b423cbdf54787b9.jpg","text":"TemporaryFile(/tmp/multipartBody5593162332328743330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151293370,"filename":"image_21022025_16_05_54_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a4d08679f04e70a80ce7be77f4b8a904.jpg","text":"TemporaryFile(/tmp/multipartBody2804255262650914052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151293370,"filename":"image_21022025_16_06_55_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7e791f97ed82c26664236b4a4af07092.jpg","text":"TemporaryFile(/tmp/multipartBody1904643435691362507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151293370,"filename":"image_21022025_16_06_14_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/790eb1e08e428126c4d1eb2cc2daec75.jpg","text":"TemporaryFile(/tmp/multipartBody9085722845923940816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151293370,"filename":"image_21022025_16_06_25_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338853069","file1":"1338853055","file0":"1338853052","file4":"1338853078","file5":"1338853079","file3":"1338853074"},"map_files_photo_id_array":[{"photo_id":"1338853079","filename":"file5"},{"photo_id":"1338853069","filename":"file2"},{"photo_id":"1338853078","filename":"file4"},{"photo_id":"1338853055","filename":"file1"},{"photo_id":"1338853052","filename":"file0"},{"photo_id":"1338853074","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338853055":["hashtag1","hashtag2"]},{"1338853079":["hashtag1","hashtag2"]},{"1338853052":["hashtag1","hashtag2"]},{"1338853078":["hashtag1","hashtag2"]},{"1338853069":["hashtag1","hashtag2"]},{"1338853074":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338853055, 1338853079, 1338853052, 1338853078, 1338853069, 1338853074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37700891494751 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:21:33.213314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/07/image_21022025_16_07_25_10346.jpg', '/home/pi/Desktop/images/21022025/16/07/image_21022025_16_07_34_9335.jpg', '/home/pi/Desktop/images/21022025/16/07/image_21022025_16_07_45_10429.jpg', '/home/pi/Desktop/images/21022025/16/07/image_21022025_16_07_54_9428.jpg', '/home/pi/Desktop/images/21022025/16/07/image_21022025_16_08_04_10347.jpg', '/home/pi/Desktop/images/21022025/16/08/image_21022025_16_08_15_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/07/image_21022025_16_07_25_10346.jpg
/home/pi/Desktop/images/21022025/16/07/image_21022025_16_07_34_9335.jpg
/home/pi/Desktop/images/21022025/16/07/image_21022025_16_07_45_10429.jpg
/home/pi/Desktop/images/21022025/16/07/image_21022025_16_07_54_9428.jpg
/home/pi/Desktop/images/21022025/16/07/image_21022025_16_08_04_10347.jpg
/home/pi/Desktop/images/21022025/16/08/image_21022025_16_08_15_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338853154","1338853157","1338853156","1338853155","1338853158","1338853152"],"photo_ids_order":["1338853152","1338853154","1338853155","1338853156","1338853157","1338853158"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dc3d30aea557d5f65983a6e9a106749b.jpg","text":"TemporaryFile(/tmp/multipartBody8390267196100621598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151353695,"filename":"image_21022025_16_07_34_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b248171f58ba4f435328fc7a12807ca0.jpg","text":"TemporaryFile(/tmp/multipartBody5832309410551391757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151353695,"filename":"image_21022025_16_08_04_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bf198d32d1e51ad930aef2bd05123680.jpg","text":"TemporaryFile(/tmp/multipartBody1290061764366910560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151353695,"filename":"image_21022025_16_07_54_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d7dfedeedef51e286e05a41707824772.jpg","text":"TemporaryFile(/tmp/multipartBody5382355082463729332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151353695,"filename":"image_21022025_16_07_45_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2486884a629b8e101840d8443c061c12.jpg","text":"TemporaryFile(/tmp/multipartBody4584309000256176734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151353695,"filename":"image_21022025_16_08_15_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/46dd2d38c2d5f3bd52cda75715a394df.jpg","text":"TemporaryFile(/tmp/multipartBody1024149823540586613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151353695,"filename":"image_21022025_16_07_25_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338853155","file1":"1338853154","file0":"1338853152","file4":"1338853157","file5":"1338853158","file3":"1338853156"},"map_files_photo_id_array":[{"photo_id":"1338853158","filename":"file5"},{"photo_id":"1338853155","filename":"file2"},{"photo_id":"1338853157","filename":"file4"},{"photo_id":"1338853154","filename":"file1"},{"photo_id":"1338853152","filename":"file0"},{"photo_id":"1338853156","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338853154":["hashtag1","hashtag2"]},{"1338853157":["hashtag1","hashtag2"]},{"1338853156":["hashtag1","hashtag2"]},{"1338853155":["hashtag1","hashtag2"]},{"1338853158":["hashtag1","hashtag2"]},{"1338853152":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338853154, 1338853157, 1338853156, 1338853155, 1338853158, 1338853152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38282656669617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:22:32.359316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/08/image_21022025_16_08_54_9379.jpg', '/home/pi/Desktop/images/21022025/16/08/image_21022025_16_09_05_10484.jpg', '/home/pi/Desktop/images/21022025/16/09/image_21022025_16_10_04_9348.jpg', '/home/pi/Desktop/images/21022025/16/11/image_21022025_16_12_05_10377.jpg', '/home/pi/Desktop/images/21022025/16/12/image_21022025_16_12_14_9322.jpg', '/home/pi/Desktop/images/21022025/16/12/image_21022025_16_12_34_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/08/image_21022025_16_08_54_9379.jpg
/home/pi/Desktop/images/21022025/16/08/image_21022025_16_09_05_10484.jpg
/home/pi/Desktop/images/21022025/16/09/image_21022025_16_10_04_9348.jpg
/home/pi/Desktop/images/21022025/16/11/image_21022025_16_12_05_10377.jpg
/home/pi/Desktop/images/21022025/16/12/image_21022025_16_12_14_9322.jpg
/home/pi/Desktop/images/21022025/16/12/image_21022025_16_12_34_9409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338853172","1338853181","1338853178","1338853180","1338853174","1338853176"],"photo_ids_order":["1338853172","1338853174","1338853176","1338853178","1338853180","1338853181"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d2dcbeee0590fb2f540beab8aad2961c.jpg","text":"TemporaryFile(/tmp/multipartBody2497226219654125924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151413042,"filename":"image_21022025_16_08_54_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04f7508ffce826223d17d5485b7bea63.jpg","text":"TemporaryFile(/tmp/multipartBody7854887783399550235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151413042,"filename":"image_21022025_16_12_34_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/66e72577fa1fe4c974e1bdc0a4aeaf64.jpg","text":"TemporaryFile(/tmp/multipartBody7424559441598560982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151413042,"filename":"image_21022025_16_12_05_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ad3be77041b54cfe8b084234432b3f5.jpg","text":"TemporaryFile(/tmp/multipartBody6436114564748231021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151413042,"filename":"image_21022025_16_12_14_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e145b0afdfc191ea5ed1821b7df90b9f.jpg","text":"TemporaryFile(/tmp/multipartBody4324103808595288106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151413042,"filename":"image_21022025_16_09_05_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/85239f1cbdf228f3b3e09064b947c5d8.jpg","text":"TemporaryFile(/tmp/multipartBody6993287169659215062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151413042,"filename":"image_21022025_16_10_04_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338853176","file1":"1338853174","file0":"1338853172","file4":"1338853180","file5":"1338853181","file3":"1338853178"},"map_files_photo_id_array":[{"photo_id":"1338853181","filename":"file5"},{"photo_id":"1338853176","filename":"file2"},{"photo_id":"1338853180","filename":"file4"},{"photo_id":"1338853174","filename":"file1"},{"photo_id":"1338853172","filename":"file0"},{"photo_id":"1338853178","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338853172":["hashtag1","hashtag2"]},{"1338853181":["hashtag1","hashtag2"]},{"1338853178":["hashtag1","hashtag2"]},{"1338853180":["hashtag1","hashtag2"]},{"1338853174":["hashtag1","hashtag2"]},{"1338853176":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338853172, 1338853181, 1338853178, 1338853180, 1338853174, 1338853176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46304726600647 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:23:32.535808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/12/image_21022025_16_12_44_10437.jpg', '/home/pi/Desktop/images/21022025/16/12/image_21022025_16_12_55_10327.jpg', '/home/pi/Desktop/images/21022025/16/13/image_21022025_16_13_55_10466.jpg', '/home/pi/Desktop/images/21022025/16/13/image_21022025_16_14_04_9344.jpg', '/home/pi/Desktop/images/21022025/16/14/image_21022025_16_14_15_10454.jpg', '/home/pi/Desktop/images/21022025/16/14/image_21022025_16_14_34_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/12/image_21022025_16_12_44_10437.jpg
/home/pi/Desktop/images/21022025/16/12/image_21022025_16_12_55_10327.jpg
/home/pi/Desktop/images/21022025/16/13/image_21022025_16_13_55_10466.jpg
/home/pi/Desktop/images/21022025/16/13/image_21022025_16_14_04_9344.jpg
/home/pi/Desktop/images/21022025/16/14/image_21022025_16_14_15_10454.jpg
/home/pi/Desktop/images/21022025/16/14/image_21022025_16_14_34_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338853203","1338853205","1338853201","1338853197","1338853206","1338853199"],"photo_ids_order":["1338853197","1338853199","1338853201","1338853203","1338853205","1338853206"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ebdaa85ce0bd0d753cce79df706dff3e.jpg","text":"TemporaryFile(/tmp/multipartBody2227617339261637035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151473013,"filename":"image_21022025_16_14_04_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a098e10f02978ffa553c960d21053403.jpg","text":"TemporaryFile(/tmp/multipartBody1834106848592046121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151473013,"filename":"image_21022025_16_14_15_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae236678757b53f0bebb5ecbf9778e28.jpg","text":"TemporaryFile(/tmp/multipartBody5759140406541841252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151473013,"filename":"image_21022025_16_13_55_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a70bc301a8da41ad6a8279fbd8e6af1.jpg","text":"TemporaryFile(/tmp/multipartBody1168558470396939239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151473013,"filename":"image_21022025_16_12_44_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06b99da79cf3541ae67fb1110f9f731f.jpg","text":"TemporaryFile(/tmp/multipartBody4691216944028236730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151473013,"filename":"image_21022025_16_14_34_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/057e7043f7e397efdb6a656b78e844b9.jpg","text":"TemporaryFile(/tmp/multipartBody7455046931778942465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151473013,"filename":"image_21022025_16_12_55_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338853201","file1":"1338853199","file0":"1338853197","file4":"1338853205","file5":"1338853206","file3":"1338853203"},"map_files_photo_id_array":[{"photo_id":"1338853206","filename":"file5"},{"photo_id":"1338853201","filename":"file2"},{"photo_id":"1338853205","filename":"file4"},{"photo_id":"1338853199","filename":"file1"},{"photo_id":"1338853197","filename":"file0"},{"photo_id":"1338853203","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338853203":["hashtag1","hashtag2"]},{"1338853205":["hashtag1","hashtag2"]},{"1338853201":["hashtag1","hashtag2"]},{"1338853197":["hashtag1","hashtag2"]},{"1338853206":["hashtag1","hashtag2"]},{"1338853199":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338853203, 1338853205, 1338853201, 1338853197, 1338853206, 1338853199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.17612648010254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:24:32.754888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/14/image_21022025_16_14_45_10416.jpg', '/home/pi/Desktop/images/21022025/16/15/image_21022025_16_15_15_10392.jpg', '/home/pi/Desktop/images/21022025/16/15/image_21022025_16_15_24_9328.jpg', '/home/pi/Desktop/images/21022025/16/16/image_21022025_16_16_44_10345.jpg', '/home/pi/Desktop/images/21022025/16/16/image_21022025_16_16_55_10404.jpg', '/home/pi/Desktop/images/21022025/16/17/image_21022025_16_17_14_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/14/image_21022025_16_14_45_10416.jpg
/home/pi/Desktop/images/21022025/16/15/image_21022025_16_15_15_10392.jpg
/home/pi/Desktop/images/21022025/16/15/image_21022025_16_15_24_9328.jpg
/home/pi/Desktop/images/21022025/16/16/image_21022025_16_16_44_10345.jpg
/home/pi/Desktop/images/21022025/16/16/image_21022025_16_16_55_10404.jpg
/home/pi/Desktop/images/21022025/16/17/image_21022025_16_17_14_10345.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.45660400390625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 16:24:42.783758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/14/image_21022025_16_14_45_10416.jpg', '/home/pi/Desktop/images/21022025/16/15/image_21022025_16_15_15_10392.jpg', '/home/pi/Desktop/images/21022025/16/15/image_21022025_16_15_24_9328.jpg', '/home/pi/Desktop/images/21022025/16/16/image_21022025_16_16_44_10345.jpg', '/home/pi/Desktop/images/21022025/16/16/image_21022025_16_16_55_10404.jpg', '/home/pi/Desktop/images/21022025/16/17/image_21022025_16_17_14_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/14/image_21022025_16_14_45_10416.jpg
/home/pi/Desktop/images/21022025/16/15/image_21022025_16_15_15_10392.jpg
/home/pi/Desktop/images/21022025/16/15/image_21022025_16_15_24_9328.jpg
/home/pi/Desktop/images/21022025/16/16/image_21022025_16_16_44_10345.jpg
/home/pi/Desktop/images/21022025/16/16/image_21022025_16_16_55_10404.jpg
/home/pi/Desktop/images/21022025/16/17/image_21022025_16_17_14_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338853256","1338853241","1338853235","1338853243","1338853255","1338853245"],"photo_ids_order":["1338853235","1338853241","1338853243","1338853245","1338853255","1338853256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b6726a60275bd1aaa0eb2b12d7078eb.jpg","text":"TemporaryFile(/tmp/multipartBody1501108298974377456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151543334,"filename":"image_21022025_16_17_14_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/78752561e7d99e11a0e957db4ad49e18.jpg","text":"TemporaryFile(/tmp/multipartBody3959024123796440140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151543334,"filename":"image_21022025_16_15_15_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ab0ec60ff7313514412c8d8eeb7f1e6.jpg","text":"TemporaryFile(/tmp/multipartBody8705248197146892371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151543334,"filename":"image_21022025_16_14_45_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/781663b96206f3a99571b5ac00f9e048.jpg","text":"TemporaryFile(/tmp/multipartBody8396877380535804365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151543334,"filename":"image_21022025_16_15_24_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2aef2a5d619034bba515032e0d40ea27.jpg","text":"TemporaryFile(/tmp/multipartBody6826065419976794322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151543334,"filename":"image_21022025_16_16_55_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ab2125fa90b3adc01a2d613ed33f08ff.jpg","text":"TemporaryFile(/tmp/multipartBody3815779577673584182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151543334,"filename":"image_21022025_16_16_44_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338853243","file1":"1338853241","file0":"1338853235","file4":"1338853255","file5":"1338853256","file3":"1338853245"},"map_files_photo_id_array":[{"photo_id":"1338853256","filename":"file5"},{"photo_id":"1338853243","filename":"file2"},{"photo_id":"1338853255","filename":"file4"},{"photo_id":"1338853241","filename":"file1"},{"photo_id":"1338853235","filename":"file0"},{"photo_id":"1338853245","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338853256":["hashtag1","hashtag2"]},{"1338853241":["hashtag1","hashtag2"]},{"1338853235":["hashtag1","hashtag2"]},{"1338853243":["hashtag1","hashtag2"]},{"1338853255":["hashtag1","hashtag2"]},{"1338853245":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338853256, 1338853241, 1338853235, 1338853243, 1338853255, 1338853245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.713698863983154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:25:32.904555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/17/image_21022025_16_17_45_10382.jpg', '/home/pi/Desktop/images/21022025/16/17/image_21022025_16_17_55_10358.jpg', '/home/pi/Desktop/images/21022025/16/17/image_21022025_16_18_04_9341.jpg', '/home/pi/Desktop/images/21022025/16/18/image_21022025_16_18_24_9351.jpg', '/home/pi/Desktop/images/21022025/16/18/image_21022025_16_18_34_10344.jpg', '/home/pi/Desktop/images/21022025/16/18/image_21022025_16_18_54_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/17/image_21022025_16_17_45_10382.jpg
/home/pi/Desktop/images/21022025/16/17/image_21022025_16_17_55_10358.jpg
/home/pi/Desktop/images/21022025/16/17/image_21022025_16_18_04_9341.jpg
/home/pi/Desktop/images/21022025/16/18/image_21022025_16_18_24_9351.jpg
/home/pi/Desktop/images/21022025/16/18/image_21022025_16_18_34_10344.jpg
/home/pi/Desktop/images/21022025/16/18/image_21022025_16_18_54_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338853280","1338853274","1338853282","1338853276","1338853275","1338853278"],"photo_ids_order":["1338853274","1338853275","1338853276","1338853278","1338853280","1338853282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/94de333d43eb1ccfdd44cd48d1462d0a.jpg","text":"TemporaryFile(/tmp/multipartBody8576145077385104193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151593368,"filename":"image_21022025_16_18_34_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/da7a88826747a08fca34c9c578907c38.jpg","text":"TemporaryFile(/tmp/multipartBody3231482125187464530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151593368,"filename":"image_21022025_16_17_45_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e242844ab6c78d535bb2934ddcdcf8cb.jpg","text":"TemporaryFile(/tmp/multipartBody4765548200432416545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151593368,"filename":"image_21022025_16_18_54_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a36f8e01f8b6d88896d43e8ff0ef5599.jpg","text":"TemporaryFile(/tmp/multipartBody774810852151458512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151593368,"filename":"image_21022025_16_18_04_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b25e1e4d391612b62e798fe72e59a4da.jpg","text":"TemporaryFile(/tmp/multipartBody8456881567684029509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151593368,"filename":"image_21022025_16_17_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f1915d79d0fb5f9d770794ce82810a0.jpg","text":"TemporaryFile(/tmp/multipartBody4841743967962879373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151593368,"filename":"image_21022025_16_18_24_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338853276","file1":"1338853275","file0":"1338853274","file4":"1338853280","file5":"1338853282","file3":"1338853278"},"map_files_photo_id_array":[{"photo_id":"1338853282","filename":"file5"},{"photo_id":"1338853276","filename":"file2"},{"photo_id":"1338853280","filename":"file4"},{"photo_id":"1338853275","filename":"file1"},{"photo_id":"1338853274","filename":"file0"},{"photo_id":"1338853278","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338853280":["hashtag1","hashtag2"]},{"1338853274":["hashtag1","hashtag2"]},{"1338853282":["hashtag1","hashtag2"]},{"1338853276":["hashtag1","hashtag2"]},{"1338853275":["hashtag1","hashtag2"]},{"1338853278":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338853280, 1338853274, 1338853282, 1338853276, 1338853275, 1338853278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.764216899871826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:26:33.153670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/18/image_21022025_16_19_04_10354.jpg', '/home/pi/Desktop/images/21022025/16/19/image_21022025_16_19_24_9359.jpg', '/home/pi/Desktop/images/21022025/16/19/image_21022025_16_19_44_9404.jpg', '/home/pi/Desktop/images/21022025/16/19/image_21022025_16_19_54_10378.jpg', '/home/pi/Desktop/images/21022025/16/19/image_21022025_16_20_05_10479.jpg', '/home/pi/Desktop/images/21022025/16/20/image_21022025_16_20_14_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/18/image_21022025_16_19_04_10354.jpg
/home/pi/Desktop/images/21022025/16/19/image_21022025_16_19_24_9359.jpg
/home/pi/Desktop/images/21022025/16/19/image_21022025_16_19_44_9404.jpg
/home/pi/Desktop/images/21022025/16/19/image_21022025_16_19_54_10378.jpg
/home/pi/Desktop/images/21022025/16/19/image_21022025_16_20_05_10479.jpg
/home/pi/Desktop/images/21022025/16/20/image_21022025_16_20_14_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338853302","1338853304","1338853306","1338853300","1338853308","1338853298"],"photo_ids_order":["1338853298","1338853300","1338853302","1338853304","1338853306","1338853308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9b9b7db334c8cc4019473df26daa6bcd.jpg","text":"TemporaryFile(/tmp/multipartBody2116926969385498491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151653623,"filename":"image_21022025_16_19_44_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59ee049697e6fa555d5723114ad62d7b.jpg","text":"TemporaryFile(/tmp/multipartBody2686664932218285451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151653623,"filename":"image_21022025_16_19_54_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2bd263940aebcee839966a3ae4921f92.jpg","text":"TemporaryFile(/tmp/multipartBody993309443956813838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151653623,"filename":"image_21022025_16_20_05_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/76ba5700038905deb41b884141d8339c.jpg","text":"TemporaryFile(/tmp/multipartBody8724874794223981803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151653623,"filename":"image_21022025_16_19_24_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c08daf67a01e05f66ff2c98a041a0d41.jpg","text":"TemporaryFile(/tmp/multipartBody8565575595246065775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151653623,"filename":"image_21022025_16_20_14_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c8718edef37e11571d4ac0f147cca904.jpg","text":"TemporaryFile(/tmp/multipartBody3047398273615721486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151653623,"filename":"image_21022025_16_19_04_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338853302","file1":"1338853300","file0":"1338853298","file4":"1338853306","file5":"1338853308","file3":"1338853304"},"map_files_photo_id_array":[{"photo_id":"1338853308","filename":"file5"},{"photo_id":"1338853302","filename":"file2"},{"photo_id":"1338853306","filename":"file4"},{"photo_id":"1338853300","filename":"file1"},{"photo_id":"1338853298","filename":"file0"},{"photo_id":"1338853304","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338853302":["hashtag1","hashtag2"]},{"1338853304":["hashtag1","hashtag2"]},{"1338853306":["hashtag1","hashtag2"]},{"1338853300":["hashtag1","hashtag2"]},{"1338853308":["hashtag1","hashtag2"]},{"1338853298":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338853302, 1338853304, 1338853306, 1338853300, 1338853308, 1338853298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.211127042770386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:27:32.339538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/20/image_21022025_16_20_24_10363.jpg', '/home/pi/Desktop/images/21022025/16/20/image_21022025_16_20_35_10358.jpg', '/home/pi/Desktop/images/21022025/16/20/image_21022025_16_20_44_9355.jpg', '/home/pi/Desktop/images/21022025/16/21/image_21022025_16_21_55_10338.jpg', '/home/pi/Desktop/images/21022025/16/22/image_21022025_16_22_15_10461.jpg', '/home/pi/Desktop/images/21022025/16/22/image_21022025_16_22_25_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/20/image_21022025_16_20_24_10363.jpg
/home/pi/Desktop/images/21022025/16/20/image_21022025_16_20_35_10358.jpg
/home/pi/Desktop/images/21022025/16/20/image_21022025_16_20_44_9355.jpg
/home/pi/Desktop/images/21022025/16/21/image_21022025_16_21_55_10338.jpg
/home/pi/Desktop/images/21022025/16/22/image_21022025_16_22_15_10461.jpg
/home/pi/Desktop/images/21022025/16/22/image_21022025_16_22_25_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338853325","1338853345","1338853339","1338853327","1338853323","1338853332"],"photo_ids_order":["1338853323","1338853325","1338853327","1338853332","1338853339","1338853345"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1aa7425d8240fff85a9fa2a2063832fe.jpg","text":"TemporaryFile(/tmp/multipartBody867878244825227040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151712812,"filename":"image_21022025_16_20_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0589bbeffbe316af9326a738026db27b.jpg","text":"TemporaryFile(/tmp/multipartBody653541200430510767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151712812,"filename":"image_21022025_16_22_25_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7e7dad0298a25935c2d8b37f8b3e6250.jpg","text":"TemporaryFile(/tmp/multipartBody6694535215051070278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151712812,"filename":"image_21022025_16_22_15_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/34a106b8ebeadcbd790b3253cc0acb00.jpg","text":"TemporaryFile(/tmp/multipartBody510425366893500971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151712812,"filename":"image_21022025_16_20_44_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ccb84fa8165684e30caf06657fdc8394.jpg","text":"TemporaryFile(/tmp/multipartBody7520377683608179330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151712812,"filename":"image_21022025_16_20_24_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/621b071d291c5a3e1e2dc60840caa320.jpg","text":"TemporaryFile(/tmp/multipartBody4684446342279509459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151712812,"filename":"image_21022025_16_21_55_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338853327","file1":"1338853325","file0":"1338853323","file4":"1338853339","file5":"1338853345","file3":"1338853332"},"map_files_photo_id_array":[{"photo_id":"1338853345","filename":"file5"},{"photo_id":"1338853327","filename":"file2"},{"photo_id":"1338853339","filename":"file4"},{"photo_id":"1338853325","filename":"file1"},{"photo_id":"1338853323","filename":"file0"},{"photo_id":"1338853332","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338853325":["hashtag1","hashtag2"]},{"1338853345":["hashtag1","hashtag2"]},{"1338853339":["hashtag1","hashtag2"]},{"1338853327":["hashtag1","hashtag2"]},{"1338853323":["hashtag1","hashtag2"]},{"1338853332":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338853325, 1338853345, 1338853339, 1338853327, 1338853323, 1338853332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.282997131347656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:28:32.576692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/22/image_21022025_16_22_34_9418.jpg', '/home/pi/Desktop/images/21022025/16/22/image_21022025_16_22_45_10467.jpg', '/home/pi/Desktop/images/21022025/16/22/image_21022025_16_22_54_9339.jpg', '/home/pi/Desktop/images/21022025/16/22/image_21022025_16_23_04_10339.jpg', '/home/pi/Desktop/images/21022025/16/23/image_21022025_16_23_14_9439.jpg', '/home/pi/Desktop/images/21022025/16/23/image_21022025_16_23_24_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/22/image_21022025_16_22_34_9418.jpg
/home/pi/Desktop/images/21022025/16/22/image_21022025_16_22_45_10467.jpg
/home/pi/Desktop/images/21022025/16/22/image_21022025_16_22_54_9339.jpg
/home/pi/Desktop/images/21022025/16/22/image_21022025_16_23_04_10339.jpg
/home/pi/Desktop/images/21022025/16/23/image_21022025_16_23_14_9439.jpg
/home/pi/Desktop/images/21022025/16/23/image_21022025_16_23_24_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338854272","1338854089","1338853897","1338854178","1338853804","1338853991"],"photo_ids_order":["1338853804","1338853897","1338853991","1338854089","1338854178","1338854272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b5b1de2a546adec644786c403193b04d.jpg","text":"TemporaryFile(/tmp/multipartBody1025849173942747340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151773035,"filename":"image_21022025_16_23_24_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f4c913de29a95746fb86b31e200b8b5d.jpg","text":"TemporaryFile(/tmp/multipartBody3373874802704090427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151773035,"filename":"image_21022025_16_23_04_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7cee946ae6d61c582d23fac9400a3798.jpg","text":"TemporaryFile(/tmp/multipartBody8017262720284633776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151773035,"filename":"image_21022025_16_22_45_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2af84f23835882e0d422fe87f017756e.jpg","text":"TemporaryFile(/tmp/multipartBody5772193745141740032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151773035,"filename":"image_21022025_16_23_14_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fbe026771dc3fe26f2eda3d0ee17476e.jpg","text":"TemporaryFile(/tmp/multipartBody4540595643310583253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151773035,"filename":"image_21022025_16_22_34_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/43e5dea7012de28c49e58ac2302f389d.jpg","text":"TemporaryFile(/tmp/multipartBody722244993932164721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151773035,"filename":"image_21022025_16_22_54_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338853991","file1":"1338853897","file0":"1338853804","file4":"1338854178","file5":"1338854272","file3":"1338854089"},"map_files_photo_id_array":[{"photo_id":"1338854272","filename":"file5"},{"photo_id":"1338853991","filename":"file2"},{"photo_id":"1338854178","filename":"file4"},{"photo_id":"1338853897","filename":"file1"},{"photo_id":"1338853804","filename":"file0"},{"photo_id":"1338854089","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338854272":["hashtag1","hashtag2"]},{"1338854089":["hashtag1","hashtag2"]},{"1338853897":["hashtag1","hashtag2"]},{"1338854178":["hashtag1","hashtag2"]},{"1338853804":["hashtag1","hashtag2"]},{"1338853991":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338854272, 1338854089, 1338853897, 1338854178, 1338853804, 1338853991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.235671520233154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:29:33.053842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/23/image_21022025_16_23_35_10450.jpg', '/home/pi/Desktop/images/21022025/16/23/image_21022025_16_23_44_9424.jpg', '/home/pi/Desktop/images/21022025/16/23/image_21022025_16_24_05_10362.jpg', '/home/pi/Desktop/images/21022025/16/24/image_21022025_16_24_14_9370.jpg', '/home/pi/Desktop/images/21022025/16/24/image_21022025_16_24_25_10463.jpg', '/home/pi/Desktop/images/21022025/16/24/image_21022025_16_24_44_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/23/image_21022025_16_23_35_10450.jpg
/home/pi/Desktop/images/21022025/16/23/image_21022025_16_23_44_9424.jpg
/home/pi/Desktop/images/21022025/16/23/image_21022025_16_24_05_10362.jpg
/home/pi/Desktop/images/21022025/16/24/image_21022025_16_24_14_9370.jpg
/home/pi/Desktop/images/21022025/16/24/image_21022025_16_24_25_10463.jpg
/home/pi/Desktop/images/21022025/16/24/image_21022025_16_24_44_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338854300","1338854290","1338854287","1338854302","1338854294","1338854297"],"photo_ids_order":["1338854287","1338854290","1338854294","1338854297","1338854300","1338854302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9392972be5a55e73facefd7e5d5f7450.jpg","text":"TemporaryFile(/tmp/multipartBody1617811053746608268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151833525,"filename":"image_21022025_16_24_25_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a6a8fb6a06839281ab778cf2a4f032fd.jpg","text":"TemporaryFile(/tmp/multipartBody7368540347829110806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151833525,"filename":"image_21022025_16_23_44_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bdfcef94a09698f9e7f1c143b03d9f79.jpg","text":"TemporaryFile(/tmp/multipartBody3761404209731484857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151833525,"filename":"image_21022025_16_23_35_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/378748ebfd1e87d5d32d80ee12181389.jpg","text":"TemporaryFile(/tmp/multipartBody1762787777818522107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151833525,"filename":"image_21022025_16_24_44_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e6a19fe0c2149a8f0bb19c12e97983f4.jpg","text":"TemporaryFile(/tmp/multipartBody9059581380537497628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151833525,"filename":"image_21022025_16_24_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/189cd9be2a0c0f1b14bef77c55b61810.jpg","text":"TemporaryFile(/tmp/multipartBody2031164011485427183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151833525,"filename":"image_21022025_16_24_14_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338854294","file1":"1338854290","file0":"1338854287","file4":"1338854300","file5":"1338854302","file3":"1338854297"},"map_files_photo_id_array":[{"photo_id":"1338854302","filename":"file5"},{"photo_id":"1338854294","filename":"file2"},{"photo_id":"1338854300","filename":"file4"},{"photo_id":"1338854290","filename":"file1"},{"photo_id":"1338854287","filename":"file0"},{"photo_id":"1338854297","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338854300":["hashtag1","hashtag2"]},{"1338854290":["hashtag1","hashtag2"]},{"1338854287":["hashtag1","hashtag2"]},{"1338854302":["hashtag1","hashtag2"]},{"1338854294":["hashtag1","hashtag2"]},{"1338854297":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338854300, 1338854290, 1338854287, 1338854302, 1338854294, 1338854297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.042179584503174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:30:32.350189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/24/image_21022025_16_25_04_9388.jpg', '/home/pi/Desktop/images/21022025/16/25/image_21022025_16_25_15_10459.jpg', '/home/pi/Desktop/images/21022025/16/25/image_21022025_16_25_54_9335.jpg', '/home/pi/Desktop/images/21022025/16/25/image_21022025_16_26_04_10361.jpg', '/home/pi/Desktop/images/21022025/16/26/image_21022025_16_26_24_9422.jpg', '/home/pi/Desktop/images/21022025/16/26/image_21022025_16_26_54_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/24/image_21022025_16_25_04_9388.jpg
/home/pi/Desktop/images/21022025/16/25/image_21022025_16_25_15_10459.jpg
/home/pi/Desktop/images/21022025/16/25/image_21022025_16_25_54_9335.jpg
/home/pi/Desktop/images/21022025/16/25/image_21022025_16_26_04_10361.jpg
/home/pi/Desktop/images/21022025/16/26/image_21022025_16_26_24_9422.jpg
/home/pi/Desktop/images/21022025/16/26/image_21022025_16_26_54_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338854711","1338854644","1338854641","1338854643","1338854646","1338854703"],"photo_ids_order":["1338854641","1338854643","1338854644","1338854646","1338854703","1338854711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4193942dceeb114e27c3bf9cf09ee4e2.jpg","text":"TemporaryFile(/tmp/multipartBody3247795089724581759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151892817,"filename":"image_21022025_16_26_54_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/850bee1303f7b4a24989d034ffb9f81d.jpg","text":"TemporaryFile(/tmp/multipartBody4473123104870551492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151892817,"filename":"image_21022025_16_25_54_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e136b127731bc98801202e804faf2d6f.jpg","text":"TemporaryFile(/tmp/multipartBody4378013807202375908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151892817,"filename":"image_21022025_16_25_04_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/67f1a2c620d174285358d1098bdd3e58.jpg","text":"TemporaryFile(/tmp/multipartBody2213711551879052668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151892817,"filename":"image_21022025_16_25_15_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/88390c772ea5f09149a2bc1f742ec0c0.jpg","text":"TemporaryFile(/tmp/multipartBody7419109559054728762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151892817,"filename":"image_21022025_16_26_04_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c2678588e6b1a3b35feaf3df2ce3065.jpg","text":"TemporaryFile(/tmp/multipartBody5400800097550700414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151892817,"filename":"image_21022025_16_26_24_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338854644","file1":"1338854643","file0":"1338854641","file4":"1338854703","file5":"1338854711","file3":"1338854646"},"map_files_photo_id_array":[{"photo_id":"1338854711","filename":"file5"},{"photo_id":"1338854644","filename":"file2"},{"photo_id":"1338854703","filename":"file4"},{"photo_id":"1338854643","filename":"file1"},{"photo_id":"1338854641","filename":"file0"},{"photo_id":"1338854646","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338854711":["hashtag1","hashtag2"]},{"1338854644":["hashtag1","hashtag2"]},{"1338854641":["hashtag1","hashtag2"]},{"1338854643":["hashtag1","hashtag2"]},{"1338854646":["hashtag1","hashtag2"]},{"1338854703":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338854711, 1338854644, 1338854641, 1338854643, 1338854646, 1338854703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.732765913009644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:31:32.483780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/27/image_21022025_16_27_14_9322.jpg', '/home/pi/Desktop/images/21022025/16/27/image_21022025_16_27_25_10480.jpg', '/home/pi/Desktop/images/21022025/16/27/image_21022025_16_27_34_9359.jpg', '/home/pi/Desktop/images/21022025/16/27/image_21022025_16_28_04_9344.jpg', '/home/pi/Desktop/images/21022025/16/28/image_21022025_16_28_15_10423.jpg', '/home/pi/Desktop/images/21022025/16/28/image_21022025_16_28_45_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/27/image_21022025_16_27_14_9322.jpg
/home/pi/Desktop/images/21022025/16/27/image_21022025_16_27_25_10480.jpg
/home/pi/Desktop/images/21022025/16/27/image_21022025_16_27_34_9359.jpg
/home/pi/Desktop/images/21022025/16/27/image_21022025_16_28_04_9344.jpg
/home/pi/Desktop/images/21022025/16/28/image_21022025_16_28_15_10423.jpg
/home/pi/Desktop/images/21022025/16/28/image_21022025_16_28_45_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338854731","1338854812","1338854961","1338854910","1338854733","1338854960"],"photo_ids_order":["1338854731","1338854733","1338854812","1338854910","1338854960","1338854961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/44c36471163feff72331fc44c7c00493.jpg","text":"TemporaryFile(/tmp/multipartBody1479239281429631314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151952946,"filename":"image_21022025_16_27_14_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b0cf66c72483277e7a35a09edd56b269.jpg","text":"TemporaryFile(/tmp/multipartBody8038780732189719866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151952946,"filename":"image_21022025_16_27_34_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/021a9a374fa76757e487797b4c9ef835.jpg","text":"TemporaryFile(/tmp/multipartBody3249659098004000304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151952946,"filename":"image_21022025_16_28_45_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f55d3b0ec8eaa8876b35c175e175e578.jpg","text":"TemporaryFile(/tmp/multipartBody7768014971763895481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151952946,"filename":"image_21022025_16_28_04_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/635ec763e881f59d18138bfaca59257d.jpg","text":"TemporaryFile(/tmp/multipartBody8430851504565077819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151952946,"filename":"image_21022025_16_27_25_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/799c722e09e8c119468e6139c9019b22.jpg","text":"TemporaryFile(/tmp/multipartBody2609181001826502499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740151952946,"filename":"image_21022025_16_28_15_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338854812","file1":"1338854733","file0":"1338854731","file4":"1338854960","file5":"1338854961","file3":"1338854910"},"map_files_photo_id_array":[{"photo_id":"1338854961","filename":"file5"},{"photo_id":"1338854812","filename":"file2"},{"photo_id":"1338854960","filename":"file4"},{"photo_id":"1338854733","filename":"file1"},{"photo_id":"1338854731","filename":"file0"},{"photo_id":"1338854910","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338854731":["hashtag1","hashtag2"]},{"1338854812":["hashtag1","hashtag2"]},{"1338854961":["hashtag1","hashtag2"]},{"1338854910":["hashtag1","hashtag2"]},{"1338854733":["hashtag1","hashtag2"]},{"1338854960":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338854731, 1338854812, 1338854961, 1338854910, 1338854733, 1338854960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.584125995635986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:32:32.639130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/28/image_21022025_16_28_54_9352.jpg', '/home/pi/Desktop/images/21022025/16/28/image_21022025_16_29_04_10333.jpg', '/home/pi/Desktop/images/21022025/16/29/image_21022025_16_29_15_10334.jpg', '/home/pi/Desktop/images/21022025/16/29/image_21022025_16_29_45_10347.jpg', '/home/pi/Desktop/images/21022025/16/29/image_21022025_16_30_05_10347.jpg', '/home/pi/Desktop/images/21022025/16/30/image_21022025_16_30_35_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/28/image_21022025_16_28_54_9352.jpg
/home/pi/Desktop/images/21022025/16/28/image_21022025_16_29_04_10333.jpg
/home/pi/Desktop/images/21022025/16/29/image_21022025_16_29_15_10334.jpg
/home/pi/Desktop/images/21022025/16/29/image_21022025_16_29_45_10347.jpg
/home/pi/Desktop/images/21022025/16/29/image_21022025_16_30_05_10347.jpg
/home/pi/Desktop/images/21022025/16/30/image_21022025_16_30_35_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338855104","1338855139","1338855153","1338855141","1338855143","1338855122"],"photo_ids_order":["1338855104","1338855122","1338855139","1338855141","1338855143","1338855153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c417b16b413da68807504f40fc0c992.jpg","text":"TemporaryFile(/tmp/multipartBody2415688099119913766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152013098,"filename":"image_21022025_16_28_54_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd94ab91313c4d79f39651c2831ec7ce.jpg","text":"TemporaryFile(/tmp/multipartBody8221859234627765864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152013098,"filename":"image_21022025_16_29_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8f4828189721275010bbc0825447a63d.jpg","text":"TemporaryFile(/tmp/multipartBody931923590335575463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152013098,"filename":"image_21022025_16_30_35_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ec066dea0ed85f42e01c8520d425cbc5.jpg","text":"TemporaryFile(/tmp/multipartBody8873493933321715421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152013098,"filename":"image_21022025_16_29_45_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aa5772ecdb26ed095b2503a9b7913447.jpg","text":"TemporaryFile(/tmp/multipartBody2987568943195279646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152013098,"filename":"image_21022025_16_30_05_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef4fac4e843fefb2a5affd76d47c34da.jpg","text":"TemporaryFile(/tmp/multipartBody5417157053921106018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152013098,"filename":"image_21022025_16_29_04_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338855139","file1":"1338855122","file0":"1338855104","file4":"1338855143","file5":"1338855153","file3":"1338855141"},"map_files_photo_id_array":[{"photo_id":"1338855153","filename":"file5"},{"photo_id":"1338855139","filename":"file2"},{"photo_id":"1338855143","filename":"file4"},{"photo_id":"1338855122","filename":"file1"},{"photo_id":"1338855104","filename":"file0"},{"photo_id":"1338855141","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338855104":["hashtag1","hashtag2"]},{"1338855139":["hashtag1","hashtag2"]},{"1338855153":["hashtag1","hashtag2"]},{"1338855141":["hashtag1","hashtag2"]},{"1338855143":["hashtag1","hashtag2"]},{"1338855122":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338855104, 1338855139, 1338855153, 1338855141, 1338855143, 1338855122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.29358220100403 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:33:32.899345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/30/image_21022025_16_30_44_9334.jpg', '/home/pi/Desktop/images/21022025/16/30/image_21022025_16_30_54_10360.jpg', '/home/pi/Desktop/images/21022025/16/30/image_21022025_16_31_05_10422.jpg', '/home/pi/Desktop/images/21022025/16/31/image_21022025_16_31_14_9436.jpg', '/home/pi/Desktop/images/21022025/16/31/image_21022025_16_31_25_10505.jpg', '/home/pi/Desktop/images/21022025/16/31/image_21022025_16_31_34_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/30/image_21022025_16_30_44_9334.jpg
/home/pi/Desktop/images/21022025/16/30/image_21022025_16_30_54_10360.jpg
/home/pi/Desktop/images/21022025/16/30/image_21022025_16_31_05_10422.jpg
/home/pi/Desktop/images/21022025/16/31/image_21022025_16_31_14_9436.jpg
/home/pi/Desktop/images/21022025/16/31/image_21022025_16_31_25_10505.jpg
/home/pi/Desktop/images/21022025/16/31/image_21022025_16_31_34_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338855484","1338855477","1338855482","1338855479","1338855473","1338855475"],"photo_ids_order":["1338855473","1338855475","1338855477","1338855479","1338855482","1338855484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ba9b821c0f66dc932e8461bae19480c.jpg","text":"TemporaryFile(/tmp/multipartBody2901813447944896918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152073372,"filename":"image_21022025_16_31_34_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ead641eb65fd1af531dadd53c195aa8b.jpg","text":"TemporaryFile(/tmp/multipartBody4716970394355741363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152073372,"filename":"image_21022025_16_31_05_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/72f6d357fc1c739cebf470613259ffbf.jpg","text":"TemporaryFile(/tmp/multipartBody6358326852598461759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152073372,"filename":"image_21022025_16_31_25_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a798558b62acc5f6e20075f3896b44f1.jpg","text":"TemporaryFile(/tmp/multipartBody8747087993526908676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152073372,"filename":"image_21022025_16_31_14_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1de7003465535f4ec39937daa92db1b9.jpg","text":"TemporaryFile(/tmp/multipartBody7948412677602060977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152073372,"filename":"image_21022025_16_30_44_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/57b94f9c8c64975d60c3a95ef27e0eef.jpg","text":"TemporaryFile(/tmp/multipartBody8686087342095966161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152073372,"filename":"image_21022025_16_30_54_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338855477","file1":"1338855475","file0":"1338855473","file4":"1338855482","file5":"1338855484","file3":"1338855479"},"map_files_photo_id_array":[{"photo_id":"1338855484","filename":"file5"},{"photo_id":"1338855477","filename":"file2"},{"photo_id":"1338855482","filename":"file4"},{"photo_id":"1338855475","filename":"file1"},{"photo_id":"1338855473","filename":"file0"},{"photo_id":"1338855479","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338855484":["hashtag1","hashtag2"]},{"1338855477":["hashtag1","hashtag2"]},{"1338855482":["hashtag1","hashtag2"]},{"1338855479":["hashtag1","hashtag2"]},{"1338855473":["hashtag1","hashtag2"]},{"1338855475":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338855484, 1338855477, 1338855482, 1338855479, 1338855473, 1338855475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.492573022842407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:34:33.027645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/31/image_21022025_16_31_44_10378.jpg', '/home/pi/Desktop/images/21022025/16/31/image_21022025_16_31_54_9475.jpg', '/home/pi/Desktop/images/21022025/16/32/image_21022025_16_32_15_10489.jpg', '/home/pi/Desktop/images/21022025/16/32/image_21022025_16_32_24_9426.jpg', '/home/pi/Desktop/images/21022025/16/32/image_21022025_16_32_44_9428.jpg', '/home/pi/Desktop/images/21022025/16/32/image_21022025_16_32_54_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/31/image_21022025_16_31_44_10378.jpg
/home/pi/Desktop/images/21022025/16/31/image_21022025_16_31_54_9475.jpg
/home/pi/Desktop/images/21022025/16/32/image_21022025_16_32_15_10489.jpg
/home/pi/Desktop/images/21022025/16/32/image_21022025_16_32_24_9426.jpg
/home/pi/Desktop/images/21022025/16/32/image_21022025_16_32_44_9428.jpg
/home/pi/Desktop/images/21022025/16/32/image_21022025_16_32_54_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338855499","1338855526","1338855498","1338855500","1338855518","1338855512"],"photo_ids_order":["1338855498","1338855499","1338855500","1338855512","1338855518","1338855526"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be22b0011c5d337d0e08937313f6e98d.jpg","text":"TemporaryFile(/tmp/multipartBody1188117530078984511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152133487,"filename":"image_21022025_16_31_54_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/43184497080998f4334aa36aee0331b1.jpg","text":"TemporaryFile(/tmp/multipartBody8018309637044829307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152133487,"filename":"image_21022025_16_32_54_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/afb63c1afffd571e5fb57f80b5f82941.jpg","text":"TemporaryFile(/tmp/multipartBody746639445605229451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152133487,"filename":"image_21022025_16_31_44_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bfa9d00e86f1b0f5606c81976d2da73b.jpg","text":"TemporaryFile(/tmp/multipartBody2597870932120429801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152133487,"filename":"image_21022025_16_32_15_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/30c4fea876df4dc09a2f8259d092e39d.jpg","text":"TemporaryFile(/tmp/multipartBody1377873120930995990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152133487,"filename":"image_21022025_16_32_44_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e3a31503717dbb77c9f4cec196aa84c6.jpg","text":"TemporaryFile(/tmp/multipartBody2017939393187846277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152133487,"filename":"image_21022025_16_32_24_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338855500","file1":"1338855499","file0":"1338855498","file4":"1338855518","file5":"1338855526","file3":"1338855512"},"map_files_photo_id_array":[{"photo_id":"1338855526","filename":"file5"},{"photo_id":"1338855500","filename":"file2"},{"photo_id":"1338855518","filename":"file4"},{"photo_id":"1338855499","filename":"file1"},{"photo_id":"1338855498","filename":"file0"},{"photo_id":"1338855512","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338855499":["hashtag1","hashtag2"]},{"1338855526":["hashtag1","hashtag2"]},{"1338855498":["hashtag1","hashtag2"]},{"1338855500":["hashtag1","hashtag2"]},{"1338855518":["hashtag1","hashtag2"]},{"1338855512":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338855499, 1338855526, 1338855498, 1338855500, 1338855518, 1338855512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14317750930786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:35:32.393615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/33/image_21022025_16_33_14_9339.jpg', '/home/pi/Desktop/images/21022025/16/33/image_21022025_16_33_34_9445.jpg', '/home/pi/Desktop/images/21022025/16/33/image_21022025_16_33_44_10450.jpg', '/home/pi/Desktop/images/21022025/16/33/image_21022025_16_34_04_9442.jpg', '/home/pi/Desktop/images/21022025/16/34/image_21022025_16_34_15_10461.jpg', '/home/pi/Desktop/images/21022025/16/34/image_21022025_16_34_24_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/33/image_21022025_16_33_14_9339.jpg
/home/pi/Desktop/images/21022025/16/33/image_21022025_16_33_34_9445.jpg
/home/pi/Desktop/images/21022025/16/33/image_21022025_16_33_44_10450.jpg
/home/pi/Desktop/images/21022025/16/33/image_21022025_16_34_04_9442.jpg
/home/pi/Desktop/images/21022025/16/34/image_21022025_16_34_15_10461.jpg
/home/pi/Desktop/images/21022025/16/34/image_21022025_16_34_24_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338856470","1338856551","1338856560","1338856553","1338856555","1338856558"],"photo_ids_order":["1338856470","1338856551","1338856553","1338856555","1338856558","1338856560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/00ea4829a8f3d77ab0141e300ebacf14.jpg","text":"TemporaryFile(/tmp/multipartBody7447762258391907913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152192873,"filename":"image_21022025_16_33_14_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2f49219eab76703d4f7f11424d9be333.jpg","text":"TemporaryFile(/tmp/multipartBody6393658025858454150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152192873,"filename":"image_21022025_16_33_34_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3328d4ad199536ffdccaf5188cc887ac.jpg","text":"TemporaryFile(/tmp/multipartBody1391415886886710288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152192873,"filename":"image_21022025_16_34_24_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a7c8951c835ffc4e17d9d5b7666dcc9.jpg","text":"TemporaryFile(/tmp/multipartBody3219465430756185020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152192873,"filename":"image_21022025_16_33_44_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae4375a6fb1dc220ffeea0169d6babda.jpg","text":"TemporaryFile(/tmp/multipartBody8980196305629879133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152192873,"filename":"image_21022025_16_34_04_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7829693718180ad0b45ce478248e8a48.jpg","text":"TemporaryFile(/tmp/multipartBody1896075149821678713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152192873,"filename":"image_21022025_16_34_15_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338856553","file1":"1338856551","file0":"1338856470","file4":"1338856558","file5":"1338856560","file3":"1338856555"},"map_files_photo_id_array":[{"photo_id":"1338856560","filename":"file5"},{"photo_id":"1338856553","filename":"file2"},{"photo_id":"1338856558","filename":"file4"},{"photo_id":"1338856551","filename":"file1"},{"photo_id":"1338856470","filename":"file0"},{"photo_id":"1338856555","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338856470":["hashtag1","hashtag2"]},{"1338856551":["hashtag1","hashtag2"]},{"1338856560":["hashtag1","hashtag2"]},{"1338856553":["hashtag1","hashtag2"]},{"1338856555":["hashtag1","hashtag2"]},{"1338856558":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338856470, 1338856551, 1338856560, 1338856553, 1338856555, 1338856558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.787330150604248 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:36:32.555920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/34/image_21022025_16_34_34_10366.jpg', '/home/pi/Desktop/images/21022025/16/34/image_21022025_16_34_44_9455.jpg', '/home/pi/Desktop/images/21022025/16/34/image_21022025_16_34_54_10429.jpg', '/home/pi/Desktop/images/21022025/16/35/image_21022025_16_35_14_9388.jpg', '/home/pi/Desktop/images/21022025/16/35/image_21022025_16_35_25_10445.jpg', '/home/pi/Desktop/images/21022025/16/35/image_21022025_16_35_34_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/34/image_21022025_16_34_34_10366.jpg
/home/pi/Desktop/images/21022025/16/34/image_21022025_16_34_44_9455.jpg
/home/pi/Desktop/images/21022025/16/34/image_21022025_16_34_54_10429.jpg
/home/pi/Desktop/images/21022025/16/35/image_21022025_16_35_14_9388.jpg
/home/pi/Desktop/images/21022025/16/35/image_21022025_16_35_25_10445.jpg
/home/pi/Desktop/images/21022025/16/35/image_21022025_16_35_34_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338857115","1338857118","1338857112","1338856901","1338856795","1338856808"],"photo_ids_order":["1338856795","1338856808","1338856901","1338857112","1338857115","1338857118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6b2fc4f4e163f96005f0422cb1602cf1.jpg","text":"TemporaryFile(/tmp/multipartBody8706604883013776260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152253019,"filename":"image_21022025_16_35_25_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2bffbaebf070def1e5dc9ca44e55b30b.jpg","text":"TemporaryFile(/tmp/multipartBody8756475136339637977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152253019,"filename":"image_21022025_16_35_34_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/603f02ccb45adecead7d7259c652aa7e.jpg","text":"TemporaryFile(/tmp/multipartBody7723997169163340514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152253019,"filename":"image_21022025_16_35_14_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6c3b0b712a8d5544f1ec9c43b3c631ca.jpg","text":"TemporaryFile(/tmp/multipartBody6876046216037545367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152253019,"filename":"image_21022025_16_34_54_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c25d54a7d5df50c69a8460606f5b391.jpg","text":"TemporaryFile(/tmp/multipartBody7052435237442877164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152253019,"filename":"image_21022025_16_34_34_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/28ea51d359dc52a0ebc0da621735b2ce.jpg","text":"TemporaryFile(/tmp/multipartBody6203939312396813863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152253019,"filename":"image_21022025_16_34_44_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338856901","file1":"1338856808","file0":"1338856795","file4":"1338857115","file5":"1338857118","file3":"1338857112"},"map_files_photo_id_array":[{"photo_id":"1338857118","filename":"file5"},{"photo_id":"1338856901","filename":"file2"},{"photo_id":"1338857115","filename":"file4"},{"photo_id":"1338856808","filename":"file1"},{"photo_id":"1338856795","filename":"file0"},{"photo_id":"1338857112","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338857115":["hashtag1","hashtag2"]},{"1338857118":["hashtag1","hashtag2"]},{"1338857112":["hashtag1","hashtag2"]},{"1338856901":["hashtag1","hashtag2"]},{"1338856795":["hashtag1","hashtag2"]},{"1338856808":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338857115, 1338857118, 1338857112, 1338856901, 1338856795, 1338856808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.301891803741455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:37:32.807036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/35/image_21022025_16_35_44_10393.jpg', '/home/pi/Desktop/images/21022025/16/35/image_21022025_16_35_55_10461.jpg', '/home/pi/Desktop/images/21022025/16/36/image_21022025_16_36_14_10308.jpg', '/home/pi/Desktop/images/21022025/16/36/image_21022025_16_36_24_9649.jpg', '/home/pi/Desktop/images/21022025/16/36/image_21022025_16_36_45_10356.jpg', '/home/pi/Desktop/images/21022025/16/36/image_21022025_16_36_54_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/35/image_21022025_16_35_44_10393.jpg
/home/pi/Desktop/images/21022025/16/35/image_21022025_16_35_55_10461.jpg
/home/pi/Desktop/images/21022025/16/36/image_21022025_16_36_14_10308.jpg
/home/pi/Desktop/images/21022025/16/36/image_21022025_16_36_24_9649.jpg
/home/pi/Desktop/images/21022025/16/36/image_21022025_16_36_45_10356.jpg
/home/pi/Desktop/images/21022025/16/36/image_21022025_16_36_54_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338857271","1338857273","1338857282","1338857261","1338857284","1338857263"],"photo_ids_order":["1338857261","1338857263","1338857271","1338857273","1338857282","1338857284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/836956c4cad0162356570f0d55f5f758.jpg","text":"TemporaryFile(/tmp/multipartBody1885151773609444232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152313269,"filename":"image_21022025_16_36_14_10308.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/462ccb1cdc80aad2ee34a0d1d4c8601a.jpg","text":"TemporaryFile(/tmp/multipartBody3967598591014628277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152313269,"filename":"image_21022025_16_36_24_9649.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8a87822a5d10bdf45e97c5ad0bd3b5d5.jpg","text":"TemporaryFile(/tmp/multipartBody1608839323999563705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152313269,"filename":"image_21022025_16_36_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b3154a6ba20b6e082fd4836065d33a9a.jpg","text":"TemporaryFile(/tmp/multipartBody2008219563190002792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152313269,"filename":"image_21022025_16_35_44_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/478a7d8a4519c87a79c83ce30cd03d4b.jpg","text":"TemporaryFile(/tmp/multipartBody8482977162559546004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152313269,"filename":"image_21022025_16_36_54_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59fc7e99694644a09baa680dcaa4106e.jpg","text":"TemporaryFile(/tmp/multipartBody6865490800454794279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152313269,"filename":"image_21022025_16_35_55_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338857271","file1":"1338857263","file0":"1338857261","file4":"1338857282","file5":"1338857284","file3":"1338857273"},"map_files_photo_id_array":[{"photo_id":"1338857284","filename":"file5"},{"photo_id":"1338857271","filename":"file2"},{"photo_id":"1338857282","filename":"file4"},{"photo_id":"1338857263","filename":"file1"},{"photo_id":"1338857261","filename":"file0"},{"photo_id":"1338857273","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338857271":["hashtag1","hashtag2"]},{"1338857273":["hashtag1","hashtag2"]},{"1338857282":["hashtag1","hashtag2"]},{"1338857261":["hashtag1","hashtag2"]},{"1338857284":["hashtag1","hashtag2"]},{"1338857263":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338857271, 1338857273, 1338857282, 1338857261, 1338857284, 1338857263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.901498794555664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:38:33.066050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/36/image_21022025_16_37_05_10437.jpg', '/home/pi/Desktop/images/21022025/16/37/image_21022025_16_37_14_9430.jpg', '/home/pi/Desktop/images/21022025/16/37/image_21022025_16_37_24_10367.jpg', '/home/pi/Desktop/images/21022025/16/37/image_21022025_16_37_35_10432.jpg', '/home/pi/Desktop/images/21022025/16/37/image_21022025_16_37_44_9346.jpg', '/home/pi/Desktop/images/21022025/16/38/image_21022025_16_38_14_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/36/image_21022025_16_37_05_10437.jpg
/home/pi/Desktop/images/21022025/16/37/image_21022025_16_37_14_9430.jpg
/home/pi/Desktop/images/21022025/16/37/image_21022025_16_37_24_10367.jpg
/home/pi/Desktop/images/21022025/16/37/image_21022025_16_37_35_10432.jpg
/home/pi/Desktop/images/21022025/16/37/image_21022025_16_37_44_9346.jpg
/home/pi/Desktop/images/21022025/16/38/image_21022025_16_38_14_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338857313","1338857310","1338857304","1338857306","1338857305","1338857308"],"photo_ids_order":["1338857304","1338857305","1338857306","1338857308","1338857310","1338857313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fadb37d08b9bbcab3b874b7521ec8f93.jpg","text":"TemporaryFile(/tmp/multipartBody1211829281531105042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152373532,"filename":"image_21022025_16_38_14_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/68bb95b29a495e57124aaeed7ab7b5a1.jpg","text":"TemporaryFile(/tmp/multipartBody4154943351540432587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152373532,"filename":"image_21022025_16_37_44_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2534c961ea29e36bec7315a88c86273.jpg","text":"TemporaryFile(/tmp/multipartBody5013945497990387017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152373532,"filename":"image_21022025_16_37_05_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80868e4ea1d18a6a0720b240ec51ce86.jpg","text":"TemporaryFile(/tmp/multipartBody546170461318785845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152373532,"filename":"image_21022025_16_37_24_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/28f950efc1caeb5afd403b47eaf5eb04.jpg","text":"TemporaryFile(/tmp/multipartBody5515423178106572707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152373532,"filename":"image_21022025_16_37_14_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d8aee203bd6d678c6eec918aa2b74016.jpg","text":"TemporaryFile(/tmp/multipartBody6551968906647498813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152373532,"filename":"image_21022025_16_37_35_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338857306","file1":"1338857305","file0":"1338857304","file4":"1338857310","file5":"1338857313","file3":"1338857308"},"map_files_photo_id_array":[{"photo_id":"1338857313","filename":"file5"},{"photo_id":"1338857306","filename":"file2"},{"photo_id":"1338857310","filename":"file4"},{"photo_id":"1338857305","filename":"file1"},{"photo_id":"1338857304","filename":"file0"},{"photo_id":"1338857308","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338857313":["hashtag1","hashtag2"]},{"1338857310":["hashtag1","hashtag2"]},{"1338857304":["hashtag1","hashtag2"]},{"1338857306":["hashtag1","hashtag2"]},{"1338857305":["hashtag1","hashtag2"]},{"1338857308":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338857313, 1338857310, 1338857304, 1338857306, 1338857305, 1338857308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.896499156951904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:39:32.229073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/38/image_21022025_16_38_54_9394.jpg', '/home/pi/Desktop/images/21022025/16/38/image_21022025_16_39_05_10461.jpg', '/home/pi/Desktop/images/21022025/16/39/image_21022025_16_39_14_9450.jpg', '/home/pi/Desktop/images/21022025/16/39/image_21022025_16_39_24_10439.jpg', '/home/pi/Desktop/images/21022025/16/39/image_21022025_16_39_34_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/38/image_21022025_16_38_54_9394.jpg
/home/pi/Desktop/images/21022025/16/38/image_21022025_16_39_05_10461.jpg
/home/pi/Desktop/images/21022025/16/39/image_21022025_16_39_14_9450.jpg
/home/pi/Desktop/images/21022025/16/39/image_21022025_16_39_24_10439.jpg
/home/pi/Desktop/images/21022025/16/39/image_21022025_16_39_34_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338857358","1338857352","1338857349","1338857360","1338857356"],"photo_ids_order":["1338857349","1338857352","1338857356","1338857358","1338857360"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/338cb2210ac51c2e9192380ef2c7dcd1.jpg","text":"TemporaryFile(/tmp/multipartBody7146058298039771320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152432680,"filename":"image_21022025_16_39_24_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d40639ca2f6c4a1e1a4786bdab95c0b2.jpg","text":"TemporaryFile(/tmp/multipartBody5812528266939781989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152432680,"filename":"image_21022025_16_39_05_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1e179c92dfff30aa865c01707257cbd3.jpg","text":"TemporaryFile(/tmp/multipartBody7177695079674651479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152432680,"filename":"image_21022025_16_38_54_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/304ab11a15d025394f74b83e6b49559c.jpg","text":"TemporaryFile(/tmp/multipartBody1661834708682709358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152432680,"filename":"image_21022025_16_39_34_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/545bbf95ce7223d0c975a0e7d499ed26.jpg","text":"TemporaryFile(/tmp/multipartBody2981196536123879107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152432680,"filename":"image_21022025_16_39_14_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338857356","file1":"1338857352","file0":"1338857349","file4":"1338857360","file3":"1338857358"},"map_files_photo_id_array":[{"photo_id":"1338857356","filename":"file2"},{"photo_id":"1338857360","filename":"file4"},{"photo_id":"1338857352","filename":"file1"},{"photo_id":"1338857349","filename":"file0"},{"photo_id":"1338857358","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338857358":["hashtag1","hashtag2"]},{"1338857352":["hashtag1","hashtag2"]},{"1338857349":["hashtag1","hashtag2"]},{"1338857360":["hashtag1","hashtag2"]},{"1338857356":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338857358, 1338857352, 1338857349, 1338857360, 1338857356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.622844696044922 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 16:40:03.204999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/24/image_20022025_17_24_26_9398.jpg', '/home/pi/Desktop/images/20022025/17/24/image_20022025_17_24_36_10345.jpg', '/home/pi/Desktop/images/20022025/17/24/image_20022025_17_24_47_10337.jpg', '/home/pi/Desktop/images/20022025/17/24/image_20022025_17_24_56_9339.jpg', '/home/pi/Desktop/images/20022025/17/24/image_20022025_17_25_06_10341.jpg', '/home/pi/Desktop/images/20022025/17/25/image_20022025_17_25_17_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/24/image_20022025_17_24_26_9398.jpg
/home/pi/Desktop/images/20022025/17/24/image_20022025_17_24_36_10345.jpg
/home/pi/Desktop/images/20022025/17/24/image_20022025_17_24_47_10337.jpg
/home/pi/Desktop/images/20022025/17/24/image_20022025_17_24_56_9339.jpg
/home/pi/Desktop/images/20022025/17/24/image_20022025_17_25_06_10341.jpg
/home/pi/Desktop/images/20022025/17/25/image_20022025_17_25_17_10416.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338857412","1338857405","1338857408","1338857395","1338857401","1338857397"],"photo_ids_order":["1338857395","1338857397","1338857401","1338857405","1338857408","1338857412"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b4b57ea77d5104ed300f8c3e32141cb5.jpg","text":"TemporaryFile(/tmp/multipartBody7553164715131744924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152464680,"filename":"image_20022025_17_25_17_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81e06acbbba209416963ca2a9bcbb1ee.jpg","text":"TemporaryFile(/tmp/multipartBody7998917206422419214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152464680,"filename":"image_20022025_17_24_56_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/432cd8167e6be0681e0cc7056e59d348.jpg","text":"TemporaryFile(/tmp/multipartBody4279539437759802151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152464680,"filename":"image_20022025_17_25_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dfb72f5f3decf2546e77843df0f7222f.jpg","text":"TemporaryFile(/tmp/multipartBody7950530976768809006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152464680,"filename":"image_20022025_17_24_26_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/494d14aec27b5bd96d2c86a4e9cbfa61.jpg","text":"TemporaryFile(/tmp/multipartBody1869796164670654153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152464680,"filename":"image_20022025_17_24_47_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a4d037c213caa00440b4ddaee9f24d0e.jpg","text":"TemporaryFile(/tmp/multipartBody3252586775274297099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152464680,"filename":"image_20022025_17_24_36_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338857401","file1":"1338857397","file0":"1338857395","file4":"1338857408","file5":"1338857412","file3":"1338857405"},"map_files_photo_id_array":[{"photo_id":"1338857412","filename":"file5"},{"photo_id":"1338857401","filename":"file2"},{"photo_id":"1338857408","filename":"file4"},{"photo_id":"1338857397","filename":"file1"},{"photo_id":"1338857395","filename":"file0"},{"photo_id":"1338857405","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338857412":["hashtag1","hashtag2"]},{"1338857405":["hashtag1","hashtag2"]},{"1338857408":["hashtag1","hashtag2"]},{"1338857395":["hashtag1","hashtag2"]},{"1338857401":["hashtag1","hashtag2"]},{"1338857397":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338857412, 1338857405, 1338857408, 1338857395, 1338857401, 1338857397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22245788574219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 16:40:42.541102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/39/image_21022025_16_39_55_10463.jpg', '/home/pi/Desktop/images/21022025/16/39/image_21022025_16_40_04_9396.jpg', '/home/pi/Desktop/images/21022025/16/40/image_21022025_16_40_15_10412.jpg', '/home/pi/Desktop/images/21022025/16/40/image_21022025_16_40_24_9481.jpg', '/home/pi/Desktop/images/21022025/16/40/image_21022025_16_40_35_10427.jpg', '/home/pi/Desktop/images/21022025/16/40/image_21022025_16_40_44_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/39/image_21022025_16_39_55_10463.jpg
/home/pi/Desktop/images/21022025/16/39/image_21022025_16_40_04_9396.jpg
/home/pi/Desktop/images/21022025/16/40/image_21022025_16_40_15_10412.jpg
/home/pi/Desktop/images/21022025/16/40/image_21022025_16_40_24_9481.jpg
/home/pi/Desktop/images/21022025/16/40/image_21022025_16_40_35_10427.jpg
/home/pi/Desktop/images/21022025/16/40/image_21022025_16_40_44_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338857424","1338857418","1338857423","1338857420","1338857422","1338857425"],"photo_ids_order":["1338857418","1338857420","1338857422","1338857423","1338857424","1338857425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/70348a0c15acb7521287b06ec18894c9.jpg","text":"TemporaryFile(/tmp/multipartBody1850422531933758216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152503006,"filename":"image_21022025_16_40_35_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9a07971c68d3290dde3b48bb9c867512.jpg","text":"TemporaryFile(/tmp/multipartBody1585048727026606457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152503006,"filename":"image_21022025_16_39_55_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7407967c590ea1a96b51fbd6ebbd2e4.jpg","text":"TemporaryFile(/tmp/multipartBody7321855698479083367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152503006,"filename":"image_21022025_16_40_24_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5044ee8fe1ced3f07f19deba6b06b2dd.jpg","text":"TemporaryFile(/tmp/multipartBody5794443038025077396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152503006,"filename":"image_21022025_16_40_04_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dc5c4c76d2f6acf4e51e26f0c2c88f09.jpg","text":"TemporaryFile(/tmp/multipartBody7316113768791358723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152503006,"filename":"image_21022025_16_40_15_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8af7fe11cbecf2c991496374c45893da.jpg","text":"TemporaryFile(/tmp/multipartBody8347403575844679911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152503006,"filename":"image_21022025_16_40_44_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338857422","file1":"1338857420","file0":"1338857418","file4":"1338857424","file5":"1338857425","file3":"1338857423"},"map_files_photo_id_array":[{"photo_id":"1338857425","filename":"file5"},{"photo_id":"1338857422","filename":"file2"},{"photo_id":"1338857424","filename":"file4"},{"photo_id":"1338857420","filename":"file1"},{"photo_id":"1338857418","filename":"file0"},{"photo_id":"1338857423","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338857424":["hashtag1","hashtag2"]},{"1338857418":["hashtag1","hashtag2"]},{"1338857423":["hashtag1","hashtag2"]},{"1338857420":["hashtag1","hashtag2"]},{"1338857422":["hashtag1","hashtag2"]},{"1338857425":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338857424, 1338857418, 1338857423, 1338857420, 1338857422, 1338857425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.281368255615234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:41:32.778053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/40/image_21022025_16_40_54_10408.jpg', '/home/pi/Desktop/images/21022025/16/41/image_21022025_16_41_14_9377.jpg', '/home/pi/Desktop/images/21022025/16/41/image_21022025_16_41_25_10436.jpg', '/home/pi/Desktop/images/21022025/16/41/image_21022025_16_41_34_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/40/image_21022025_16_40_54_10408.jpg
/home/pi/Desktop/images/21022025/16/41/image_21022025_16_41_14_9377.jpg
/home/pi/Desktop/images/21022025/16/41/image_21022025_16_41_25_10436.jpg
/home/pi/Desktop/images/21022025/16/41/image_21022025_16_41_34_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338857442","1338857444","1338857446","1338857443"],"photo_ids_order":["1338857442","1338857443","1338857444","1338857446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/955938f8678d86866810fd12ad501d82.jpg","text":"TemporaryFile(/tmp/multipartBody8750861562156113139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152553224,"filename":"image_21022025_16_40_54_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/57cb5179efbe296084ad8c48907e6305.jpg","text":"TemporaryFile(/tmp/multipartBody3133766507598836455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152553224,"filename":"image_21022025_16_41_25_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce7b1438519d2dca18607e7a51f98228.jpg","text":"TemporaryFile(/tmp/multipartBody7636319643593167723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152553224,"filename":"image_21022025_16_41_34_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d737dc742f3a5fd4bb60bfb20f9acc3d.jpg","text":"TemporaryFile(/tmp/multipartBody3455885857183498517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152553224,"filename":"image_21022025_16_41_14_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338857444","file1":"1338857443","file0":"1338857442","file3":"1338857446"},"map_files_photo_id_array":[{"photo_id":"1338857444","filename":"file2"},{"photo_id":"1338857443","filename":"file1"},{"photo_id":"1338857442","filename":"file0"},{"photo_id":"1338857446","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338857442":["hashtag1","hashtag2"]},{"1338857444":["hashtag1","hashtag2"]},{"1338857446":["hashtag1","hashtag2"]},{"1338857443":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338857442, 1338857444, 1338857446, 1338857443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.387852668762207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 16:42:03.559936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/25/image_20022025_17_25_26_9365.jpg', '/home/pi/Desktop/images/20022025/17/25/image_20022025_17_25_36_10332.jpg', '/home/pi/Desktop/images/20022025/17/25/image_20022025_17_25_56_10334.jpg', '/home/pi/Desktop/images/20022025/17/25/image_20022025_17_26_07_10401.jpg', '/home/pi/Desktop/images/20022025/17/26/image_20022025_17_26_16_9404.jpg', '/home/pi/Desktop/images/20022025/17/26/image_20022025_17_26_26_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/25/image_20022025_17_25_26_9365.jpg
/home/pi/Desktop/images/20022025/17/25/image_20022025_17_25_36_10332.jpg
/home/pi/Desktop/images/20022025/17/25/image_20022025_17_25_56_10334.jpg
/home/pi/Desktop/images/20022025/17/25/image_20022025_17_26_07_10401.jpg
/home/pi/Desktop/images/20022025/17/26/image_20022025_17_26_16_9404.jpg
/home/pi/Desktop/images/20022025/17/26/image_20022025_17_26_26_10356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338857502","1338857593","1338857458","1338857452","1338857455","1338857460"],"photo_ids_order":["1338857452","1338857455","1338857458","1338857460","1338857502","1338857593"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b66d923d056e44772830d985d61da1b4.jpg","text":"TemporaryFile(/tmp/multipartBody1926016340007750219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152584963,"filename":"image_20022025_17_26_16_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c421dc33339ed9868b95759d1746426.jpg","text":"TemporaryFile(/tmp/multipartBody6192603174475093978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152584963,"filename":"image_20022025_17_26_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac3468348539e4622ac6120363cd5a26.jpg","text":"TemporaryFile(/tmp/multipartBody1765684228435257187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152584963,"filename":"image_20022025_17_25_56_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4ed2ad5a487e502436946c2d89f00ace.jpg","text":"TemporaryFile(/tmp/multipartBody7833438849918173291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152584963,"filename":"image_20022025_17_25_26_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9fc89524135d549a8b71f2b0aae66a1e.jpg","text":"TemporaryFile(/tmp/multipartBody8796090226526417782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152584963,"filename":"image_20022025_17_25_36_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f8768ed4082c07b9ab2ed860021abdd.jpg","text":"TemporaryFile(/tmp/multipartBody9048042845638110293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152584963,"filename":"image_20022025_17_26_07_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338857458","file1":"1338857455","file0":"1338857452","file4":"1338857502","file5":"1338857593","file3":"1338857460"},"map_files_photo_id_array":[{"photo_id":"1338857593","filename":"file5"},{"photo_id":"1338857458","filename":"file2"},{"photo_id":"1338857502","filename":"file4"},{"photo_id":"1338857455","filename":"file1"},{"photo_id":"1338857452","filename":"file0"},{"photo_id":"1338857460","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338857502":["hashtag1","hashtag2"]},{"1338857593":["hashtag1","hashtag2"]},{"1338857458":["hashtag1","hashtag2"]},{"1338857452":["hashtag1","hashtag2"]},{"1338857455":["hashtag1","hashtag2"]},{"1338857460":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338857502, 1338857593, 1338857458, 1338857452, 1338857455, 1338857460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46524786949158 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 16:42:42.826000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/41/image_21022025_16_41_55_10462.jpg', '/home/pi/Desktop/images/21022025/16/42/image_21022025_16_42_15_10449.jpg', '/home/pi/Desktop/images/21022025/16/42/image_21022025_16_42_24_9403.jpg', '/home/pi/Desktop/images/21022025/16/42/image_21022025_16_42_34_10374.jpg', '/home/pi/Desktop/images/21022025/16/42/image_21022025_16_42_45_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/41/image_21022025_16_41_55_10462.jpg
/home/pi/Desktop/images/21022025/16/42/image_21022025_16_42_15_10449.jpg
/home/pi/Desktop/images/21022025/16/42/image_21022025_16_42_24_9403.jpg
/home/pi/Desktop/images/21022025/16/42/image_21022025_16_42_34_10374.jpg
/home/pi/Desktop/images/21022025/16/42/image_21022025_16_42_45_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338857856","1338857852","1338857855","1338857854","1338857857"],"photo_ids_order":["1338857852","1338857854","1338857855","1338857856","1338857857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fbf79e7ed6a416b2c0d8c910031d9844.jpg","text":"TemporaryFile(/tmp/multipartBody3514388160196285104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152623286,"filename":"image_21022025_16_42_34_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b0699d6be69aafde223750bf1dfcbfdf.jpg","text":"TemporaryFile(/tmp/multipartBody6446909434040598817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152623286,"filename":"image_21022025_16_41_55_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8e96614c284d5f9647a5b15c356da70f.jpg","text":"TemporaryFile(/tmp/multipartBody300180053940147204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152623286,"filename":"image_21022025_16_42_24_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/19659732fd42577cc1e5b3db22f48b07.jpg","text":"TemporaryFile(/tmp/multipartBody2696602394887799682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152623286,"filename":"image_21022025_16_42_15_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bc5be850c8419a273528a1931a287722.jpg","text":"TemporaryFile(/tmp/multipartBody2805084863860101847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152623286,"filename":"image_21022025_16_42_45_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338857855","file1":"1338857854","file0":"1338857852","file4":"1338857857","file3":"1338857856"},"map_files_photo_id_array":[{"photo_id":"1338857855","filename":"file2"},{"photo_id":"1338857857","filename":"file4"},{"photo_id":"1338857854","filename":"file1"},{"photo_id":"1338857852","filename":"file0"},{"photo_id":"1338857856","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338857856":["hashtag1","hashtag2"]},{"1338857852":["hashtag1","hashtag2"]},{"1338857855":["hashtag1","hashtag2"]},{"1338857854":["hashtag1","hashtag2"]},{"1338857857":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338857856, 1338857852, 1338857855, 1338857854, 1338857857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.055813789367676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:43:33.074813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/42/image_21022025_16_42_54_9351.jpg', '/home/pi/Desktop/images/21022025/16/43/image_21022025_16_43_14_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/42/image_21022025_16_42_54_9351.jpg
/home/pi/Desktop/images/21022025/16/43/image_21022025_16_43_14_9402.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338858053","1338858031"],"photo_ids_order":["1338858031","1338858053"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac0ef273a1daf7ae391a559b0e8a458d.jpg","text":"TemporaryFile(/tmp/multipartBody5080904271591562778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152673501,"filename":"image_21022025_16_43_14_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dafa8f5bbd65f68a845939a6435d9627.jpg","text":"TemporaryFile(/tmp/multipartBody2965972480787389362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152673501,"filename":"image_21022025_16_42_54_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338858053","file0":"1338858031"},"map_files_photo_id_array":[{"photo_id":"1338858053","filename":"file1"},{"photo_id":"1338858031","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338858053":["hashtag1","hashtag2"]},{"1338858031":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338858053, 1338858031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.561862707138062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:43:53.049769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/26/image_20022025_17_26_36_9452.jpg', '/home/pi/Desktop/images/20022025/17/26/image_20022025_17_27_06_9339.jpg', '/home/pi/Desktop/images/20022025/17/27/image_20022025_17_27_16_10436.jpg', '/home/pi/Desktop/images/20022025/17/27/image_20022025_17_27_26_9446.jpg', '/home/pi/Desktop/images/20022025/17/27/image_20022025_17_27_46_9446.jpg', '/home/pi/Desktop/images/20022025/17/27/image_20022025_17_27_56_10469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/26/image_20022025_17_26_36_9452.jpg
/home/pi/Desktop/images/20022025/17/26/image_20022025_17_27_06_9339.jpg
/home/pi/Desktop/images/20022025/17/27/image_20022025_17_27_16_10436.jpg
/home/pi/Desktop/images/20022025/17/27/image_20022025_17_27_26_9446.jpg
/home/pi/Desktop/images/20022025/17/27/image_20022025_17_27_46_9446.jpg
/home/pi/Desktop/images/20022025/17/27/image_20022025_17_27_56_10469.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338858095","1338858179","1338858199","1338858091","1338858214","1338858093"],"photo_ids_order":["1338858091","1338858093","1338858095","1338858179","1338858199","1338858214"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/21088406721cccd85ecf7b7b1751f364.jpg","text":"TemporaryFile(/tmp/multipartBody4391382984636018610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152695165,"filename":"image_20022025_17_27_16_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6dbd904cbf7147faca40df0692ea2620.jpg","text":"TemporaryFile(/tmp/multipartBody7870197636737077273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152695165,"filename":"image_20022025_17_27_26_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1a9664acb82229689c1485b485b4247d.jpg","text":"TemporaryFile(/tmp/multipartBody2004861643014154055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152695165,"filename":"image_20022025_17_27_46_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7f5f334f5b403c1533d3e21148847751.jpg","text":"TemporaryFile(/tmp/multipartBody5831256023069327177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152695165,"filename":"image_20022025_17_26_36_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/059961daf6f92e3ecb589abc02f194b7.jpg","text":"TemporaryFile(/tmp/multipartBody578162966674594680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152695165,"filename":"image_20022025_17_27_56_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/91ab9c72d7d8f08b39826db716da88a0.jpg","text":"TemporaryFile(/tmp/multipartBody1712813442694941052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152695165,"filename":"image_20022025_17_27_06_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338858095","file1":"1338858093","file0":"1338858091","file4":"1338858199","file5":"1338858214","file3":"1338858179"},"map_files_photo_id_array":[{"photo_id":"1338858214","filename":"file5"},{"photo_id":"1338858095","filename":"file2"},{"photo_id":"1338858199","filename":"file4"},{"photo_id":"1338858093","filename":"file1"},{"photo_id":"1338858091","filename":"file0"},{"photo_id":"1338858179","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338858095":["hashtag1","hashtag2"]},{"1338858179":["hashtag1","hashtag2"]},{"1338858199":["hashtag1","hashtag2"]},{"1338858091":["hashtag1","hashtag2"]},{"1338858214":["hashtag1","hashtag2"]},{"1338858093":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338858095, 1338858179, 1338858199, 1338858091, 1338858214, 1338858093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20795559883118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:44:32.318307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/43/image_21022025_16_43_35_10495.jpg', '/home/pi/Desktop/images/21022025/16/44/image_21022025_16_44_14_10349.jpg', '/home/pi/Desktop/images/21022025/16/44/image_21022025_16_44_34_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/43/image_21022025_16_43_35_10495.jpg
/home/pi/Desktop/images/21022025/16/44/image_21022025_16_44_14_10349.jpg
/home/pi/Desktop/images/21022025/16/44/image_21022025_16_44_34_9334.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338858244","1338858253","1338858247"],"photo_ids_order":["1338858244","1338858247","1338858253"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dc0bc57e9d6b784752f21977278fce04.jpg","text":"TemporaryFile(/tmp/multipartBody3258934484130490889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152732754,"filename":"image_21022025_16_43_35_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b2704b108b6bd8fcc8487c2dafad18e.jpg","text":"TemporaryFile(/tmp/multipartBody6321425660743896435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152732754,"filename":"image_21022025_16_44_34_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/70011f66c13f4e22d749195c23385e71.jpg","text":"TemporaryFile(/tmp/multipartBody6112673507557821161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152732754,"filename":"image_21022025_16_44_14_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338858253","file1":"1338858247","file0":"1338858244"},"map_files_photo_id_array":[{"photo_id":"1338858253","filename":"file2"},{"photo_id":"1338858247","filename":"file1"},{"photo_id":"1338858244","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338858244":["hashtag1","hashtag2"]},{"1338858253":["hashtag1","hashtag2"]},{"1338858247":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338858244, 1338858253, 1338858247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.24016284942627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:44:52.243786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/27/image_20022025_17_28_07_10399.jpg', '/home/pi/Desktop/images/20022025/17/28/image_20022025_17_28_47_10466.jpg', '/home/pi/Desktop/images/20022025/17/28/image_20022025_17_28_56_9445.jpg', '/home/pi/Desktop/images/20022025/17/28/image_20022025_17_29_06_10365.jpg', '/home/pi/Desktop/images/20022025/17/29/image_20022025_17_29_17_10307.jpg', '/home/pi/Desktop/images/20022025/17/29/image_20022025_17_29_26_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/27/image_20022025_17_28_07_10399.jpg
/home/pi/Desktop/images/20022025/17/28/image_20022025_17_28_47_10466.jpg
/home/pi/Desktop/images/20022025/17/28/image_20022025_17_28_56_9445.jpg
/home/pi/Desktop/images/20022025/17/28/image_20022025_17_29_06_10365.jpg
/home/pi/Desktop/images/20022025/17/29/image_20022025_17_29_17_10307.jpg
/home/pi/Desktop/images/20022025/17/29/image_20022025_17_29_26_9363.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338858296","1338858272","1338858266","1338858277","1338858274","1338858270"],"photo_ids_order":["1338858266","1338858270","1338858272","1338858274","1338858277","1338858296"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e2dcc97c7abc35d81a2e7fbbe570eca4.jpg","text":"TemporaryFile(/tmp/multipartBody1692113741176150243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152754354,"filename":"image_20022025_17_29_26_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6793fb29c8e76d5cfb477405eeba0623.jpg","text":"TemporaryFile(/tmp/multipartBody2387331493350949161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152754354,"filename":"image_20022025_17_28_56_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5e90425786fca1bbc1ad37d564764b4a.jpg","text":"TemporaryFile(/tmp/multipartBody7382620993843129328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152754354,"filename":"image_20022025_17_28_07_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/63faf5cf1fdfc799fe1121bc13887e93.jpg","text":"TemporaryFile(/tmp/multipartBody7380221229272349740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152754354,"filename":"image_20022025_17_29_17_10307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81023136e1d211d83a1bd5f6c03dd930.jpg","text":"TemporaryFile(/tmp/multipartBody8196126098706581283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152754354,"filename":"image_20022025_17_29_06_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3117c0f7a0ca53bc97d8d0bd64a3356e.jpg","text":"TemporaryFile(/tmp/multipartBody8873459233114107612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152754354,"filename":"image_20022025_17_28_47_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338858272","file1":"1338858270","file0":"1338858266","file4":"1338858277","file5":"1338858296","file3":"1338858274"},"map_files_photo_id_array":[{"photo_id":"1338858296","filename":"file5"},{"photo_id":"1338858272","filename":"file2"},{"photo_id":"1338858277","filename":"file4"},{"photo_id":"1338858270","filename":"file1"},{"photo_id":"1338858266","filename":"file0"},{"photo_id":"1338858274","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338858296":["hashtag1","hashtag2"]},{"1338858272":["hashtag1","hashtag2"]},{"1338858266":["hashtag1","hashtag2"]},{"1338858277":["hashtag1","hashtag2"]},{"1338858274":["hashtag1","hashtag2"]},{"1338858270":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338858296, 1338858272, 1338858266, 1338858277, 1338858274, 1338858270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.019843101501465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:45:32.474967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/44/image_21022025_16_44_54_9347.jpg', '/home/pi/Desktop/images/21022025/16/44/image_21022025_16_45_04_10326.jpg', '/home/pi/Desktop/images/21022025/16/45/image_21022025_16_45_24_9399.jpg', '/home/pi/Desktop/images/21022025/16/45/image_21022025_16_45_35_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/44/image_21022025_16_44_54_9347.jpg
/home/pi/Desktop/images/21022025/16/44/image_21022025_16_45_04_10326.jpg
/home/pi/Desktop/images/21022025/16/45/image_21022025_16_45_24_9399.jpg
/home/pi/Desktop/images/21022025/16/45/image_21022025_16_45_35_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338858306","1338858374","1338858308","1338858418"],"photo_ids_order":["1338858306","1338858308","1338858374","1338858418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/abab31c2e2d2eac2126ac0674978749c.jpg","text":"TemporaryFile(/tmp/multipartBody7280875742272501292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152792919,"filename":"image_21022025_16_44_54_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ec9b7b7a3d65c9f0b93463e534ba530.jpg","text":"TemporaryFile(/tmp/multipartBody9140272001888384634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152792919,"filename":"image_21022025_16_45_24_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2f7b8255b7ae42f5f27d54a80a67129f.jpg","text":"TemporaryFile(/tmp/multipartBody1486073443227535720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152792919,"filename":"image_21022025_16_45_04_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/57ddfc6152c6a9a89e7eabae74a3e146.jpg","text":"TemporaryFile(/tmp/multipartBody5689662494670048092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152792919,"filename":"image_21022025_16_45_35_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338858374","file1":"1338858308","file0":"1338858306","file3":"1338858418"},"map_files_photo_id_array":[{"photo_id":"1338858374","filename":"file2"},{"photo_id":"1338858308","filename":"file1"},{"photo_id":"1338858306","filename":"file0"},{"photo_id":"1338858418","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338858306":["hashtag1","hashtag2"]},{"1338858374":["hashtag1","hashtag2"]},{"1338858308":["hashtag1","hashtag2"]},{"1338858418":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338858306, 1338858374, 1338858308, 1338858418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.043872594833374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 16:46:03.358901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/29/image_20022025_17_29_56_10340.jpg', '/home/pi/Desktop/images/20022025/17/29/image_20022025_17_30_07_10486.jpg', '/home/pi/Desktop/images/20022025/17/30/image_20022025_17_30_16_9337.jpg', '/home/pi/Desktop/images/20022025/17/30/image_20022025_17_30_26_10361.jpg', '/home/pi/Desktop/images/20022025/17/30/image_20022025_17_30_36_9396.jpg', '/home/pi/Desktop/images/20022025/17/30/image_20022025_17_30_46_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/29/image_20022025_17_29_56_10340.jpg
/home/pi/Desktop/images/20022025/17/29/image_20022025_17_30_07_10486.jpg
/home/pi/Desktop/images/20022025/17/30/image_20022025_17_30_16_9337.jpg
/home/pi/Desktop/images/20022025/17/30/image_20022025_17_30_26_10361.jpg
/home/pi/Desktop/images/20022025/17/30/image_20022025_17_30_36_9396.jpg
/home/pi/Desktop/images/20022025/17/30/image_20022025_17_30_46_10360.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338858671","1338858668","1338858706","1338858783","1338858709","1338858708"],"photo_ids_order":["1338858668","1338858671","1338858706","1338858708","1338858709","1338858783"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b9a9bd15424c47aa2723e8215c460e6.jpg","text":"TemporaryFile(/tmp/multipartBody4258040791766414891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152824771,"filename":"image_20022025_17_30_07_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/73ee0d3630436d59cfcc61861b2b4be3.jpg","text":"TemporaryFile(/tmp/multipartBody2700255945615643311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152824771,"filename":"image_20022025_17_29_56_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/abf6a3fb30ecb1b28c6cb60d60644699.jpg","text":"TemporaryFile(/tmp/multipartBody6664029477197904679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152824771,"filename":"image_20022025_17_30_16_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/671ce9d4980e545f25de2de8a68732f7.jpg","text":"TemporaryFile(/tmp/multipartBody367552718329792121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152824771,"filename":"image_20022025_17_30_46_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/79c56198651b0b358fb81c6065b3b348.jpg","text":"TemporaryFile(/tmp/multipartBody3684760624350461147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152824771,"filename":"image_20022025_17_30_36_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a5e28759653a3716a5827bf82846a08.jpg","text":"TemporaryFile(/tmp/multipartBody1912527591861568709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152824771,"filename":"image_20022025_17_30_26_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338858706","file1":"1338858671","file0":"1338858668","file4":"1338858709","file5":"1338858783","file3":"1338858708"},"map_files_photo_id_array":[{"photo_id":"1338858783","filename":"file5"},{"photo_id":"1338858706","filename":"file2"},{"photo_id":"1338858709","filename":"file4"},{"photo_id":"1338858671","filename":"file1"},{"photo_id":"1338858668","filename":"file0"},{"photo_id":"1338858708","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338858671":["hashtag1","hashtag2"]},{"1338858668":["hashtag1","hashtag2"]},{"1338858706":["hashtag1","hashtag2"]},{"1338858783":["hashtag1","hashtag2"]},{"1338858709":["hashtag1","hashtag2"]},{"1338858708":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338858671, 1338858668, 1338858706, 1338858783, 1338858709, 1338858708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.62660050392151 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 16:46:42.756805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/45/image_21022025_16_45_44_9403.jpg', '/home/pi/Desktop/images/21022025/16/46/image_21022025_16_46_14_9346.jpg', '/home/pi/Desktop/images/21022025/16/46/image_21022025_16_46_44_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/45/image_21022025_16_45_44_9403.jpg
/home/pi/Desktop/images/21022025/16/46/image_21022025_16_46_14_9346.jpg
/home/pi/Desktop/images/21022025/16/46/image_21022025_16_46_44_9425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338858875","1338858878","1338858812"],"photo_ids_order":["1338858812","1338858875","1338858878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ea3066562a8805f26dc1fd0437b5923b.jpg","text":"TemporaryFile(/tmp/multipartBody3246185096710435680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152863196,"filename":"image_21022025_16_46_14_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/500461d92753421d19e064fcf876315a.jpg","text":"TemporaryFile(/tmp/multipartBody2190827115749230934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152863196,"filename":"image_21022025_16_46_44_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e47d7d81814c70ee7021c59aefaa1b51.jpg","text":"TemporaryFile(/tmp/multipartBody1587774485188163005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152863196,"filename":"image_21022025_16_45_44_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338858878","file1":"1338858875","file0":"1338858812"},"map_files_photo_id_array":[{"photo_id":"1338858878","filename":"file2"},{"photo_id":"1338858875","filename":"file1"},{"photo_id":"1338858812","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338858875":["hashtag1","hashtag2"]},{"1338858878":["hashtag1","hashtag2"]},{"1338858812":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338858875, 1338858878, 1338858812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.969263792037964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:47:33.097522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/46/image_21022025_16_46_55_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/46/image_21022025_16_46_55_10455.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338858892"],"photo_id":"1338858892","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9d9124e9bdec97bcbcb0aa927506d918.jpg","text":"TemporaryFile(/tmp/multipartBody4875386175100502182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152913505,"filename":"image_21022025_16_46_55_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338858892"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338858892"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.380038022994995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:47:52.970373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/30/image_20022025_17_30_56_10344.jpg', '/home/pi/Desktop/images/20022025/17/30/image_20022025_17_31_06_9337.jpg', '/home/pi/Desktop/images/20022025/17/31/image_20022025_17_31_16_10329.jpg', '/home/pi/Desktop/images/20022025/17/31/image_20022025_17_31_27_10415.jpg', '/home/pi/Desktop/images/20022025/17/31/image_20022025_17_31_36_9331.jpg', '/home/pi/Desktop/images/20022025/17/31/image_20022025_17_31_46_10324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/30/image_20022025_17_30_56_10344.jpg
/home/pi/Desktop/images/20022025/17/30/image_20022025_17_31_06_9337.jpg
/home/pi/Desktop/images/20022025/17/31/image_20022025_17_31_16_10329.jpg
/home/pi/Desktop/images/20022025/17/31/image_20022025_17_31_27_10415.jpg
/home/pi/Desktop/images/20022025/17/31/image_20022025_17_31_36_9331.jpg
/home/pi/Desktop/images/20022025/17/31/image_20022025_17_31_46_10324.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338858909","1338858898","1338858901","1338858904","1338858907","1338858912"],"photo_ids_order":["1338858898","1338858901","1338858904","1338858907","1338858909","1338858912"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/759ecfd1ece2268509e64f12480e05eb.jpg","text":"TemporaryFile(/tmp/multipartBody4148806304343045845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152935076,"filename":"image_20022025_17_31_36_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87f93fd7f748ba848a417c43699b6f1c.jpg","text":"TemporaryFile(/tmp/multipartBody1666641319918763774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152935076,"filename":"image_20022025_17_30_56_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a627cf45f93472ba2483877716c9f5bd.jpg","text":"TemporaryFile(/tmp/multipartBody5514922715162384253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152935076,"filename":"image_20022025_17_31_06_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/48dc71a8910dd6d4de1c4bbdfc9bca6c.jpg","text":"TemporaryFile(/tmp/multipartBody1537026613776273440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152935076,"filename":"image_20022025_17_31_16_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1689b0a7b95f24f7a84472182255189.jpg","text":"TemporaryFile(/tmp/multipartBody8846897566727413669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152935076,"filename":"image_20022025_17_31_27_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d663edac1511a638b855fe7f27515402.jpg","text":"TemporaryFile(/tmp/multipartBody7695073918096033849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152935076,"filename":"image_20022025_17_31_46_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338858904","file1":"1338858901","file0":"1338858898","file4":"1338858909","file5":"1338858912","file3":"1338858907"},"map_files_photo_id_array":[{"photo_id":"1338858912","filename":"file5"},{"photo_id":"1338858904","filename":"file2"},{"photo_id":"1338858909","filename":"file4"},{"photo_id":"1338858901","filename":"file1"},{"photo_id":"1338858898","filename":"file0"},{"photo_id":"1338858907","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338858909":["hashtag1","hashtag2"]},{"1338858898":["hashtag1","hashtag2"]},{"1338858901":["hashtag1","hashtag2"]},{"1338858904":["hashtag1","hashtag2"]},{"1338858907":["hashtag1","hashtag2"]},{"1338858912":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338858909, 1338858898, 1338858901, 1338858904, 1338858907, 1338858912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.22533845901489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:48:32.133612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/47/image_21022025_16_47_54_9358.jpg', '/home/pi/Desktop/images/21022025/16/47/image_21022025_16_48_05_10474.jpg', '/home/pi/Desktop/images/21022025/16/48/image_21022025_16_48_24_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/47/image_21022025_16_47_54_9358.jpg
/home/pi/Desktop/images/21022025/16/47/image_21022025_16_48_05_10474.jpg
/home/pi/Desktop/images/21022025/16/48/image_21022025_16_48_24_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338858929","1338858923","1338858926"],"photo_ids_order":["1338858923","1338858926","1338858929"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e71667bf601aaba6ff73388597474ab8.jpg","text":"TemporaryFile(/tmp/multipartBody4986093420207916865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152972574,"filename":"image_21022025_16_48_24_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e470d731e25268f171d8fb6002e02860.jpg","text":"TemporaryFile(/tmp/multipartBody5063430298388626032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152972574,"filename":"image_21022025_16_47_54_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/696d036558f89ed3608693c5d30a74d4.jpg","text":"TemporaryFile(/tmp/multipartBody2234446529806074560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740152972574,"filename":"image_21022025_16_48_05_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338858929","file1":"1338858926","file0":"1338858923"},"map_files_photo_id_array":[{"photo_id":"1338858929","filename":"file2"},{"photo_id":"1338858926","filename":"file1"},{"photo_id":"1338858923","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338858929":["hashtag1","hashtag2"]},{"1338858923":["hashtag1","hashtag2"]},{"1338858926":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338858929, 1338858923, 1338858926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.094288110733032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 16:49:03.952205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/31/image_20022025_17_31_57_10455.jpg', '/home/pi/Desktop/images/20022025/17/32/image_20022025_17_32_16_10342.jpg', '/home/pi/Desktop/images/20022025/17/32/image_20022025_17_32_36_9332.jpg', '/home/pi/Desktop/images/20022025/17/32/image_20022025_17_32_46_10364.jpg', '/home/pi/Desktop/images/20022025/17/32/image_20022025_17_32_56_9351.jpg', '/home/pi/Desktop/images/20022025/17/33/image_20022025_17_33_16_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/31/image_20022025_17_31_57_10455.jpg
/home/pi/Desktop/images/20022025/17/32/image_20022025_17_32_16_10342.jpg
/home/pi/Desktop/images/20022025/17/32/image_20022025_17_32_36_9332.jpg
/home/pi/Desktop/images/20022025/17/32/image_20022025_17_32_46_10364.jpg
/home/pi/Desktop/images/20022025/17/32/image_20022025_17_32_56_9351.jpg
/home/pi/Desktop/images/20022025/17/33/image_20022025_17_33_16_10329.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338858941","1338858944","1338858946","1338858949","1338858939","1338858948"],"photo_ids_order":["1338858939","1338858941","1338858944","1338858946","1338858948","1338858949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/776785182a775136d265852bfcbefa66.jpg","text":"TemporaryFile(/tmp/multipartBody4653479466911340293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153005655,"filename":"image_20022025_17_32_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/20cd24da3cc15446bd2e5a96acf0f1dc.jpg","text":"TemporaryFile(/tmp/multipartBody3112414506715367466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153005655,"filename":"image_20022025_17_32_36_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d693f5ac7839a6b1a5e87e5451ebaf44.jpg","text":"TemporaryFile(/tmp/multipartBody5088158787632104490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153005655,"filename":"image_20022025_17_32_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/065099a5e25d266ca9048ef5bc0866d1.jpg","text":"TemporaryFile(/tmp/multipartBody4437964384738589306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153005655,"filename":"image_20022025_17_33_16_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5da09ff9f7656012b1f68737adbbc5ef.jpg","text":"TemporaryFile(/tmp/multipartBody4377821302895740658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153005655,"filename":"image_20022025_17_31_57_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/22f16dd12695e8f487122730361dd71a.jpg","text":"TemporaryFile(/tmp/multipartBody7106498736642062821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153005655,"filename":"image_20022025_17_32_56_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338858944","file1":"1338858941","file0":"1338858939","file4":"1338858948","file5":"1338858949","file3":"1338858946"},"map_files_photo_id_array":[{"photo_id":"1338858949","filename":"file5"},{"photo_id":"1338858944","filename":"file2"},{"photo_id":"1338858948","filename":"file4"},{"photo_id":"1338858941","filename":"file1"},{"photo_id":"1338858939","filename":"file0"},{"photo_id":"1338858946","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338858941":["hashtag1","hashtag2"]},{"1338858944":["hashtag1","hashtag2"]},{"1338858946":["hashtag1","hashtag2"]},{"1338858949":["hashtag1","hashtag2"]},{"1338858939":["hashtag1","hashtag2"]},{"1338858948":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338858941, 1338858944, 1338858946, 1338858949, 1338858939, 1338858948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80684280395508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 16:49:42.315258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/48/image_21022025_16_48_34_9419.jpg', '/home/pi/Desktop/images/21022025/16/49/image_21022025_16_49_14_10340.jpg', '/home/pi/Desktop/images/21022025/16/49/image_21022025_16_49_25_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/48/image_21022025_16_48_34_9419.jpg
/home/pi/Desktop/images/21022025/16/49/image_21022025_16_49_14_10340.jpg
/home/pi/Desktop/images/21022025/16/49/image_21022025_16_49_25_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338858956","1338858959","1338858955"],"photo_ids_order":["1338858955","1338858956","1338858959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cc3b2091955dd0f706702e78642e0bbc.jpg","text":"TemporaryFile(/tmp/multipartBody8641559726786352838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153042753,"filename":"image_21022025_16_49_14_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80b70107b6bca47279e34db1e0048c1b.jpg","text":"TemporaryFile(/tmp/multipartBody813760553019394082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153042753,"filename":"image_21022025_16_49_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f200e31a100868155d8fb0d8bda37769.jpg","text":"TemporaryFile(/tmp/multipartBody622476062399972964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153042753,"filename":"image_21022025_16_48_34_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338858959","file1":"1338858956","file0":"1338858955"},"map_files_photo_id_array":[{"photo_id":"1338858959","filename":"file2"},{"photo_id":"1338858956","filename":"file1"},{"photo_id":"1338858955","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338858956":["hashtag1","hashtag2"]},{"1338858959":["hashtag1","hashtag2"]},{"1338858955":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338858956, 1338858959, 1338858955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.80919122695923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:50:32.522770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/49/image_21022025_16_49_45_10350.jpg', '/home/pi/Desktop/images/21022025/16/50/image_21022025_16_50_15_10504.jpg', '/home/pi/Desktop/images/21022025/16/50/image_21022025_16_50_24_9346.jpg', '/home/pi/Desktop/images/21022025/16/50/image_21022025_16_50_34_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/49/image_21022025_16_49_45_10350.jpg
/home/pi/Desktop/images/21022025/16/50/image_21022025_16_50_15_10504.jpg
/home/pi/Desktop/images/21022025/16/50/image_21022025_16_50_24_9346.jpg
/home/pi/Desktop/images/21022025/16/50/image_21022025_16_50_34_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338858983","1338858988","1338858996","1338858978"],"photo_ids_order":["1338858978","1338858983","1338858988","1338858996"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1f1a04778720101a46b6a5649c0feb28.jpg","text":"TemporaryFile(/tmp/multipartBody284970500094663883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153092964,"filename":"image_21022025_16_50_15_10504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0fd1c62c523bfa21817a338c6f1e93c2.jpg","text":"TemporaryFile(/tmp/multipartBody749131125375438807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153092964,"filename":"image_21022025_16_50_24_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1c3a7ea7db6eb4b525af1e0d2c6c60c4.jpg","text":"TemporaryFile(/tmp/multipartBody4749604964656923844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153092964,"filename":"image_21022025_16_50_34_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df5368702ae0770b69d24f46e01d4e0b.jpg","text":"TemporaryFile(/tmp/multipartBody3918632051980355312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153092964,"filename":"image_21022025_16_49_45_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338858988","file1":"1338858983","file0":"1338858978","file3":"1338858996"},"map_files_photo_id_array":[{"photo_id":"1338858988","filename":"file2"},{"photo_id":"1338858983","filename":"file1"},{"photo_id":"1338858978","filename":"file0"},{"photo_id":"1338858996","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338858983":["hashtag1","hashtag2"]},{"1338858988":["hashtag1","hashtag2"]},{"1338858996":["hashtag1","hashtag2"]},{"1338858978":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338858983, 1338858988, 1338858996, 1338858978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.70851731300354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 16:51:04.364597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/33/image_20022025_17_33_26_9402.jpg', '/home/pi/Desktop/images/20022025/17/33/image_20022025_17_33_47_10382.jpg', '/home/pi/Desktop/images/20022025/17/33/image_20022025_17_33_56_9451.jpg', '/home/pi/Desktop/images/20022025/17/33/image_20022025_17_34_06_10330.jpg', '/home/pi/Desktop/images/20022025/17/34/image_20022025_17_34_17_10368.jpg', '/home/pi/Desktop/images/20022025/17/34/image_20022025_17_34_26_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/33/image_20022025_17_33_26_9402.jpg
/home/pi/Desktop/images/20022025/17/33/image_20022025_17_33_47_10382.jpg
/home/pi/Desktop/images/20022025/17/33/image_20022025_17_33_56_9451.jpg
/home/pi/Desktop/images/20022025/17/33/image_20022025_17_34_06_10330.jpg
/home/pi/Desktop/images/20022025/17/34/image_20022025_17_34_17_10368.jpg
/home/pi/Desktop/images/20022025/17/34/image_20022025_17_34_26_9340.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338859055","1338859040","1338859036","1338859050","1338859044","1338859047"],"photo_ids_order":["1338859036","1338859040","1338859044","1338859047","1338859050","1338859055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/db39d04ce1aa2ec0467db753df04c2b3.jpg","text":"TemporaryFile(/tmp/multipartBody4639954441110550619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153126053,"filename":"image_20022025_17_34_26_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1e02c269347695626ac1a82c1e1b6722.jpg","text":"TemporaryFile(/tmp/multipartBody3024207808207822874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153126053,"filename":"image_20022025_17_33_47_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b4fbe7dda59668ebe009c2aad9b0a03e.jpg","text":"TemporaryFile(/tmp/multipartBody410251660128181530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153126053,"filename":"image_20022025_17_33_26_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3b8d0626a4bd2c4536ce9708c6dc3d94.jpg","text":"TemporaryFile(/tmp/multipartBody3971898708238541463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153126053,"filename":"image_20022025_17_34_17_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/637710799471f3fc8cde8b1792a375a5.jpg","text":"TemporaryFile(/tmp/multipartBody5549099939168437655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153126053,"filename":"image_20022025_17_33_56_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c19024c7062b99304b179ae769a40c07.jpg","text":"TemporaryFile(/tmp/multipartBody8414473478143248075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153126053,"filename":"image_20022025_17_34_06_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338859044","file1":"1338859040","file0":"1338859036","file4":"1338859050","file5":"1338859055","file3":"1338859047"},"map_files_photo_id_array":[{"photo_id":"1338859055","filename":"file5"},{"photo_id":"1338859044","filename":"file2"},{"photo_id":"1338859050","filename":"file4"},{"photo_id":"1338859040","filename":"file1"},{"photo_id":"1338859036","filename":"file0"},{"photo_id":"1338859047","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338859055":["hashtag1","hashtag2"]},{"1338859040":["hashtag1","hashtag2"]},{"1338859036":["hashtag1","hashtag2"]},{"1338859050":["hashtag1","hashtag2"]},{"1338859044":["hashtag1","hashtag2"]},{"1338859047":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338859055, 1338859040, 1338859036, 1338859050, 1338859044, 1338859047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.16722631454468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 16:51:42.726195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/50/image_21022025_16_50_45_10356.jpg', '/home/pi/Desktop/images/21022025/16/51/image_21022025_16_51_24_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/50/image_21022025_16_50_45_10356.jpg
/home/pi/Desktop/images/21022025/16/51/image_21022025_16_51_24_10348.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338859424","1338859386"],"photo_ids_order":["1338859386","1338859424"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d0afd342107ec866f889880ace93b370.jpg","text":"TemporaryFile(/tmp/multipartBody7079472898845804694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153163153,"filename":"image_21022025_16_51_24_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c14175d1e4e227d18baa28d3b1362b26.jpg","text":"TemporaryFile(/tmp/multipartBody8222196922586621194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153163153,"filename":"image_21022025_16_50_45_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338859424","file0":"1338859386"},"map_files_photo_id_array":[{"photo_id":"1338859424","filename":"file1"},{"photo_id":"1338859386","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338859424":["hashtag1","hashtag2"]},{"1338859386":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338859424, 1338859386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.487379550933838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 16:52:03.833507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/34/image_20022025_17_34_36_10475.jpg', '/home/pi/Desktop/images/20022025/17/34/image_20022025_17_34_56_10385.jpg', '/home/pi/Desktop/images/20022025/17/34/image_20022025_17_35_07_10397.jpg', '/home/pi/Desktop/images/20022025/17/35/image_20022025_17_35_16_9324.jpg', '/home/pi/Desktop/images/20022025/17/35/image_20022025_17_35_26_10347.jpg', '/home/pi/Desktop/images/20022025/17/35/image_20022025_17_35_37_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/34/image_20022025_17_34_36_10475.jpg
/home/pi/Desktop/images/20022025/17/34/image_20022025_17_34_56_10385.jpg
/home/pi/Desktop/images/20022025/17/34/image_20022025_17_35_07_10397.jpg
/home/pi/Desktop/images/20022025/17/35/image_20022025_17_35_16_9324.jpg
/home/pi/Desktop/images/20022025/17/35/image_20022025_17_35_26_10347.jpg
/home/pi/Desktop/images/20022025/17/35/image_20022025_17_35_37_10340.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338859439","1338859552","1338859447","1338859473","1338859434","1338859443"],"photo_ids_order":["1338859434","1338859439","1338859443","1338859447","1338859473","1338859552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b9050afe69d9e78dbc0cc7bfe672417a.jpg","text":"TemporaryFile(/tmp/multipartBody984813038135637648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153185264,"filename":"image_20022025_17_34_56_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/afd668a89dbed13375eaa946debfb15b.jpg","text":"TemporaryFile(/tmp/multipartBody2908482825869707943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153185264,"filename":"image_20022025_17_35_37_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/db3292e72191b439242245d3196cbb09.jpg","text":"TemporaryFile(/tmp/multipartBody2491423717175512996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153185264,"filename":"image_20022025_17_35_16_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f347c268d2ff1c244b9a45f2edab0ba.jpg","text":"TemporaryFile(/tmp/multipartBody2528503587189981340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153185264,"filename":"image_20022025_17_35_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/204969070fda59f3773f7f2ba3127953.jpg","text":"TemporaryFile(/tmp/multipartBody2796053336947453588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153185264,"filename":"image_20022025_17_34_36_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f5242603e3e9a2932e8d1e94c3a472f7.jpg","text":"TemporaryFile(/tmp/multipartBody3836324844933818236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153185264,"filename":"image_20022025_17_35_07_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338859443","file1":"1338859439","file0":"1338859434","file4":"1338859473","file5":"1338859552","file3":"1338859447"},"map_files_photo_id_array":[{"photo_id":"1338859552","filename":"file5"},{"photo_id":"1338859443","filename":"file2"},{"photo_id":"1338859473","filename":"file4"},{"photo_id":"1338859439","filename":"file1"},{"photo_id":"1338859434","filename":"file0"},{"photo_id":"1338859447","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338859439":["hashtag1","hashtag2"]},{"1338859552":["hashtag1","hashtag2"]},{"1338859447":["hashtag1","hashtag2"]},{"1338859473":["hashtag1","hashtag2"]},{"1338859434":["hashtag1","hashtag2"]},{"1338859443":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338859439, 1338859552, 1338859447, 1338859473, 1338859434, 1338859443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.40213322639465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 16:52:42.972625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/51/image_21022025_16_51_44_9366.jpg', '/home/pi/Desktop/images/21022025/16/51/image_21022025_16_52_04_9410.jpg', '/home/pi/Desktop/images/21022025/16/52/image_21022025_16_52_25_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/51/image_21022025_16_51_44_9366.jpg
/home/pi/Desktop/images/21022025/16/51/image_21022025_16_52_04_9410.jpg
/home/pi/Desktop/images/21022025/16/52/image_21022025_16_52_25_10404.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338859622","1338859616","1338859619"],"photo_ids_order":["1338859616","1338859619","1338859622"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0bdeda8ad4c80fda44a9acae8d3f2177.jpg","text":"TemporaryFile(/tmp/multipartBody6684182546758122798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153223412,"filename":"image_21022025_16_52_25_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0399ff14602475c6f1c098fcb7d6d0b0.jpg","text":"TemporaryFile(/tmp/multipartBody2109971258558218977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153223412,"filename":"image_21022025_16_51_44_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9d458bec21edf319219bf01d5e36ea22.jpg","text":"TemporaryFile(/tmp/multipartBody5308879592107799897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153223412,"filename":"image_21022025_16_52_04_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338859622","file1":"1338859619","file0":"1338859616"},"map_files_photo_id_array":[{"photo_id":"1338859622","filename":"file2"},{"photo_id":"1338859619","filename":"file1"},{"photo_id":"1338859616","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338859622":["hashtag1","hashtag2"]},{"1338859616":["hashtag1","hashtag2"]},{"1338859619":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338859622, 1338859616, 1338859619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.175795793533325 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:53:32.312087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/52/image_21022025_16_52_34_9349.jpg', '/home/pi/Desktop/images/21022025/16/52/image_21022025_16_53_04_9398.jpg', '/home/pi/Desktop/images/21022025/16/53/image_21022025_16_53_24_9422.jpg', '/home/pi/Desktop/images/21022025/16/53/image_21022025_16_53_35_10399.jpg', '/home/pi/Desktop/images/21022025/16/53/image_21022025_16_53_44_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/52/image_21022025_16_52_34_9349.jpg
/home/pi/Desktop/images/21022025/16/52/image_21022025_16_53_04_9398.jpg
/home/pi/Desktop/images/21022025/16/53/image_21022025_16_53_24_9422.jpg
/home/pi/Desktop/images/21022025/16/53/image_21022025_16_53_35_10399.jpg
/home/pi/Desktop/images/21022025/16/53/image_21022025_16_53_44_9397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338859769","1338859757","1338859744","1338859761","1338859766"],"photo_ids_order":["1338859744","1338859757","1338859761","1338859766","1338859769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ea876d3eddc8fc52146807b9a5bc65b7.jpg","text":"TemporaryFile(/tmp/multipartBody6234032599039001190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153272765,"filename":"image_21022025_16_53_44_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bda78cf19792b1201bc365fdf8535f48.jpg","text":"TemporaryFile(/tmp/multipartBody3235183626279629461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153272765,"filename":"image_21022025_16_53_04_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/216af9ddfb625df1891ded252439df0d.jpg","text":"TemporaryFile(/tmp/multipartBody3272953929401924973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153272765,"filename":"image_21022025_16_52_34_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/12cb01493776060dc011db7e2bddc90b.jpg","text":"TemporaryFile(/tmp/multipartBody8390643648646970225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153272765,"filename":"image_21022025_16_53_24_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a1cea7847843beda5956a0a0580160a6.jpg","text":"TemporaryFile(/tmp/multipartBody8961715607549756880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153272765,"filename":"image_21022025_16_53_35_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338859761","file1":"1338859757","file0":"1338859744","file4":"1338859769","file3":"1338859766"},"map_files_photo_id_array":[{"photo_id":"1338859761","filename":"file2"},{"photo_id":"1338859769","filename":"file4"},{"photo_id":"1338859757","filename":"file1"},{"photo_id":"1338859744","filename":"file0"},{"photo_id":"1338859766","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338859769":["hashtag1","hashtag2"]},{"1338859757":["hashtag1","hashtag2"]},{"1338859744":["hashtag1","hashtag2"]},{"1338859761":["hashtag1","hashtag2"]},{"1338859766":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338859769, 1338859757, 1338859744, 1338859761, 1338859766)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 5 photos
time to upload: 30.230564832687378 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:54:32.496089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/53/image_21022025_16_53_54_10344.jpg', '/home/pi/Desktop/images/21022025/16/54/image_21022025_16_54_14_9407.jpg', '/home/pi/Desktop/images/21022025/16/54/image_21022025_16_54_35_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/53/image_21022025_16_53_54_10344.jpg
/home/pi/Desktop/images/21022025/16/54/image_21022025_16_54_14_9407.jpg
/home/pi/Desktop/images/21022025/16/54/image_21022025_16_54_35_10365.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338859817","1338859813","1338859821"],"photo_ids_order":["1338859813","1338859817","1338859821"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9a130786d152901be205d77afc289b92.jpg","text":"TemporaryFile(/tmp/multipartBody7627107848711837391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153332943,"filename":"image_21022025_16_54_14_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/beaab1204f2f24399e2d3a1bb3460982.jpg","text":"TemporaryFile(/tmp/multipartBody4852150503567680736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153332943,"filename":"image_21022025_16_53_54_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8df8f09a4e802e09d77169a0a7bd64dc.jpg","text":"TemporaryFile(/tmp/multipartBody4633039264642436142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153332943,"filename":"image_21022025_16_54_35_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338859821","file1":"1338859817","file0":"1338859813"},"map_files_photo_id_array":[{"photo_id":"1338859821","filename":"file2"},{"photo_id":"1338859817","filename":"file1"},{"photo_id":"1338859813","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338859817":["hashtag1","hashtag2"]},{"1338859813":["hashtag1","hashtag2"]},{"1338859821":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338859817, 1338859813, 1338859821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.411117553710938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:54:52.348763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/35/image_20022025_17_35_46_9390.jpg', '/home/pi/Desktop/images/20022025/17/35/image_20022025_17_35_56_10423.jpg', '/home/pi/Desktop/images/20022025/17/35/image_20022025_17_36_06_9452.jpg', '/home/pi/Desktop/images/20022025/17/36/image_20022025_17_36_16_10345.jpg', '/home/pi/Desktop/images/20022025/17/36/image_20022025_17_36_27_10369.jpg', '/home/pi/Desktop/images/20022025/17/36/image_20022025_17_36_36_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/35/image_20022025_17_35_46_9390.jpg
/home/pi/Desktop/images/20022025/17/35/image_20022025_17_35_56_10423.jpg
/home/pi/Desktop/images/20022025/17/35/image_20022025_17_36_06_9452.jpg
/home/pi/Desktop/images/20022025/17/36/image_20022025_17_36_16_10345.jpg
/home/pi/Desktop/images/20022025/17/36/image_20022025_17_36_27_10369.jpg
/home/pi/Desktop/images/20022025/17/36/image_20022025_17_36_36_9333.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338859856","1338859840","1338859842","1338859851","1338859830","1338859827"],"photo_ids_order":["1338859827","1338859830","1338859840","1338859842","1338859851","1338859856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/42424ad7caea7c5cd8d7770e97af0528.jpg","text":"TemporaryFile(/tmp/multipartBody7739046586270561556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153354448,"filename":"image_20022025_17_36_36_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ca20ab0a344a2aaee1080ca6b08bbef3.jpg","text":"TemporaryFile(/tmp/multipartBody5962063190101792565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153354448,"filename":"image_20022025_17_36_06_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/63b3a58273114192dec0aba71031eeb1.jpg","text":"TemporaryFile(/tmp/multipartBody3825346746585688322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153354448,"filename":"image_20022025_17_36_16_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e0fbb4cb485e7ac7ffb6bbfc241c6fde.jpg","text":"TemporaryFile(/tmp/multipartBody1369889043127346765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153354448,"filename":"image_20022025_17_36_27_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2dceb922831ee59d7ad210c9ad3855cb.jpg","text":"TemporaryFile(/tmp/multipartBody906177649479044782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153354448,"filename":"image_20022025_17_35_56_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/72f652e7ced8f77cf8a9b564ff705878.jpg","text":"TemporaryFile(/tmp/multipartBody7205359103176942597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153354448,"filename":"image_20022025_17_35_46_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338859840","file1":"1338859830","file0":"1338859827","file4":"1338859851","file5":"1338859856","file3":"1338859842"},"map_files_photo_id_array":[{"photo_id":"1338859856","filename":"file5"},{"photo_id":"1338859840","filename":"file2"},{"photo_id":"1338859851","filename":"file4"},{"photo_id":"1338859830","filename":"file1"},{"photo_id":"1338859827","filename":"file0"},{"photo_id":"1338859842","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338859856":["hashtag1","hashtag2"]},{"1338859840":["hashtag1","hashtag2"]},{"1338859842":["hashtag1","hashtag2"]},{"1338859851":["hashtag1","hashtag2"]},{"1338859830":["hashtag1","hashtag2"]},{"1338859827":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338859856, 1338859840, 1338859842, 1338859851, 1338859830, 1338859827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76006889343262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:55:32.617171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/54/image_21022025_16_54_55_10411.jpg', '/home/pi/Desktop/images/21022025/16/55/image_21022025_16_55_14_10389.jpg', '/home/pi/Desktop/images/21022025/16/55/image_21022025_16_55_24_9725.jpg', '/home/pi/Desktop/images/21022025/16/55/image_21022025_16_55_35_10384.jpg', '/home/pi/Desktop/images/21022025/16/55/image_21022025_16_55_44_9407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/54/image_21022025_16_54_55_10411.jpg
/home/pi/Desktop/images/21022025/16/55/image_21022025_16_55_14_10389.jpg
/home/pi/Desktop/images/21022025/16/55/image_21022025_16_55_24_9725.jpg
/home/pi/Desktop/images/21022025/16/55/image_21022025_16_55_35_10384.jpg
/home/pi/Desktop/images/21022025/16/55/image_21022025_16_55_44_9407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338859880","1338859874","1338859888","1338859884","1338859877"],"photo_ids_order":["1338859874","1338859877","1338859880","1338859884","1338859888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9d503c8dee5434beab856ddd1266b810.jpg","text":"TemporaryFile(/tmp/multipartBody1818661359081838160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153393070,"filename":"image_21022025_16_55_24_9725.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3073f970e716f087803110ba5a9a285c.jpg","text":"TemporaryFile(/tmp/multipartBody3226714946727518507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153393070,"filename":"image_21022025_16_54_55_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a910f36b9619b8d45d57b4a713e7a9d0.jpg","text":"TemporaryFile(/tmp/multipartBody1843624402529788635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153393070,"filename":"image_21022025_16_55_44_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9788254b26c2d0da35d65172d73c65a7.jpg","text":"TemporaryFile(/tmp/multipartBody2105584055594828675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153393070,"filename":"image_21022025_16_55_35_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/31209a5b8a732fefc531ee2e64019297.jpg","text":"TemporaryFile(/tmp/multipartBody1928992436572355436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153393070,"filename":"image_21022025_16_55_14_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338859880","file1":"1338859877","file0":"1338859874","file4":"1338859888","file3":"1338859884"},"map_files_photo_id_array":[{"photo_id":"1338859880","filename":"file2"},{"photo_id":"1338859888","filename":"file4"},{"photo_id":"1338859877","filename":"file1"},{"photo_id":"1338859874","filename":"file0"},{"photo_id":"1338859884","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338859880":["hashtag1","hashtag2"]},{"1338859874":["hashtag1","hashtag2"]},{"1338859888":["hashtag1","hashtag2"]},{"1338859884":["hashtag1","hashtag2"]},{"1338859877":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338859880, 1338859874, 1338859888, 1338859884, 1338859877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.25676870346069 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 16:56:32.738466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/55/image_21022025_16_55_54_10354.jpg', '/home/pi/Desktop/images/21022025/16/55/image_21022025_16_56_05_10531.jpg', '/home/pi/Desktop/images/21022025/16/56/image_21022025_16_56_14_9340.jpg', '/home/pi/Desktop/images/21022025/16/56/image_21022025_16_56_25_10363.jpg', '/home/pi/Desktop/images/21022025/16/56/image_21022025_16_56_34_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/55/image_21022025_16_55_54_10354.jpg
/home/pi/Desktop/images/21022025/16/55/image_21022025_16_56_05_10531.jpg
/home/pi/Desktop/images/21022025/16/56/image_21022025_16_56_14_9340.jpg
/home/pi/Desktop/images/21022025/16/56/image_21022025_16_56_25_10363.jpg
/home/pi/Desktop/images/21022025/16/56/image_21022025_16_56_34_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338859916","1338859915","1338859911","1338859905","1338859908"],"photo_ids_order":["1338859905","1338859908","1338859911","1338859915","1338859916"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3a0f39ae1d4ae892cb825e3079914ede.jpg","text":"TemporaryFile(/tmp/multipartBody7493988777355478300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153453193,"filename":"image_21022025_16_56_34_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8a5d4bac9ce6dadc6095915deb126af3.jpg","text":"TemporaryFile(/tmp/multipartBody7424544718564478984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153453193,"filename":"image_21022025_16_56_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0ce3466efebcbc7c809e2eee10326d08.jpg","text":"TemporaryFile(/tmp/multipartBody8022723475115432803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153453193,"filename":"image_21022025_16_56_14_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d69763ce3ac90441424193a7af426b43.jpg","text":"TemporaryFile(/tmp/multipartBody1217692040425380279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153453193,"filename":"image_21022025_16_55_54_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e411c70014c478dd927efd065493dc02.jpg","text":"TemporaryFile(/tmp/multipartBody1614625942403008153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153453193,"filename":"image_21022025_16_56_05_10531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338859911","file1":"1338859908","file0":"1338859905","file4":"1338859916","file3":"1338859915"},"map_files_photo_id_array":[{"photo_id":"1338859911","filename":"file2"},{"photo_id":"1338859916","filename":"file4"},{"photo_id":"1338859908","filename":"file1"},{"photo_id":"1338859905","filename":"file0"},{"photo_id":"1338859915","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338859916":["hashtag1","hashtag2"]},{"1338859915":["hashtag1","hashtag2"]},{"1338859911":["hashtag1","hashtag2"]},{"1338859905":["hashtag1","hashtag2"]},{"1338859908":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338859916, 1338859915, 1338859911, 1338859905, 1338859908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.493038654327393 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 16:57:04.494127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/36/image_20022025_17_36_46_10334.jpg', '/home/pi/Desktop/images/20022025/17/36/image_20022025_17_36_56_9451.jpg', '/home/pi/Desktop/images/20022025/17/36/image_20022025_17_37_06_10348.jpg', '/home/pi/Desktop/images/20022025/17/37/image_20022025_17_37_16_10356.jpg', '/home/pi/Desktop/images/20022025/17/37/image_20022025_17_37_26_9448.jpg', '/home/pi/Desktop/images/20022025/17/37/image_20022025_17_37_36_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/36/image_20022025_17_36_46_10334.jpg
/home/pi/Desktop/images/20022025/17/36/image_20022025_17_36_56_9451.jpg
/home/pi/Desktop/images/20022025/17/36/image_20022025_17_37_06_10348.jpg
/home/pi/Desktop/images/20022025/17/37/image_20022025_17_37_16_10356.jpg
/home/pi/Desktop/images/20022025/17/37/image_20022025_17_37_26_9448.jpg
/home/pi/Desktop/images/20022025/17/37/image_20022025_17_37_36_10391.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338859981","1338859942","1338859939","1338859927","1338859944","1338859932"],"photo_ids_order":["1338859927","1338859932","1338859939","1338859942","1338859944","1338859981"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f5694677faaaa5a979136d56024f8d98.jpg","text":"TemporaryFile(/tmp/multipartBody478604345124014588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153486282,"filename":"image_20022025_17_37_36_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bd5c0e1f6aec9f0ffc8c06c6d86b3c97.jpg","text":"TemporaryFile(/tmp/multipartBody2871263314704661743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153486282,"filename":"image_20022025_17_37_16_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c7f0853455080eb3b70c2958917f8995.jpg","text":"TemporaryFile(/tmp/multipartBody8983115100375648045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153486282,"filename":"image_20022025_17_37_06_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8e782f8f060e690172243b5e00cded5.jpg","text":"TemporaryFile(/tmp/multipartBody8527116079814509566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153486282,"filename":"image_20022025_17_36_46_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1798565d4690d18877ef97abe8a8dd7.jpg","text":"TemporaryFile(/tmp/multipartBody4318727015988040439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153486282,"filename":"image_20022025_17_37_26_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b33c82f6ec5b3414bc429d56f86c20f3.jpg","text":"TemporaryFile(/tmp/multipartBody5367429043556483818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153486282,"filename":"image_20022025_17_36_56_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338859939","file1":"1338859932","file0":"1338859927","file4":"1338859944","file5":"1338859981","file3":"1338859942"},"map_files_photo_id_array":[{"photo_id":"1338859981","filename":"file5"},{"photo_id":"1338859939","filename":"file2"},{"photo_id":"1338859944","filename":"file4"},{"photo_id":"1338859932","filename":"file1"},{"photo_id":"1338859927","filename":"file0"},{"photo_id":"1338859942","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338859981":["hashtag1","hashtag2"]},{"1338859942":["hashtag1","hashtag2"]},{"1338859939":["hashtag1","hashtag2"]},{"1338859927":["hashtag1","hashtag2"]},{"1338859944":["hashtag1","hashtag2"]},{"1338859932":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338859981, 1338859942, 1338859939, 1338859927, 1338859944, 1338859932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.993422508239746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 16:57:42.976505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/56/image_21022025_16_56_44_10354.jpg', '/home/pi/Desktop/images/21022025/16/56/image_21022025_16_57_04_9329.jpg', '/home/pi/Desktop/images/21022025/16/57/image_21022025_16_57_14_10338.jpg', '/home/pi/Desktop/images/21022025/16/57/image_21022025_16_57_24_9461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/56/image_21022025_16_56_44_10354.jpg
/home/pi/Desktop/images/21022025/16/56/image_21022025_16_57_04_9329.jpg
/home/pi/Desktop/images/21022025/16/57/image_21022025_16_57_14_10338.jpg
/home/pi/Desktop/images/21022025/16/57/image_21022025_16_57_24_9461.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 16:59:03.847810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/56/image_21022025_16_56_44_10354.jpg', '/home/pi/Desktop/images/21022025/16/56/image_21022025_16_57_04_9329.jpg', '/home/pi/Desktop/images/21022025/16/57/image_21022025_16_57_14_10338.jpg', '/home/pi/Desktop/images/21022025/16/57/image_21022025_16_57_24_9461.jpg', '/home/pi/Desktop/images/21022025/16/57/image_21022025_16_57_45_10449.jpg', '/home/pi/Desktop/images/21022025/16/58/image_21022025_16_58_24_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/56/image_21022025_16_56_44_10354.jpg
/home/pi/Desktop/images/21022025/16/56/image_21022025_16_57_04_9329.jpg
/home/pi/Desktop/images/21022025/16/57/image_21022025_16_57_14_10338.jpg
/home/pi/Desktop/images/21022025/16/57/image_21022025_16_57_24_9461.jpg
/home/pi/Desktop/images/21022025/16/57/image_21022025_16_57_45_10449.jpg
/home/pi/Desktop/images/21022025/16/58/image_21022025_16_58_24_9421.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338860015","1338860032","1338860026","1338860008","1338860017","1338860022"],"photo_ids_order":["1338860008","1338860015","1338860017","1338860022","1338860026","1338860032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bea5336ca6e093ef48230850fe898b99.jpg","text":"TemporaryFile(/tmp/multipartBody6417839695573869986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153604401,"filename":"image_21022025_16_57_04_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/065ef2b124da4a507d79136b1efc5578.jpg","text":"TemporaryFile(/tmp/multipartBody7982783947474439090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153604401,"filename":"image_21022025_16_58_24_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fb3d4a3743a578f5e093b4ca9306cea3.jpg","text":"TemporaryFile(/tmp/multipartBody7539759511926346382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153604401,"filename":"image_21022025_16_57_45_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/596dde96d93bc18ec11a2892e0e23861.jpg","text":"TemporaryFile(/tmp/multipartBody312747257687667581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153604401,"filename":"image_21022025_16_56_44_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c4898daf9b1a9ec36303bcdf7ad4118.jpg","text":"TemporaryFile(/tmp/multipartBody7138782050294195389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153604401,"filename":"image_21022025_16_57_14_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/25e73ec56509eba84f386b4139b32445.jpg","text":"TemporaryFile(/tmp/multipartBody5107392866090367697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153604401,"filename":"image_21022025_16_57_24_9461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338860017","file1":"1338860015","file0":"1338860008","file4":"1338860026","file5":"1338860032","file3":"1338860022"},"map_files_photo_id_array":[{"photo_id":"1338860032","filename":"file5"},{"photo_id":"1338860017","filename":"file2"},{"photo_id":"1338860026","filename":"file4"},{"photo_id":"1338860015","filename":"file1"},{"photo_id":"1338860008","filename":"file0"},{"photo_id":"1338860022","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338860015":["hashtag1","hashtag2"]},{"1338860032":["hashtag1","hashtag2"]},{"1338860026":["hashtag1","hashtag2"]},{"1338860008":["hashtag1","hashtag2"]},{"1338860017":["hashtag1","hashtag2"]},{"1338860022":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338860015, 1338860032, 1338860026, 1338860008, 1338860017, 1338860022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59130358695984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 16:59:42.645715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/58/image_21022025_16_58_35_10517.jpg', '/home/pi/Desktop/images/21022025/16/58/image_21022025_16_58_54_10411.jpg', '/home/pi/Desktop/images/21022025/16/58/image_21022025_16_59_04_9430.jpg', '/home/pi/Desktop/images/21022025/16/59/image_21022025_16_59_14_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/58/image_21022025_16_58_35_10517.jpg
/home/pi/Desktop/images/21022025/16/58/image_21022025_16_58_54_10411.jpg
/home/pi/Desktop/images/21022025/16/58/image_21022025_16_59_04_9430.jpg
/home/pi/Desktop/images/21022025/16/59/image_21022025_16_59_14_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338860045","1338860054","1338860057","1338860050"],"photo_ids_order":["1338860045","1338860050","1338860054","1338860057"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/694fc2182e38e09bfac2e91e240d8929.jpg","text":"TemporaryFile(/tmp/multipartBody4836824775063579007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153643103,"filename":"image_21022025_16_58_35_10517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1c7b7d1a64b5cf38ee56a9e5f209ab93.jpg","text":"TemporaryFile(/tmp/multipartBody4643322456756800673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153643103,"filename":"image_21022025_16_59_04_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0293686f72b664a29bc76f14a0f4b3ab.jpg","text":"TemporaryFile(/tmp/multipartBody1392158257222123893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153643103,"filename":"image_21022025_16_59_14_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f80f3d7bfb31758e1a8a583f3adf75e.jpg","text":"TemporaryFile(/tmp/multipartBody6495767547210320474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153643103,"filename":"image_21022025_16_58_54_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338860054","file1":"1338860050","file0":"1338860045","file3":"1338860057"},"map_files_photo_id_array":[{"photo_id":"1338860054","filename":"file2"},{"photo_id":"1338860050","filename":"file1"},{"photo_id":"1338860045","filename":"file0"},{"photo_id":"1338860057","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338860045":["hashtag1","hashtag2"]},{"1338860054":["hashtag1","hashtag2"]},{"1338860057":["hashtag1","hashtag2"]},{"1338860050":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338860045, 1338860054, 1338860057, 1338860050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.840217113494873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:00:32.865637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/37/image_20022025_17_38_06_10319.jpg', '/home/pi/Desktop/images/20022025/17/38/image_20022025_17_38_16_9446.jpg', '/home/pi/Desktop/images/20022025/17/38/image_20022025_17_38_26_10349.jpg', '/home/pi/Desktop/images/20022025/17/38/image_20022025_17_38_37_10398.jpg', '/home/pi/Desktop/images/20022025/17/38/image_20022025_17_39_07_10333.jpg', '/home/pi/Desktop/images/20022025/17/39/image_20022025_17_39_16_9324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/37/image_20022025_17_38_06_10319.jpg
/home/pi/Desktop/images/20022025/17/38/image_20022025_17_38_16_9446.jpg
/home/pi/Desktop/images/20022025/17/38/image_20022025_17_38_26_10349.jpg
/home/pi/Desktop/images/20022025/17/38/image_20022025_17_38_37_10398.jpg
/home/pi/Desktop/images/20022025/17/38/image_20022025_17_39_07_10333.jpg
/home/pi/Desktop/images/20022025/17/39/image_20022025_17_39_16_9324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338860096","1338860092","1338860080","1338860085","1338860094","1338860088"],"photo_ids_order":["1338860080","1338860085","1338860088","1338860092","1338860094","1338860096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04db04804e0adfa6764e3dd00ede0647.jpg","text":"TemporaryFile(/tmp/multipartBody8362167134990372438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153694965,"filename":"image_20022025_17_39_16_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2c9a74438611e3bd9d281a6ac6050c54.jpg","text":"TemporaryFile(/tmp/multipartBody6264940401653556796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153694965,"filename":"image_20022025_17_38_37_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/53b4f23920510cfbf60d803aa3937136.jpg","text":"TemporaryFile(/tmp/multipartBody7636599905196209985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153694965,"filename":"image_20022025_17_38_06_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a92a95ee8c074417bc0c13a34e38c8dd.jpg","text":"TemporaryFile(/tmp/multipartBody4289040029615546769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153694965,"filename":"image_20022025_17_38_16_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/683071559195ecb1f34a3b5fa87fe0f3.jpg","text":"TemporaryFile(/tmp/multipartBody7424910925885544343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153694965,"filename":"image_20022025_17_39_07_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ec10aeab5f287d743c19aee69ed2009c.jpg","text":"TemporaryFile(/tmp/multipartBody8205495147905554796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153694965,"filename":"image_20022025_17_38_26_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338860088","file1":"1338860085","file0":"1338860080","file4":"1338860094","file5":"1338860096","file3":"1338860092"},"map_files_photo_id_array":[{"photo_id":"1338860096","filename":"file5"},{"photo_id":"1338860088","filename":"file2"},{"photo_id":"1338860094","filename":"file4"},{"photo_id":"1338860085","filename":"file1"},{"photo_id":"1338860080","filename":"file0"},{"photo_id":"1338860092","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338860096":["hashtag1","hashtag2"]},{"1338860092":["hashtag1","hashtag2"]},{"1338860080":["hashtag1","hashtag2"]},{"1338860085":["hashtag1","hashtag2"]},{"1338860094":["hashtag1","hashtag2"]},{"1338860088":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338860096, 1338860092, 1338860080, 1338860085, 1338860094, 1338860088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.455955505371094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:01:33.022794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/16/59/image_21022025_16_59_54_9359.jpg', '/home/pi/Desktop/images/21022025/17/01/image_21022025_17_01_15_10081.jpg', '/home/pi/Desktop/images/21022025/17/01/image_21022025_17_01_25_10387.jpg', '/home/pi/Desktop/images/21022025/17/01/image_21022025_17_01_35_10337.jpg', '/home/pi/Desktop/images/21022025/17/01/image_21022025_17_01_45_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/16/59/image_21022025_16_59_54_9359.jpg
/home/pi/Desktop/images/21022025/17/01/image_21022025_17_01_15_10081.jpg
/home/pi/Desktop/images/21022025/17/01/image_21022025_17_01_25_10387.jpg
/home/pi/Desktop/images/21022025/17/01/image_21022025_17_01_35_10337.jpg
/home/pi/Desktop/images/21022025/17/01/image_21022025_17_01_45_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338860118","1338860120","1338860123","1338860117","1338860125"],"photo_ids_order":["1338860117","1338860118","1338860120","1338860123","1338860125"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0edc982f355103c1ca8b843ba043b4e8.jpg","text":"TemporaryFile(/tmp/multipartBody5105583234001440256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153753493,"filename":"image_21022025_17_01_15_10081.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ac0d2c3fd25e90412a6d61c67b003c2.jpg","text":"TemporaryFile(/tmp/multipartBody6315069872582213139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153753493,"filename":"image_21022025_17_01_25_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8d883095f49a97017d3202a4a6c3c73b.jpg","text":"TemporaryFile(/tmp/multipartBody9037888949021503999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153753493,"filename":"image_21022025_17_01_35_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b583f252bd3b5805c9ef63d7920716c2.jpg","text":"TemporaryFile(/tmp/multipartBody2919926852605829848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153753493,"filename":"image_21022025_16_59_54_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/99b0ed3ac49b52eba3205af09e59b05d.jpg","text":"TemporaryFile(/tmp/multipartBody1733796170679454221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153753493,"filename":"image_21022025_17_01_45_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338860120","file1":"1338860118","file0":"1338860117","file4":"1338860125","file3":"1338860123"},"map_files_photo_id_array":[{"photo_id":"1338860120","filename":"file2"},{"photo_id":"1338860125","filename":"file4"},{"photo_id":"1338860118","filename":"file1"},{"photo_id":"1338860117","filename":"file0"},{"photo_id":"1338860123","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338860118":["hashtag1","hashtag2"]},{"1338860120":["hashtag1","hashtag2"]},{"1338860123":["hashtag1","hashtag2"]},{"1338860117":["hashtag1","hashtag2"]},{"1338860125":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338860118, 1338860120, 1338860123, 1338860117, 1338860125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.224122047424316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:02:03.193993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/39/image_20022025_17_39_26_10332.jpg', '/home/pi/Desktop/images/20022025/17/39/image_20022025_17_39_37_10353.jpg', '/home/pi/Desktop/images/20022025/17/39/image_20022025_17_39_46_9318.jpg', '/home/pi/Desktop/images/20022025/17/39/image_20022025_17_39_56_10360.jpg', '/home/pi/Desktop/images/20022025/17/39/image_20022025_17_40_07_10339.jpg', '/home/pi/Desktop/images/20022025/17/40/image_20022025_17_40_26_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/39/image_20022025_17_39_26_10332.jpg
/home/pi/Desktop/images/20022025/17/39/image_20022025_17_39_37_10353.jpg
/home/pi/Desktop/images/20022025/17/39/image_20022025_17_39_46_9318.jpg
/home/pi/Desktop/images/20022025/17/39/image_20022025_17_39_56_10360.jpg
/home/pi/Desktop/images/20022025/17/39/image_20022025_17_40_07_10339.jpg
/home/pi/Desktop/images/20022025/17/40/image_20022025_17_40_26_10342.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338860140","1338860137","1338860146","1338860131","1338860134","1338860142"],"photo_ids_order":["1338860131","1338860134","1338860137","1338860140","1338860142","1338860146"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/acdeee7ccf6ac446bb3453da1af41154.jpg","text":"TemporaryFile(/tmp/multipartBody7218827789950543266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153784648,"filename":"image_20022025_17_39_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/43abfe94dc9f40f8468744defc807134.jpg","text":"TemporaryFile(/tmp/multipartBody8123595657167743125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153784648,"filename":"image_20022025_17_39_46_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/76ce59fd9b7cdf13308cbc8f1b56de30.jpg","text":"TemporaryFile(/tmp/multipartBody8605727124702154490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153784648,"filename":"image_20022025_17_40_26_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/68e3ed14d7219b06ba4b28004fbd5ca4.jpg","text":"TemporaryFile(/tmp/multipartBody8228243625098875560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153784648,"filename":"image_20022025_17_39_26_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3de694367a421516b0c51550fa4696f3.jpg","text":"TemporaryFile(/tmp/multipartBody1989819439086602108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153784648,"filename":"image_20022025_17_39_37_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3910da054535a38cde44bd4e3044a50a.jpg","text":"TemporaryFile(/tmp/multipartBody2450879912842522687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153784648,"filename":"image_20022025_17_40_07_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338860137","file1":"1338860134","file0":"1338860131","file4":"1338860142","file5":"1338860146","file3":"1338860140"},"map_files_photo_id_array":[{"photo_id":"1338860146","filename":"file5"},{"photo_id":"1338860137","filename":"file2"},{"photo_id":"1338860142","filename":"file4"},{"photo_id":"1338860134","filename":"file1"},{"photo_id":"1338860131","filename":"file0"},{"photo_id":"1338860140","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338860140":["hashtag1","hashtag2"]},{"1338860137":["hashtag1","hashtag2"]},{"1338860146":["hashtag1","hashtag2"]},{"1338860131":["hashtag1","hashtag2"]},{"1338860134":["hashtag1","hashtag2"]},{"1338860142":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338860140, 1338860137, 1338860146, 1338860131, 1338860134, 1338860142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.710341930389404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:02:42.321762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/01/image_21022025_17_01_55_10338.jpg', '/home/pi/Desktop/images/21022025/17/01/image_21022025_17_02_05_10359.jpg', '/home/pi/Desktop/images/21022025/17/02/image_21022025_17_02_15_9334.jpg', '/home/pi/Desktop/images/21022025/17/02/image_21022025_17_02_35_9496.jpg', '/home/pi/Desktop/images/21022025/17/02/image_21022025_17_02_45_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/01/image_21022025_17_01_55_10338.jpg
/home/pi/Desktop/images/21022025/17/01/image_21022025_17_02_05_10359.jpg
/home/pi/Desktop/images/21022025/17/02/image_21022025_17_02_15_9334.jpg
/home/pi/Desktop/images/21022025/17/02/image_21022025_17_02_35_9496.jpg
/home/pi/Desktop/images/21022025/17/02/image_21022025_17_02_45_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338860159","1338860167","1338860161","1338860170","1338860164"],"photo_ids_order":["1338860159","1338860161","1338860164","1338860167","1338860170"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a42831bc2ba2e5998f933eb847191763.jpg","text":"TemporaryFile(/tmp/multipartBody4640897462161122469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153822776,"filename":"image_21022025_17_01_55_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/53b09b4f876ca12587cdac8a36835680.jpg","text":"TemporaryFile(/tmp/multipartBody7292372590508099746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153822776,"filename":"image_21022025_17_02_35_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3ab97a74c5f996ee07d0022b4ccd154.jpg","text":"TemporaryFile(/tmp/multipartBody5980135634827058811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153822776,"filename":"image_21022025_17_02_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6dd153ac9e9739fb47b0cbd708b0f597.jpg","text":"TemporaryFile(/tmp/multipartBody2654597759770350252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153822776,"filename":"image_21022025_17_02_45_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5863c2651aec70ee875b4b9b3203be29.jpg","text":"TemporaryFile(/tmp/multipartBody4596170754564186976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153822776,"filename":"image_21022025_17_02_15_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338860164","file1":"1338860161","file0":"1338860159","file4":"1338860170","file3":"1338860167"},"map_files_photo_id_array":[{"photo_id":"1338860164","filename":"file2"},{"photo_id":"1338860170","filename":"file4"},{"photo_id":"1338860161","filename":"file1"},{"photo_id":"1338860159","filename":"file0"},{"photo_id":"1338860167","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338860159":["hashtag1","hashtag2"]},{"1338860167":["hashtag1","hashtag2"]},{"1338860161":["hashtag1","hashtag2"]},{"1338860170":["hashtag1","hashtag2"]},{"1338860164":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338860159, 1338860167, 1338860161, 1338860170, 1338860164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.413216590881348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:03:32.719077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/02/image_21022025_17_02_55_9426.jpg', '/home/pi/Desktop/images/21022025/17/02/image_21022025_17_03_05_10352.jpg', '/home/pi/Desktop/images/21022025/17/03/image_21022025_17_03_25_9487.jpg', '/home/pi/Desktop/images/21022025/17/03/image_21022025_17_03_35_10351.jpg', '/home/pi/Desktop/images/21022025/17/03/image_21022025_17_03_45_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/02/image_21022025_17_02_55_9426.jpg
/home/pi/Desktop/images/21022025/17/02/image_21022025_17_03_05_10352.jpg
/home/pi/Desktop/images/21022025/17/03/image_21022025_17_03_25_9487.jpg
/home/pi/Desktop/images/21022025/17/03/image_21022025_17_03_35_10351.jpg
/home/pi/Desktop/images/21022025/17/03/image_21022025_17_03_45_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338860192","1338860195","1338860189","1338860204","1338860199"],"photo_ids_order":["1338860189","1338860192","1338860195","1338860199","1338860204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/706c5dc52789acce059e732ac591c0a0.jpg","text":"TemporaryFile(/tmp/multipartBody8289438134907698027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153873186,"filename":"image_21022025_17_03_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9882571e54867aaf081017010bbea7f4.jpg","text":"TemporaryFile(/tmp/multipartBody5377235220230492013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153873186,"filename":"image_21022025_17_03_25_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3582147ccb9ff04e3aa9bf0f8dc9f6b6.jpg","text":"TemporaryFile(/tmp/multipartBody3360832215140201581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153873186,"filename":"image_21022025_17_02_55_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/324d918e0050d52a4d5e82b217075fda.jpg","text":"TemporaryFile(/tmp/multipartBody1908712519186243775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153873186,"filename":"image_21022025_17_03_45_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1cafa180a0abc95e0840ec7c0593b767.jpg","text":"TemporaryFile(/tmp/multipartBody3372321964643555478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153873186,"filename":"image_21022025_17_03_35_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338860195","file1":"1338860192","file0":"1338860189","file4":"1338860204","file3":"1338860199"},"map_files_photo_id_array":[{"photo_id":"1338860195","filename":"file2"},{"photo_id":"1338860204","filename":"file4"},{"photo_id":"1338860192","filename":"file1"},{"photo_id":"1338860189","filename":"file0"},{"photo_id":"1338860199","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338860192":["hashtag1","hashtag2"]},{"1338860195":["hashtag1","hashtag2"]},{"1338860189":["hashtag1","hashtag2"]},{"1338860204":["hashtag1","hashtag2"]},{"1338860199":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338860192, 1338860195, 1338860189, 1338860204, 1338860199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.54681372642517 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:04:03.629753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/40/image_20022025_17_40_37_10345.jpg', '/home/pi/Desktop/images/20022025/17/40/image_20022025_17_40_46_9433.jpg', '/home/pi/Desktop/images/20022025/17/40/image_20022025_17_40_56_10338.jpg', '/home/pi/Desktop/images/20022025/17/40/image_20022025_17_41_06_9427.jpg', '/home/pi/Desktop/images/20022025/17/41/image_20022025_17_41_26_9481.jpg', '/home/pi/Desktop/images/20022025/17/41/image_20022025_17_41_36_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/40/image_20022025_17_40_37_10345.jpg
/home/pi/Desktop/images/20022025/17/40/image_20022025_17_40_46_9433.jpg
/home/pi/Desktop/images/20022025/17/40/image_20022025_17_40_56_10338.jpg
/home/pi/Desktop/images/20022025/17/40/image_20022025_17_41_06_9427.jpg
/home/pi/Desktop/images/20022025/17/41/image_20022025_17_41_26_9481.jpg
/home/pi/Desktop/images/20022025/17/41/image_20022025_17_41_36_10429.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338860249","1338860230","1338860224","1338860227","1338860220","1338860214"],"photo_ids_order":["1338860214","1338860220","1338860224","1338860227","1338860230","1338860249"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5ca3675710d4153ae3ad75336a78d9e8.jpg","text":"TemporaryFile(/tmp/multipartBody2238469891609947543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153905050,"filename":"image_20022025_17_41_36_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aa4becfd45d55a06901893f1c0578a79.jpg","text":"TemporaryFile(/tmp/multipartBody6708491279187935568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153905050,"filename":"image_20022025_17_41_26_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4cf7521dfa06185213cafcd9633ca0ea.jpg","text":"TemporaryFile(/tmp/multipartBody1161193520397238620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153905050,"filename":"image_20022025_17_40_56_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f90e57580d989cc0d0d66542a58bd96e.jpg","text":"TemporaryFile(/tmp/multipartBody193089886134930318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153905050,"filename":"image_20022025_17_41_06_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c4044b628c9aef996c5f76cf99c8744a.jpg","text":"TemporaryFile(/tmp/multipartBody9132124058233524525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153905050,"filename":"image_20022025_17_40_46_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e8dc45de801f512132e9b6e015fdd26f.jpg","text":"TemporaryFile(/tmp/multipartBody6201260469341123136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153905050,"filename":"image_20022025_17_40_37_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338860224","file1":"1338860220","file0":"1338860214","file4":"1338860230","file5":"1338860249","file3":"1338860227"},"map_files_photo_id_array":[{"photo_id":"1338860249","filename":"file5"},{"photo_id":"1338860224","filename":"file2"},{"photo_id":"1338860230","filename":"file4"},{"photo_id":"1338860220","filename":"file1"},{"photo_id":"1338860214","filename":"file0"},{"photo_id":"1338860227","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338860249":["hashtag1","hashtag2"]},{"1338860230":["hashtag1","hashtag2"]},{"1338860224":["hashtag1","hashtag2"]},{"1338860227":["hashtag1","hashtag2"]},{"1338860220":["hashtag1","hashtag2"]},{"1338860214":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338860249, 1338860230, 1338860224, 1338860227, 1338860220, 1338860214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65800762176514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:04:42.836755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/03/image_21022025_17_03_55_9363.jpg', '/home/pi/Desktop/images/21022025/17/03/image_21022025_17_04_05_10348.jpg', '/home/pi/Desktop/images/21022025/17/04/image_21022025_17_04_15_9486.jpg', '/home/pi/Desktop/images/21022025/17/04/image_21022025_17_04_25_10447.jpg', '/home/pi/Desktop/images/21022025/17/04/image_21022025_17_04_36_10379.jpg', '/home/pi/Desktop/images/21022025/17/04/image_21022025_17_04_45_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/03/image_21022025_17_03_55_9363.jpg
/home/pi/Desktop/images/21022025/17/03/image_21022025_17_04_05_10348.jpg
/home/pi/Desktop/images/21022025/17/04/image_21022025_17_04_15_9486.jpg
/home/pi/Desktop/images/21022025/17/04/image_21022025_17_04_25_10447.jpg
/home/pi/Desktop/images/21022025/17/04/image_21022025_17_04_36_10379.jpg
/home/pi/Desktop/images/21022025/17/04/image_21022025_17_04_45_9457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338860270","1338860272","1338860266","1338860275","1338860278","1338860262"],"photo_ids_order":["1338860262","1338860266","1338860270","1338860272","1338860275","1338860278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e6f9ca302824e0aa915aab05d17ffcf3.jpg","text":"TemporaryFile(/tmp/multipartBody8045212912701287620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153943306,"filename":"image_21022025_17_04_15_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/46168acdaac8bb6538ea49ab528ec9a6.jpg","text":"TemporaryFile(/tmp/multipartBody838079168935349712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153943306,"filename":"image_21022025_17_04_25_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0bc9f0357adac2f89409e82d219fb8cc.jpg","text":"TemporaryFile(/tmp/multipartBody1701536528735336999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153943306,"filename":"image_21022025_17_04_05_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3b3bfd107d16387a643978c8486d05c9.jpg","text":"TemporaryFile(/tmp/multipartBody8480441247851893764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153943306,"filename":"image_21022025_17_04_36_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e9ea125ea9f1bef4f1f1bbcbb4a12c17.jpg","text":"TemporaryFile(/tmp/multipartBody5802344013935839626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153943306,"filename":"image_21022025_17_04_45_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c79b0e84ca5e1f1de61f59a6b76359ad.jpg","text":"TemporaryFile(/tmp/multipartBody3341384718616372993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740153943306,"filename":"image_21022025_17_03_55_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338860270","file1":"1338860266","file0":"1338860262","file4":"1338860275","file5":"1338860278","file3":"1338860272"},"map_files_photo_id_array":[{"photo_id":"1338860278","filename":"file5"},{"photo_id":"1338860270","filename":"file2"},{"photo_id":"1338860275","filename":"file4"},{"photo_id":"1338860266","filename":"file1"},{"photo_id":"1338860262","filename":"file0"},{"photo_id":"1338860272","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338860270":["hashtag1","hashtag2"]},{"1338860272":["hashtag1","hashtag2"]},{"1338860266":["hashtag1","hashtag2"]},{"1338860275":["hashtag1","hashtag2"]},{"1338860278":["hashtag1","hashtag2"]},{"1338860262":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338860270, 1338860272, 1338860266, 1338860275, 1338860278, 1338860262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.73483896255493 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:05:33.057327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/04/image_21022025_17_04_55_10365.jpg', '/home/pi/Desktop/images/21022025/17/04/image_21022025_17_05_05_9351.jpg', '/home/pi/Desktop/images/21022025/17/05/image_21022025_17_05_25_10358.jpg', '/home/pi/Desktop/images/21022025/17/05/image_21022025_17_05_35_9344.jpg', '/home/pi/Desktop/images/21022025/17/05/image_21022025_17_05_45_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/04/image_21022025_17_04_55_10365.jpg
/home/pi/Desktop/images/21022025/17/04/image_21022025_17_05_05_9351.jpg
/home/pi/Desktop/images/21022025/17/05/image_21022025_17_05_25_10358.jpg
/home/pi/Desktop/images/21022025/17/05/image_21022025_17_05_35_9344.jpg
/home/pi/Desktop/images/21022025/17/05/image_21022025_17_05_45_10359.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3714754581451416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:05:43.232893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/04/image_21022025_17_04_55_10365.jpg', '/home/pi/Desktop/images/21022025/17/04/image_21022025_17_05_05_9351.jpg', '/home/pi/Desktop/images/21022025/17/05/image_21022025_17_05_25_10358.jpg', '/home/pi/Desktop/images/21022025/17/05/image_21022025_17_05_35_9344.jpg', '/home/pi/Desktop/images/21022025/17/05/image_21022025_17_05_45_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/04/image_21022025_17_04_55_10365.jpg
/home/pi/Desktop/images/21022025/17/04/image_21022025_17_05_05_9351.jpg
/home/pi/Desktop/images/21022025/17/05/image_21022025_17_05_25_10358.jpg
/home/pi/Desktop/images/21022025/17/05/image_21022025_17_05_35_9344.jpg
/home/pi/Desktop/images/21022025/17/05/image_21022025_17_05_45_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338860316","1338860304","1338860307","1338860312","1338860320"],"photo_ids_order":["1338860304","1338860307","1338860312","1338860316","1338860320"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/08077adff46c271357749666d7405af4.jpg","text":"TemporaryFile(/tmp/multipartBody7981285741827981251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154003697,"filename":"image_21022025_17_05_35_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b5d6f40711f254e81ebcfc834d8f8d31.jpg","text":"TemporaryFile(/tmp/multipartBody1485786331542936852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154003697,"filename":"image_21022025_17_04_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ddf7728e32c39b3a81b074259320c3bd.jpg","text":"TemporaryFile(/tmp/multipartBody443534357048139510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154003697,"filename":"image_21022025_17_05_05_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d86dde41150669d715d02a5c0c16302e.jpg","text":"TemporaryFile(/tmp/multipartBody1944946153726074160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154003697,"filename":"image_21022025_17_05_25_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/09b1ef1f8f3bd1ee9f49b70beaa8a79c.jpg","text":"TemporaryFile(/tmp/multipartBody6310561968049699895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154003697,"filename":"image_21022025_17_05_45_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338860312","file1":"1338860307","file0":"1338860304","file4":"1338860320","file3":"1338860316"},"map_files_photo_id_array":[{"photo_id":"1338860312","filename":"file2"},{"photo_id":"1338860320","filename":"file4"},{"photo_id":"1338860307","filename":"file1"},{"photo_id":"1338860304","filename":"file0"},{"photo_id":"1338860316","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338860316":["hashtag1","hashtag2"]},{"1338860304":["hashtag1","hashtag2"]},{"1338860307":["hashtag1","hashtag2"]},{"1338860312":["hashtag1","hashtag2"]},{"1338860320":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338860316, 1338860304, 1338860307, 1338860312, 1338860320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.024966955184937 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:06:32.375699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/05/image_21022025_17_05_55_9487.jpg', '/home/pi/Desktop/images/21022025/17/05/image_21022025_17_06_05_10361.jpg', '/home/pi/Desktop/images/21022025/17/06/image_21022025_17_06_25_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/05/image_21022025_17_05_55_9487.jpg
/home/pi/Desktop/images/21022025/17/05/image_21022025_17_06_05_10361.jpg
/home/pi/Desktop/images/21022025/17/06/image_21022025_17_06_25_9342.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338860353","1338860338","1338860361"],"photo_ids_order":["1338860338","1338860353","1338860361"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/63bd1fb254b4ec19aac3b3741d094895.jpg","text":"TemporaryFile(/tmp/multipartBody2006860193605870987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154052807,"filename":"image_21022025_17_06_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4bdfe0ec92687923e18bc1a97886675b.jpg","text":"TemporaryFile(/tmp/multipartBody983163055058511183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154052807,"filename":"image_21022025_17_05_55_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9781929d424a4b1b51ce7433d2d55e0a.jpg","text":"TemporaryFile(/tmp/multipartBody5820517132360263801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154052807,"filename":"image_21022025_17_06_25_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338860361","file1":"1338860353","file0":"1338860338"},"map_files_photo_id_array":[{"photo_id":"1338860361","filename":"file2"},{"photo_id":"1338860353","filename":"file1"},{"photo_id":"1338860338","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338860353":["hashtag1","hashtag2"]},{"1338860338":["hashtag1","hashtag2"]},{"1338860361":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338860353, 1338860338, 1338860361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 17.71341109275818 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:06:52.220267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/41/image_20022025_17_41_47_10423.jpg', '/home/pi/Desktop/images/20022025/17/41/image_20022025_17_41_56_9358.jpg', '/home/pi/Desktop/images/20022025/17/42/image_20022025_17_42_16_9421.jpg', '/home/pi/Desktop/images/20022025/17/42/image_20022025_17_42_37_10468.jpg', '/home/pi/Desktop/images/20022025/17/42/image_20022025_17_42_46_9335.jpg', '/home/pi/Desktop/images/20022025/17/42/image_20022025_17_42_56_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/41/image_20022025_17_41_47_10423.jpg
/home/pi/Desktop/images/20022025/17/41/image_20022025_17_41_56_9358.jpg
/home/pi/Desktop/images/20022025/17/42/image_20022025_17_42_16_9421.jpg
/home/pi/Desktop/images/20022025/17/42/image_20022025_17_42_37_10468.jpg
/home/pi/Desktop/images/20022025/17/42/image_20022025_17_42_46_9335.jpg
/home/pi/Desktop/images/20022025/17/42/image_20022025_17_42_56_10353.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.011645793914795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:07:03.863190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/41/image_20022025_17_41_47_10423.jpg', '/home/pi/Desktop/images/20022025/17/41/image_20022025_17_41_56_9358.jpg', '/home/pi/Desktop/images/20022025/17/42/image_20022025_17_42_16_9421.jpg', '/home/pi/Desktop/images/20022025/17/42/image_20022025_17_42_37_10468.jpg', '/home/pi/Desktop/images/20022025/17/42/image_20022025_17_42_46_9335.jpg', '/home/pi/Desktop/images/20022025/17/42/image_20022025_17_42_56_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/41/image_20022025_17_41_47_10423.jpg
/home/pi/Desktop/images/20022025/17/41/image_20022025_17_41_56_9358.jpg
/home/pi/Desktop/images/20022025/17/42/image_20022025_17_42_16_9421.jpg
/home/pi/Desktop/images/20022025/17/42/image_20022025_17_42_37_10468.jpg
/home/pi/Desktop/images/20022025/17/42/image_20022025_17_42_46_9335.jpg
/home/pi/Desktop/images/20022025/17/42/image_20022025_17_42_56_10353.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338860400","1338860422","1338860410","1338860394","1338860407","1338860427"],"photo_ids_order":["1338860394","1338860400","1338860407","1338860410","1338860422","1338860427"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dc79cf99d4cd648a7f1a4e0e834229be.jpg","text":"TemporaryFile(/tmp/multipartBody785144348739967229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154085378,"filename":"image_20022025_17_41_56_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b7a6ea064a99f24572e2043c2b21aab.jpg","text":"TemporaryFile(/tmp/multipartBody4024177764233748960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154085378,"filename":"image_20022025_17_42_46_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b8636b5e71239e66bd562e3900c94384.jpg","text":"TemporaryFile(/tmp/multipartBody5508793724270145487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154085378,"filename":"image_20022025_17_42_37_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/856283d66794ce8e33d87722a55c2932.jpg","text":"TemporaryFile(/tmp/multipartBody5648229387558050045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154085378,"filename":"image_20022025_17_41_47_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3331ebe6764600d566cf912eb5c13fea.jpg","text":"TemporaryFile(/tmp/multipartBody7143971452389358291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154085378,"filename":"image_20022025_17_42_16_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e49ba513a139790a797a52c44a33415c.jpg","text":"TemporaryFile(/tmp/multipartBody1096851149815148096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154085378,"filename":"image_20022025_17_42_56_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338860407","file1":"1338860400","file0":"1338860394","file4":"1338860422","file5":"1338860427","file3":"1338860410"},"map_files_photo_id_array":[{"photo_id":"1338860427","filename":"file5"},{"photo_id":"1338860407","filename":"file2"},{"photo_id":"1338860422","filename":"file4"},{"photo_id":"1338860400","filename":"file1"},{"photo_id":"1338860394","filename":"file0"},{"photo_id":"1338860410","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338860400":["hashtag1","hashtag2"]},{"1338860422":["hashtag1","hashtag2"]},{"1338860410":["hashtag1","hashtag2"]},{"1338860394":["hashtag1","hashtag2"]},{"1338860407":["hashtag1","hashtag2"]},{"1338860427":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338860400, 1338860422, 1338860410, 1338860394, 1338860407, 1338860427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55008411407471 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:07:42.420120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/06/image_21022025_17_06_45_10404.jpg', '/home/pi/Desktop/images/21022025/17/06/image_21022025_17_07_05_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/06/image_21022025_17_06_45_10404.jpg
/home/pi/Desktop/images/21022025/17/06/image_21022025_17_07_05_10421.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338860436","1338860441"],"photo_ids_order":["1338860436","1338860441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/daa9ac7051f696ad3dc1cacc8581f803.jpg","text":"TemporaryFile(/tmp/multipartBody2806418285443177074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154122844,"filename":"image_21022025_17_06_45_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f52c0d819bf1d7c30db67911709df3f6.jpg","text":"TemporaryFile(/tmp/multipartBody7442140928060833015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154122844,"filename":"image_21022025_17_07_05_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338860441","file0":"1338860436"},"map_files_photo_id_array":[{"photo_id":"1338860441","filename":"file1"},{"photo_id":"1338860436","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338860436":["hashtag1","hashtag2"]},{"1338860441":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338860436, 1338860441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.054380178451538 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:08:03.248272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/42/image_20022025_17_43_07_10349.jpg', '/home/pi/Desktop/images/20022025/17/43/image_20022025_17_43_16_9346.jpg', '/home/pi/Desktop/images/20022025/17/43/image_20022025_17_43_26_10351.jpg', '/home/pi/Desktop/images/20022025/17/43/image_20022025_17_43_36_9447.jpg', '/home/pi/Desktop/images/20022025/17/43/image_20022025_17_43_56_10341.jpg', '/home/pi/Desktop/images/20022025/17/43/image_20022025_17_44_06_9529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/42/image_20022025_17_43_07_10349.jpg
/home/pi/Desktop/images/20022025/17/43/image_20022025_17_43_16_9346.jpg
/home/pi/Desktop/images/20022025/17/43/image_20022025_17_43_26_10351.jpg
/home/pi/Desktop/images/20022025/17/43/image_20022025_17_43_36_9447.jpg
/home/pi/Desktop/images/20022025/17/43/image_20022025_17_43_56_10341.jpg
/home/pi/Desktop/images/20022025/17/43/image_20022025_17_44_06_9529.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.2960660457611084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:08:32.651312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/07/image_21022025_17_07_35_10365.jpg', '/home/pi/Desktop/images/21022025/17/07/image_21022025_17_08_06_10397.jpg', '/home/pi/Desktop/images/21022025/17/08/image_21022025_17_08_25_10386.jpg', '/home/pi/Desktop/images/21022025/17/08/image_21022025_17_08_35_9486.jpg', '/home/pi/Desktop/images/21022025/17/08/image_21022025_17_08_45_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/07/image_21022025_17_07_35_10365.jpg
/home/pi/Desktop/images/21022025/17/07/image_21022025_17_08_06_10397.jpg
/home/pi/Desktop/images/21022025/17/08/image_21022025_17_08_25_10386.jpg
/home/pi/Desktop/images/21022025/17/08/image_21022025_17_08_35_9486.jpg
/home/pi/Desktop/images/21022025/17/08/image_21022025_17_08_45_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338860480","1338860474","1338860485","1338860476","1338860472"],"photo_ids_order":["1338860472","1338860474","1338860476","1338860480","1338860485"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8181e10fd5ea8930770dc771a798c9ed.jpg","text":"TemporaryFile(/tmp/multipartBody2533624946310221437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154173114,"filename":"image_21022025_17_08_35_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8242b299917b1baea099645ec57c4a62.jpg","text":"TemporaryFile(/tmp/multipartBody60101846813592024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154173114,"filename":"image_21022025_17_08_06_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/00cf6c427acd378c7629cda365dbedc1.jpg","text":"TemporaryFile(/tmp/multipartBody5129539860002059564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154173114,"filename":"image_21022025_17_08_45_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d799916cd663da329e31605635a95292.jpg","text":"TemporaryFile(/tmp/multipartBody1141936785721859302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154173114,"filename":"image_21022025_17_08_25_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f81ecc7d6346465512dfc3b930fb8d97.jpg","text":"TemporaryFile(/tmp/multipartBody926309246697182561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154173114,"filename":"image_21022025_17_07_35_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338860476","file1":"1338860474","file0":"1338860472","file4":"1338860485","file3":"1338860480"},"map_files_photo_id_array":[{"photo_id":"1338860476","filename":"file2"},{"photo_id":"1338860485","filename":"file4"},{"photo_id":"1338860474","filename":"file1"},{"photo_id":"1338860472","filename":"file0"},{"photo_id":"1338860480","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338860480":["hashtag1","hashtag2"]},{"1338860474":["hashtag1","hashtag2"]},{"1338860485":["hashtag1","hashtag2"]},{"1338860476":["hashtag1","hashtag2"]},{"1338860472":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338860480, 1338860474, 1338860485, 1338860476, 1338860472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.463983297348022 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:09:04.413604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/42/image_20022025_17_43_07_10349.jpg', '/home/pi/Desktop/images/20022025/17/43/image_20022025_17_43_16_9346.jpg', '/home/pi/Desktop/images/20022025/17/43/image_20022025_17_43_26_10351.jpg', '/home/pi/Desktop/images/20022025/17/43/image_20022025_17_43_36_9447.jpg', '/home/pi/Desktop/images/20022025/17/43/image_20022025_17_43_56_10341.jpg', '/home/pi/Desktop/images/20022025/17/43/image_20022025_17_44_06_9529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/42/image_20022025_17_43_07_10349.jpg
/home/pi/Desktop/images/20022025/17/43/image_20022025_17_43_16_9346.jpg
/home/pi/Desktop/images/20022025/17/43/image_20022025_17_43_26_10351.jpg
/home/pi/Desktop/images/20022025/17/43/image_20022025_17_43_36_9447.jpg
/home/pi/Desktop/images/20022025/17/43/image_20022025_17_43_56_10341.jpg
/home/pi/Desktop/images/20022025/17/43/image_20022025_17_44_06_9529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338861197","1338860948","1338861151","1338861046","1338860856","1338860817"],"photo_ids_order":["1338860817","1338860856","1338860948","1338861046","1338861151","1338861197"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/08987d3a1d0a42c8cc19dccbe0540359.jpg","text":"TemporaryFile(/tmp/multipartBody3914176929272340779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154206047,"filename":"image_20022025_17_44_06_9529.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2c1018e63a48d75fe45725cc357b5f8.jpg","text":"TemporaryFile(/tmp/multipartBody1073409660918028873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154206047,"filename":"image_20022025_17_43_26_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b656911c1f55929eb8a3e43ab111005.jpg","text":"TemporaryFile(/tmp/multipartBody5471889758508558115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154206047,"filename":"image_20022025_17_43_56_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c393fa6856ea09210d156372359f235d.jpg","text":"TemporaryFile(/tmp/multipartBody7473524539077404695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154206047,"filename":"image_20022025_17_43_36_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b62ea165bfcd809a778b8d0e7be9dadc.jpg","text":"TemporaryFile(/tmp/multipartBody3413217987097601215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154206047,"filename":"image_20022025_17_43_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4e787ce28888501ec6b7629a3688902c.jpg","text":"TemporaryFile(/tmp/multipartBody7980932869137951686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154206047,"filename":"image_20022025_17_43_07_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338860948","file1":"1338860856","file0":"1338860817","file4":"1338861151","file5":"1338861197","file3":"1338861046"},"map_files_photo_id_array":[{"photo_id":"1338861197","filename":"file5"},{"photo_id":"1338860948","filename":"file2"},{"photo_id":"1338861151","filename":"file4"},{"photo_id":"1338860856","filename":"file1"},{"photo_id":"1338860817","filename":"file0"},{"photo_id":"1338861046","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338861197":["hashtag1","hashtag2"]},{"1338860948":["hashtag1","hashtag2"]},{"1338861151":["hashtag1","hashtag2"]},{"1338861046":["hashtag1","hashtag2"]},{"1338860856":["hashtag1","hashtag2"]},{"1338860817":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338861197, 1338860948, 1338861151, 1338861046, 1338860856, 1338860817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77575993537903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:09:52.971240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/08/image_21022025_17_08_55_9362.jpg', '/home/pi/Desktop/images/21022025/17/09/image_21022025_17_09_15_10355.jpg', '/home/pi/Desktop/images/21022025/17/09/image_21022025_17_09_25_9403.jpg', '/home/pi/Desktop/images/21022025/17/09/image_21022025_17_09_35_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/08/image_21022025_17_08_55_9362.jpg
/home/pi/Desktop/images/21022025/17/09/image_21022025_17_09_15_10355.jpg
/home/pi/Desktop/images/21022025/17/09/image_21022025_17_09_25_9403.jpg
/home/pi/Desktop/images/21022025/17/09/image_21022025_17_09_35_10399.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338861842","1338861731","1338861847","1338861850"],"photo_ids_order":["1338861731","1338861842","1338861847","1338861850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/902f98e05086f60fd2908912a1d9397c.jpg","text":"TemporaryFile(/tmp/multipartBody201476110976209110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154253417,"filename":"image_21022025_17_09_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/20936a9f23ba8e7d1878626139404f68.jpg","text":"TemporaryFile(/tmp/multipartBody7598186229494389600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154253417,"filename":"image_21022025_17_08_55_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e4fc900af2eb5d7b62f0e87e244f491.jpg","text":"TemporaryFile(/tmp/multipartBody6810598869456038577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154253417,"filename":"image_21022025_17_09_25_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/60647b93076ad39d3799d73f5ffefa01.jpg","text":"TemporaryFile(/tmp/multipartBody2840976547267290318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154253417,"filename":"image_21022025_17_09_35_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338861847","file1":"1338861842","file0":"1338861731","file3":"1338861850"},"map_files_photo_id_array":[{"photo_id":"1338861847","filename":"file2"},{"photo_id":"1338861842","filename":"file1"},{"photo_id":"1338861731","filename":"file0"},{"photo_id":"1338861850","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338861842":["hashtag1","hashtag2"]},{"1338861731":["hashtag1","hashtag2"]},{"1338861847":["hashtag1","hashtag2"]},{"1338861850":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338861842, 1338861731, 1338861847, 1338861850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.483903408050537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:10:32.213572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/09/image_21022025_17_09_55_9424.jpg', '/home/pi/Desktop/images/21022025/17/10/image_21022025_17_10_15_9455.jpg', '/home/pi/Desktop/images/21022025/17/10/image_21022025_17_10_45_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/09/image_21022025_17_09_55_9424.jpg
/home/pi/Desktop/images/21022025/17/10/image_21022025_17_10_15_9455.jpg
/home/pi/Desktop/images/21022025/17/10/image_21022025_17_10_45_10420.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338861866","1338861904","1338861945"],"photo_ids_order":["1338861866","1338861904","1338861945"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/05494825a4016d0c26113d264a82b0ab.jpg","text":"TemporaryFile(/tmp/multipartBody6871935906980905693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154292657,"filename":"image_21022025_17_09_55_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e6de1eaedcf28e7546fa1d9a3a559e4b.jpg","text":"TemporaryFile(/tmp/multipartBody6787379502643455326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154292657,"filename":"image_21022025_17_10_15_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cc77282c3cb50fee09b63ae6343d0d2c.jpg","text":"TemporaryFile(/tmp/multipartBody6352486857984125564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154292657,"filename":"image_21022025_17_10_45_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338861945","file1":"1338861904","file0":"1338861866"},"map_files_photo_id_array":[{"photo_id":"1338861945","filename":"file2"},{"photo_id":"1338861904","filename":"file1"},{"photo_id":"1338861866","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338861866":["hashtag1","hashtag2"]},{"1338861904":["hashtag1","hashtag2"]},{"1338861945":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338861866, 1338861904, 1338861945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.551749229431152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:10:52.134499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/44/image_20022025_17_44_16_10326.jpg', '/home/pi/Desktop/images/20022025/17/44/image_20022025_17_44_26_9439.jpg', '/home/pi/Desktop/images/20022025/17/44/image_20022025_17_44_36_10364.jpg', '/home/pi/Desktop/images/20022025/17/44/image_20022025_17_44_56_9442.jpg', '/home/pi/Desktop/images/20022025/17/44/image_20022025_17_45_06_10343.jpg', '/home/pi/Desktop/images/20022025/17/45/image_20022025_17_45_17_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/44/image_20022025_17_44_16_10326.jpg
/home/pi/Desktop/images/20022025/17/44/image_20022025_17_44_26_9439.jpg
/home/pi/Desktop/images/20022025/17/44/image_20022025_17_44_36_10364.jpg
/home/pi/Desktop/images/20022025/17/44/image_20022025_17_44_56_9442.jpg
/home/pi/Desktop/images/20022025/17/44/image_20022025_17_45_06_10343.jpg
/home/pi/Desktop/images/20022025/17/45/image_20022025_17_45_17_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338862025","1338862045","1338861970","1338861973","1338861967","1338862068"],"photo_ids_order":["1338861967","1338861970","1338861973","1338862025","1338862045","1338862068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8ccbc0a8fe5d9e394582e3142424bd41.jpg","text":"TemporaryFile(/tmp/multipartBody7070409599389423657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154314232,"filename":"image_20022025_17_44_56_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81fc3997f59cc39c0ef1a8444cd46164.jpg","text":"TemporaryFile(/tmp/multipartBody5076634454606586333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154314232,"filename":"image_20022025_17_45_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1787cdf9d4f6e432dcd27eff48052232.jpg","text":"TemporaryFile(/tmp/multipartBody1736331278820814387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154314232,"filename":"image_20022025_17_44_26_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/775f647aa5581ccc52c258b629fb54d0.jpg","text":"TemporaryFile(/tmp/multipartBody5060351082766780760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154314232,"filename":"image_20022025_17_44_36_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ad77dcd4e9ceef20e81075af217dbcaf.jpg","text":"TemporaryFile(/tmp/multipartBody1170292898720568961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154314232,"filename":"image_20022025_17_44_16_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/16d73a54fdf97b9bfc2718b08913b77e.jpg","text":"TemporaryFile(/tmp/multipartBody2286583784154680527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154314232,"filename":"image_20022025_17_45_17_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338861973","file1":"1338861970","file0":"1338861967","file4":"1338862045","file5":"1338862068","file3":"1338862025"},"map_files_photo_id_array":[{"photo_id":"1338862068","filename":"file5"},{"photo_id":"1338861973","filename":"file2"},{"photo_id":"1338862045","filename":"file4"},{"photo_id":"1338861970","filename":"file1"},{"photo_id":"1338861967","filename":"file0"},{"photo_id":"1338862025","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338862025":["hashtag1","hashtag2"]},{"1338862045":["hashtag1","hashtag2"]},{"1338861970":["hashtag1","hashtag2"]},{"1338861973":["hashtag1","hashtag2"]},{"1338861967":["hashtag1","hashtag2"]},{"1338862068":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338862025, 1338862045, 1338861970, 1338861973, 1338861967, 1338862068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.7221155166626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:11:42.381240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/10/image_21022025_17_10_55_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/10/image_21022025_17_10_55_10426.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338862441"],"photo_id":"1338862441","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/19e9740746debfbfec93dd71542b27e6.jpg","text":"TemporaryFile(/tmp/multipartBody5779202471611752736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154362787,"filename":"image_21022025_17_10_55_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338862441"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338862441"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.175326347351074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:12:03.322012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/45/image_20022025_17_45_36_10351.jpg', '/home/pi/Desktop/images/20022025/17/45/image_20022025_17_45_46_9402.jpg', '/home/pi/Desktop/images/20022025/17/45/image_20022025_17_45_56_10398.jpg', '/home/pi/Desktop/images/20022025/17/45/image_20022025_17_46_07_10503.jpg', '/home/pi/Desktop/images/20022025/17/46/image_20022025_17_46_16_9365.jpg', '/home/pi/Desktop/images/20022025/17/46/image_20022025_17_46_26_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/45/image_20022025_17_45_36_10351.jpg
/home/pi/Desktop/images/20022025/17/45/image_20022025_17_45_46_9402.jpg
/home/pi/Desktop/images/20022025/17/45/image_20022025_17_45_56_10398.jpg
/home/pi/Desktop/images/20022025/17/45/image_20022025_17_46_07_10503.jpg
/home/pi/Desktop/images/20022025/17/46/image_20022025_17_46_16_9365.jpg
/home/pi/Desktop/images/20022025/17/46/image_20022025_17_46_26_10342.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338862575","1338862497","1338862590","1338862488","1338862500","1338862592"],"photo_ids_order":["1338862488","1338862497","1338862500","1338862575","1338862590","1338862592"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/54a371e4c3d4318bc81855283c64e950.jpg","text":"TemporaryFile(/tmp/multipartBody7218057980184635368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154384766,"filename":"image_20022025_17_46_07_10503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/11222f76704c1afcec9dc0dc1942656b.jpg","text":"TemporaryFile(/tmp/multipartBody6929089546577728606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154384766,"filename":"image_20022025_17_45_46_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/679e47ad37ed0211c68fe81c79ee5b95.jpg","text":"TemporaryFile(/tmp/multipartBody5422909805886120379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154384766,"filename":"image_20022025_17_46_16_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f9c7246d627c8b8dc24abf9d74dfa630.jpg","text":"TemporaryFile(/tmp/multipartBody6557118121079139604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154384766,"filename":"image_20022025_17_45_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d7d47f31f2e9d8c080590727e5b2d966.jpg","text":"TemporaryFile(/tmp/multipartBody4693569648282522144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154384766,"filename":"image_20022025_17_45_56_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ecc8765f4c717bd2f9260c0d33dc921e.jpg","text":"TemporaryFile(/tmp/multipartBody4422333107838139195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154384766,"filename":"image_20022025_17_46_26_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338862500","file1":"1338862497","file0":"1338862488","file4":"1338862590","file5":"1338862592","file3":"1338862575"},"map_files_photo_id_array":[{"photo_id":"1338862592","filename":"file5"},{"photo_id":"1338862500","filename":"file2"},{"photo_id":"1338862590","filename":"file4"},{"photo_id":"1338862497","filename":"file1"},{"photo_id":"1338862488","filename":"file0"},{"photo_id":"1338862575","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338862575":["hashtag1","hashtag2"]},{"1338862497":["hashtag1","hashtag2"]},{"1338862590":["hashtag1","hashtag2"]},{"1338862488":["hashtag1","hashtag2"]},{"1338862500":["hashtag1","hashtag2"]},{"1338862592":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338862575, 1338862497, 1338862590, 1338862488, 1338862500, 1338862592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29978966712952 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:12:52.550718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/11/image_21022025_17_11_15_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/11/image_21022025_17_11_15_10378.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338862719"],"photo_id":"1338862719","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7a79862a1bb9212cfd2e0ebcd859a2a.jpg","text":"TemporaryFile(/tmp/multipartBody210029894755424615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154432961,"filename":"image_21022025_17_11_15_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338862719"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338862719"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.080377101898193 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:13:32.838232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/12/image_21022025_17_12_45_9509.jpg', '/home/pi/Desktop/images/21022025/17/12/image_21022025_17_13_05_9437.jpg', '/home/pi/Desktop/images/21022025/17/13/image_21022025_17_13_25_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/12/image_21022025_17_12_45_9509.jpg
/home/pi/Desktop/images/21022025/17/12/image_21022025_17_13_05_9437.jpg
/home/pi/Desktop/images/21022025/17/13/image_21022025_17_13_25_10364.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338862786","1338862788","1338862785"],"photo_ids_order":["1338862785","1338862786","1338862788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f415d4d134ad8b121a7ec4ae6b25d5e1.jpg","text":"TemporaryFile(/tmp/multipartBody5335563618029305126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154473298,"filename":"image_21022025_17_13_05_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d2389fa148e1a04aa69d02264b8e493.jpg","text":"TemporaryFile(/tmp/multipartBody4173658015256987615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154473298,"filename":"image_21022025_17_13_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/177addb96683fde38a84d7f50ac3bf3b.jpg","text":"TemporaryFile(/tmp/multipartBody8183439458273421457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154473298,"filename":"image_21022025_17_12_45_9509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338862788","file1":"1338862786","file0":"1338862785"},"map_files_photo_id_array":[{"photo_id":"1338862788","filename":"file2"},{"photo_id":"1338862786","filename":"file1"},{"photo_id":"1338862785","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338862786":["hashtag1","hashtag2"]},{"1338862788":["hashtag1","hashtag2"]},{"1338862785":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338862786, 1338862788, 1338862785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 17.56692910194397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:13:52.768521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/46/image_20022025_17_46_36_9461.jpg', '/home/pi/Desktop/images/20022025/17/46/image_20022025_17_46_46_10342.jpg', '/home/pi/Desktop/images/20022025/17/46/image_20022025_17_46_57_10564.jpg', '/home/pi/Desktop/images/20022025/17/46/image_20022025_17_47_06_9331.jpg', '/home/pi/Desktop/images/20022025/17/47/image_20022025_17_47_16_10412.jpg', '/home/pi/Desktop/images/20022025/17/47/image_20022025_17_47_26_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/46/image_20022025_17_46_36_9461.jpg
/home/pi/Desktop/images/20022025/17/46/image_20022025_17_46_46_10342.jpg
/home/pi/Desktop/images/20022025/17/46/image_20022025_17_46_57_10564.jpg
/home/pi/Desktop/images/20022025/17/46/image_20022025_17_47_06_9331.jpg
/home/pi/Desktop/images/20022025/17/47/image_20022025_17_47_16_10412.jpg
/home/pi/Desktop/images/20022025/17/47/image_20022025_17_47_26_9369.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338862805","1338862798","1338862807","1338862801","1338862810","1338862794"],"photo_ids_order":["1338862794","1338862798","1338862801","1338862805","1338862807","1338862810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a3df86964fb4c772bc17643505db1e53.jpg","text":"TemporaryFile(/tmp/multipartBody8708360529467945486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154494872,"filename":"image_20022025_17_47_06_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83259aeface878d6d80a80336231e718.jpg","text":"TemporaryFile(/tmp/multipartBody8268455113375418371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154494872,"filename":"image_20022025_17_46_46_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2e62bb18ba451f26ba5fd65aefc7bae.jpg","text":"TemporaryFile(/tmp/multipartBody1634790434074584217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154494872,"filename":"image_20022025_17_47_16_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4dec28ae7e98a45d309138ed7df61d13.jpg","text":"TemporaryFile(/tmp/multipartBody2076411847153106881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154494872,"filename":"image_20022025_17_46_57_10564.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/caf80e81a880bbce6d5b7c6409826301.jpg","text":"TemporaryFile(/tmp/multipartBody2438526626908240105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154494872,"filename":"image_20022025_17_47_26_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4c17094959c5791cb35196e25ee8a23b.jpg","text":"TemporaryFile(/tmp/multipartBody7566760414819585374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154494872,"filename":"image_20022025_17_46_36_9461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338862801","file1":"1338862798","file0":"1338862794","file4":"1338862807","file5":"1338862810","file3":"1338862805"},"map_files_photo_id_array":[{"photo_id":"1338862810","filename":"file5"},{"photo_id":"1338862801","filename":"file2"},{"photo_id":"1338862807","filename":"file4"},{"photo_id":"1338862798","filename":"file1"},{"photo_id":"1338862794","filename":"file0"},{"photo_id":"1338862805","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338862805":["hashtag1","hashtag2"]},{"1338862798":["hashtag1","hashtag2"]},{"1338862807":["hashtag1","hashtag2"]},{"1338862801":["hashtag1","hashtag2"]},{"1338862810":["hashtag1","hashtag2"]},{"1338862794":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338862805, 1338862798, 1338862807, 1338862801, 1338862810, 1338862794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.033329010009766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:14:32.986153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/13/image_21022025_17_13_35_9431.jpg', '/home/pi/Desktop/images/21022025/17/14/image_21022025_17_14_45_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/13/image_21022025_17_13_35_9431.jpg
/home/pi/Desktop/images/21022025/17/14/image_21022025_17_14_45_10379.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338862826","1338862821"],"photo_ids_order":["1338862821","1338862826"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b73e10e0829906d7df7ab7774a838923.jpg","text":"TemporaryFile(/tmp/multipartBody8193753600286590704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154533412,"filename":"image_21022025_17_14_45_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b57579225b1a586d037371815bd17f94.jpg","text":"TemporaryFile(/tmp/multipartBody7791100327406383780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154533412,"filename":"image_21022025_17_13_35_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338862826","file0":"1338862821"},"map_files_photo_id_array":[{"photo_id":"1338862826","filename":"file1"},{"photo_id":"1338862821","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338862826":["hashtag1","hashtag2"]},{"1338862821":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338862826, 1338862821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.343977689743042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:14:53.001175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/47/image_20022025_17_47_36_10339.jpg', '/home/pi/Desktop/images/20022025/17/47/image_20022025_17_47_47_10444.jpg', '/home/pi/Desktop/images/20022025/17/47/image_20022025_17_47_56_9353.jpg', '/home/pi/Desktop/images/20022025/17/47/image_20022025_17_48_06_10348.jpg', '/home/pi/Desktop/images/20022025/17/48/image_20022025_17_48_17_10335.jpg', '/home/pi/Desktop/images/20022025/17/48/image_20022025_17_48_26_9329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/47/image_20022025_17_47_36_10339.jpg
/home/pi/Desktop/images/20022025/17/47/image_20022025_17_47_47_10444.jpg
/home/pi/Desktop/images/20022025/17/47/image_20022025_17_47_56_9353.jpg
/home/pi/Desktop/images/20022025/17/47/image_20022025_17_48_06_10348.jpg
/home/pi/Desktop/images/20022025/17/48/image_20022025_17_48_17_10335.jpg
/home/pi/Desktop/images/20022025/17/48/image_20022025_17_48_26_9329.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338862858","1338862837","1338862863","1338862845","1338862865","1338862841"],"photo_ids_order":["1338862837","1338862841","1338862845","1338862858","1338862863","1338862865"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4366a113cdb43f437a7cf9437eac8a55.jpg","text":"TemporaryFile(/tmp/multipartBody2242703703686679635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154555089,"filename":"image_20022025_17_48_06_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d088035f578b5fc075297b7ae1930024.jpg","text":"TemporaryFile(/tmp/multipartBody4525900089207618577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154555089,"filename":"image_20022025_17_47_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/60405a313c385a12477953573e87e829.jpg","text":"TemporaryFile(/tmp/multipartBody6472694052894496750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154555089,"filename":"image_20022025_17_48_17_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/800bbccf5ccfbccd2d2684906d3f7bd1.jpg","text":"TemporaryFile(/tmp/multipartBody9029397966817074669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154555089,"filename":"image_20022025_17_47_56_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/286f946e2fbad5fecbf11eb1a92c0c82.jpg","text":"TemporaryFile(/tmp/multipartBody4732865339874520089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154555089,"filename":"image_20022025_17_48_26_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bf519e1502809de11ce4c9590521768f.jpg","text":"TemporaryFile(/tmp/multipartBody4313333207610615362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154555089,"filename":"image_20022025_17_47_47_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338862845","file1":"1338862841","file0":"1338862837","file4":"1338862863","file5":"1338862865","file3":"1338862858"},"map_files_photo_id_array":[{"photo_id":"1338862865","filename":"file5"},{"photo_id":"1338862845","filename":"file2"},{"photo_id":"1338862863","filename":"file4"},{"photo_id":"1338862841","filename":"file1"},{"photo_id":"1338862837","filename":"file0"},{"photo_id":"1338862858","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338862858":["hashtag1","hashtag2"]},{"1338862837":["hashtag1","hashtag2"]},{"1338862863":["hashtag1","hashtag2"]},{"1338862845":["hashtag1","hashtag2"]},{"1338862865":["hashtag1","hashtag2"]},{"1338862841":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338862858, 1338862837, 1338862863, 1338862845, 1338862865, 1338862841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.313437938690186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:15:32.238086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/14/image_21022025_17_14_55_9343.jpg', '/home/pi/Desktop/images/21022025/17/14/image_21022025_17_15_05_10342.jpg', '/home/pi/Desktop/images/21022025/17/15/image_21022025_17_15_15_9469.jpg', '/home/pi/Desktop/images/21022025/17/15/image_21022025_17_15_35_10371.jpg', '/home/pi/Desktop/images/21022025/17/15/image_21022025_17_15_45_9430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/14/image_21022025_17_14_55_9343.jpg
/home/pi/Desktop/images/21022025/17/14/image_21022025_17_15_05_10342.jpg
/home/pi/Desktop/images/21022025/17/15/image_21022025_17_15_15_9469.jpg
/home/pi/Desktop/images/21022025/17/15/image_21022025_17_15_35_10371.jpg
/home/pi/Desktop/images/21022025/17/15/image_21022025_17_15_45_9430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338862894","1338862884","1338862887","1338862881","1338862878"],"photo_ids_order":["1338862878","1338862881","1338862884","1338862887","1338862894"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4be7f005fec29759736316dc02c6845f.jpg","text":"TemporaryFile(/tmp/multipartBody8002282502269853602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154592702,"filename":"image_21022025_17_15_45_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a5b13921f8f4be7d414d8583bb760386.jpg","text":"TemporaryFile(/tmp/multipartBody1658575106714548933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154592702,"filename":"image_21022025_17_15_15_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d8d2c599d54732d749fc25bfb29efa4c.jpg","text":"TemporaryFile(/tmp/multipartBody593832433546966804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154592702,"filename":"image_21022025_17_15_35_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/76d5fe2e9816897b99cd43b0c415780f.jpg","text":"TemporaryFile(/tmp/multipartBody3866439382759851699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154592702,"filename":"image_21022025_17_15_05_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/45fa61c3e42acd30505a8c73372f2d7b.jpg","text":"TemporaryFile(/tmp/multipartBody466920402190913622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154592702,"filename":"image_21022025_17_14_55_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338862884","file1":"1338862881","file0":"1338862878","file4":"1338862894","file3":"1338862887"},"map_files_photo_id_array":[{"photo_id":"1338862884","filename":"file2"},{"photo_id":"1338862894","filename":"file4"},{"photo_id":"1338862881","filename":"file1"},{"photo_id":"1338862878","filename":"file0"},{"photo_id":"1338862887","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338862894":["hashtag1","hashtag2"]},{"1338862884":["hashtag1","hashtag2"]},{"1338862887":["hashtag1","hashtag2"]},{"1338862881":["hashtag1","hashtag2"]},{"1338862878":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338862894, 1338862884, 1338862887, 1338862881, 1338862878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.134512662887573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:16:03.069322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/48/image_20022025_17_48_36_10356.jpg', '/home/pi/Desktop/images/20022025/17/48/image_20022025_17_48_47_10332.jpg', '/home/pi/Desktop/images/20022025/17/48/image_20022025_17_48_56_9440.jpg', '/home/pi/Desktop/images/20022025/17/48/image_20022025_17_49_06_10342.jpg', '/home/pi/Desktop/images/20022025/17/49/image_20022025_17_49_16_9439.jpg', '/home/pi/Desktop/images/20022025/17/49/image_20022025_17_49_26_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/48/image_20022025_17_48_36_10356.jpg
/home/pi/Desktop/images/20022025/17/48/image_20022025_17_48_47_10332.jpg
/home/pi/Desktop/images/20022025/17/48/image_20022025_17_48_56_9440.jpg
/home/pi/Desktop/images/20022025/17/48/image_20022025_17_49_06_10342.jpg
/home/pi/Desktop/images/20022025/17/49/image_20022025_17_49_16_9439.jpg
/home/pi/Desktop/images/20022025/17/49/image_20022025_17_49_26_10366.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338862942","1338862912","1338862921","1338862915","1338862918","1338862905"],"photo_ids_order":["1338862905","1338862912","1338862915","1338862918","1338862921","1338862942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d94161aae8a2d43506d3263dceba1f14.jpg","text":"TemporaryFile(/tmp/multipartBody2311746589774508572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154624425,"filename":"image_20022025_17_49_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8abc468a747c93ce0e377b08e96fbe25.jpg","text":"TemporaryFile(/tmp/multipartBody3103403441322792046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154624425,"filename":"image_20022025_17_48_47_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ba4b593fef7fed458aaf7ebead4bfc0.jpg","text":"TemporaryFile(/tmp/multipartBody9062101623997579379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154624425,"filename":"image_20022025_17_49_16_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/de1882b4c2d13ed49a75403a41eb4638.jpg","text":"TemporaryFile(/tmp/multipartBody499134015406712028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154624425,"filename":"image_20022025_17_48_56_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a7ee7558a258025eb8bb1f6228d9408f.jpg","text":"TemporaryFile(/tmp/multipartBody3973292525047557494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154624425,"filename":"image_20022025_17_49_06_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6c7cb43256a771c0249921a1892d023b.jpg","text":"TemporaryFile(/tmp/multipartBody2546347942733391690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154624425,"filename":"image_20022025_17_48_36_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338862915","file1":"1338862912","file0":"1338862905","file4":"1338862921","file5":"1338862942","file3":"1338862918"},"map_files_photo_id_array":[{"photo_id":"1338862942","filename":"file5"},{"photo_id":"1338862915","filename":"file2"},{"photo_id":"1338862921","filename":"file4"},{"photo_id":"1338862912","filename":"file1"},{"photo_id":"1338862905","filename":"file0"},{"photo_id":"1338862918","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338862942":["hashtag1","hashtag2"]},{"1338862912":["hashtag1","hashtag2"]},{"1338862921":["hashtag1","hashtag2"]},{"1338862915":["hashtag1","hashtag2"]},{"1338862918":["hashtag1","hashtag2"]},{"1338862905":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338862942, 1338862912, 1338862921, 1338862915, 1338862918, 1338862905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40293312072754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:16:42.391264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/15/image_21022025_17_15_55_10376.jpg', '/home/pi/Desktop/images/21022025/17/15/image_21022025_17_16_05_9405.jpg', '/home/pi/Desktop/images/21022025/17/16/image_21022025_17_16_15_10413.jpg', '/home/pi/Desktop/images/21022025/17/16/image_21022025_17_16_35_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/15/image_21022025_17_15_55_10376.jpg
/home/pi/Desktop/images/21022025/17/15/image_21022025_17_16_05_9405.jpg
/home/pi/Desktop/images/21022025/17/16/image_21022025_17_16_15_10413.jpg
/home/pi/Desktop/images/21022025/17/16/image_21022025_17_16_35_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338863152","1338862948","1338862958","1338862952"],"photo_ids_order":["1338862948","1338862952","1338862958","1338863152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9755c77e7e8ae7101aa0052e49f24225.jpg","text":"TemporaryFile(/tmp/multipartBody8406562086131409353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154662903,"filename":"image_21022025_17_16_35_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/26a49857d1397cc25db2c144f46a9852.jpg","text":"TemporaryFile(/tmp/multipartBody4119175112778417742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154662903,"filename":"image_21022025_17_15_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/46c1c15542a3b01c84405f5cdf201425.jpg","text":"TemporaryFile(/tmp/multipartBody3583879132407829115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154662903,"filename":"image_21022025_17_16_15_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/57d3d45a980e5ba2f91b9d1b137c5470.jpg","text":"TemporaryFile(/tmp/multipartBody6965960208013320905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154662903,"filename":"image_21022025_17_16_05_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338862958","file1":"1338862952","file0":"1338862948","file3":"1338863152"},"map_files_photo_id_array":[{"photo_id":"1338862958","filename":"file2"},{"photo_id":"1338862952","filename":"file1"},{"photo_id":"1338862948","filename":"file0"},{"photo_id":"1338863152","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338863152":["hashtag1","hashtag2"]},{"1338862948":["hashtag1","hashtag2"]},{"1338862958":["hashtag1","hashtag2"]},{"1338862952":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338863152, 1338862948, 1338862958, 1338862952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.639914751052856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:17:32.624923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/16/image_21022025_17_16_55_10348.jpg', '/home/pi/Desktop/images/21022025/17/16/image_21022025_17_17_05_9403.jpg', '/home/pi/Desktop/images/21022025/17/17/image_21022025_17_17_35_10413.jpg', '/home/pi/Desktop/images/21022025/17/17/image_21022025_17_17_45_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/16/image_21022025_17_16_55_10348.jpg
/home/pi/Desktop/images/21022025/17/16/image_21022025_17_17_05_9403.jpg
/home/pi/Desktop/images/21022025/17/17/image_21022025_17_17_35_10413.jpg
/home/pi/Desktop/images/21022025/17/17/image_21022025_17_17_45_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338863410","1338863460","1338863504","1338863482"],"photo_ids_order":["1338863410","1338863460","1338863482","1338863504"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a55ea344973a9d8497c79d3a1b19d3c6.jpg","text":"TemporaryFile(/tmp/multipartBody5135691859781242759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154713086,"filename":"image_21022025_17_16_55_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a2cb9afa0f4137a5fb690b72baff308.jpg","text":"TemporaryFile(/tmp/multipartBody1369735934113855635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154713086,"filename":"image_21022025_17_17_05_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81f39ba6c66d8d9ad6a7a7170b255825.jpg","text":"TemporaryFile(/tmp/multipartBody2480824862984223093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154713086,"filename":"image_21022025_17_17_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d89f4d24df860466f3ca84a07f6d6012.jpg","text":"TemporaryFile(/tmp/multipartBody1189914026599535116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154713086,"filename":"image_21022025_17_17_35_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338863482","file1":"1338863460","file0":"1338863410","file3":"1338863504"},"map_files_photo_id_array":[{"photo_id":"1338863482","filename":"file2"},{"photo_id":"1338863460","filename":"file1"},{"photo_id":"1338863410","filename":"file0"},{"photo_id":"1338863504","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338863410":["hashtag1","hashtag2"]},{"1338863460":["hashtag1","hashtag2"]},{"1338863504":["hashtag1","hashtag2"]},{"1338863482":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338863410, 1338863460, 1338863504, 1338863482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.070378065109253 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:18:03.595811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/49/image_20022025_17_49_37_10360.jpg', '/home/pi/Desktop/images/20022025/17/49/image_20022025_17_49_46_9392.jpg', '/home/pi/Desktop/images/20022025/17/49/image_20022025_17_49_56_10352.jpg', '/home/pi/Desktop/images/20022025/17/49/image_20022025_17_50_06_9395.jpg', '/home/pi/Desktop/images/20022025/17/50/image_20022025_17_50_16_10362.jpg', '/home/pi/Desktop/images/20022025/17/50/image_20022025_17_50_27_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/49/image_20022025_17_49_37_10360.jpg
/home/pi/Desktop/images/20022025/17/49/image_20022025_17_49_46_9392.jpg
/home/pi/Desktop/images/20022025/17/49/image_20022025_17_49_56_10352.jpg
/home/pi/Desktop/images/20022025/17/49/image_20022025_17_50_06_9395.jpg
/home/pi/Desktop/images/20022025/17/50/image_20022025_17_50_16_10362.jpg
/home/pi/Desktop/images/20022025/17/50/image_20022025_17_50_27_10440.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.3913359642028809 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:18:32.823008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/17/image_21022025_17_17_55_9355.jpg', '/home/pi/Desktop/images/21022025/17/17/image_21022025_17_18_05_10353.jpg', '/home/pi/Desktop/images/21022025/17/18/image_21022025_17_18_25_9345.jpg', '/home/pi/Desktop/images/21022025/17/18/image_21022025_17_18_35_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/17/image_21022025_17_17_55_9355.jpg
/home/pi/Desktop/images/21022025/17/17/image_21022025_17_18_05_10353.jpg
/home/pi/Desktop/images/21022025/17/18/image_21022025_17_18_25_9345.jpg
/home/pi/Desktop/images/21022025/17/18/image_21022025_17_18_35_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338863787","1338863604","1338863792","1338863759"],"photo_ids_order":["1338863604","1338863759","1338863787","1338863792"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/49e0dbdc3e8f2aa92f6f0cf14730a169.jpg","text":"TemporaryFile(/tmp/multipartBody5328614058280349850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154773267,"filename":"image_21022025_17_18_25_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a9dd09095b45cc5388f3b0f521cd017c.jpg","text":"TemporaryFile(/tmp/multipartBody7343557192668987718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154773267,"filename":"image_21022025_17_17_55_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d71229c68f95ff2e3a44ce102f2f8dbb.jpg","text":"TemporaryFile(/tmp/multipartBody8287318770271366809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154773267,"filename":"image_21022025_17_18_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5fa58a0c284f25ffa3d882ceda29fa06.jpg","text":"TemporaryFile(/tmp/multipartBody8723734072350158586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154773267,"filename":"image_21022025_17_18_05_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338863787","file1":"1338863759","file0":"1338863604","file3":"1338863792"},"map_files_photo_id_array":[{"photo_id":"1338863787","filename":"file2"},{"photo_id":"1338863759","filename":"file1"},{"photo_id":"1338863604","filename":"file0"},{"photo_id":"1338863792","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338863787":["hashtag1","hashtag2"]},{"1338863604":["hashtag1","hashtag2"]},{"1338863792":["hashtag1","hashtag2"]},{"1338863759":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338863787, 1338863604, 1338863792, 1338863759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.990496158599854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:19:03.630843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/49/image_20022025_17_49_37_10360.jpg', '/home/pi/Desktop/images/20022025/17/49/image_20022025_17_49_46_9392.jpg', '/home/pi/Desktop/images/20022025/17/49/image_20022025_17_49_56_10352.jpg', '/home/pi/Desktop/images/20022025/17/49/image_20022025_17_50_06_9395.jpg', '/home/pi/Desktop/images/20022025/17/50/image_20022025_17_50_16_10362.jpg', '/home/pi/Desktop/images/20022025/17/50/image_20022025_17_50_27_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/49/image_20022025_17_49_37_10360.jpg
/home/pi/Desktop/images/20022025/17/49/image_20022025_17_49_46_9392.jpg
/home/pi/Desktop/images/20022025/17/49/image_20022025_17_49_56_10352.jpg
/home/pi/Desktop/images/20022025/17/49/image_20022025_17_50_06_9395.jpg
/home/pi/Desktop/images/20022025/17/50/image_20022025_17_50_16_10362.jpg
/home/pi/Desktop/images/20022025/17/50/image_20022025_17_50_27_10440.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338863821","1338863827","1338863844","1338863823","1338863826","1338863825"],"photo_ids_order":["1338863821","1338863823","1338863825","1338863826","1338863827","1338863844"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c817ffcfd442bf90d22dabb41a272af9.jpg","text":"TemporaryFile(/tmp/multipartBody8233394954887908043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154805282,"filename":"image_20022025_17_49_37_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce5fa9db85b370c9a48a8c89c39f1508.jpg","text":"TemporaryFile(/tmp/multipartBody8432328817910945986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154805282,"filename":"image_20022025_17_50_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/08baefbbb00fe8711653c4193c9a68dd.jpg","text":"TemporaryFile(/tmp/multipartBody6348500050730625068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154805282,"filename":"image_20022025_17_50_27_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4458783d67fc703c0c00bc13b44bf8db.jpg","text":"TemporaryFile(/tmp/multipartBody2509387084623394900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154805282,"filename":"image_20022025_17_49_46_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/89fa15d80e4b7f570552adac676eb2e5.jpg","text":"TemporaryFile(/tmp/multipartBody69081328108243599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154805282,"filename":"image_20022025_17_50_06_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/191a1b746b63bbde6f07775ace6d98fa.jpg","text":"TemporaryFile(/tmp/multipartBody2554029324482637546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154805282,"filename":"image_20022025_17_49_56_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338863825","file1":"1338863823","file0":"1338863821","file4":"1338863827","file5":"1338863844","file3":"1338863826"},"map_files_photo_id_array":[{"photo_id":"1338863844","filename":"file5"},{"photo_id":"1338863825","filename":"file2"},{"photo_id":"1338863827","filename":"file4"},{"photo_id":"1338863823","filename":"file1"},{"photo_id":"1338863821","filename":"file0"},{"photo_id":"1338863826","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338863821":["hashtag1","hashtag2"]},{"1338863827":["hashtag1","hashtag2"]},{"1338863844":["hashtag1","hashtag2"]},{"1338863823":["hashtag1","hashtag2"]},{"1338863826":["hashtag1","hashtag2"]},{"1338863825":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338863821, 1338863827, 1338863844, 1338863823, 1338863826, 1338863825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39298725128174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:19:42.179584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/18/image_21022025_17_18_55_10436.jpg', '/home/pi/Desktop/images/21022025/17/18/image_21022025_17_19_05_10348.jpg', '/home/pi/Desktop/images/21022025/17/19/image_21022025_17_19_15_9406.jpg', '/home/pi/Desktop/images/21022025/17/19/image_21022025_17_19_25_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/18/image_21022025_17_18_55_10436.jpg
/home/pi/Desktop/images/21022025/17/18/image_21022025_17_19_05_10348.jpg
/home/pi/Desktop/images/21022025/17/19/image_21022025_17_19_15_9406.jpg
/home/pi/Desktop/images/21022025/17/19/image_21022025_17_19_25_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338863878","1338863880","1338863888","1338863884"],"photo_ids_order":["1338863878","1338863880","1338863884","1338863888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59ff713e7212f72f63746554c0e74565.jpg","text":"TemporaryFile(/tmp/multipartBody3757319230753387102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154842630,"filename":"image_21022025_17_18_55_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/17687855ab960b62acb162e00e707b86.jpg","text":"TemporaryFile(/tmp/multipartBody592109608474531963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154842630,"filename":"image_21022025_17_19_05_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/85725ddaecb251d1abd58a5b323f3996.jpg","text":"TemporaryFile(/tmp/multipartBody6782485754513664921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154842630,"filename":"image_21022025_17_19_25_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5503a439b6ffb30420aa307fc8a1bd47.jpg","text":"TemporaryFile(/tmp/multipartBody3162857849800012421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154842630,"filename":"image_21022025_17_19_15_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338863884","file1":"1338863880","file0":"1338863878","file3":"1338863888"},"map_files_photo_id_array":[{"photo_id":"1338863884","filename":"file2"},{"photo_id":"1338863880","filename":"file1"},{"photo_id":"1338863878","filename":"file0"},{"photo_id":"1338863888","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338863878":["hashtag1","hashtag2"]},{"1338863880":["hashtag1","hashtag2"]},{"1338863888":["hashtag1","hashtag2"]},{"1338863884":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338863878, 1338863880, 1338863888, 1338863884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.22764539718628 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:20:32.402197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/19/image_21022025_17_19_45_10365.jpg', '/home/pi/Desktop/images/21022025/17/20/image_21022025_17_20_15_10334.jpg', '/home/pi/Desktop/images/21022025/17/20/image_21022025_17_20_35_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/19/image_21022025_17_19_45_10365.jpg
/home/pi/Desktop/images/21022025/17/20/image_21022025_17_20_15_10334.jpg
/home/pi/Desktop/images/21022025/17/20/image_21022025_17_20_35_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338863901","1338863906","1338863896"],"photo_ids_order":["1338863896","1338863901","1338863906"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4c399718eb87223169bd4c069ff977f7.jpg","text":"TemporaryFile(/tmp/multipartBody529488046443014364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154892843,"filename":"image_21022025_17_20_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f57e0ae5a4920421a777f6315494733c.jpg","text":"TemporaryFile(/tmp/multipartBody6526764266646395661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154892843,"filename":"image_21022025_17_20_35_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cbf52b2acb7388a0e607c1865d8104d1.jpg","text":"TemporaryFile(/tmp/multipartBody6113100496147833474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154892843,"filename":"image_21022025_17_19_45_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338863906","file1":"1338863901","file0":"1338863896"},"map_files_photo_id_array":[{"photo_id":"1338863906","filename":"file2"},{"photo_id":"1338863901","filename":"file1"},{"photo_id":"1338863896","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338863901":["hashtag1","hashtag2"]},{"1338863906":["hashtag1","hashtag2"]},{"1338863896":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338863901, 1338863906, 1338863896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.73013138771057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:21:04.023509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/50/image_20022025_17_50_46_10342.jpg', '/home/pi/Desktop/images/20022025/17/50/image_20022025_17_51_06_9433.jpg', '/home/pi/Desktop/images/20022025/17/51/image_20022025_17_51_26_9347.jpg', '/home/pi/Desktop/images/20022025/17/51/image_20022025_17_51_36_10358.jpg', '/home/pi/Desktop/images/20022025/17/51/image_20022025_17_51_56_9344.jpg', '/home/pi/Desktop/images/20022025/17/51/image_20022025_17_52_06_10479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/50/image_20022025_17_50_46_10342.jpg
/home/pi/Desktop/images/20022025/17/50/image_20022025_17_51_06_9433.jpg
/home/pi/Desktop/images/20022025/17/51/image_20022025_17_51_26_9347.jpg
/home/pi/Desktop/images/20022025/17/51/image_20022025_17_51_36_10358.jpg
/home/pi/Desktop/images/20022025/17/51/image_20022025_17_51_56_9344.jpg
/home/pi/Desktop/images/20022025/17/51/image_20022025_17_52_06_10479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338863935","1338863928","1338863925","1338863939","1338863953","1338863947"],"photo_ids_order":["1338863925","1338863928","1338863935","1338863939","1338863947","1338863953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/54325fd50283ac939430b6f9c2229b3e.jpg","text":"TemporaryFile(/tmp/multipartBody5058088843814120485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154925751,"filename":"image_20022025_17_51_26_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f530badec6f7afff9261d9ed4e8cb638.jpg","text":"TemporaryFile(/tmp/multipartBody2111091744015034827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154925751,"filename":"image_20022025_17_51_06_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/557326e750c027c6f98437217846e2a4.jpg","text":"TemporaryFile(/tmp/multipartBody8802659428079256023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154925751,"filename":"image_20022025_17_50_46_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87dfde513f2c33e56791b5087d6f70b9.jpg","text":"TemporaryFile(/tmp/multipartBody3158601476718771672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154925751,"filename":"image_20022025_17_51_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ec7d9a7847257725f1c0928ece3c37a9.jpg","text":"TemporaryFile(/tmp/multipartBody589470734807547020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154925751,"filename":"image_20022025_17_52_06_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/617801053ec88f08cab8bb2eb64af225.jpg","text":"TemporaryFile(/tmp/multipartBody5060860715321007091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154925751,"filename":"image_20022025_17_51_56_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338863935","file1":"1338863928","file0":"1338863925","file4":"1338863947","file5":"1338863953","file3":"1338863939"},"map_files_photo_id_array":[{"photo_id":"1338863953","filename":"file5"},{"photo_id":"1338863935","filename":"file2"},{"photo_id":"1338863947","filename":"file4"},{"photo_id":"1338863928","filename":"file1"},{"photo_id":"1338863925","filename":"file0"},{"photo_id":"1338863939","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338863935":["hashtag1","hashtag2"]},{"1338863928":["hashtag1","hashtag2"]},{"1338863925":["hashtag1","hashtag2"]},{"1338863939":["hashtag1","hashtag2"]},{"1338863953":["hashtag1","hashtag2"]},{"1338863947":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338863935, 1338863928, 1338863925, 1338863939, 1338863953, 1338863947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.85907602310181 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:21:52.652307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/20/image_21022025_17_20_55_9437.jpg', '/home/pi/Desktop/images/21022025/17/21/image_21022025_17_21_15_10391.jpg', '/home/pi/Desktop/images/21022025/17/21/image_21022025_17_21_25_9346.jpg', '/home/pi/Desktop/images/21022025/17/21/image_21022025_17_21_35_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/20/image_21022025_17_20_55_9437.jpg
/home/pi/Desktop/images/21022025/17/21/image_21022025_17_21_15_10391.jpg
/home/pi/Desktop/images/21022025/17/21/image_21022025_17_21_25_9346.jpg
/home/pi/Desktop/images/21022025/17/21/image_21022025_17_21_35_10409.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338863994","1338864003","1338864005","1338864001"],"photo_ids_order":["1338863994","1338864001","1338864003","1338864005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/191e5c04aa28d04f02c8817d6b62c16c.jpg","text":"TemporaryFile(/tmp/multipartBody1989713278571495219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154973264,"filename":"image_21022025_17_20_55_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f19ba638fc423d13c716152d8649e08e.jpg","text":"TemporaryFile(/tmp/multipartBody4625811518941611689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154973264,"filename":"image_21022025_17_21_25_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c075d3839231ea3b866fbaace55ba8b8.jpg","text":"TemporaryFile(/tmp/multipartBody6778063339112254925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154973264,"filename":"image_21022025_17_21_35_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7be44ca754feee2a9d67268c063f9dd8.jpg","text":"TemporaryFile(/tmp/multipartBody3139431751504987698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740154973264,"filename":"image_21022025_17_21_15_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338864003","file1":"1338864001","file0":"1338863994","file3":"1338864005"},"map_files_photo_id_array":[{"photo_id":"1338864003","filename":"file2"},{"photo_id":"1338864001","filename":"file1"},{"photo_id":"1338863994","filename":"file0"},{"photo_id":"1338864005","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338863994":["hashtag1","hashtag2"]},{"1338864003":["hashtag1","hashtag2"]},{"1338864005":["hashtag1","hashtag2"]},{"1338864001":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338863994, 1338864003, 1338864005, 1338864001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.051844596862793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:22:32.899858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/21/image_21022025_17_21_46_10361.jpg', '/home/pi/Desktop/images/21022025/17/22/image_21022025_17_22_35_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/21/image_21022025_17_21_46_10361.jpg
/home/pi/Desktop/images/21022025/17/22/image_21022025_17_22_35_10359.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338864018","1338864020"],"photo_ids_order":["1338864018","1338864020"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/079c694708d49651ecf6b24a9aa417d4.jpg","text":"TemporaryFile(/tmp/multipartBody5721323896570700575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155013339,"filename":"image_21022025_17_21_46_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/89542ff8e01beced042753e3fac2041d.jpg","text":"TemporaryFile(/tmp/multipartBody9108209333031973970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155013339,"filename":"image_21022025_17_22_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338864020","file0":"1338864018"},"map_files_photo_id_array":[{"photo_id":"1338864020","filename":"file1"},{"photo_id":"1338864018","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338864018":["hashtag1","hashtag2"]},{"1338864020":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338864018, 1338864020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.346670627593994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:22:52.878627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/52/image_20022025_17_52_36_9410.jpg', '/home/pi/Desktop/images/20022025/17/52/image_20022025_17_52_56_10360.jpg', '/home/pi/Desktop/images/20022025/17/52/image_20022025_17_53_06_9394.jpg', '/home/pi/Desktop/images/20022025/17/53/image_20022025_17_53_16_10384.jpg', '/home/pi/Desktop/images/20022025/17/53/image_20022025_17_53_27_10418.jpg', '/home/pi/Desktop/images/20022025/17/53/image_20022025_17_53_36_9327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/52/image_20022025_17_52_36_9410.jpg
/home/pi/Desktop/images/20022025/17/52/image_20022025_17_52_56_10360.jpg
/home/pi/Desktop/images/20022025/17/52/image_20022025_17_53_06_9394.jpg
/home/pi/Desktop/images/20022025/17/53/image_20022025_17_53_16_10384.jpg
/home/pi/Desktop/images/20022025/17/53/image_20022025_17_53_27_10418.jpg
/home/pi/Desktop/images/20022025/17/53/image_20022025_17_53_36_9327.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338864050","1338864038","1338864032","1338864029","1338864046","1338864034"],"photo_ids_order":["1338864029","1338864032","1338864034","1338864038","1338864046","1338864050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/72eee1f1e7f13f60a80b676a908170ff.jpg","text":"TemporaryFile(/tmp/multipartBody1855299583747709180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155035298,"filename":"image_20022025_17_53_36_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/297181648eda02eb6a29d8388ab4f63f.jpg","text":"TemporaryFile(/tmp/multipartBody651026358277677647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155035298,"filename":"image_20022025_17_53_16_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3a0dee870ed7364a1062e7686ca38e69.jpg","text":"TemporaryFile(/tmp/multipartBody2132373158984209571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155035298,"filename":"image_20022025_17_52_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8347fc4f24a6cd65cf65e1444e2f5298.jpg","text":"TemporaryFile(/tmp/multipartBody7851551720131621435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155035298,"filename":"image_20022025_17_52_36_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8035b6f2d23cfa302ddb567a146fbcce.jpg","text":"TemporaryFile(/tmp/multipartBody983384484673307054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155035298,"filename":"image_20022025_17_53_27_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7d3ecc0eaafcaf242c386ceb6c8ee3c.jpg","text":"TemporaryFile(/tmp/multipartBody892468971908153187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155035298,"filename":"image_20022025_17_53_06_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338864034","file1":"1338864032","file0":"1338864029","file4":"1338864046","file5":"1338864050","file3":"1338864038"},"map_files_photo_id_array":[{"photo_id":"1338864050","filename":"file5"},{"photo_id":"1338864034","filename":"file2"},{"photo_id":"1338864046","filename":"file4"},{"photo_id":"1338864032","filename":"file1"},{"photo_id":"1338864029","filename":"file0"},{"photo_id":"1338864038","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338864050":["hashtag1","hashtag2"]},{"1338864038":["hashtag1","hashtag2"]},{"1338864032":["hashtag1","hashtag2"]},{"1338864029":["hashtag1","hashtag2"]},{"1338864046":["hashtag1","hashtag2"]},{"1338864034":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338864050, 1338864038, 1338864032, 1338864029, 1338864046, 1338864034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72975444793701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:23:33.175769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/22/image_21022025_17_22_55_10351.jpg', '/home/pi/Desktop/images/21022025/17/22/image_21022025_17_23_05_10346.jpg', '/home/pi/Desktop/images/21022025/17/23/image_21022025_17_23_15_9328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/22/image_21022025_17_22_55_10351.jpg
/home/pi/Desktop/images/21022025/17/22/image_21022025_17_23_05_10346.jpg
/home/pi/Desktop/images/21022025/17/23/image_21022025_17_23_15_9328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338864217","1338864210","1338864215"],"photo_ids_order":["1338864210","1338864215","1338864217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fcd5f6b98c24491d4fbed40af4a64f48.jpg","text":"TemporaryFile(/tmp/multipartBody2017301145534893108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155073614,"filename":"image_21022025_17_23_15_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4fbeae95a5ca82f03192f7daaebbfec3.jpg","text":"TemporaryFile(/tmp/multipartBody5794610619211440224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155073614,"filename":"image_21022025_17_22_55_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5cfd15375d742c17bfa8729639645dc3.jpg","text":"TemporaryFile(/tmp/multipartBody2290105173160108609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155073614,"filename":"image_21022025_17_23_05_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338864217","file1":"1338864215","file0":"1338864210"},"map_files_photo_id_array":[{"photo_id":"1338864217","filename":"file2"},{"photo_id":"1338864215","filename":"file1"},{"photo_id":"1338864210","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338864217":["hashtag1","hashtag2"]},{"1338864210":["hashtag1","hashtag2"]},{"1338864215":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338864217, 1338864210, 1338864215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.88418197631836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:24:03.209015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/53/image_20022025_17_53_56_9459.jpg', '/home/pi/Desktop/images/20022025/17/54/image_20022025_17_54_16_10343.jpg', '/home/pi/Desktop/images/20022025/17/54/image_20022025_17_54_47_10416.jpg', '/home/pi/Desktop/images/20022025/17/54/image_20022025_17_54_56_9332.jpg', '/home/pi/Desktop/images/20022025/17/54/image_20022025_17_55_06_10338.jpg', '/home/pi/Desktop/images/20022025/17/55/image_20022025_17_55_36_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/53/image_20022025_17_53_56_9459.jpg
/home/pi/Desktop/images/20022025/17/54/image_20022025_17_54_16_10343.jpg
/home/pi/Desktop/images/20022025/17/54/image_20022025_17_54_47_10416.jpg
/home/pi/Desktop/images/20022025/17/54/image_20022025_17_54_56_9332.jpg
/home/pi/Desktop/images/20022025/17/54/image_20022025_17_55_06_10338.jpg
/home/pi/Desktop/images/20022025/17/55/image_20022025_17_55_36_9626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338864291","1338864272","1338864295","1338864280","1338864286","1338864265"],"photo_ids_order":["1338864265","1338864272","1338864280","1338864286","1338864291","1338864295"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d9b230608e18a42540e3cfb65058a181.jpg","text":"TemporaryFile(/tmp/multipartBody7286557656962135218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155104769,"filename":"image_20022025_17_55_06_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b5c43ff8c38361515ab7d9df6697daab.jpg","text":"TemporaryFile(/tmp/multipartBody7034247846083722608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155104769,"filename":"image_20022025_17_54_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7f2e92518c8bbc1abd8f534cf58f923f.jpg","text":"TemporaryFile(/tmp/multipartBody3803613597128433264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155104769,"filename":"image_20022025_17_55_36_9626.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/890acdc3ba230b65b344e1ba63dbda26.jpg","text":"TemporaryFile(/tmp/multipartBody8591516826388937407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155104769,"filename":"image_20022025_17_54_47_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3af4ab76391bc89578c529dbfe9195f7.jpg","text":"TemporaryFile(/tmp/multipartBody6883475721710186700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155104769,"filename":"image_20022025_17_54_56_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/78d0d762fdb6ee70599e2289341704ba.jpg","text":"TemporaryFile(/tmp/multipartBody2639510231219922922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155104769,"filename":"image_20022025_17_53_56_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338864280","file1":"1338864272","file0":"1338864265","file4":"1338864291","file5":"1338864295","file3":"1338864286"},"map_files_photo_id_array":[{"photo_id":"1338864295","filename":"file5"},{"photo_id":"1338864280","filename":"file2"},{"photo_id":"1338864291","filename":"file4"},{"photo_id":"1338864272","filename":"file1"},{"photo_id":"1338864265","filename":"file0"},{"photo_id":"1338864286","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338864291":["hashtag1","hashtag2"]},{"1338864272":["hashtag1","hashtag2"]},{"1338864295":["hashtag1","hashtag2"]},{"1338864280":["hashtag1","hashtag2"]},{"1338864286":["hashtag1","hashtag2"]},{"1338864265":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338864291, 1338864272, 1338864295, 1338864280, 1338864286, 1338864265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19634389877319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:24:42.498020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/23/image_21022025_17_23_55_10435.jpg', '/home/pi/Desktop/images/21022025/17/23/image_21022025_17_24_05_9418.jpg', '/home/pi/Desktop/images/21022025/17/24/image_21022025_17_24_15_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/23/image_21022025_17_23_55_10435.jpg
/home/pi/Desktop/images/21022025/17/23/image_21022025_17_24_05_9418.jpg
/home/pi/Desktop/images/21022025/17/24/image_21022025_17_24_15_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338864342","1338864345","1338864340"],"photo_ids_order":["1338864340","1338864342","1338864345"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/76350f9f6ec9322a6556219f19dc5618.jpg","text":"TemporaryFile(/tmp/multipartBody7632258230483909040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155143465,"filename":"image_21022025_17_24_05_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ffdd9579fd6ca8d09c3fdaa02415903a.jpg","text":"TemporaryFile(/tmp/multipartBody6116686593778414923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155143465,"filename":"image_21022025_17_24_15_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/50edccef1cceef127ba37583bab8bca6.jpg","text":"TemporaryFile(/tmp/multipartBody8459927356074246996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155143465,"filename":"image_21022025_17_23_55_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338864345","file1":"1338864342","file0":"1338864340"},"map_files_photo_id_array":[{"photo_id":"1338864345","filename":"file2"},{"photo_id":"1338864342","filename":"file1"},{"photo_id":"1338864340","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338864342":["hashtag1","hashtag2"]},{"1338864345":["hashtag1","hashtag2"]},{"1338864340":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338864342, 1338864345, 1338864340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.92092800140381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:25:32.878474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/24/image_21022025_17_24_35_9410.jpg', '/home/pi/Desktop/images/21022025/17/24/image_21022025_17_25_05_10422.jpg', '/home/pi/Desktop/images/21022025/17/25/image_21022025_17_25_15_10352.jpg', '/home/pi/Desktop/images/21022025/17/25/image_21022025_17_25_25_9366.jpg', '/home/pi/Desktop/images/21022025/17/25/image_21022025_17_25_35_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/24/image_21022025_17_24_35_9410.jpg
/home/pi/Desktop/images/21022025/17/24/image_21022025_17_25_05_10422.jpg
/home/pi/Desktop/images/21022025/17/25/image_21022025_17_25_15_10352.jpg
/home/pi/Desktop/images/21022025/17/25/image_21022025_17_25_25_9366.jpg
/home/pi/Desktop/images/21022025/17/25/image_21022025_17_25_35_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338864381","1338864371","1338864376","1338864373","1338864367"],"photo_ids_order":["1338864367","1338864371","1338864373","1338864376","1338864381"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d3d6cd8d90cf2459244396536219153f.jpg","text":"TemporaryFile(/tmp/multipartBody1136663889278606339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155193334,"filename":"image_21022025_17_25_35_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/86c2486f51bcac9400f02b7fbfd5b43d.jpg","text":"TemporaryFile(/tmp/multipartBody1223856233750430933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155193334,"filename":"image_21022025_17_25_05_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a86047e2556b09250907a345571ba25d.jpg","text":"TemporaryFile(/tmp/multipartBody2679661462464018482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155193334,"filename":"image_21022025_17_25_25_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8e68217ab17004f4dc2080dc6ecd6867.jpg","text":"TemporaryFile(/tmp/multipartBody6319438596652493635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155193334,"filename":"image_21022025_17_25_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/12c9d810a9ded3383274ef4a8962c044.jpg","text":"TemporaryFile(/tmp/multipartBody1098271596157404943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155193334,"filename":"image_21022025_17_24_35_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338864373","file1":"1338864371","file0":"1338864367","file4":"1338864381","file3":"1338864376"},"map_files_photo_id_array":[{"photo_id":"1338864373","filename":"file2"},{"photo_id":"1338864381","filename":"file4"},{"photo_id":"1338864371","filename":"file1"},{"photo_id":"1338864367","filename":"file0"},{"photo_id":"1338864376","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338864381":["hashtag1","hashtag2"]},{"1338864371":["hashtag1","hashtag2"]},{"1338864376":["hashtag1","hashtag2"]},{"1338864373":["hashtag1","hashtag2"]},{"1338864367":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338864381, 1338864371, 1338864376, 1338864373, 1338864367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.634793043136597 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:26:32.979924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/25/image_21022025_17_25_55_10355.jpg', '/home/pi/Desktop/images/21022025/17/26/image_21022025_17_26_15_9346.jpg', '/home/pi/Desktop/images/21022025/17/26/image_21022025_17_26_25_10363.jpg', '/home/pi/Desktop/images/21022025/17/26/image_21022025_17_26_35_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/25/image_21022025_17_25_55_10355.jpg
/home/pi/Desktop/images/21022025/17/26/image_21022025_17_26_15_9346.jpg
/home/pi/Desktop/images/21022025/17/26/image_21022025_17_26_25_10363.jpg
/home/pi/Desktop/images/21022025/17/26/image_21022025_17_26_35_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338864438","1338864426","1338864431","1338864434"],"photo_ids_order":["1338864426","1338864431","1338864434","1338864438"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/55f3a45cebab34d507d165d62c8efff1.jpg","text":"TemporaryFile(/tmp/multipartBody2709276840983227917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155253490,"filename":"image_21022025_17_26_35_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dadb03c235ae4c7583970f2299a6b8c1.jpg","text":"TemporaryFile(/tmp/multipartBody970978390800967891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155253490,"filename":"image_21022025_17_25_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02ffe28fe4599c48b12b737326883a06.jpg","text":"TemporaryFile(/tmp/multipartBody167714275386019277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155253490,"filename":"image_21022025_17_26_15_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6138617fd0ee26cbaee276a03a6c4925.jpg","text":"TemporaryFile(/tmp/multipartBody8868900387166355630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155253490,"filename":"image_21022025_17_26_25_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338864434","file1":"1338864431","file0":"1338864426","file3":"1338864438"},"map_files_photo_id_array":[{"photo_id":"1338864434","filename":"file2"},{"photo_id":"1338864431","filename":"file1"},{"photo_id":"1338864426","filename":"file0"},{"photo_id":"1338864438","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338864438":["hashtag1","hashtag2"]},{"1338864426":["hashtag1","hashtag2"]},{"1338864431":["hashtag1","hashtag2"]},{"1338864434":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338864438, 1338864426, 1338864431, 1338864434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.94040822982788 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:27:03.862605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/55/image_20022025_17_55_46_10356.jpg', '/home/pi/Desktop/images/20022025/17/55/image_20022025_17_55_57_10492.jpg', '/home/pi/Desktop/images/20022025/17/55/image_20022025_17_56_06_9335.jpg', '/home/pi/Desktop/images/20022025/17/56/image_20022025_17_56_26_9442.jpg', '/home/pi/Desktop/images/20022025/17/56/image_20022025_17_56_46_10312.jpg', '/home/pi/Desktop/images/20022025/17/56/image_20022025_17_56_56_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/55/image_20022025_17_55_46_10356.jpg
/home/pi/Desktop/images/20022025/17/55/image_20022025_17_55_57_10492.jpg
/home/pi/Desktop/images/20022025/17/55/image_20022025_17_56_06_9335.jpg
/home/pi/Desktop/images/20022025/17/56/image_20022025_17_56_26_9442.jpg
/home/pi/Desktop/images/20022025/17/56/image_20022025_17_56_46_10312.jpg
/home/pi/Desktop/images/20022025/17/56/image_20022025_17_56_56_9343.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338864453","1338864447","1338864456","1338864450","1338864458","1338864445"],"photo_ids_order":["1338864445","1338864447","1338864450","1338864453","1338864456","1338864458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/24c2c360dc1b787a802390c8003dd8f8.jpg","text":"TemporaryFile(/tmp/multipartBody8048080077248061604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155285507,"filename":"image_20022025_17_56_26_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/962ac0982753d9a221782222de904a72.jpg","text":"TemporaryFile(/tmp/multipartBody906312296087838198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155285507,"filename":"image_20022025_17_55_57_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d22ac26a7b6a24b38c9057b78793309b.jpg","text":"TemporaryFile(/tmp/multipartBody317988369505728647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155285507,"filename":"image_20022025_17_56_46_10312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/481fea2dc55f68e7d88301c8c123a064.jpg","text":"TemporaryFile(/tmp/multipartBody6895540106954639254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155285507,"filename":"image_20022025_17_56_06_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0490b16176657bfc91be0572135e934c.jpg","text":"TemporaryFile(/tmp/multipartBody194121748438193675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155285507,"filename":"image_20022025_17_56_56_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7aa036b39c86c9574401afeb7e0752ce.jpg","text":"TemporaryFile(/tmp/multipartBody4218930661163320215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155285507,"filename":"image_20022025_17_55_46_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338864450","file1":"1338864447","file0":"1338864445","file4":"1338864456","file5":"1338864458","file3":"1338864453"},"map_files_photo_id_array":[{"photo_id":"1338864458","filename":"file5"},{"photo_id":"1338864450","filename":"file2"},{"photo_id":"1338864456","filename":"file4"},{"photo_id":"1338864447","filename":"file1"},{"photo_id":"1338864445","filename":"file0"},{"photo_id":"1338864453","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338864453":["hashtag1","hashtag2"]},{"1338864447":["hashtag1","hashtag2"]},{"1338864456":["hashtag1","hashtag2"]},{"1338864450":["hashtag1","hashtag2"]},{"1338864458":["hashtag1","hashtag2"]},{"1338864445":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338864453, 1338864447, 1338864456, 1338864450, 1338864458, 1338864445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53247094154358 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:27:42.325091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/26/image_21022025_17_26_45_9410.jpg', '/home/pi/Desktop/images/21022025/17/27/image_21022025_17_27_25_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/26/image_21022025_17_26_45_9410.jpg
/home/pi/Desktop/images/21022025/17/27/image_21022025_17_27_25_10356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338864470","1338864466"],"photo_ids_order":["1338864466","1338864470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0d19e6b6b581ea62a7c119d546f6c7f4.jpg","text":"TemporaryFile(/tmp/multipartBody5126515846467575613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155322754,"filename":"image_21022025_17_27_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ead6dab89b5080b88e086efa8cf9b25.jpg","text":"TemporaryFile(/tmp/multipartBody5226581871923164099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155322754,"filename":"image_21022025_17_26_45_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338864470","file0":"1338864466"},"map_files_photo_id_array":[{"photo_id":"1338864470","filename":"file1"},{"photo_id":"1338864466","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338864470":["hashtag1","hashtag2"]},{"1338864466":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338864470, 1338864466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.607844352722168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:28:03.130283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/56/image_20022025_17_57_06_10403.jpg', '/home/pi/Desktop/images/20022025/17/57/image_20022025_17_57_17_10427.jpg', '/home/pi/Desktop/images/20022025/17/57/image_20022025_17_57_26_9333.jpg', '/home/pi/Desktop/images/20022025/17/57/image_20022025_17_57_36_10343.jpg', '/home/pi/Desktop/images/20022025/17/57/image_20022025_17_57_47_10323.jpg', '/home/pi/Desktop/images/20022025/17/57/image_20022025_17_57_56_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/56/image_20022025_17_57_06_10403.jpg
/home/pi/Desktop/images/20022025/17/57/image_20022025_17_57_17_10427.jpg
/home/pi/Desktop/images/20022025/17/57/image_20022025_17_57_26_9333.jpg
/home/pi/Desktop/images/20022025/17/57/image_20022025_17_57_36_10343.jpg
/home/pi/Desktop/images/20022025/17/57/image_20022025_17_57_47_10323.jpg
/home/pi/Desktop/images/20022025/17/57/image_20022025_17_57_56_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338864531","1338864581","1338864533","1338864512","1338864592","1338864523"],"photo_ids_order":["1338864512","1338864523","1338864531","1338864533","1338864581","1338864592"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/52162f5b6585ef23f75841e9a8011bce.jpg","text":"TemporaryFile(/tmp/multipartBody8357671071421175793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155344670,"filename":"image_20022025_17_57_26_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/feb28b3b2f527e08312f03520cf5e85d.jpg","text":"TemporaryFile(/tmp/multipartBody5872926710318386537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155344670,"filename":"image_20022025_17_57_47_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7a10de13e7bb565c62c749ec7ded140.jpg","text":"TemporaryFile(/tmp/multipartBody4760276648356954712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155344670,"filename":"image_20022025_17_57_36_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1e450dcfb50e4865fb3d28cb10a10b0.jpg","text":"TemporaryFile(/tmp/multipartBody3757389677668183995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155344670,"filename":"image_20022025_17_57_06_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83eb50b1babaec71ea522bc5c691ea9e.jpg","text":"TemporaryFile(/tmp/multipartBody4287573881904933930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155344670,"filename":"image_20022025_17_57_56_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f0a1d4d50d582203a3fb48182148b64c.jpg","text":"TemporaryFile(/tmp/multipartBody9081173495287645333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155344670,"filename":"image_20022025_17_57_17_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338864531","file1":"1338864523","file0":"1338864512","file4":"1338864581","file5":"1338864592","file3":"1338864533"},"map_files_photo_id_array":[{"photo_id":"1338864592","filename":"file5"},{"photo_id":"1338864531","filename":"file2"},{"photo_id":"1338864581","filename":"file4"},{"photo_id":"1338864523","filename":"file1"},{"photo_id":"1338864512","filename":"file0"},{"photo_id":"1338864533","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338864531":["hashtag1","hashtag2"]},{"1338864581":["hashtag1","hashtag2"]},{"1338864533":["hashtag1","hashtag2"]},{"1338864512":["hashtag1","hashtag2"]},{"1338864592":["hashtag1","hashtag2"]},{"1338864523":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338864531, 1338864581, 1338864533, 1338864512, 1338864592, 1338864523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.06693124771118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:28:52.475355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/27/image_21022025_17_27_35_9331.jpg', '/home/pi/Desktop/images/21022025/17/28/image_21022025_17_28_35_10347.jpg', '/home/pi/Desktop/images/21022025/17/28/image_21022025_17_28_45_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/27/image_21022025_17_27_35_9331.jpg
/home/pi/Desktop/images/21022025/17/28/image_21022025_17_28_35_10347.jpg
/home/pi/Desktop/images/21022025/17/28/image_21022025_17_28_45_10353.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338864645","1338864630","1338864624"],"photo_ids_order":["1338864624","1338864630","1338864645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8d1675064681c1243e92aee4bc66548.jpg","text":"TemporaryFile(/tmp/multipartBody3774431723764460122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155392907,"filename":"image_21022025_17_28_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4e1d063121eba9e65a6d5ab4d1b8eac5.jpg","text":"TemporaryFile(/tmp/multipartBody5494445274869475849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155392907,"filename":"image_21022025_17_28_35_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae9d25c5e51d916f47288770231caf49.jpg","text":"TemporaryFile(/tmp/multipartBody5724546465171911679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155392907,"filename":"image_21022025_17_27_35_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338864645","file1":"1338864630","file0":"1338864624"},"map_files_photo_id_array":[{"photo_id":"1338864645","filename":"file2"},{"photo_id":"1338864630","filename":"file1"},{"photo_id":"1338864624","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338864645":["hashtag1","hashtag2"]},{"1338864630":["hashtag1","hashtag2"]},{"1338864624":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338864645, 1338864630, 1338864624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.465153694152832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:29:32.864309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/28/image_21022025_17_28_55_9400.jpg', '/home/pi/Desktop/images/21022025/17/29/image_21022025_17_29_15_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/28/image_21022025_17_28_55_9400.jpg
/home/pi/Desktop/images/21022025/17/29/image_21022025_17_29_15_10416.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338864725","1338864721"],"photo_ids_order":["1338864721","1338864725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f5e29d257ff8f5a6116f8b3bcd3a1f6.jpg","text":"TemporaryFile(/tmp/multipartBody4968494297088299233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155433291,"filename":"image_21022025_17_29_15_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/73c5658815915f501976f84e0dc02bdf.jpg","text":"TemporaryFile(/tmp/multipartBody482938063747819257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155433291,"filename":"image_21022025_17_28_55_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338864725","file0":"1338864721"},"map_files_photo_id_array":[{"photo_id":"1338864725","filename":"file1"},{"photo_id":"1338864721","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338864725":["hashtag1","hashtag2"]},{"1338864721":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338864725, 1338864721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.519184112548828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:29:52.587663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/57/image_20022025_17_58_06_10361.jpg', '/home/pi/Desktop/images/20022025/17/58/image_20022025_17_58_17_10345.jpg', '/home/pi/Desktop/images/20022025/17/58/image_20022025_17_58_36_10337.jpg', '/home/pi/Desktop/images/20022025/17/58/image_20022025_17_58_47_10331.jpg', '/home/pi/Desktop/images/20022025/17/58/image_20022025_17_58_56_9343.jpg', '/home/pi/Desktop/images/20022025/17/58/image_20022025_17_59_06_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/57/image_20022025_17_58_06_10361.jpg
/home/pi/Desktop/images/20022025/17/58/image_20022025_17_58_17_10345.jpg
/home/pi/Desktop/images/20022025/17/58/image_20022025_17_58_36_10337.jpg
/home/pi/Desktop/images/20022025/17/58/image_20022025_17_58_47_10331.jpg
/home/pi/Desktop/images/20022025/17/58/image_20022025_17_58_56_9343.jpg
/home/pi/Desktop/images/20022025/17/58/image_20022025_17_59_06_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338864759","1338864747","1338864755","1338864743","1338864769","1338864733"],"photo_ids_order":["1338864733","1338864743","1338864747","1338864755","1338864759","1338864769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/873024d8840c3f97af1b0a91160cb8a5.jpg","text":"TemporaryFile(/tmp/multipartBody902960389831149018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155454736,"filename":"image_20022025_17_58_56_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/591214847686f8af5898232b04aa9485.jpg","text":"TemporaryFile(/tmp/multipartBody1320320348620124444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155454736,"filename":"image_20022025_17_58_36_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ce393972abe559344c484783c433768.jpg","text":"TemporaryFile(/tmp/multipartBody7856666661720720611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155454736,"filename":"image_20022025_17_58_47_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff676151375e5638f8459f23db3d265e.jpg","text":"TemporaryFile(/tmp/multipartBody977178900331227016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155454736,"filename":"image_20022025_17_58_17_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/97951fc546a029235660cde0fb756a72.jpg","text":"TemporaryFile(/tmp/multipartBody1200800278121039393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155454736,"filename":"image_20022025_17_59_06_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae7c71aae1ce1f295aa6b5b9f8aeca8f.jpg","text":"TemporaryFile(/tmp/multipartBody2811191704114948563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155454736,"filename":"image_20022025_17_58_06_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338864747","file1":"1338864743","file0":"1338864733","file4":"1338864759","file5":"1338864769","file3":"1338864755"},"map_files_photo_id_array":[{"photo_id":"1338864769","filename":"file5"},{"photo_id":"1338864747","filename":"file2"},{"photo_id":"1338864759","filename":"file4"},{"photo_id":"1338864743","filename":"file1"},{"photo_id":"1338864733","filename":"file0"},{"photo_id":"1338864755","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338864759":["hashtag1","hashtag2"]},{"1338864747":["hashtag1","hashtag2"]},{"1338864755":["hashtag1","hashtag2"]},{"1338864743":["hashtag1","hashtag2"]},{"1338864769":["hashtag1","hashtag2"]},{"1338864733":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338864759, 1338864747, 1338864755, 1338864743, 1338864769, 1338864733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.80139756202698 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:30:42.922760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/29/image_21022025_17_29_25_9389.jpg', '/home/pi/Desktop/images/21022025/17/30/image_21022025_17_30_15_9418.jpg', '/home/pi/Desktop/images/21022025/17/30/image_21022025_17_30_35_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/29/image_21022025_17_29_25_9389.jpg
/home/pi/Desktop/images/21022025/17/30/image_21022025_17_30_15_9418.jpg
/home/pi/Desktop/images/21022025/17/30/image_21022025_17_30_35_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338865118","1338864990","1338864943"],"photo_ids_order":["1338864943","1338864990","1338865118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/261b097024b3eb2b1747951c8b187ad6.jpg","text":"TemporaryFile(/tmp/multipartBody7386281323056076399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155503354,"filename":"image_21022025_17_30_35_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc1fe51b7eef14e2d4a49a260d39df2a.jpg","text":"TemporaryFile(/tmp/multipartBody2882819404797288142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155503354,"filename":"image_21022025_17_30_15_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d551e91502f617efdb739a06d79ecedf.jpg","text":"TemporaryFile(/tmp/multipartBody5321609145243829159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155503354,"filename":"image_21022025_17_29_25_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338865118","file1":"1338864990","file0":"1338864943"},"map_files_photo_id_array":[{"photo_id":"1338865118","filename":"file2"},{"photo_id":"1338864990","filename":"file1"},{"photo_id":"1338864943","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338865118":["hashtag1","hashtag2"]},{"1338864990":["hashtag1","hashtag2"]},{"1338864943":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338865118, 1338864990, 1338864943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 38.06979250907898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:31:33.037878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/30/image_21022025_17_30_45_10362.jpg', '/home/pi/Desktop/images/21022025/17/31/image_21022025_17_31_25_10375.jpg', '/home/pi/Desktop/images/21022025/17/31/image_21022025_17_31_35_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/30/image_21022025_17_30_45_10362.jpg
/home/pi/Desktop/images/21022025/17/31/image_21022025_17_31_25_10375.jpg
/home/pi/Desktop/images/21022025/17/31/image_21022025_17_31_35_9336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338865347","1338865480","1338865402"],"photo_ids_order":["1338865347","1338865402","1338865480"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/60c60c0b7bff018c591ea23f1b7eb6ec.jpg","text":"TemporaryFile(/tmp/multipartBody2861816752179491540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155553493,"filename":"image_21022025_17_30_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/af9a6eaccefc9725aa78f91649c196cf.jpg","text":"TemporaryFile(/tmp/multipartBody3886295149615283572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155553493,"filename":"image_21022025_17_31_35_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4ec6091907477dcb9561e2e7dcfedd21.jpg","text":"TemporaryFile(/tmp/multipartBody3729528162609646809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155553493,"filename":"image_21022025_17_31_25_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338865480","file1":"1338865402","file0":"1338865347"},"map_files_photo_id_array":[{"photo_id":"1338865480","filename":"file2"},{"photo_id":"1338865402","filename":"file1"},{"photo_id":"1338865347","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338865347":["hashtag1","hashtag2"]},{"1338865480":["hashtag1","hashtag2"]},{"1338865402":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338865347, 1338865480, 1338865402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.471805334091187 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:32:32.240330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/31/image_21022025_17_31_45_10335.jpg', '/home/pi/Desktop/images/21022025/17/32/image_21022025_17_32_25_9326.jpg', '/home/pi/Desktop/images/21022025/17/32/image_21022025_17_32_35_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/31/image_21022025_17_31_45_10335.jpg
/home/pi/Desktop/images/21022025/17/32/image_21022025_17_32_25_9326.jpg
/home/pi/Desktop/images/21022025/17/32/image_21022025_17_32_35_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338865902","1338865905","1338865898"],"photo_ids_order":["1338865898","1338865902","1338865905"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b16177de56ff1493ab348505c2b80b8.jpg","text":"TemporaryFile(/tmp/multipartBody3363732464653752236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155612683,"filename":"image_21022025_17_32_25_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/125915235b7a97b1acab73eb70993447.jpg","text":"TemporaryFile(/tmp/multipartBody1471653812537245792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155612683,"filename":"image_21022025_17_32_35_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/31698d66d98ab24b460d660924795e56.jpg","text":"TemporaryFile(/tmp/multipartBody6535727381775131469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155612683,"filename":"image_21022025_17_31_45_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338865905","file1":"1338865902","file0":"1338865898"},"map_files_photo_id_array":[{"photo_id":"1338865905","filename":"file2"},{"photo_id":"1338865902","filename":"file1"},{"photo_id":"1338865898","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338865902":["hashtag1","hashtag2"]},{"1338865905":["hashtag1","hashtag2"]},{"1338865898":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338865902, 1338865905, 1338865898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.24343514442444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:33:04.179301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/17/59/image_20022025_17_59_16_9312.jpg', '/home/pi/Desktop/images/20022025/17/59/image_20022025_17_59_26_10356.jpg', '/home/pi/Desktop/images/20022025/17/59/image_20022025_17_59_37_10469.jpg', '/home/pi/Desktop/images/20022025/17/59/image_20022025_17_59_46_9322.jpg', '/home/pi/Desktop/images/20022025/17/59/image_20022025_17_59_56_10369.jpg', '/home/pi/Desktop/images/20022025/18/00/image_20022025_18_00_15_10071.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/17/59/image_20022025_17_59_16_9312.jpg
/home/pi/Desktop/images/20022025/17/59/image_20022025_17_59_26_10356.jpg
/home/pi/Desktop/images/20022025/17/59/image_20022025_17_59_37_10469.jpg
/home/pi/Desktop/images/20022025/17/59/image_20022025_17_59_46_9322.jpg
/home/pi/Desktop/images/20022025/17/59/image_20022025_17_59_56_10369.jpg
/home/pi/Desktop/images/20022025/18/00/image_20022025_18_00_15_10071.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338865923","1338865931","1338865918","1338865927","1338865912","1338865921"],"photo_ids_order":["1338865912","1338865918","1338865921","1338865923","1338865927","1338865931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/723ca3657ce92e2eb351916b0caed51a.jpg","text":"TemporaryFile(/tmp/multipartBody3261104859290704545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155645947,"filename":"image_20022025_17_59_46_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3feedd6ae2eb8297c549d48c53fd268.jpg","text":"TemporaryFile(/tmp/multipartBody2886592603311935570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155645947,"filename":"image_20022025_18_00_15_10071.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/66c2091fa879e6a589ebc08685ff3a8d.jpg","text":"TemporaryFile(/tmp/multipartBody3530876478807980150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155645947,"filename":"image_20022025_17_59_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b8ed2176509d5c4d44e2e3cd51c81bd.jpg","text":"TemporaryFile(/tmp/multipartBody3866402140453687297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155645947,"filename":"image_20022025_17_59_56_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bd817f63324da3f315d20b2c56b3cf74.jpg","text":"TemporaryFile(/tmp/multipartBody1011949721265554292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155645947,"filename":"image_20022025_17_59_16_9312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a33c41b5f709909c3f4dbf652f9aa07e.jpg","text":"TemporaryFile(/tmp/multipartBody4662988847630328090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155645947,"filename":"image_20022025_17_59_37_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338865921","file1":"1338865918","file0":"1338865912","file4":"1338865927","file5":"1338865931","file3":"1338865923"},"map_files_photo_id_array":[{"photo_id":"1338865931","filename":"file5"},{"photo_id":"1338865921","filename":"file2"},{"photo_id":"1338865927","filename":"file4"},{"photo_id":"1338865918","filename":"file1"},{"photo_id":"1338865912","filename":"file0"},{"photo_id":"1338865923","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338865923":["hashtag1","hashtag2"]},{"1338865931":["hashtag1","hashtag2"]},{"1338865918":["hashtag1","hashtag2"]},{"1338865927":["hashtag1","hashtag2"]},{"1338865912":["hashtag1","hashtag2"]},{"1338865921":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338865923, 1338865931, 1338865918, 1338865927, 1338865912, 1338865921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3231520652771 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:33:52.509785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/32/image_21022025_17_32_55_9432.jpg', '/home/pi/Desktop/images/21022025/17/32/image_21022025_17_33_05_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/32/image_21022025_17_32_55_9432.jpg
/home/pi/Desktop/images/21022025/17/32/image_21022025_17_33_05_10334.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338865944","1338865967"],"photo_ids_order":["1338865944","1338865967"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8837075fad7c9f335a3dbd578f580447.jpg","text":"TemporaryFile(/tmp/multipartBody5255914935702789513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155692943,"filename":"image_21022025_17_32_55_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/edd7d7a59847bc8f5a80ff16f9e14a93.jpg","text":"TemporaryFile(/tmp/multipartBody581232898776389928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155692943,"filename":"image_21022025_17_33_05_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338865967","file0":"1338865944"},"map_files_photo_id_array":[{"photo_id":"1338865967","filename":"file1"},{"photo_id":"1338865944","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338865944":["hashtag1","hashtag2"]},{"1338865967":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338865944, 1338865967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.071147680282593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:34:32.725930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/33/image_21022025_17_33_25_10378.jpg', '/home/pi/Desktop/images/21022025/17/33/image_21022025_17_34_05_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/33/image_21022025_17_33_25_10378.jpg
/home/pi/Desktop/images/21022025/17/33/image_21022025_17_34_05_10346.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338866351","1338866437"],"photo_ids_order":["1338866351","1338866437"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0693215dde19fd8fe48e1e0bf189f23e.jpg","text":"TemporaryFile(/tmp/multipartBody6493519007811755861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155733165,"filename":"image_21022025_17_33_25_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6cffeffe92689c9a9368caab75048204.jpg","text":"TemporaryFile(/tmp/multipartBody7156676632504924333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155733165,"filename":"image_21022025_17_34_05_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338866437","file0":"1338866351"},"map_files_photo_id_array":[{"photo_id":"1338866437","filename":"file1"},{"photo_id":"1338866351","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338866351":["hashtag1","hashtag2"]},{"1338866437":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338866351, 1338866437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.97920036315918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:34:52.659755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/00/image_20022025_18_00_26_10365.jpg', '/home/pi/Desktop/images/20022025/18/00/image_20022025_18_00_46_9387.jpg', '/home/pi/Desktop/images/20022025/18/00/image_20022025_18_00_56_10341.jpg', '/home/pi/Desktop/images/20022025/18/01/image_20022025_18_01_16_9327.jpg', '/home/pi/Desktop/images/20022025/18/01/image_20022025_18_01_26_10344.jpg', '/home/pi/Desktop/images/20022025/18/01/image_20022025_18_01_36_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/00/image_20022025_18_00_26_10365.jpg
/home/pi/Desktop/images/20022025/18/00/image_20022025_18_00_46_9387.jpg
/home/pi/Desktop/images/20022025/18/00/image_20022025_18_00_56_10341.jpg
/home/pi/Desktop/images/20022025/18/01/image_20022025_18_01_16_9327.jpg
/home/pi/Desktop/images/20022025/18/01/image_20022025_18_01_26_10344.jpg
/home/pi/Desktop/images/20022025/18/01/image_20022025_18_01_36_10340.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338866684","1338866678","1338866686","1338866767","1338866680","1338866679"],"photo_ids_order":["1338866678","1338866679","1338866680","1338866684","1338866686","1338866767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a5fc7eab1b5573b817eb0dd6e0d02dfd.jpg","text":"TemporaryFile(/tmp/multipartBody782601934559259545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155754764,"filename":"image_20022025_18_01_16_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/688e4d50d0690fa31cf94c84ca143d0f.jpg","text":"TemporaryFile(/tmp/multipartBody5958153804529017424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155754764,"filename":"image_20022025_18_00_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ed56d06ae1d9eb78c15c136565d066d.jpg","text":"TemporaryFile(/tmp/multipartBody3384608352047863826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155754764,"filename":"image_20022025_18_01_26_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a79b9fd5456967ec814df93d044c5141.jpg","text":"TemporaryFile(/tmp/multipartBody1793764031439657358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155754764,"filename":"image_20022025_18_01_36_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8f06170f4368f820247682f154267adc.jpg","text":"TemporaryFile(/tmp/multipartBody433222938133512915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155754764,"filename":"image_20022025_18_00_56_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce6e3848729e9ed6367d30c6f3f898ec.jpg","text":"TemporaryFile(/tmp/multipartBody5304370822001732677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155754764,"filename":"image_20022025_18_00_46_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338866680","file1":"1338866679","file0":"1338866678","file4":"1338866686","file5":"1338866767","file3":"1338866684"},"map_files_photo_id_array":[{"photo_id":"1338866767","filename":"file5"},{"photo_id":"1338866680","filename":"file2"},{"photo_id":"1338866686","filename":"file4"},{"photo_id":"1338866679","filename":"file1"},{"photo_id":"1338866678","filename":"file0"},{"photo_id":"1338866684","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338866684":["hashtag1","hashtag2"]},{"1338866678":["hashtag1","hashtag2"]},{"1338866686":["hashtag1","hashtag2"]},{"1338866767":["hashtag1","hashtag2"]},{"1338866680":["hashtag1","hashtag2"]},{"1338866679":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338866684, 1338866678, 1338866686, 1338866767, 1338866680, 1338866679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97900724411011 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:35:32.908316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/34/image_21022025_17_34_45_10357.jpg', '/home/pi/Desktop/images/21022025/17/35/image_21022025_17_35_15_10355.jpg', '/home/pi/Desktop/images/21022025/17/35/image_21022025_17_35_25_10386.jpg', '/home/pi/Desktop/images/21022025/17/35/image_21022025_17_35_45_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/34/image_21022025_17_34_45_10357.jpg
/home/pi/Desktop/images/21022025/17/35/image_21022025_17_35_15_10355.jpg
/home/pi/Desktop/images/21022025/17/35/image_21022025_17_35_25_10386.jpg
/home/pi/Desktop/images/21022025/17/35/image_21022025_17_35_45_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338866894","1338866876","1338866881","1338866847"],"photo_ids_order":["1338866847","1338866876","1338866881","1338866894"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/76c622e54106ef9aba23be7818805b9b.jpg","text":"TemporaryFile(/tmp/multipartBody6911762404203335478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155793355,"filename":"image_21022025_17_35_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f5327d762e76b261ad71037c7a62621c.jpg","text":"TemporaryFile(/tmp/multipartBody1084472361520975405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155793355,"filename":"image_21022025_17_35_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b67b217f0a809b9ba3363c613202913b.jpg","text":"TemporaryFile(/tmp/multipartBody15271193788842588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155793355,"filename":"image_21022025_17_35_25_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a0a065cd93659f11126ed3e3c752a45.jpg","text":"TemporaryFile(/tmp/multipartBody4449541676034216123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155793355,"filename":"image_21022025_17_34_45_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338866881","file1":"1338866876","file0":"1338866847","file3":"1338866894"},"map_files_photo_id_array":[{"photo_id":"1338866881","filename":"file2"},{"photo_id":"1338866876","filename":"file1"},{"photo_id":"1338866847","filename":"file0"},{"photo_id":"1338866894","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338866894":["hashtag1","hashtag2"]},{"1338866876":["hashtag1","hashtag2"]},{"1338866881":["hashtag1","hashtag2"]},{"1338866847":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338866894, 1338866876, 1338866881, 1338866847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.770787239074707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:36:32.162613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/35/image_21022025_17_35_55_9352.jpg', '/home/pi/Desktop/images/21022025/17/35/image_21022025_17_36_05_10417.jpg', '/home/pi/Desktop/images/21022025/17/36/image_21022025_17_36_15_10358.jpg', '/home/pi/Desktop/images/21022025/17/36/image_21022025_17_36_25_9443.jpg', '/home/pi/Desktop/images/21022025/17/36/image_21022025_17_36_35_10340.jpg', '/home/pi/Desktop/images/21022025/17/36/image_21022025_17_36_45_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/35/image_21022025_17_35_55_9352.jpg
/home/pi/Desktop/images/21022025/17/35/image_21022025_17_36_05_10417.jpg
/home/pi/Desktop/images/21022025/17/36/image_21022025_17_36_15_10358.jpg
/home/pi/Desktop/images/21022025/17/36/image_21022025_17_36_25_9443.jpg
/home/pi/Desktop/images/21022025/17/36/image_21022025_17_36_35_10340.jpg
/home/pi/Desktop/images/21022025/17/36/image_21022025_17_36_45_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338867215","1338867218","1338867199","1338867148","1338867222","1338867098"],"photo_ids_order":["1338867098","1338867148","1338867199","1338867215","1338867218","1338867222"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04b876e0731adb0373de774e78b4e903.jpg","text":"TemporaryFile(/tmp/multipartBody7143902345955014045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155852643,"filename":"image_21022025_17_36_25_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/726520b84570c9a4a924922159b661f0.jpg","text":"TemporaryFile(/tmp/multipartBody4960770531043981119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155852643,"filename":"image_21022025_17_36_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c0a0518db7070b70fb9c29f0c99ad6f.jpg","text":"TemporaryFile(/tmp/multipartBody8420703514923017926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155852643,"filename":"image_21022025_17_36_15_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c39bc59e987ec3f50b58c7205abe9817.jpg","text":"TemporaryFile(/tmp/multipartBody5395363768917190442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155852643,"filename":"image_21022025_17_36_05_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d0185b7f06529c8e1bae97e829ba0c71.jpg","text":"TemporaryFile(/tmp/multipartBody2282553018929219837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155852643,"filename":"image_21022025_17_36_45_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/24fa65d31de93a5fac1c8a884998e207.jpg","text":"TemporaryFile(/tmp/multipartBody1490623132622604466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155852643,"filename":"image_21022025_17_35_55_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338867199","file1":"1338867148","file0":"1338867098","file4":"1338867218","file5":"1338867222","file3":"1338867215"},"map_files_photo_id_array":[{"photo_id":"1338867222","filename":"file5"},{"photo_id":"1338867199","filename":"file2"},{"photo_id":"1338867218","filename":"file4"},{"photo_id":"1338867148","filename":"file1"},{"photo_id":"1338867098","filename":"file0"},{"photo_id":"1338867215","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338867215":["hashtag1","hashtag2"]},{"1338867218":["hashtag1","hashtag2"]},{"1338867199":["hashtag1","hashtag2"]},{"1338867148":["hashtag1","hashtag2"]},{"1338867222":["hashtag1","hashtag2"]},{"1338867098":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338867215, 1338867218, 1338867199, 1338867148, 1338867222, 1338867098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.481242179870605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:37:32.384789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/36/image_21022025_17_36_55_10350.jpg', '/home/pi/Desktop/images/21022025/17/37/image_21022025_17_37_15_9394.jpg', '/home/pi/Desktop/images/21022025/17/37/image_21022025_17_37_35_10366.jpg', '/home/pi/Desktop/images/21022025/17/37/image_21022025_17_37_45_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/36/image_21022025_17_36_55_10350.jpg
/home/pi/Desktop/images/21022025/17/37/image_21022025_17_37_15_9394.jpg
/home/pi/Desktop/images/21022025/17/37/image_21022025_17_37_35_10366.jpg
/home/pi/Desktop/images/21022025/17/37/image_21022025_17_37_45_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338867239","1338867247","1338867232","1338867243"],"photo_ids_order":["1338867232","1338867239","1338867243","1338867247"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c4724fe16c89f8cdcb8305887602632a.jpg","text":"TemporaryFile(/tmp/multipartBody5758062108978781767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155912839,"filename":"image_21022025_17_37_15_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/47ef703d4c9c9c279f18c6498129c733.jpg","text":"TemporaryFile(/tmp/multipartBody3303790331935998910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155912839,"filename":"image_21022025_17_37_45_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d8f1bc61d6e7b0f1b8a16841c1e5760.jpg","text":"TemporaryFile(/tmp/multipartBody2659180467087584575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155912839,"filename":"image_21022025_17_36_55_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2e4f6ca976edd15fde2855a885c88ff2.jpg","text":"TemporaryFile(/tmp/multipartBody2960968546432178952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155912839,"filename":"image_21022025_17_37_35_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338867243","file1":"1338867239","file0":"1338867232","file3":"1338867247"},"map_files_photo_id_array":[{"photo_id":"1338867243","filename":"file2"},{"photo_id":"1338867239","filename":"file1"},{"photo_id":"1338867232","filename":"file0"},{"photo_id":"1338867247","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338867239":["hashtag1","hashtag2"]},{"1338867247":["hashtag1","hashtag2"]},{"1338867232":["hashtag1","hashtag2"]},{"1338867243":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338867239, 1338867247, 1338867232, 1338867243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.060485363006592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:38:03.341364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/01/image_20022025_18_01_56_10408.jpg', '/home/pi/Desktop/images/20022025/18/01/image_20022025_18_02_05_9471.jpg', '/home/pi/Desktop/images/20022025/18/02/image_20022025_18_02_16_10377.jpg', '/home/pi/Desktop/images/20022025/18/02/image_20022025_18_02_26_10362.jpg', '/home/pi/Desktop/images/20022025/18/02/image_20022025_18_02_36_9394.jpg', '/home/pi/Desktop/images/20022025/18/02/image_20022025_18_02_46_10321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/01/image_20022025_18_01_56_10408.jpg
/home/pi/Desktop/images/20022025/18/01/image_20022025_18_02_05_9471.jpg
/home/pi/Desktop/images/20022025/18/02/image_20022025_18_02_16_10377.jpg
/home/pi/Desktop/images/20022025/18/02/image_20022025_18_02_26_10362.jpg
/home/pi/Desktop/images/20022025/18/02/image_20022025_18_02_36_9394.jpg
/home/pi/Desktop/images/20022025/18/02/image_20022025_18_02_46_10321.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338867256","1338867334","1338867342","1338867336","1338867339","1338867330"],"photo_ids_order":["1338867256","1338867330","1338867334","1338867336","1338867339","1338867342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23da1dad6479defe51a8760bff6ed1e0.jpg","text":"TemporaryFile(/tmp/multipartBody3339843230904237570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155944779,"filename":"image_20022025_18_01_56_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9fbf7d2f9192ef23784a020302746bd3.jpg","text":"TemporaryFile(/tmp/multipartBody7520698352881377871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155944779,"filename":"image_20022025_18_02_16_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f940767c5a7fa90b69148187b6d4293.jpg","text":"TemporaryFile(/tmp/multipartBody3417815524764339861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155944779,"filename":"image_20022025_18_02_46_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4160f998999f85abf456867791a818d3.jpg","text":"TemporaryFile(/tmp/multipartBody8716457286967961598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155944779,"filename":"image_20022025_18_02_26_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32996f579a9b2edbd6cf4494afff265a.jpg","text":"TemporaryFile(/tmp/multipartBody6633586883896830365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155944779,"filename":"image_20022025_18_02_36_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f30e97c0518f8bf84fc49e685976487a.jpg","text":"TemporaryFile(/tmp/multipartBody792917795099080916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155944779,"filename":"image_20022025_18_02_05_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338867334","file1":"1338867330","file0":"1338867256","file4":"1338867339","file5":"1338867342","file3":"1338867336"},"map_files_photo_id_array":[{"photo_id":"1338867342","filename":"file5"},{"photo_id":"1338867334","filename":"file2"},{"photo_id":"1338867339","filename":"file4"},{"photo_id":"1338867330","filename":"file1"},{"photo_id":"1338867256","filename":"file0"},{"photo_id":"1338867336","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338867256":["hashtag1","hashtag2"]},{"1338867334":["hashtag1","hashtag2"]},{"1338867342":["hashtag1","hashtag2"]},{"1338867336":["hashtag1","hashtag2"]},{"1338867339":["hashtag1","hashtag2"]},{"1338867330":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338867256, 1338867334, 1338867342, 1338867336, 1338867339, 1338867330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.24741196632385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:38:42.652688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/37/image_21022025_17_37_55_10365.jpg', '/home/pi/Desktop/images/21022025/17/37/image_21022025_17_38_05_9459.jpg', '/home/pi/Desktop/images/21022025/17/38/image_21022025_17_38_15_10347.jpg', '/home/pi/Desktop/images/21022025/17/38/image_21022025_17_38_25_10375.jpg', '/home/pi/Desktop/images/21022025/17/38/image_21022025_17_38_35_9361.jpg', '/home/pi/Desktop/images/21022025/17/38/image_21022025_17_38_45_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/37/image_21022025_17_37_55_10365.jpg
/home/pi/Desktop/images/21022025/17/37/image_21022025_17_38_05_9459.jpg
/home/pi/Desktop/images/21022025/17/38/image_21022025_17_38_15_10347.jpg
/home/pi/Desktop/images/21022025/17/38/image_21022025_17_38_25_10375.jpg
/home/pi/Desktop/images/21022025/17/38/image_21022025_17_38_35_9361.jpg
/home/pi/Desktop/images/21022025/17/38/image_21022025_17_38_45_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338867368","1338867373","1338867361","1338867370","1338867364","1338867358"],"photo_ids_order":["1338867358","1338867361","1338867364","1338867368","1338867370","1338867373"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d288f6f60365ee591dac10f8ebbee45a.jpg","text":"TemporaryFile(/tmp/multipartBody8440530764159249957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155983119,"filename":"image_21022025_17_38_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b7206ff8596b57051847d79207614be.jpg","text":"TemporaryFile(/tmp/multipartBody8735430305641202489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155983119,"filename":"image_21022025_17_38_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/72ecc6d23991aba8fd4e362b3b9b1da3.jpg","text":"TemporaryFile(/tmp/multipartBody7723948741826494175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155983119,"filename":"image_21022025_17_38_05_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/986eb47a292421b7f01b053300ff159d.jpg","text":"TemporaryFile(/tmp/multipartBody2818621426135185125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155983119,"filename":"image_21022025_17_38_35_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f52d348d7a7897cab7b49875dbc7b909.jpg","text":"TemporaryFile(/tmp/multipartBody2769715078334720303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155983119,"filename":"image_21022025_17_38_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/921b4fd4c01e656e2b731a1df0ecfa4e.jpg","text":"TemporaryFile(/tmp/multipartBody3398401649239304368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740155983119,"filename":"image_21022025_17_37_55_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338867364","file1":"1338867361","file0":"1338867358","file4":"1338867370","file5":"1338867373","file3":"1338867368"},"map_files_photo_id_array":[{"photo_id":"1338867373","filename":"file5"},{"photo_id":"1338867364","filename":"file2"},{"photo_id":"1338867370","filename":"file4"},{"photo_id":"1338867361","filename":"file1"},{"photo_id":"1338867358","filename":"file0"},{"photo_id":"1338867368","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338867368":["hashtag1","hashtag2"]},{"1338867373":["hashtag1","hashtag2"]},{"1338867361":["hashtag1","hashtag2"]},{"1338867370":["hashtag1","hashtag2"]},{"1338867364":["hashtag1","hashtag2"]},{"1338867358":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338867368, 1338867373, 1338867361, 1338867370, 1338867364, 1338867358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57522130012512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:39:32.900694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/38/image_21022025_17_38_55_10350.jpg', '/home/pi/Desktop/images/21022025/17/38/image_21022025_17_39_05_9358.jpg', '/home/pi/Desktop/images/21022025/17/39/image_21022025_17_39_25_9513.jpg', '/home/pi/Desktop/images/21022025/17/39/image_21022025_17_39_35_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/38/image_21022025_17_38_55_10350.jpg
/home/pi/Desktop/images/21022025/17/38/image_21022025_17_39_05_9358.jpg
/home/pi/Desktop/images/21022025/17/39/image_21022025_17_39_25_9513.jpg
/home/pi/Desktop/images/21022025/17/39/image_21022025_17_39_35_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338867412","1338867387","1338867405","1338867392"],"photo_ids_order":["1338867387","1338867392","1338867405","1338867412"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3b98a70a4a8bcc6a560a72fde4ab3313.jpg","text":"TemporaryFile(/tmp/multipartBody2949972403594819596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156033346,"filename":"image_21022025_17_39_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1908a0e71f6a948739f3f2cf26327fdc.jpg","text":"TemporaryFile(/tmp/multipartBody8087787071202474516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156033346,"filename":"image_21022025_17_38_55_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b52f2478705a2d8a49a945946556079d.jpg","text":"TemporaryFile(/tmp/multipartBody2758123630830313301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156033346,"filename":"image_21022025_17_39_25_9513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0959466f64c822edb5bb8e23c64ff2d8.jpg","text":"TemporaryFile(/tmp/multipartBody8290679070184264731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156033346,"filename":"image_21022025_17_39_05_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338867405","file1":"1338867392","file0":"1338867387","file3":"1338867412"},"map_files_photo_id_array":[{"photo_id":"1338867405","filename":"file2"},{"photo_id":"1338867392","filename":"file1"},{"photo_id":"1338867387","filename":"file0"},{"photo_id":"1338867412","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338867412":["hashtag1","hashtag2"]},{"1338867387":["hashtag1","hashtag2"]},{"1338867405":["hashtag1","hashtag2"]},{"1338867392":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338867412, 1338867387, 1338867405, 1338867392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.879813194274902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:40:03.691107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/02/image_20022025_18_03_06_9354.jpg', '/home/pi/Desktop/images/20022025/18/03/image_20022025_18_03_16_10328.jpg', '/home/pi/Desktop/images/20022025/18/03/image_20022025_18_03_26_10343.jpg', '/home/pi/Desktop/images/20022025/18/03/image_20022025_18_03_36_9345.jpg', '/home/pi/Desktop/images/20022025/18/03/image_20022025_18_03_46_10341.jpg', '/home/pi/Desktop/images/20022025/18/03/image_20022025_18_03_56_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/02/image_20022025_18_03_06_9354.jpg
/home/pi/Desktop/images/20022025/18/03/image_20022025_18_03_16_10328.jpg
/home/pi/Desktop/images/20022025/18/03/image_20022025_18_03_26_10343.jpg
/home/pi/Desktop/images/20022025/18/03/image_20022025_18_03_36_9345.jpg
/home/pi/Desktop/images/20022025/18/03/image_20022025_18_03_46_10341.jpg
/home/pi/Desktop/images/20022025/18/03/image_20022025_18_03_56_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338867431","1338867433","1338867427","1338867435","1338867429","1338867438"],"photo_ids_order":["1338867427","1338867429","1338867431","1338867433","1338867435","1338867438"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1b7a039935e972c80016412a7c33828.jpg","text":"TemporaryFile(/tmp/multipartBody4764061435495719225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156065060,"filename":"image_20022025_18_03_26_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a0c3526b2559de95ee6f703153efd927.jpg","text":"TemporaryFile(/tmp/multipartBody8795940652620036720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156065060,"filename":"image_20022025_18_03_36_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bc1425f919e37cf5086b5154adb09dce.jpg","text":"TemporaryFile(/tmp/multipartBody5600688711248164409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156065060,"filename":"image_20022025_18_03_06_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fdfa129874d8b096aa3d901d2ad450ad.jpg","text":"TemporaryFile(/tmp/multipartBody4430854333661364145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156065060,"filename":"image_20022025_18_03_46_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/369dc5c569c6489c053d2c9c90d9dfe9.jpg","text":"TemporaryFile(/tmp/multipartBody7259366868897432418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156065060,"filename":"image_20022025_18_03_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bb709ff446f89cc1bbbc7ca10642fac5.jpg","text":"TemporaryFile(/tmp/multipartBody741983906049261623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156065060,"filename":"image_20022025_18_03_56_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338867431","file1":"1338867429","file0":"1338867427","file4":"1338867435","file5":"1338867438","file3":"1338867433"},"map_files_photo_id_array":[{"photo_id":"1338867438","filename":"file5"},{"photo_id":"1338867431","filename":"file2"},{"photo_id":"1338867435","filename":"file4"},{"photo_id":"1338867429","filename":"file1"},{"photo_id":"1338867427","filename":"file0"},{"photo_id":"1338867433","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338867431":["hashtag1","hashtag2"]},{"1338867433":["hashtag1","hashtag2"]},{"1338867427":["hashtag1","hashtag2"]},{"1338867435":["hashtag1","hashtag2"]},{"1338867429":["hashtag1","hashtag2"]},{"1338867438":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338867431, 1338867433, 1338867427, 1338867435, 1338867429, 1338867438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.67962837219238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:40:53.033503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/39/image_21022025_17_39_55_9433.jpg', '/home/pi/Desktop/images/21022025/17/39/image_21022025_17_40_05_10365.jpg', '/home/pi/Desktop/images/21022025/17/40/image_21022025_17_40_15_9410.jpg', '/home/pi/Desktop/images/21022025/17/40/image_21022025_17_40_45_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/39/image_21022025_17_39_55_9433.jpg
/home/pi/Desktop/images/21022025/17/39/image_21022025_17_40_05_10365.jpg
/home/pi/Desktop/images/21022025/17/40/image_21022025_17_40_15_9410.jpg
/home/pi/Desktop/images/21022025/17/40/image_21022025_17_40_45_9375.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338867490","1338867493","1338867487","1338867496"],"photo_ids_order":["1338867487","1338867490","1338867493","1338867496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/26c26b5aeb291ab906197e93fb80734d.jpg","text":"TemporaryFile(/tmp/multipartBody3035232130836166635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156113474,"filename":"image_21022025_17_40_05_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a45044e9422dab2d5dd5811d9346298d.jpg","text":"TemporaryFile(/tmp/multipartBody8000416269810216690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156113474,"filename":"image_21022025_17_40_15_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/148f5b70483cd6250bc3840ec156e006.jpg","text":"TemporaryFile(/tmp/multipartBody5210190564846012992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156113474,"filename":"image_21022025_17_39_55_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a792ca68fcc4c5b90d1f5bad52ed5868.jpg","text":"TemporaryFile(/tmp/multipartBody905124934701973109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156113474,"filename":"image_21022025_17_40_45_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338867493","file1":"1338867490","file0":"1338867487","file3":"1338867496"},"map_files_photo_id_array":[{"photo_id":"1338867493","filename":"file2"},{"photo_id":"1338867490","filename":"file1"},{"photo_id":"1338867487","filename":"file0"},{"photo_id":"1338867496","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338867490":["hashtag1","hashtag2"]},{"1338867493":["hashtag1","hashtag2"]},{"1338867487":["hashtag1","hashtag2"]},{"1338867496":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338867490, 1338867493, 1338867487, 1338867496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.444122791290283 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:41:32.281468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/40/image_21022025_17_40_55_10358.jpg', '/home/pi/Desktop/images/21022025/17/41/image_21022025_17_41_25_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/40/image_21022025_17_40_55_10358.jpg
/home/pi/Desktop/images/21022025/17/41/image_21022025_17_41_25_10349.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338867505","1338867510"],"photo_ids_order":["1338867505","1338867510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f6b58ee2fca4e17c8a9702af23e02b19.jpg","text":"TemporaryFile(/tmp/multipartBody1821455516939761444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156152705,"filename":"image_21022025_17_40_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/587710559fa721096f706f59788fd157.jpg","text":"TemporaryFile(/tmp/multipartBody3442405497084389115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156152705,"filename":"image_21022025_17_41_25_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338867510","file0":"1338867505"},"map_files_photo_id_array":[{"photo_id":"1338867510","filename":"file1"},{"photo_id":"1338867505","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338867505":["hashtag1","hashtag2"]},{"1338867510":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338867505, 1338867510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.82664680480957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:41:52.280030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/03/image_20022025_18_04_06_9426.jpg', '/home/pi/Desktop/images/20022025/18/04/image_20022025_18_04_26_9410.jpg', '/home/pi/Desktop/images/20022025/18/04/image_20022025_18_04_36_10339.jpg', '/home/pi/Desktop/images/20022025/18/04/image_20022025_18_04_46_10338.jpg', '/home/pi/Desktop/images/20022025/18/04/image_20022025_18_04_56_9346.jpg', '/home/pi/Desktop/images/20022025/18/04/image_20022025_18_05_06_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/03/image_20022025_18_04_06_9426.jpg
/home/pi/Desktop/images/20022025/18/04/image_20022025_18_04_26_9410.jpg
/home/pi/Desktop/images/20022025/18/04/image_20022025_18_04_36_10339.jpg
/home/pi/Desktop/images/20022025/18/04/image_20022025_18_04_46_10338.jpg
/home/pi/Desktop/images/20022025/18/04/image_20022025_18_04_56_9346.jpg
/home/pi/Desktop/images/20022025/18/04/image_20022025_18_05_06_10331.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338867533","1338867527","1338867523","1338867532","1338867534","1338867519"],"photo_ids_order":["1338867519","1338867523","1338867527","1338867532","1338867533","1338867534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a7107fe1135ba25b3a9dda2a1b00874a.jpg","text":"TemporaryFile(/tmp/multipartBody2919741421129611456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156174397,"filename":"image_20022025_18_04_56_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0d7d0820ce65b6c36e038c0b95de832a.jpg","text":"TemporaryFile(/tmp/multipartBody5141004184268001741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156174397,"filename":"image_20022025_18_04_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/da5cb813be126da5caa55fb25330604c.jpg","text":"TemporaryFile(/tmp/multipartBody7831307157414918995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156174397,"filename":"image_20022025_18_04_26_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/889709947783835f66de332051df64d6.jpg","text":"TemporaryFile(/tmp/multipartBody8816353705734470178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156174397,"filename":"image_20022025_18_04_46_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4c16894130a0d31a784127e20bdc6892.jpg","text":"TemporaryFile(/tmp/multipartBody6524379811317714275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156174397,"filename":"image_20022025_18_05_06_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e66e738d5e16db988cc90d15cb49badb.jpg","text":"TemporaryFile(/tmp/multipartBody7689119850243313997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156174397,"filename":"image_20022025_18_04_06_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338867527","file1":"1338867523","file0":"1338867519","file4":"1338867533","file5":"1338867534","file3":"1338867532"},"map_files_photo_id_array":[{"photo_id":"1338867534","filename":"file5"},{"photo_id":"1338867527","filename":"file2"},{"photo_id":"1338867533","filename":"file4"},{"photo_id":"1338867523","filename":"file1"},{"photo_id":"1338867519","filename":"file0"},{"photo_id":"1338867532","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338867533":["hashtag1","hashtag2"]},{"1338867527":["hashtag1","hashtag2"]},{"1338867523":["hashtag1","hashtag2"]},{"1338867532":["hashtag1","hashtag2"]},{"1338867534":["hashtag1","hashtag2"]},{"1338867519":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338867533, 1338867527, 1338867523, 1338867532, 1338867534, 1338867519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42080903053284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:42:32.577405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/41/image_21022025_17_41_55_10344.jpg', '/home/pi/Desktop/images/21022025/17/42/image_21022025_17_42_15_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/41/image_21022025_17_41_55_10344.jpg
/home/pi/Desktop/images/21022025/17/42/image_21022025_17_42_15_10351.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338867551","1338867541"],"photo_ids_order":["1338867541","1338867551"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9232e379986ead4e50bfd4437843300f.jpg","text":"TemporaryFile(/tmp/multipartBody5009610984042788267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156213000,"filename":"image_21022025_17_42_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/49d390974ea525a3200233f0ccfc9232.jpg","text":"TemporaryFile(/tmp/multipartBody2683824054076597792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156213000,"filename":"image_21022025_17_41_55_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338867551","file0":"1338867541"},"map_files_photo_id_array":[{"photo_id":"1338867551","filename":"file1"},{"photo_id":"1338867541","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338867551":["hashtag1","hashtag2"]},{"1338867541":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338867551, 1338867541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.227524280548096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:42:52.492147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/05/image_20022025_18_05_16_10355.jpg', '/home/pi/Desktop/images/20022025/18/05/image_20022025_18_05_56_10358.jpg', '/home/pi/Desktop/images/20022025/18/05/image_20022025_18_06_06_10332.jpg', '/home/pi/Desktop/images/20022025/18/06/image_20022025_18_06_15_9416.jpg', '/home/pi/Desktop/images/20022025/18/06/image_20022025_18_06_26_10327.jpg', '/home/pi/Desktop/images/20022025/18/06/image_20022025_18_06_36_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/05/image_20022025_18_05_16_10355.jpg
/home/pi/Desktop/images/20022025/18/05/image_20022025_18_05_56_10358.jpg
/home/pi/Desktop/images/20022025/18/05/image_20022025_18_06_06_10332.jpg
/home/pi/Desktop/images/20022025/18/06/image_20022025_18_06_15_9416.jpg
/home/pi/Desktop/images/20022025/18/06/image_20022025_18_06_26_10327.jpg
/home/pi/Desktop/images/20022025/18/06/image_20022025_18_06_36_10331.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338867592","1338867586","1338867571","1338867589","1338867575","1338867578"],"photo_ids_order":["1338867571","1338867575","1338867578","1338867586","1338867589","1338867592"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/46fb3bdcd4efce3a896ebaacb015c8c8.jpg","text":"TemporaryFile(/tmp/multipartBody588328555665539663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156234594,"filename":"image_20022025_18_06_36_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0ef67e52d9e346d4c4289c02392ec681.jpg","text":"TemporaryFile(/tmp/multipartBody3816361024797688644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156234594,"filename":"image_20022025_18_06_15_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/958ac32dd5ee0cf580d23edb05df97f7.jpg","text":"TemporaryFile(/tmp/multipartBody3448814517437463984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156234594,"filename":"image_20022025_18_05_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/747730d03a98e4adfa3d0c007e1d0ebf.jpg","text":"TemporaryFile(/tmp/multipartBody1694845997256378478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156234594,"filename":"image_20022025_18_06_26_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ec085865aa3467a97405bd46c4462ecd.jpg","text":"TemporaryFile(/tmp/multipartBody4075933871911941812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156234594,"filename":"image_20022025_18_05_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4317136d261c6dd9ed537275858660fc.jpg","text":"TemporaryFile(/tmp/multipartBody5834110921361517768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156234594,"filename":"image_20022025_18_06_06_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338867578","file1":"1338867575","file0":"1338867571","file4":"1338867589","file5":"1338867592","file3":"1338867586"},"map_files_photo_id_array":[{"photo_id":"1338867592","filename":"file5"},{"photo_id":"1338867578","filename":"file2"},{"photo_id":"1338867589","filename":"file4"},{"photo_id":"1338867575","filename":"file1"},{"photo_id":"1338867571","filename":"file0"},{"photo_id":"1338867586","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338867592":["hashtag1","hashtag2"]},{"1338867586":["hashtag1","hashtag2"]},{"1338867571":["hashtag1","hashtag2"]},{"1338867589":["hashtag1","hashtag2"]},{"1338867575":["hashtag1","hashtag2"]},{"1338867578":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338867592, 1338867586, 1338867571, 1338867589, 1338867575, 1338867578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.35956025123596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:43:32.927159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/06/image_20022025_18_06_46_9375.jpg', '/home/pi/Desktop/images/20022025/18/06/image_20022025_18_06_56_10365.jpg', '/home/pi/Desktop/images/20022025/18/06/image_20022025_18_07_06_10339.jpg', '/home/pi/Desktop/images/20022025/18/07/image_20022025_18_07_16_9389.jpg', '/home/pi/Desktop/images/20022025/18/07/image_20022025_18_07_26_10347.jpg', '/home/pi/Desktop/images/20022025/18/07/image_20022025_18_07_36_10307.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/06/image_20022025_18_06_46_9375.jpg
/home/pi/Desktop/images/20022025/18/06/image_20022025_18_06_56_10365.jpg
/home/pi/Desktop/images/20022025/18/06/image_20022025_18_07_06_10339.jpg
/home/pi/Desktop/images/20022025/18/07/image_20022025_18_07_16_9389.jpg
/home/pi/Desktop/images/20022025/18/07/image_20022025_18_07_26_10347.jpg
/home/pi/Desktop/images/20022025/18/07/image_20022025_18_07_36_10307.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338867632","1338867620","1338867628","1338867622","1338867625","1338867618"],"photo_ids_order":["1338867618","1338867620","1338867622","1338867625","1338867628","1338867632"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/27d34467698ed6e02fec7eb4de67fbf5.jpg","text":"TemporaryFile(/tmp/multipartBody7657383193942318357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156275051,"filename":"image_20022025_18_07_36_10307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2c4b3ee16c916e86ce5a6940dc850e1f.jpg","text":"TemporaryFile(/tmp/multipartBody8598603672138799026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156275051,"filename":"image_20022025_18_06_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b5db548ea8b5ed30e19c1f44f665b1d5.jpg","text":"TemporaryFile(/tmp/multipartBody4907373893015436078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156275051,"filename":"image_20022025_18_07_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fb90c107e5e50f50b2aac139cfa3663b.jpg","text":"TemporaryFile(/tmp/multipartBody4841720930919425053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156275051,"filename":"image_20022025_18_07_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ca798212ed7dc79c5bc4cf11f84f3c1f.jpg","text":"TemporaryFile(/tmp/multipartBody5032419772076873749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156275051,"filename":"image_20022025_18_07_16_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/86d3615ab70a3e23e74c70502c54d9cd.jpg","text":"TemporaryFile(/tmp/multipartBody8751407683333070647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156275051,"filename":"image_20022025_18_06_46_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338867622","file1":"1338867620","file0":"1338867618","file4":"1338867628","file5":"1338867632","file3":"1338867625"},"map_files_photo_id_array":[{"photo_id":"1338867632","filename":"file5"},{"photo_id":"1338867622","filename":"file2"},{"photo_id":"1338867628","filename":"file4"},{"photo_id":"1338867620","filename":"file1"},{"photo_id":"1338867618","filename":"file0"},{"photo_id":"1338867625","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338867632":["hashtag1","hashtag2"]},{"1338867620":["hashtag1","hashtag2"]},{"1338867628":["hashtag1","hashtag2"]},{"1338867622":["hashtag1","hashtag2"]},{"1338867625":["hashtag1","hashtag2"]},{"1338867618":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338867632, 1338867620, 1338867628, 1338867622, 1338867625, 1338867618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56868267059326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:44:32.962483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/42/image_21022025_17_42_55_9421.jpg', '/home/pi/Desktop/images/21022025/17/44/image_21022025_17_44_15_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/42/image_21022025_17_42_55_9421.jpg
/home/pi/Desktop/images/21022025/17/44/image_21022025_17_44_15_9334.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338867681","1338867677"],"photo_ids_order":["1338867677","1338867681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c97f7a29af1f31ee395f782625630795.jpg","text":"TemporaryFile(/tmp/multipartBody4656934882491321476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156333392,"filename":"image_21022025_17_44_15_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23525177497f407899515e71f1aa6eb0.jpg","text":"TemporaryFile(/tmp/multipartBody7124029885147413827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156333392,"filename":"image_21022025_17_42_55_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338867681","file0":"1338867677"},"map_files_photo_id_array":[{"photo_id":"1338867681","filename":"file1"},{"photo_id":"1338867677","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338867681":["hashtag1","hashtag2"]},{"1338867677":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338867681, 1338867677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.342248916625977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:44:52.994903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/07/image_20022025_18_07_46_9333.jpg', '/home/pi/Desktop/images/20022025/18/07/image_20022025_18_08_06_10342.jpg', '/home/pi/Desktop/images/20022025/18/08/image_20022025_18_08_16_9387.jpg', '/home/pi/Desktop/images/20022025/18/08/image_20022025_18_08_26_10357.jpg', '/home/pi/Desktop/images/20022025/18/08/image_20022025_18_08_46_10389.jpg', '/home/pi/Desktop/images/20022025/18/08/image_20022025_18_08_56_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/07/image_20022025_18_07_46_9333.jpg
/home/pi/Desktop/images/20022025/18/07/image_20022025_18_08_06_10342.jpg
/home/pi/Desktop/images/20022025/18/08/image_20022025_18_08_16_9387.jpg
/home/pi/Desktop/images/20022025/18/08/image_20022025_18_08_26_10357.jpg
/home/pi/Desktop/images/20022025/18/08/image_20022025_18_08_46_10389.jpg
/home/pi/Desktop/images/20022025/18/08/image_20022025_18_08_56_10347.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338867688","1338867699","1338867687","1338867692","1338867695","1338867689"],"photo_ids_order":["1338867687","1338867688","1338867689","1338867692","1338867695","1338867699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/64d9622ea6c5de9276b4f17f7916831f.jpg","text":"TemporaryFile(/tmp/multipartBody2183818511590791777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156355096,"filename":"image_20022025_18_08_06_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b09131308ab3caa285098300bd44ff4f.jpg","text":"TemporaryFile(/tmp/multipartBody6707495227653655306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156355096,"filename":"image_20022025_18_08_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/07b4b78dbfa9cd60962ddb57bd3d23d3.jpg","text":"TemporaryFile(/tmp/multipartBody3993563764168197166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156355096,"filename":"image_20022025_18_07_46_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c519b506f154ba823d6eb1a4768b5b06.jpg","text":"TemporaryFile(/tmp/multipartBody5622830423209881308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156355096,"filename":"image_20022025_18_08_26_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d0ed8906a089940d2b054d46296cc02.jpg","text":"TemporaryFile(/tmp/multipartBody8455758460513728534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156355096,"filename":"image_20022025_18_08_46_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e18f0aab01e8b31de731e5718f058063.jpg","text":"TemporaryFile(/tmp/multipartBody1924669628272060245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156355096,"filename":"image_20022025_18_08_16_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338867689","file1":"1338867688","file0":"1338867687","file4":"1338867695","file5":"1338867699","file3":"1338867692"},"map_files_photo_id_array":[{"photo_id":"1338867699","filename":"file5"},{"photo_id":"1338867689","filename":"file2"},{"photo_id":"1338867695","filename":"file4"},{"photo_id":"1338867688","filename":"file1"},{"photo_id":"1338867687","filename":"file0"},{"photo_id":"1338867692","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338867688":["hashtag1","hashtag2"]},{"1338867699":["hashtag1","hashtag2"]},{"1338867687":["hashtag1","hashtag2"]},{"1338867692":["hashtag1","hashtag2"]},{"1338867695":["hashtag1","hashtag2"]},{"1338867689":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338867688, 1338867699, 1338867687, 1338867692, 1338867695, 1338867689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.079774618148804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:45:32.352213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/08/image_20022025_18_09_06_9407.jpg', '/home/pi/Desktop/images/20022025/18/09/image_20022025_18_09_16_10417.jpg', '/home/pi/Desktop/images/20022025/18/09/image_20022025_18_09_26_10361.jpg', '/home/pi/Desktop/images/20022025/18/09/image_20022025_18_09_36_9341.jpg', '/home/pi/Desktop/images/20022025/18/09/image_20022025_18_09_56_10355.jpg', '/home/pi/Desktop/images/20022025/18/09/image_20022025_18_10_06_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/08/image_20022025_18_09_06_9407.jpg
/home/pi/Desktop/images/20022025/18/09/image_20022025_18_09_16_10417.jpg
/home/pi/Desktop/images/20022025/18/09/image_20022025_18_09_26_10361.jpg
/home/pi/Desktop/images/20022025/18/09/image_20022025_18_09_36_9341.jpg
/home/pi/Desktop/images/20022025/18/09/image_20022025_18_09_56_10355.jpg
/home/pi/Desktop/images/20022025/18/09/image_20022025_18_10_06_9356.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.02919602394104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:45:42.362248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/08/image_20022025_18_09_06_9407.jpg', '/home/pi/Desktop/images/20022025/18/09/image_20022025_18_09_16_10417.jpg', '/home/pi/Desktop/images/20022025/18/09/image_20022025_18_09_26_10361.jpg', '/home/pi/Desktop/images/20022025/18/09/image_20022025_18_09_36_9341.jpg', '/home/pi/Desktop/images/20022025/18/09/image_20022025_18_09_56_10355.jpg', '/home/pi/Desktop/images/20022025/18/09/image_20022025_18_10_06_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/08/image_20022025_18_09_06_9407.jpg
/home/pi/Desktop/images/20022025/18/09/image_20022025_18_09_16_10417.jpg
/home/pi/Desktop/images/20022025/18/09/image_20022025_18_09_26_10361.jpg
/home/pi/Desktop/images/20022025/18/09/image_20022025_18_09_36_9341.jpg
/home/pi/Desktop/images/20022025/18/09/image_20022025_18_09_56_10355.jpg
/home/pi/Desktop/images/20022025/18/09/image_20022025_18_10_06_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338867824","1338867889","1338868095","1338867999","1338868133","1338867887"],"photo_ids_order":["1338867824","1338867887","1338867889","1338867999","1338868095","1338868133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/994fc70e8ddf2a86455162597d9e6618.jpg","text":"TemporaryFile(/tmp/multipartBody1475339030497081282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156403564,"filename":"image_20022025_18_09_06_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8679aca494568f1ebb412a849c0c64db.jpg","text":"TemporaryFile(/tmp/multipartBody6111291949886768546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156403564,"filename":"image_20022025_18_09_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8a2aba587aa98588c75c13894135890d.jpg","text":"TemporaryFile(/tmp/multipartBody7121062548145014913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156403564,"filename":"image_20022025_18_09_56_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/678aab7ecde9f4b3f6acd2c284f95056.jpg","text":"TemporaryFile(/tmp/multipartBody8447515723356854030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156403564,"filename":"image_20022025_18_09_36_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0c0525c003214d1a9725998531a6f399.jpg","text":"TemporaryFile(/tmp/multipartBody128188490034775031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156403564,"filename":"image_20022025_18_10_06_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/53345d6fcc1ca636a13c83cd9967ec20.jpg","text":"TemporaryFile(/tmp/multipartBody4106372341936368335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156403564,"filename":"image_20022025_18_09_16_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338867889","file1":"1338867887","file0":"1338867824","file4":"1338868095","file5":"1338868133","file3":"1338867999"},"map_files_photo_id_array":[{"photo_id":"1338868133","filename":"file5"},{"photo_id":"1338867889","filename":"file2"},{"photo_id":"1338868095","filename":"file4"},{"photo_id":"1338867887","filename":"file1"},{"photo_id":"1338867824","filename":"file0"},{"photo_id":"1338867999","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338867824":["hashtag1","hashtag2"]},{"1338867889":["hashtag1","hashtag2"]},{"1338868095":["hashtag1","hashtag2"]},{"1338867999":["hashtag1","hashtag2"]},{"1338868133":["hashtag1","hashtag2"]},{"1338867887":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338867824, 1338867889, 1338868095, 1338867999, 1338868133, 1338867887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48544383049011 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:46:32.488909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/44/image_21022025_17_44_35_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/44/image_21022025_17_44_35_10358.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338868517"],"photo_id":"1338868517","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/07232b5cfd34e29549612cc8920cd936.jpg","text":"TemporaryFile(/tmp/multipartBody2972277556494733417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156452910,"filename":"image_21022025_17_44_35_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338868517"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338868517"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.05363130569458 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:46:52.531365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/10/image_20022025_18_10_16_10342.jpg', '/home/pi/Desktop/images/20022025/18/10/image_20022025_18_10_26_9619.jpg', '/home/pi/Desktop/images/20022025/18/10/image_20022025_18_10_36_10326.jpg', '/home/pi/Desktop/images/20022025/18/10/image_20022025_18_10_56_9445.jpg', '/home/pi/Desktop/images/20022025/18/10/image_20022025_18_11_06_10347.jpg', '/home/pi/Desktop/images/20022025/18/11/image_20022025_18_11_16_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/10/image_20022025_18_10_16_10342.jpg
/home/pi/Desktop/images/20022025/18/10/image_20022025_18_10_26_9619.jpg
/home/pi/Desktop/images/20022025/18/10/image_20022025_18_10_36_10326.jpg
/home/pi/Desktop/images/20022025/18/10/image_20022025_18_10_56_9445.jpg
/home/pi/Desktop/images/20022025/18/10/image_20022025_18_11_06_10347.jpg
/home/pi/Desktop/images/20022025/18/11/image_20022025_18_11_16_9443.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338868588","1338868648","1338868587","1338868659","1338868589","1338868643"],"photo_ids_order":["1338868587","1338868588","1338868589","1338868643","1338868648","1338868659"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c07e25413d076445b5250e2b1ea30a1b.jpg","text":"TemporaryFile(/tmp/multipartBody6803158778521654745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156474678,"filename":"image_20022025_18_10_26_9619.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b2a4e898770bac627488c5839ea7495.jpg","text":"TemporaryFile(/tmp/multipartBody1167487136177406817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156474678,"filename":"image_20022025_18_11_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/57f80f0e8fed4a201506e99ac4c31680.jpg","text":"TemporaryFile(/tmp/multipartBody984248374164399631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156474678,"filename":"image_20022025_18_10_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/de20f263cab5c18ff9aa8a94d732af9e.jpg","text":"TemporaryFile(/tmp/multipartBody5145833193690176825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156474678,"filename":"image_20022025_18_11_16_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1c32c8c683e80f2220b1de04d94df558.jpg","text":"TemporaryFile(/tmp/multipartBody456834111767878304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156474678,"filename":"image_20022025_18_10_36_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a5bef7f9aacb1a2a06daf3afe92cb8e.jpg","text":"TemporaryFile(/tmp/multipartBody1133774500348874438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156474678,"filename":"image_20022025_18_10_56_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338868589","file1":"1338868588","file0":"1338868587","file4":"1338868648","file5":"1338868659","file3":"1338868643"},"map_files_photo_id_array":[{"photo_id":"1338868659","filename":"file5"},{"photo_id":"1338868589","filename":"file2"},{"photo_id":"1338868648","filename":"file4"},{"photo_id":"1338868588","filename":"file1"},{"photo_id":"1338868587","filename":"file0"},{"photo_id":"1338868643","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338868588":["hashtag1","hashtag2"]},{"1338868648":["hashtag1","hashtag2"]},{"1338868587":["hashtag1","hashtag2"]},{"1338868659":["hashtag1","hashtag2"]},{"1338868589":["hashtag1","hashtag2"]},{"1338868643":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338868588, 1338868648, 1338868587, 1338868659, 1338868589, 1338868643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28223204612732 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:47:32.771317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/45/image_21022025_17_46_05_9334.jpg', '/home/pi/Desktop/images/21022025/17/47/image_21022025_17_47_35_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/45/image_21022025_17_46_05_9334.jpg
/home/pi/Desktop/images/21022025/17/47/image_21022025_17_47_35_10347.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338868682","1338868685"],"photo_ids_order":["1338868682","1338868685"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/84db4fcb55d18b5d9d23ab6f6d411578.jpg","text":"TemporaryFile(/tmp/multipartBody8408163699318209761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156513197,"filename":"image_21022025_17_46_05_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b688196c8c4f909aca2e3809fd0900cc.jpg","text":"TemporaryFile(/tmp/multipartBody8878119161237956937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156513197,"filename":"image_21022025_17_47_35_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338868685","file0":"1338868682"},"map_files_photo_id_array":[{"photo_id":"1338868685","filename":"file1"},{"photo_id":"1338868682","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338868682":["hashtag1","hashtag2"]},{"1338868685":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338868682, 1338868685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.858733415603638 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:47:52.870857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/11/image_20022025_18_11_36_10362.jpg', '/home/pi/Desktop/images/20022025/18/11/image_20022025_18_11_46_9385.jpg', '/home/pi/Desktop/images/20022025/18/11/image_20022025_18_12_06_10332.jpg', '/home/pi/Desktop/images/20022025/18/12/image_20022025_18_12_16_9426.jpg', '/home/pi/Desktop/images/20022025/18/12/image_20022025_18_12_36_9456.jpg', '/home/pi/Desktop/images/20022025/18/12/image_20022025_18_12_46_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/11/image_20022025_18_11_36_10362.jpg
/home/pi/Desktop/images/20022025/18/11/image_20022025_18_11_46_9385.jpg
/home/pi/Desktop/images/20022025/18/11/image_20022025_18_12_06_10332.jpg
/home/pi/Desktop/images/20022025/18/12/image_20022025_18_12_16_9426.jpg
/home/pi/Desktop/images/20022025/18/12/image_20022025_18_12_36_9456.jpg
/home/pi/Desktop/images/20022025/18/12/image_20022025_18_12_46_10347.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338868712","1338868716","1338868719","1338868704","1338868709","1338868700"],"photo_ids_order":["1338868700","1338868704","1338868709","1338868712","1338868716","1338868719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d565cf07b5065c37752665b575789c2.jpg","text":"TemporaryFile(/tmp/multipartBody2164418929548069669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156534986,"filename":"image_20022025_18_12_16_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/301647cc2ec1eec78fb736811fde597a.jpg","text":"TemporaryFile(/tmp/multipartBody5553254268116456376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156534986,"filename":"image_20022025_18_12_36_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/772477413f2485ff237bcd9324091475.jpg","text":"TemporaryFile(/tmp/multipartBody280511327173995543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156534986,"filename":"image_20022025_18_12_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a52065c9c4c485cd94afe2b3b64f0137.jpg","text":"TemporaryFile(/tmp/multipartBody6409952179806794293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156534986,"filename":"image_20022025_18_11_46_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d0fbbf3a32747702fc667e5b26ae42c6.jpg","text":"TemporaryFile(/tmp/multipartBody2894244980985599171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156534986,"filename":"image_20022025_18_12_06_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/28973d1d17efc7a13fbbb8dae7026ab2.jpg","text":"TemporaryFile(/tmp/multipartBody8402425539980129069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156534986,"filename":"image_20022025_18_11_36_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338868709","file1":"1338868704","file0":"1338868700","file4":"1338868716","file5":"1338868719","file3":"1338868712"},"map_files_photo_id_array":[{"photo_id":"1338868719","filename":"file5"},{"photo_id":"1338868709","filename":"file2"},{"photo_id":"1338868716","filename":"file4"},{"photo_id":"1338868704","filename":"file1"},{"photo_id":"1338868700","filename":"file0"},{"photo_id":"1338868712","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338868712":["hashtag1","hashtag2"]},{"1338868716":["hashtag1","hashtag2"]},{"1338868719":["hashtag1","hashtag2"]},{"1338868704":["hashtag1","hashtag2"]},{"1338868709":["hashtag1","hashtag2"]},{"1338868700":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338868712, 1338868716, 1338868719, 1338868704, 1338868709, 1338868700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75904893875122 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:48:33.091286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/47/image_21022025_17_47_45_10347.jpg', '/home/pi/Desktop/images/21022025/17/48/image_21022025_17_48_15_9436.jpg', '/home/pi/Desktop/images/21022025/17/48/image_21022025_17_48_25_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/47/image_21022025_17_47_45_10347.jpg
/home/pi/Desktop/images/21022025/17/48/image_21022025_17_48_15_9436.jpg
/home/pi/Desktop/images/21022025/17/48/image_21022025_17_48_25_10352.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338868726","1338868729","1338868724"],"photo_ids_order":["1338868724","1338868726","1338868729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0ea4fb8a8275cbbe4e830cbb8bc45172.jpg","text":"TemporaryFile(/tmp/multipartBody131135415792986159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156573531,"filename":"image_21022025_17_48_15_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2466f0e3cf79eb85b2eac5e24bcb3712.jpg","text":"TemporaryFile(/tmp/multipartBody5241606125168251261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156573531,"filename":"image_21022025_17_48_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9df2de3b7c0314ed015b0f0d5e1c14fd.jpg","text":"TemporaryFile(/tmp/multipartBody757160366371139037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156573531,"filename":"image_21022025_17_47_45_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338868729","file1":"1338868726","file0":"1338868724"},"map_files_photo_id_array":[{"photo_id":"1338868729","filename":"file2"},{"photo_id":"1338868726","filename":"file1"},{"photo_id":"1338868724","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338868726":["hashtag1","hashtag2"]},{"1338868729":["hashtag1","hashtag2"]},{"1338868724":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338868726, 1338868729, 1338868724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.659643411636353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:48:53.046015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/12/image_20022025_18_12_56_10352.jpg', '/home/pi/Desktop/images/20022025/18/12/image_20022025_18_13_06_9416.jpg', '/home/pi/Desktop/images/20022025/18/13/image_20022025_18_13_26_10351.jpg', '/home/pi/Desktop/images/20022025/18/13/image_20022025_18_14_06_10354.jpg', '/home/pi/Desktop/images/20022025/18/14/image_20022025_18_14_36_10352.jpg', '/home/pi/Desktop/images/20022025/18/14/image_20022025_18_14_46_10322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/12/image_20022025_18_12_56_10352.jpg
/home/pi/Desktop/images/20022025/18/12/image_20022025_18_13_06_9416.jpg
/home/pi/Desktop/images/20022025/18/13/image_20022025_18_13_26_10351.jpg
/home/pi/Desktop/images/20022025/18/13/image_20022025_18_14_06_10354.jpg
/home/pi/Desktop/images/20022025/18/14/image_20022025_18_14_36_10352.jpg
/home/pi/Desktop/images/20022025/18/14/image_20022025_18_14_46_10322.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338868744","1338868735","1338868740","1338868737","1338868751","1338868748"],"photo_ids_order":["1338868735","1338868737","1338868740","1338868744","1338868748","1338868751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8156074d299c1e7e0c3b62aa5543df7a.jpg","text":"TemporaryFile(/tmp/multipartBody4811456805513668757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156595167,"filename":"image_20022025_18_14_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8a74cdb758a48195e3daff9e70559f64.jpg","text":"TemporaryFile(/tmp/multipartBody8521104972616301982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156595167,"filename":"image_20022025_18_12_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/922bb8e2ff54a458f8464775ee28d465.jpg","text":"TemporaryFile(/tmp/multipartBody7535225793219528267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156595167,"filename":"image_20022025_18_13_26_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a5488214c96a96ade43d51923f3c784c.jpg","text":"TemporaryFile(/tmp/multipartBody2064227596570748582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156595167,"filename":"image_20022025_18_13_06_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd2b117b161d280846441274c701d7d1.jpg","text":"TemporaryFile(/tmp/multipartBody4940449189848539110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156595167,"filename":"image_20022025_18_14_46_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c80a66c74b4b5ba29e4c9a02c52189d.jpg","text":"TemporaryFile(/tmp/multipartBody3158873756632687793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156595167,"filename":"image_20022025_18_14_36_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338868740","file1":"1338868737","file0":"1338868735","file4":"1338868748","file5":"1338868751","file3":"1338868744"},"map_files_photo_id_array":[{"photo_id":"1338868751","filename":"file5"},{"photo_id":"1338868740","filename":"file2"},{"photo_id":"1338868748","filename":"file4"},{"photo_id":"1338868737","filename":"file1"},{"photo_id":"1338868735","filename":"file0"},{"photo_id":"1338868744","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338868744":["hashtag1","hashtag2"]},{"1338868735":["hashtag1","hashtag2"]},{"1338868740":["hashtag1","hashtag2"]},{"1338868737":["hashtag1","hashtag2"]},{"1338868751":["hashtag1","hashtag2"]},{"1338868748":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338868744, 1338868735, 1338868740, 1338868737, 1338868751, 1338868748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.071706771850586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:49:32.373227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/48/image_21022025_17_48_35_10386.jpg', '/home/pi/Desktop/images/21022025/17/49/image_21022025_17_49_35_9355.jpg', '/home/pi/Desktop/images/21022025/17/49/image_21022025_17_49_45_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/48/image_21022025_17_48_35_10386.jpg
/home/pi/Desktop/images/21022025/17/49/image_21022025_17_49_35_9355.jpg
/home/pi/Desktop/images/21022025/17/49/image_21022025_17_49_45_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338868761","1338868763","1338868757"],"photo_ids_order":["1338868757","1338868761","1338868763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/64f7bf4668fc67f1679edf84a1e016d5.jpg","text":"TemporaryFile(/tmp/multipartBody4683128007178185987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156632816,"filename":"image_21022025_17_49_35_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be27a315d38004e0635a22ac5bbae3d7.jpg","text":"TemporaryFile(/tmp/multipartBody7956049527710895095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156632816,"filename":"image_21022025_17_49_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/690dedc2039fbf097132c6443104bc96.jpg","text":"TemporaryFile(/tmp/multipartBody6774994793440493026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156632816,"filename":"image_21022025_17_48_35_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338868763","file1":"1338868761","file0":"1338868757"},"map_files_photo_id_array":[{"photo_id":"1338868763","filename":"file2"},{"photo_id":"1338868761","filename":"file1"},{"photo_id":"1338868757","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338868761":["hashtag1","hashtag2"]},{"1338868763":["hashtag1","hashtag2"]},{"1338868757":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338868761, 1338868763, 1338868757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.91602349281311 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:50:03.188836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/14/image_20022025_18_15_06_10327.jpg', '/home/pi/Desktop/images/20022025/18/15/image_20022025_18_15_26_9427.jpg', '/home/pi/Desktop/images/20022025/18/15/image_20022025_18_15_36_10353.jpg', '/home/pi/Desktop/images/20022025/18/15/image_20022025_18_15_45_9325.jpg', '/home/pi/Desktop/images/20022025/18/15/image_20022025_18_15_56_10414.jpg', '/home/pi/Desktop/images/20022025/18/15/image_20022025_18_16_06_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/14/image_20022025_18_15_06_10327.jpg
/home/pi/Desktop/images/20022025/18/15/image_20022025_18_15_26_9427.jpg
/home/pi/Desktop/images/20022025/18/15/image_20022025_18_15_36_10353.jpg
/home/pi/Desktop/images/20022025/18/15/image_20022025_18_15_45_9325.jpg
/home/pi/Desktop/images/20022025/18/15/image_20022025_18_15_56_10414.jpg
/home/pi/Desktop/images/20022025/18/15/image_20022025_18_16_06_10451.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338868795","1338868789","1338868797","1338868784","1338868793","1338868792"],"photo_ids_order":["1338868784","1338868789","1338868792","1338868793","1338868795","1338868797"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4abf647b1e48a852129566320e51bb89.jpg","text":"TemporaryFile(/tmp/multipartBody6220795674492253079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156664614,"filename":"image_20022025_18_15_56_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1a15f79ba211ed65417a3633f6915f1e.jpg","text":"TemporaryFile(/tmp/multipartBody4019609347632770432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156664614,"filename":"image_20022025_18_15_26_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b6a39e21b191b04c62bd8b8907cf7f24.jpg","text":"TemporaryFile(/tmp/multipartBody971246329232348033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156664614,"filename":"image_20022025_18_16_06_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/76adad523526b5239136a6929127f291.jpg","text":"TemporaryFile(/tmp/multipartBody6544682275979593856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156664614,"filename":"image_20022025_18_15_06_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/da1956621fc22ff2ac4ad847ff6be54a.jpg","text":"TemporaryFile(/tmp/multipartBody588226536055835561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156664614,"filename":"image_20022025_18_15_45_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/687419675dd064b396f5e6f5e26f750e.jpg","text":"TemporaryFile(/tmp/multipartBody868264752536931075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156664614,"filename":"image_20022025_18_15_36_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338868792","file1":"1338868789","file0":"1338868784","file4":"1338868795","file5":"1338868797","file3":"1338868793"},"map_files_photo_id_array":[{"photo_id":"1338868797","filename":"file5"},{"photo_id":"1338868792","filename":"file2"},{"photo_id":"1338868795","filename":"file4"},{"photo_id":"1338868789","filename":"file1"},{"photo_id":"1338868784","filename":"file0"},{"photo_id":"1338868793","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338868795":["hashtag1","hashtag2"]},{"1338868789":["hashtag1","hashtag2"]},{"1338868797":["hashtag1","hashtag2"]},{"1338868784":["hashtag1","hashtag2"]},{"1338868793":["hashtag1","hashtag2"]},{"1338868792":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338868795, 1338868789, 1338868797, 1338868784, 1338868793, 1338868792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53101420402527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:50:42.598337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/49/image_21022025_17_49_55_10389.jpg', '/home/pi/Desktop/images/21022025/17/50/image_21022025_17_50_15_10362.jpg', '/home/pi/Desktop/images/21022025/17/50/image_21022025_17_50_25_10358.jpg', '/home/pi/Desktop/images/21022025/17/50/image_21022025_17_50_35_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/49/image_21022025_17_49_55_10389.jpg
/home/pi/Desktop/images/21022025/17/50/image_21022025_17_50_15_10362.jpg
/home/pi/Desktop/images/21022025/17/50/image_21022025_17_50_25_10358.jpg
/home/pi/Desktop/images/21022025/17/50/image_21022025_17_50_35_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338868811","1338868806","1338868809","1338868814"],"photo_ids_order":["1338868806","1338868809","1338868811","1338868814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e5611205c1221fc5515c0173d4f99b86.jpg","text":"TemporaryFile(/tmp/multipartBody2337873837867379709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156703044,"filename":"image_21022025_17_50_25_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d4969e39090744ef03731aa00522937b.jpg","text":"TemporaryFile(/tmp/multipartBody2224567894717753310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156703044,"filename":"image_21022025_17_49_55_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1bf375b217f42d91f5899aba7f27516a.jpg","text":"TemporaryFile(/tmp/multipartBody1527221655948237978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156703044,"filename":"image_21022025_17_50_15_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3385117078ed27bc060d269f67b7c6d0.jpg","text":"TemporaryFile(/tmp/multipartBody8223913141184120815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156703044,"filename":"image_21022025_17_50_35_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338868811","file1":"1338868809","file0":"1338868806","file3":"1338868814"},"map_files_photo_id_array":[{"photo_id":"1338868811","filename":"file2"},{"photo_id":"1338868809","filename":"file1"},{"photo_id":"1338868806","filename":"file0"},{"photo_id":"1338868814","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338868811":["hashtag1","hashtag2"]},{"1338868806":["hashtag1","hashtag2"]},{"1338868809":["hashtag1","hashtag2"]},{"1338868814":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338868811, 1338868806, 1338868809, 1338868814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.813599586486816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:51:32.773491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/16/image_20022025_18_16_26_10426.jpg', '/home/pi/Desktop/images/20022025/18/16/image_20022025_18_16_36_9391.jpg', '/home/pi/Desktop/images/20022025/18/16/image_20022025_18_16_46_10339.jpg', '/home/pi/Desktop/images/20022025/18/16/image_20022025_18_16_56_10381.jpg', '/home/pi/Desktop/images/20022025/18/16/image_20022025_18_17_06_9411.jpg', '/home/pi/Desktop/images/20022025/18/17/image_20022025_18_17_16_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/16/image_20022025_18_16_26_10426.jpg
/home/pi/Desktop/images/20022025/18/16/image_20022025_18_16_36_9391.jpg
/home/pi/Desktop/images/20022025/18/16/image_20022025_18_16_46_10339.jpg
/home/pi/Desktop/images/20022025/18/16/image_20022025_18_16_56_10381.jpg
/home/pi/Desktop/images/20022025/18/16/image_20022025_18_17_06_9411.jpg
/home/pi/Desktop/images/20022025/18/17/image_20022025_18_17_16_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338868878","1338868893","1338868914","1338868902","1338868905","1338868908"],"photo_ids_order":["1338868878","1338868893","1338868902","1338868905","1338868908","1338868914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8ff7d52b85f94ae488edd6df351b106.jpg","text":"TemporaryFile(/tmp/multipartBody3922324292714876954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156754883,"filename":"image_20022025_18_16_26_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d98dc8bb71678d9cf2c4bd2c8718b7d2.jpg","text":"TemporaryFile(/tmp/multipartBody1532379637793453899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156754883,"filename":"image_20022025_18_16_36_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c687ade85175e09e0b9dc7b7a87f0bc1.jpg","text":"TemporaryFile(/tmp/multipartBody8984785950475624236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156754883,"filename":"image_20022025_18_17_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/71af25ae8252854e385f53cb845987ed.jpg","text":"TemporaryFile(/tmp/multipartBody8460422054968729901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156754883,"filename":"image_20022025_18_16_46_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/98eb6fe98b0f962b6dc6bb51c9037c4c.jpg","text":"TemporaryFile(/tmp/multipartBody8387689262388785658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156754883,"filename":"image_20022025_18_16_56_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e3b5fb402540ea753e89ec3f33a5773b.jpg","text":"TemporaryFile(/tmp/multipartBody62354022444597093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156754883,"filename":"image_20022025_18_17_06_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338868902","file1":"1338868893","file0":"1338868878","file4":"1338868908","file5":"1338868914","file3":"1338868905"},"map_files_photo_id_array":[{"photo_id":"1338868914","filename":"file5"},{"photo_id":"1338868902","filename":"file2"},{"photo_id":"1338868908","filename":"file4"},{"photo_id":"1338868893","filename":"file1"},{"photo_id":"1338868878","filename":"file0"},{"photo_id":"1338868905","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338868878":["hashtag1","hashtag2"]},{"1338868893":["hashtag1","hashtag2"]},{"1338868914":["hashtag1","hashtag2"]},{"1338868902":["hashtag1","hashtag2"]},{"1338868905":["hashtag1","hashtag2"]},{"1338868908":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338868878, 1338868893, 1338868914, 1338868902, 1338868905, 1338868908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10809564590454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:52:33.079998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/50/image_21022025_17_50_45_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/50/image_21022025_17_50_45_10444.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338869000"],"photo_id":"1338869000","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c7f8d20000e6c6623d4a660116016b51.jpg","text":"TemporaryFile(/tmp/multipartBody1109862124167966426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156813497,"filename":"image_21022025_17_50_45_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338869000"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338869000"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.276988983154297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:52:53.097464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/17/image_20022025_18_17_26_10365.jpg', '/home/pi/Desktop/images/20022025/18/17/image_20022025_18_17_36_9422.jpg', '/home/pi/Desktop/images/20022025/18/17/image_20022025_18_17_46_10348.jpg', '/home/pi/Desktop/images/20022025/18/17/image_20022025_18_17_56_9458.jpg', '/home/pi/Desktop/images/20022025/18/18/image_20022025_18_18_16_10336.jpg', '/home/pi/Desktop/images/20022025/18/18/image_20022025_18_18_26_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/17/image_20022025_18_17_26_10365.jpg
/home/pi/Desktop/images/20022025/18/17/image_20022025_18_17_36_9422.jpg
/home/pi/Desktop/images/20022025/18/17/image_20022025_18_17_46_10348.jpg
/home/pi/Desktop/images/20022025/18/17/image_20022025_18_17_56_9458.jpg
/home/pi/Desktop/images/20022025/18/18/image_20022025_18_18_16_10336.jpg
/home/pi/Desktop/images/20022025/18/18/image_20022025_18_18_26_9419.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338869149","1338869134","1338869062","1338869060","1338869066","1338869071"],"photo_ids_order":["1338869060","1338869062","1338869066","1338869071","1338869134","1338869149"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a30876a9c0e3721a39cce8fcc1637a8.jpg","text":"TemporaryFile(/tmp/multipartBody897718405081911339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156835198,"filename":"image_20022025_18_18_26_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae1b9a948f2f055c28574b7cf8128a06.jpg","text":"TemporaryFile(/tmp/multipartBody4976295173353129696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156835198,"filename":"image_20022025_18_18_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d90f84e6db1322067215aee8eee0d489.jpg","text":"TemporaryFile(/tmp/multipartBody8223966003160174255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156835198,"filename":"image_20022025_18_17_36_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a6fbe79ec5411fea3a471eb538d5f84.jpg","text":"TemporaryFile(/tmp/multipartBody2516720783019603602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156835198,"filename":"image_20022025_18_17_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/830e21d97af329c22f166a4c3095b729.jpg","text":"TemporaryFile(/tmp/multipartBody4408329796335311567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156835198,"filename":"image_20022025_18_17_46_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bc3ccc2dd0513cff32c1490cb10ced84.jpg","text":"TemporaryFile(/tmp/multipartBody204636226847638572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156835198,"filename":"image_20022025_18_17_56_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338869066","file1":"1338869062","file0":"1338869060","file4":"1338869134","file5":"1338869149","file3":"1338869071"},"map_files_photo_id_array":[{"photo_id":"1338869149","filename":"file5"},{"photo_id":"1338869066","filename":"file2"},{"photo_id":"1338869134","filename":"file4"},{"photo_id":"1338869062","filename":"file1"},{"photo_id":"1338869060","filename":"file0"},{"photo_id":"1338869071","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338869149":["hashtag1","hashtag2"]},{"1338869134":["hashtag1","hashtag2"]},{"1338869062":["hashtag1","hashtag2"]},{"1338869060":["hashtag1","hashtag2"]},{"1338869066":["hashtag1","hashtag2"]},{"1338869071":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338869149, 1338869134, 1338869062, 1338869060, 1338869066, 1338869071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78229069709778 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:53:32.383629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/51/image_21022025_17_52_05_10340.jpg', '/home/pi/Desktop/images/21022025/17/53/image_21022025_17_53_45_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/51/image_21022025_17_52_05_10340.jpg
/home/pi/Desktop/images/21022025/17/53/image_21022025_17_53_45_10365.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338869332","1338869296"],"photo_ids_order":["1338869296","1338869332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c599ae783ccc2d4a4b5d4c109359f6c.jpg","text":"TemporaryFile(/tmp/multipartBody1190334094090965343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156872814,"filename":"image_21022025_17_53_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/de406e54ddade8f097b5f76054967c80.jpg","text":"TemporaryFile(/tmp/multipartBody1989432758377306012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156872814,"filename":"image_21022025_17_52_05_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338869332","file0":"1338869296"},"map_files_photo_id_array":[{"photo_id":"1338869332","filename":"file1"},{"photo_id":"1338869296","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338869332":["hashtag1","hashtag2"]},{"1338869296":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338869332, 1338869296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.719475507736206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:53:52.383822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/18/image_20022025_18_18_56_10456.jpg', '/home/pi/Desktop/images/20022025/18/18/image_20022025_18_19_06_10324.jpg', '/home/pi/Desktop/images/20022025/18/19/image_20022025_18_19_36_10343.jpg', '/home/pi/Desktop/images/20022025/18/19/image_20022025_18_19_46_9331.jpg', '/home/pi/Desktop/images/20022025/18/19/image_20022025_18_19_56_10369.jpg', '/home/pi/Desktop/images/20022025/18/19/image_20022025_18_20_06_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/18/image_20022025_18_18_56_10456.jpg
/home/pi/Desktop/images/20022025/18/18/image_20022025_18_19_06_10324.jpg
/home/pi/Desktop/images/20022025/18/19/image_20022025_18_19_36_10343.jpg
/home/pi/Desktop/images/20022025/18/19/image_20022025_18_19_46_9331.jpg
/home/pi/Desktop/images/20022025/18/19/image_20022025_18_19_56_10369.jpg
/home/pi/Desktop/images/20022025/18/19/image_20022025_18_20_06_9584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338869551","1338869553","1338869556","1338869558","1338869561","1338869476"],"photo_ids_order":["1338869476","1338869551","1338869553","1338869556","1338869558","1338869561"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/388b91649d7dff7601311d45f2db4438.jpg","text":"TemporaryFile(/tmp/multipartBody5603345506859160667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156894511,"filename":"image_20022025_18_19_06_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ba7da515017b5454eaf96944e7b81878.jpg","text":"TemporaryFile(/tmp/multipartBody6569086712152561868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156894511,"filename":"image_20022025_18_19_36_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c986b5fedf8c09316ad0b54b8a37b3e.jpg","text":"TemporaryFile(/tmp/multipartBody9054012315672616179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156894511,"filename":"image_20022025_18_19_46_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/17008aa9b15f27166f8d323531f44803.jpg","text":"TemporaryFile(/tmp/multipartBody4523800361163334860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156894511,"filename":"image_20022025_18_19_56_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d922517de38eaec614f4b9548f244c7.jpg","text":"TemporaryFile(/tmp/multipartBody6735464937543485466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156894511,"filename":"image_20022025_18_20_06_9584.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cea5353dfb69bc1620d8271242f1e86f.jpg","text":"TemporaryFile(/tmp/multipartBody3505314144891859165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156894511,"filename":"image_20022025_18_18_56_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338869553","file1":"1338869551","file0":"1338869476","file4":"1338869558","file5":"1338869561","file3":"1338869556"},"map_files_photo_id_array":[{"photo_id":"1338869561","filename":"file5"},{"photo_id":"1338869553","filename":"file2"},{"photo_id":"1338869558","filename":"file4"},{"photo_id":"1338869551","filename":"file1"},{"photo_id":"1338869476","filename":"file0"},{"photo_id":"1338869556","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338869551":["hashtag1","hashtag2"]},{"1338869553":["hashtag1","hashtag2"]},{"1338869556":["hashtag1","hashtag2"]},{"1338869558":["hashtag1","hashtag2"]},{"1338869561":["hashtag1","hashtag2"]},{"1338869476":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338869551, 1338869553, 1338869556, 1338869558, 1338869561, 1338869476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94575214385986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:54:32.597457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/53/image_21022025_17_53_55_9398.jpg', '/home/pi/Desktop/images/21022025/17/53/image_21022025_17_54_05_10345.jpg', '/home/pi/Desktop/images/21022025/17/54/image_21022025_17_54_15_10356.jpg', '/home/pi/Desktop/images/21022025/17/54/image_21022025_17_54_25_9387.jpg', '/home/pi/Desktop/images/21022025/17/54/image_21022025_17_54_35_10355.jpg', '/home/pi/Desktop/images/21022025/17/54/image_21022025_17_54_45_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/53/image_21022025_17_53_55_9398.jpg
/home/pi/Desktop/images/21022025/17/53/image_21022025_17_54_05_10345.jpg
/home/pi/Desktop/images/21022025/17/54/image_21022025_17_54_15_10356.jpg
/home/pi/Desktop/images/21022025/17/54/image_21022025_17_54_25_9387.jpg
/home/pi/Desktop/images/21022025/17/54/image_21022025_17_54_35_10355.jpg
/home/pi/Desktop/images/21022025/17/54/image_21022025_17_54_45_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338869592","1338869676","1338869597","1338869735","1338869600","1338869581"],"photo_ids_order":["1338869581","1338869592","1338869597","1338869600","1338869676","1338869735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8d7d99de84047b2d9368e869ac77c707.jpg","text":"TemporaryFile(/tmp/multipartBody3791144109356163599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156933073,"filename":"image_21022025_17_54_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1fdf78bd2dc7c4937236073ab86c3cd7.jpg","text":"TemporaryFile(/tmp/multipartBody2495496325342562109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156933073,"filename":"image_21022025_17_54_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/472744c7acf77da31aff9432770813cd.jpg","text":"TemporaryFile(/tmp/multipartBody8691011199239145454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156933073,"filename":"image_21022025_17_54_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bbf3ae668664d51c8350e6ce93fb0fb4.jpg","text":"TemporaryFile(/tmp/multipartBody8076655094584461736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156933073,"filename":"image_21022025_17_54_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6304339d4ceec7160c3a8f76ff828967.jpg","text":"TemporaryFile(/tmp/multipartBody8634619385339593297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156933073,"filename":"image_21022025_17_54_25_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5e64ab5f5e3e671b57e763b91ad98034.jpg","text":"TemporaryFile(/tmp/multipartBody8888340832836213236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156933073,"filename":"image_21022025_17_53_55_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338869597","file1":"1338869592","file0":"1338869581","file4":"1338869676","file5":"1338869735","file3":"1338869600"},"map_files_photo_id_array":[{"photo_id":"1338869735","filename":"file5"},{"photo_id":"1338869597","filename":"file2"},{"photo_id":"1338869676","filename":"file4"},{"photo_id":"1338869592","filename":"file1"},{"photo_id":"1338869581","filename":"file0"},{"photo_id":"1338869600","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338869592":["hashtag1","hashtag2"]},{"1338869676":["hashtag1","hashtag2"]},{"1338869597":["hashtag1","hashtag2"]},{"1338869735":["hashtag1","hashtag2"]},{"1338869600":["hashtag1","hashtag2"]},{"1338869581":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338869592, 1338869676, 1338869597, 1338869735, 1338869600, 1338869581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09754276275635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:55:32.807126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/54/image_21022025_17_54_55_9339.jpg', '/home/pi/Desktop/images/21022025/17/54/image_21022025_17_55_05_10339.jpg', '/home/pi/Desktop/images/21022025/17/55/image_21022025_17_55_16_10378.jpg', '/home/pi/Desktop/images/21022025/17/55/image_21022025_17_55_35_10368.jpg', '/home/pi/Desktop/images/21022025/17/55/image_21022025_17_55_45_9502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/54/image_21022025_17_54_55_9339.jpg
/home/pi/Desktop/images/21022025/17/54/image_21022025_17_55_05_10339.jpg
/home/pi/Desktop/images/21022025/17/55/image_21022025_17_55_16_10378.jpg
/home/pi/Desktop/images/21022025/17/55/image_21022025_17_55_35_10368.jpg
/home/pi/Desktop/images/21022025/17/55/image_21022025_17_55_45_9502.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338869880","1338869874","1338869883","1338869878","1338869872"],"photo_ids_order":["1338869872","1338869874","1338869878","1338869880","1338869883"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/52b885d56685b0cd4e1ba55c8c6939f7.jpg","text":"TemporaryFile(/tmp/multipartBody6371524847203900484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156993268,"filename":"image_21022025_17_55_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c16fe75e1fd150628828a4b9351080b.jpg","text":"TemporaryFile(/tmp/multipartBody435025104833411870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156993268,"filename":"image_21022025_17_55_05_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/18e39147c257fb08368c317847191530.jpg","text":"TemporaryFile(/tmp/multipartBody2850809524625353886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156993268,"filename":"image_21022025_17_55_45_9502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dac5f1358e2780d8c8c7c9d8a0cb1a43.jpg","text":"TemporaryFile(/tmp/multipartBody2376658638544967382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156993268,"filename":"image_21022025_17_55_16_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ec17566ca732c711da62688448023fd1.jpg","text":"TemporaryFile(/tmp/multipartBody3325353794262154303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740156993268,"filename":"image_21022025_17_54_55_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338869878","file1":"1338869874","file0":"1338869872","file4":"1338869883","file3":"1338869880"},"map_files_photo_id_array":[{"photo_id":"1338869878","filename":"file2"},{"photo_id":"1338869883","filename":"file4"},{"photo_id":"1338869874","filename":"file1"},{"photo_id":"1338869872","filename":"file0"},{"photo_id":"1338869880","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338869880":["hashtag1","hashtag2"]},{"1338869874":["hashtag1","hashtag2"]},{"1338869883":["hashtag1","hashtag2"]},{"1338869878":["hashtag1","hashtag2"]},{"1338869872":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338869880, 1338869874, 1338869883, 1338869878, 1338869872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.99302053451538 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:56:32.979367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/55/image_21022025_17_55_55_10359.jpg', '/home/pi/Desktop/images/21022025/17/55/image_21022025_17_56_06_10397.jpg', '/home/pi/Desktop/images/21022025/17/56/image_21022025_17_56_15_9340.jpg', '/home/pi/Desktop/images/21022025/17/56/image_21022025_17_56_25_10378.jpg', '/home/pi/Desktop/images/21022025/17/56/image_21022025_17_56_35_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/55/image_21022025_17_55_55_10359.jpg
/home/pi/Desktop/images/21022025/17/55/image_21022025_17_56_06_10397.jpg
/home/pi/Desktop/images/21022025/17/56/image_21022025_17_56_15_9340.jpg
/home/pi/Desktop/images/21022025/17/56/image_21022025_17_56_25_10378.jpg
/home/pi/Desktop/images/21022025/17/56/image_21022025_17_56_35_9445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338870046","1338870053","1338870056","1338870059","1338870050"],"photo_ids_order":["1338870046","1338870050","1338870053","1338870056","1338870059"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf1dc97beab03d348c6ed7b6759445fb.jpg","text":"TemporaryFile(/tmp/multipartBody4875997360920342827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157053467,"filename":"image_21022025_17_55_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a04253f400f7fe7684fa24c9f035243f.jpg","text":"TemporaryFile(/tmp/multipartBody2199405907370108568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157053467,"filename":"image_21022025_17_56_15_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fac6abbce4003815439768e19a9fccb4.jpg","text":"TemporaryFile(/tmp/multipartBody2107476500860705985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157053467,"filename":"image_21022025_17_56_25_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a745b63b57254f3ce023d4c69c5fa26.jpg","text":"TemporaryFile(/tmp/multipartBody1176001837423195323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157053467,"filename":"image_21022025_17_56_35_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b59decba1ba31edf716b2f504d74157e.jpg","text":"TemporaryFile(/tmp/multipartBody2668412152666408159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157053467,"filename":"image_21022025_17_56_06_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338870053","file1":"1338870050","file0":"1338870046","file4":"1338870059","file3":"1338870056"},"map_files_photo_id_array":[{"photo_id":"1338870053","filename":"file2"},{"photo_id":"1338870059","filename":"file4"},{"photo_id":"1338870050","filename":"file1"},{"photo_id":"1338870046","filename":"file0"},{"photo_id":"1338870056","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338870046":["hashtag1","hashtag2"]},{"1338870053":["hashtag1","hashtag2"]},{"1338870056":["hashtag1","hashtag2"]},{"1338870059":["hashtag1","hashtag2"]},{"1338870050":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338870046, 1338870053, 1338870056, 1338870059, 1338870050)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 5 photos
time to upload: 28.980642080307007 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 17:57:32.150302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/56/image_21022025_17_56_55_10364.jpg', '/home/pi/Desktop/images/21022025/17/56/image_21022025_17_57_05_9360.jpg', '/home/pi/Desktop/images/21022025/17/57/image_21022025_17_57_15_10394.jpg', '/home/pi/Desktop/images/21022025/17/57/image_21022025_17_57_25_9527.jpg', '/home/pi/Desktop/images/21022025/17/57/image_21022025_17_57_35_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/56/image_21022025_17_56_55_10364.jpg
/home/pi/Desktop/images/21022025/17/56/image_21022025_17_57_05_9360.jpg
/home/pi/Desktop/images/21022025/17/57/image_21022025_17_57_15_10394.jpg
/home/pi/Desktop/images/21022025/17/57/image_21022025_17_57_25_9527.jpg
/home/pi/Desktop/images/21022025/17/57/image_21022025_17_57_35_10354.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3718860149383545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:57:42.186590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/56/image_21022025_17_56_55_10364.jpg', '/home/pi/Desktop/images/21022025/17/56/image_21022025_17_57_05_9360.jpg', '/home/pi/Desktop/images/21022025/17/57/image_21022025_17_57_15_10394.jpg', '/home/pi/Desktop/images/21022025/17/57/image_21022025_17_57_25_9527.jpg', '/home/pi/Desktop/images/21022025/17/57/image_21022025_17_57_35_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/56/image_21022025_17_56_55_10364.jpg
/home/pi/Desktop/images/21022025/17/56/image_21022025_17_57_05_9360.jpg
/home/pi/Desktop/images/21022025/17/57/image_21022025_17_57_15_10394.jpg
/home/pi/Desktop/images/21022025/17/57/image_21022025_17_57_25_9527.jpg
/home/pi/Desktop/images/21022025/17/57/image_21022025_17_57_35_10354.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:59:04.462999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/56/image_21022025_17_56_55_10364.jpg', '/home/pi/Desktop/images/21022025/17/56/image_21022025_17_57_05_9360.jpg', '/home/pi/Desktop/images/21022025/17/57/image_21022025_17_57_15_10394.jpg', '/home/pi/Desktop/images/21022025/17/57/image_21022025_17_57_25_9527.jpg', '/home/pi/Desktop/images/21022025/17/57/image_21022025_17_57_35_10354.jpg', '/home/pi/Desktop/images/21022025/17/57/image_21022025_17_57_45_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/56/image_21022025_17_56_55_10364.jpg
/home/pi/Desktop/images/21022025/17/56/image_21022025_17_57_05_9360.jpg
/home/pi/Desktop/images/21022025/17/57/image_21022025_17_57_15_10394.jpg
/home/pi/Desktop/images/21022025/17/57/image_21022025_17_57_25_9527.jpg
/home/pi/Desktop/images/21022025/17/57/image_21022025_17_57_35_10354.jpg
/home/pi/Desktop/images/21022025/17/57/image_21022025_17_57_45_10368.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338870178","1338870189","1338870174","1338870183","1338870185","1338870194"],"photo_ids_order":["1338870174","1338870178","1338870183","1338870185","1338870189","1338870194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0c5c400efbe43cbc6d42c0584bd757af.jpg","text":"TemporaryFile(/tmp/multipartBody3797266394815364064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157205087,"filename":"image_21022025_17_57_05_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ceac2a5062ba219d6441223474a4d4a3.jpg","text":"TemporaryFile(/tmp/multipartBody3131686696057365847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157205087,"filename":"image_21022025_17_57_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/265d1d4150624038cb3233674457a209.jpg","text":"TemporaryFile(/tmp/multipartBody6007330173827873281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157205087,"filename":"image_21022025_17_56_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b516919a9ea8414ef11e45dbafc71d01.jpg","text":"TemporaryFile(/tmp/multipartBody1633294197013120577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157205087,"filename":"image_21022025_17_57_15_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c5591baf8ad3f5a1980ae2aaf5ad16f2.jpg","text":"TemporaryFile(/tmp/multipartBody3927868638631467618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157205087,"filename":"image_21022025_17_57_25_9527.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/82558d731089a7d58b05e16d6ea71869.jpg","text":"TemporaryFile(/tmp/multipartBody1194386988189997468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157205087,"filename":"image_21022025_17_57_45_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338870183","file1":"1338870178","file0":"1338870174","file4":"1338870189","file5":"1338870194","file3":"1338870185"},"map_files_photo_id_array":[{"photo_id":"1338870194","filename":"file5"},{"photo_id":"1338870183","filename":"file2"},{"photo_id":"1338870189","filename":"file4"},{"photo_id":"1338870178","filename":"file1"},{"photo_id":"1338870174","filename":"file0"},{"photo_id":"1338870185","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338870178":["hashtag1","hashtag2"]},{"1338870189":["hashtag1","hashtag2"]},{"1338870174":["hashtag1","hashtag2"]},{"1338870183":["hashtag1","hashtag2"]},{"1338870185":["hashtag1","hashtag2"]},{"1338870194":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338870178, 1338870189, 1338870174, 1338870183, 1338870185, 1338870194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.91182494163513 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 17:59:42.897042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/57/image_21022025_17_58_05_10342.jpg', '/home/pi/Desktop/images/21022025/17/58/image_21022025_17_58_15_9431.jpg', '/home/pi/Desktop/images/21022025/17/58/image_21022025_17_58_25_10368.jpg', '/home/pi/Desktop/images/21022025/17/58/image_21022025_17_58_35_10352.jpg', '/home/pi/Desktop/images/21022025/17/58/image_21022025_17_58_45_9402.jpg', '/home/pi/Desktop/images/21022025/17/58/image_21022025_17_58_55_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/57/image_21022025_17_58_05_10342.jpg
/home/pi/Desktop/images/21022025/17/58/image_21022025_17_58_15_9431.jpg
/home/pi/Desktop/images/21022025/17/58/image_21022025_17_58_25_10368.jpg
/home/pi/Desktop/images/21022025/17/58/image_21022025_17_58_35_10352.jpg
/home/pi/Desktop/images/21022025/17/58/image_21022025_17_58_45_9402.jpg
/home/pi/Desktop/images/21022025/17/58/image_21022025_17_58_55_10397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338870262","1338870202","1338870205","1338870258","1338870252","1338870204"],"photo_ids_order":["1338870202","1338870204","1338870205","1338870252","1338870258","1338870262"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cacfb4e6425bcb27f462266f7fab42bd.jpg","text":"TemporaryFile(/tmp/multipartBody7070218016326955588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157243379,"filename":"image_21022025_17_58_55_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b1a446b1546a0cb8b92981ff74853026.jpg","text":"TemporaryFile(/tmp/multipartBody2993958284931371511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157243379,"filename":"image_21022025_17_58_05_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1daf1b220b69b47111699edde986da86.jpg","text":"TemporaryFile(/tmp/multipartBody5108878713695159868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157243379,"filename":"image_21022025_17_58_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/24664a5409d0a53dbe7f8b664a3459b4.jpg","text":"TemporaryFile(/tmp/multipartBody3834232152635800092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157243379,"filename":"image_21022025_17_58_45_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6c4754876da276c815020653c9120b45.jpg","text":"TemporaryFile(/tmp/multipartBody4169815450874054472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157243379,"filename":"image_21022025_17_58_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/340ca6378251a5c8046a620b2e2d2a48.jpg","text":"TemporaryFile(/tmp/multipartBody4150108305927132059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157243379,"filename":"image_21022025_17_58_15_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338870205","file1":"1338870204","file0":"1338870202","file4":"1338870258","file5":"1338870262","file3":"1338870252"},"map_files_photo_id_array":[{"photo_id":"1338870262","filename":"file5"},{"photo_id":"1338870205","filename":"file2"},{"photo_id":"1338870258","filename":"file4"},{"photo_id":"1338870204","filename":"file1"},{"photo_id":"1338870202","filename":"file0"},{"photo_id":"1338870252","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338870262":["hashtag1","hashtag2"]},{"1338870202":["hashtag1","hashtag2"]},{"1338870205":["hashtag1","hashtag2"]},{"1338870258":["hashtag1","hashtag2"]},{"1338870252":["hashtag1","hashtag2"]},{"1338870204":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338870262, 1338870202, 1338870205, 1338870258, 1338870252, 1338870204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.027682304382324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:00:32.140987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/17/58/image_21022025_17_59_05_9448.jpg', '/home/pi/Desktop/images/21022025/17/59/image_21022025_17_59_15_10371.jpg', '/home/pi/Desktop/images/21022025/17/59/image_21022025_17_59_25_10361.jpg', '/home/pi/Desktop/images/21022025/17/59/image_21022025_17_59_35_9421.jpg', '/home/pi/Desktop/images/21022025/17/59/image_21022025_17_59_55_9461.jpg', '/home/pi/Desktop/images/21022025/18/00/image_21022025_18_00_16_10085.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/17/58/image_21022025_17_59_05_9448.jpg
/home/pi/Desktop/images/21022025/17/59/image_21022025_17_59_15_10371.jpg
/home/pi/Desktop/images/21022025/17/59/image_21022025_17_59_25_10361.jpg
/home/pi/Desktop/images/21022025/17/59/image_21022025_17_59_35_9421.jpg
/home/pi/Desktop/images/21022025/17/59/image_21022025_17_59_55_9461.jpg
/home/pi/Desktop/images/21022025/18/00/image_21022025_18_00_16_10085.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338870298","1338870322","1338870330","1338870306","1338870320","1338870302"],"photo_ids_order":["1338870298","1338870302","1338870306","1338870320","1338870322","1338870330"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/973714737e0ad1f0d509df4eb80edd92.jpg","text":"TemporaryFile(/tmp/multipartBody3639479495422284211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157292709,"filename":"image_21022025_17_59_05_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8411e40569f3efef8d388ede7ce4bcfb.jpg","text":"TemporaryFile(/tmp/multipartBody8225423527542616148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157292709,"filename":"image_21022025_17_59_55_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/003a2da86fda2e7f9ea270f19fac2b63.jpg","text":"TemporaryFile(/tmp/multipartBody9187944542353046157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157292709,"filename":"image_21022025_18_00_16_10085.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a3b3add5cf43bd5e194dfb10537b644.jpg","text":"TemporaryFile(/tmp/multipartBody3741335861857050174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157292709,"filename":"image_21022025_17_59_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/776f2eb40cf7e55b7ce93874f4c537e7.jpg","text":"TemporaryFile(/tmp/multipartBody6196337243313667518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157292709,"filename":"image_21022025_17_59_35_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9d0553b18ee892f95099f154daad85f9.jpg","text":"TemporaryFile(/tmp/multipartBody6922372644542798944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157292709,"filename":"image_21022025_17_59_15_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338870306","file1":"1338870302","file0":"1338870298","file4":"1338870322","file5":"1338870330","file3":"1338870320"},"map_files_photo_id_array":[{"photo_id":"1338870330","filename":"file5"},{"photo_id":"1338870306","filename":"file2"},{"photo_id":"1338870322","filename":"file4"},{"photo_id":"1338870302","filename":"file1"},{"photo_id":"1338870298","filename":"file0"},{"photo_id":"1338870320","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338870298":["hashtag1","hashtag2"]},{"1338870322":["hashtag1","hashtag2"]},{"1338870330":["hashtag1","hashtag2"]},{"1338870306":["hashtag1","hashtag2"]},{"1338870320":["hashtag1","hashtag2"]},{"1338870302":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338870298, 1338870322, 1338870330, 1338870306, 1338870320, 1338870302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.017812728881836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:01:32.407247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/00/image_21022025_18_00_46_9347.jpg', '/home/pi/Desktop/images/21022025/18/00/image_21022025_18_00_57_10494.jpg', '/home/pi/Desktop/images/21022025/18/00/image_21022025_18_01_06_9338.jpg', '/home/pi/Desktop/images/21022025/18/01/image_21022025_18_01_16_10353.jpg', '/home/pi/Desktop/images/21022025/18/01/image_21022025_18_01_27_10432.jpg', '/home/pi/Desktop/images/21022025/18/01/image_21022025_18_01_36_9390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/00/image_21022025_18_00_46_9347.jpg
/home/pi/Desktop/images/21022025/18/00/image_21022025_18_00_57_10494.jpg
/home/pi/Desktop/images/21022025/18/00/image_21022025_18_01_06_9338.jpg
/home/pi/Desktop/images/21022025/18/01/image_21022025_18_01_16_10353.jpg
/home/pi/Desktop/images/21022025/18/01/image_21022025_18_01_27_10432.jpg
/home/pi/Desktop/images/21022025/18/01/image_21022025_18_01_36_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338870382","1338870378","1338870389","1338870386","1338870416","1338870391"],"photo_ids_order":["1338870378","1338870382","1338870386","1338870389","1338870391","1338870416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2127605aa298060a81e14016c6f60f44.jpg","text":"TemporaryFile(/tmp/multipartBody4853864064722156570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157352898,"filename":"image_21022025_18_00_57_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ad3b422024b74015d60260eb0ba4ef6e.jpg","text":"TemporaryFile(/tmp/multipartBody880607066067535762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157352898,"filename":"image_21022025_18_00_46_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/deedf862e5f4743d4cc682345f6894d4.jpg","text":"TemporaryFile(/tmp/multipartBody8951707858387515516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157352898,"filename":"image_21022025_18_01_16_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e0c0c7c506bc7a864bc68557d75e51e5.jpg","text":"TemporaryFile(/tmp/multipartBody6259474729382482491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157352898,"filename":"image_21022025_18_01_06_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c9bd1b789941722973be9a2a6502cf8.jpg","text":"TemporaryFile(/tmp/multipartBody2606489183411662880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157352898,"filename":"image_21022025_18_01_36_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b24b93bab5c78cc16afa3f8946aa2368.jpg","text":"TemporaryFile(/tmp/multipartBody2476346572944452060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157352898,"filename":"image_21022025_18_01_27_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338870386","file1":"1338870382","file0":"1338870378","file4":"1338870391","file5":"1338870416","file3":"1338870389"},"map_files_photo_id_array":[{"photo_id":"1338870416","filename":"file5"},{"photo_id":"1338870386","filename":"file2"},{"photo_id":"1338870391","filename":"file4"},{"photo_id":"1338870382","filename":"file1"},{"photo_id":"1338870378","filename":"file0"},{"photo_id":"1338870389","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338870382":["hashtag1","hashtag2"]},{"1338870378":["hashtag1","hashtag2"]},{"1338870389":["hashtag1","hashtag2"]},{"1338870386":["hashtag1","hashtag2"]},{"1338870416":["hashtag1","hashtag2"]},{"1338870391":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338870382, 1338870378, 1338870389, 1338870386, 1338870416, 1338870391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51049613952637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:02:32.598069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/01/image_21022025_18_01_47_10371.jpg', '/home/pi/Desktop/images/21022025/18/01/image_21022025_18_01_57_10363.jpg', '/home/pi/Desktop/images/21022025/18/02/image_21022025_18_02_17_10436.jpg', '/home/pi/Desktop/images/21022025/18/02/image_21022025_18_02_26_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/01/image_21022025_18_01_47_10371.jpg
/home/pi/Desktop/images/21022025/18/01/image_21022025_18_01_57_10363.jpg
/home/pi/Desktop/images/21022025/18/02/image_21022025_18_02_17_10436.jpg
/home/pi/Desktop/images/21022025/18/02/image_21022025_18_02_26_9420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338870460","1338870463","1338870457","1338870452"],"photo_ids_order":["1338870452","1338870457","1338870460","1338870463"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/385e1b1df4ea618656ab0db312d700f8.jpg","text":"TemporaryFile(/tmp/multipartBody8640504447830381823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157413048,"filename":"image_21022025_18_02_17_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/876f324ad6d553a2895327947e7b91b5.jpg","text":"TemporaryFile(/tmp/multipartBody5839308944092198786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157413048,"filename":"image_21022025_18_02_26_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3139b9fd4683872e3c929e290f2d59ae.jpg","text":"TemporaryFile(/tmp/multipartBody6042144268305979322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157413048,"filename":"image_21022025_18_01_57_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae1f9bfab6bf08812caaa41afd32d5e3.jpg","text":"TemporaryFile(/tmp/multipartBody3247917519988038728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157413048,"filename":"image_21022025_18_01_47_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338870460","file1":"1338870457","file0":"1338870452","file3":"1338870463"},"map_files_photo_id_array":[{"photo_id":"1338870460","filename":"file2"},{"photo_id":"1338870457","filename":"file1"},{"photo_id":"1338870452","filename":"file0"},{"photo_id":"1338870463","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338870460":["hashtag1","hashtag2"]},{"1338870463":["hashtag1","hashtag2"]},{"1338870457":["hashtag1","hashtag2"]},{"1338870452":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338870460, 1338870463, 1338870457, 1338870452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.471818923950195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:03:04.266166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/20/image_20022025_18_20_26_10349.jpg', '/home/pi/Desktop/images/20022025/18/20/image_20022025_18_20_46_10405.jpg', '/home/pi/Desktop/images/20022025/18/20/image_20022025_18_20_56_9408.jpg', '/home/pi/Desktop/images/20022025/18/21/image_20022025_18_21_16_10353.jpg', '/home/pi/Desktop/images/20022025/18/21/image_20022025_18_21_46_10326.jpg', '/home/pi/Desktop/images/20022025/18/21/image_20022025_18_21_56_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/20/image_20022025_18_20_26_10349.jpg
/home/pi/Desktop/images/20022025/18/20/image_20022025_18_20_46_10405.jpg
/home/pi/Desktop/images/20022025/18/20/image_20022025_18_20_56_9408.jpg
/home/pi/Desktop/images/20022025/18/21/image_20022025_18_21_16_10353.jpg
/home/pi/Desktop/images/20022025/18/21/image_20022025_18_21_46_10326.jpg
/home/pi/Desktop/images/20022025/18/21/image_20022025_18_21_56_9422.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338870493","1338870487","1338870480","1338870476","1338870485","1338870490"],"photo_ids_order":["1338870476","1338870480","1338870485","1338870487","1338870490","1338870493"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e9224e44845c5e4ff974252ff017d2f4.jpg","text":"TemporaryFile(/tmp/multipartBody2113416348078909674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157445935,"filename":"image_20022025_18_21_56_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2fded9d2ed744a7e243a5b7f7b05386b.jpg","text":"TemporaryFile(/tmp/multipartBody1184224806669941482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157445935,"filename":"image_20022025_18_21_16_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/765fde7263c2603c5b47eaff15862216.jpg","text":"TemporaryFile(/tmp/multipartBody8035370448833778422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157445935,"filename":"image_20022025_18_20_46_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aeadb534dd2c296ad5ba94d2d1eb81f4.jpg","text":"TemporaryFile(/tmp/multipartBody7652489283330550491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157445935,"filename":"image_20022025_18_20_26_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/876919da6e808691a15fa3f9f23f8a50.jpg","text":"TemporaryFile(/tmp/multipartBody5206766988590687100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157445935,"filename":"image_20022025_18_20_56_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d7645d13dbd6753d67f6fb04d8da712a.jpg","text":"TemporaryFile(/tmp/multipartBody2300081281186734269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157445935,"filename":"image_20022025_18_21_46_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338870485","file1":"1338870480","file0":"1338870476","file4":"1338870490","file5":"1338870493","file3":"1338870487"},"map_files_photo_id_array":[{"photo_id":"1338870493","filename":"file5"},{"photo_id":"1338870485","filename":"file2"},{"photo_id":"1338870490","filename":"file4"},{"photo_id":"1338870480","filename":"file1"},{"photo_id":"1338870476","filename":"file0"},{"photo_id":"1338870487","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338870493":["hashtag1","hashtag2"]},{"1338870487":["hashtag1","hashtag2"]},{"1338870480":["hashtag1","hashtag2"]},{"1338870476":["hashtag1","hashtag2"]},{"1338870485":["hashtag1","hashtag2"]},{"1338870490":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338870493, 1338870487, 1338870480, 1338870476, 1338870485, 1338870490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.08181858062744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:03:42.886239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/02/image_21022025_18_02_56_10349.jpg', '/home/pi/Desktop/images/21022025/18/02/image_21022025_18_03_07_10430.jpg', '/home/pi/Desktop/images/21022025/18/03/image_21022025_18_03_16_9366.jpg', '/home/pi/Desktop/images/21022025/18/03/image_21022025_18_03_37_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/02/image_21022025_18_02_56_10349.jpg
/home/pi/Desktop/images/21022025/18/02/image_21022025_18_03_07_10430.jpg
/home/pi/Desktop/images/21022025/18/03/image_21022025_18_03_16_9366.jpg
/home/pi/Desktop/images/21022025/18/03/image_21022025_18_03_37_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338870503","1338870511","1338870504","1338870507"],"photo_ids_order":["1338870503","1338870504","1338870507","1338870511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/65275f8b6286770e40f07d3fce803476.jpg","text":"TemporaryFile(/tmp/multipartBody8122492195196416045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157483570,"filename":"image_21022025_18_02_56_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/21bbf8d5ff9f1d9ed6a6c4b7372708d2.jpg","text":"TemporaryFile(/tmp/multipartBody1881785550782743968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157483570,"filename":"image_21022025_18_03_37_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/970f5160e91930cd251236bd4cb13587.jpg","text":"TemporaryFile(/tmp/multipartBody978406061082068412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157483570,"filename":"image_21022025_18_03_07_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fdd3a59bf70d31f0470a61076d05fcea.jpg","text":"TemporaryFile(/tmp/multipartBody661377056074373898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157483570,"filename":"image_21022025_18_03_16_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338870507","file1":"1338870504","file0":"1338870503","file3":"1338870511"},"map_files_photo_id_array":[{"photo_id":"1338870507","filename":"file2"},{"photo_id":"1338870504","filename":"file1"},{"photo_id":"1338870503","filename":"file0"},{"photo_id":"1338870511","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338870503":["hashtag1","hashtag2"]},{"1338870511":["hashtag1","hashtag2"]},{"1338870504":["hashtag1","hashtag2"]},{"1338870507":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338870503, 1338870511, 1338870504, 1338870507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.42497181892395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:04:32.987420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/03/image_21022025_18_03_46_9396.jpg', '/home/pi/Desktop/images/21022025/18/03/image_21022025_18_04_06_9317.jpg', '/home/pi/Desktop/images/21022025/18/04/image_21022025_18_04_16_10370.jpg', '/home/pi/Desktop/images/21022025/18/04/image_21022025_18_04_27_10433.jpg', '/home/pi/Desktop/images/21022025/18/04/image_21022025_18_04_36_9436.jpg', '/home/pi/Desktop/images/21022025/18/04/image_21022025_18_04_47_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/03/image_21022025_18_03_46_9396.jpg
/home/pi/Desktop/images/21022025/18/03/image_21022025_18_04_06_9317.jpg
/home/pi/Desktop/images/21022025/18/04/image_21022025_18_04_16_10370.jpg
/home/pi/Desktop/images/21022025/18/04/image_21022025_18_04_27_10433.jpg
/home/pi/Desktop/images/21022025/18/04/image_21022025_18_04_36_9436.jpg
/home/pi/Desktop/images/21022025/18/04/image_21022025_18_04_47_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338870556","1338870541","1338870544","1338870538","1338870547","1338870536"],"photo_ids_order":["1338870536","1338870538","1338870541","1338870544","1338870547","1338870556"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e899c2f67cfcbb7be6d7d52973e1741.jpg","text":"TemporaryFile(/tmp/multipartBody8147446927367673077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157533460,"filename":"image_21022025_18_04_47_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/31ecee86538a991327c9a4ae93d335d2.jpg","text":"TemporaryFile(/tmp/multipartBody7690017782946666322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157533460,"filename":"image_21022025_18_04_16_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bf84194f95a8aadf6da907dfb8c428d9.jpg","text":"TemporaryFile(/tmp/multipartBody8710485362369623362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157533460,"filename":"image_21022025_18_04_27_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e7124828e87c99c54d1da2a574edcd6.jpg","text":"TemporaryFile(/tmp/multipartBody3492508722684661939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157533460,"filename":"image_21022025_18_04_06_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/044854ab0474f600d78777f2657a4791.jpg","text":"TemporaryFile(/tmp/multipartBody5746184935482012756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157533460,"filename":"image_21022025_18_04_36_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b5632fd58c07b0f161a4bf103c43a82f.jpg","text":"TemporaryFile(/tmp/multipartBody8521906088735147667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157533460,"filename":"image_21022025_18_03_46_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338870541","file1":"1338870538","file0":"1338870536","file4":"1338870547","file5":"1338870556","file3":"1338870544"},"map_files_photo_id_array":[{"photo_id":"1338870556","filename":"file5"},{"photo_id":"1338870541","filename":"file2"},{"photo_id":"1338870547","filename":"file4"},{"photo_id":"1338870538","filename":"file1"},{"photo_id":"1338870536","filename":"file0"},{"photo_id":"1338870544","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338870556":["hashtag1","hashtag2"]},{"1338870541":["hashtag1","hashtag2"]},{"1338870544":["hashtag1","hashtag2"]},{"1338870538":["hashtag1","hashtag2"]},{"1338870547":["hashtag1","hashtag2"]},{"1338870536":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338870556, 1338870541, 1338870544, 1338870538, 1338870547, 1338870536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86958336830139 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:05:32.130615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/04/image_21022025_18_04_56_9358.jpg', '/home/pi/Desktop/images/21022025/18/05/image_21022025_18_05_36_10384.jpg', '/home/pi/Desktop/images/21022025/18/05/image_21022025_18_05_47_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/04/image_21022025_18_04_56_9358.jpg
/home/pi/Desktop/images/21022025/18/05/image_21022025_18_05_36_10384.jpg
/home/pi/Desktop/images/21022025/18/05/image_21022025_18_05_47_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338870597","1338870601","1338870600"],"photo_ids_order":["1338870597","1338870600","1338870601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d4be165a4a73bf430e9ffde80ac06380.jpg","text":"TemporaryFile(/tmp/multipartBody1662796630485828889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157592581,"filename":"image_21022025_18_04_56_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9dfb9e533a4aedbc37db7a2895adcba4.jpg","text":"TemporaryFile(/tmp/multipartBody5185865068054403613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157592581,"filename":"image_21022025_18_05_47_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/edeabd02c9059a78e90ec623eba427e0.jpg","text":"TemporaryFile(/tmp/multipartBody4653600205875467518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157592581,"filename":"image_21022025_18_05_36_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338870601","file1":"1338870600","file0":"1338870597"},"map_files_photo_id_array":[{"photo_id":"1338870601","filename":"file2"},{"photo_id":"1338870600","filename":"file1"},{"photo_id":"1338870597","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338870597":["hashtag1","hashtag2"]},{"1338870601":["hashtag1","hashtag2"]},{"1338870600":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338870597, 1338870601, 1338870600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.790932178497314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:06:03.028286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/22/image_20022025_18_22_16_9465.jpg', '/home/pi/Desktop/images/20022025/18/22/image_20022025_18_22_26_10350.jpg', '/home/pi/Desktop/images/20022025/18/22/image_20022025_18_22_56_10352.jpg', '/home/pi/Desktop/images/20022025/18/22/image_20022025_18_23_06_9439.jpg', '/home/pi/Desktop/images/20022025/18/23/image_20022025_18_23_16_10415.jpg', '/home/pi/Desktop/images/20022025/18/23/image_20022025_18_23_26_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/22/image_20022025_18_22_16_9465.jpg
/home/pi/Desktop/images/20022025/18/22/image_20022025_18_22_26_10350.jpg
/home/pi/Desktop/images/20022025/18/22/image_20022025_18_22_56_10352.jpg
/home/pi/Desktop/images/20022025/18/22/image_20022025_18_23_06_9439.jpg
/home/pi/Desktop/images/20022025/18/23/image_20022025_18_23_16_10415.jpg
/home/pi/Desktop/images/20022025/18/23/image_20022025_18_23_26_10368.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338870655","1338870640","1338870645","1338870648","1338870627","1338870638"],"photo_ids_order":["1338870627","1338870638","1338870640","1338870645","1338870648","1338870655"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b9462715e87713cd55dd1842b5c903e.jpg","text":"TemporaryFile(/tmp/multipartBody6742358176367243531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157624396,"filename":"image_20022025_18_23_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62d1502a38a92d66db59a619d47eb1ed.jpg","text":"TemporaryFile(/tmp/multipartBody8210122311897815265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157624396,"filename":"image_20022025_18_22_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c7febe34244477798187d55a2ac6814.jpg","text":"TemporaryFile(/tmp/multipartBody4317725241485923313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157624396,"filename":"image_20022025_18_23_06_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4d09e00164bb5b9b218e3f63224593c.jpg","text":"TemporaryFile(/tmp/multipartBody6176425872282373709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157624396,"filename":"image_20022025_18_23_16_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e2cff4dcbe4f7a100d72e280fc5068aa.jpg","text":"TemporaryFile(/tmp/multipartBody566955214453662787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157624396,"filename":"image_20022025_18_22_16_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8ea1fd8d6301b46ccd972ec673152bcd.jpg","text":"TemporaryFile(/tmp/multipartBody8768449531080902835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157624396,"filename":"image_20022025_18_22_26_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338870640","file1":"1338870638","file0":"1338870627","file4":"1338870648","file5":"1338870655","file3":"1338870645"},"map_files_photo_id_array":[{"photo_id":"1338870655","filename":"file5"},{"photo_id":"1338870640","filename":"file2"},{"photo_id":"1338870648","filename":"file4"},{"photo_id":"1338870638","filename":"file1"},{"photo_id":"1338870627","filename":"file0"},{"photo_id":"1338870645","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338870655":["hashtag1","hashtag2"]},{"1338870640":["hashtag1","hashtag2"]},{"1338870645":["hashtag1","hashtag2"]},{"1338870648":["hashtag1","hashtag2"]},{"1338870627":["hashtag1","hashtag2"]},{"1338870638":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338870655, 1338870640, 1338870645, 1338870648, 1338870627, 1338870638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01411056518555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:06:42.315232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/05/image_21022025_18_05_56_9346.jpg', '/home/pi/Desktop/images/21022025/18/05/image_21022025_18_06_07_10457.jpg', '/home/pi/Desktop/images/21022025/18/06/image_21022025_18_06_16_9375.jpg', '/home/pi/Desktop/images/21022025/18/06/image_21022025_18_06_26_10346.jpg', '/home/pi/Desktop/images/21022025/18/06/image_21022025_18_06_37_10350.jpg', '/home/pi/Desktop/images/21022025/18/06/image_21022025_18_06_46_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/05/image_21022025_18_05_56_9346.jpg
/home/pi/Desktop/images/21022025/18/05/image_21022025_18_06_07_10457.jpg
/home/pi/Desktop/images/21022025/18/06/image_21022025_18_06_16_9375.jpg
/home/pi/Desktop/images/21022025/18/06/image_21022025_18_06_26_10346.jpg
/home/pi/Desktop/images/21022025/18/06/image_21022025_18_06_37_10350.jpg
/home/pi/Desktop/images/21022025/18/06/image_21022025_18_06_46_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338870694","1338870688","1338870673","1338870684","1338870669","1338870692"],"photo_ids_order":["1338870669","1338870673","1338870684","1338870688","1338870692","1338870694"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c61f978ff97e656c9191b91cfe1c91a.jpg","text":"TemporaryFile(/tmp/multipartBody7609815594305750948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157662930,"filename":"image_21022025_18_06_46_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e98ec8b7c9e62c3bd02ac085000f8b7.jpg","text":"TemporaryFile(/tmp/multipartBody515308048939031563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157662930,"filename":"image_21022025_18_06_26_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dbc11965b1728ef40224495c2d271251.jpg","text":"TemporaryFile(/tmp/multipartBody5756753996405935655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157662930,"filename":"image_21022025_18_06_07_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b29d5425c254ddf5e7883d4197843bb2.jpg","text":"TemporaryFile(/tmp/multipartBody583139801235182101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157662930,"filename":"image_21022025_18_06_16_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d2a1530fb91702be13ef839f74ea6fe6.jpg","text":"TemporaryFile(/tmp/multipartBody1178472356781725346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157662930,"filename":"image_21022025_18_05_56_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b46d3544bbaa9135ee52b80b55ad335.jpg","text":"TemporaryFile(/tmp/multipartBody884560966428169736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157662930,"filename":"image_21022025_18_06_37_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338870684","file1":"1338870673","file0":"1338870669","file4":"1338870692","file5":"1338870694","file3":"1338870688"},"map_files_photo_id_array":[{"photo_id":"1338870694","filename":"file5"},{"photo_id":"1338870684","filename":"file2"},{"photo_id":"1338870692","filename":"file4"},{"photo_id":"1338870673","filename":"file1"},{"photo_id":"1338870669","filename":"file0"},{"photo_id":"1338870688","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338870694":["hashtag1","hashtag2"]},{"1338870688":["hashtag1","hashtag2"]},{"1338870673":["hashtag1","hashtag2"]},{"1338870684":["hashtag1","hashtag2"]},{"1338870669":["hashtag1","hashtag2"]},{"1338870692":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338870694, 1338870688, 1338870673, 1338870684, 1338870669, 1338870692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.466347217559814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:07:32.504252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/06/image_21022025_18_06_56_10354.jpg', '/home/pi/Desktop/images/21022025/18/07/image_21022025_18_07_16_9337.jpg', '/home/pi/Desktop/images/21022025/18/07/image_21022025_18_07_27_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/06/image_21022025_18_06_56_10354.jpg
/home/pi/Desktop/images/21022025/18/07/image_21022025_18_07_16_9337.jpg
/home/pi/Desktop/images/21022025/18/07/image_21022025_18_07_27_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338871513","1338871515","1338871508"],"photo_ids_order":["1338871508","1338871513","1338871515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e8c304dc5a05f992848ec50ff3c97ec5.jpg","text":"TemporaryFile(/tmp/multipartBody7200765636034562552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157712935,"filename":"image_21022025_18_07_16_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06915c104aa593d93c2dff54f87ce6eb.jpg","text":"TemporaryFile(/tmp/multipartBody2319350385024055049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157712935,"filename":"image_21022025_18_07_27_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9bd5c964365979b8b702d4d1ba1541ce.jpg","text":"TemporaryFile(/tmp/multipartBody8746338046603898808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157712935,"filename":"image_21022025_18_06_56_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338871515","file1":"1338871513","file0":"1338871508"},"map_files_photo_id_array":[{"photo_id":"1338871515","filename":"file2"},{"photo_id":"1338871513","filename":"file1"},{"photo_id":"1338871508","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338871513":["hashtag1","hashtag2"]},{"1338871515":["hashtag1","hashtag2"]},{"1338871508":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338871513, 1338871515, 1338871508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.533438682556152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:08:03.505930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/23/image_20022025_18_23_36_9423.jpg', '/home/pi/Desktop/images/20022025/18/23/image_20022025_18_23_46_10356.jpg', '/home/pi/Desktop/images/20022025/18/24/image_20022025_18_24_16_10328.jpg', '/home/pi/Desktop/images/20022025/18/24/image_20022025_18_24_26_9486.jpg', '/home/pi/Desktop/images/20022025/18/24/image_20022025_18_24_56_9345.jpg', '/home/pi/Desktop/images/20022025/18/24/image_20022025_18_25_06_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/23/image_20022025_18_23_36_9423.jpg
/home/pi/Desktop/images/20022025/18/23/image_20022025_18_23_46_10356.jpg
/home/pi/Desktop/images/20022025/18/24/image_20022025_18_24_16_10328.jpg
/home/pi/Desktop/images/20022025/18/24/image_20022025_18_24_26_9486.jpg
/home/pi/Desktop/images/20022025/18/24/image_20022025_18_24_56_9345.jpg
/home/pi/Desktop/images/20022025/18/24/image_20022025_18_25_06_10354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338871528","1338871543","1338871539","1338871533","1338871536","1338871523"],"photo_ids_order":["1338871523","1338871528","1338871533","1338871536","1338871539","1338871543"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c702923a90df5b1c5ec2ab9ae2b4e79.jpg","text":"TemporaryFile(/tmp/multipartBody7045677246918141663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157744954,"filename":"image_20022025_18_23_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c77bec32e43ac01f24b713abd2d0b47.jpg","text":"TemporaryFile(/tmp/multipartBody5828475014479290434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157744954,"filename":"image_20022025_18_25_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1c6703d573f313833f03059972cedcf1.jpg","text":"TemporaryFile(/tmp/multipartBody5764030807311784304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157744954,"filename":"image_20022025_18_24_56_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6fdda03f06aba00c37e0be0291cebf0b.jpg","text":"TemporaryFile(/tmp/multipartBody2015378058829863135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157744954,"filename":"image_20022025_18_24_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a0ecbe42f161aa9d205eb61da24d9b59.jpg","text":"TemporaryFile(/tmp/multipartBody7129041555224405842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157744954,"filename":"image_20022025_18_24_26_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7c257b52232180dac9d40c3bedd6b94.jpg","text":"TemporaryFile(/tmp/multipartBody7018477191682263579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157744954,"filename":"image_20022025_18_23_36_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338871533","file1":"1338871528","file0":"1338871523","file4":"1338871539","file5":"1338871543","file3":"1338871536"},"map_files_photo_id_array":[{"photo_id":"1338871543","filename":"file5"},{"photo_id":"1338871533","filename":"file2"},{"photo_id":"1338871539","filename":"file4"},{"photo_id":"1338871528","filename":"file1"},{"photo_id":"1338871523","filename":"file0"},{"photo_id":"1338871536","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338871528":["hashtag1","hashtag2"]},{"1338871543":["hashtag1","hashtag2"]},{"1338871539":["hashtag1","hashtag2"]},{"1338871533":["hashtag1","hashtag2"]},{"1338871536":["hashtag1","hashtag2"]},{"1338871523":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338871528, 1338871543, 1338871539, 1338871533, 1338871536, 1338871523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46340274810791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:08:42.747061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/07/image_21022025_18_07_36_9377.jpg', '/home/pi/Desktop/images/21022025/18/07/image_21022025_18_08_06_9420.jpg', '/home/pi/Desktop/images/21022025/18/08/image_21022025_18_08_17_10332.jpg', '/home/pi/Desktop/images/21022025/18/08/image_21022025_18_08_26_9452.jpg', '/home/pi/Desktop/images/21022025/18/08/image_21022025_18_08_36_10355.jpg', '/home/pi/Desktop/images/21022025/18/08/image_21022025_18_08_47_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/07/image_21022025_18_07_36_9377.jpg
/home/pi/Desktop/images/21022025/18/07/image_21022025_18_08_06_9420.jpg
/home/pi/Desktop/images/21022025/18/08/image_21022025_18_08_17_10332.jpg
/home/pi/Desktop/images/21022025/18/08/image_21022025_18_08_26_9452.jpg
/home/pi/Desktop/images/21022025/18/08/image_21022025_18_08_36_10355.jpg
/home/pi/Desktop/images/21022025/18/08/image_21022025_18_08_47_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338871939","1338871840","1338871621","1338871624","1338871629","1338871943"],"photo_ids_order":["1338871621","1338871624","1338871629","1338871840","1338871939","1338871943"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b924c42c2d516b9ca45ef21ae1a0f48.jpg","text":"TemporaryFile(/tmp/multipartBody9099823839337833753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157783216,"filename":"image_21022025_18_08_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ebfafeec1e6c6f5451157ccea6d1b087.jpg","text":"TemporaryFile(/tmp/multipartBody3241236996203791949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157783216,"filename":"image_21022025_18_08_26_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4096d96c2e0011bc0bbecb7f82c24855.jpg","text":"TemporaryFile(/tmp/multipartBody6860181030655708843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157783216,"filename":"image_21022025_18_07_36_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b19ad7592ae5cc6b63ed4cf2882d1c3f.jpg","text":"TemporaryFile(/tmp/multipartBody4906444988945689216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157783216,"filename":"image_21022025_18_08_06_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce1acd5c902bd5fc55d9feb11ba048ab.jpg","text":"TemporaryFile(/tmp/multipartBody785847025176600232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157783216,"filename":"image_21022025_18_08_17_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3a6cc08374a36a9e91653ef6c550cc0b.jpg","text":"TemporaryFile(/tmp/multipartBody8460573612655487965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157783216,"filename":"image_21022025_18_08_47_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338871629","file1":"1338871624","file0":"1338871621","file4":"1338871939","file5":"1338871943","file3":"1338871840"},"map_files_photo_id_array":[{"photo_id":"1338871943","filename":"file5"},{"photo_id":"1338871629","filename":"file2"},{"photo_id":"1338871939","filename":"file4"},{"photo_id":"1338871624","filename":"file1"},{"photo_id":"1338871621","filename":"file0"},{"photo_id":"1338871840","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338871939":["hashtag1","hashtag2"]},{"1338871840":["hashtag1","hashtag2"]},{"1338871621":["hashtag1","hashtag2"]},{"1338871624":["hashtag1","hashtag2"]},{"1338871629":["hashtag1","hashtag2"]},{"1338871943":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338871939, 1338871840, 1338871621, 1338871624, 1338871629, 1338871943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.64044117927551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:09:32.972202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/08/image_21022025_18_08_56_9338.jpg', '/home/pi/Desktop/images/21022025/18/09/image_21022025_18_09_17_10366.jpg', '/home/pi/Desktop/images/21022025/18/09/image_21022025_18_09_26_9351.jpg', '/home/pi/Desktop/images/21022025/18/09/image_21022025_18_09_37_10507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/08/image_21022025_18_08_56_9338.jpg
/home/pi/Desktop/images/21022025/18/09/image_21022025_18_09_17_10366.jpg
/home/pi/Desktop/images/21022025/18/09/image_21022025_18_09_26_9351.jpg
/home/pi/Desktop/images/21022025/18/09/image_21022025_18_09_37_10507.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338872031","1338872034","1338872100","1338872037"],"photo_ids_order":["1338872031","1338872034","1338872037","1338872100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6fde588155387dba5e3e2beed2dd18d0.jpg","text":"TemporaryFile(/tmp/multipartBody4831600259427999989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157833429,"filename":"image_21022025_18_08_56_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d320a79a9c0ca5b0c80663a1afc04e51.jpg","text":"TemporaryFile(/tmp/multipartBody3822710778032264072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157833429,"filename":"image_21022025_18_09_17_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/13960ea18999bb1a30e59001b430741c.jpg","text":"TemporaryFile(/tmp/multipartBody8797280041659092583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157833429,"filename":"image_21022025_18_09_37_10507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/97b5d032c9e2a958d5a89aae5245ec02.jpg","text":"TemporaryFile(/tmp/multipartBody4021911941719276872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157833429,"filename":"image_21022025_18_09_26_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338872037","file1":"1338872034","file0":"1338872031","file3":"1338872100"},"map_files_photo_id_array":[{"photo_id":"1338872037","filename":"file2"},{"photo_id":"1338872034","filename":"file1"},{"photo_id":"1338872031","filename":"file0"},{"photo_id":"1338872100","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338872031":["hashtag1","hashtag2"]},{"1338872034":["hashtag1","hashtag2"]},{"1338872100":["hashtag1","hashtag2"]},{"1338872037":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338872031, 1338872034, 1338872100, 1338872037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.243724584579468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:10:03.740071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/25/image_20022025_18_25_15_9330.jpg', '/home/pi/Desktop/images/20022025/18/25/image_20022025_18_25_26_10431.jpg', '/home/pi/Desktop/images/20022025/18/25/image_20022025_18_25_36_10385.jpg', '/home/pi/Desktop/images/20022025/18/25/image_20022025_18_25_46_9494.jpg', '/home/pi/Desktop/images/20022025/18/25/image_20022025_18_25_56_10437.jpg', '/home/pi/Desktop/images/20022025/18/25/image_20022025_18_26_06_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/25/image_20022025_18_25_15_9330.jpg
/home/pi/Desktop/images/20022025/18/25/image_20022025_18_25_26_10431.jpg
/home/pi/Desktop/images/20022025/18/25/image_20022025_18_25_36_10385.jpg
/home/pi/Desktop/images/20022025/18/25/image_20022025_18_25_46_9494.jpg
/home/pi/Desktop/images/20022025/18/25/image_20022025_18_25_56_10437.jpg
/home/pi/Desktop/images/20022025/18/25/image_20022025_18_26_06_9558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338872139","1338872154","1338872142","1338872136","1338872135","1338872146"],"photo_ids_order":["1338872135","1338872136","1338872139","1338872142","1338872146","1338872154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a55ca8427d2c351b0691bfb219d0a37.jpg","text":"TemporaryFile(/tmp/multipartBody1068259887608979868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157865141,"filename":"image_20022025_18_25_36_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/358e684340f0a4460957ac94d1b850d0.jpg","text":"TemporaryFile(/tmp/multipartBody1970100143159748408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157865141,"filename":"image_20022025_18_26_06_9558.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/36b1312a292d8e78744347dadfcf44b6.jpg","text":"TemporaryFile(/tmp/multipartBody9220924814238753122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157865141,"filename":"image_20022025_18_25_46_9494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/78db863d7874d0dd7cef374401f50dd4.jpg","text":"TemporaryFile(/tmp/multipartBody2242057490004412477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157865141,"filename":"image_20022025_18_25_26_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df0e0feeefc023b46f8166f7539f2012.jpg","text":"TemporaryFile(/tmp/multipartBody2786407888973018675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157865141,"filename":"image_20022025_18_25_15_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1249d01f050a821c848c05ca8a541ac0.jpg","text":"TemporaryFile(/tmp/multipartBody1634005609697424121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157865141,"filename":"image_20022025_18_25_56_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338872139","file1":"1338872136","file0":"1338872135","file4":"1338872146","file5":"1338872154","file3":"1338872142"},"map_files_photo_id_array":[{"photo_id":"1338872154","filename":"file5"},{"photo_id":"1338872139","filename":"file2"},{"photo_id":"1338872146","filename":"file4"},{"photo_id":"1338872136","filename":"file1"},{"photo_id":"1338872135","filename":"file0"},{"photo_id":"1338872142","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338872139":["hashtag1","hashtag2"]},{"1338872154":["hashtag1","hashtag2"]},{"1338872142":["hashtag1","hashtag2"]},{"1338872136":["hashtag1","hashtag2"]},{"1338872135":["hashtag1","hashtag2"]},{"1338872146":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338872139, 1338872154, 1338872142, 1338872136, 1338872135, 1338872146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.402629137039185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:10:43.134834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/09/image_21022025_18_09_46_9397.jpg', '/home/pi/Desktop/images/21022025/18/09/image_21022025_18_10_07_10441.jpg', '/home/pi/Desktop/images/21022025/18/10/image_21022025_18_10_16_9327.jpg', '/home/pi/Desktop/images/21022025/18/10/image_21022025_18_10_27_10341.jpg', '/home/pi/Desktop/images/21022025/18/10/image_21022025_18_10_46_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/09/image_21022025_18_09_46_9397.jpg
/home/pi/Desktop/images/21022025/18/09/image_21022025_18_10_07_10441.jpg
/home/pi/Desktop/images/21022025/18/10/image_21022025_18_10_16_9327.jpg
/home/pi/Desktop/images/21022025/18/10/image_21022025_18_10_27_10341.jpg
/home/pi/Desktop/images/21022025/18/10/image_21022025_18_10_46_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338872175","1338872172","1338872166","1338872169","1338872177"],"photo_ids_order":["1338872166","1338872169","1338872172","1338872175","1338872177"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/982cdeb5dba759b95d4ba445a0cd5bf3.jpg","text":"TemporaryFile(/tmp/multipartBody6778230190424919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157903670,"filename":"image_21022025_18_10_27_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/56d116a1484c7bdedb3f68085bc94512.jpg","text":"TemporaryFile(/tmp/multipartBody5519863733224392899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157903670,"filename":"image_21022025_18_10_16_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/303a3addb91816a848d3451f5115ded4.jpg","text":"TemporaryFile(/tmp/multipartBody4621313236731456430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157903670,"filename":"image_21022025_18_09_46_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/22aefcbc25f5fed8a252d6448a4a39bd.jpg","text":"TemporaryFile(/tmp/multipartBody4695984114824929586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157903670,"filename":"image_21022025_18_10_07_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/63d63f4939e000f9bdc32c5ae810801a.jpg","text":"TemporaryFile(/tmp/multipartBody6626300988127004181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157903670,"filename":"image_21022025_18_10_46_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338872172","file1":"1338872169","file0":"1338872166","file4":"1338872177","file3":"1338872175"},"map_files_photo_id_array":[{"photo_id":"1338872172","filename":"file2"},{"photo_id":"1338872177","filename":"file4"},{"photo_id":"1338872169","filename":"file1"},{"photo_id":"1338872166","filename":"file0"},{"photo_id":"1338872175","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338872175":["hashtag1","hashtag2"]},{"1338872172":["hashtag1","hashtag2"]},{"1338872166":["hashtag1","hashtag2"]},{"1338872169":["hashtag1","hashtag2"]},{"1338872177":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338872175, 1338872172, 1338872166, 1338872169, 1338872177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.647157430648804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:11:32.394165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/26/image_20022025_18_26_16_10356.jpg', '/home/pi/Desktop/images/20022025/18/26/image_20022025_18_26_26_9630.jpg', '/home/pi/Desktop/images/20022025/18/26/image_20022025_18_26_36_10352.jpg', '/home/pi/Desktop/images/20022025/18/26/image_20022025_18_26_46_10333.jpg', '/home/pi/Desktop/images/20022025/18/26/image_20022025_18_26_56_9349.jpg', '/home/pi/Desktop/images/20022025/18/26/image_20022025_18_27_06_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/26/image_20022025_18_26_16_10356.jpg
/home/pi/Desktop/images/20022025/18/26/image_20022025_18_26_26_9630.jpg
/home/pi/Desktop/images/20022025/18/26/image_20022025_18_26_36_10352.jpg
/home/pi/Desktop/images/20022025/18/26/image_20022025_18_26_46_10333.jpg
/home/pi/Desktop/images/20022025/18/26/image_20022025_18_26_56_9349.jpg
/home/pi/Desktop/images/20022025/18/26/image_20022025_18_27_06_10325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338872211","1338872219","1338872204","1338872207","1338872197","1338872215"],"photo_ids_order":["1338872197","1338872204","1338872207","1338872211","1338872215","1338872219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/60585c93f4201be9acff5e51fe6f6d93.jpg","text":"TemporaryFile(/tmp/multipartBody447352173597340658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157954507,"filename":"image_20022025_18_26_46_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/16b9a7862c20ba852a62a4a13dc07c45.jpg","text":"TemporaryFile(/tmp/multipartBody8469474667746096687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157954507,"filename":"image_20022025_18_27_06_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4e85bda235e72a4062b401349ee980a7.jpg","text":"TemporaryFile(/tmp/multipartBody511063164620788729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157954507,"filename":"image_20022025_18_26_26_9630.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1d414346f09cb27cc7bc91b8719b1d9e.jpg","text":"TemporaryFile(/tmp/multipartBody6931033302162347392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157954507,"filename":"image_20022025_18_26_36_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/734825949ca17aecc54f61ecbcd59897.jpg","text":"TemporaryFile(/tmp/multipartBody2542220028746739345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157954507,"filename":"image_20022025_18_26_16_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/309075d12a9fc5fc22a514d29369f332.jpg","text":"TemporaryFile(/tmp/multipartBody1736232935768420488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740157954507,"filename":"image_20022025_18_26_56_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338872207","file1":"1338872204","file0":"1338872197","file4":"1338872215","file5":"1338872219","file3":"1338872211"},"map_files_photo_id_array":[{"photo_id":"1338872219","filename":"file5"},{"photo_id":"1338872207","filename":"file2"},{"photo_id":"1338872215","filename":"file4"},{"photo_id":"1338872204","filename":"file1"},{"photo_id":"1338872197","filename":"file0"},{"photo_id":"1338872211","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338872211":["hashtag1","hashtag2"]},{"1338872219":["hashtag1","hashtag2"]},{"1338872204":["hashtag1","hashtag2"]},{"1338872207":["hashtag1","hashtag2"]},{"1338872197":["hashtag1","hashtag2"]},{"1338872215":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338872211, 1338872219, 1338872204, 1338872207, 1338872197, 1338872215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61009216308594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:12:32.583986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/10/image_21022025_18_10_57_10477.jpg', '/home/pi/Desktop/images/21022025/18/12/image_21022025_18_12_26_9347.jpg', '/home/pi/Desktop/images/21022025/18/12/image_21022025_18_12_46_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/10/image_21022025_18_10_57_10477.jpg
/home/pi/Desktop/images/21022025/18/12/image_21022025_18_12_26_9347.jpg
/home/pi/Desktop/images/21022025/18/12/image_21022025_18_12_46_9425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338872276","1338872281","1338872278"],"photo_ids_order":["1338872276","1338872278","1338872281"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fbc509c1548702ef165018e7f0f022ce.jpg","text":"TemporaryFile(/tmp/multipartBody6314675926113238250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158013033,"filename":"image_21022025_18_10_57_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/961984d9e3082c2044e619d7d7312970.jpg","text":"TemporaryFile(/tmp/multipartBody2530010691371390929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158013033,"filename":"image_21022025_18_12_46_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d55ef85592d20fb9ac52e6a26a513ac4.jpg","text":"TemporaryFile(/tmp/multipartBody3671674562360566432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158013033,"filename":"image_21022025_18_12_26_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338872281","file1":"1338872278","file0":"1338872276"},"map_files_photo_id_array":[{"photo_id":"1338872281","filename":"file2"},{"photo_id":"1338872278","filename":"file1"},{"photo_id":"1338872276","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338872276":["hashtag1","hashtag2"]},{"1338872281":["hashtag1","hashtag2"]},{"1338872278":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338872276, 1338872281, 1338872278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.766413688659668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:13:04.129204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/27/image_20022025_18_27_16_9444.jpg', '/home/pi/Desktop/images/20022025/18/27/image_20022025_18_27_26_10393.jpg', '/home/pi/Desktop/images/20022025/18/27/image_20022025_18_27_36_10333.jpg', '/home/pi/Desktop/images/20022025/18/27/image_20022025_18_27_46_9440.jpg', '/home/pi/Desktop/images/20022025/18/27/image_20022025_18_27_56_10334.jpg', '/home/pi/Desktop/images/20022025/18/27/image_20022025_18_28_06_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/27/image_20022025_18_27_16_9444.jpg
/home/pi/Desktop/images/20022025/18/27/image_20022025_18_27_26_10393.jpg
/home/pi/Desktop/images/20022025/18/27/image_20022025_18_27_36_10333.jpg
/home/pi/Desktop/images/20022025/18/27/image_20022025_18_27_46_9440.jpg
/home/pi/Desktop/images/20022025/18/27/image_20022025_18_27_56_10334.jpg
/home/pi/Desktop/images/20022025/18/27/image_20022025_18_28_06_10334.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338872305","1338872295","1338872297","1338872300","1338872293","1338872302"],"photo_ids_order":["1338872293","1338872295","1338872297","1338872300","1338872302","1338872305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23c972315ef285f7dfe7a8a40c5665c2.jpg","text":"TemporaryFile(/tmp/multipartBody7920951939664028702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158045868,"filename":"image_20022025_18_28_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/47cbbcda2902f63bce00947380070356.jpg","text":"TemporaryFile(/tmp/multipartBody9132011123414492082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158045868,"filename":"image_20022025_18_27_26_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/70e3c9b5dfd66796b7b1c75704c7b187.jpg","text":"TemporaryFile(/tmp/multipartBody6035298710038347503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158045868,"filename":"image_20022025_18_27_36_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ec2e9b5876c212b90bd9ae06022d1abf.jpg","text":"TemporaryFile(/tmp/multipartBody4353467395286079245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158045868,"filename":"image_20022025_18_27_46_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c9d15c56c8208ef1493c9d494d878506.jpg","text":"TemporaryFile(/tmp/multipartBody5885533768998644318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158045868,"filename":"image_20022025_18_27_16_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/299d0612ca10f30af0931cc866a92d09.jpg","text":"TemporaryFile(/tmp/multipartBody7258375282701623825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158045868,"filename":"image_20022025_18_27_56_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338872297","file1":"1338872295","file0":"1338872293","file4":"1338872302","file5":"1338872305","file3":"1338872300"},"map_files_photo_id_array":[{"photo_id":"1338872305","filename":"file5"},{"photo_id":"1338872297","filename":"file2"},{"photo_id":"1338872302","filename":"file4"},{"photo_id":"1338872295","filename":"file1"},{"photo_id":"1338872293","filename":"file0"},{"photo_id":"1338872300","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338872305":["hashtag1","hashtag2"]},{"1338872295":["hashtag1","hashtag2"]},{"1338872297":["hashtag1","hashtag2"]},{"1338872300":["hashtag1","hashtag2"]},{"1338872293":["hashtag1","hashtag2"]},{"1338872302":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338872305, 1338872295, 1338872297, 1338872300, 1338872293, 1338872302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77007079124451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:13:42.720477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/12/image_21022025_18_12_56_10353.jpg', '/home/pi/Desktop/images/21022025/18/13/image_21022025_18_13_26_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/12/image_21022025_18_12_56_10353.jpg
/home/pi/Desktop/images/21022025/18/13/image_21022025_18_13_26_10350.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338872314","1338872317"],"photo_ids_order":["1338872314","1338872317"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f9b6b61f0c7154a8d54762433155e2c.jpg","text":"TemporaryFile(/tmp/multipartBody8016381837700716540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158083417,"filename":"image_21022025_18_12_56_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/89e8721fc767b831d59f5f1695db31d2.jpg","text":"TemporaryFile(/tmp/multipartBody6902479138060238851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158083417,"filename":"image_21022025_18_13_26_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338872317","file0":"1338872314"},"map_files_photo_id_array":[{"photo_id":"1338872317","filename":"file1"},{"photo_id":"1338872314","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338872314":["hashtag1","hashtag2"]},{"1338872317":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338872314, 1338872317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.915940999984741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:14:03.667950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/28/image_20022025_18_28_16_9316.jpg', '/home/pi/Desktop/images/20022025/18/28/image_20022025_18_28_26_10337.jpg', '/home/pi/Desktop/images/20022025/18/28/image_20022025_18_28_36_10329.jpg', '/home/pi/Desktop/images/20022025/18/28/image_20022025_18_28_46_9360.jpg', '/home/pi/Desktop/images/20022025/18/28/image_20022025_18_28_56_10359.jpg', '/home/pi/Desktop/images/20022025/18/28/image_20022025_18_29_06_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/28/image_20022025_18_28_16_9316.jpg
/home/pi/Desktop/images/20022025/18/28/image_20022025_18_28_26_10337.jpg
/home/pi/Desktop/images/20022025/18/28/image_20022025_18_28_36_10329.jpg
/home/pi/Desktop/images/20022025/18/28/image_20022025_18_28_46_9360.jpg
/home/pi/Desktop/images/20022025/18/28/image_20022025_18_28_56_10359.jpg
/home/pi/Desktop/images/20022025/18/28/image_20022025_18_29_06_10331.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338872541","1338872333","1338872339","1338872426","1338872326","1338872329"],"photo_ids_order":["1338872326","1338872329","1338872333","1338872339","1338872426","1338872541"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/459c2b26997dcf96cc7886ee5d60e04f.jpg","text":"TemporaryFile(/tmp/multipartBody7920858470563711228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158105137,"filename":"image_20022025_18_29_06_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e33febdc929424f04891aa41891eaa8c.jpg","text":"TemporaryFile(/tmp/multipartBody7078930418846220911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158105137,"filename":"image_20022025_18_28_36_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a2591ded1cda018bd674d4b54869f11f.jpg","text":"TemporaryFile(/tmp/multipartBody9040233752653806374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158105137,"filename":"image_20022025_18_28_46_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/615046a8fe5d04587f8fca8742f3e4cf.jpg","text":"TemporaryFile(/tmp/multipartBody5150999490556631255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158105137,"filename":"image_20022025_18_28_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/811016f1c68e99b4163e82cbcef298c2.jpg","text":"TemporaryFile(/tmp/multipartBody565634785174178835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158105137,"filename":"image_20022025_18_28_16_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ebb01dde823fc1620b3393d16a49c1d8.jpg","text":"TemporaryFile(/tmp/multipartBody6029759084297752626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158105137,"filename":"image_20022025_18_28_26_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338872333","file1":"1338872329","file0":"1338872326","file4":"1338872426","file5":"1338872541","file3":"1338872339"},"map_files_photo_id_array":[{"photo_id":"1338872541","filename":"file5"},{"photo_id":"1338872333","filename":"file2"},{"photo_id":"1338872426","filename":"file4"},{"photo_id":"1338872329","filename":"file1"},{"photo_id":"1338872326","filename":"file0"},{"photo_id":"1338872339","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338872541":["hashtag1","hashtag2"]},{"1338872333":["hashtag1","hashtag2"]},{"1338872339":["hashtag1","hashtag2"]},{"1338872426":["hashtag1","hashtag2"]},{"1338872326":["hashtag1","hashtag2"]},{"1338872329":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338872541, 1338872333, 1338872339, 1338872426, 1338872326, 1338872329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89205551147461 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:14:42.986710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/13/image_21022025_18_13_37_10455.jpg', '/home/pi/Desktop/images/21022025/18/14/image_21022025_18_14_16_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/13/image_21022025_18_13_37_10455.jpg
/home/pi/Desktop/images/21022025/18/14/image_21022025_18_14_16_10334.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338872558","1338872555"],"photo_ids_order":["1338872555","1338872558"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/477b6a5fc271c04674044f2d9480a49a.jpg","text":"TemporaryFile(/tmp/multipartBody6600594860086297498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158143416,"filename":"image_21022025_18_14_16_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23e325b4c0365e36e980deddc9ee14b6.jpg","text":"TemporaryFile(/tmp/multipartBody1512743331248845653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158143416,"filename":"image_21022025_18_13_37_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338872558","file0":"1338872555"},"map_files_photo_id_array":[{"photo_id":"1338872558","filename":"file1"},{"photo_id":"1338872555","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338872558":["hashtag1","hashtag2"]},{"1338872555":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338872558, 1338872555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.883991718292236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:15:04.660190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/29/image_20022025_18_29_16_9389.jpg', '/home/pi/Desktop/images/20022025/18/29/image_20022025_18_29_26_10337.jpg', '/home/pi/Desktop/images/20022025/18/29/image_20022025_18_29_46_10324.jpg', '/home/pi/Desktop/images/20022025/18/29/image_20022025_18_30_06_9411.jpg', '/home/pi/Desktop/images/20022025/18/30/image_20022025_18_30_16_10449.jpg', '/home/pi/Desktop/images/20022025/18/30/image_20022025_18_30_36_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/29/image_20022025_18_29_16_9389.jpg
/home/pi/Desktop/images/20022025/18/29/image_20022025_18_29_26_10337.jpg
/home/pi/Desktop/images/20022025/18/29/image_20022025_18_29_46_10324.jpg
/home/pi/Desktop/images/20022025/18/29/image_20022025_18_30_06_9411.jpg
/home/pi/Desktop/images/20022025/18/30/image_20022025_18_30_16_10449.jpg
/home/pi/Desktop/images/20022025/18/30/image_20022025_18_30_36_9416.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338872634","1338872628","1338872631","1338872619","1338872606","1338872638"],"photo_ids_order":["1338872606","1338872619","1338872628","1338872631","1338872634","1338872638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81c8846fb533ea5b9dece910edf71225.jpg","text":"TemporaryFile(/tmp/multipartBody2881832836414310280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158166297,"filename":"image_20022025_18_30_16_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/34586220e04cd2acc5eaf350bb1bd303.jpg","text":"TemporaryFile(/tmp/multipartBody8465628758066443076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158166297,"filename":"image_20022025_18_29_46_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6fbef293cd0c9b9ba87c17a75af8c8e7.jpg","text":"TemporaryFile(/tmp/multipartBody5624500779157236247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158166297,"filename":"image_20022025_18_30_06_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/295cd49b6e2055d14e6fd8da2b1422ed.jpg","text":"TemporaryFile(/tmp/multipartBody5479517725062025474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158166297,"filename":"image_20022025_18_29_26_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2e9fc9cb57673423cf35d7a0057e6e58.jpg","text":"TemporaryFile(/tmp/multipartBody6252019846180126221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158166297,"filename":"image_20022025_18_29_16_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/da61b63fa9b03eca1d7df0a136056373.jpg","text":"TemporaryFile(/tmp/multipartBody9222231777870476828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158166297,"filename":"image_20022025_18_30_36_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338872628","file1":"1338872619","file0":"1338872606","file4":"1338872634","file5":"1338872638","file3":"1338872631"},"map_files_photo_id_array":[{"photo_id":"1338872638","filename":"file5"},{"photo_id":"1338872628","filename":"file2"},{"photo_id":"1338872634","filename":"file4"},{"photo_id":"1338872619","filename":"file1"},{"photo_id":"1338872606","filename":"file0"},{"photo_id":"1338872631","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338872634":["hashtag1","hashtag2"]},{"1338872628":["hashtag1","hashtag2"]},{"1338872631":["hashtag1","hashtag2"]},{"1338872619":["hashtag1","hashtag2"]},{"1338872606":["hashtag1","hashtag2"]},{"1338872638":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338872634, 1338872628, 1338872631, 1338872619, 1338872606, 1338872638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61468577384949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:15:43.119764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/30/image_20022025_18_30_56_9414.jpg', '/home/pi/Desktop/images/20022025/18/30/image_20022025_18_31_06_10341.jpg', '/home/pi/Desktop/images/20022025/18/31/image_20022025_18_31_16_10419.jpg', '/home/pi/Desktop/images/20022025/18/31/image_20022025_18_31_26_9341.jpg', '/home/pi/Desktop/images/20022025/18/31/image_20022025_18_31_36_10435.jpg', '/home/pi/Desktop/images/20022025/18/31/image_20022025_18_32_06_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/30/image_20022025_18_30_56_9414.jpg
/home/pi/Desktop/images/20022025/18/30/image_20022025_18_31_06_10341.jpg
/home/pi/Desktop/images/20022025/18/31/image_20022025_18_31_16_10419.jpg
/home/pi/Desktop/images/20022025/18/31/image_20022025_18_31_26_9341.jpg
/home/pi/Desktop/images/20022025/18/31/image_20022025_18_31_36_10435.jpg
/home/pi/Desktop/images/20022025/18/31/image_20022025_18_32_06_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338872661","1338872663","1338872648","1338872653","1338872656","1338872659"],"photo_ids_order":["1338872648","1338872653","1338872656","1338872659","1338872661","1338872663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/38c2a9a0d4832a868673bf9a7684bd4a.jpg","text":"TemporaryFile(/tmp/multipartBody7519783586762299655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158204408,"filename":"image_20022025_18_31_36_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2c66ec06fe062a01f8a32e1631d09819.jpg","text":"TemporaryFile(/tmp/multipartBody5819244143323416047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158204408,"filename":"image_20022025_18_32_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4ba2116a60ad37a5e98aeb053513170e.jpg","text":"TemporaryFile(/tmp/multipartBody8496481416177389844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158204408,"filename":"image_20022025_18_30_56_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c82b1b1ee01735400382bbe4eb81e22c.jpg","text":"TemporaryFile(/tmp/multipartBody6450933283598112035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158204408,"filename":"image_20022025_18_31_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1dcf047fdcca416975aa6731f37e6474.jpg","text":"TemporaryFile(/tmp/multipartBody3319094345855763722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158204408,"filename":"image_20022025_18_31_16_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f56713c4e5f481fa7eaecde3546309f4.jpg","text":"TemporaryFile(/tmp/multipartBody7014063013824464958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158204408,"filename":"image_20022025_18_31_26_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338872656","file1":"1338872653","file0":"1338872648","file4":"1338872661","file5":"1338872663","file3":"1338872659"},"map_files_photo_id_array":[{"photo_id":"1338872663","filename":"file5"},{"photo_id":"1338872656","filename":"file2"},{"photo_id":"1338872661","filename":"file4"},{"photo_id":"1338872653","filename":"file1"},{"photo_id":"1338872648","filename":"file0"},{"photo_id":"1338872659","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338872661":["hashtag1","hashtag2"]},{"1338872663":["hashtag1","hashtag2"]},{"1338872648":["hashtag1","hashtag2"]},{"1338872653":["hashtag1","hashtag2"]},{"1338872656":["hashtag1","hashtag2"]},{"1338872659":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338872661, 1338872663, 1338872648, 1338872653, 1338872656, 1338872659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.69173741340637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:16:32.503292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/14/image_21022025_18_14_27_10437.jpg', '/home/pi/Desktop/images/21022025/18/16/image_21022025_18_16_16_9402.jpg', '/home/pi/Desktop/images/21022025/18/16/image_21022025_18_16_27_10354.jpg', '/home/pi/Desktop/images/21022025/18/16/image_21022025_18_16_36_9381.jpg', '/home/pi/Desktop/images/21022025/18/16/image_21022025_18_16_46_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/14/image_21022025_18_14_27_10437.jpg
/home/pi/Desktop/images/21022025/18/16/image_21022025_18_16_16_9402.jpg
/home/pi/Desktop/images/21022025/18/16/image_21022025_18_16_27_10354.jpg
/home/pi/Desktop/images/21022025/18/16/image_21022025_18_16_36_9381.jpg
/home/pi/Desktop/images/21022025/18/16/image_21022025_18_16_46_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338872691","1338872685","1338872678","1338872674","1338872682"],"photo_ids_order":["1338872674","1338872678","1338872682","1338872685","1338872691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f79b7f5e841fca228c8dc03a8b09c38.jpg","text":"TemporaryFile(/tmp/multipartBody8034869454947454872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158253639,"filename":"image_21022025_18_16_46_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1d38e7be5fa1ade963479ff40c728630.jpg","text":"TemporaryFile(/tmp/multipartBody9166707860064631155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158253639,"filename":"image_21022025_18_16_36_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d888481ef93905d97b2da210018c2031.jpg","text":"TemporaryFile(/tmp/multipartBody8910897046366764092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158253639,"filename":"image_21022025_18_16_16_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/000e34537dd4ec532e76803964369963.jpg","text":"TemporaryFile(/tmp/multipartBody1022267746171678460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158253639,"filename":"image_21022025_18_14_27_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2bbe097d27eed7e1c770d74f28b37615.jpg","text":"TemporaryFile(/tmp/multipartBody6018812817827877141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158253639,"filename":"image_21022025_18_16_27_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338872682","file1":"1338872678","file0":"1338872674","file4":"1338872691","file3":"1338872685"},"map_files_photo_id_array":[{"photo_id":"1338872682","filename":"file2"},{"photo_id":"1338872691","filename":"file4"},{"photo_id":"1338872678","filename":"file1"},{"photo_id":"1338872674","filename":"file0"},{"photo_id":"1338872685","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338872691":["hashtag1","hashtag2"]},{"1338872685":["hashtag1","hashtag2"]},{"1338872678":["hashtag1","hashtag2"]},{"1338872674":["hashtag1","hashtag2"]},{"1338872682":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338872691, 1338872685, 1338872678, 1338872674, 1338872682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.1292667388916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:17:32.768825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/16/image_21022025_18_16_57_10442.jpg', '/home/pi/Desktop/images/21022025/18/17/image_21022025_18_17_27_10354.jpg', '/home/pi/Desktop/images/21022025/18/17/image_21022025_18_17_36_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/16/image_21022025_18_16_57_10442.jpg
/home/pi/Desktop/images/21022025/18/17/image_21022025_18_17_27_10354.jpg
/home/pi/Desktop/images/21022025/18/17/image_21022025_18_17_36_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338872733","1338872724","1338872729"],"photo_ids_order":["1338872724","1338872729","1338872733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5dd6a60d68605c75b294b8e696281200.jpg","text":"TemporaryFile(/tmp/multipartBody8161339504048336870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158313206,"filename":"image_21022025_18_17_36_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dcaf565f955ae4cc3d9b9f4e89abb565.jpg","text":"TemporaryFile(/tmp/multipartBody7569284510139181005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158313206,"filename":"image_21022025_18_16_57_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce0111ee90d2699f94329012a7e3d6d0.jpg","text":"TemporaryFile(/tmp/multipartBody8349616589113352173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158313206,"filename":"image_21022025_18_17_27_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338872733","file1":"1338872729","file0":"1338872724"},"map_files_photo_id_array":[{"photo_id":"1338872733","filename":"file2"},{"photo_id":"1338872729","filename":"file1"},{"photo_id":"1338872724","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338872733":["hashtag1","hashtag2"]},{"1338872724":["hashtag1","hashtag2"]},{"1338872729":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338872733, 1338872724, 1338872729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.566338539123535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:18:03.573662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/32/image_20022025_18_32_16_9415.jpg', '/home/pi/Desktop/images/20022025/18/32/image_20022025_18_32_26_10352.jpg', '/home/pi/Desktop/images/20022025/18/32/image_20022025_18_32_35_9436.jpg', '/home/pi/Desktop/images/20022025/18/32/image_20022025_18_32_46_10372.jpg', '/home/pi/Desktop/images/20022025/18/32/image_20022025_18_32_56_10377.jpg', '/home/pi/Desktop/images/20022025/18/32/image_20022025_18_33_06_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/32/image_20022025_18_32_16_9415.jpg
/home/pi/Desktop/images/20022025/18/32/image_20022025_18_32_26_10352.jpg
/home/pi/Desktop/images/20022025/18/32/image_20022025_18_32_35_9436.jpg
/home/pi/Desktop/images/20022025/18/32/image_20022025_18_32_46_10372.jpg
/home/pi/Desktop/images/20022025/18/32/image_20022025_18_32_56_10377.jpg
/home/pi/Desktop/images/20022025/18/32/image_20022025_18_33_06_9443.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338872745","1338872741","1338872752","1338872749","1338872758","1338872743"],"photo_ids_order":["1338872741","1338872743","1338872745","1338872749","1338872752","1338872758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a178c9ce8afcda17f1708015dc8dd87.jpg","text":"TemporaryFile(/tmp/multipartBody8689133518248144665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158344959,"filename":"image_20022025_18_32_35_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b6f30c8d1102c239544d46e67f3652bc.jpg","text":"TemporaryFile(/tmp/multipartBody8463293293605273944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158344959,"filename":"image_20022025_18_32_16_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f5fa0b6e3390a574ea8bb2ee37b43da6.jpg","text":"TemporaryFile(/tmp/multipartBody8750126612807494318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158344959,"filename":"image_20022025_18_32_56_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/29dff9453aa7386429194be0d0c51479.jpg","text":"TemporaryFile(/tmp/multipartBody3280831677623289358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158344959,"filename":"image_20022025_18_32_46_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e819d76c81bfad571f519f3e2031a9e3.jpg","text":"TemporaryFile(/tmp/multipartBody7931000815378860928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158344959,"filename":"image_20022025_18_33_06_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cc418afc9c6c54f9280eee1b6f7b41ce.jpg","text":"TemporaryFile(/tmp/multipartBody1124654488600808471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158344959,"filename":"image_20022025_18_32_26_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338872745","file1":"1338872743","file0":"1338872741","file4":"1338872752","file5":"1338872758","file3":"1338872749"},"map_files_photo_id_array":[{"photo_id":"1338872758","filename":"file5"},{"photo_id":"1338872745","filename":"file2"},{"photo_id":"1338872752","filename":"file4"},{"photo_id":"1338872743","filename":"file1"},{"photo_id":"1338872741","filename":"file0"},{"photo_id":"1338872749","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338872745":["hashtag1","hashtag2"]},{"1338872741":["hashtag1","hashtag2"]},{"1338872752":["hashtag1","hashtag2"]},{"1338872749":["hashtag1","hashtag2"]},{"1338872758":["hashtag1","hashtag2"]},{"1338872743":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338872745, 1338872741, 1338872752, 1338872749, 1338872758, 1338872743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1935555934906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:18:42.921275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/17/image_21022025_18_17_46_10347.jpg', '/home/pi/Desktop/images/21022025/18/17/image_21022025_18_18_06_10340.jpg', '/home/pi/Desktop/images/21022025/18/18/image_21022025_18_18_17_10389.jpg', '/home/pi/Desktop/images/21022025/18/18/image_21022025_18_18_26_9339.jpg', '/home/pi/Desktop/images/21022025/18/18/image_21022025_18_18_36_10413.jpg', '/home/pi/Desktop/images/21022025/18/18/image_21022025_18_18_47_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/17/image_21022025_18_17_46_10347.jpg
/home/pi/Desktop/images/21022025/18/17/image_21022025_18_18_06_10340.jpg
/home/pi/Desktop/images/21022025/18/18/image_21022025_18_18_17_10389.jpg
/home/pi/Desktop/images/21022025/18/18/image_21022025_18_18_26_9339.jpg
/home/pi/Desktop/images/21022025/18/18/image_21022025_18_18_36_10413.jpg
/home/pi/Desktop/images/21022025/18/18/image_21022025_18_18_47_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338872772","1338872774","1338872777","1338872779","1338872767","1338872782"],"photo_ids_order":["1338872767","1338872772","1338872774","1338872777","1338872779","1338872782"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5891d46f288f9fcfe6ea9b423428140e.jpg","text":"TemporaryFile(/tmp/multipartBody5911883260320959004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158383549,"filename":"image_21022025_18_18_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eb10c9053e22aa907ceb355fb4692218.jpg","text":"TemporaryFile(/tmp/multipartBody4857942346635262626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158383549,"filename":"image_21022025_18_18_17_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/60b5ccf989746b75d22996cdf08868ea.jpg","text":"TemporaryFile(/tmp/multipartBody3796752403934589251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158383549,"filename":"image_21022025_18_18_26_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ad40e25365f8bc6a6819082a0826ae03.jpg","text":"TemporaryFile(/tmp/multipartBody1902081668991637957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158383549,"filename":"image_21022025_18_18_36_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3f2b0d23e2bb8b84e7b0cf608f6d3e2.jpg","text":"TemporaryFile(/tmp/multipartBody2148143534987095334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158383549,"filename":"image_21022025_18_17_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a966059bc95dfa2f8d2fca8c0098d9c5.jpg","text":"TemporaryFile(/tmp/multipartBody5339312206766822618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158383549,"filename":"image_21022025_18_18_47_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338872774","file1":"1338872772","file0":"1338872767","file4":"1338872779","file5":"1338872782","file3":"1338872777"},"map_files_photo_id_array":[{"photo_id":"1338872782","filename":"file5"},{"photo_id":"1338872774","filename":"file2"},{"photo_id":"1338872779","filename":"file4"},{"photo_id":"1338872772","filename":"file1"},{"photo_id":"1338872767","filename":"file0"},{"photo_id":"1338872777","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338872772":["hashtag1","hashtag2"]},{"1338872774":["hashtag1","hashtag2"]},{"1338872777":["hashtag1","hashtag2"]},{"1338872779":["hashtag1","hashtag2"]},{"1338872767":["hashtag1","hashtag2"]},{"1338872782":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338872772, 1338872774, 1338872777, 1338872779, 1338872767, 1338872782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.48660945892334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:19:32.374667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/18/image_21022025_18_18_56_9354.jpg', '/home/pi/Desktop/images/21022025/18/19/image_21022025_18_19_26_10365.jpg', '/home/pi/Desktop/images/21022025/18/19/image_21022025_18_19_46_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/18/image_21022025_18_18_56_9354.jpg
/home/pi/Desktop/images/21022025/18/19/image_21022025_18_19_26_10365.jpg
/home/pi/Desktop/images/21022025/18/19/image_21022025_18_19_46_9375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338872800","1338872792","1338872796"],"photo_ids_order":["1338872792","1338872796","1338872800"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c63a90e4abb217672a5b315468bc18aa.jpg","text":"TemporaryFile(/tmp/multipartBody4493399269121757373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158432827,"filename":"image_21022025_18_19_46_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e819c796704126b279e080d03af49a7.jpg","text":"TemporaryFile(/tmp/multipartBody7329970852432082279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158432827,"filename":"image_21022025_18_18_56_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/66cdd0ba1410728e1ae7c790e477c26d.jpg","text":"TemporaryFile(/tmp/multipartBody6957815455720884874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158432827,"filename":"image_21022025_18_19_26_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338872800","file1":"1338872796","file0":"1338872792"},"map_files_photo_id_array":[{"photo_id":"1338872800","filename":"file2"},{"photo_id":"1338872796","filename":"file1"},{"photo_id":"1338872792","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338872800":["hashtag1","hashtag2"]},{"1338872792":["hashtag1","hashtag2"]},{"1338872796":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338872800, 1338872792, 1338872796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.81012272834778 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:20:03.074735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/33/image_20022025_18_33_16_10337.jpg', '/home/pi/Desktop/images/20022025/18/33/image_20022025_18_33_26_10334.jpg', '/home/pi/Desktop/images/20022025/18/33/image_20022025_18_33_36_9410.jpg', '/home/pi/Desktop/images/20022025/18/33/image_20022025_18_33_46_10333.jpg', '/home/pi/Desktop/images/20022025/18/33/image_20022025_18_33_55_9444.jpg', '/home/pi/Desktop/images/20022025/18/34/image_20022025_18_34_16_10324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/33/image_20022025_18_33_16_10337.jpg
/home/pi/Desktop/images/20022025/18/33/image_20022025_18_33_26_10334.jpg
/home/pi/Desktop/images/20022025/18/33/image_20022025_18_33_36_9410.jpg
/home/pi/Desktop/images/20022025/18/33/image_20022025_18_33_46_10333.jpg
/home/pi/Desktop/images/20022025/18/33/image_20022025_18_33_55_9444.jpg
/home/pi/Desktop/images/20022025/18/34/image_20022025_18_34_16_10324.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338872892","1338872891","1338872885","1338872887","1338872895","1338872889"],"photo_ids_order":["1338872885","1338872887","1338872889","1338872891","1338872892","1338872895"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92cb8cd3ca270e17d7bc7457e690290e.jpg","text":"TemporaryFile(/tmp/multipartBody8009699060775819962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158464666,"filename":"image_20022025_18_33_55_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/15c026fdd100f7020c4b0470d343b6bf.jpg","text":"TemporaryFile(/tmp/multipartBody6866966852217616667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158464666,"filename":"image_20022025_18_33_46_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bf59e60d0501de888a4c4081e24247fd.jpg","text":"TemporaryFile(/tmp/multipartBody9178424202438189505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158464666,"filename":"image_20022025_18_33_16_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b221a67f9707b19d6c47aa72411a26dd.jpg","text":"TemporaryFile(/tmp/multipartBody342168133281651262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158464666,"filename":"image_20022025_18_33_26_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f0fdf09ee2e43931690d39ba52928cf.jpg","text":"TemporaryFile(/tmp/multipartBody2159253690889951242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158464666,"filename":"image_20022025_18_34_16_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f21d601531d78ace0c2d216c5f72af6.jpg","text":"TemporaryFile(/tmp/multipartBody5363848032360833388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158464666,"filename":"image_20022025_18_33_36_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338872889","file1":"1338872887","file0":"1338872885","file4":"1338872892","file5":"1338872895","file3":"1338872891"},"map_files_photo_id_array":[{"photo_id":"1338872895","filename":"file5"},{"photo_id":"1338872889","filename":"file2"},{"photo_id":"1338872892","filename":"file4"},{"photo_id":"1338872887","filename":"file1"},{"photo_id":"1338872885","filename":"file0"},{"photo_id":"1338872891","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338872892":["hashtag1","hashtag2"]},{"1338872891":["hashtag1","hashtag2"]},{"1338872885":["hashtag1","hashtag2"]},{"1338872887":["hashtag1","hashtag2"]},{"1338872895":["hashtag1","hashtag2"]},{"1338872889":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338872892, 1338872891, 1338872885, 1338872887, 1338872895, 1338872889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.715426445007324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:20:42.511465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/19/image_21022025_18_19_57_10460.jpg', '/home/pi/Desktop/images/21022025/18/19/image_21022025_18_20_06_9337.jpg', '/home/pi/Desktop/images/21022025/18/20/image_21022025_18_20_16_10329.jpg', '/home/pi/Desktop/images/21022025/18/20/image_21022025_18_20_27_10449.jpg', '/home/pi/Desktop/images/21022025/18/20/image_21022025_18_20_36_9444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/19/image_21022025_18_19_57_10460.jpg
/home/pi/Desktop/images/21022025/18/19/image_21022025_18_20_06_9337.jpg
/home/pi/Desktop/images/21022025/18/20/image_21022025_18_20_16_10329.jpg
/home/pi/Desktop/images/21022025/18/20/image_21022025_18_20_27_10449.jpg
/home/pi/Desktop/images/21022025/18/20/image_21022025_18_20_36_9444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338872922","1338872924","1338872918","1338872989","1338872914"],"photo_ids_order":["1338872914","1338872918","1338872922","1338872924","1338872989"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7269309e376e4ce7b242b5dfb1387c59.jpg","text":"TemporaryFile(/tmp/multipartBody3768849888485159837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158502994,"filename":"image_21022025_18_20_16_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/46db9cf659422012874452542441638c.jpg","text":"TemporaryFile(/tmp/multipartBody4335916420650962910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158502994,"filename":"image_21022025_18_20_27_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be83cade379f842fc7460f9695dc23ff.jpg","text":"TemporaryFile(/tmp/multipartBody1403461042976507280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158502994,"filename":"image_21022025_18_20_06_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1345defc6892bceffde4235ea8fac2e5.jpg","text":"TemporaryFile(/tmp/multipartBody9016700997550860313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158502994,"filename":"image_21022025_18_20_36_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/12171122270738e0e330bb255880c01c.jpg","text":"TemporaryFile(/tmp/multipartBody8425036581130142322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158502994,"filename":"image_21022025_18_19_57_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338872922","file1":"1338872918","file0":"1338872914","file4":"1338872989","file3":"1338872924"},"map_files_photo_id_array":[{"photo_id":"1338872922","filename":"file2"},{"photo_id":"1338872989","filename":"file4"},{"photo_id":"1338872918","filename":"file1"},{"photo_id":"1338872914","filename":"file0"},{"photo_id":"1338872924","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338872922":["hashtag1","hashtag2"]},{"1338872924":["hashtag1","hashtag2"]},{"1338872918":["hashtag1","hashtag2"]},{"1338872989":["hashtag1","hashtag2"]},{"1338872914":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338872922, 1338872924, 1338872918, 1338872989, 1338872914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.509650468826294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:21:32.616596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/20/image_21022025_18_20_47_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/20/image_21022025_18_20_47_10411.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338873851"],"photo_id":"1338873851","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3595b8a9475b420930cc9cc0879f24fb.jpg","text":"TemporaryFile(/tmp/multipartBody3295906755574050972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158553030,"filename":"image_21022025_18_20_47_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338873851"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338873851"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.461266994476318 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:21:52.628417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/34/image_20022025_18_34_36_10353.jpg', '/home/pi/Desktop/images/20022025/18/34/image_20022025_18_34_46_10350.jpg', '/home/pi/Desktop/images/20022025/18/34/image_20022025_18_34_56_9411.jpg', '/home/pi/Desktop/images/20022025/18/34/image_20022025_18_35_06_10370.jpg', '/home/pi/Desktop/images/20022025/18/35/image_20022025_18_35_15_9350.jpg', '/home/pi/Desktop/images/20022025/18/35/image_20022025_18_35_36_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/34/image_20022025_18_34_36_10353.jpg
/home/pi/Desktop/images/20022025/18/34/image_20022025_18_34_46_10350.jpg
/home/pi/Desktop/images/20022025/18/34/image_20022025_18_34_56_9411.jpg
/home/pi/Desktop/images/20022025/18/34/image_20022025_18_35_06_10370.jpg
/home/pi/Desktop/images/20022025/18/35/image_20022025_18_35_15_9350.jpg
/home/pi/Desktop/images/20022025/18/35/image_20022025_18_35_36_10354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338873884","1338874069","1338873883","1338874128","1338873882","1338874131"],"photo_ids_order":["1338873882","1338873883","1338873884","1338874069","1338874128","1338874131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8dc0944fd3b38e90e092df00371c1c13.jpg","text":"TemporaryFile(/tmp/multipartBody6179770342962779579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158575079,"filename":"image_20022025_18_34_56_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5ba1da08ae178269088ff76c9317b020.jpg","text":"TemporaryFile(/tmp/multipartBody1466965747587467259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158575079,"filename":"image_20022025_18_35_06_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e47a650432badcbc56971218825c324c.jpg","text":"TemporaryFile(/tmp/multipartBody8145698178954334065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158575079,"filename":"image_20022025_18_34_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff0bacb72d74f6e7a1edb227e6f6013b.jpg","text":"TemporaryFile(/tmp/multipartBody3640876538310212649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158575079,"filename":"image_20022025_18_35_15_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7f3511dfdf457b33c6bfd86dc99c6474.jpg","text":"TemporaryFile(/tmp/multipartBody786256842211936444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158575079,"filename":"image_20022025_18_34_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/deec76b860d3c6316640a75fde49bc72.jpg","text":"TemporaryFile(/tmp/multipartBody1583602551526255028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158575079,"filename":"image_20022025_18_35_36_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338873884","file1":"1338873883","file0":"1338873882","file4":"1338874128","file5":"1338874131","file3":"1338874069"},"map_files_photo_id_array":[{"photo_id":"1338874131","filename":"file5"},{"photo_id":"1338873884","filename":"file2"},{"photo_id":"1338874128","filename":"file4"},{"photo_id":"1338873883","filename":"file1"},{"photo_id":"1338873882","filename":"file0"},{"photo_id":"1338874069","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338873884":["hashtag1","hashtag2"]},{"1338874069":["hashtag1","hashtag2"]},{"1338873883":["hashtag1","hashtag2"]},{"1338874128":["hashtag1","hashtag2"]},{"1338873882":["hashtag1","hashtag2"]},{"1338874131":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338873884, 1338874069, 1338873883, 1338874128, 1338873882, 1338874131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.577799558639526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:22:32.949821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/21/image_21022025_18_21_56_9348.jpg', '/home/pi/Desktop/images/21022025/18/21/image_21022025_18_22_07_10416.jpg', '/home/pi/Desktop/images/21022025/18/22/image_21022025_18_22_46_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/21/image_21022025_18_21_56_9348.jpg
/home/pi/Desktop/images/21022025/18/21/image_21022025_18_22_07_10416.jpg
/home/pi/Desktop/images/21022025/18/22/image_21022025_18_22_46_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338874259","1338874216","1338874272"],"photo_ids_order":["1338874216","1338874259","1338874272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/64f3e1ecd7e4b20273164f4614f0012f.jpg","text":"TemporaryFile(/tmp/multipartBody8224193338951063345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158613519,"filename":"image_21022025_18_22_07_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3cf542636a2152fd0f4481d1253dd55b.jpg","text":"TemporaryFile(/tmp/multipartBody861691919481467477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158613519,"filename":"image_21022025_18_21_56_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/203d38f7f4186b4d386cae9e4410fe19.jpg","text":"TemporaryFile(/tmp/multipartBody973375696158179232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158613519,"filename":"image_21022025_18_22_46_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338874272","file1":"1338874259","file0":"1338874216"},"map_files_photo_id_array":[{"photo_id":"1338874272","filename":"file2"},{"photo_id":"1338874259","filename":"file1"},{"photo_id":"1338874216","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338874259":["hashtag1","hashtag2"]},{"1338874216":["hashtag1","hashtag2"]},{"1338874272":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338874259, 1338874216, 1338874272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.534831285476685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:23:04.386619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/35/image_20022025_18_35_56_10352.jpg', '/home/pi/Desktop/images/20022025/18/36/image_20022025_18_36_16_9379.jpg', '/home/pi/Desktop/images/20022025/18/36/image_20022025_18_36_35_9347.jpg', '/home/pi/Desktop/images/20022025/18/36/image_20022025_18_36_46_10433.jpg', '/home/pi/Desktop/images/20022025/18/37/image_20022025_18_37_46_10342.jpg', '/home/pi/Desktop/images/20022025/18/37/image_20022025_18_37_56_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/35/image_20022025_18_35_56_10352.jpg
/home/pi/Desktop/images/20022025/18/36/image_20022025_18_36_16_9379.jpg
/home/pi/Desktop/images/20022025/18/36/image_20022025_18_36_35_9347.jpg
/home/pi/Desktop/images/20022025/18/36/image_20022025_18_36_46_10433.jpg
/home/pi/Desktop/images/20022025/18/37/image_20022025_18_37_46_10342.jpg
/home/pi/Desktop/images/20022025/18/37/image_20022025_18_37_56_10356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338874528","1338874507","1338874522","1338874402","1338874524","1338874512"],"photo_ids_order":["1338874402","1338874507","1338874512","1338874522","1338874524","1338874528"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/67b71816087f37a12658b8ccb1f612e2.jpg","text":"TemporaryFile(/tmp/multipartBody7946351601552962038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158646156,"filename":"image_20022025_18_37_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/16a105aa90d48a6a397b6e0a0e5b741a.jpg","text":"TemporaryFile(/tmp/multipartBody2768302406799646029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158646156,"filename":"image_20022025_18_36_16_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/999948b1ee45f2897fec79839f556bbe.jpg","text":"TemporaryFile(/tmp/multipartBody1999142537195735204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158646156,"filename":"image_20022025_18_36_46_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/94f9323649ecce48428d140dd7fe11eb.jpg","text":"TemporaryFile(/tmp/multipartBody5175269133767089642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158646156,"filename":"image_20022025_18_35_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0636588dd1b02a850571f43dd119f033.jpg","text":"TemporaryFile(/tmp/multipartBody7106435948061532902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158646156,"filename":"image_20022025_18_37_46_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a3b03158da24223fc85c9e2fcce00282.jpg","text":"TemporaryFile(/tmp/multipartBody7371145758136367190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158646156,"filename":"image_20022025_18_36_35_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338874512","file1":"1338874507","file0":"1338874402","file4":"1338874524","file5":"1338874528","file3":"1338874522"},"map_files_photo_id_array":[{"photo_id":"1338874528","filename":"file5"},{"photo_id":"1338874512","filename":"file2"},{"photo_id":"1338874524","filename":"file4"},{"photo_id":"1338874507","filename":"file1"},{"photo_id":"1338874402","filename":"file0"},{"photo_id":"1338874522","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338874528":["hashtag1","hashtag2"]},{"1338874507":["hashtag1","hashtag2"]},{"1338874522":["hashtag1","hashtag2"]},{"1338874402":["hashtag1","hashtag2"]},{"1338874524":["hashtag1","hashtag2"]},{"1338874512":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338874528, 1338874507, 1338874522, 1338874402, 1338874524, 1338874512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91833996772766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:23:43.062883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/22/image_21022025_18_22_56_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/22/image_21022025_18_22_56_10343.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338874559"],"photo_id":"1338874559","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5348afef0f1e4bc31c12d2134ad2a135.jpg","text":"TemporaryFile(/tmp/multipartBody2412194188871552852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158683478,"filename":"image_21022025_18_22_56_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338874559"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338874559"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.068238973617554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:24:02.957061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/38/image_20022025_18_38_16_10342.jpg', '/home/pi/Desktop/images/20022025/18/38/image_20022025_18_38_25_9411.jpg', '/home/pi/Desktop/images/20022025/18/38/image_20022025_18_38_36_10400.jpg', '/home/pi/Desktop/images/20022025/18/38/image_20022025_18_38_46_10460.jpg', '/home/pi/Desktop/images/20022025/18/38/image_20022025_18_38_56_9331.jpg', '/home/pi/Desktop/images/20022025/18/39/image_20022025_18_39_15_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/38/image_20022025_18_38_16_10342.jpg
/home/pi/Desktop/images/20022025/18/38/image_20022025_18_38_25_9411.jpg
/home/pi/Desktop/images/20022025/18/38/image_20022025_18_38_36_10400.jpg
/home/pi/Desktop/images/20022025/18/38/image_20022025_18_38_46_10460.jpg
/home/pi/Desktop/images/20022025/18/38/image_20022025_18_38_56_9331.jpg
/home/pi/Desktop/images/20022025/18/39/image_20022025_18_39_15_9443.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338874667","1338874589","1338874648","1338874603","1338874665","1338874650"],"photo_ids_order":["1338874589","1338874603","1338874648","1338874650","1338874665","1338874667"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9f072cf52175fd141112e9fc01f8291b.jpg","text":"TemporaryFile(/tmp/multipartBody6763199335515019967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158704344,"filename":"image_20022025_18_39_15_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dfd871a1557954d3ac3d84adf275a17f.jpg","text":"TemporaryFile(/tmp/multipartBody6463136415297718219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158704344,"filename":"image_20022025_18_38_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8f16d5209d6691fad3f4c2d91d5fe0fc.jpg","text":"TemporaryFile(/tmp/multipartBody6640783729106615443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158704344,"filename":"image_20022025_18_38_36_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6af7555d1cb7c0fdc30aeccd82aec786.jpg","text":"TemporaryFile(/tmp/multipartBody8233466454481151254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158704344,"filename":"image_20022025_18_38_25_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e61fa6b96e2427efd2f2d01439f4b341.jpg","text":"TemporaryFile(/tmp/multipartBody3683958162830589399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158704344,"filename":"image_20022025_18_38_56_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d64381442687c2652c5cded876b90556.jpg","text":"TemporaryFile(/tmp/multipartBody6379429858674997069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158704344,"filename":"image_20022025_18_38_46_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338874648","file1":"1338874603","file0":"1338874589","file4":"1338874665","file5":"1338874667","file3":"1338874650"},"map_files_photo_id_array":[{"photo_id":"1338874667","filename":"file5"},{"photo_id":"1338874648","filename":"file2"},{"photo_id":"1338874665","filename":"file4"},{"photo_id":"1338874603","filename":"file1"},{"photo_id":"1338874589","filename":"file0"},{"photo_id":"1338874650","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338874667":["hashtag1","hashtag2"]},{"1338874589":["hashtag1","hashtag2"]},{"1338874648":["hashtag1","hashtag2"]},{"1338874603":["hashtag1","hashtag2"]},{"1338874665":["hashtag1","hashtag2"]},{"1338874650":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338874667, 1338874589, 1338874648, 1338874603, 1338874665, 1338874650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61137866973877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:24:42.282018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/23/image_21022025_18_23_46_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/23/image_21022025_18_23_46_10395.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338874683"],"photo_id":"1338874683","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0bdb3b71248fb7d94acc2d1dde168cfb.jpg","text":"TemporaryFile(/tmp/multipartBody8347178192474150000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158742775,"filename":"image_21022025_18_23_46_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338874683"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338874683"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.29622745513916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:25:04.172380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/39/image_20022025_18_39_26_10432.jpg', '/home/pi/Desktop/images/20022025/18/39/image_20022025_18_39_56_10377.jpg', '/home/pi/Desktop/images/20022025/18/39/image_20022025_18_40_06_10316.jpg', '/home/pi/Desktop/images/20022025/18/40/image_20022025_18_40_16_9437.jpg', '/home/pi/Desktop/images/20022025/18/40/image_20022025_18_40_26_10336.jpg', '/home/pi/Desktop/images/20022025/18/40/image_20022025_18_40_36_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/39/image_20022025_18_39_26_10432.jpg
/home/pi/Desktop/images/20022025/18/39/image_20022025_18_39_56_10377.jpg
/home/pi/Desktop/images/20022025/18/39/image_20022025_18_40_06_10316.jpg
/home/pi/Desktop/images/20022025/18/40/image_20022025_18_40_16_9437.jpg
/home/pi/Desktop/images/20022025/18/40/image_20022025_18_40_26_10336.jpg
/home/pi/Desktop/images/20022025/18/40/image_20022025_18_40_36_9383.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338874739","1338874724","1338874732","1338874773","1338874737","1338874728"],"photo_ids_order":["1338874724","1338874728","1338874732","1338874737","1338874739","1338874773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cfc62dcad54c1427b35b50cbf050edd4.jpg","text":"TemporaryFile(/tmp/multipartBody7111315090608378853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158765962,"filename":"image_20022025_18_40_26_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/47abd17242fea4f6b0966b811821f701.jpg","text":"TemporaryFile(/tmp/multipartBody7816839049661562783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158765962,"filename":"image_20022025_18_39_26_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8a1283fc7e3e0fb46a1e1300bcbf458d.jpg","text":"TemporaryFile(/tmp/multipartBody3367679878382447468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158765962,"filename":"image_20022025_18_40_06_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac8e2d0d4ef70c0706b63f7aa1b9d39b.jpg","text":"TemporaryFile(/tmp/multipartBody5965310289968980707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158765962,"filename":"image_20022025_18_40_36_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/14a842a40a62565b795784cf127732ab.jpg","text":"TemporaryFile(/tmp/multipartBody7348151154108122483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158765962,"filename":"image_20022025_18_40_16_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7dfa12e0f3e095b3b297d161ece1f312.jpg","text":"TemporaryFile(/tmp/multipartBody3526282771004299249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158765962,"filename":"image_20022025_18_39_56_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338874732","file1":"1338874728","file0":"1338874724","file4":"1338874739","file5":"1338874773","file3":"1338874737"},"map_files_photo_id_array":[{"photo_id":"1338874773","filename":"file5"},{"photo_id":"1338874732","filename":"file2"},{"photo_id":"1338874739","filename":"file4"},{"photo_id":"1338874728","filename":"file1"},{"photo_id":"1338874724","filename":"file0"},{"photo_id":"1338874737","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338874739":["hashtag1","hashtag2"]},{"1338874724":["hashtag1","hashtag2"]},{"1338874732":["hashtag1","hashtag2"]},{"1338874773":["hashtag1","hashtag2"]},{"1338874737":["hashtag1","hashtag2"]},{"1338874728":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338874739, 1338874724, 1338874732, 1338874773, 1338874737, 1338874728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1304566860199 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:25:42.556054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/24/image_21022025_18_24_36_9351.jpg', '/home/pi/Desktop/images/21022025/18/25/image_21022025_18_25_26_9424.jpg', '/home/pi/Desktop/images/21022025/18/25/image_21022025_18_25_37_10349.jpg', '/home/pi/Desktop/images/21022025/18/25/image_21022025_18_25_47_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/24/image_21022025_18_24_36_9351.jpg
/home/pi/Desktop/images/21022025/18/25/image_21022025_18_25_26_9424.jpg
/home/pi/Desktop/images/21022025/18/25/image_21022025_18_25_37_10349.jpg
/home/pi/Desktop/images/21022025/18/25/image_21022025_18_25_47_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338874820","1338874791","1338874794","1338874833"],"photo_ids_order":["1338874791","1338874794","1338874820","1338874833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6d04d76bb30d426f786480447a852d79.jpg","text":"TemporaryFile(/tmp/multipartBody2835588210209688852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158803053,"filename":"image_21022025_18_25_37_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff37b1d5a0df71c8a684a6355b61e8ed.jpg","text":"TemporaryFile(/tmp/multipartBody7013737802377752181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158803053,"filename":"image_21022025_18_24_36_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/718079aed4d82d6b00dbf658312704fe.jpg","text":"TemporaryFile(/tmp/multipartBody8020119124198163712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158803053,"filename":"image_21022025_18_25_26_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/987e06fe1305f3f3cf8da40b12d8c40b.jpg","text":"TemporaryFile(/tmp/multipartBody2915082213156389630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158803053,"filename":"image_21022025_18_25_47_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338874820","file1":"1338874794","file0":"1338874791","file3":"1338874833"},"map_files_photo_id_array":[{"photo_id":"1338874820","filename":"file2"},{"photo_id":"1338874794","filename":"file1"},{"photo_id":"1338874791","filename":"file0"},{"photo_id":"1338874833","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338874820":["hashtag1","hashtag2"]},{"1338874791":["hashtag1","hashtag2"]},{"1338874794":["hashtag1","hashtag2"]},{"1338874833":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338874820, 1338874791, 1338874794, 1338874833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.49744153022766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:26:32.746804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/25/image_21022025_18_25_56_9343.jpg', '/home/pi/Desktop/images/21022025/18/25/image_21022025_18_26_07_10457.jpg', '/home/pi/Desktop/images/21022025/18/26/image_21022025_18_26_16_9349.jpg', '/home/pi/Desktop/images/21022025/18/26/image_21022025_18_26_37_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/25/image_21022025_18_25_56_9343.jpg
/home/pi/Desktop/images/21022025/18/25/image_21022025_18_26_07_10457.jpg
/home/pi/Desktop/images/21022025/18/26/image_21022025_18_26_16_9349.jpg
/home/pi/Desktop/images/21022025/18/26/image_21022025_18_26_37_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338874865","1338874851","1338874854","1338874857"],"photo_ids_order":["1338874851","1338874854","1338874857","1338874865"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f6296f0d2ba8979c48515b18495b8f2a.jpg","text":"TemporaryFile(/tmp/multipartBody4993414444960214681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158853193,"filename":"image_21022025_18_26_37_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e67efd9ed34da7c83b98d0f5478b7fde.jpg","text":"TemporaryFile(/tmp/multipartBody4199533207022510493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158853193,"filename":"image_21022025_18_25_56_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1f2a37e1647c68f27abc3ee6e383ae1.jpg","text":"TemporaryFile(/tmp/multipartBody6018874067443462215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158853193,"filename":"image_21022025_18_26_07_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2eb5cbe3d225839b6017650dc9ccc7a5.jpg","text":"TemporaryFile(/tmp/multipartBody5455186215361161543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158853193,"filename":"image_21022025_18_26_16_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338874857","file1":"1338874854","file0":"1338874851","file3":"1338874865"},"map_files_photo_id_array":[{"photo_id":"1338874857","filename":"file2"},{"photo_id":"1338874854","filename":"file1"},{"photo_id":"1338874851","filename":"file0"},{"photo_id":"1338874865","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338874865":["hashtag1","hashtag2"]},{"1338874851":["hashtag1","hashtag2"]},{"1338874854":["hashtag1","hashtag2"]},{"1338874857":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338874865, 1338874851, 1338874854, 1338874857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.63929533958435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:27:04.283287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/40/image_20022025_18_40_46_10324.jpg', '/home/pi/Desktop/images/20022025/18/40/image_20022025_18_41_06_9399.jpg', '/home/pi/Desktop/images/20022025/18/41/image_20022025_18_41_26_10328.jpg', '/home/pi/Desktop/images/20022025/18/41/image_20022025_18_41_36_9383.jpg', '/home/pi/Desktop/images/20022025/18/41/image_20022025_18_41_46_10391.jpg', '/home/pi/Desktop/images/20022025/18/41/image_20022025_18_41_56_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/40/image_20022025_18_40_46_10324.jpg
/home/pi/Desktop/images/20022025/18/40/image_20022025_18_41_06_9399.jpg
/home/pi/Desktop/images/20022025/18/41/image_20022025_18_41_26_10328.jpg
/home/pi/Desktop/images/20022025/18/41/image_20022025_18_41_36_9383.jpg
/home/pi/Desktop/images/20022025/18/41/image_20022025_18_41_46_10391.jpg
/home/pi/Desktop/images/20022025/18/41/image_20022025_18_41_56_10348.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338875030","1338874954","1338875190","1338874896","1338875112","1338874893"],"photo_ids_order":["1338874893","1338874896","1338874954","1338875030","1338875112","1338875190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7620e21c676faa9f6d6ad85cb3bfc70.jpg","text":"TemporaryFile(/tmp/multipartBody6466639640988461632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158886018,"filename":"image_20022025_18_41_36_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d35752a1d71434f8df00a58b4741aa28.jpg","text":"TemporaryFile(/tmp/multipartBody8424970619506952457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158886018,"filename":"image_20022025_18_41_26_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a66583694c0ebea6a3cdaffaea4df312.jpg","text":"TemporaryFile(/tmp/multipartBody3981254028701239893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158886018,"filename":"image_20022025_18_41_56_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/47e6f5e7a4bc70b937ba2985080b3e0e.jpg","text":"TemporaryFile(/tmp/multipartBody8741446576643003256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158886018,"filename":"image_20022025_18_41_06_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b8bfd44bc319436ad561f980a5fe4586.jpg","text":"TemporaryFile(/tmp/multipartBody3123053637390192607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158886018,"filename":"image_20022025_18_41_46_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a3c6d5df9e3e8811f63f3597364ebf6f.jpg","text":"TemporaryFile(/tmp/multipartBody4702672090740062989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158886018,"filename":"image_20022025_18_40_46_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338874954","file1":"1338874896","file0":"1338874893","file4":"1338875112","file5":"1338875190","file3":"1338875030"},"map_files_photo_id_array":[{"photo_id":"1338875190","filename":"file5"},{"photo_id":"1338874954","filename":"file2"},{"photo_id":"1338875112","filename":"file4"},{"photo_id":"1338874896","filename":"file1"},{"photo_id":"1338874893","filename":"file0"},{"photo_id":"1338875030","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338875030":["hashtag1","hashtag2"]},{"1338874954":["hashtag1","hashtag2"]},{"1338875190":["hashtag1","hashtag2"]},{"1338874896":["hashtag1","hashtag2"]},{"1338875112":["hashtag1","hashtag2"]},{"1338874893":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338875030, 1338874954, 1338875190, 1338874896, 1338875112, 1338874893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23887300491333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:27:42.960813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/26/image_21022025_18_26_46_9348.jpg', '/home/pi/Desktop/images/21022025/18/27/image_21022025_18_27_16_9342.jpg', '/home/pi/Desktop/images/21022025/18/27/image_21022025_18_27_27_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/26/image_21022025_18_26_46_9348.jpg
/home/pi/Desktop/images/21022025/18/27/image_21022025_18_27_16_9342.jpg
/home/pi/Desktop/images/21022025/18/27/image_21022025_18_27_27_10405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338875498","1338875678","1338875570"],"photo_ids_order":["1338875498","1338875570","1338875678"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6bd01a192d05b87f820d393a278eba22.jpg","text":"TemporaryFile(/tmp/multipartBody8674105281222398591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158923395,"filename":"image_21022025_18_26_46_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/190e1a41368bdef23b7498ae276a8fc6.jpg","text":"TemporaryFile(/tmp/multipartBody7116690403604472784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158923395,"filename":"image_21022025_18_27_27_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/950bed58328018ebe712e6d23e01cf31.jpg","text":"TemporaryFile(/tmp/multipartBody5298808009212320385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158923395,"filename":"image_21022025_18_27_16_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338875678","file1":"1338875570","file0":"1338875498"},"map_files_photo_id_array":[{"photo_id":"1338875678","filename":"file2"},{"photo_id":"1338875570","filename":"file1"},{"photo_id":"1338875498","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338875498":["hashtag1","hashtag2"]},{"1338875678":["hashtag1","hashtag2"]},{"1338875570":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338875498, 1338875678, 1338875570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.772804975509644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:28:32.248142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/27/image_21022025_18_27_57_10435.jpg', '/home/pi/Desktop/images/21022025/18/28/image_21022025_18_28_36_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/27/image_21022025_18_27_57_10435.jpg
/home/pi/Desktop/images/21022025/18/28/image_21022025_18_28_36_9352.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338876001","1338876005"],"photo_ids_order":["1338876001","1338876005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23ddb9e24e0c4b68e9ab0d9960b0c550.jpg","text":"TemporaryFile(/tmp/multipartBody7156062962140954212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158972727,"filename":"image_21022025_18_27_57_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a214187dd04422ae4b9c0852bf085b2.jpg","text":"TemporaryFile(/tmp/multipartBody8496193653266732670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158972727,"filename":"image_21022025_18_28_36_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338876005","file0":"1338876001"},"map_files_photo_id_array":[{"photo_id":"1338876005","filename":"file1"},{"photo_id":"1338876001","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338876001":["hashtag1","hashtag2"]},{"1338876005":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338876001, 1338876005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.880018711090088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:28:52.223559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/41/image_20022025_18_42_06_9394.jpg', '/home/pi/Desktop/images/20022025/18/42/image_20022025_18_42_16_10330.jpg', '/home/pi/Desktop/images/20022025/18/42/image_20022025_18_42_36_10332.jpg', '/home/pi/Desktop/images/20022025/18/42/image_20022025_18_42_46_10338.jpg', '/home/pi/Desktop/images/20022025/18/42/image_20022025_18_42_56_9401.jpg', '/home/pi/Desktop/images/20022025/18/42/image_20022025_18_43_06_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/41/image_20022025_18_42_06_9394.jpg
/home/pi/Desktop/images/20022025/18/42/image_20022025_18_42_16_10330.jpg
/home/pi/Desktop/images/20022025/18/42/image_20022025_18_42_36_10332.jpg
/home/pi/Desktop/images/20022025/18/42/image_20022025_18_42_46_10338.jpg
/home/pi/Desktop/images/20022025/18/42/image_20022025_18_42_56_9401.jpg
/home/pi/Desktop/images/20022025/18/42/image_20022025_18_43_06_10342.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338876014","1338876025","1338876013","1338876015","1338876020","1338876017"],"photo_ids_order":["1338876013","1338876014","1338876015","1338876017","1338876020","1338876025"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/edb2b8f290761e9282fc880e37aa7701.jpg","text":"TemporaryFile(/tmp/multipartBody1115340291813988076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158994321,"filename":"image_20022025_18_42_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a208decdeb75fdb1d5abe6eb95af38fd.jpg","text":"TemporaryFile(/tmp/multipartBody2597708348728569903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158994321,"filename":"image_20022025_18_43_06_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d6a1549bf85197968a3b3bfe1a8acc57.jpg","text":"TemporaryFile(/tmp/multipartBody7081221056184840892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158994321,"filename":"image_20022025_18_42_06_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/004865eac1203e4a67e54434ed66dc10.jpg","text":"TemporaryFile(/tmp/multipartBody1891539063988883598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158994321,"filename":"image_20022025_18_42_36_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3a055919422c3dfae38e8fed8538d1d0.jpg","text":"TemporaryFile(/tmp/multipartBody5749794414192301908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158994321,"filename":"image_20022025_18_42_56_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ed626511710a46fd12139c3c34bfe9c6.jpg","text":"TemporaryFile(/tmp/multipartBody7557344828217900594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740158994321,"filename":"image_20022025_18_42_46_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338876015","file1":"1338876014","file0":"1338876013","file4":"1338876020","file5":"1338876025","file3":"1338876017"},"map_files_photo_id_array":[{"photo_id":"1338876025","filename":"file5"},{"photo_id":"1338876015","filename":"file2"},{"photo_id":"1338876020","filename":"file4"},{"photo_id":"1338876014","filename":"file1"},{"photo_id":"1338876013","filename":"file0"},{"photo_id":"1338876017","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338876014":["hashtag1","hashtag2"]},{"1338876025":["hashtag1","hashtag2"]},{"1338876013":["hashtag1","hashtag2"]},{"1338876015":["hashtag1","hashtag2"]},{"1338876020":["hashtag1","hashtag2"]},{"1338876017":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338876014, 1338876025, 1338876013, 1338876015, 1338876020, 1338876017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.188621282577515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:29:32.500104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/28/image_21022025_18_28_47_10428.jpg', '/home/pi/Desktop/images/21022025/18/28/image_21022025_18_29_06_10340.jpg', '/home/pi/Desktop/images/21022025/18/29/image_21022025_18_29_17_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/28/image_21022025_18_28_47_10428.jpg
/home/pi/Desktop/images/21022025/18/28/image_21022025_18_29_06_10340.jpg
/home/pi/Desktop/images/21022025/18/29/image_21022025_18_29_17_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338876328","1338876282","1338876201"],"photo_ids_order":["1338876201","1338876282","1338876328"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0c94c80e6afc993f83ac7ece61e7478b.jpg","text":"TemporaryFile(/tmp/multipartBody3131625348297145412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159032939,"filename":"image_21022025_18_29_17_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4ab7156c1528472804410edb697f1578.jpg","text":"TemporaryFile(/tmp/multipartBody2966855109515180393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159032939,"filename":"image_21022025_18_29_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/58823544149991b1d27c9d658f30fd3f.jpg","text":"TemporaryFile(/tmp/multipartBody5486072760962217576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159032939,"filename":"image_21022025_18_28_47_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338876328","file1":"1338876282","file0":"1338876201"},"map_files_photo_id_array":[{"photo_id":"1338876328","filename":"file2"},{"photo_id":"1338876282","filename":"file1"},{"photo_id":"1338876201","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338876328":["hashtag1","hashtag2"]},{"1338876282":["hashtag1","hashtag2"]},{"1338876201":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338876328, 1338876282, 1338876201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.775761365890503 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:30:03.306279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/43/image_20022025_18_43_26_9351.jpg', '/home/pi/Desktop/images/20022025/18/43/image_20022025_18_43_36_10352.jpg', '/home/pi/Desktop/images/20022025/18/43/image_20022025_18_43_45_9388.jpg', '/home/pi/Desktop/images/20022025/18/43/image_20022025_18_43_56_10416.jpg', '/home/pi/Desktop/images/20022025/18/44/image_20022025_18_44_36_10327.jpg', '/home/pi/Desktop/images/20022025/18/44/image_20022025_18_44_46_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/43/image_20022025_18_43_26_9351.jpg
/home/pi/Desktop/images/20022025/18/43/image_20022025_18_43_36_10352.jpg
/home/pi/Desktop/images/20022025/18/43/image_20022025_18_43_45_9388.jpg
/home/pi/Desktop/images/20022025/18/43/image_20022025_18_43_56_10416.jpg
/home/pi/Desktop/images/20022025/18/44/image_20022025_18_44_36_10327.jpg
/home/pi/Desktop/images/20022025/18/44/image_20022025_18_44_46_9387.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338876351","1338876426","1338876420","1338876423","1338876425","1338876428"],"photo_ids_order":["1338876351","1338876420","1338876423","1338876425","1338876426","1338876428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/196d306cdf7d7e736354a3031d70d8d6.jpg","text":"TemporaryFile(/tmp/multipartBody2488182798031627973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159064731,"filename":"image_20022025_18_43_26_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3e7c84417cb42d658d21d23ec61ed5ad.jpg","text":"TemporaryFile(/tmp/multipartBody3582013282889008249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159064731,"filename":"image_20022025_18_44_36_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9bd75b0384d2316ece8d4eb199a18119.jpg","text":"TemporaryFile(/tmp/multipartBody4881503771396427580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159064731,"filename":"image_20022025_18_43_36_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a9f0232687fcdc46e07c22fe25c10b34.jpg","text":"TemporaryFile(/tmp/multipartBody2388250974600132551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159064731,"filename":"image_20022025_18_43_45_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e3730a7a71e657d72ef874cf32401878.jpg","text":"TemporaryFile(/tmp/multipartBody8385466907173517235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159064731,"filename":"image_20022025_18_43_56_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a12383c16d8df31b870fb0bc439121fa.jpg","text":"TemporaryFile(/tmp/multipartBody1137965941226845214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159064731,"filename":"image_20022025_18_44_46_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338876423","file1":"1338876420","file0":"1338876351","file4":"1338876426","file5":"1338876428","file3":"1338876425"},"map_files_photo_id_array":[{"photo_id":"1338876428","filename":"file5"},{"photo_id":"1338876423","filename":"file2"},{"photo_id":"1338876426","filename":"file4"},{"photo_id":"1338876420","filename":"file1"},{"photo_id":"1338876351","filename":"file0"},{"photo_id":"1338876425","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338876351":["hashtag1","hashtag2"]},{"1338876426":["hashtag1","hashtag2"]},{"1338876420":["hashtag1","hashtag2"]},{"1338876423":["hashtag1","hashtag2"]},{"1338876425":["hashtag1","hashtag2"]},{"1338876428":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338876351, 1338876426, 1338876420, 1338876423, 1338876425, 1338876428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96404552459717 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:30:42.738536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/29/image_21022025_18_29_37_10420.jpg', '/home/pi/Desktop/images/21022025/18/29/image_21022025_18_30_07_10479.jpg', '/home/pi/Desktop/images/21022025/18/30/image_21022025_18_30_37_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/29/image_21022025_18_29_37_10420.jpg
/home/pi/Desktop/images/21022025/18/29/image_21022025_18_30_07_10479.jpg
/home/pi/Desktop/images/21022025/18/30/image_21022025_18_30_37_10334.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338876538","1338876528","1338876548"],"photo_ids_order":["1338876528","1338876538","1338876548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d21db4b17e4650ee7a8dcca756f3a5aa.jpg","text":"TemporaryFile(/tmp/multipartBody8796236227563850461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159103185,"filename":"image_21022025_18_30_07_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fb0f52268dba81fac454e4d347306367.jpg","text":"TemporaryFile(/tmp/multipartBody7705270017726485709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159103185,"filename":"image_21022025_18_29_37_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dcb52f3bb366ee9f5b494e9301685735.jpg","text":"TemporaryFile(/tmp/multipartBody1762445894622502206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159103185,"filename":"image_21022025_18_30_37_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338876548","file1":"1338876538","file0":"1338876528"},"map_files_photo_id_array":[{"photo_id":"1338876548","filename":"file2"},{"photo_id":"1338876538","filename":"file1"},{"photo_id":"1338876528","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338876538":["hashtag1","hashtag2"]},{"1338876528":["hashtag1","hashtag2"]},{"1338876548":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338876538, 1338876528, 1338876548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.911665201187134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:31:04.473126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/44/image_20022025_18_44_56_10365.jpg', '/home/pi/Desktop/images/20022025/18/45/image_20022025_18_45_16_10365.jpg', '/home/pi/Desktop/images/20022025/18/45/image_20022025_18_45_26_10355.jpg', '/home/pi/Desktop/images/20022025/18/45/image_20022025_18_45_36_9407.jpg', '/home/pi/Desktop/images/20022025/18/45/image_20022025_18_45_56_10374.jpg', '/home/pi/Desktop/images/20022025/18/45/image_20022025_18_46_06_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/44/image_20022025_18_44_56_10365.jpg
/home/pi/Desktop/images/20022025/18/45/image_20022025_18_45_16_10365.jpg
/home/pi/Desktop/images/20022025/18/45/image_20022025_18_45_26_10355.jpg
/home/pi/Desktop/images/20022025/18/45/image_20022025_18_45_36_9407.jpg
/home/pi/Desktop/images/20022025/18/45/image_20022025_18_45_56_10374.jpg
/home/pi/Desktop/images/20022025/18/45/image_20022025_18_46_06_9415.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338876565","1338876561","1338876570","1338876567","1338876572","1338876563"],"photo_ids_order":["1338876561","1338876563","1338876565","1338876567","1338876570","1338876572"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/08e67ba3236b547b31df31e46e390d6a.jpg","text":"TemporaryFile(/tmp/multipartBody6073433038553885712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159125989,"filename":"image_20022025_18_45_26_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8edf80a30e5fbdd5c550a7ed71dd57b0.jpg","text":"TemporaryFile(/tmp/multipartBody7398684601312060317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159125989,"filename":"image_20022025_18_44_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/123a46fa1cadbc7cc8ac48b79a13155f.jpg","text":"TemporaryFile(/tmp/multipartBody8493219947528670967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159125989,"filename":"image_20022025_18_45_56_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d99bdc6150def8b02760a0dbcfc9e486.jpg","text":"TemporaryFile(/tmp/multipartBody1884821879701036699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159125989,"filename":"image_20022025_18_45_36_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/11f30f40d6bef17b6cabcc5e20038b56.jpg","text":"TemporaryFile(/tmp/multipartBody2632392249456209479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159125989,"filename":"image_20022025_18_46_06_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9d58580c27be0ed6c4b576db3985a801.jpg","text":"TemporaryFile(/tmp/multipartBody6870558532812480396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159125989,"filename":"image_20022025_18_45_16_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338876565","file1":"1338876563","file0":"1338876561","file4":"1338876570","file5":"1338876572","file3":"1338876567"},"map_files_photo_id_array":[{"photo_id":"1338876572","filename":"file5"},{"photo_id":"1338876565","filename":"file2"},{"photo_id":"1338876570","filename":"file4"},{"photo_id":"1338876563","filename":"file1"},{"photo_id":"1338876561","filename":"file0"},{"photo_id":"1338876567","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338876565":["hashtag1","hashtag2"]},{"1338876561":["hashtag1","hashtag2"]},{"1338876570":["hashtag1","hashtag2"]},{"1338876567":["hashtag1","hashtag2"]},{"1338876572":["hashtag1","hashtag2"]},{"1338876563":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338876565, 1338876561, 1338876570, 1338876567, 1338876572, 1338876563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.429720640182495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:31:42.961471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/30/image_21022025_18_30_46_9351.jpg', '/home/pi/Desktop/images/21022025/18/31/image_21022025_18_31_27_10423.jpg', '/home/pi/Desktop/images/21022025/18/31/image_21022025_18_31_47_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/30/image_21022025_18_30_46_9351.jpg
/home/pi/Desktop/images/21022025/18/31/image_21022025_18_31_27_10423.jpg
/home/pi/Desktop/images/21022025/18/31/image_21022025_18_31_47_10464.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338876589","1338876582","1338876585"],"photo_ids_order":["1338876582","1338876585","1338876589"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7fa1de31a5f287df80d4fa1649664f9.jpg","text":"TemporaryFile(/tmp/multipartBody6105576637811587094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159163397,"filename":"image_21022025_18_31_47_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f93a57d8fcf3e04fd20fb6ef3cea08a2.jpg","text":"TemporaryFile(/tmp/multipartBody4600994702009482302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159163397,"filename":"image_21022025_18_30_46_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0323dbc063458a56fb49176abd3194d6.jpg","text":"TemporaryFile(/tmp/multipartBody384304788778175628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159163397,"filename":"image_21022025_18_31_27_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338876589","file1":"1338876585","file0":"1338876582"},"map_files_photo_id_array":[{"photo_id":"1338876589","filename":"file2"},{"photo_id":"1338876585","filename":"file1"},{"photo_id":"1338876582","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338876589":["hashtag1","hashtag2"]},{"1338876582":["hashtag1","hashtag2"]},{"1338876585":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338876589, 1338876582, 1338876585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.296199083328247 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:32:33.116718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/31/image_21022025_18_31_56_9424.jpg', '/home/pi/Desktop/images/21022025/18/31/image_21022025_18_32_06_10339.jpg', '/home/pi/Desktop/images/21022025/18/32/image_21022025_18_32_17_10397.jpg', '/home/pi/Desktop/images/21022025/18/32/image_21022025_18_32_26_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/31/image_21022025_18_31_56_9424.jpg
/home/pi/Desktop/images/21022025/18/31/image_21022025_18_32_06_10339.jpg
/home/pi/Desktop/images/21022025/18/32/image_21022025_18_32_17_10397.jpg
/home/pi/Desktop/images/21022025/18/32/image_21022025_18_32_26_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338876613","1338876619","1338876606","1338876609"],"photo_ids_order":["1338876606","1338876609","1338876613","1338876619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a31acfbfed50d38e4fb8ccde30da0803.jpg","text":"TemporaryFile(/tmp/multipartBody7807167098756266686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159213575,"filename":"image_21022025_18_32_17_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/44a9606aab23b8bd4ebee3179afc61f9.jpg","text":"TemporaryFile(/tmp/multipartBody8893387071442336343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159213575,"filename":"image_21022025_18_32_26_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f2dbb77d070624b14b942f1d07c3645a.jpg","text":"TemporaryFile(/tmp/multipartBody3472500584452272129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159213575,"filename":"image_21022025_18_31_56_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/96962171c03416ce19d83200445e4c2d.jpg","text":"TemporaryFile(/tmp/multipartBody7062552495886087870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159213575,"filename":"image_21022025_18_32_06_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338876613","file1":"1338876609","file0":"1338876606","file3":"1338876619"},"map_files_photo_id_array":[{"photo_id":"1338876613","filename":"file2"},{"photo_id":"1338876609","filename":"file1"},{"photo_id":"1338876606","filename":"file0"},{"photo_id":"1338876619","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338876613":["hashtag1","hashtag2"]},{"1338876619":["hashtag1","hashtag2"]},{"1338876606":["hashtag1","hashtag2"]},{"1338876609":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338876613, 1338876619, 1338876606, 1338876609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.662801265716553 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:33:03.745980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/46/image_20022025_18_46_16_10333.jpg', '/home/pi/Desktop/images/20022025/18/46/image_20022025_18_46_26_10355.jpg', '/home/pi/Desktop/images/20022025/18/46/image_20022025_18_46_36_9425.jpg', '/home/pi/Desktop/images/20022025/18/46/image_20022025_18_46_55_9345.jpg', '/home/pi/Desktop/images/20022025/18/46/image_20022025_18_47_06_10349.jpg', '/home/pi/Desktop/images/20022025/18/47/image_20022025_18_47_36_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/46/image_20022025_18_46_16_10333.jpg
/home/pi/Desktop/images/20022025/18/46/image_20022025_18_46_26_10355.jpg
/home/pi/Desktop/images/20022025/18/46/image_20022025_18_46_36_9425.jpg
/home/pi/Desktop/images/20022025/18/46/image_20022025_18_46_55_9345.jpg
/home/pi/Desktop/images/20022025/18/46/image_20022025_18_47_06_10349.jpg
/home/pi/Desktop/images/20022025/18/47/image_20022025_18_47_36_10407.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338876664","1338876646","1338876657","1338876654","1338876648","1338876659"],"photo_ids_order":["1338876646","1338876648","1338876654","1338876657","1338876659","1338876664"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1982283a1e21cbe245103327bddd0991.jpg","text":"TemporaryFile(/tmp/multipartBody2150085412066601503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159245268,"filename":"image_20022025_18_47_36_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1b5957d42e4bf3b872781694abeeb83.jpg","text":"TemporaryFile(/tmp/multipartBody2823089214763245508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159245268,"filename":"image_20022025_18_46_16_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a64002ebb7de702fc5d529bbb4b7b38.jpg","text":"TemporaryFile(/tmp/multipartBody3638682702427075419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159245268,"filename":"image_20022025_18_46_55_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/25ebe1a74223523541c16a8494581906.jpg","text":"TemporaryFile(/tmp/multipartBody8321426350343371070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159245268,"filename":"image_20022025_18_46_36_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a4951ca5c1e495b6d3c577e1daee5369.jpg","text":"TemporaryFile(/tmp/multipartBody344613846042607894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159245268,"filename":"image_20022025_18_46_26_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/53fd7d5763181757469a321c2f9171c7.jpg","text":"TemporaryFile(/tmp/multipartBody2936457336856287551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159245268,"filename":"image_20022025_18_47_06_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338876654","file1":"1338876648","file0":"1338876646","file4":"1338876659","file5":"1338876664","file3":"1338876657"},"map_files_photo_id_array":[{"photo_id":"1338876664","filename":"file5"},{"photo_id":"1338876654","filename":"file2"},{"photo_id":"1338876659","filename":"file4"},{"photo_id":"1338876648","filename":"file1"},{"photo_id":"1338876646","filename":"file0"},{"photo_id":"1338876657","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338876664":["hashtag1","hashtag2"]},{"1338876646":["hashtag1","hashtag2"]},{"1338876657":["hashtag1","hashtag2"]},{"1338876654":["hashtag1","hashtag2"]},{"1338876648":["hashtag1","hashtag2"]},{"1338876659":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338876664, 1338876646, 1338876657, 1338876654, 1338876648, 1338876659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06024360656738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:33:42.250026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/32/image_21022025_18_32_37_10471.jpg', '/home/pi/Desktop/images/21022025/18/33/image_21022025_18_33_17_10677.jpg', '/home/pi/Desktop/images/21022025/18/33/image_21022025_18_33_37_10468.jpg', '/home/pi/Desktop/images/21022025/18/33/image_21022025_18_33_46_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/32/image_21022025_18_32_37_10471.jpg
/home/pi/Desktop/images/21022025/18/33/image_21022025_18_33_17_10677.jpg
/home/pi/Desktop/images/21022025/18/33/image_21022025_18_33_37_10468.jpg
/home/pi/Desktop/images/21022025/18/33/image_21022025_18_33_46_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338876798","1338876681","1338876675","1338876822"],"photo_ids_order":["1338876675","1338876681","1338876798","1338876822"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c576f26fe7b1902b7b85e3d808c9cea.jpg","text":"TemporaryFile(/tmp/multipartBody1114604870998677261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159282807,"filename":"image_21022025_18_33_37_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf08a934873ad5027fc9b91872f66a5c.jpg","text":"TemporaryFile(/tmp/multipartBody6041538479419897024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159282807,"filename":"image_21022025_18_33_17_10677.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/11fbf07d1d554fbc3f3f408a5793955e.jpg","text":"TemporaryFile(/tmp/multipartBody1066418712464185926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159282807,"filename":"image_21022025_18_32_37_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/235e03215d0e1c489078284231d4c7b7.jpg","text":"TemporaryFile(/tmp/multipartBody3730112639527886774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159282807,"filename":"image_21022025_18_33_46_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338876798","file1":"1338876681","file0":"1338876675","file3":"1338876822"},"map_files_photo_id_array":[{"photo_id":"1338876798","filename":"file2"},{"photo_id":"1338876681","filename":"file1"},{"photo_id":"1338876675","filename":"file0"},{"photo_id":"1338876822","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338876798":["hashtag1","hashtag2"]},{"1338876681":["hashtag1","hashtag2"]},{"1338876675":["hashtag1","hashtag2"]},{"1338876822":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338876798, 1338876681, 1338876675, 1338876822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.704888105392456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:34:32.511664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/33/image_21022025_18_33_56_10350.jpg', '/home/pi/Desktop/images/21022025/18/33/image_21022025_18_34_07_10440.jpg', '/home/pi/Desktop/images/21022025/18/34/image_21022025_18_34_16_9336.jpg', '/home/pi/Desktop/images/21022025/18/34/image_21022025_18_34_26_10356.jpg', '/home/pi/Desktop/images/21022025/18/34/image_21022025_18_34_37_10351.jpg', '/home/pi/Desktop/images/21022025/18/34/image_21022025_18_34_46_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/33/image_21022025_18_33_56_10350.jpg
/home/pi/Desktop/images/21022025/18/33/image_21022025_18_34_07_10440.jpg
/home/pi/Desktop/images/21022025/18/34/image_21022025_18_34_16_9336.jpg
/home/pi/Desktop/images/21022025/18/34/image_21022025_18_34_26_10356.jpg
/home/pi/Desktop/images/21022025/18/34/image_21022025_18_34_37_10351.jpg
/home/pi/Desktop/images/21022025/18/34/image_21022025_18_34_46_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338876883","1338876858","1338876878","1338876872","1338876886","1338876874"],"photo_ids_order":["1338876858","1338876872","1338876874","1338876878","1338876883","1338876886"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ad2a0294a21c218580b58a62dd25bd45.jpg","text":"TemporaryFile(/tmp/multipartBody1762303598331587391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159333138,"filename":"image_21022025_18_34_37_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/16c2473bc27991a0e3f3b0c6a23746a9.jpg","text":"TemporaryFile(/tmp/multipartBody5410236037694963321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159333138,"filename":"image_21022025_18_33_56_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/311b199cc9e1c54e98c78fa2cf6c7347.jpg","text":"TemporaryFile(/tmp/multipartBody595904520618352141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159333138,"filename":"image_21022025_18_34_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7f6b506d828de8c4f23fb9dc81b44d6c.jpg","text":"TemporaryFile(/tmp/multipartBody4574677551707016878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159333138,"filename":"image_21022025_18_34_07_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/217a7ec6853a11bb2a27d827c901621e.jpg","text":"TemporaryFile(/tmp/multipartBody5982729128180889409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159333138,"filename":"image_21022025_18_34_46_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bdfa2ea30f8ce17212cf255d5ace55da.jpg","text":"TemporaryFile(/tmp/multipartBody8903326998378745377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159333138,"filename":"image_21022025_18_34_16_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338876874","file1":"1338876872","file0":"1338876858","file4":"1338876883","file5":"1338876886","file3":"1338876878"},"map_files_photo_id_array":[{"photo_id":"1338876886","filename":"file5"},{"photo_id":"1338876874","filename":"file2"},{"photo_id":"1338876883","filename":"file4"},{"photo_id":"1338876872","filename":"file1"},{"photo_id":"1338876858","filename":"file0"},{"photo_id":"1338876878","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338876883":["hashtag1","hashtag2"]},{"1338876858":["hashtag1","hashtag2"]},{"1338876878":["hashtag1","hashtag2"]},{"1338876872":["hashtag1","hashtag2"]},{"1338876886":["hashtag1","hashtag2"]},{"1338876874":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338876883, 1338876858, 1338876878, 1338876872, 1338876886, 1338876874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.002439737319946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:35:32.795715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/34/image_21022025_18_34_57_10429.jpg', '/home/pi/Desktop/images/21022025/18/35/image_21022025_18_35_16_10405.jpg', '/home/pi/Desktop/images/21022025/18/35/image_21022025_18_35_27_10432.jpg', '/home/pi/Desktop/images/21022025/18/35/image_21022025_18_35_36_9409.jpg', '/home/pi/Desktop/images/21022025/18/35/image_21022025_18_35_47_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/34/image_21022025_18_34_57_10429.jpg
/home/pi/Desktop/images/21022025/18/35/image_21022025_18_35_16_10405.jpg
/home/pi/Desktop/images/21022025/18/35/image_21022025_18_35_27_10432.jpg
/home/pi/Desktop/images/21022025/18/35/image_21022025_18_35_36_9409.jpg
/home/pi/Desktop/images/21022025/18/35/image_21022025_18_35_47_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338876958","1338876962","1338876900","1338876902","1338876905"],"photo_ids_order":["1338876900","1338876902","1338876905","1338876958","1338876962"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8a796704795f2c488885cc055e304fa0.jpg","text":"TemporaryFile(/tmp/multipartBody1436546280650245524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159393272,"filename":"image_21022025_18_35_36_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a81fac38f3419b44182705ae86129dd.jpg","text":"TemporaryFile(/tmp/multipartBody951914143284535628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159393272,"filename":"image_21022025_18_35_47_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/79f1e815e170f8784a5c426d6921f07d.jpg","text":"TemporaryFile(/tmp/multipartBody4170126216468882412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159393272,"filename":"image_21022025_18_34_57_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f94f5b622b73afde3699e510a76dae79.jpg","text":"TemporaryFile(/tmp/multipartBody4444671501413362510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159393272,"filename":"image_21022025_18_35_16_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/38c8579a7ea1699ec387cff849dfe251.jpg","text":"TemporaryFile(/tmp/multipartBody7583947017545337581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159393272,"filename":"image_21022025_18_35_27_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338876905","file1":"1338876902","file0":"1338876900","file4":"1338876962","file3":"1338876958"},"map_files_photo_id_array":[{"photo_id":"1338876905","filename":"file2"},{"photo_id":"1338876962","filename":"file4"},{"photo_id":"1338876902","filename":"file1"},{"photo_id":"1338876900","filename":"file0"},{"photo_id":"1338876958","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338876958":["hashtag1","hashtag2"]},{"1338876962":["hashtag1","hashtag2"]},{"1338876900":["hashtag1","hashtag2"]},{"1338876902":["hashtag1","hashtag2"]},{"1338876905":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338876958, 1338876962, 1338876900, 1338876902, 1338876905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.791659116744995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:36:03.513290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/47/image_20022025_18_47_46_10323.jpg', '/home/pi/Desktop/images/20022025/18/47/image_20022025_18_48_06_10393.jpg', '/home/pi/Desktop/images/20022025/18/48/image_20022025_18_48_16_9452.jpg', '/home/pi/Desktop/images/20022025/18/48/image_20022025_18_48_26_10358.jpg', '/home/pi/Desktop/images/20022025/18/48/image_20022025_18_48_36_10351.jpg', '/home/pi/Desktop/images/20022025/18/48/image_20022025_18_48_46_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/47/image_20022025_18_47_46_10323.jpg
/home/pi/Desktop/images/20022025/18/47/image_20022025_18_48_06_10393.jpg
/home/pi/Desktop/images/20022025/18/48/image_20022025_18_48_16_9452.jpg
/home/pi/Desktop/images/20022025/18/48/image_20022025_18_48_26_10358.jpg
/home/pi/Desktop/images/20022025/18/48/image_20022025_18_48_36_10351.jpg
/home/pi/Desktop/images/20022025/18/48/image_20022025_18_48_46_9336.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338876984","1338876978","1338876975","1338876989","1338876986","1338876973"],"photo_ids_order":["1338876973","1338876975","1338876978","1338876984","1338876986","1338876989"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/54574997206eadd8c6670566efbe1946.jpg","text":"TemporaryFile(/tmp/multipartBody6706424887996249454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159424887,"filename":"image_20022025_18_48_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2aba1468062c869bc5aafd296ddd295.jpg","text":"TemporaryFile(/tmp/multipartBody557795826604029343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159424887,"filename":"image_20022025_18_48_16_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2b9c8d8ac9f00504f6a4e000a87224d.jpg","text":"TemporaryFile(/tmp/multipartBody6647515821080599209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159424887,"filename":"image_20022025_18_48_06_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b5e3a40c43a103196d69ace5d148f5da.jpg","text":"TemporaryFile(/tmp/multipartBody7048473435825817172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159424887,"filename":"image_20022025_18_48_46_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8fadd29b20951f717d11068ce4cb8f24.jpg","text":"TemporaryFile(/tmp/multipartBody5071587942001424330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159424887,"filename":"image_20022025_18_48_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ccce4c115c19f153acf6fc985206e78c.jpg","text":"TemporaryFile(/tmp/multipartBody546942701854065383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159424887,"filename":"image_20022025_18_47_46_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338876978","file1":"1338876975","file0":"1338876973","file4":"1338876986","file5":"1338876989","file3":"1338876984"},"map_files_photo_id_array":[{"photo_id":"1338876989","filename":"file5"},{"photo_id":"1338876978","filename":"file2"},{"photo_id":"1338876986","filename":"file4"},{"photo_id":"1338876975","filename":"file1"},{"photo_id":"1338876973","filename":"file0"},{"photo_id":"1338876984","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338876984":["hashtag1","hashtag2"]},{"1338876978":["hashtag1","hashtag2"]},{"1338876975":["hashtag1","hashtag2"]},{"1338876989":["hashtag1","hashtag2"]},{"1338876986":["hashtag1","hashtag2"]},{"1338876973":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338876984, 1338876978, 1338876975, 1338876989, 1338876986, 1338876973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.16010880470276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:36:42.924139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/35/image_21022025_18_35_56_9405.jpg', '/home/pi/Desktop/images/21022025/18/35/image_21022025_18_36_07_10403.jpg', '/home/pi/Desktop/images/21022025/18/36/image_21022025_18_36_16_9402.jpg', '/home/pi/Desktop/images/21022025/18/36/image_21022025_18_36_37_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/35/image_21022025_18_35_56_9405.jpg
/home/pi/Desktop/images/21022025/18/35/image_21022025_18_36_07_10403.jpg
/home/pi/Desktop/images/21022025/18/36/image_21022025_18_36_16_9402.jpg
/home/pi/Desktop/images/21022025/18/36/image_21022025_18_36_37_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338877061","1338877070","1338877064","1338877049"],"photo_ids_order":["1338877049","1338877061","1338877064","1338877070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0be24d48566acc8b9172f30dae31e1d9.jpg","text":"TemporaryFile(/tmp/multipartBody2599969844301873317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159463382,"filename":"image_21022025_18_36_07_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/25d0af3ebcab4dedb2f7ec615a5d6b2c.jpg","text":"TemporaryFile(/tmp/multipartBody624297285408660166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159463382,"filename":"image_21022025_18_36_37_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f0bb0d9f28c57066ddfe4bd4c89e18e1.jpg","text":"TemporaryFile(/tmp/multipartBody2985556021866395327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159463382,"filename":"image_21022025_18_36_16_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b8c54b7780dfce99a877b1a12eea352c.jpg","text":"TemporaryFile(/tmp/multipartBody2316656975590581720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159463382,"filename":"image_21022025_18_35_56_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338877064","file1":"1338877061","file0":"1338877049","file3":"1338877070"},"map_files_photo_id_array":[{"photo_id":"1338877064","filename":"file2"},{"photo_id":"1338877061","filename":"file1"},{"photo_id":"1338877049","filename":"file0"},{"photo_id":"1338877070","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338877061":["hashtag1","hashtag2"]},{"1338877070":["hashtag1","hashtag2"]},{"1338877064":["hashtag1","hashtag2"]},{"1338877049":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338877061, 1338877070, 1338877064, 1338877049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.970798015594482 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:37:32.222120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/36/image_21022025_18_36_57_10403.jpg', '/home/pi/Desktop/images/21022025/18/36/image_21022025_18_37_07_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/36/image_21022025_18_36_57_10403.jpg
/home/pi/Desktop/images/21022025/18/36/image_21022025_18_37_07_10340.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.341510534286499 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:37:42.177450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/36/image_21022025_18_36_57_10403.jpg', '/home/pi/Desktop/images/21022025/18/36/image_21022025_18_37_07_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/36/image_21022025_18_36_57_10403.jpg
/home/pi/Desktop/images/21022025/18/36/image_21022025_18_37_07_10340.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338877219","1338877221"],"photo_ids_order":["1338877219","1338877221"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e3b7d39cf0106feb55938416325563e.jpg","text":"TemporaryFile(/tmp/multipartBody2820529663666145916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159522615,"filename":"image_21022025_18_36_57_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/678dd8d6a6e6951f6fd309e09dbb9f8b.jpg","text":"TemporaryFile(/tmp/multipartBody966766623339886398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159522615,"filename":"image_21022025_18_37_07_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338877221","file0":"1338877219"},"map_files_photo_id_array":[{"photo_id":"1338877221","filename":"file1"},{"photo_id":"1338877219","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338877219":["hashtag1","hashtag2"]},{"1338877221":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338877219, 1338877221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.982520580291748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:38:03.124049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/48/image_20022025_18_48_56_10359.jpg', '/home/pi/Desktop/images/20022025/18/48/image_20022025_18_49_06_10343.jpg', '/home/pi/Desktop/images/20022025/18/49/image_20022025_18_49_16_9390.jpg', '/home/pi/Desktop/images/20022025/18/49/image_20022025_18_49_35_9319.jpg', '/home/pi/Desktop/images/20022025/18/49/image_20022025_18_49_46_10363.jpg', '/home/pi/Desktop/images/20022025/18/49/image_20022025_18_49_56_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/48/image_20022025_18_48_56_10359.jpg
/home/pi/Desktop/images/20022025/18/48/image_20022025_18_49_06_10343.jpg
/home/pi/Desktop/images/20022025/18/49/image_20022025_18_49_16_9390.jpg
/home/pi/Desktop/images/20022025/18/49/image_20022025_18_49_35_9319.jpg
/home/pi/Desktop/images/20022025/18/49/image_20022025_18_49_46_10363.jpg
/home/pi/Desktop/images/20022025/18/49/image_20022025_18_49_56_10353.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338877318","1338877296","1338877299","1338877320","1338877305","1338877313"],"photo_ids_order":["1338877296","1338877299","1338877305","1338877313","1338877318","1338877320"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be7725acfcd184e7f75125404c29b7d9.jpg","text":"TemporaryFile(/tmp/multipartBody5659818298861659987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159544482,"filename":"image_20022025_18_49_46_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2813e8539e02eb795f0bdac02e30900b.jpg","text":"TemporaryFile(/tmp/multipartBody3637242601761497170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159544482,"filename":"image_20022025_18_48_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/16a7a0222eaa3e5674b250e6051c23d1.jpg","text":"TemporaryFile(/tmp/multipartBody250505377670783714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159544482,"filename":"image_20022025_18_49_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/038209286cd3054c95a3a3919f387ced.jpg","text":"TemporaryFile(/tmp/multipartBody5784314347807996674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159544482,"filename":"image_20022025_18_49_56_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1f32e23a45f33c2ba844c237e7cdfb8c.jpg","text":"TemporaryFile(/tmp/multipartBody5016803510439962242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159544482,"filename":"image_20022025_18_49_16_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e11d4c0ed2ad845b8f07b8b2a7074df5.jpg","text":"TemporaryFile(/tmp/multipartBody5684677044291953185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159544482,"filename":"image_20022025_18_49_35_9319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338877305","file1":"1338877299","file0":"1338877296","file4":"1338877318","file5":"1338877320","file3":"1338877313"},"map_files_photo_id_array":[{"photo_id":"1338877320","filename":"file5"},{"photo_id":"1338877305","filename":"file2"},{"photo_id":"1338877318","filename":"file4"},{"photo_id":"1338877299","filename":"file1"},{"photo_id":"1338877296","filename":"file0"},{"photo_id":"1338877313","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338877318":["hashtag1","hashtag2"]},{"1338877296":["hashtag1","hashtag2"]},{"1338877299":["hashtag1","hashtag2"]},{"1338877320":["hashtag1","hashtag2"]},{"1338877305":["hashtag1","hashtag2"]},{"1338877313":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338877318, 1338877296, 1338877299, 1338877320, 1338877305, 1338877313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.837679624557495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:38:42.462708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/37/image_21022025_18_37_16_9334.jpg', '/home/pi/Desktop/images/21022025/18/38/image_21022025_18_38_16_10353.jpg', '/home/pi/Desktop/images/21022025/18/38/image_21022025_18_38_27_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/37/image_21022025_18_37_16_9334.jpg
/home/pi/Desktop/images/21022025/18/38/image_21022025_18_38_16_10353.jpg
/home/pi/Desktop/images/21022025/18/38/image_21022025_18_38_27_10425.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338877332","1338877329","1338877327"],"photo_ids_order":["1338877327","1338877329","1338877332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/56efde2e5970c6a2e985190f25476880.jpg","text":"TemporaryFile(/tmp/multipartBody7806315435443247715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159582904,"filename":"image_21022025_18_38_27_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c79406ee82ad5ad831f35c26dce9903.jpg","text":"TemporaryFile(/tmp/multipartBody6165040956077067340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159582904,"filename":"image_21022025_18_38_16_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9a2e672f575f9ce48989dca71b4e1292.jpg","text":"TemporaryFile(/tmp/multipartBody5929625028172719721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159582904,"filename":"image_21022025_18_37_16_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338877332","file1":"1338877329","file0":"1338877327"},"map_files_photo_id_array":[{"photo_id":"1338877332","filename":"file2"},{"photo_id":"1338877329","filename":"file1"},{"photo_id":"1338877327","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338877332":["hashtag1","hashtag2"]},{"1338877329":["hashtag1","hashtag2"]},{"1338877327":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338877332, 1338877329, 1338877327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.98796510696411 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:39:04.069208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/50/image_20022025_18_50_26_10356.jpg', '/home/pi/Desktop/images/20022025/18/50/image_20022025_18_50_36_9400.jpg', '/home/pi/Desktop/images/20022025/18/50/image_20022025_18_50_46_10345.jpg', '/home/pi/Desktop/images/20022025/18/50/image_20022025_18_51_06_10380.jpg', '/home/pi/Desktop/images/20022025/18/51/image_20022025_18_51_26_9387.jpg', '/home/pi/Desktop/images/20022025/18/51/image_20022025_18_51_36_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/50/image_20022025_18_50_26_10356.jpg
/home/pi/Desktop/images/20022025/18/50/image_20022025_18_50_36_9400.jpg
/home/pi/Desktop/images/20022025/18/50/image_20022025_18_50_46_10345.jpg
/home/pi/Desktop/images/20022025/18/50/image_20022025_18_51_06_10380.jpg
/home/pi/Desktop/images/20022025/18/51/image_20022025_18_51_26_9387.jpg
/home/pi/Desktop/images/20022025/18/51/image_20022025_18_51_36_10335.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338877342","1338877347","1338877358","1338877337","1338877363","1338877351"],"photo_ids_order":["1338877337","1338877342","1338877347","1338877351","1338877358","1338877363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7272da4e7b2329c49ada7b4a9c2f9a5.jpg","text":"TemporaryFile(/tmp/multipartBody1561399276652486137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159605766,"filename":"image_20022025_18_50_36_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa3f4fdd3c69875546d85d54431aec41.jpg","text":"TemporaryFile(/tmp/multipartBody599848180825127860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159605766,"filename":"image_20022025_18_50_46_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ed7b1d5bc05385b656ee434ff313c86.jpg","text":"TemporaryFile(/tmp/multipartBody705830163374781434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159605766,"filename":"image_20022025_18_51_26_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/22a83f3f0fca60655cbee6808b45e7a6.jpg","text":"TemporaryFile(/tmp/multipartBody4663923589869672000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159605766,"filename":"image_20022025_18_50_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f5270f359a43861e9d29b4b4dd9e994f.jpg","text":"TemporaryFile(/tmp/multipartBody8728740060148717515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159605766,"filename":"image_20022025_18_51_36_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/96d8aad156c4fb8a22e66af6f93a9bde.jpg","text":"TemporaryFile(/tmp/multipartBody1525381580048042323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159605766,"filename":"image_20022025_18_51_06_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338877347","file1":"1338877342","file0":"1338877337","file4":"1338877358","file5":"1338877363","file3":"1338877351"},"map_files_photo_id_array":[{"photo_id":"1338877363","filename":"file5"},{"photo_id":"1338877347","filename":"file2"},{"photo_id":"1338877358","filename":"file4"},{"photo_id":"1338877342","filename":"file1"},{"photo_id":"1338877337","filename":"file0"},{"photo_id":"1338877351","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338877342":["hashtag1","hashtag2"]},{"1338877347":["hashtag1","hashtag2"]},{"1338877358":["hashtag1","hashtag2"]},{"1338877337":["hashtag1","hashtag2"]},{"1338877363":["hashtag1","hashtag2"]},{"1338877351":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338877342, 1338877347, 1338877358, 1338877337, 1338877363, 1338877351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.366671085357666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:39:42.717645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/38/image_21022025_18_38_56_9423.jpg', '/home/pi/Desktop/images/21022025/18/38/image_21022025_18_39_06_10324.jpg', '/home/pi/Desktop/images/21022025/18/39/image_21022025_18_39_17_10485.jpg', '/home/pi/Desktop/images/21022025/18/39/image_21022025_18_39_26_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/38/image_21022025_18_38_56_9423.jpg
/home/pi/Desktop/images/21022025/18/38/image_21022025_18_39_06_10324.jpg
/home/pi/Desktop/images/21022025/18/39/image_21022025_18_39_17_10485.jpg
/home/pi/Desktop/images/21022025/18/39/image_21022025_18_39_26_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338877377","1338877379","1338877372","1338877375"],"photo_ids_order":["1338877372","1338877375","1338877377","1338877379"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/82768b4636b53a9e4fb3cc9c485b1952.jpg","text":"TemporaryFile(/tmp/multipartBody5391483552320663853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159643183,"filename":"image_21022025_18_39_17_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/572eee394cbe00400620ff4ffc16d791.jpg","text":"TemporaryFile(/tmp/multipartBody4979258853963974384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159643183,"filename":"image_21022025_18_39_26_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8977d520bdb56819d73e35edc0568ec9.jpg","text":"TemporaryFile(/tmp/multipartBody7958395037687132681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159643183,"filename":"image_21022025_18_38_56_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/653f8fe09bc26a65643f046a069708e2.jpg","text":"TemporaryFile(/tmp/multipartBody6868215163272585413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159643183,"filename":"image_21022025_18_39_06_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338877377","file1":"1338877375","file0":"1338877372","file3":"1338877379"},"map_files_photo_id_array":[{"photo_id":"1338877377","filename":"file2"},{"photo_id":"1338877375","filename":"file1"},{"photo_id":"1338877372","filename":"file0"},{"photo_id":"1338877379","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338877377":["hashtag1","hashtag2"]},{"1338877379":["hashtag1","hashtag2"]},{"1338877372":["hashtag1","hashtag2"]},{"1338877375":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338877377, 1338877379, 1338877372, 1338877375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.762948274612427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:40:32.972571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/39/image_21022025_18_39_46_9406.jpg', '/home/pi/Desktop/images/21022025/18/40/image_21022025_18_40_27_10351.jpg', '/home/pi/Desktop/images/21022025/18/40/image_21022025_18_40_36_9432.jpg', '/home/pi/Desktop/images/21022025/18/40/image_21022025_18_40_46_10255.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/39/image_21022025_18_39_46_9406.jpg
/home/pi/Desktop/images/21022025/18/40/image_21022025_18_40_27_10351.jpg
/home/pi/Desktop/images/21022025/18/40/image_21022025_18_40_36_9432.jpg
/home/pi/Desktop/images/21022025/18/40/image_21022025_18_40_46_10255.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338877397","1338877401","1338877403","1338877399"],"photo_ids_order":["1338877397","1338877399","1338877401","1338877403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a10ecd9d69cae356f6052c6a129b64af.jpg","text":"TemporaryFile(/tmp/multipartBody5933178860366785157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159693426,"filename":"image_21022025_18_39_46_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1fda7727720cfa5f53122a4bde9d23fb.jpg","text":"TemporaryFile(/tmp/multipartBody1450056512915976373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159693426,"filename":"image_21022025_18_40_36_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0cb888f8275c9804a6bc6dba5b454eff.jpg","text":"TemporaryFile(/tmp/multipartBody882742672951293745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159693426,"filename":"image_21022025_18_40_46_10255.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d8f69d72b5afc51140859cefc4a3e6d0.jpg","text":"TemporaryFile(/tmp/multipartBody4193313415101378744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159693426,"filename":"image_21022025_18_40_27_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338877401","file1":"1338877399","file0":"1338877397","file3":"1338877403"},"map_files_photo_id_array":[{"photo_id":"1338877401","filename":"file2"},{"photo_id":"1338877399","filename":"file1"},{"photo_id":"1338877397","filename":"file0"},{"photo_id":"1338877403","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338877397":["hashtag1","hashtag2"]},{"1338877401":["hashtag1","hashtag2"]},{"1338877403":["hashtag1","hashtag2"]},{"1338877399":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338877397, 1338877401, 1338877403, 1338877399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 21.637610912322998 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:41:03.741702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/51/image_20022025_18_51_46_10333.jpg', '/home/pi/Desktop/images/20022025/18/51/image_20022025_18_51_56_9433.jpg', '/home/pi/Desktop/images/20022025/18/51/image_20022025_18_52_06_10344.jpg', '/home/pi/Desktop/images/20022025/18/52/image_20022025_18_52_16_10402.jpg', '/home/pi/Desktop/images/20022025/18/52/image_20022025_18_52_36_10347.jpg', '/home/pi/Desktop/images/20022025/18/52/image_20022025_18_52_46_9447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/51/image_20022025_18_51_46_10333.jpg
/home/pi/Desktop/images/20022025/18/51/image_20022025_18_51_56_9433.jpg
/home/pi/Desktop/images/20022025/18/51/image_20022025_18_52_06_10344.jpg
/home/pi/Desktop/images/20022025/18/52/image_20022025_18_52_16_10402.jpg
/home/pi/Desktop/images/20022025/18/52/image_20022025_18_52_36_10347.jpg
/home/pi/Desktop/images/20022025/18/52/image_20022025_18_52_46_9447.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338877408","1338877411","1338877425","1338877407","1338877422","1338877416"],"photo_ids_order":["1338877407","1338877408","1338877411","1338877416","1338877422","1338877425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a542fcf1781bccb40842273fe323572.jpg","text":"TemporaryFile(/tmp/multipartBody1248153056834414649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159725475,"filename":"image_20022025_18_51_56_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ec5f53ce5d9b1c1f1430ca1528a5e75d.jpg","text":"TemporaryFile(/tmp/multipartBody9107116129046458119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159725475,"filename":"image_20022025_18_52_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9b9121fab37d04ecd60bd262271b5347.jpg","text":"TemporaryFile(/tmp/multipartBody2641061833368011365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159725475,"filename":"image_20022025_18_52_46_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/288acfd7755ba0e88fc05dd6977313ae.jpg","text":"TemporaryFile(/tmp/multipartBody1288433152195069058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159725475,"filename":"image_20022025_18_51_46_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/46ca583eea1bb7bbbd69e1425e8d1b76.jpg","text":"TemporaryFile(/tmp/multipartBody6270124441578018044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159725475,"filename":"image_20022025_18_52_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/572a62ff767476e6d67cf25d44f563c3.jpg","text":"TemporaryFile(/tmp/multipartBody9015498561121612579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159725475,"filename":"image_20022025_18_52_16_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338877411","file1":"1338877408","file0":"1338877407","file4":"1338877422","file5":"1338877425","file3":"1338877416"},"map_files_photo_id_array":[{"photo_id":"1338877425","filename":"file5"},{"photo_id":"1338877411","filename":"file2"},{"photo_id":"1338877422","filename":"file4"},{"photo_id":"1338877408","filename":"file1"},{"photo_id":"1338877407","filename":"file0"},{"photo_id":"1338877416","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338877408":["hashtag1","hashtag2"]},{"1338877411":["hashtag1","hashtag2"]},{"1338877425":["hashtag1","hashtag2"]},{"1338877407":["hashtag1","hashtag2"]},{"1338877422":["hashtag1","hashtag2"]},{"1338877416":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338877408, 1338877411, 1338877425, 1338877407, 1338877422, 1338877416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.707268953323364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:41:42.310217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/40/image_21022025_18_40_57_10405.jpg', '/home/pi/Desktop/images/21022025/18/40/image_21022025_18_41_06_9349.jpg', '/home/pi/Desktop/images/21022025/18/41/image_21022025_18_41_16_10335.jpg', '/home/pi/Desktop/images/21022025/18/41/image_21022025_18_41_27_10475.jpg', '/home/pi/Desktop/images/21022025/18/41/image_21022025_18_41_36_9348.jpg', '/home/pi/Desktop/images/21022025/18/41/image_21022025_18_41_46_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/40/image_21022025_18_40_57_10405.jpg
/home/pi/Desktop/images/21022025/18/40/image_21022025_18_41_06_9349.jpg
/home/pi/Desktop/images/21022025/18/41/image_21022025_18_41_16_10335.jpg
/home/pi/Desktop/images/21022025/18/41/image_21022025_18_41_27_10475.jpg
/home/pi/Desktop/images/21022025/18/41/image_21022025_18_41_36_9348.jpg
/home/pi/Desktop/images/21022025/18/41/image_21022025_18_41_46_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338877606","1338877435","1338877440","1338877806","1338877451","1338877999"],"photo_ids_order":["1338877435","1338877440","1338877451","1338877606","1338877806","1338877999"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/82130b166cfe645ac09b6c5dc21df47f.jpg","text":"TemporaryFile(/tmp/multipartBody7907838195492961885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159762778,"filename":"image_21022025_18_41_27_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7bc42be7e8d1ff5ffbc93dd025df82b.jpg","text":"TemporaryFile(/tmp/multipartBody4632046337743804755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159762778,"filename":"image_21022025_18_40_57_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c961768abf69338b11bae6218195f39d.jpg","text":"TemporaryFile(/tmp/multipartBody7848011689766747293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159762778,"filename":"image_21022025_18_41_06_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fcedf2818c1d617e3300efc10fe9fc6a.jpg","text":"TemporaryFile(/tmp/multipartBody6676576455454807755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159762778,"filename":"image_21022025_18_41_36_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/67cc19a27aa8111581fbf9ad96f84225.jpg","text":"TemporaryFile(/tmp/multipartBody2468826358499352325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159762778,"filename":"image_21022025_18_41_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df94fdfe0dd06afa4bbe43f0dbeb071e.jpg","text":"TemporaryFile(/tmp/multipartBody8167587397754427063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159762778,"filename":"image_21022025_18_41_46_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338877451","file1":"1338877440","file0":"1338877435","file4":"1338877806","file5":"1338877999","file3":"1338877606"},"map_files_photo_id_array":[{"photo_id":"1338877999","filename":"file5"},{"photo_id":"1338877451","filename":"file2"},{"photo_id":"1338877806","filename":"file4"},{"photo_id":"1338877440","filename":"file1"},{"photo_id":"1338877435","filename":"file0"},{"photo_id":"1338877606","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338877606":["hashtag1","hashtag2"]},{"1338877435":["hashtag1","hashtag2"]},{"1338877440":["hashtag1","hashtag2"]},{"1338877806":["hashtag1","hashtag2"]},{"1338877451":["hashtag1","hashtag2"]},{"1338877999":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338877606, 1338877435, 1338877440, 1338877806, 1338877451, 1338877999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.37465214729309 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:42:32.630676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/41/image_21022025_18_41_57_10437.jpg', '/home/pi/Desktop/images/21022025/18/41/image_21022025_18_42_06_9349.jpg', '/home/pi/Desktop/images/21022025/18/42/image_21022025_18_42_26_9413.jpg', '/home/pi/Desktop/images/21022025/18/42/image_21022025_18_42_36_10343.jpg', '/home/pi/Desktop/images/21022025/18/42/image_21022025_18_42_47_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/41/image_21022025_18_41_57_10437.jpg
/home/pi/Desktop/images/21022025/18/41/image_21022025_18_42_06_9349.jpg
/home/pi/Desktop/images/21022025/18/42/image_21022025_18_42_26_9413.jpg
/home/pi/Desktop/images/21022025/18/42/image_21022025_18_42_36_10343.jpg
/home/pi/Desktop/images/21022025/18/42/image_21022025_18_42_47_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338878742","1338878735","1338878740","1338878641","1338878737"],"photo_ids_order":["1338878641","1338878735","1338878737","1338878740","1338878742"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f082e2132613d1e6fad6c49fa0ac29f0.jpg","text":"TemporaryFile(/tmp/multipartBody8486035524210216358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159813082,"filename":"image_21022025_18_42_47_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e421c3a59420fa524cff1760a3caed0b.jpg","text":"TemporaryFile(/tmp/multipartBody4180060943051217396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159813082,"filename":"image_21022025_18_42_06_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2337360c082c56d76d70de98a5fac305.jpg","text":"TemporaryFile(/tmp/multipartBody1546079473166841905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159813082,"filename":"image_21022025_18_42_36_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a44eb7b736fbd2b28b4eeb868c46a188.jpg","text":"TemporaryFile(/tmp/multipartBody5630535544681678427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159813082,"filename":"image_21022025_18_41_57_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/567dd2af48a0afc14c7abe6226ef4f72.jpg","text":"TemporaryFile(/tmp/multipartBody2842797106604414533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159813082,"filename":"image_21022025_18_42_26_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338878737","file1":"1338878735","file0":"1338878641","file4":"1338878742","file3":"1338878740"},"map_files_photo_id_array":[{"photo_id":"1338878737","filename":"file2"},{"photo_id":"1338878742","filename":"file4"},{"photo_id":"1338878735","filename":"file1"},{"photo_id":"1338878641","filename":"file0"},{"photo_id":"1338878740","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338878742":["hashtag1","hashtag2"]},{"1338878735":["hashtag1","hashtag2"]},{"1338878740":["hashtag1","hashtag2"]},{"1338878641":["hashtag1","hashtag2"]},{"1338878737":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338878742, 1338878735, 1338878740, 1338878641, 1338878737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.61344289779663 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:43:04.380607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/52/image_20022025_18_53_06_10352.jpg', '/home/pi/Desktop/images/20022025/18/53/image_20022025_18_53_16_9391.jpg', '/home/pi/Desktop/images/20022025/18/53/image_20022025_18_53_26_10421.jpg', '/home/pi/Desktop/images/20022025/18/53/image_20022025_18_53_46_10342.jpg', '/home/pi/Desktop/images/20022025/18/53/image_20022025_18_53_56_10357.jpg', '/home/pi/Desktop/images/20022025/18/54/image_20022025_18_54_16_10327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/52/image_20022025_18_53_06_10352.jpg
/home/pi/Desktop/images/20022025/18/53/image_20022025_18_53_16_9391.jpg
/home/pi/Desktop/images/20022025/18/53/image_20022025_18_53_26_10421.jpg
/home/pi/Desktop/images/20022025/18/53/image_20022025_18_53_46_10342.jpg
/home/pi/Desktop/images/20022025/18/53/image_20022025_18_53_56_10357.jpg
/home/pi/Desktop/images/20022025/18/54/image_20022025_18_54_16_10327.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338878940","1338878969","1338879088","1338879082","1338879019","1338878938"],"photo_ids_order":["1338878938","1338878940","1338878969","1338879019","1338879082","1338879088"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/349e24e0fc2f77fcc5c771a0769cc33e.jpg","text":"TemporaryFile(/tmp/multipartBody596713575824908455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159846035,"filename":"image_20022025_18_53_16_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c606a397291dfa59c73c5d5821445d24.jpg","text":"TemporaryFile(/tmp/multipartBody6646583591660817161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159846035,"filename":"image_20022025_18_53_26_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/84bba6b0deeb3a3f6856659a6758ae0a.jpg","text":"TemporaryFile(/tmp/multipartBody3127793566469237573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159846035,"filename":"image_20022025_18_54_16_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/11c3e14348b4c4e136951e6ffa11897d.jpg","text":"TemporaryFile(/tmp/multipartBody8696551291971394072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159846035,"filename":"image_20022025_18_53_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90bae8eb6cf1e8895df720f6a0a968c7.jpg","text":"TemporaryFile(/tmp/multipartBody1721901728233911081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159846035,"filename":"image_20022025_18_53_46_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8babe22f5ab935ee937a409b0f7a710a.jpg","text":"TemporaryFile(/tmp/multipartBody3031284322519511600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159846035,"filename":"image_20022025_18_53_06_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338878969","file1":"1338878940","file0":"1338878938","file4":"1338879082","file5":"1338879088","file3":"1338879019"},"map_files_photo_id_array":[{"photo_id":"1338879088","filename":"file5"},{"photo_id":"1338878969","filename":"file2"},{"photo_id":"1338879082","filename":"file4"},{"photo_id":"1338878940","filename":"file1"},{"photo_id":"1338878938","filename":"file0"},{"photo_id":"1338879019","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338878940":["hashtag1","hashtag2"]},{"1338878969":["hashtag1","hashtag2"]},{"1338879088":["hashtag1","hashtag2"]},{"1338879082":["hashtag1","hashtag2"]},{"1338879019":["hashtag1","hashtag2"]},{"1338878938":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338878940, 1338878969, 1338879088, 1338879082, 1338879019, 1338878938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.49316930770874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:43:42.856849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/42/image_21022025_18_42_56_9340.jpg', '/home/pi/Desktop/images/21022025/18/43/image_21022025_18_43_26_9341.jpg', '/home/pi/Desktop/images/21022025/18/43/image_21022025_18_43_37_10482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/42/image_21022025_18_42_56_9340.jpg
/home/pi/Desktop/images/21022025/18/43/image_21022025_18_43_26_9341.jpg
/home/pi/Desktop/images/21022025/18/43/image_21022025_18_43_37_10482.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338879138","1338879126","1338879122"],"photo_ids_order":["1338879122","1338879126","1338879138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/20b76de09d9ae78ff7a4a18368fdf588.jpg","text":"TemporaryFile(/tmp/multipartBody1042503897652402261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159883297,"filename":"image_21022025_18_43_37_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6750a758a3973f6d3a76dec6725c8d81.jpg","text":"TemporaryFile(/tmp/multipartBody7964883252312907544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159883297,"filename":"image_21022025_18_43_26_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fefbabee1d7b30609fa4be71d887f82b.jpg","text":"TemporaryFile(/tmp/multipartBody269538326180948807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159883297,"filename":"image_21022025_18_42_56_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338879138","file1":"1338879126","file0":"1338879122"},"map_files_photo_id_array":[{"photo_id":"1338879138","filename":"file2"},{"photo_id":"1338879126","filename":"file1"},{"photo_id":"1338879122","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338879138":["hashtag1","hashtag2"]},{"1338879126":["hashtag1","hashtag2"]},{"1338879122":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338879138, 1338879126, 1338879122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.873810291290283 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:44:03.681577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/54/image_20022025_18_54_26_10374.jpg', '/home/pi/Desktop/images/20022025/18/54/image_20022025_18_55_06_9325.jpg', '/home/pi/Desktop/images/20022025/18/55/image_20022025_18_55_16_10321.jpg', '/home/pi/Desktop/images/20022025/18/55/image_20022025_18_55_26_10341.jpg', '/home/pi/Desktop/images/20022025/18/55/image_20022025_18_55_36_9345.jpg', '/home/pi/Desktop/images/20022025/18/55/image_20022025_18_55_46_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/54/image_20022025_18_54_26_10374.jpg
/home/pi/Desktop/images/20022025/18/54/image_20022025_18_55_06_9325.jpg
/home/pi/Desktop/images/20022025/18/55/image_20022025_18_55_16_10321.jpg
/home/pi/Desktop/images/20022025/18/55/image_20022025_18_55_26_10341.jpg
/home/pi/Desktop/images/20022025/18/55/image_20022025_18_55_36_9345.jpg
/home/pi/Desktop/images/20022025/18/55/image_20022025_18_55_46_10350.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338879164","1338879158","1338879167","1338879152","1338879154","1338879168"],"photo_ids_order":["1338879152","1338879154","1338879158","1338879164","1338879167","1338879168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa736ac9fa23ef7257aefd94f391b82d.jpg","text":"TemporaryFile(/tmp/multipartBody2630132782561058881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159905090,"filename":"image_20022025_18_55_26_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/85d9495a9d0bee6c03672b1279a4787a.jpg","text":"TemporaryFile(/tmp/multipartBody7723431849033617528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159905090,"filename":"image_20022025_18_55_16_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7e93f44ad2b5437cb21c390d4e2c4f16.jpg","text":"TemporaryFile(/tmp/multipartBody7767312100343053851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159905090,"filename":"image_20022025_18_55_36_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/712253c2d69ab4c8ab1ecd176ab7f3e7.jpg","text":"TemporaryFile(/tmp/multipartBody2884524016212516768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159905090,"filename":"image_20022025_18_54_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c32515381f16594b99a9a8c0382f1692.jpg","text":"TemporaryFile(/tmp/multipartBody5498847626403848287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159905090,"filename":"image_20022025_18_55_06_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1cf9cd36bcdb9a513683f08a7b7844c2.jpg","text":"TemporaryFile(/tmp/multipartBody2329261719525422404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159905090,"filename":"image_20022025_18_55_46_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338879158","file1":"1338879154","file0":"1338879152","file4":"1338879167","file5":"1338879168","file3":"1338879164"},"map_files_photo_id_array":[{"photo_id":"1338879168","filename":"file5"},{"photo_id":"1338879158","filename":"file2"},{"photo_id":"1338879167","filename":"file4"},{"photo_id":"1338879154","filename":"file1"},{"photo_id":"1338879152","filename":"file0"},{"photo_id":"1338879164","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338879164":["hashtag1","hashtag2"]},{"1338879158":["hashtag1","hashtag2"]},{"1338879167":["hashtag1","hashtag2"]},{"1338879152":["hashtag1","hashtag2"]},{"1338879154":["hashtag1","hashtag2"]},{"1338879168":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338879164, 1338879158, 1338879167, 1338879152, 1338879154, 1338879168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19359731674194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:44:43.012201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/43/image_21022025_18_43_56_10352.jpg', '/home/pi/Desktop/images/21022025/18/43/image_21022025_18_44_07_10388.jpg', '/home/pi/Desktop/images/21022025/18/44/image_21022025_18_44_16_9362.jpg', '/home/pi/Desktop/images/21022025/18/44/image_21022025_18_44_26_10356.jpg', '/home/pi/Desktop/images/21022025/18/44/image_21022025_18_44_37_10432.jpg', '/home/pi/Desktop/images/21022025/18/44/image_21022025_18_44_46_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/43/image_21022025_18_43_56_10352.jpg
/home/pi/Desktop/images/21022025/18/43/image_21022025_18_44_07_10388.jpg
/home/pi/Desktop/images/21022025/18/44/image_21022025_18_44_16_9362.jpg
/home/pi/Desktop/images/21022025/18/44/image_21022025_18_44_26_10356.jpg
/home/pi/Desktop/images/21022025/18/44/image_21022025_18_44_37_10432.jpg
/home/pi/Desktop/images/21022025/18/44/image_21022025_18_44_46_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338879182","1338879192","1338879186","1338879189","1338879180","1338879177"],"photo_ids_order":["1338879177","1338879180","1338879182","1338879186","1338879189","1338879192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f544f4ecad11dca3c9b877074d28f7a9.jpg","text":"TemporaryFile(/tmp/multipartBody8107698954402769183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159943485,"filename":"image_21022025_18_44_16_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/290a89086c61cb86d8564b46a946d831.jpg","text":"TemporaryFile(/tmp/multipartBody4494777640216516568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159943485,"filename":"image_21022025_18_44_46_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/66c64582b9cb61c8d75f2d8767df44d1.jpg","text":"TemporaryFile(/tmp/multipartBody4904506985573421963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159943485,"filename":"image_21022025_18_44_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6b76948c3e1d65a0e527b6d121f34234.jpg","text":"TemporaryFile(/tmp/multipartBody489137876568521762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159943485,"filename":"image_21022025_18_44_37_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/69ecdda94da093c72129fb33229ddc87.jpg","text":"TemporaryFile(/tmp/multipartBody5481258957751327329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159943485,"filename":"image_21022025_18_44_07_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a427e270b270597a2daa7ae1e024c68.jpg","text":"TemporaryFile(/tmp/multipartBody1779250997712573536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159943485,"filename":"image_21022025_18_43_56_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338879182","file1":"1338879180","file0":"1338879177","file4":"1338879189","file5":"1338879192","file3":"1338879186"},"map_files_photo_id_array":[{"photo_id":"1338879192","filename":"file5"},{"photo_id":"1338879182","filename":"file2"},{"photo_id":"1338879189","filename":"file4"},{"photo_id":"1338879180","filename":"file1"},{"photo_id":"1338879177","filename":"file0"},{"photo_id":"1338879186","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338879182":["hashtag1","hashtag2"]},{"1338879192":["hashtag1","hashtag2"]},{"1338879186":["hashtag1","hashtag2"]},{"1338879189":["hashtag1","hashtag2"]},{"1338879180":["hashtag1","hashtag2"]},{"1338879177":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338879182, 1338879192, 1338879186, 1338879189, 1338879180, 1338879177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.71402406692505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:45:32.258370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/44/image_21022025_18_44_57_10429.jpg', '/home/pi/Desktop/images/21022025/18/44/image_21022025_18_45_06_9330.jpg', '/home/pi/Desktop/images/21022025/18/45/image_21022025_18_45_36_9469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/44/image_21022025_18_44_57_10429.jpg
/home/pi/Desktop/images/21022025/18/44/image_21022025_18_45_06_9330.jpg
/home/pi/Desktop/images/21022025/18/45/image_21022025_18_45_36_9469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338879284","1338879221","1338879218"],"photo_ids_order":["1338879218","1338879221","1338879284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5a0587a0f663290b6222b0b13580aa23.jpg","text":"TemporaryFile(/tmp/multipartBody263591516990532654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159992705,"filename":"image_21022025_18_45_36_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/97d95d1cca64cba9fa586e8745e91b18.jpg","text":"TemporaryFile(/tmp/multipartBody240712733035332923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159992705,"filename":"image_21022025_18_45_06_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2dedf19521cbb38649122824e1cba34a.jpg","text":"TemporaryFile(/tmp/multipartBody5116743190281343551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740159992705,"filename":"image_21022025_18_44_57_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338879284","file1":"1338879221","file0":"1338879218"},"map_files_photo_id_array":[{"photo_id":"1338879284","filename":"file2"},{"photo_id":"1338879221","filename":"file1"},{"photo_id":"1338879218","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338879284":["hashtag1","hashtag2"]},{"1338879221":["hashtag1","hashtag2"]},{"1338879218":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338879284, 1338879221, 1338879218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.30552577972412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:46:02.953378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/55/image_20022025_18_56_06_9426.jpg', '/home/pi/Desktop/images/20022025/18/56/image_20022025_18_56_36_10409.jpg', '/home/pi/Desktop/images/20022025/18/56/image_20022025_18_57_06_10328.jpg', '/home/pi/Desktop/images/20022025/18/57/image_20022025_18_57_16_9402.jpg', '/home/pi/Desktop/images/20022025/18/57/image_20022025_18_57_26_10391.jpg', '/home/pi/Desktop/images/20022025/18/57/image_20022025_18_57_36_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/55/image_20022025_18_56_06_9426.jpg
/home/pi/Desktop/images/20022025/18/56/image_20022025_18_56_36_10409.jpg
/home/pi/Desktop/images/20022025/18/56/image_20022025_18_57_06_10328.jpg
/home/pi/Desktop/images/20022025/18/57/image_20022025_18_57_16_9402.jpg
/home/pi/Desktop/images/20022025/18/57/image_20022025_18_57_26_10391.jpg
/home/pi/Desktop/images/20022025/18/57/image_20022025_18_57_36_10415.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338879484","1338879481","1338879489","1338879477","1338879444","1338879426"],"photo_ids_order":["1338879426","1338879444","1338879477","1338879481","1338879484","1338879489"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/960c6ddc6aa50da348de4c25acc8243d.jpg","text":"TemporaryFile(/tmp/multipartBody6103530029624372156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160024350,"filename":"image_20022025_18_57_26_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c09ca7e77ee02069aa67de3e6a1f2f40.jpg","text":"TemporaryFile(/tmp/multipartBody9165668539970126871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160024350,"filename":"image_20022025_18_57_16_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/70f1436f3e7451ccc9117da3c86edb2b.jpg","text":"TemporaryFile(/tmp/multipartBody4443672574325160254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160024350,"filename":"image_20022025_18_57_36_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8ccf56aefa27b2470054315c822d8afd.jpg","text":"TemporaryFile(/tmp/multipartBody8590599463340730031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160024350,"filename":"image_20022025_18_57_06_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e27e9f917ada23184a7b66989025672a.jpg","text":"TemporaryFile(/tmp/multipartBody216156213153215678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160024350,"filename":"image_20022025_18_56_36_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d2b3ac203c0f05fda72cd58860246bb8.jpg","text":"TemporaryFile(/tmp/multipartBody5496739558315714502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160024350,"filename":"image_20022025_18_56_06_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338879477","file1":"1338879444","file0":"1338879426","file4":"1338879484","file5":"1338879489","file3":"1338879481"},"map_files_photo_id_array":[{"photo_id":"1338879489","filename":"file5"},{"photo_id":"1338879477","filename":"file2"},{"photo_id":"1338879484","filename":"file4"},{"photo_id":"1338879444","filename":"file1"},{"photo_id":"1338879426","filename":"file0"},{"photo_id":"1338879481","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338879484":["hashtag1","hashtag2"]},{"1338879481":["hashtag1","hashtag2"]},{"1338879489":["hashtag1","hashtag2"]},{"1338879477":["hashtag1","hashtag2"]},{"1338879444":["hashtag1","hashtag2"]},{"1338879426":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338879484, 1338879481, 1338879489, 1338879477, 1338879444, 1338879426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.46028280258179 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:46:42.383056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/45/image_21022025_18_45_57_10356.jpg', '/home/pi/Desktop/images/21022025/18/46/image_21022025_18_46_17_10457.jpg', '/home/pi/Desktop/images/21022025/18/46/image_21022025_18_46_26_9359.jpg', '/home/pi/Desktop/images/21022025/18/46/image_21022025_18_46_36_10357.jpg', '/home/pi/Desktop/images/21022025/18/46/image_21022025_18_46_47_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/45/image_21022025_18_45_57_10356.jpg
/home/pi/Desktop/images/21022025/18/46/image_21022025_18_46_17_10457.jpg
/home/pi/Desktop/images/21022025/18/46/image_21022025_18_46_26_9359.jpg
/home/pi/Desktop/images/21022025/18/46/image_21022025_18_46_36_10357.jpg
/home/pi/Desktop/images/21022025/18/46/image_21022025_18_46_47_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338879503","1338879500","1338879508","1338879505","1338879510"],"photo_ids_order":["1338879500","1338879503","1338879505","1338879508","1338879510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1992aadb029607518b921abe1776525f.jpg","text":"TemporaryFile(/tmp/multipartBody1997451286852915860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160062861,"filename":"image_21022025_18_46_17_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2417a264e7c3b3ef0c4e258328a005eb.jpg","text":"TemporaryFile(/tmp/multipartBody533537831806353499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160062861,"filename":"image_21022025_18_45_57_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9bb9209d3ac043b79a7503df8aca3192.jpg","text":"TemporaryFile(/tmp/multipartBody2261449285141935969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160062861,"filename":"image_21022025_18_46_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d7080885dcc77bd07b687ba2261874e1.jpg","text":"TemporaryFile(/tmp/multipartBody654259991181975778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160062861,"filename":"image_21022025_18_46_26_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/312edf57e1210ac9b06a57fbc543c445.jpg","text":"TemporaryFile(/tmp/multipartBody1734447875896535209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160062861,"filename":"image_21022025_18_46_47_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338879505","file1":"1338879503","file0":"1338879500","file4":"1338879510","file3":"1338879508"},"map_files_photo_id_array":[{"photo_id":"1338879505","filename":"file2"},{"photo_id":"1338879510","filename":"file4"},{"photo_id":"1338879503","filename":"file1"},{"photo_id":"1338879500","filename":"file0"},{"photo_id":"1338879508","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338879503":["hashtag1","hashtag2"]},{"1338879500":["hashtag1","hashtag2"]},{"1338879508":["hashtag1","hashtag2"]},{"1338879505":["hashtag1","hashtag2"]},{"1338879510":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338879503, 1338879500, 1338879508, 1338879505, 1338879510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.491129875183105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:47:32.625878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/46/image_21022025_18_46_56_9351.jpg', '/home/pi/Desktop/images/21022025/18/46/image_21022025_18_47_07_10477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/46/image_21022025_18_46_56_9351.jpg
/home/pi/Desktop/images/21022025/18/46/image_21022025_18_47_07_10477.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338879545","1338879539"],"photo_ids_order":["1338879539","1338879545"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3ed0bad7ee7a65b23d6356cd10d40944.jpg","text":"TemporaryFile(/tmp/multipartBody8227667180270355921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160113049,"filename":"image_21022025_18_47_07_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/29b34880de31da9ea985c002a3180dab.jpg","text":"TemporaryFile(/tmp/multipartBody8521286504172001624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160113049,"filename":"image_21022025_18_46_56_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338879545","file0":"1338879539"},"map_files_photo_id_array":[{"photo_id":"1338879545","filename":"file1"},{"photo_id":"1338879539","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338879545":["hashtag1","hashtag2"]},{"1338879539":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338879545, 1338879539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.117683172225952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:47:52.778214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/18/57/image_20022025_18_58_05_9378.jpg', '/home/pi/Desktop/images/20022025/18/58/image_20022025_18_58_36_9352.jpg', '/home/pi/Desktop/images/20022025/18/58/image_20022025_18_58_56_10387.jpg', '/home/pi/Desktop/images/20022025/18/58/image_20022025_18_59_06_9383.jpg', '/home/pi/Desktop/images/20022025/18/59/image_20022025_18_59_56_9408.jpg', '/home/pi/Desktop/images/20022025/19/00/image_20022025_19_00_26_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/18/57/image_20022025_18_58_05_9378.jpg
/home/pi/Desktop/images/20022025/18/58/image_20022025_18_58_36_9352.jpg
/home/pi/Desktop/images/20022025/18/58/image_20022025_18_58_56_10387.jpg
/home/pi/Desktop/images/20022025/18/58/image_20022025_18_59_06_9383.jpg
/home/pi/Desktop/images/20022025/18/59/image_20022025_18_59_56_9408.jpg
/home/pi/Desktop/images/20022025/19/00/image_20022025_19_00_26_10449.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338879572","1338879578","1338879557","1338879556","1338879576","1338879570"],"photo_ids_order":["1338879556","1338879557","1338879570","1338879572","1338879576","1338879578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/519d1bce2e6a32d434fd925845294bc3.jpg","text":"TemporaryFile(/tmp/multipartBody5901878883422068009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160134906,"filename":"image_20022025_18_59_06_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e9711d73ca57faa023b13481cc98bec.jpg","text":"TemporaryFile(/tmp/multipartBody5502313663199638116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160134906,"filename":"image_20022025_19_00_26_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/63ea257009f15fd0b27ab0c6c29fd370.jpg","text":"TemporaryFile(/tmp/multipartBody8586032472864084691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160134906,"filename":"image_20022025_18_58_36_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa522f3bf6d1baccefe85cd626aa77c4.jpg","text":"TemporaryFile(/tmp/multipartBody4496439202838759512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160134906,"filename":"image_20022025_18_58_05_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c66422f3605faf3a1dc7906cddaf5b08.jpg","text":"TemporaryFile(/tmp/multipartBody7030054631670709737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160134906,"filename":"image_20022025_18_59_56_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/764965242eb3a80e42995def96eeeb8e.jpg","text":"TemporaryFile(/tmp/multipartBody8126727701275171799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160134906,"filename":"image_20022025_18_58_56_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338879570","file1":"1338879557","file0":"1338879556","file4":"1338879576","file5":"1338879578","file3":"1338879572"},"map_files_photo_id_array":[{"photo_id":"1338879578","filename":"file5"},{"photo_id":"1338879570","filename":"file2"},{"photo_id":"1338879576","filename":"file4"},{"photo_id":"1338879557","filename":"file1"},{"photo_id":"1338879556","filename":"file0"},{"photo_id":"1338879572","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338879572":["hashtag1","hashtag2"]},{"1338879578":["hashtag1","hashtag2"]},{"1338879557":["hashtag1","hashtag2"]},{"1338879556":["hashtag1","hashtag2"]},{"1338879576":["hashtag1","hashtag2"]},{"1338879570":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338879572, 1338879578, 1338879557, 1338879556, 1338879576, 1338879570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.064178466796875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:48:33.106777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/47/image_21022025_18_47_26_10425.jpg', '/home/pi/Desktop/images/21022025/18/48/image_21022025_18_48_36_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/47/image_21022025_18_47_26_10425.jpg
/home/pi/Desktop/images/21022025/18/48/image_21022025_18_48_36_9391.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338879629","1338879622"],"photo_ids_order":["1338879622","1338879629"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8dbd3aa22e21bdc7ab0247de5dd9aaad.jpg","text":"TemporaryFile(/tmp/multipartBody7586502235976628404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160173536,"filename":"image_21022025_18_48_36_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c855a7a91dfbecb143e656f1953af84.jpg","text":"TemporaryFile(/tmp/multipartBody5239793556770659740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160173536,"filename":"image_21022025_18_47_26_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338879629","file0":"1338879622"},"map_files_photo_id_array":[{"photo_id":"1338879629","filename":"file1"},{"photo_id":"1338879622","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338879629":["hashtag1","hashtag2"]},{"1338879622":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338879629, 1338879622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.101518154144287 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:48:52.971158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/00/image_20022025_19_00_56_10337.jpg', '/home/pi/Desktop/images/20022025/19/01/image_20022025_19_01_26_10429.jpg', '/home/pi/Desktop/images/20022025/19/01/image_20022025_19_02_05_9387.jpg', '/home/pi/Desktop/images/20022025/19/02/image_20022025_19_02_16_10396.jpg', '/home/pi/Desktop/images/20022025/19/02/image_20022025_19_02_26_10348.jpg', '/home/pi/Desktop/images/20022025/19/02/image_20022025_19_03_06_10476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/00/image_20022025_19_00_56_10337.jpg
/home/pi/Desktop/images/20022025/19/01/image_20022025_19_01_26_10429.jpg
/home/pi/Desktop/images/20022025/19/01/image_20022025_19_02_05_9387.jpg
/home/pi/Desktop/images/20022025/19/02/image_20022025_19_02_16_10396.jpg
/home/pi/Desktop/images/20022025/19/02/image_20022025_19_02_26_10348.jpg
/home/pi/Desktop/images/20022025/19/02/image_20022025_19_03_06_10476.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338879689","1338879668","1338879691","1338879685","1338879652","1338879678"],"photo_ids_order":["1338879652","1338879668","1338879678","1338879685","1338879689","1338879691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/16f823c9a7472c254cfc32d1486fd37f.jpg","text":"TemporaryFile(/tmp/multipartBody3708282074015049494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160195090,"filename":"image_20022025_19_02_26_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/722e742bf4c1a6f34361fcec63759e61.jpg","text":"TemporaryFile(/tmp/multipartBody8965028481861721714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160195090,"filename":"image_20022025_19_01_26_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a253ffedc70853ca7333d0aaf69831d3.jpg","text":"TemporaryFile(/tmp/multipartBody7378969041978550253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160195090,"filename":"image_20022025_19_03_06_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6fdb14c16565890c2209ec3bfccb6e9c.jpg","text":"TemporaryFile(/tmp/multipartBody3895991677476600110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160195090,"filename":"image_20022025_19_02_16_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/220980d7f3dd3ebaa43b5553b550564b.jpg","text":"TemporaryFile(/tmp/multipartBody3164486384146862731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160195090,"filename":"image_20022025_19_00_56_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/367142e21ed4dd8e4fdb5d06399f7234.jpg","text":"TemporaryFile(/tmp/multipartBody7041713887777726189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160195090,"filename":"image_20022025_19_02_05_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338879678","file1":"1338879668","file0":"1338879652","file4":"1338879689","file5":"1338879691","file3":"1338879685"},"map_files_photo_id_array":[{"photo_id":"1338879691","filename":"file5"},{"photo_id":"1338879678","filename":"file2"},{"photo_id":"1338879689","filename":"file4"},{"photo_id":"1338879668","filename":"file1"},{"photo_id":"1338879652","filename":"file0"},{"photo_id":"1338879685","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338879689":["hashtag1","hashtag2"]},{"1338879668":["hashtag1","hashtag2"]},{"1338879691":["hashtag1","hashtag2"]},{"1338879685":["hashtag1","hashtag2"]},{"1338879652":["hashtag1","hashtag2"]},{"1338879678":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338879689, 1338879668, 1338879691, 1338879685, 1338879652, 1338879678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.797752141952515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:49:32.217461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/48/image_21022025_18_48_47_10478.jpg', '/home/pi/Desktop/images/21022025/18/48/image_21022025_18_49_06_10336.jpg', '/home/pi/Desktop/images/21022025/18/49/image_21022025_18_49_17_10344.jpg', '/home/pi/Desktop/images/21022025/18/49/image_21022025_18_49_26_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/48/image_21022025_18_48_47_10478.jpg
/home/pi/Desktop/images/21022025/18/48/image_21022025_18_49_06_10336.jpg
/home/pi/Desktop/images/21022025/18/49/image_21022025_18_49_17_10344.jpg
/home/pi/Desktop/images/21022025/18/49/image_21022025_18_49_26_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338879705","1338879764","1338879716","1338879709"],"photo_ids_order":["1338879705","1338879709","1338879716","1338879764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2cbdbfe335b8015464c0ae7493136daa.jpg","text":"TemporaryFile(/tmp/multipartBody3789063018762894747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160232677,"filename":"image_21022025_18_48_47_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c6ab290176b77bbce835d90622d2957.jpg","text":"TemporaryFile(/tmp/multipartBody8230554398286325461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160232677,"filename":"image_21022025_18_49_26_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/40b74b2021c4cbf3cebf9ef24a2a2827.jpg","text":"TemporaryFile(/tmp/multipartBody867397563428214736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160232677,"filename":"image_21022025_18_49_17_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0ea5f99c0fd18e3ec6b2d0aa361767df.jpg","text":"TemporaryFile(/tmp/multipartBody8443633641528745404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160232677,"filename":"image_21022025_18_49_06_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338879716","file1":"1338879709","file0":"1338879705","file3":"1338879764"},"map_files_photo_id_array":[{"photo_id":"1338879716","filename":"file2"},{"photo_id":"1338879709","filename":"file1"},{"photo_id":"1338879705","filename":"file0"},{"photo_id":"1338879764","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338879705":["hashtag1","hashtag2"]},{"1338879764":["hashtag1","hashtag2"]},{"1338879716":["hashtag1","hashtag2"]},{"1338879709":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338879705, 1338879764, 1338879716, 1338879709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.75154733657837 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:50:03.117720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/03/image_20022025_19_03_16_10322.jpg', '/home/pi/Desktop/images/20022025/19/03/image_20022025_19_03_36_10427.jpg', '/home/pi/Desktop/images/20022025/19/03/image_20022025_19_03_46_9991.jpg', '/home/pi/Desktop/images/20022025/19/03/image_20022025_19_03_56_10353.jpg', '/home/pi/Desktop/images/20022025/19/03/image_20022025_19_04_06_9427.jpg', '/home/pi/Desktop/images/20022025/19/04/image_20022025_19_04_25_9322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/03/image_20022025_19_03_16_10322.jpg
/home/pi/Desktop/images/20022025/19/03/image_20022025_19_03_36_10427.jpg
/home/pi/Desktop/images/20022025/19/03/image_20022025_19_03_46_9991.jpg
/home/pi/Desktop/images/20022025/19/03/image_20022025_19_03_56_10353.jpg
/home/pi/Desktop/images/20022025/19/03/image_20022025_19_04_06_9427.jpg
/home/pi/Desktop/images/20022025/19/04/image_20022025_19_04_25_9322.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.2867283821105957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:50:32.478946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/49/image_21022025_18_49_36_10339.jpg', '/home/pi/Desktop/images/21022025/18/50/image_21022025_18_50_26_10435.jpg', '/home/pi/Desktop/images/21022025/18/50/image_21022025_18_50_37_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/49/image_21022025_18_49_36_10339.jpg
/home/pi/Desktop/images/21022025/18/50/image_21022025_18_50_26_10435.jpg
/home/pi/Desktop/images/21022025/18/50/image_21022025_18_50_37_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338879825","1338879828","1338879826"],"photo_ids_order":["1338879825","1338879826","1338879828"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f98458842516438ae4bb2721e2b6b44.jpg","text":"TemporaryFile(/tmp/multipartBody5568175252333195240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160292928,"filename":"image_21022025_18_49_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d738f10d1b12099858c2007c9489235c.jpg","text":"TemporaryFile(/tmp/multipartBody4156408969301105431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160292928,"filename":"image_21022025_18_50_37_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6715d3e8b065b55e2bd5311538c7b822.jpg","text":"TemporaryFile(/tmp/multipartBody6919680067783266721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160292928,"filename":"image_21022025_18_50_26_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338879828","file1":"1338879826","file0":"1338879825"},"map_files_photo_id_array":[{"photo_id":"1338879828","filename":"file2"},{"photo_id":"1338879826","filename":"file1"},{"photo_id":"1338879825","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338879825":["hashtag1","hashtag2"]},{"1338879828":["hashtag1","hashtag2"]},{"1338879826":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338879825, 1338879828, 1338879826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.729784965515137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:51:04.279189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/03/image_20022025_19_03_16_10322.jpg', '/home/pi/Desktop/images/20022025/19/03/image_20022025_19_03_36_10427.jpg', '/home/pi/Desktop/images/20022025/19/03/image_20022025_19_03_46_9991.jpg', '/home/pi/Desktop/images/20022025/19/03/image_20022025_19_03_56_10353.jpg', '/home/pi/Desktop/images/20022025/19/03/image_20022025_19_04_06_9427.jpg', '/home/pi/Desktop/images/20022025/19/04/image_20022025_19_04_25_9322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/03/image_20022025_19_03_16_10322.jpg
/home/pi/Desktop/images/20022025/19/03/image_20022025_19_03_36_10427.jpg
/home/pi/Desktop/images/20022025/19/03/image_20022025_19_03_46_9991.jpg
/home/pi/Desktop/images/20022025/19/03/image_20022025_19_03_56_10353.jpg
/home/pi/Desktop/images/20022025/19/03/image_20022025_19_04_06_9427.jpg
/home/pi/Desktop/images/20022025/19/04/image_20022025_19_04_25_9322.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338879851","1338879854","1338879848","1338879856","1338879841","1338879844"],"photo_ids_order":["1338879841","1338879844","1338879848","1338879851","1338879854","1338879856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5ed219a761c93de3149846fca11edd59.jpg","text":"TemporaryFile(/tmp/multipartBody3935924089101098533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160325854,"filename":"image_20022025_19_03_56_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/00cc1142d376272f70085467ae65538f.jpg","text":"TemporaryFile(/tmp/multipartBody7108705346738544985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160325854,"filename":"image_20022025_19_04_06_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bc6e1de7b32d66762b29c3cbb037bed5.jpg","text":"TemporaryFile(/tmp/multipartBody5715998199607631991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160325854,"filename":"image_20022025_19_03_46_9991.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eb7c6b212f0241bc53e6a963d4f2a049.jpg","text":"TemporaryFile(/tmp/multipartBody1394200491077779055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160325854,"filename":"image_20022025_19_04_25_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e92c7a6e10f8355b4c0823adc7812ec6.jpg","text":"TemporaryFile(/tmp/multipartBody8259252404229953104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160325854,"filename":"image_20022025_19_03_16_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa896246d633c5b148e80082e6b362ed.jpg","text":"TemporaryFile(/tmp/multipartBody6569260839562548691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160325854,"filename":"image_20022025_19_03_36_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338879848","file1":"1338879844","file0":"1338879841","file4":"1338879854","file5":"1338879856","file3":"1338879851"},"map_files_photo_id_array":[{"photo_id":"1338879856","filename":"file5"},{"photo_id":"1338879848","filename":"file2"},{"photo_id":"1338879854","filename":"file4"},{"photo_id":"1338879844","filename":"file1"},{"photo_id":"1338879841","filename":"file0"},{"photo_id":"1338879851","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338879851":["hashtag1","hashtag2"]},{"1338879854":["hashtag1","hashtag2"]},{"1338879848":["hashtag1","hashtag2"]},{"1338879856":["hashtag1","hashtag2"]},{"1338879841":["hashtag1","hashtag2"]},{"1338879844":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338879851, 1338879854, 1338879848, 1338879856, 1338879841, 1338879844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.288384199142456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:51:42.732323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/50/image_21022025_18_50_46_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/50/image_21022025_18_50_46_9340.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338879865"],"photo_id":"1338879865","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/30936cc31863d193b2d0a196b7491115.jpg","text":"TemporaryFile(/tmp/multipartBody9069887134494380008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160363140,"filename":"image_21022025_18_50_46_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338879865"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338879865"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.902178525924683 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:52:03.511821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/04/image_20022025_19_04_36_10382.jpg', '/home/pi/Desktop/images/20022025/19/04/image_20022025_19_04_46_10326.jpg', '/home/pi/Desktop/images/20022025/19/04/image_20022025_19_04_55_9339.jpg', '/home/pi/Desktop/images/20022025/19/04/image_20022025_19_05_06_10401.jpg', '/home/pi/Desktop/images/20022025/19/05/image_20022025_19_05_16_10321.jpg', '/home/pi/Desktop/images/20022025/19/05/image_20022025_19_05_36_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/04/image_20022025_19_04_36_10382.jpg
/home/pi/Desktop/images/20022025/19/04/image_20022025_19_04_46_10326.jpg
/home/pi/Desktop/images/20022025/19/04/image_20022025_19_04_55_9339.jpg
/home/pi/Desktop/images/20022025/19/04/image_20022025_19_05_06_10401.jpg
/home/pi/Desktop/images/20022025/19/05/image_20022025_19_05_16_10321.jpg
/home/pi/Desktop/images/20022025/19/05/image_20022025_19_05_36_10346.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338879878","1338879887","1338879874","1338879883","1338879891","1338879873"],"photo_ids_order":["1338879873","1338879874","1338879878","1338879883","1338879887","1338879891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f21315a34326623af4520f779a72e3e6.jpg","text":"TemporaryFile(/tmp/multipartBody6613477082061524926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160384867,"filename":"image_20022025_19_04_55_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a6621e1e5f7f6c738c75078a9158b7d5.jpg","text":"TemporaryFile(/tmp/multipartBody8803593268186835685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160384867,"filename":"image_20022025_19_05_16_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b8eeb2c9bfdc9ccae5add2457f22538d.jpg","text":"TemporaryFile(/tmp/multipartBody2053054017046321243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160384867,"filename":"image_20022025_19_04_46_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/98e876824eee0ad4313c5969464a3342.jpg","text":"TemporaryFile(/tmp/multipartBody6709342261103978597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160384867,"filename":"image_20022025_19_05_06_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef70a13984ad2ddfbc6cc538b791de0b.jpg","text":"TemporaryFile(/tmp/multipartBody1633504664206253730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160384867,"filename":"image_20022025_19_05_36_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/12fde1aa0605725729db8ef1b64bdb41.jpg","text":"TemporaryFile(/tmp/multipartBody8905432420391972265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160384867,"filename":"image_20022025_19_04_36_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338879878","file1":"1338879874","file0":"1338879873","file4":"1338879887","file5":"1338879891","file3":"1338879883"},"map_files_photo_id_array":[{"photo_id":"1338879891","filename":"file5"},{"photo_id":"1338879878","filename":"file2"},{"photo_id":"1338879887","filename":"file4"},{"photo_id":"1338879874","filename":"file1"},{"photo_id":"1338879873","filename":"file0"},{"photo_id":"1338879883","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338879878":["hashtag1","hashtag2"]},{"1338879887":["hashtag1","hashtag2"]},{"1338879874":["hashtag1","hashtag2"]},{"1338879883":["hashtag1","hashtag2"]},{"1338879891":["hashtag1","hashtag2"]},{"1338879873":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338879878, 1338879887, 1338879874, 1338879883, 1338879891, 1338879873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.707326889038086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:52:42.895690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/51/image_21022025_18_51_36_9406.jpg', '/home/pi/Desktop/images/21022025/18/52/image_21022025_18_52_16_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/51/image_21022025_18_51_36_9406.jpg
/home/pi/Desktop/images/21022025/18/52/image_21022025_18_52_16_10346.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338879912","1338879908"],"photo_ids_order":["1338879908","1338879912"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/543d4c93dc710f80983973d950a3651f.jpg","text":"TemporaryFile(/tmp/multipartBody6127910293336445542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160423319,"filename":"image_21022025_18_52_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4306acd6b874c60457d3200ed78c6833.jpg","text":"TemporaryFile(/tmp/multipartBody3449253992257713925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160423319,"filename":"image_21022025_18_51_36_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338879912","file0":"1338879908"},"map_files_photo_id_array":[{"photo_id":"1338879912","filename":"file1"},{"photo_id":"1338879908","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338879912":["hashtag1","hashtag2"]},{"1338879908":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338879912, 1338879908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.996810674667358 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:53:04.663897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/05/image_20022025_19_05_46_10331.jpg', '/home/pi/Desktop/images/20022025/19/05/image_20022025_19_06_06_10396.jpg', '/home/pi/Desktop/images/20022025/19/06/image_20022025_19_06_16_10327.jpg', '/home/pi/Desktop/images/20022025/19/06/image_20022025_19_06_25_9337.jpg', '/home/pi/Desktop/images/20022025/19/06/image_20022025_19_06_45_9319.jpg', '/home/pi/Desktop/images/20022025/19/06/image_20022025_19_06_56_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/05/image_20022025_19_05_46_10331.jpg
/home/pi/Desktop/images/20022025/19/05/image_20022025_19_06_06_10396.jpg
/home/pi/Desktop/images/20022025/19/06/image_20022025_19_06_16_10327.jpg
/home/pi/Desktop/images/20022025/19/06/image_20022025_19_06_25_9337.jpg
/home/pi/Desktop/images/20022025/19/06/image_20022025_19_06_45_9319.jpg
/home/pi/Desktop/images/20022025/19/06/image_20022025_19_06_56_10458.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338880179","1338880499","1338879922","1338880342","1338880051","1338879936"],"photo_ids_order":["1338879922","1338879936","1338880051","1338880179","1338880342","1338880499"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a9cf1a1e54d29bf538c8fea380f89455.jpg","text":"TemporaryFile(/tmp/multipartBody5070359816236219668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160446212,"filename":"image_20022025_19_06_25_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d289570145510fa17d2180e6c863bd1b.jpg","text":"TemporaryFile(/tmp/multipartBody1014615257597972904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160446212,"filename":"image_20022025_19_06_56_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a7bfd90c46e764cdc6b3090e323b28cf.jpg","text":"TemporaryFile(/tmp/multipartBody627412243493493638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160446212,"filename":"image_20022025_19_05_46_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/029b70923217b314ba2c9f55c2dee531.jpg","text":"TemporaryFile(/tmp/multipartBody1031258890946360347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160446212,"filename":"image_20022025_19_06_45_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e781b0f0f8dc7bae9232b4567253e00c.jpg","text":"TemporaryFile(/tmp/multipartBody3756626968394253793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160446212,"filename":"image_20022025_19_06_16_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/38a22d05e23db9a8b2ec2f5c723dc4ac.jpg","text":"TemporaryFile(/tmp/multipartBody8716569653084696062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160446212,"filename":"image_20022025_19_06_06_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338880051","file1":"1338879936","file0":"1338879922","file4":"1338880342","file5":"1338880499","file3":"1338880179"},"map_files_photo_id_array":[{"photo_id":"1338880499","filename":"file5"},{"photo_id":"1338880051","filename":"file2"},{"photo_id":"1338880342","filename":"file4"},{"photo_id":"1338879936","filename":"file1"},{"photo_id":"1338879922","filename":"file0"},{"photo_id":"1338880179","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338880179":["hashtag1","hashtag2"]},{"1338880499":["hashtag1","hashtag2"]},{"1338879922":["hashtag1","hashtag2"]},{"1338880342":["hashtag1","hashtag2"]},{"1338880051":["hashtag1","hashtag2"]},{"1338879936":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338880179, 1338880499, 1338879922, 1338880342, 1338880051, 1338879936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.913387060165405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:53:43.082158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/06/image_20022025_19_07_06_10339.jpg', '/home/pi/Desktop/images/20022025/19/07/image_20022025_19_07_26_10417.jpg', '/home/pi/Desktop/images/20022025/19/07/image_20022025_19_07_56_10402.jpg', '/home/pi/Desktop/images/20022025/19/07/image_20022025_19_08_05_9322.jpg', '/home/pi/Desktop/images/20022025/19/08/image_20022025_19_08_26_10349.jpg', '/home/pi/Desktop/images/20022025/19/08/image_20022025_19_08_35_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/06/image_20022025_19_07_06_10339.jpg
/home/pi/Desktop/images/20022025/19/07/image_20022025_19_07_26_10417.jpg
/home/pi/Desktop/images/20022025/19/07/image_20022025_19_07_56_10402.jpg
/home/pi/Desktop/images/20022025/19/07/image_20022025_19_08_05_9322.jpg
/home/pi/Desktop/images/20022025/19/08/image_20022025_19_08_26_10349.jpg
/home/pi/Desktop/images/20022025/19/08/image_20022025_19_08_35_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338881153","1338881255","1338880955","1338880853","1338880798","1338881091"],"photo_ids_order":["1338880798","1338880853","1338880955","1338881091","1338881153","1338881255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c3aa93bf959ebfa0c444353b6a45bfbe.jpg","text":"TemporaryFile(/tmp/multipartBody6849367438382608444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160484354,"filename":"image_20022025_19_08_26_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/21d1e93bf207e25633451af128078ca7.jpg","text":"TemporaryFile(/tmp/multipartBody5709933198809348139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160484354,"filename":"image_20022025_19_08_35_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a26c05218ea232b462d44762757c522.jpg","text":"TemporaryFile(/tmp/multipartBody4913375504882436960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160484354,"filename":"image_20022025_19_07_56_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cba3528f1160f4e6919f54bc7bb6914e.jpg","text":"TemporaryFile(/tmp/multipartBody8400326732218135750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160484354,"filename":"image_20022025_19_07_26_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b22722a6ddd18c02f671be708a1a80d1.jpg","text":"TemporaryFile(/tmp/multipartBody2783687717564900989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160484354,"filename":"image_20022025_19_07_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e4911ce467c4620ad8cd4fcdf930e0f.jpg","text":"TemporaryFile(/tmp/multipartBody5577521148729769740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160484354,"filename":"image_20022025_19_08_05_9322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338880955","file1":"1338880853","file0":"1338880798","file4":"1338881153","file5":"1338881255","file3":"1338881091"},"map_files_photo_id_array":[{"photo_id":"1338881255","filename":"file5"},{"photo_id":"1338880955","filename":"file2"},{"photo_id":"1338881153","filename":"file4"},{"photo_id":"1338880853","filename":"file1"},{"photo_id":"1338880798","filename":"file0"},{"photo_id":"1338881091","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338881153":["hashtag1","hashtag2"]},{"1338881255":["hashtag1","hashtag2"]},{"1338880955":["hashtag1","hashtag2"]},{"1338880853":["hashtag1","hashtag2"]},{"1338880798":["hashtag1","hashtag2"]},{"1338881091":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338881153, 1338881255, 1338880955, 1338880853, 1338880798, 1338881091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.890783071517944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:54:32.276147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/52/image_21022025_18_52_27_10440.jpg', '/home/pi/Desktop/images/21022025/18/54/image_21022025_18_54_16_9337.jpg', '/home/pi/Desktop/images/21022025/18/54/image_21022025_18_54_27_10808.jpg', '/home/pi/Desktop/images/21022025/18/54/image_21022025_18_54_36_9465.jpg', '/home/pi/Desktop/images/21022025/18/54/image_21022025_18_54_47_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/52/image_21022025_18_52_27_10440.jpg
/home/pi/Desktop/images/21022025/18/54/image_21022025_18_54_16_9337.jpg
/home/pi/Desktop/images/21022025/18/54/image_21022025_18_54_27_10808.jpg
/home/pi/Desktop/images/21022025/18/54/image_21022025_18_54_36_9465.jpg
/home/pi/Desktop/images/21022025/18/54/image_21022025_18_54_47_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338881423","1338881413","1338881416","1338881433","1338881436"],"photo_ids_order":["1338881413","1338881416","1338881423","1338881433","1338881436"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0abaa4599ad61a69d30efb0282bdd2ae.jpg","text":"TemporaryFile(/tmp/multipartBody4226319000094524340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160532742,"filename":"image_21022025_18_54_27_10808.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8a39b36870e286f81c226b0eaa9c24d.jpg","text":"TemporaryFile(/tmp/multipartBody2085839483160732122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160532742,"filename":"image_21022025_18_52_27_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d7548508fe14dce5170cb92dac675f50.jpg","text":"TemporaryFile(/tmp/multipartBody6261039189206917783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160532742,"filename":"image_21022025_18_54_16_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cb8931f3f1dcfb476edb4434139ad8e5.jpg","text":"TemporaryFile(/tmp/multipartBody9013979550155678072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160532742,"filename":"image_21022025_18_54_36_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e221771bd5698c57fae1609f6a106e7.jpg","text":"TemporaryFile(/tmp/multipartBody1730665761455247137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160532742,"filename":"image_21022025_18_54_47_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338881423","file1":"1338881416","file0":"1338881413","file4":"1338881436","file3":"1338881433"},"map_files_photo_id_array":[{"photo_id":"1338881423","filename":"file2"},{"photo_id":"1338881436","filename":"file4"},{"photo_id":"1338881416","filename":"file1"},{"photo_id":"1338881413","filename":"file0"},{"photo_id":"1338881433","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338881423":["hashtag1","hashtag2"]},{"1338881413":["hashtag1","hashtag2"]},{"1338881416":["hashtag1","hashtag2"]},{"1338881433":["hashtag1","hashtag2"]},{"1338881436":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338881423, 1338881413, 1338881416, 1338881433, 1338881436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.206274032592773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:55:03.781277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/08/image_20022025_19_08_46_10410.jpg', '/home/pi/Desktop/images/20022025/19/08/image_20022025_19_08_56_10330.jpg', '/home/pi/Desktop/images/20022025/19/09/image_20022025_19_09_16_10326.jpg', '/home/pi/Desktop/images/20022025/19/09/image_20022025_19_09_25_9431.jpg', '/home/pi/Desktop/images/20022025/19/09/image_20022025_19_09_46_10365.jpg', '/home/pi/Desktop/images/20022025/19/09/image_20022025_19_10_06_10323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/08/image_20022025_19_08_46_10410.jpg
/home/pi/Desktop/images/20022025/19/08/image_20022025_19_08_56_10330.jpg
/home/pi/Desktop/images/20022025/19/09/image_20022025_19_09_16_10326.jpg
/home/pi/Desktop/images/20022025/19/09/image_20022025_19_09_25_9431.jpg
/home/pi/Desktop/images/20022025/19/09/image_20022025_19_09_46_10365.jpg
/home/pi/Desktop/images/20022025/19/09/image_20022025_19_10_06_10323.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338881474","1338881468","1338881467","1338881455","1338881458","1338881451"],"photo_ids_order":["1338881451","1338881455","1338881458","1338881467","1338881468","1338881474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1536b489c72c810b601894d9944ed7db.jpg","text":"TemporaryFile(/tmp/multipartBody6230533230950345880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160565386,"filename":"image_20022025_19_10_06_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6dbf80e3351f8d34475f91dbfea81fd4.jpg","text":"TemporaryFile(/tmp/multipartBody3185566226979345658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160565386,"filename":"image_20022025_19_09_46_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a1a691f00843d173d47823d4111cd5b0.jpg","text":"TemporaryFile(/tmp/multipartBody1341509568092401305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160565386,"filename":"image_20022025_19_09_25_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e5e73dffe033ef8fe9d5c47719f0de2c.jpg","text":"TemporaryFile(/tmp/multipartBody6281449776468837587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160565386,"filename":"image_20022025_19_08_56_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f32a3febe8b8c7f78ff7543158b7427d.jpg","text":"TemporaryFile(/tmp/multipartBody2621792939178042331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160565386,"filename":"image_20022025_19_09_16_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a286533249f4f6f50017c8f1db058bb4.jpg","text":"TemporaryFile(/tmp/multipartBody3747671941493773353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160565386,"filename":"image_20022025_19_08_46_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338881458","file1":"1338881455","file0":"1338881451","file4":"1338881468","file5":"1338881474","file3":"1338881467"},"map_files_photo_id_array":[{"photo_id":"1338881474","filename":"file5"},{"photo_id":"1338881458","filename":"file2"},{"photo_id":"1338881468","filename":"file4"},{"photo_id":"1338881455","filename":"file1"},{"photo_id":"1338881451","filename":"file0"},{"photo_id":"1338881467","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338881474":["hashtag1","hashtag2"]},{"1338881468":["hashtag1","hashtag2"]},{"1338881467":["hashtag1","hashtag2"]},{"1338881455":["hashtag1","hashtag2"]},{"1338881458":["hashtag1","hashtag2"]},{"1338881451":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338881474, 1338881468, 1338881467, 1338881455, 1338881458, 1338881451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.743417501449585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:55:42.495376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/54/image_21022025_18_54_56_9339.jpg', '/home/pi/Desktop/images/21022025/18/54/image_21022025_18_55_06_10346.jpg', '/home/pi/Desktop/images/21022025/18/55/image_21022025_18_55_17_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/54/image_21022025_18_54_56_9339.jpg
/home/pi/Desktop/images/21022025/18/54/image_21022025_18_55_06_10346.jpg
/home/pi/Desktop/images/21022025/18/55/image_21022025_18_55_17_10348.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338881491","1338881496","1338881493"],"photo_ids_order":["1338881491","1338881493","1338881496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/77a9bf628e80ecc884ffd50ba6bc63bc.jpg","text":"TemporaryFile(/tmp/multipartBody4814769254991610765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160602940,"filename":"image_21022025_18_54_56_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e93757404e1fe600a866ce9cbe034c8b.jpg","text":"TemporaryFile(/tmp/multipartBody8304593368232451456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160602940,"filename":"image_21022025_18_55_17_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa7fb2db274a28a97e78f625db6748ad.jpg","text":"TemporaryFile(/tmp/multipartBody4081999956390662400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160602940,"filename":"image_21022025_18_55_06_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338881496","file1":"1338881493","file0":"1338881491"},"map_files_photo_id_array":[{"photo_id":"1338881496","filename":"file2"},{"photo_id":"1338881493","filename":"file1"},{"photo_id":"1338881491","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338881491":["hashtag1","hashtag2"]},{"1338881496":["hashtag1","hashtag2"]},{"1338881493":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338881491, 1338881496, 1338881493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.005592107772827 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:56:03.369868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/10/image_20022025_19_10_16_10326.jpg', '/home/pi/Desktop/images/20022025/19/10/image_20022025_19_10_25_9332.jpg', '/home/pi/Desktop/images/20022025/19/10/image_20022025_19_10_36_10388.jpg', '/home/pi/Desktop/images/20022025/19/10/image_20022025_19_10_46_10346.jpg', '/home/pi/Desktop/images/20022025/19/10/image_20022025_19_10_55_9336.jpg', '/home/pi/Desktop/images/20022025/19/10/image_20022025_19_11_06_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/10/image_20022025_19_10_16_10326.jpg
/home/pi/Desktop/images/20022025/19/10/image_20022025_19_10_25_9332.jpg
/home/pi/Desktop/images/20022025/19/10/image_20022025_19_10_36_10388.jpg
/home/pi/Desktop/images/20022025/19/10/image_20022025_19_10_46_10346.jpg
/home/pi/Desktop/images/20022025/19/10/image_20022025_19_10_55_9336.jpg
/home/pi/Desktop/images/20022025/19/10/image_20022025_19_11_06_10421.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338881544","1338881783","1338881507","1338881702","1338881623","1338881871"],"photo_ids_order":["1338881507","1338881544","1338881623","1338881702","1338881783","1338881871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f44e8cbc1f97a6fe9babc84d5b14a7b0.jpg","text":"TemporaryFile(/tmp/multipartBody7919459899209496668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160624822,"filename":"image_20022025_19_10_25_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ee03ed2f2fe01a64ca57c413e896b50e.jpg","text":"TemporaryFile(/tmp/multipartBody644985281521714829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160624822,"filename":"image_20022025_19_10_55_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6cdca097c041f0a2fc1dd025d701cae5.jpg","text":"TemporaryFile(/tmp/multipartBody7545920726166607292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160624822,"filename":"image_20022025_19_10_16_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5ef9529f7dabab5d1ae8b3feda17504a.jpg","text":"TemporaryFile(/tmp/multipartBody1934320332143371937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160624822,"filename":"image_20022025_19_10_46_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7868d5427a8a6ad105be2e09bd66a86.jpg","text":"TemporaryFile(/tmp/multipartBody5928367289021181964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160624822,"filename":"image_20022025_19_10_36_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/44818e456c6cb554b24873bf6d147033.jpg","text":"TemporaryFile(/tmp/multipartBody9221346291531504455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160624822,"filename":"image_20022025_19_11_06_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338881623","file1":"1338881544","file0":"1338881507","file4":"1338881783","file5":"1338881871","file3":"1338881702"},"map_files_photo_id_array":[{"photo_id":"1338881871","filename":"file5"},{"photo_id":"1338881623","filename":"file2"},{"photo_id":"1338881783","filename":"file4"},{"photo_id":"1338881544","filename":"file1"},{"photo_id":"1338881507","filename":"file0"},{"photo_id":"1338881702","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338881544":["hashtag1","hashtag2"]},{"1338881783":["hashtag1","hashtag2"]},{"1338881507":["hashtag1","hashtag2"]},{"1338881702":["hashtag1","hashtag2"]},{"1338881623":["hashtag1","hashtag2"]},{"1338881871":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338881544, 1338881783, 1338881507, 1338881702, 1338881623, 1338881871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52000665664673 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:56:42.911509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/55/image_21022025_18_55_56_9371.jpg', '/home/pi/Desktop/images/21022025/18/55/image_21022025_18_56_07_10391.jpg', '/home/pi/Desktop/images/21022025/18/56/image_21022025_18_56_16_9375.jpg', '/home/pi/Desktop/images/21022025/18/56/image_21022025_18_56_26_10368.jpg', '/home/pi/Desktop/images/21022025/18/56/image_21022025_18_56_46_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/55/image_21022025_18_55_56_9371.jpg
/home/pi/Desktop/images/21022025/18/55/image_21022025_18_56_07_10391.jpg
/home/pi/Desktop/images/21022025/18/56/image_21022025_18_56_16_9375.jpg
/home/pi/Desktop/images/21022025/18/56/image_21022025_18_56_26_10368.jpg
/home/pi/Desktop/images/21022025/18/56/image_21022025_18_56_46_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338881992","1338881995","1338881989","1338882069","1338881979"],"photo_ids_order":["1338881979","1338881989","1338881992","1338881995","1338882069"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9550d5e6f141d7a597aac07501026116.jpg","text":"TemporaryFile(/tmp/multipartBody6853646762714162990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160663366,"filename":"image_21022025_18_56_16_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6209931688474b8c5d4ddd1022df5373.jpg","text":"TemporaryFile(/tmp/multipartBody6401883028701416992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160663366,"filename":"image_21022025_18_56_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/65bec3e09eed5eb205960dc12a4ca6ae.jpg","text":"TemporaryFile(/tmp/multipartBody3266675364277021335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160663366,"filename":"image_21022025_18_56_07_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5be252949709c541bd9682b19d89fd7e.jpg","text":"TemporaryFile(/tmp/multipartBody6370708248444904571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160663366,"filename":"image_21022025_18_56_46_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4047597b1276b51216d62bebd57fd52b.jpg","text":"TemporaryFile(/tmp/multipartBody8298705268605120911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160663366,"filename":"image_21022025_18_55_56_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338881992","file1":"1338881989","file0":"1338881979","file4":"1338882069","file3":"1338881995"},"map_files_photo_id_array":[{"photo_id":"1338881992","filename":"file2"},{"photo_id":"1338882069","filename":"file4"},{"photo_id":"1338881989","filename":"file1"},{"photo_id":"1338881979","filename":"file0"},{"photo_id":"1338881995","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338881992":["hashtag1","hashtag2"]},{"1338881995":["hashtag1","hashtag2"]},{"1338881989":["hashtag1","hashtag2"]},{"1338882069":["hashtag1","hashtag2"]},{"1338881979":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338881992, 1338881995, 1338881989, 1338882069, 1338881979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.028476238250732 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:57:33.012564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/56/image_21022025_18_56_57_10357.jpg', '/home/pi/Desktop/images/21022025/18/56/image_21022025_18_57_06_9404.jpg', '/home/pi/Desktop/images/21022025/18/57/image_21022025_18_57_36_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/56/image_21022025_18_56_57_10357.jpg
/home/pi/Desktop/images/21022025/18/56/image_21022025_18_57_06_9404.jpg
/home/pi/Desktop/images/21022025/18/57/image_21022025_18_57_36_9387.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338882106","1338882115","1338882109"],"photo_ids_order":["1338882106","1338882109","1338882115"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/44dcc96c8b08d5f391e5f333fa1b2952.jpg","text":"TemporaryFile(/tmp/multipartBody4209546262570563848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160713461,"filename":"image_21022025_18_56_57_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e6fe8eb1d60653b13200333d2888badf.jpg","text":"TemporaryFile(/tmp/multipartBody827238860005537720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160713461,"filename":"image_21022025_18_57_36_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e45e90311540fcd383095eb5fd33d2b6.jpg","text":"TemporaryFile(/tmp/multipartBody1317079428513606128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160713461,"filename":"image_21022025_18_57_06_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338882115","file1":"1338882109","file0":"1338882106"},"map_files_photo_id_array":[{"photo_id":"1338882115","filename":"file2"},{"photo_id":"1338882109","filename":"file1"},{"photo_id":"1338882106","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338882106":["hashtag1","hashtag2"]},{"1338882115":["hashtag1","hashtag2"]},{"1338882109":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338882106, 1338882115, 1338882109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.457281589508057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:57:52.990457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/11/image_20022025_19_11_45_9379.jpg', '/home/pi/Desktop/images/20022025/19/11/image_20022025_19_11_56_10416.jpg', '/home/pi/Desktop/images/20022025/19/11/image_20022025_19_12_06_10335.jpg', '/home/pi/Desktop/images/20022025/19/12/image_20022025_19_12_46_10424.jpg', '/home/pi/Desktop/images/20022025/19/12/image_20022025_19_12_56_10348.jpg', '/home/pi/Desktop/images/20022025/19/12/image_20022025_19_13_05_9330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/11/image_20022025_19_11_45_9379.jpg
/home/pi/Desktop/images/20022025/19/11/image_20022025_19_11_56_10416.jpg
/home/pi/Desktop/images/20022025/19/11/image_20022025_19_12_06_10335.jpg
/home/pi/Desktop/images/20022025/19/12/image_20022025_19_12_46_10424.jpg
/home/pi/Desktop/images/20022025/19/12/image_20022025_19_12_56_10348.jpg
/home/pi/Desktop/images/20022025/19/12/image_20022025_19_13_05_9330.jpg
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 18:59:03.932962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/57/image_21022025_18_57_57_10350.jpg', '/home/pi/Desktop/images/21022025/18/57/image_21022025_18_58_06_9418.jpg', '/home/pi/Desktop/images/21022025/18/58/image_21022025_18_58_17_10376.jpg', '/home/pi/Desktop/images/21022025/18/58/image_21022025_18_58_26_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/57/image_21022025_18_57_57_10350.jpg
/home/pi/Desktop/images/21022025/18/57/image_21022025_18_58_06_9418.jpg
/home/pi/Desktop/images/21022025/18/58/image_21022025_18_58_17_10376.jpg
/home/pi/Desktop/images/21022025/18/58/image_21022025_18_58_26_9384.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338882461","1338882472","1338882465","1338882459"],"photo_ids_order":["1338882459","1338882461","1338882465","1338882472"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a95e0b5cf6e0f7c660b74bb72b86d150.jpg","text":"TemporaryFile(/tmp/multipartBody6999660891597022303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160804467,"filename":"image_21022025_18_58_06_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/feae162eea6abf2fda0d542f0398981f.jpg","text":"TemporaryFile(/tmp/multipartBody2773687844818734782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160804467,"filename":"image_21022025_18_58_26_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/43e9d8a969d9c4c407c6a24ea3479294.jpg","text":"TemporaryFile(/tmp/multipartBody2596144177713768254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160804467,"filename":"image_21022025_18_58_17_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a18248f3d28b5ad1d931dd735b487e70.jpg","text":"TemporaryFile(/tmp/multipartBody7024060983384465895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160804467,"filename":"image_21022025_18_57_57_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338882465","file1":"1338882461","file0":"1338882459","file3":"1338882472"},"map_files_photo_id_array":[{"photo_id":"1338882465","filename":"file2"},{"photo_id":"1338882461","filename":"file1"},{"photo_id":"1338882459","filename":"file0"},{"photo_id":"1338882472","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338882461":["hashtag1","hashtag2"]},{"1338882472":["hashtag1","hashtag2"]},{"1338882465":["hashtag1","hashtag2"]},{"1338882459":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338882461, 1338882472, 1338882465, 1338882459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.8238525390625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 18:59:32.713769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/58/image_21022025_18_58_37_10447.jpg', '/home/pi/Desktop/images/21022025/18/58/image_21022025_18_59_07_10370.jpg', '/home/pi/Desktop/images/21022025/18/59/image_21022025_18_59_27_10393.jpg', '/home/pi/Desktop/images/21022025/18/59/image_21022025_18_59_37_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/58/image_21022025_18_58_37_10447.jpg
/home/pi/Desktop/images/21022025/18/58/image_21022025_18_59_07_10370.jpg
/home/pi/Desktop/images/21022025/18/59/image_21022025_18_59_27_10393.jpg
/home/pi/Desktop/images/21022025/18/59/image_21022025_18_59_37_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338882536","1338882539","1338882489","1338882485"],"photo_ids_order":["1338882485","1338882489","1338882536","1338882539"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90db2ac357a14191a58f6e73a1edeef6.jpg","text":"TemporaryFile(/tmp/multipartBody1663901320333387067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160833160,"filename":"image_21022025_18_59_27_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1f72bf1c07fac9a89154729ff58b8cb3.jpg","text":"TemporaryFile(/tmp/multipartBody2839190151531385209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160833160,"filename":"image_21022025_18_59_37_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/84a5283bbd6524523c05fb4fdb0863a4.jpg","text":"TemporaryFile(/tmp/multipartBody6727866812033228044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160833160,"filename":"image_21022025_18_59_07_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d76cb33c44cab2e7f1f906b3d09f1a25.jpg","text":"TemporaryFile(/tmp/multipartBody3336301716574434206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160833160,"filename":"image_21022025_18_58_37_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338882536","file1":"1338882489","file0":"1338882485","file3":"1338882539"},"map_files_photo_id_array":[{"photo_id":"1338882536","filename":"file2"},{"photo_id":"1338882489","filename":"file1"},{"photo_id":"1338882485","filename":"file0"},{"photo_id":"1338882539","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338882536":["hashtag1","hashtag2"]},{"1338882539":["hashtag1","hashtag2"]},{"1338882489":["hashtag1","hashtag2"]},{"1338882485":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338882536, 1338882539, 1338882489, 1338882485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.503495454788208 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:00:03.608824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/11/image_20022025_19_11_45_9379.jpg', '/home/pi/Desktop/images/20022025/19/11/image_20022025_19_11_56_10416.jpg', '/home/pi/Desktop/images/20022025/19/11/image_20022025_19_12_06_10335.jpg', '/home/pi/Desktop/images/20022025/19/12/image_20022025_19_12_46_10424.jpg', '/home/pi/Desktop/images/20022025/19/12/image_20022025_19_12_56_10348.jpg', '/home/pi/Desktop/images/20022025/19/12/image_20022025_19_13_05_9330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/11/image_20022025_19_11_45_9379.jpg
/home/pi/Desktop/images/20022025/19/11/image_20022025_19_11_56_10416.jpg
/home/pi/Desktop/images/20022025/19/11/image_20022025_19_12_06_10335.jpg
/home/pi/Desktop/images/20022025/19/12/image_20022025_19_12_46_10424.jpg
/home/pi/Desktop/images/20022025/19/12/image_20022025_19_12_56_10348.jpg
/home/pi/Desktop/images/20022025/19/12/image_20022025_19_13_05_9330.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338882560","1338882554","1338882557","1338882614","1338882565","1338882570"],"photo_ids_order":["1338882554","1338882557","1338882560","1338882565","1338882570","1338882614"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/279de911bf1a25854a61f49567528f0c.jpg","text":"TemporaryFile(/tmp/multipartBody3639056344843035107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160864902,"filename":"image_20022025_19_12_06_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fff964e5db193ff76b3b4edc784fc313.jpg","text":"TemporaryFile(/tmp/multipartBody8757235863608866937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160864902,"filename":"image_20022025_19_11_45_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b6e25bafa89d33e9d154999ef5818e6b.jpg","text":"TemporaryFile(/tmp/multipartBody5835087510036415590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160864902,"filename":"image_20022025_19_11_56_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b1da7555e87c5713c06eba4fdc61d804.jpg","text":"TemporaryFile(/tmp/multipartBody5235653056386225428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160864902,"filename":"image_20022025_19_13_05_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d67c2810e1b22f8a792652e7a3b45f1.jpg","text":"TemporaryFile(/tmp/multipartBody539229228018186061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160864902,"filename":"image_20022025_19_12_46_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3fcaf2e27d10008627d3a70a08d845e9.jpg","text":"TemporaryFile(/tmp/multipartBody1000331789729455295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160864902,"filename":"image_20022025_19_12_56_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338882560","file1":"1338882557","file0":"1338882554","file4":"1338882570","file5":"1338882614","file3":"1338882565"},"map_files_photo_id_array":[{"photo_id":"1338882614","filename":"file5"},{"photo_id":"1338882560","filename":"file2"},{"photo_id":"1338882570","filename":"file4"},{"photo_id":"1338882557","filename":"file1"},{"photo_id":"1338882554","filename":"file0"},{"photo_id":"1338882565","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338882560":["hashtag1","hashtag2"]},{"1338882554":["hashtag1","hashtag2"]},{"1338882557":["hashtag1","hashtag2"]},{"1338882614":["hashtag1","hashtag2"]},{"1338882565":["hashtag1","hashtag2"]},{"1338882570":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338882560, 1338882554, 1338882557, 1338882614, 1338882565, 1338882570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61988830566406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:00:43.031844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/13/image_20022025_19_13_26_10355.jpg', '/home/pi/Desktop/images/20022025/19/13/image_20022025_19_13_35_9417.jpg', '/home/pi/Desktop/images/20022025/19/13/image_20022025_19_13_46_10339.jpg', '/home/pi/Desktop/images/20022025/19/13/image_20022025_19_13_56_10335.jpg', '/home/pi/Desktop/images/20022025/19/13/image_20022025_19_14_05_9464.jpg', '/home/pi/Desktop/images/20022025/19/14/image_20022025_19_14_25_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/13/image_20022025_19_13_26_10355.jpg
/home/pi/Desktop/images/20022025/19/13/image_20022025_19_13_35_9417.jpg
/home/pi/Desktop/images/20022025/19/13/image_20022025_19_13_46_10339.jpg
/home/pi/Desktop/images/20022025/19/13/image_20022025_19_13_56_10335.jpg
/home/pi/Desktop/images/20022025/19/13/image_20022025_19_14_05_9464.jpg
/home/pi/Desktop/images/20022025/19/14/image_20022025_19_14_25_9410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338882641","1338882659","1338882644","1338882661","1338882655","1338882657"],"photo_ids_order":["1338882641","1338882644","1338882655","1338882657","1338882659","1338882661"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7337a42868dca4b143cb4626269c9563.jpg","text":"TemporaryFile(/tmp/multipartBody3957334377943366756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160904307,"filename":"image_20022025_19_13_26_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/988b9aa06dec03bb15bc01500326a08f.jpg","text":"TemporaryFile(/tmp/multipartBody3135100248011638259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160904307,"filename":"image_20022025_19_14_05_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c5a11c9f59e1fb44d8768d7a4f818a9.jpg","text":"TemporaryFile(/tmp/multipartBody2692637594726770852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160904307,"filename":"image_20022025_19_13_35_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b0ac648009d200b568b80f892171b2a.jpg","text":"TemporaryFile(/tmp/multipartBody803454084962327586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160904307,"filename":"image_20022025_19_14_25_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/db9d16c9b3acd9e14ca250235373f609.jpg","text":"TemporaryFile(/tmp/multipartBody393496570166889578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160904307,"filename":"image_20022025_19_13_46_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a3328cf5232c736c476e86ae6bfef01.jpg","text":"TemporaryFile(/tmp/multipartBody1928410833931081259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160904307,"filename":"image_20022025_19_13_56_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338882655","file1":"1338882644","file0":"1338882641","file4":"1338882659","file5":"1338882661","file3":"1338882657"},"map_files_photo_id_array":[{"photo_id":"1338882661","filename":"file5"},{"photo_id":"1338882655","filename":"file2"},{"photo_id":"1338882659","filename":"file4"},{"photo_id":"1338882644","filename":"file1"},{"photo_id":"1338882641","filename":"file0"},{"photo_id":"1338882657","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338882641":["hashtag1","hashtag2"]},{"1338882659":["hashtag1","hashtag2"]},{"1338882644":["hashtag1","hashtag2"]},{"1338882661":["hashtag1","hashtag2"]},{"1338882655":["hashtag1","hashtag2"]},{"1338882657":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338882641, 1338882659, 1338882644, 1338882661, 1338882655, 1338882657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.648247241973877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:01:33.229633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/14/image_20022025_19_14_36_10355.jpg', '/home/pi/Desktop/images/20022025/19/14/image_20022025_19_14_56_10469.jpg', '/home/pi/Desktop/images/20022025/19/14/image_20022025_19_15_06_10335.jpg', '/home/pi/Desktop/images/20022025/19/15/image_20022025_19_15_15_9384.jpg', '/home/pi/Desktop/images/20022025/19/15/image_20022025_19_15_26_10334.jpg', '/home/pi/Desktop/images/20022025/19/15/image_20022025_19_15_35_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/14/image_20022025_19_14_36_10355.jpg
/home/pi/Desktop/images/20022025/19/14/image_20022025_19_14_56_10469.jpg
/home/pi/Desktop/images/20022025/19/14/image_20022025_19_15_06_10335.jpg
/home/pi/Desktop/images/20022025/19/15/image_20022025_19_15_15_9384.jpg
/home/pi/Desktop/images/20022025/19/15/image_20022025_19_15_26_10334.jpg
/home/pi/Desktop/images/20022025/19/15/image_20022025_19_15_35_9401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338882743","1338882751","1338882745","1338882748","1338882741","1338882705"],"photo_ids_order":["1338882705","1338882741","1338882743","1338882745","1338882748","1338882751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/551f005ab7730fd8b8cdf32c4f5ddbfd.jpg","text":"TemporaryFile(/tmp/multipartBody7403831636413856610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160955348,"filename":"image_20022025_19_15_06_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1818db8f2dafc67293bb5b51b6d6dff5.jpg","text":"TemporaryFile(/tmp/multipartBody8727307342895462785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160955348,"filename":"image_20022025_19_15_35_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a277b402a81aa4adb8cddf057deed87a.jpg","text":"TemporaryFile(/tmp/multipartBody1521429990914592686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160955348,"filename":"image_20022025_19_15_15_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a32cd71d3d1ee2c501f5ec954bc2e2ba.jpg","text":"TemporaryFile(/tmp/multipartBody5918537811285442678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160955348,"filename":"image_20022025_19_15_26_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/291c78514e210f010808e41c2290c0c3.jpg","text":"TemporaryFile(/tmp/multipartBody3166684996505338891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160955348,"filename":"image_20022025_19_14_56_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7688948770875fdadda5c9807f6e2fd6.jpg","text":"TemporaryFile(/tmp/multipartBody8324882228196899620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740160955348,"filename":"image_20022025_19_14_36_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338882743","file1":"1338882741","file0":"1338882705","file4":"1338882748","file5":"1338882751","file3":"1338882745"},"map_files_photo_id_array":[{"photo_id":"1338882751","filename":"file5"},{"photo_id":"1338882743","filename":"file2"},{"photo_id":"1338882748","filename":"file4"},{"photo_id":"1338882741","filename":"file1"},{"photo_id":"1338882705","filename":"file0"},{"photo_id":"1338882745","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338882743":["hashtag1","hashtag2"]},{"1338882751":["hashtag1","hashtag2"]},{"1338882745":["hashtag1","hashtag2"]},{"1338882748":["hashtag1","hashtag2"]},{"1338882741":["hashtag1","hashtag2"]},{"1338882705":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338882743, 1338882751, 1338882745, 1338882748, 1338882741, 1338882705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.08322262763977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:02:32.418137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/15/image_20022025_19_15_56_10335.jpg', '/home/pi/Desktop/images/20022025/19/15/image_20022025_19_16_05_9330.jpg', '/home/pi/Desktop/images/20022025/19/16/image_20022025_19_16_35_9355.jpg', '/home/pi/Desktop/images/20022025/19/16/image_20022025_19_16_46_10334.jpg', '/home/pi/Desktop/images/20022025/19/16/image_20022025_19_16_56_10342.jpg', '/home/pi/Desktop/images/20022025/19/16/image_20022025_19_17_05_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/15/image_20022025_19_15_56_10335.jpg
/home/pi/Desktop/images/20022025/19/15/image_20022025_19_16_05_9330.jpg
/home/pi/Desktop/images/20022025/19/16/image_20022025_19_16_35_9355.jpg
/home/pi/Desktop/images/20022025/19/16/image_20022025_19_16_46_10334.jpg
/home/pi/Desktop/images/20022025/19/16/image_20022025_19_16_56_10342.jpg
/home/pi/Desktop/images/20022025/19/16/image_20022025_19_17_05_9369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338882935","1338882920","1338882923","1338882933","1338882930","1338882927"],"photo_ids_order":["1338882920","1338882923","1338882927","1338882930","1338882933","1338882935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6cc0d29941b890926dd7c82923b1c43b.jpg","text":"TemporaryFile(/tmp/multipartBody5705216709131136560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161014535,"filename":"image_20022025_19_17_05_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8efbb402657119bf35f1e6cbfb636b9.jpg","text":"TemporaryFile(/tmp/multipartBody230580457667496771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161014535,"filename":"image_20022025_19_15_56_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c9d49c2ad791db88da26553dc8ca455c.jpg","text":"TemporaryFile(/tmp/multipartBody3341805638870026846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161014535,"filename":"image_20022025_19_16_05_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7b0626c290d3b041124fca0de94c59ac.jpg","text":"TemporaryFile(/tmp/multipartBody8448571976510225266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161014535,"filename":"image_20022025_19_16_56_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8ac59f69a4ccb85b17d6aba10e2d38db.jpg","text":"TemporaryFile(/tmp/multipartBody3116991170272797323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161014535,"filename":"image_20022025_19_16_46_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d29b05fc7277722a3d9180cabb703311.jpg","text":"TemporaryFile(/tmp/multipartBody7591681595648908204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161014535,"filename":"image_20022025_19_16_35_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338882927","file1":"1338882923","file0":"1338882920","file4":"1338882933","file5":"1338882935","file3":"1338882930"},"map_files_photo_id_array":[{"photo_id":"1338882935","filename":"file5"},{"photo_id":"1338882927","filename":"file2"},{"photo_id":"1338882933","filename":"file4"},{"photo_id":"1338882923","filename":"file1"},{"photo_id":"1338882920","filename":"file0"},{"photo_id":"1338882930","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338882935":["hashtag1","hashtag2"]},{"1338882920":["hashtag1","hashtag2"]},{"1338882923":["hashtag1","hashtag2"]},{"1338882933":["hashtag1","hashtag2"]},{"1338882930":["hashtag1","hashtag2"]},{"1338882927":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338882935, 1338882920, 1338882923, 1338882933, 1338882930, 1338882927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90843868255615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:03:32.606863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/18/59/image_21022025_18_59_57_10464.jpg', '/home/pi/Desktop/images/21022025/19/02/image_21022025_19_03_05_9334.jpg', '/home/pi/Desktop/images/21022025/19/03/image_21022025_19_03_15_10400.jpg', '/home/pi/Desktop/images/21022025/19/03/image_21022025_19_03_26_10447.jpg', '/home/pi/Desktop/images/21022025/19/03/image_21022025_19_03_35_9402.jpg', '/home/pi/Desktop/images/21022025/19/03/image_21022025_19_03_46_10485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/18/59/image_21022025_18_59_57_10464.jpg
/home/pi/Desktop/images/21022025/19/02/image_21022025_19_03_05_9334.jpg
/home/pi/Desktop/images/21022025/19/03/image_21022025_19_03_15_10400.jpg
/home/pi/Desktop/images/21022025/19/03/image_21022025_19_03_26_10447.jpg
/home/pi/Desktop/images/21022025/19/03/image_21022025_19_03_35_9402.jpg
/home/pi/Desktop/images/21022025/19/03/image_21022025_19_03_46_10485.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338882959","1338882953","1338882961","1338882955","1338882964","1338882956"],"photo_ids_order":["1338882953","1338882955","1338882956","1338882959","1338882961","1338882964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/84495abc7d3e4a6c072de43cf8404113.jpg","text":"TemporaryFile(/tmp/multipartBody8182941796275977654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161073068,"filename":"image_21022025_19_03_26_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/45b639384afad87f32dced0910355488.jpg","text":"TemporaryFile(/tmp/multipartBody5047118304744610949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161073068,"filename":"image_21022025_18_59_57_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e53c0286773bee98ffe102e46675596c.jpg","text":"TemporaryFile(/tmp/multipartBody222446518374739536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161073068,"filename":"image_21022025_19_03_35_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f1d1a23e7a664b51d52cd40a9a16c40.jpg","text":"TemporaryFile(/tmp/multipartBody4250537842534128381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161073068,"filename":"image_21022025_19_03_05_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bdf850e524e065817611ca6181f5ead3.jpg","text":"TemporaryFile(/tmp/multipartBody3445482999375528166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161073068,"filename":"image_21022025_19_03_46_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/67fde4da1e9a7581fd6f3d1f7ec8972b.jpg","text":"TemporaryFile(/tmp/multipartBody707220124327239406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161073068,"filename":"image_21022025_19_03_15_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338882956","file1":"1338882955","file0":"1338882953","file4":"1338882961","file5":"1338882964","file3":"1338882959"},"map_files_photo_id_array":[{"photo_id":"1338882964","filename":"file5"},{"photo_id":"1338882956","filename":"file2"},{"photo_id":"1338882961","filename":"file4"},{"photo_id":"1338882955","filename":"file1"},{"photo_id":"1338882953","filename":"file0"},{"photo_id":"1338882959","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338882959":["hashtag1","hashtag2"]},{"1338882953":["hashtag1","hashtag2"]},{"1338882961":["hashtag1","hashtag2"]},{"1338882955":["hashtag1","hashtag2"]},{"1338882964":["hashtag1","hashtag2"]},{"1338882956":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338882959, 1338882953, 1338882961, 1338882955, 1338882964, 1338882956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6762797832489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:04:32.856021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/03/image_21022025_19_03_55_9416.jpg', '/home/pi/Desktop/images/21022025/19/03/image_21022025_19_04_06_10486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/03/image_21022025_19_03_55_9416.jpg
/home/pi/Desktop/images/21022025/19/03/image_21022025_19_04_06_10486.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338883263","1338883265"],"photo_ids_order":["1338883263","1338883265"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5681c80c75a208492c89006b43dab9fe.jpg","text":"TemporaryFile(/tmp/multipartBody6052040905263251108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161133278,"filename":"image_21022025_19_03_55_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7f9b0e44072a11f02935ef141184b59a.jpg","text":"TemporaryFile(/tmp/multipartBody2577788487820250815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161133278,"filename":"image_21022025_19_04_06_10486.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338883265","file0":"1338883263"},"map_files_photo_id_array":[{"photo_id":"1338883265","filename":"file1"},{"photo_id":"1338883263","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338883263":["hashtag1","hashtag2"]},{"1338883265":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338883263, 1338883265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.829575300216675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:04:52.845360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/17/image_20022025_19_17_25_9391.jpg', '/home/pi/Desktop/images/20022025/19/17/image_20022025_19_17_36_10419.jpg', '/home/pi/Desktop/images/20022025/19/17/image_20022025_19_17_46_10437.jpg', '/home/pi/Desktop/images/20022025/19/18/image_20022025_19_18_25_9324.jpg', '/home/pi/Desktop/images/20022025/19/18/image_20022025_19_18_45_9404.jpg', '/home/pi/Desktop/images/20022025/19/18/image_20022025_19_18_56_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/17/image_20022025_19_17_25_9391.jpg
/home/pi/Desktop/images/20022025/19/17/image_20022025_19_17_36_10419.jpg
/home/pi/Desktop/images/20022025/19/17/image_20022025_19_17_46_10437.jpg
/home/pi/Desktop/images/20022025/19/18/image_20022025_19_18_25_9324.jpg
/home/pi/Desktop/images/20022025/19/18/image_20022025_19_18_45_9404.jpg
/home/pi/Desktop/images/20022025/19/18/image_20022025_19_18_56_10443.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338883439","1338883384","1338883368","1338883434","1338883367","1338883361"],"photo_ids_order":["1338883361","1338883367","1338883368","1338883384","1338883434","1338883439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/20463dd3b78a88803d01b0ccfefa1137.jpg","text":"TemporaryFile(/tmp/multipartBody3602694431950376145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161154961,"filename":"image_20022025_19_18_56_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b6a1ca958ecbebc0d498131c4892348.jpg","text":"TemporaryFile(/tmp/multipartBody4827642544426467275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161154961,"filename":"image_20022025_19_18_25_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83cea31a0dae296b1e44dd50ed2086da.jpg","text":"TemporaryFile(/tmp/multipartBody4326746335331700313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161154961,"filename":"image_20022025_19_17_46_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1e80e7ca872f4b13eeae540c6e84f8a.jpg","text":"TemporaryFile(/tmp/multipartBody727680847411682220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161154961,"filename":"image_20022025_19_18_45_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/339ab4e5810e17009f67c3997bad0387.jpg","text":"TemporaryFile(/tmp/multipartBody8371773731643392559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161154961,"filename":"image_20022025_19_17_36_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/00272d78ffe6d8bace720a3941d36515.jpg","text":"TemporaryFile(/tmp/multipartBody5401055176105813875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161154961,"filename":"image_20022025_19_17_25_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338883368","file1":"1338883367","file0":"1338883361","file4":"1338883434","file5":"1338883439","file3":"1338883384"},"map_files_photo_id_array":[{"photo_id":"1338883439","filename":"file5"},{"photo_id":"1338883368","filename":"file2"},{"photo_id":"1338883434","filename":"file4"},{"photo_id":"1338883367","filename":"file1"},{"photo_id":"1338883361","filename":"file0"},{"photo_id":"1338883384","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338883439":["hashtag1","hashtag2"]},{"1338883384":["hashtag1","hashtag2"]},{"1338883368":["hashtag1","hashtag2"]},{"1338883434":["hashtag1","hashtag2"]},{"1338883367":["hashtag1","hashtag2"]},{"1338883361":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338883439, 1338883384, 1338883368, 1338883434, 1338883367, 1338883361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.1164665222168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:05:33.081220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/04/image_21022025_19_04_25_10438.jpg', '/home/pi/Desktop/images/21022025/19/04/image_21022025_19_05_05_9329.jpg', '/home/pi/Desktop/images/21022025/19/05/image_21022025_19_05_15_10354.jpg', '/home/pi/Desktop/images/21022025/19/05/image_21022025_19_05_26_10460.jpg', '/home/pi/Desktop/images/21022025/19/05/image_21022025_19_05_35_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/04/image_21022025_19_04_25_10438.jpg
/home/pi/Desktop/images/21022025/19/04/image_21022025_19_05_05_9329.jpg
/home/pi/Desktop/images/21022025/19/05/image_21022025_19_05_15_10354.jpg
/home/pi/Desktop/images/21022025/19/05/image_21022025_19_05_26_10460.jpg
/home/pi/Desktop/images/21022025/19/05/image_21022025_19_05_35_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338883507","1338883491","1338883504","1338883488","1338883503"],"photo_ids_order":["1338883488","1338883491","1338883503","1338883504","1338883507"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e3f39fad1afe4b1e4f3dba1f298d86d8.jpg","text":"TemporaryFile(/tmp/multipartBody6887949580898092049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161193548,"filename":"image_21022025_19_05_35_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/794f0e0267cf0c465a9da6316426dc45.jpg","text":"TemporaryFile(/tmp/multipartBody2674539163870648205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161193548,"filename":"image_21022025_19_05_05_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/69e097a5aabc53d95788df9ac7f9d724.jpg","text":"TemporaryFile(/tmp/multipartBody8627917065982497872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161193548,"filename":"image_21022025_19_05_26_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d35deb1683e005a4f767cf2159e216c.jpg","text":"TemporaryFile(/tmp/multipartBody1550087126013389830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161193548,"filename":"image_21022025_19_04_25_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ecff21b71fba604bccabff39c812f039.jpg","text":"TemporaryFile(/tmp/multipartBody2608557108170128697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161193548,"filename":"image_21022025_19_05_15_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338883503","file1":"1338883491","file0":"1338883488","file4":"1338883507","file3":"1338883504"},"map_files_photo_id_array":[{"photo_id":"1338883503","filename":"file2"},{"photo_id":"1338883507","filename":"file4"},{"photo_id":"1338883491","filename":"file1"},{"photo_id":"1338883488","filename":"file0"},{"photo_id":"1338883504","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338883507":["hashtag1","hashtag2"]},{"1338883491":["hashtag1","hashtag2"]},{"1338883504":["hashtag1","hashtag2"]},{"1338883488":["hashtag1","hashtag2"]},{"1338883503":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338883507, 1338883491, 1338883504, 1338883488, 1338883503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.733062982559204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:06:32.437420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/18/image_20022025_19_19_06_10330.jpg', '/home/pi/Desktop/images/20022025/19/19/image_20022025_19_19_46_9511.jpg', '/home/pi/Desktop/images/20022025/19/19/image_20022025_19_19_56_10347.jpg', '/home/pi/Desktop/images/20022025/19/19/image_20022025_19_20_05_9319.jpg', '/home/pi/Desktop/images/20022025/19/20/image_20022025_19_20_26_10398.jpg', '/home/pi/Desktop/images/20022025/19/20/image_20022025_19_20_46_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/18/image_20022025_19_19_06_10330.jpg
/home/pi/Desktop/images/20022025/19/19/image_20022025_19_19_46_9511.jpg
/home/pi/Desktop/images/20022025/19/19/image_20022025_19_19_56_10347.jpg
/home/pi/Desktop/images/20022025/19/19/image_20022025_19_20_05_9319.jpg
/home/pi/Desktop/images/20022025/19/20/image_20022025_19_20_26_10398.jpg
/home/pi/Desktop/images/20022025/19/20/image_20022025_19_20_46_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338884393","1338884396","1338884400","1338884426","1338884423","1338884389"],"photo_ids_order":["1338884389","1338884393","1338884396","1338884400","1338884423","1338884426"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61dca323249fe6cb4f2d8a571974e232.jpg","text":"TemporaryFile(/tmp/multipartBody8011626694325565657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161254556,"filename":"image_20022025_19_19_46_9511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3a672910711b1f1ebfd9fbb3c7f368ff.jpg","text":"TemporaryFile(/tmp/multipartBody1318763699721163354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161254556,"filename":"image_20022025_19_19_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/679c138a703359b69f96292869ec9de4.jpg","text":"TemporaryFile(/tmp/multipartBody2228054956410149373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161254556,"filename":"image_20022025_19_20_05_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/84171026b35f44c13439fc85f16d5da1.jpg","text":"TemporaryFile(/tmp/multipartBody9086784174603205694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161254556,"filename":"image_20022025_19_20_46_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/da2f9667028a57525917b28d82e582f1.jpg","text":"TemporaryFile(/tmp/multipartBody110995131406221284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161254556,"filename":"image_20022025_19_20_26_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/82c1d2a404f749b36955f2b5212e8cc9.jpg","text":"TemporaryFile(/tmp/multipartBody5666028231441945194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161254556,"filename":"image_20022025_19_19_06_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338884396","file1":"1338884393","file0":"1338884389","file4":"1338884423","file5":"1338884426","file3":"1338884400"},"map_files_photo_id_array":[{"photo_id":"1338884426","filename":"file5"},{"photo_id":"1338884396","filename":"file2"},{"photo_id":"1338884423","filename":"file4"},{"photo_id":"1338884393","filename":"file1"},{"photo_id":"1338884389","filename":"file0"},{"photo_id":"1338884400","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338884393":["hashtag1","hashtag2"]},{"1338884396":["hashtag1","hashtag2"]},{"1338884400":["hashtag1","hashtag2"]},{"1338884426":["hashtag1","hashtag2"]},{"1338884423":["hashtag1","hashtag2"]},{"1338884389":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338884393, 1338884396, 1338884400, 1338884426, 1338884423, 1338884389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.93515110015869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:07:32.421857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/05/image_21022025_19_05_55_9337.jpg', '/home/pi/Desktop/images/21022025/19/06/image_21022025_19_06_16_10331.jpg', '/home/pi/Desktop/images/21022025/19/06/image_21022025_19_06_25_9439.jpg', '/home/pi/Desktop/images/21022025/19/06/image_21022025_19_06_36_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/05/image_21022025_19_05_55_9337.jpg
/home/pi/Desktop/images/21022025/19/06/image_21022025_19_06_16_10331.jpg
/home/pi/Desktop/images/21022025/19/06/image_21022025_19_06_25_9439.jpg
/home/pi/Desktop/images/21022025/19/06/image_21022025_19_06_36_10458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338884446","1338884445","1338884442","1338884618"],"photo_ids_order":["1338884442","1338884445","1338884446","1338884618"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/20a4ef47f02ceadffa4f2c6387dedf0c.jpg","text":"TemporaryFile(/tmp/multipartBody5342846291310651564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161312954,"filename":"image_21022025_19_06_25_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e285d87fab31f932c5558ed36b30c99c.jpg","text":"TemporaryFile(/tmp/multipartBody5419321830361735154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161312954,"filename":"image_21022025_19_06_16_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ec23deda2f582a8cf32900982c2268cc.jpg","text":"TemporaryFile(/tmp/multipartBody7379236594256603192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161312954,"filename":"image_21022025_19_05_55_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/58f5bd9e6f2e05e60d7c83871451971d.jpg","text":"TemporaryFile(/tmp/multipartBody3742101499460555076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161312954,"filename":"image_21022025_19_06_36_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338884446","file1":"1338884445","file0":"1338884442","file3":"1338884618"},"map_files_photo_id_array":[{"photo_id":"1338884446","filename":"file2"},{"photo_id":"1338884445","filename":"file1"},{"photo_id":"1338884442","filename":"file0"},{"photo_id":"1338884618","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338884446":["hashtag1","hashtag2"]},{"1338884445":["hashtag1","hashtag2"]},{"1338884442":["hashtag1","hashtag2"]},{"1338884618":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338884446, 1338884445, 1338884442, 1338884618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.2821683883667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:08:03.281116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/21/image_20022025_19_21_16_10383.jpg', '/home/pi/Desktop/images/20022025/19/21/image_20022025_19_21_25_9381.jpg', '/home/pi/Desktop/images/20022025/19/21/image_20022025_19_21_36_10481.jpg', '/home/pi/Desktop/images/20022025/19/21/image_20022025_19_21_46_10340.jpg', '/home/pi/Desktop/images/20022025/19/21/image_20022025_19_21_55_9392.jpg', '/home/pi/Desktop/images/20022025/19/22/image_20022025_19_22_16_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/21/image_20022025_19_21_16_10383.jpg
/home/pi/Desktop/images/20022025/19/21/image_20022025_19_21_25_9381.jpg
/home/pi/Desktop/images/20022025/19/21/image_20022025_19_21_36_10481.jpg
/home/pi/Desktop/images/20022025/19/21/image_20022025_19_21_46_10340.jpg
/home/pi/Desktop/images/20022025/19/21/image_20022025_19_21_55_9392.jpg
/home/pi/Desktop/images/20022025/19/22/image_20022025_19_22_16_10335.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338884793","1338884792","1338884873","1338884846","1338884876","1338884797"],"photo_ids_order":["1338884792","1338884793","1338884797","1338884846","1338884873","1338884876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c8089e9d8a68879ab2c652b5e90695ee.jpg","text":"TemporaryFile(/tmp/multipartBody1055970585638926088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161344651,"filename":"image_20022025_19_21_25_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3bf49d79e9b98b9f1f1c34906a50e00c.jpg","text":"TemporaryFile(/tmp/multipartBody4495325627355785175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161344651,"filename":"image_20022025_19_21_16_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/97674efd6651c74ce707d54da81bd05e.jpg","text":"TemporaryFile(/tmp/multipartBody7303397147666158253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161344651,"filename":"image_20022025_19_21_55_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06180da021fcfc72ab7905c31841b733.jpg","text":"TemporaryFile(/tmp/multipartBody5937770273308579918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161344651,"filename":"image_20022025_19_21_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e6136524462ebb19322c91852ee34186.jpg","text":"TemporaryFile(/tmp/multipartBody54842466668107652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161344651,"filename":"image_20022025_19_22_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d97a8e93a8f96d5c2902ff9bf780a70d.jpg","text":"TemporaryFile(/tmp/multipartBody2458982670992998727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161344651,"filename":"image_20022025_19_21_36_10481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338884797","file1":"1338884793","file0":"1338884792","file4":"1338884873","file5":"1338884876","file3":"1338884846"},"map_files_photo_id_array":[{"photo_id":"1338884876","filename":"file5"},{"photo_id":"1338884797","filename":"file2"},{"photo_id":"1338884873","filename":"file4"},{"photo_id":"1338884793","filename":"file1"},{"photo_id":"1338884792","filename":"file0"},{"photo_id":"1338884846","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338884793":["hashtag1","hashtag2"]},{"1338884792":["hashtag1","hashtag2"]},{"1338884873":["hashtag1","hashtag2"]},{"1338884846":["hashtag1","hashtag2"]},{"1338884876":["hashtag1","hashtag2"]},{"1338884797":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338884793, 1338884792, 1338884873, 1338884846, 1338884876, 1338884797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.888684034347534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:08:42.628607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/07/image_21022025_19_07_26_10449.jpg', '/home/pi/Desktop/images/21022025/19/07/image_21022025_19_08_06_9686.jpg', '/home/pi/Desktop/images/21022025/19/08/image_21022025_19_08_25_9343.jpg', '/home/pi/Desktop/images/21022025/19/08/image_21022025_19_08_35_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/07/image_21022025_19_07_26_10449.jpg
/home/pi/Desktop/images/21022025/19/07/image_21022025_19_08_06_9686.jpg
/home/pi/Desktop/images/21022025/19/08/image_21022025_19_08_25_9343.jpg
/home/pi/Desktop/images/21022025/19/08/image_21022025_19_08_35_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338884886","1338884891","1338884894","1338884888"],"photo_ids_order":["1338884886","1338884888","1338884891","1338884894"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c919b1d6053e0d5ecf7fb56c4e8f372b.jpg","text":"TemporaryFile(/tmp/multipartBody9185478429110267242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161383081,"filename":"image_21022025_19_07_26_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61a116c38178260de56fbfeaea73a255.jpg","text":"TemporaryFile(/tmp/multipartBody3236343248821703972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161383081,"filename":"image_21022025_19_08_25_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c87adcba9039767624eaa224d97a7d2.jpg","text":"TemporaryFile(/tmp/multipartBody1312859513885106256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161383081,"filename":"image_21022025_19_08_35_9730.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f47818d3de60fb05df5ef7756891f9ff.jpg","text":"TemporaryFile(/tmp/multipartBody4420357975377640651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161383081,"filename":"image_21022025_19_08_06_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338884891","file1":"1338884888","file0":"1338884886","file3":"1338884894"},"map_files_photo_id_array":[{"photo_id":"1338884891","filename":"file2"},{"photo_id":"1338884888","filename":"file1"},{"photo_id":"1338884886","filename":"file0"},{"photo_id":"1338884894","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338884886":["hashtag1","hashtag2"]},{"1338884891":["hashtag1","hashtag2"]},{"1338884894":["hashtag1","hashtag2"]},{"1338884888":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338884886, 1338884891, 1338884894, 1338884888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.640272855758667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:09:32.891047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/08/image_21022025_19_08_56_10391.jpg', '/home/pi/Desktop/images/21022025/19/09/image_21022025_19_09_15_10348.jpg', '/home/pi/Desktop/images/21022025/19/09/image_21022025_19_09_35_9361.jpg', '/home/pi/Desktop/images/21022025/19/09/image_21022025_19_09_45_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/08/image_21022025_19_08_56_10391.jpg
/home/pi/Desktop/images/21022025/19/09/image_21022025_19_09_15_10348.jpg
/home/pi/Desktop/images/21022025/19/09/image_21022025_19_09_35_9361.jpg
/home/pi/Desktop/images/21022025/19/09/image_21022025_19_09_45_10336.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37090587615966797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:09:42.972095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/08/image_21022025_19_08_56_10391.jpg', '/home/pi/Desktop/images/21022025/19/09/image_21022025_19_09_15_10348.jpg', '/home/pi/Desktop/images/21022025/19/09/image_21022025_19_09_35_9361.jpg', '/home/pi/Desktop/images/21022025/19/09/image_21022025_19_09_45_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/08/image_21022025_19_08_56_10391.jpg
/home/pi/Desktop/images/21022025/19/09/image_21022025_19_09_15_10348.jpg
/home/pi/Desktop/images/21022025/19/09/image_21022025_19_09_35_9361.jpg
/home/pi/Desktop/images/21022025/19/09/image_21022025_19_09_45_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338884920","1338884914","1338884917","1338884922"],"photo_ids_order":["1338884914","1338884917","1338884920","1338884922"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ed0dc7281f013fe0dbbb0ed2946f785c.jpg","text":"TemporaryFile(/tmp/multipartBody8539511741663976212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161443427,"filename":"image_21022025_19_09_35_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0fa507f49df86a9e5f7e7f048a5d9f86.jpg","text":"TemporaryFile(/tmp/multipartBody3230581744317171070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161443427,"filename":"image_21022025_19_08_56_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0827ad777afd80ac2ba160369f9728f0.jpg","text":"TemporaryFile(/tmp/multipartBody4742306489410584835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161443427,"filename":"image_21022025_19_09_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74c5acc1cbf235bb10fbaffabe9745e1.jpg","text":"TemporaryFile(/tmp/multipartBody8819573934020479298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161443427,"filename":"image_21022025_19_09_45_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338884920","file1":"1338884917","file0":"1338884914","file3":"1338884922"},"map_files_photo_id_array":[{"photo_id":"1338884920","filename":"file2"},{"photo_id":"1338884917","filename":"file1"},{"photo_id":"1338884914","filename":"file0"},{"photo_id":"1338884922","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338884920":["hashtag1","hashtag2"]},{"1338884914":["hashtag1","hashtag2"]},{"1338884917":["hashtag1","hashtag2"]},{"1338884922":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338884920, 1338884914, 1338884917, 1338884922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.14196228981018 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:10:33.091635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/09/image_21022025_19_09_56_10445.jpg', '/home/pi/Desktop/images/21022025/19/10/image_21022025_19_10_25_9362.jpg', '/home/pi/Desktop/images/21022025/19/10/image_21022025_19_10_35_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/09/image_21022025_19_09_56_10445.jpg
/home/pi/Desktop/images/21022025/19/10/image_21022025_19_10_25_9362.jpg
/home/pi/Desktop/images/21022025/19/10/image_21022025_19_10_35_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338884944","1338884945","1338884942"],"photo_ids_order":["1338884942","1338884944","1338884945"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e8d159f3cd29357de913d941a63f6897.jpg","text":"TemporaryFile(/tmp/multipartBody9152091961535366283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161493527,"filename":"image_21022025_19_10_25_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b9dc561c7193efead979cd641801b329.jpg","text":"TemporaryFile(/tmp/multipartBody8104580320865640154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161493527,"filename":"image_21022025_19_10_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ced987027f31cfea235ac04fbbb96f2a.jpg","text":"TemporaryFile(/tmp/multipartBody585412146726394658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161493527,"filename":"image_21022025_19_09_56_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338884945","file1":"1338884944","file0":"1338884942"},"map_files_photo_id_array":[{"photo_id":"1338884945","filename":"file2"},{"photo_id":"1338884944","filename":"file1"},{"photo_id":"1338884942","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338884944":["hashtag1","hashtag2"]},{"1338884945":["hashtag1","hashtag2"]},{"1338884942":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338884944, 1338884945, 1338884942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.31727409362793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:11:03.798616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/22/image_20022025_19_22_45_9427.jpg', '/home/pi/Desktop/images/20022025/19/22/image_20022025_19_22_56_10379.jpg', '/home/pi/Desktop/images/20022025/19/23/image_20022025_19_23_16_10388.jpg', '/home/pi/Desktop/images/20022025/19/23/image_20022025_19_23_26_10333.jpg', '/home/pi/Desktop/images/20022025/19/23/image_20022025_19_23_35_9341.jpg', '/home/pi/Desktop/images/20022025/19/23/image_20022025_19_23_46_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/22/image_20022025_19_22_45_9427.jpg
/home/pi/Desktop/images/20022025/19/22/image_20022025_19_22_56_10379.jpg
/home/pi/Desktop/images/20022025/19/23/image_20022025_19_23_16_10388.jpg
/home/pi/Desktop/images/20022025/19/23/image_20022025_19_23_26_10333.jpg
/home/pi/Desktop/images/20022025/19/23/image_20022025_19_23_35_9341.jpg
/home/pi/Desktop/images/20022025/19/23/image_20022025_19_23_46_10438.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338884965","1338884959","1338884994","1338884973","1338884982","1338884962"],"photo_ids_order":["1338884959","1338884962","1338884965","1338884973","1338884982","1338884994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d92d1e648f16e08c3c588b20e4b2d12.jpg","text":"TemporaryFile(/tmp/multipartBody4075263955779470634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161525532,"filename":"image_20022025_19_23_16_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a250297aed87352046a4a0696e614a73.jpg","text":"TemporaryFile(/tmp/multipartBody2099978352301237703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161525532,"filename":"image_20022025_19_22_45_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/55d62f2691560c4bc469f6f54728cb39.jpg","text":"TemporaryFile(/tmp/multipartBody4834565992231147146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161525532,"filename":"image_20022025_19_23_46_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/317400af664b24632810638aab2af9da.jpg","text":"TemporaryFile(/tmp/multipartBody4500372161853661471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161525532,"filename":"image_20022025_19_23_26_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fe47c50d24f4dc08ac4e183172db41c2.jpg","text":"TemporaryFile(/tmp/multipartBody5552665154923744293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161525532,"filename":"image_20022025_19_23_35_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b7d6685ba0d7097f14b5cc4f7a930fe3.jpg","text":"TemporaryFile(/tmp/multipartBody2399185783604406518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161525532,"filename":"image_20022025_19_22_56_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338884965","file1":"1338884962","file0":"1338884959","file4":"1338884982","file5":"1338884994","file3":"1338884973"},"map_files_photo_id_array":[{"photo_id":"1338884994","filename":"file5"},{"photo_id":"1338884965","filename":"file2"},{"photo_id":"1338884982","filename":"file4"},{"photo_id":"1338884962","filename":"file1"},{"photo_id":"1338884959","filename":"file0"},{"photo_id":"1338884973","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338884965":["hashtag1","hashtag2"]},{"1338884959":["hashtag1","hashtag2"]},{"1338884994":["hashtag1","hashtag2"]},{"1338884973":["hashtag1","hashtag2"]},{"1338884982":["hashtag1","hashtag2"]},{"1338884962":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338884965, 1338884959, 1338884994, 1338884973, 1338884982, 1338884962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.547006130218506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:11:42.288867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/10/image_21022025_19_10_46_10413.jpg', '/home/pi/Desktop/images/21022025/19/10/image_21022025_19_11_06_10407.jpg', '/home/pi/Desktop/images/21022025/19/11/image_21022025_19_11_15_9424.jpg', '/home/pi/Desktop/images/21022025/19/11/image_21022025_19_11_36_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/10/image_21022025_19_10_46_10413.jpg
/home/pi/Desktop/images/21022025/19/10/image_21022025_19_11_06_10407.jpg
/home/pi/Desktop/images/21022025/19/11/image_21022025_19_11_15_9424.jpg
/home/pi/Desktop/images/21022025/19/11/image_21022025_19_11_36_10422.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.36164021492004395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:11:52.376294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/10/image_21022025_19_10_46_10413.jpg', '/home/pi/Desktop/images/21022025/19/10/image_21022025_19_11_06_10407.jpg', '/home/pi/Desktop/images/21022025/19/11/image_21022025_19_11_15_9424.jpg', '/home/pi/Desktop/images/21022025/19/11/image_21022025_19_11_36_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/10/image_21022025_19_10_46_10413.jpg
/home/pi/Desktop/images/21022025/19/10/image_21022025_19_11_06_10407.jpg
/home/pi/Desktop/images/21022025/19/11/image_21022025_19_11_15_9424.jpg
/home/pi/Desktop/images/21022025/19/11/image_21022025_19_11_36_10422.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338885028","1338885032","1338885035","1338885038"],"photo_ids_order":["1338885028","1338885032","1338885035","1338885038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/596742ff9a4269c4fd8ba9cf72cfd223.jpg","text":"TemporaryFile(/tmp/multipartBody3932236904305250981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161572824,"filename":"image_21022025_19_10_46_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2c41450ab4bd69e28c070fe2c964c39b.jpg","text":"TemporaryFile(/tmp/multipartBody2013199085577725839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161572824,"filename":"image_21022025_19_11_06_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0acc661b315cd41621e737093336cebb.jpg","text":"TemporaryFile(/tmp/multipartBody4718390022353236975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161572824,"filename":"image_21022025_19_11_15_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06845ef080d88a125292f0c2cdf4cf7d.jpg","text":"TemporaryFile(/tmp/multipartBody8374622096758775452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161572824,"filename":"image_21022025_19_11_36_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338885035","file1":"1338885032","file0":"1338885028","file3":"1338885038"},"map_files_photo_id_array":[{"photo_id":"1338885035","filename":"file2"},{"photo_id":"1338885032","filename":"file1"},{"photo_id":"1338885028","filename":"file0"},{"photo_id":"1338885038","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338885028":["hashtag1","hashtag2"]},{"1338885032":["hashtag1","hashtag2"]},{"1338885035":["hashtag1","hashtag2"]},{"1338885038":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338885028, 1338885032, 1338885035, 1338885038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.554551601409912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:12:32.646870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/11/image_21022025_19_11_56_10479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/11/image_21022025_19_11_56_10479.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338885049"],"photo_id":"1338885049","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/813beabad6e87f8a097246cf0600f221.jpg","text":"TemporaryFile(/tmp/multipartBody8177183983578980739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161613053,"filename":"image_21022025_19_11_56_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338885049"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338885049"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 9.85790753364563 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:12:52.565136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/23/image_20022025_19_23_56_10339.jpg', '/home/pi/Desktop/images/20022025/19/24/image_20022025_19_24_36_10473.jpg', '/home/pi/Desktop/images/20022025/19/24/image_20022025_19_24_46_10321.jpg', '/home/pi/Desktop/images/20022025/19/24/image_20022025_19_24_55_9366.jpg', '/home/pi/Desktop/images/20022025/19/25/image_20022025_19_25_16_10371.jpg', '/home/pi/Desktop/images/20022025/19/25/image_20022025_19_25_25_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/23/image_20022025_19_23_56_10339.jpg
/home/pi/Desktop/images/20022025/19/24/image_20022025_19_24_36_10473.jpg
/home/pi/Desktop/images/20022025/19/24/image_20022025_19_24_46_10321.jpg
/home/pi/Desktop/images/20022025/19/24/image_20022025_19_24_55_9366.jpg
/home/pi/Desktop/images/20022025/19/25/image_20022025_19_25_16_10371.jpg
/home/pi/Desktop/images/20022025/19/25/image_20022025_19_25_25_9340.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338885072","1338885069","1338885077","1338885065","1338885061","1338885064"],"photo_ids_order":["1338885061","1338885064","1338885065","1338885069","1338885072","1338885077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04edfc34eccaced26550ca8535bf2cec.jpg","text":"TemporaryFile(/tmp/multipartBody3279361030910301024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161634696,"filename":"image_20022025_19_25_16_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f4a4e21f81eb6a065c14198c8e03eec1.jpg","text":"TemporaryFile(/tmp/multipartBody7934193025719308976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161634696,"filename":"image_20022025_19_24_55_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87c9798a1b9026e93269b09b0f75cf9e.jpg","text":"TemporaryFile(/tmp/multipartBody2598488142435394004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161634696,"filename":"image_20022025_19_25_25_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/70b6b56ab29e205c46be617027848a5e.jpg","text":"TemporaryFile(/tmp/multipartBody3160326804619768587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161634696,"filename":"image_20022025_19_24_46_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f97af858000d5d81bd5d02c8b4e641cf.jpg","text":"TemporaryFile(/tmp/multipartBody1672474284078172839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161634696,"filename":"image_20022025_19_23_56_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cced950c8005fe5a349e83bfaa8be2ac.jpg","text":"TemporaryFile(/tmp/multipartBody3351457447398459895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161634696,"filename":"image_20022025_19_24_36_10473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338885065","file1":"1338885064","file0":"1338885061","file4":"1338885072","file5":"1338885077","file3":"1338885069"},"map_files_photo_id_array":[{"photo_id":"1338885077","filename":"file5"},{"photo_id":"1338885065","filename":"file2"},{"photo_id":"1338885072","filename":"file4"},{"photo_id":"1338885064","filename":"file1"},{"photo_id":"1338885061","filename":"file0"},{"photo_id":"1338885069","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338885072":["hashtag1","hashtag2"]},{"1338885069":["hashtag1","hashtag2"]},{"1338885077":["hashtag1","hashtag2"]},{"1338885065":["hashtag1","hashtag2"]},{"1338885061":["hashtag1","hashtag2"]},{"1338885064":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338885072, 1338885069, 1338885077, 1338885065, 1338885061, 1338885064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.621931076049805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:13:32.750214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/12/image_21022025_19_12_45_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/12/image_21022025_19_12_45_10354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338885083"],"photo_id":"1338885083","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c9d5d2b02dae953dd089053765756c94.jpg","text":"TemporaryFile(/tmp/multipartBody4730564395597423680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161673163,"filename":"image_21022025_19_12_45_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338885083"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338885083"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.612182378768921 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:13:52.848204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/25/image_20022025_19_25_36_10342.jpg', '/home/pi/Desktop/images/20022025/19/25/image_20022025_19_25_46_10331.jpg', '/home/pi/Desktop/images/20022025/19/27/image_20022025_19_27_56_10327.jpg', '/home/pi/Desktop/images/20022025/19/28/image_20022025_19_28_26_10336.jpg', '/home/pi/Desktop/images/20022025/19/28/image_20022025_19_28_46_10360.jpg', '/home/pi/Desktop/images/20022025/19/28/image_20022025_19_29_06_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/25/image_20022025_19_25_36_10342.jpg
/home/pi/Desktop/images/20022025/19/25/image_20022025_19_25_46_10331.jpg
/home/pi/Desktop/images/20022025/19/27/image_20022025_19_27_56_10327.jpg
/home/pi/Desktop/images/20022025/19/28/image_20022025_19_28_26_10336.jpg
/home/pi/Desktop/images/20022025/19/28/image_20022025_19_28_46_10360.jpg
/home/pi/Desktop/images/20022025/19/28/image_20022025_19_29_06_10408.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338885106","1338885099","1338885090","1338885093","1338885102","1338885097"],"photo_ids_order":["1338885090","1338885093","1338885097","1338885099","1338885102","1338885106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b9db9ab1db721a4c55e2597cc6e7af5e.jpg","text":"TemporaryFile(/tmp/multipartBody7391600690487995430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161694974,"filename":"image_20022025_19_29_06_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7fd1298eb5fcb3387a6d20729bab3ed6.jpg","text":"TemporaryFile(/tmp/multipartBody5500655424127658515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161694974,"filename":"image_20022025_19_28_26_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9cd73c2e9f481670cb02c34d1d22d196.jpg","text":"TemporaryFile(/tmp/multipartBody5855274326401058004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161694974,"filename":"image_20022025_19_25_36_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1099486ce4a40489856249b9062b1f8.jpg","text":"TemporaryFile(/tmp/multipartBody4919571387690819519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161694974,"filename":"image_20022025_19_25_46_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3b1ecb0537fd3c6b186bd4a6f40003f2.jpg","text":"TemporaryFile(/tmp/multipartBody4900317728233217711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161694974,"filename":"image_20022025_19_28_46_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/57bcd77998e8676acc5f0943d5609fd4.jpg","text":"TemporaryFile(/tmp/multipartBody5766479832305632575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161694974,"filename":"image_20022025_19_27_56_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338885097","file1":"1338885093","file0":"1338885090","file4":"1338885102","file5":"1338885106","file3":"1338885099"},"map_files_photo_id_array":[{"photo_id":"1338885106","filename":"file5"},{"photo_id":"1338885097","filename":"file2"},{"photo_id":"1338885102","filename":"file4"},{"photo_id":"1338885093","filename":"file1"},{"photo_id":"1338885090","filename":"file0"},{"photo_id":"1338885099","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338885106":["hashtag1","hashtag2"]},{"1338885099":["hashtag1","hashtag2"]},{"1338885090":["hashtag1","hashtag2"]},{"1338885093":["hashtag1","hashtag2"]},{"1338885102":["hashtag1","hashtag2"]},{"1338885097":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338885106, 1338885099, 1338885090, 1338885093, 1338885102, 1338885097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77956819534302 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:14:33.248348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/13/image_21022025_19_13_35_10345.jpg', '/home/pi/Desktop/images/21022025/19/14/image_21022025_19_14_25_10365.jpg', '/home/pi/Desktop/images/21022025/19/14/image_21022025_19_14_36_10410.jpg', '/home/pi/Desktop/images/21022025/19/14/image_21022025_19_14_45_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/13/image_21022025_19_13_35_10345.jpg
/home/pi/Desktop/images/21022025/19/14/image_21022025_19_14_25_10365.jpg
/home/pi/Desktop/images/21022025/19/14/image_21022025_19_14_36_10410.jpg
/home/pi/Desktop/images/21022025/19/14/image_21022025_19_14_45_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338885115","1338885120","1338885131","1338885118"],"photo_ids_order":["1338885115","1338885118","1338885120","1338885131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/512fa12ab9dd5bee061cfc3d4248f04d.jpg","text":"TemporaryFile(/tmp/multipartBody3134937538659966302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161733710,"filename":"image_21022025_19_13_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4e90b2e1c5f9bde4bc02467bb039330f.jpg","text":"TemporaryFile(/tmp/multipartBody8630384889015461965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161733710,"filename":"image_21022025_19_14_36_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81e2570d86e142e1fb7b4d6e34782582.jpg","text":"TemporaryFile(/tmp/multipartBody3886433178762938363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161733710,"filename":"image_21022025_19_14_45_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bc00ceb6e5fe9d50c7f23165e2b92cb1.jpg","text":"TemporaryFile(/tmp/multipartBody7186127167118976948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161733710,"filename":"image_21022025_19_14_25_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338885120","file1":"1338885118","file0":"1338885115","file3":"1338885131"},"map_files_photo_id_array":[{"photo_id":"1338885120","filename":"file2"},{"photo_id":"1338885118","filename":"file1"},{"photo_id":"1338885115","filename":"file0"},{"photo_id":"1338885131","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338885115":["hashtag1","hashtag2"]},{"1338885120":["hashtag1","hashtag2"]},{"1338885131":["hashtag1","hashtag2"]},{"1338885118":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338885115, 1338885120, 1338885131, 1338885118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.85824704170227 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:15:03.679797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/29/image_20022025_19_29_16_10326.jpg', '/home/pi/Desktop/images/20022025/19/29/image_20022025_19_29_25_9418.jpg', '/home/pi/Desktop/images/20022025/19/30/image_20022025_19_30_16_10335.jpg', '/home/pi/Desktop/images/20022025/19/30/image_20022025_19_30_26_10331.jpg', '/home/pi/Desktop/images/20022025/19/30/image_20022025_19_30_35_9366.jpg', '/home/pi/Desktop/images/20022025/19/30/image_20022025_19_30_46_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/29/image_20022025_19_29_16_10326.jpg
/home/pi/Desktop/images/20022025/19/29/image_20022025_19_29_25_9418.jpg
/home/pi/Desktop/images/20022025/19/30/image_20022025_19_30_16_10335.jpg
/home/pi/Desktop/images/20022025/19/30/image_20022025_19_30_26_10331.jpg
/home/pi/Desktop/images/20022025/19/30/image_20022025_19_30_35_9366.jpg
/home/pi/Desktop/images/20022025/19/30/image_20022025_19_30_46_10344.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338885147","1338885156","1338885143","1338885152","1338885155","1338885140"],"photo_ids_order":["1338885140","1338885143","1338885147","1338885152","1338885155","1338885156"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/15f2f19780c59656d057568fc50b9dce.jpg","text":"TemporaryFile(/tmp/multipartBody4106588733629962031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161765271,"filename":"image_20022025_19_30_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/86c08babfd0054ee58886711a8cc2452.jpg","text":"TemporaryFile(/tmp/multipartBody5102166732791566257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161765271,"filename":"image_20022025_19_30_46_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61bdc44aa4fd598252df76baf420c0a5.jpg","text":"TemporaryFile(/tmp/multipartBody7398617310128335049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161765271,"filename":"image_20022025_19_29_25_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/082f1465ea600093a9897dacdd5e451f.jpg","text":"TemporaryFile(/tmp/multipartBody8261306950660345226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161765271,"filename":"image_20022025_19_30_26_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a9f2c41173cbbefdc176b2b0a254bc3.jpg","text":"TemporaryFile(/tmp/multipartBody8837900339375760662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161765271,"filename":"image_20022025_19_30_35_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1e23d77fdde5356757694e07456f24f9.jpg","text":"TemporaryFile(/tmp/multipartBody1395290588744491823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161765271,"filename":"image_20022025_19_29_16_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338885147","file1":"1338885143","file0":"1338885140","file4":"1338885155","file5":"1338885156","file3":"1338885152"},"map_files_photo_id_array":[{"photo_id":"1338885156","filename":"file5"},{"photo_id":"1338885147","filename":"file2"},{"photo_id":"1338885155","filename":"file4"},{"photo_id":"1338885143","filename":"file1"},{"photo_id":"1338885140","filename":"file0"},{"photo_id":"1338885152","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338885147":["hashtag1","hashtag2"]},{"1338885156":["hashtag1","hashtag2"]},{"1338885143":["hashtag1","hashtag2"]},{"1338885152":["hashtag1","hashtag2"]},{"1338885155":["hashtag1","hashtag2"]},{"1338885140":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338885147, 1338885156, 1338885143, 1338885152, 1338885155, 1338885140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.290337324142456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:15:42.401226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/14/image_21022025_19_14_55_10343.jpg', '/home/pi/Desktop/images/21022025/19/14/image_21022025_19_15_06_10348.jpg', '/home/pi/Desktop/images/21022025/19/15/image_21022025_19_15_15_9327.jpg', '/home/pi/Desktop/images/21022025/19/15/image_21022025_19_15_25_10381.jpg', '/home/pi/Desktop/images/21022025/19/15/image_21022025_19_15_36_10345.jpg', '/home/pi/Desktop/images/21022025/19/15/image_21022025_19_15_45_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/14/image_21022025_19_14_55_10343.jpg
/home/pi/Desktop/images/21022025/19/14/image_21022025_19_15_06_10348.jpg
/home/pi/Desktop/images/21022025/19/15/image_21022025_19_15_15_9327.jpg
/home/pi/Desktop/images/21022025/19/15/image_21022025_19_15_25_10381.jpg
/home/pi/Desktop/images/21022025/19/15/image_21022025_19_15_36_10345.jpg
/home/pi/Desktop/images/21022025/19/15/image_21022025_19_15_45_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338885172","1338885166","1338885175","1338885169","1338885160","1338885163"],"photo_ids_order":["1338885160","1338885163","1338885166","1338885169","1338885172","1338885175"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eb430224302dd5281af3bda4455c2323.jpg","text":"TemporaryFile(/tmp/multipartBody3572985072822569521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161802864,"filename":"image_21022025_19_15_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/26f47f8e8f77428ebf3699dadf0c4525.jpg","text":"TemporaryFile(/tmp/multipartBody2762795403134221872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161802864,"filename":"image_21022025_19_15_15_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5593011d386d16fe245af57b69d8ca60.jpg","text":"TemporaryFile(/tmp/multipartBody2795039402889244237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161802864,"filename":"image_21022025_19_15_45_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0b13f504e19e3dcb610e1bb96411bf01.jpg","text":"TemporaryFile(/tmp/multipartBody6034127092545910081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161802864,"filename":"image_21022025_19_15_25_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a73c5d8b220edd206b2efec8f208b0a4.jpg","text":"TemporaryFile(/tmp/multipartBody3286258907659926695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161802864,"filename":"image_21022025_19_14_55_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f33e80523a78d39b152a8795281f2066.jpg","text":"TemporaryFile(/tmp/multipartBody5666741467983266183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161802864,"filename":"image_21022025_19_15_06_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338885166","file1":"1338885163","file0":"1338885160","file4":"1338885172","file5":"1338885175","file3":"1338885169"},"map_files_photo_id_array":[{"photo_id":"1338885175","filename":"file5"},{"photo_id":"1338885166","filename":"file2"},{"photo_id":"1338885172","filename":"file4"},{"photo_id":"1338885163","filename":"file1"},{"photo_id":"1338885160","filename":"file0"},{"photo_id":"1338885169","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338885172":["hashtag1","hashtag2"]},{"1338885166":["hashtag1","hashtag2"]},{"1338885175":["hashtag1","hashtag2"]},{"1338885169":["hashtag1","hashtag2"]},{"1338885160":["hashtag1","hashtag2"]},{"1338885163":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338885172, 1338885166, 1338885175, 1338885169, 1338885160, 1338885163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.803709506988525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:16:32.542978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/15/image_21022025_19_15_56_10366.jpg', '/home/pi/Desktop/images/21022025/19/15/image_21022025_19_16_05_9417.jpg', '/home/pi/Desktop/images/21022025/19/16/image_21022025_19_16_15_10343.jpg', '/home/pi/Desktop/images/21022025/19/16/image_21022025_19_16_26_10479.jpg', '/home/pi/Desktop/images/21022025/19/16/image_21022025_19_16_35_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/15/image_21022025_19_15_56_10366.jpg
/home/pi/Desktop/images/21022025/19/15/image_21022025_19_16_05_9417.jpg
/home/pi/Desktop/images/21022025/19/16/image_21022025_19_16_15_10343.jpg
/home/pi/Desktop/images/21022025/19/16/image_21022025_19_16_26_10479.jpg
/home/pi/Desktop/images/21022025/19/16/image_21022025_19_16_35_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338885412","1338885324","1338885251","1338885527","1338885500"],"photo_ids_order":["1338885251","1338885324","1338885412","1338885500","1338885527"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f71d086022041bcd75746ec25927924.jpg","text":"TemporaryFile(/tmp/multipartBody1684747633436627638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161852996,"filename":"image_21022025_19_16_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/709b6322547a08eb155ef058e3f8643c.jpg","text":"TemporaryFile(/tmp/multipartBody3385997827175130998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161852996,"filename":"image_21022025_19_16_05_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4cb367729cfacf12500246c91e89485c.jpg","text":"TemporaryFile(/tmp/multipartBody958167840180627852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161852996,"filename":"image_21022025_19_15_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce6ec8d386da3ac20e575873293db267.jpg","text":"TemporaryFile(/tmp/multipartBody8006612213815678948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161852996,"filename":"image_21022025_19_16_35_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/77faad3d49e6056bbdba8816da3678be.jpg","text":"TemporaryFile(/tmp/multipartBody1360118387753802736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161852996,"filename":"image_21022025_19_16_26_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338885412","file1":"1338885324","file0":"1338885251","file4":"1338885527","file3":"1338885500"},"map_files_photo_id_array":[{"photo_id":"1338885412","filename":"file2"},{"photo_id":"1338885527","filename":"file4"},{"photo_id":"1338885324","filename":"file1"},{"photo_id":"1338885251","filename":"file0"},{"photo_id":"1338885500","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338885412":["hashtag1","hashtag2"]},{"1338885324":["hashtag1","hashtag2"]},{"1338885251":["hashtag1","hashtag2"]},{"1338885527":["hashtag1","hashtag2"]},{"1338885500":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338885412, 1338885324, 1338885251, 1338885527, 1338885500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.81152081489563 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:17:04.198469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/30/image_20022025_19_30_56_10358.jpg', '/home/pi/Desktop/images/20022025/19/32/image_20022025_19_32_25_9415.jpg', '/home/pi/Desktop/images/20022025/19/32/image_20022025_19_32_36_10409.jpg', '/home/pi/Desktop/images/20022025/19/32/image_20022025_19_32_55_9335.jpg', '/home/pi/Desktop/images/20022025/19/32/image_20022025_19_33_06_10405.jpg', '/home/pi/Desktop/images/20022025/19/34/image_20022025_19_34_15_9314.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/30/image_20022025_19_30_56_10358.jpg
/home/pi/Desktop/images/20022025/19/32/image_20022025_19_32_25_9415.jpg
/home/pi/Desktop/images/20022025/19/32/image_20022025_19_32_36_10409.jpg
/home/pi/Desktop/images/20022025/19/32/image_20022025_19_32_55_9335.jpg
/home/pi/Desktop/images/20022025/19/32/image_20022025_19_33_06_10405.jpg
/home/pi/Desktop/images/20022025/19/34/image_20022025_19_34_15_9314.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338885543","1338885531","1338885540","1338885533","1338885536","1338885547"],"photo_ids_order":["1338885531","1338885533","1338885536","1338885540","1338885543","1338885547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/747ec10cece1cce5c72942251c1b5ba2.jpg","text":"TemporaryFile(/tmp/multipartBody5985681542817921687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161885868,"filename":"image_20022025_19_33_06_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4615de842e6182583ee85b445920db6a.jpg","text":"TemporaryFile(/tmp/multipartBody8395872977112774860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161885868,"filename":"image_20022025_19_30_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/721c7a38f0786c05ad423179f8ff43be.jpg","text":"TemporaryFile(/tmp/multipartBody4062806598786407234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161885868,"filename":"image_20022025_19_32_55_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c07453c0de0ad6ae8fb1808cba9c3ccb.jpg","text":"TemporaryFile(/tmp/multipartBody1254527260160763402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161885868,"filename":"image_20022025_19_32_25_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32ea5d4d34834984634e79ac7f9c1d77.jpg","text":"TemporaryFile(/tmp/multipartBody5343589792661804307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161885868,"filename":"image_20022025_19_32_36_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c4ab06d4cea59400a775094c396e82db.jpg","text":"TemporaryFile(/tmp/multipartBody3921126091403135145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161885868,"filename":"image_20022025_19_34_15_9314.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338885536","file1":"1338885533","file0":"1338885531","file4":"1338885543","file5":"1338885547","file3":"1338885540"},"map_files_photo_id_array":[{"photo_id":"1338885547","filename":"file5"},{"photo_id":"1338885536","filename":"file2"},{"photo_id":"1338885543","filename":"file4"},{"photo_id":"1338885533","filename":"file1"},{"photo_id":"1338885531","filename":"file0"},{"photo_id":"1338885540","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338885543":["hashtag1","hashtag2"]},{"1338885531":["hashtag1","hashtag2"]},{"1338885540":["hashtag1","hashtag2"]},{"1338885533":["hashtag1","hashtag2"]},{"1338885536":["hashtag1","hashtag2"]},{"1338885547":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338885543, 1338885531, 1338885540, 1338885533, 1338885536, 1338885547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68896508216858 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:17:42.856546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/16/image_21022025_19_16_56_10367.jpg', '/home/pi/Desktop/images/21022025/19/17/image_21022025_19_17_35_10343.jpg', '/home/pi/Desktop/images/21022025/19/17/image_21022025_19_17_46_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/16/image_21022025_19_16_56_10367.jpg
/home/pi/Desktop/images/21022025/19/17/image_21022025_19_17_35_10343.jpg
/home/pi/Desktop/images/21022025/19/17/image_21022025_19_17_46_10380.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338885555","1338885563","1338885559"],"photo_ids_order":["1338885555","1338885559","1338885563"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/afa823cdfd82a5ca9e61424e90afad44.jpg","text":"TemporaryFile(/tmp/multipartBody8009265649755861289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161923287,"filename":"image_21022025_19_16_56_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0095ffb6d5f51655e5770098e03d790a.jpg","text":"TemporaryFile(/tmp/multipartBody763779802405779757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161923287,"filename":"image_21022025_19_17_46_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/618ced440ca89dcea0ed99bb3197a28e.jpg","text":"TemporaryFile(/tmp/multipartBody4786326327468490470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161923287,"filename":"image_21022025_19_17_35_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338885563","file1":"1338885559","file0":"1338885555"},"map_files_photo_id_array":[{"photo_id":"1338885563","filename":"file2"},{"photo_id":"1338885559","filename":"file1"},{"photo_id":"1338885555","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338885555":["hashtag1","hashtag2"]},{"1338885563":["hashtag1","hashtag2"]},{"1338885559":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338885555, 1338885563, 1338885559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.426011323928833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:18:03.583547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/34/image_20022025_19_34_46_9409.jpg', '/home/pi/Desktop/images/20022025/19/34/image_20022025_19_34_56_10358.jpg', '/home/pi/Desktop/images/20022025/19/34/image_20022025_19_35_05_9343.jpg', '/home/pi/Desktop/images/20022025/19/38/image_20022025_19_38_15_9353.jpg', '/home/pi/Desktop/images/20022025/19/38/image_20022025_19_38_26_10336.jpg', '/home/pi/Desktop/images/20022025/19/38/image_20022025_19_39_05_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/34/image_20022025_19_34_46_9409.jpg
/home/pi/Desktop/images/20022025/19/34/image_20022025_19_34_56_10358.jpg
/home/pi/Desktop/images/20022025/19/34/image_20022025_19_35_05_9343.jpg
/home/pi/Desktop/images/20022025/19/38/image_20022025_19_38_15_9353.jpg
/home/pi/Desktop/images/20022025/19/38/image_20022025_19_38_26_10336.jpg
/home/pi/Desktop/images/20022025/19/38/image_20022025_19_39_05_9334.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338885584","1338885587","1338885572","1338885580","1338885577","1338885574"],"photo_ids_order":["1338885572","1338885574","1338885577","1338885580","1338885584","1338885587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8663701300c3fe17719295c8f74722d8.jpg","text":"TemporaryFile(/tmp/multipartBody5190919654583111567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161944939,"filename":"image_20022025_19_38_26_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/606c28f9821042b8d891a6cd973b6065.jpg","text":"TemporaryFile(/tmp/multipartBody6069219004973937174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161944939,"filename":"image_20022025_19_39_05_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e27e63273563181d79a8773655b3ffd.jpg","text":"TemporaryFile(/tmp/multipartBody3547153739454868772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161944939,"filename":"image_20022025_19_34_46_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9f952f8905b5cc7f5a33afdc4d1a2cf0.jpg","text":"TemporaryFile(/tmp/multipartBody6973736417641003700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161944939,"filename":"image_20022025_19_38_15_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/33c7f54756f1a0fc1826d2dba42a0560.jpg","text":"TemporaryFile(/tmp/multipartBody5840834659716424090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161944939,"filename":"image_20022025_19_35_05_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7ef3808e6088650132c5156692437a3.jpg","text":"TemporaryFile(/tmp/multipartBody4570475415594861584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161944939,"filename":"image_20022025_19_34_56_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338885577","file1":"1338885574","file0":"1338885572","file4":"1338885584","file5":"1338885587","file3":"1338885580"},"map_files_photo_id_array":[{"photo_id":"1338885587","filename":"file5"},{"photo_id":"1338885577","filename":"file2"},{"photo_id":"1338885584","filename":"file4"},{"photo_id":"1338885574","filename":"file1"},{"photo_id":"1338885572","filename":"file0"},{"photo_id":"1338885580","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338885584":["hashtag1","hashtag2"]},{"1338885587":["hashtag1","hashtag2"]},{"1338885572":["hashtag1","hashtag2"]},{"1338885580":["hashtag1","hashtag2"]},{"1338885577":["hashtag1","hashtag2"]},{"1338885574":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338885584, 1338885587, 1338885572, 1338885580, 1338885577, 1338885574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73069214820862 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:18:42.921005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/17/image_21022025_19_17_55_9356.jpg', '/home/pi/Desktop/images/21022025/19/17/image_21022025_19_18_05_10343.jpg', '/home/pi/Desktop/images/21022025/19/18/image_21022025_19_18_16_10335.jpg', '/home/pi/Desktop/images/21022025/19/18/image_21022025_19_18_25_9357.jpg', '/home/pi/Desktop/images/21022025/19/18/image_21022025_19_18_46_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/17/image_21022025_19_17_55_9356.jpg
/home/pi/Desktop/images/21022025/19/17/image_21022025_19_18_05_10343.jpg
/home/pi/Desktop/images/21022025/19/18/image_21022025_19_18_16_10335.jpg
/home/pi/Desktop/images/21022025/19/18/image_21022025_19_18_25_9357.jpg
/home/pi/Desktop/images/21022025/19/18/image_21022025_19_18_46_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338885594","1338885597","1338885596","1338885599","1338885598"],"photo_ids_order":["1338885594","1338885596","1338885597","1338885598","1338885599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9d380e4ceeef135c80dbfbd9229cc750.jpg","text":"TemporaryFile(/tmp/multipartBody3738296657326781178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161983378,"filename":"image_21022025_19_17_55_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d4fda6124b5494ac0b181f89adc91845.jpg","text":"TemporaryFile(/tmp/multipartBody3563301327576617908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161983378,"filename":"image_21022025_19_18_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5333a6b0874eafa4b60f7aa0a5f2fbf8.jpg","text":"TemporaryFile(/tmp/multipartBody4361256871412618088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161983378,"filename":"image_21022025_19_18_05_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/106e00dc943ca17f66056431c809920f.jpg","text":"TemporaryFile(/tmp/multipartBody5779930471554141261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161983378,"filename":"image_21022025_19_18_46_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b047b84dd9a6faab90d2a9077988cc07.jpg","text":"TemporaryFile(/tmp/multipartBody3739446906542209918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740161983378,"filename":"image_21022025_19_18_25_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338885597","file1":"1338885596","file0":"1338885594","file4":"1338885599","file3":"1338885598"},"map_files_photo_id_array":[{"photo_id":"1338885597","filename":"file2"},{"photo_id":"1338885599","filename":"file4"},{"photo_id":"1338885596","filename":"file1"},{"photo_id":"1338885594","filename":"file0"},{"photo_id":"1338885598","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338885594":["hashtag1","hashtag2"]},{"1338885597":["hashtag1","hashtag2"]},{"1338885596":["hashtag1","hashtag2"]},{"1338885599":["hashtag1","hashtag2"]},{"1338885598":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338885594, 1338885597, 1338885596, 1338885599, 1338885598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.26495671272278 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:19:33.153994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/18/image_21022025_19_18_55_9362.jpg', '/home/pi/Desktop/images/21022025/19/19/image_21022025_19_19_26_10453.jpg', '/home/pi/Desktop/images/21022025/19/19/image_21022025_19_19_36_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/18/image_21022025_19_18_55_9362.jpg
/home/pi/Desktop/images/21022025/19/19/image_21022025_19_19_26_10453.jpg
/home/pi/Desktop/images/21022025/19/19/image_21022025_19_19_36_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338886382","1338886394","1338886392"],"photo_ids_order":["1338886382","1338886392","1338886394"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/45e2343ede5af793de36d7f63af532e1.jpg","text":"TemporaryFile(/tmp/multipartBody1901909199317576740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162033595,"filename":"image_21022025_19_18_55_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9bf7120ed4532ab14f174c860660d8d2.jpg","text":"TemporaryFile(/tmp/multipartBody7771003205372287556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162033595,"filename":"image_21022025_19_19_36_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06636097f6d68416d1bb9f242a1bfe4c.jpg","text":"TemporaryFile(/tmp/multipartBody4286905123837407049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162033595,"filename":"image_21022025_19_19_26_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338886394","file1":"1338886392","file0":"1338886382"},"map_files_photo_id_array":[{"photo_id":"1338886394","filename":"file2"},{"photo_id":"1338886392","filename":"file1"},{"photo_id":"1338886382","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338886382":["hashtag1","hashtag2"]},{"1338886394":["hashtag1","hashtag2"]},{"1338886392":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338886382, 1338886394, 1338886392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.025683879852295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:20:02.954386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/39/image_20022025_19_39_16_10431.jpg', '/home/pi/Desktop/images/20022025/19/39/image_20022025_19_39_26_10337.jpg', '/home/pi/Desktop/images/20022025/19/39/image_20022025_19_39_46_10397.jpg', '/home/pi/Desktop/images/20022025/19/39/image_20022025_19_39_56_10404.jpg', '/home/pi/Desktop/images/20022025/19/39/image_20022025_19_40_05_9351.jpg', '/home/pi/Desktop/images/20022025/19/40/image_20022025_19_40_46_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/39/image_20022025_19_39_16_10431.jpg
/home/pi/Desktop/images/20022025/19/39/image_20022025_19_39_26_10337.jpg
/home/pi/Desktop/images/20022025/19/39/image_20022025_19_39_46_10397.jpg
/home/pi/Desktop/images/20022025/19/39/image_20022025_19_39_56_10404.jpg
/home/pi/Desktop/images/20022025/19/39/image_20022025_19_40_05_9351.jpg
/home/pi/Desktop/images/20022025/19/40/image_20022025_19_40_46_10345.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338886415","1338886409","1338886412","1338886426","1338886420","1338886417"],"photo_ids_order":["1338886409","1338886412","1338886415","1338886417","1338886420","1338886426"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9580afc70fb5d3edd91301cf4fde5832.jpg","text":"TemporaryFile(/tmp/multipartBody238844823692518345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162064340,"filename":"image_20022025_19_39_46_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f81b48b6768c6c9bbc9dff1c36b3c9ac.jpg","text":"TemporaryFile(/tmp/multipartBody3762657037622702211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162064340,"filename":"image_20022025_19_39_16_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/676f3eda9698ce0db9060ef9749d233b.jpg","text":"TemporaryFile(/tmp/multipartBody3793229321142882113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162064340,"filename":"image_20022025_19_39_26_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ebe0269b242d02addab4b0d7d883495c.jpg","text":"TemporaryFile(/tmp/multipartBody8591392065147812593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162064340,"filename":"image_20022025_19_40_46_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/009bda25e165624b946eb0f8d2a2c181.jpg","text":"TemporaryFile(/tmp/multipartBody791908025005612812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162064340,"filename":"image_20022025_19_40_05_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3b448277c27a446bd8873d9e004258e3.jpg","text":"TemporaryFile(/tmp/multipartBody7204700588897737527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162064340,"filename":"image_20022025_19_39_56_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338886415","file1":"1338886412","file0":"1338886409","file4":"1338886420","file5":"1338886426","file3":"1338886417"},"map_files_photo_id_array":[{"photo_id":"1338886426","filename":"file5"},{"photo_id":"1338886415","filename":"file2"},{"photo_id":"1338886420","filename":"file4"},{"photo_id":"1338886412","filename":"file1"},{"photo_id":"1338886409","filename":"file0"},{"photo_id":"1338886417","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338886415":["hashtag1","hashtag2"]},{"1338886409":["hashtag1","hashtag2"]},{"1338886412":["hashtag1","hashtag2"]},{"1338886426":["hashtag1","hashtag2"]},{"1338886420":["hashtag1","hashtag2"]},{"1338886417":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338886415, 1338886409, 1338886412, 1338886426, 1338886420, 1338886417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88143348693848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:20:42.323708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/19/image_21022025_19_19_56_10505.jpg', '/home/pi/Desktop/images/21022025/19/19/image_21022025_19_20_05_9339.jpg', '/home/pi/Desktop/images/21022025/19/20/image_21022025_19_20_15_10336.jpg', '/home/pi/Desktop/images/21022025/19/20/image_21022025_19_20_26_10364.jpg', '/home/pi/Desktop/images/21022025/19/20/image_21022025_19_20_35_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/19/image_21022025_19_19_56_10505.jpg
/home/pi/Desktop/images/21022025/19/19/image_21022025_19_20_05_9339.jpg
/home/pi/Desktop/images/21022025/19/20/image_21022025_19_20_15_10336.jpg
/home/pi/Desktop/images/21022025/19/20/image_21022025_19_20_26_10364.jpg
/home/pi/Desktop/images/21022025/19/20/image_21022025_19_20_35_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338886853","1338886717","1338886930","1338886797","1338886863"],"photo_ids_order":["1338886717","1338886797","1338886853","1338886863","1338886930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/647c8e048eaab9089547ad192a164986.jpg","text":"TemporaryFile(/tmp/multipartBody3372390495578616611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162102780,"filename":"image_21022025_19_20_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8d89cd43768d0df5d86ec17cb4d837f4.jpg","text":"TemporaryFile(/tmp/multipartBody5939023301784459709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162102780,"filename":"image_21022025_19_19_56_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e45e22b966b00cf19c093169b2a84a9d.jpg","text":"TemporaryFile(/tmp/multipartBody8648997581243510231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162102780,"filename":"image_21022025_19_20_35_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f6df0499c5b7919f41aa3539fb34d40.jpg","text":"TemporaryFile(/tmp/multipartBody8117400097570441152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162102780,"filename":"image_21022025_19_20_05_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ed389d578d345bae9f165c9b97479cd9.jpg","text":"TemporaryFile(/tmp/multipartBody2894705220273622765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162102780,"filename":"image_21022025_19_20_26_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338886853","file1":"1338886797","file0":"1338886717","file4":"1338886930","file3":"1338886863"},"map_files_photo_id_array":[{"photo_id":"1338886853","filename":"file2"},{"photo_id":"1338886930","filename":"file4"},{"photo_id":"1338886797","filename":"file1"},{"photo_id":"1338886717","filename":"file0"},{"photo_id":"1338886863","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338886853":["hashtag1","hashtag2"]},{"1338886717":["hashtag1","hashtag2"]},{"1338886930":["hashtag1","hashtag2"]},{"1338886797":["hashtag1","hashtag2"]},{"1338886863":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338886853, 1338886717, 1338886930, 1338886797, 1338886863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.201784372329712 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:21:32.629139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/20/image_21022025_19_20_46_10464.jpg', '/home/pi/Desktop/images/21022025/19/20/image_21022025_19_21_05_10345.jpg', '/home/pi/Desktop/images/21022025/19/21/image_21022025_19_21_16_10353.jpg', '/home/pi/Desktop/images/21022025/19/21/image_21022025_19_21_25_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/20/image_21022025_19_20_46_10464.jpg
/home/pi/Desktop/images/21022025/19/20/image_21022025_19_21_05_10345.jpg
/home/pi/Desktop/images/21022025/19/21/image_21022025_19_21_16_10353.jpg
/home/pi/Desktop/images/21022025/19/21/image_21022025_19_21_25_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338887120","1338887125","1338887122","1338887124"],"photo_ids_order":["1338887120","1338887122","1338887124","1338887125"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/30cc024e7f8e923b9bd92473774ce31b.jpg","text":"TemporaryFile(/tmp/multipartBody6154940836494320487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162153152,"filename":"image_21022025_19_20_46_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87b081c87f63c1b70630e6c3cab7d79e.jpg","text":"TemporaryFile(/tmp/multipartBody8500682660236037882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162153152,"filename":"image_21022025_19_21_25_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9835aed3417b65042d24179136791a35.jpg","text":"TemporaryFile(/tmp/multipartBody8735760596578300250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162153152,"filename":"image_21022025_19_21_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b5ca6f59833676a37914d00298f0c5ea.jpg","text":"TemporaryFile(/tmp/multipartBody2944588964590723969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162153152,"filename":"image_21022025_19_21_16_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338887124","file1":"1338887122","file0":"1338887120","file3":"1338887125"},"map_files_photo_id_array":[{"photo_id":"1338887124","filename":"file2"},{"photo_id":"1338887122","filename":"file1"},{"photo_id":"1338887120","filename":"file0"},{"photo_id":"1338887125","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338887120":["hashtag1","hashtag2"]},{"1338887125":["hashtag1","hashtag2"]},{"1338887122":["hashtag1","hashtag2"]},{"1338887124":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338887120, 1338887125, 1338887122, 1338887124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.117011785507202 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:22:03.370511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/40/image_20022025_19_40_55_9344.jpg', '/home/pi/Desktop/images/20022025/19/41/image_20022025_19_41_25_9345.jpg', '/home/pi/Desktop/images/20022025/19/41/image_20022025_19_41_36_10338.jpg', '/home/pi/Desktop/images/20022025/19/42/image_20022025_19_42_26_10370.jpg', '/home/pi/Desktop/images/20022025/19/42/image_20022025_19_42_36_10401.jpg', '/home/pi/Desktop/images/20022025/19/42/image_20022025_19_42_45_9407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/40/image_20022025_19_40_55_9344.jpg
/home/pi/Desktop/images/20022025/19/41/image_20022025_19_41_25_9345.jpg
/home/pi/Desktop/images/20022025/19/41/image_20022025_19_41_36_10338.jpg
/home/pi/Desktop/images/20022025/19/42/image_20022025_19_42_26_10370.jpg
/home/pi/Desktop/images/20022025/19/42/image_20022025_19_42_36_10401.jpg
/home/pi/Desktop/images/20022025/19/42/image_20022025_19_42_45_9407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338887387","1338887426","1338887429","1338887296","1338887131","1338887193"],"photo_ids_order":["1338887131","1338887193","1338887296","1338887387","1338887426","1338887429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e2f25eba14f67337481d055b41da9bda.jpg","text":"TemporaryFile(/tmp/multipartBody2864801105712279158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162185097,"filename":"image_20022025_19_42_26_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61bcfa1974c0f4d576ff471f0489021b.jpg","text":"TemporaryFile(/tmp/multipartBody1428961640071500446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162185097,"filename":"image_20022025_19_42_36_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dfd43d82a03e24594305cd1a622a97d4.jpg","text":"TemporaryFile(/tmp/multipartBody907374536798601682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162185097,"filename":"image_20022025_19_42_45_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1a938d3c5ddc229633fe41e2a9900b18.jpg","text":"TemporaryFile(/tmp/multipartBody8922910092497116521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162185097,"filename":"image_20022025_19_41_36_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/586a9a365df30cb33ed7a462eae99207.jpg","text":"TemporaryFile(/tmp/multipartBody3080768205639685018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162185097,"filename":"image_20022025_19_40_55_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3fb0039d23a773dc2e0f7d8833b92c97.jpg","text":"TemporaryFile(/tmp/multipartBody4939811078172761309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162185097,"filename":"image_20022025_19_41_25_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338887296","file1":"1338887193","file0":"1338887131","file4":"1338887426","file5":"1338887429","file3":"1338887387"},"map_files_photo_id_array":[{"photo_id":"1338887429","filename":"file5"},{"photo_id":"1338887296","filename":"file2"},{"photo_id":"1338887426","filename":"file4"},{"photo_id":"1338887193","filename":"file1"},{"photo_id":"1338887131","filename":"file0"},{"photo_id":"1338887387","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338887387":["hashtag1","hashtag2"]},{"1338887426":["hashtag1","hashtag2"]},{"1338887429":["hashtag1","hashtag2"]},{"1338887296":["hashtag1","hashtag2"]},{"1338887131":["hashtag1","hashtag2"]},{"1338887193":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338887387, 1338887426, 1338887429, 1338887296, 1338887131, 1338887193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.68152046203613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:22:52.745913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/21/image_21022025_19_21_35_10401.jpg', '/home/pi/Desktop/images/21022025/19/21/image_21022025_19_22_06_10471.jpg', '/home/pi/Desktop/images/21022025/19/22/image_21022025_19_22_25_10348.jpg', '/home/pi/Desktop/images/21022025/19/22/image_21022025_19_22_36_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/21/image_21022025_19_21_35_10401.jpg
/home/pi/Desktop/images/21022025/19/21/image_21022025_19_22_06_10471.jpg
/home/pi/Desktop/images/21022025/19/22/image_21022025_19_22_25_10348.jpg
/home/pi/Desktop/images/21022025/19/22/image_21022025_19_22_36_10369.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338887531","1338887513","1338887571","1338887532"],"photo_ids_order":["1338887513","1338887531","1338887532","1338887571"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4dc0fc485ecd6cb3ba06951cacdf7330.jpg","text":"TemporaryFile(/tmp/multipartBody785083962165030170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162233295,"filename":"image_21022025_19_22_06_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1d574ba5c2cbd0564b6de843f508c78.jpg","text":"TemporaryFile(/tmp/multipartBody7657027752941008184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162233295,"filename":"image_21022025_19_21_35_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a99c2ba9bec86553c1a00a9919cd1948.jpg","text":"TemporaryFile(/tmp/multipartBody6468035578791228587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162233295,"filename":"image_21022025_19_22_36_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9aac6e9f90bd6bb064c11679dff74414.jpg","text":"TemporaryFile(/tmp/multipartBody5636275885154826173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162233295,"filename":"image_21022025_19_22_25_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338887532","file1":"1338887531","file0":"1338887513","file3":"1338887571"},"map_files_photo_id_array":[{"photo_id":"1338887532","filename":"file2"},{"photo_id":"1338887531","filename":"file1"},{"photo_id":"1338887513","filename":"file0"},{"photo_id":"1338887571","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338887531":["hashtag1","hashtag2"]},{"1338887513":["hashtag1","hashtag2"]},{"1338887571":["hashtag1","hashtag2"]},{"1338887532":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338887531, 1338887513, 1338887571, 1338887532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.91976761817932 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:23:32.988547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/22/image_21022025_19_22_45_9363.jpg', '/home/pi/Desktop/images/21022025/19/22/image_21022025_19_23_05_9426.jpg', '/home/pi/Desktop/images/21022025/19/23/image_21022025_19_23_15_10359.jpg', '/home/pi/Desktop/images/21022025/19/23/image_21022025_19_23_26_10406.jpg', '/home/pi/Desktop/images/21022025/19/23/image_21022025_19_23_35_9343.jpg', '/home/pi/Desktop/images/21022025/19/23/image_21022025_19_23_45_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/22/image_21022025_19_22_45_9363.jpg
/home/pi/Desktop/images/21022025/19/22/image_21022025_19_23_05_9426.jpg
/home/pi/Desktop/images/21022025/19/23/image_21022025_19_23_15_10359.jpg
/home/pi/Desktop/images/21022025/19/23/image_21022025_19_23_26_10406.jpg
/home/pi/Desktop/images/21022025/19/23/image_21022025_19_23_35_9343.jpg
/home/pi/Desktop/images/21022025/19/23/image_21022025_19_23_45_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338887669","1338887663","1338887665","1338887668","1338887661","1338887667"],"photo_ids_order":["1338887661","1338887663","1338887665","1338887667","1338887668","1338887669"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/78d5dc6fb873e63a5599a1987c4a7b60.jpg","text":"TemporaryFile(/tmp/multipartBody7917146618668529236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162273452,"filename":"image_21022025_19_23_45_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b19262adcb4e37e6bdfec0fa76791263.jpg","text":"TemporaryFile(/tmp/multipartBody2651828784620610047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162273452,"filename":"image_21022025_19_23_05_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62d86045de84915ddd71fddd71f57819.jpg","text":"TemporaryFile(/tmp/multipartBody694902824175903091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162273452,"filename":"image_21022025_19_23_15_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fb3e31a765aaae22bfa666318ce8f589.jpg","text":"TemporaryFile(/tmp/multipartBody2895802519313894391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162273452,"filename":"image_21022025_19_23_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cef50eeb3628b9cf29faa90702667e75.jpg","text":"TemporaryFile(/tmp/multipartBody8086174537129735263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162273452,"filename":"image_21022025_19_22_45_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ab1d02bece0b92be776f087089f4a99.jpg","text":"TemporaryFile(/tmp/multipartBody1715568964178691520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162273452,"filename":"image_21022025_19_23_26_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338887665","file1":"1338887663","file0":"1338887661","file4":"1338887668","file5":"1338887669","file3":"1338887667"},"map_files_photo_id_array":[{"photo_id":"1338887669","filename":"file5"},{"photo_id":"1338887665","filename":"file2"},{"photo_id":"1338887668","filename":"file4"},{"photo_id":"1338887663","filename":"file1"},{"photo_id":"1338887661","filename":"file0"},{"photo_id":"1338887667","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338887669":["hashtag1","hashtag2"]},{"1338887663":["hashtag1","hashtag2"]},{"1338887665":["hashtag1","hashtag2"]},{"1338887668":["hashtag1","hashtag2"]},{"1338887661":["hashtag1","hashtag2"]},{"1338887667":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338887669, 1338887663, 1338887665, 1338887668, 1338887661, 1338887667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.46934390068054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:24:33.163335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/23/image_21022025_19_23_56_10353.jpg', '/home/pi/Desktop/images/21022025/19/23/image_21022025_19_24_05_9381.jpg', '/home/pi/Desktop/images/21022025/19/24/image_21022025_19_24_16_10511.jpg', '/home/pi/Desktop/images/21022025/19/24/image_21022025_19_24_25_9348.jpg', '/home/pi/Desktop/images/21022025/19/24/image_21022025_19_24_35_9873.jpg', '/home/pi/Desktop/images/21022025/19/24/image_21022025_19_24_45_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/23/image_21022025_19_23_56_10353.jpg
/home/pi/Desktop/images/21022025/19/23/image_21022025_19_24_05_9381.jpg
/home/pi/Desktop/images/21022025/19/24/image_21022025_19_24_16_10511.jpg
/home/pi/Desktop/images/21022025/19/24/image_21022025_19_24_25_9348.jpg
/home/pi/Desktop/images/21022025/19/24/image_21022025_19_24_35_9873.jpg
/home/pi/Desktop/images/21022025/19/24/image_21022025_19_24_45_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338887703","1338887702","1338887695","1338887698","1338887692","1338887701"],"photo_ids_order":["1338887692","1338887695","1338887698","1338887701","1338887702","1338887703"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c36e25ee432545ae8a9bfa99c47fe842.jpg","text":"TemporaryFile(/tmp/multipartBody7976366497563801526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162333782,"filename":"image_21022025_19_24_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dee5318d638dee66132f6a8025136608.jpg","text":"TemporaryFile(/tmp/multipartBody7953417344890150996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162333782,"filename":"image_21022025_19_24_35_9873.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bf5bd817926550bff44315d0b0611048.jpg","text":"TemporaryFile(/tmp/multipartBody4219052805366806876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162333782,"filename":"image_21022025_19_24_05_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a62d01d9043a377e5b4dc158d9e67140.jpg","text":"TemporaryFile(/tmp/multipartBody3365909504339712777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162333782,"filename":"image_21022025_19_24_16_10511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ee166f82cb5e722971657fa85a0f44ee.jpg","text":"TemporaryFile(/tmp/multipartBody1990704297192543713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162333782,"filename":"image_21022025_19_23_56_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a1d5d7c2790c1bdf0a9c51345d8f4223.jpg","text":"TemporaryFile(/tmp/multipartBody5245994622813474127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162333782,"filename":"image_21022025_19_24_25_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338887698","file1":"1338887695","file0":"1338887692","file4":"1338887702","file5":"1338887703","file3":"1338887701"},"map_files_photo_id_array":[{"photo_id":"1338887703","filename":"file5"},{"photo_id":"1338887698","filename":"file2"},{"photo_id":"1338887702","filename":"file4"},{"photo_id":"1338887695","filename":"file1"},{"photo_id":"1338887692","filename":"file0"},{"photo_id":"1338887701","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338887703":["hashtag1","hashtag2"]},{"1338887702":["hashtag1","hashtag2"]},{"1338887695":["hashtag1","hashtag2"]},{"1338887698":["hashtag1","hashtag2"]},{"1338887692":["hashtag1","hashtag2"]},{"1338887701":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338887703, 1338887702, 1338887695, 1338887698, 1338887692, 1338887701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63489651679993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:25:32.367285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/24/image_21022025_19_24_56_10495.jpg', '/home/pi/Desktop/images/21022025/19/24/image_21022025_19_25_05_9430.jpg', '/home/pi/Desktop/images/21022025/19/25/image_21022025_19_25_16_10412.jpg', '/home/pi/Desktop/images/21022025/19/25/image_21022025_19_25_25_9423.jpg', '/home/pi/Desktop/images/21022025/19/25/image_21022025_19_25_35_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/24/image_21022025_19_24_56_10495.jpg
/home/pi/Desktop/images/21022025/19/24/image_21022025_19_25_05_9430.jpg
/home/pi/Desktop/images/21022025/19/25/image_21022025_19_25_16_10412.jpg
/home/pi/Desktop/images/21022025/19/25/image_21022025_19_25_25_9423.jpg
/home/pi/Desktop/images/21022025/19/25/image_21022025_19_25_35_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338887721","1338887720","1338887726","1338887722","1338887724"],"photo_ids_order":["1338887720","1338887721","1338887722","1338887724","1338887726"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/52a52c3fcf9ed22e05ade7570e14fce7.jpg","text":"TemporaryFile(/tmp/multipartBody6855553376815024704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162392837,"filename":"image_21022025_19_25_05_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7497c3fa0fde863cc5dadf3af13e6061.jpg","text":"TemporaryFile(/tmp/multipartBody2610990884597784174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162392837,"filename":"image_21022025_19_24_56_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5ebcabcf8140b6d22fa0fd213692c2ad.jpg","text":"TemporaryFile(/tmp/multipartBody4675451196014068663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162392837,"filename":"image_21022025_19_25_35_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aea83f0c4f9b2d8d116dc524084bed79.jpg","text":"TemporaryFile(/tmp/multipartBody2431271978894528110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162392837,"filename":"image_21022025_19_25_16_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1865801d1a44c7bc6214e4d99d7c33d7.jpg","text":"TemporaryFile(/tmp/multipartBody1765349088833610089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162392837,"filename":"image_21022025_19_25_25_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338887722","file1":"1338887721","file0":"1338887720","file4":"1338887726","file3":"1338887724"},"map_files_photo_id_array":[{"photo_id":"1338887722","filename":"file2"},{"photo_id":"1338887726","filename":"file4"},{"photo_id":"1338887721","filename":"file1"},{"photo_id":"1338887720","filename":"file0"},{"photo_id":"1338887724","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338887721":["hashtag1","hashtag2"]},{"1338887720":["hashtag1","hashtag2"]},{"1338887726":["hashtag1","hashtag2"]},{"1338887722":["hashtag1","hashtag2"]},{"1338887724":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338887721, 1338887720, 1338887726, 1338887722, 1338887724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.285429000854492 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:26:32.639534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/25/image_21022025_19_25_46_10431.jpg', '/home/pi/Desktop/images/21022025/19/25/image_21022025_19_26_06_10404.jpg', '/home/pi/Desktop/images/21022025/19/26/image_21022025_19_26_15_9348.jpg', '/home/pi/Desktop/images/21022025/19/26/image_21022025_19_26_25_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/25/image_21022025_19_25_46_10431.jpg
/home/pi/Desktop/images/21022025/19/25/image_21022025_19_26_06_10404.jpg
/home/pi/Desktop/images/21022025/19/26/image_21022025_19_26_15_9348.jpg
/home/pi/Desktop/images/21022025/19/26/image_21022025_19_26_25_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338887747","1338887743","1338887742","1338887745"],"photo_ids_order":["1338887742","1338887743","1338887745","1338887747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a12c9946fe129a81b51f9e703bddb4ab.jpg","text":"TemporaryFile(/tmp/multipartBody1094735351543469773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162453091,"filename":"image_21022025_19_26_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dc38261be081157da210a3a84d6c4a4d.jpg","text":"TemporaryFile(/tmp/multipartBody221833684439805202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162453091,"filename":"image_21022025_19_26_06_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9585260ec75216e89b997d33dfe7213b.jpg","text":"TemporaryFile(/tmp/multipartBody7099130826161320922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162453091,"filename":"image_21022025_19_25_46_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/66ec5295eddd008726e052b43ac618bf.jpg","text":"TemporaryFile(/tmp/multipartBody8681553399269043592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162453091,"filename":"image_21022025_19_26_15_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338887745","file1":"1338887743","file0":"1338887742","file3":"1338887747"},"map_files_photo_id_array":[{"photo_id":"1338887745","filename":"file2"},{"photo_id":"1338887743","filename":"file1"},{"photo_id":"1338887742","filename":"file0"},{"photo_id":"1338887747","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338887747":["hashtag1","hashtag2"]},{"1338887743":["hashtag1","hashtag2"]},{"1338887742":["hashtag1","hashtag2"]},{"1338887745":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338887747, 1338887743, 1338887742, 1338887745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.70785355567932 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:27:04.211735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/42/image_20022025_19_42_56_10339.jpg', '/home/pi/Desktop/images/20022025/19/43/image_20022025_19_43_26_10414.jpg', '/home/pi/Desktop/images/20022025/19/43/image_20022025_19_43_36_9550.jpg', '/home/pi/Desktop/images/20022025/19/43/image_20022025_19_43_46_10403.jpg', '/home/pi/Desktop/images/20022025/19/44/image_20022025_19_44_45_9328.jpg', '/home/pi/Desktop/images/20022025/19/44/image_20022025_19_44_56_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/42/image_20022025_19_42_56_10339.jpg
/home/pi/Desktop/images/20022025/19/43/image_20022025_19_43_26_10414.jpg
/home/pi/Desktop/images/20022025/19/43/image_20022025_19_43_36_9550.jpg
/home/pi/Desktop/images/20022025/19/43/image_20022025_19_43_46_10403.jpg
/home/pi/Desktop/images/20022025/19/44/image_20022025_19_44_45_9328.jpg
/home/pi/Desktop/images/20022025/19/44/image_20022025_19_44_56_10401.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338887771","1338887765","1338887768","1338887782","1338887791","1338887784"],"photo_ids_order":["1338887765","1338887768","1338887771","1338887782","1338887784","1338887791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a7ed310df74bcab6000c497352ec61e.jpg","text":"TemporaryFile(/tmp/multipartBody2088445228883470917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162485910,"filename":"image_20022025_19_43_36_9550.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ab2e47d2d26e4f30e613e5c5fcf42390.jpg","text":"TemporaryFile(/tmp/multipartBody6933896989027337124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162485910,"filename":"image_20022025_19_42_56_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/608e5c798bc256611a05da728570bd82.jpg","text":"TemporaryFile(/tmp/multipartBody3459415220293836872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162485910,"filename":"image_20022025_19_43_26_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92e6e527e23487f46c843c394c380d98.jpg","text":"TemporaryFile(/tmp/multipartBody5516797669352460050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162485910,"filename":"image_20022025_19_43_46_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b4fc9dcface08abd8d3ebf253e1e1d22.jpg","text":"TemporaryFile(/tmp/multipartBody2243454310059316365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162485910,"filename":"image_20022025_19_44_56_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/acb0dfb402ee65011a6913932b4b99ec.jpg","text":"TemporaryFile(/tmp/multipartBody784618291021273246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162485910,"filename":"image_20022025_19_44_45_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338887771","file1":"1338887768","file0":"1338887765","file4":"1338887784","file5":"1338887791","file3":"1338887782"},"map_files_photo_id_array":[{"photo_id":"1338887791","filename":"file5"},{"photo_id":"1338887771","filename":"file2"},{"photo_id":"1338887784","filename":"file4"},{"photo_id":"1338887768","filename":"file1"},{"photo_id":"1338887765","filename":"file0"},{"photo_id":"1338887782","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338887771":["hashtag1","hashtag2"]},{"1338887765":["hashtag1","hashtag2"]},{"1338887768":["hashtag1","hashtag2"]},{"1338887782":["hashtag1","hashtag2"]},{"1338887791":["hashtag1","hashtag2"]},{"1338887784":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338887771, 1338887765, 1338887768, 1338887782, 1338887791, 1338887784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38562369346619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:27:42.919588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/26/image_21022025_19_26_45_9344.jpg', '/home/pi/Desktop/images/21022025/19/26/image_21022025_19_27_06_10376.jpg', '/home/pi/Desktop/images/21022025/19/27/image_21022025_19_27_26_10491.jpg', '/home/pi/Desktop/images/21022025/19/27/image_21022025_19_27_35_9345.jpg', '/home/pi/Desktop/images/21022025/19/27/image_21022025_19_27_45_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/26/image_21022025_19_26_45_9344.jpg
/home/pi/Desktop/images/21022025/19/26/image_21022025_19_27_06_10376.jpg
/home/pi/Desktop/images/21022025/19/27/image_21022025_19_27_26_10491.jpg
/home/pi/Desktop/images/21022025/19/27/image_21022025_19_27_35_9345.jpg
/home/pi/Desktop/images/21022025/19/27/image_21022025_19_27_45_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338887810","1338887813","1338887807","1338887815","1338887817"],"photo_ids_order":["1338887807","1338887810","1338887813","1338887815","1338887817"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c0d3035832470adaf3f26af97cfb71c6.jpg","text":"TemporaryFile(/tmp/multipartBody1739415975523271681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162523376,"filename":"image_21022025_19_27_06_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f72ed821a7d129603080a30f07a07d0.jpg","text":"TemporaryFile(/tmp/multipartBody4837459633466304948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162523376,"filename":"image_21022025_19_27_26_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f30de85b80c58cb86b57bde4b7d165d.jpg","text":"TemporaryFile(/tmp/multipartBody6620972700773778910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162523376,"filename":"image_21022025_19_26_45_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc5125e5c879d002a7286fc6a70fbf6f.jpg","text":"TemporaryFile(/tmp/multipartBody9173545182474918038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162523376,"filename":"image_21022025_19_27_35_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/591592c4b6c921ae1ccfa74be906addc.jpg","text":"TemporaryFile(/tmp/multipartBody3611560988244331899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162523376,"filename":"image_21022025_19_27_45_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338887813","file1":"1338887810","file0":"1338887807","file4":"1338887817","file3":"1338887815"},"map_files_photo_id_array":[{"photo_id":"1338887813","filename":"file2"},{"photo_id":"1338887817","filename":"file4"},{"photo_id":"1338887810","filename":"file1"},{"photo_id":"1338887807","filename":"file0"},{"photo_id":"1338887815","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338887810":["hashtag1","hashtag2"]},{"1338887813":["hashtag1","hashtag2"]},{"1338887807":["hashtag1","hashtag2"]},{"1338887815":["hashtag1","hashtag2"]},{"1338887817":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338887810, 1338887813, 1338887807, 1338887815, 1338887817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.079933404922485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:28:33.100686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/27/image_21022025_19_27_56_10404.jpg', '/home/pi/Desktop/images/21022025/19/27/image_21022025_19_28_05_9342.jpg', '/home/pi/Desktop/images/21022025/19/28/image_21022025_19_28_16_10470.jpg', '/home/pi/Desktop/images/21022025/19/28/image_21022025_19_28_25_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/27/image_21022025_19_27_56_10404.jpg
/home/pi/Desktop/images/21022025/19/27/image_21022025_19_28_05_9342.jpg
/home/pi/Desktop/images/21022025/19/28/image_21022025_19_28_16_10470.jpg
/home/pi/Desktop/images/21022025/19/28/image_21022025_19_28_25_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338887851","1338887845","1338887854","1338887848"],"photo_ids_order":["1338887845","1338887848","1338887851","1338887854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/40dde0dbccdac36660f4ed41fbb9f010.jpg","text":"TemporaryFile(/tmp/multipartBody4564278095893785719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162573546,"filename":"image_21022025_19_28_16_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be65957c6043b294d1c9aaabf4c19d59.jpg","text":"TemporaryFile(/tmp/multipartBody3600204836971660714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162573546,"filename":"image_21022025_19_27_56_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/42db6065a112ac81b5185a06e9fda0c7.jpg","text":"TemporaryFile(/tmp/multipartBody2586657821707617283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162573546,"filename":"image_21022025_19_28_25_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf2ea50913358c10cefbcf2ddf750af6.jpg","text":"TemporaryFile(/tmp/multipartBody8998505528880666512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162573546,"filename":"image_21022025_19_28_05_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338887851","file1":"1338887848","file0":"1338887845","file3":"1338887854"},"map_files_photo_id_array":[{"photo_id":"1338887851","filename":"file2"},{"photo_id":"1338887848","filename":"file1"},{"photo_id":"1338887845","filename":"file0"},{"photo_id":"1338887854","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338887851":["hashtag1","hashtag2"]},{"1338887845":["hashtag1","hashtag2"]},{"1338887854":["hashtag1","hashtag2"]},{"1338887848":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338887851, 1338887845, 1338887854, 1338887848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.344362020492554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:29:03.743182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/45/image_20022025_19_45_26_10449.jpg', '/home/pi/Desktop/images/20022025/19/45/image_20022025_19_45_36_10364.jpg', '/home/pi/Desktop/images/20022025/19/45/image_20022025_19_45_46_9507.jpg', '/home/pi/Desktop/images/20022025/19/45/image_20022025_19_45_56_10399.jpg', '/home/pi/Desktop/images/20022025/19/45/image_20022025_19_46_05_9378.jpg', '/home/pi/Desktop/images/20022025/19/46/image_20022025_19_46_26_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/45/image_20022025_19_45_26_10449.jpg
/home/pi/Desktop/images/20022025/19/45/image_20022025_19_45_36_10364.jpg
/home/pi/Desktop/images/20022025/19/45/image_20022025_19_45_46_9507.jpg
/home/pi/Desktop/images/20022025/19/45/image_20022025_19_45_56_10399.jpg
/home/pi/Desktop/images/20022025/19/45/image_20022025_19_46_05_9378.jpg
/home/pi/Desktop/images/20022025/19/46/image_20022025_19_46_26_10342.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338888023","1338887861","1338887921","1338887869","1338887857","1338887866"],"photo_ids_order":["1338887857","1338887861","1338887866","1338887869","1338887921","1338888023"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e74c0a3a258c42780c51b36c21abbb56.jpg","text":"TemporaryFile(/tmp/multipartBody869393236266060745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162605598,"filename":"image_20022025_19_46_26_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ffb57eb6139c28c8483ef04ef2e1378.jpg","text":"TemporaryFile(/tmp/multipartBody4940518475073555360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162605598,"filename":"image_20022025_19_45_36_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/93727787092086cf29b2e937828a3061.jpg","text":"TemporaryFile(/tmp/multipartBody48635113868453680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162605598,"filename":"image_20022025_19_46_05_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a22dbcb78fefec54a8391002a03b1cc.jpg","text":"TemporaryFile(/tmp/multipartBody8579972192175155794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162605598,"filename":"image_20022025_19_45_56_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/093c7e9179b6db3fc81ed2d94d84d181.jpg","text":"TemporaryFile(/tmp/multipartBody4899395123143852796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162605598,"filename":"image_20022025_19_45_26_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75d82682eba5e31850d1a669a6b15d0e.jpg","text":"TemporaryFile(/tmp/multipartBody6317431652971992492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162605598,"filename":"image_20022025_19_45_46_9507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338887866","file1":"1338887861","file0":"1338887857","file4":"1338887921","file5":"1338888023","file3":"1338887869"},"map_files_photo_id_array":[{"photo_id":"1338888023","filename":"file5"},{"photo_id":"1338887866","filename":"file2"},{"photo_id":"1338887921","filename":"file4"},{"photo_id":"1338887861","filename":"file1"},{"photo_id":"1338887857","filename":"file0"},{"photo_id":"1338887869","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338888023":["hashtag1","hashtag2"]},{"1338887861":["hashtag1","hashtag2"]},{"1338887921":["hashtag1","hashtag2"]},{"1338887869":["hashtag1","hashtag2"]},{"1338887857":["hashtag1","hashtag2"]},{"1338887866":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338888023, 1338887861, 1338887921, 1338887869, 1338887857, 1338887866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00215768814087 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:29:42.304439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/28/image_21022025_19_28_55_9388.jpg', '/home/pi/Desktop/images/21022025/19/29/image_21022025_19_29_15_9398.jpg', '/home/pi/Desktop/images/21022025/19/29/image_21022025_19_29_36_10424.jpg', '/home/pi/Desktop/images/21022025/19/29/image_21022025_19_29_45_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/28/image_21022025_19_28_55_9388.jpg
/home/pi/Desktop/images/21022025/19/29/image_21022025_19_29_15_9398.jpg
/home/pi/Desktop/images/21022025/19/29/image_21022025_19_29_36_10424.jpg
/home/pi/Desktop/images/21022025/19/29/image_21022025_19_29_45_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338888451","1338888567","1338888654","1338888357"],"photo_ids_order":["1338888357","1338888451","1338888567","1338888654"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eb4f6c8c50a9a789b3f6d08790a063ca.jpg","text":"TemporaryFile(/tmp/multipartBody8618901732341407938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162642758,"filename":"image_21022025_19_29_15_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e9f0f7d2c4c13554e831175d5bb6e402.jpg","text":"TemporaryFile(/tmp/multipartBody7135979221390197839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162642758,"filename":"image_21022025_19_29_36_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4af7e71cd14c35a733f77af14478e733.jpg","text":"TemporaryFile(/tmp/multipartBody6716895108959898227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162642758,"filename":"image_21022025_19_29_45_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7577714fd280524f18ddaabdd71a9ccc.jpg","text":"TemporaryFile(/tmp/multipartBody4144181491899061599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162642758,"filename":"image_21022025_19_28_55_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338888567","file1":"1338888451","file0":"1338888357","file3":"1338888654"},"map_files_photo_id_array":[{"photo_id":"1338888567","filename":"file2"},{"photo_id":"1338888451","filename":"file1"},{"photo_id":"1338888357","filename":"file0"},{"photo_id":"1338888654","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338888451":["hashtag1","hashtag2"]},{"1338888567":["hashtag1","hashtag2"]},{"1338888654":["hashtag1","hashtag2"]},{"1338888357":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338888451, 1338888567, 1338888654, 1338888357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.535786867141724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:30:32.643632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/29/image_21022025_19_29_56_10429.jpg', '/home/pi/Desktop/images/21022025/19/29/image_21022025_19_30_05_9419.jpg', '/home/pi/Desktop/images/21022025/19/30/image_21022025_19_30_15_10352.jpg', '/home/pi/Desktop/images/21022025/19/30/image_21022025_19_30_26_10432.jpg', '/home/pi/Desktop/images/21022025/19/30/image_21022025_19_30_35_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/29/image_21022025_19_29_56_10429.jpg
/home/pi/Desktop/images/21022025/19/29/image_21022025_19_30_05_9419.jpg
/home/pi/Desktop/images/21022025/19/30/image_21022025_19_30_15_10352.jpg
/home/pi/Desktop/images/21022025/19/30/image_21022025_19_30_26_10432.jpg
/home/pi/Desktop/images/21022025/19/30/image_21022025_19_30_35_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338888965","1338888967","1338888963","1338888969","1338888960"],"photo_ids_order":["1338888960","1338888963","1338888965","1338888967","1338888969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/643eb582429c50b6565663fd445af340.jpg","text":"TemporaryFile(/tmp/multipartBody5486915514164618967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162693098,"filename":"image_21022025_19_30_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8288f3f0932c33c59a3c6b2f7bd0b7af.jpg","text":"TemporaryFile(/tmp/multipartBody5659943695542059548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162693098,"filename":"image_21022025_19_30_26_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61340638f4ee5dd4fd5b648ce2707aec.jpg","text":"TemporaryFile(/tmp/multipartBody302326862211404302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162693098,"filename":"image_21022025_19_30_05_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/766e9289996af23a7659e163124a1336.jpg","text":"TemporaryFile(/tmp/multipartBody2449730181077707203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162693098,"filename":"image_21022025_19_30_35_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bac4558584fa3738973be18bf93faba0.jpg","text":"TemporaryFile(/tmp/multipartBody941809719923609498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162693098,"filename":"image_21022025_19_29_56_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338888965","file1":"1338888963","file0":"1338888960","file4":"1338888969","file3":"1338888967"},"map_files_photo_id_array":[{"photo_id":"1338888965","filename":"file2"},{"photo_id":"1338888969","filename":"file4"},{"photo_id":"1338888963","filename":"file1"},{"photo_id":"1338888960","filename":"file0"},{"photo_id":"1338888967","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338888965":["hashtag1","hashtag2"]},{"1338888967":["hashtag1","hashtag2"]},{"1338888963":["hashtag1","hashtag2"]},{"1338888969":["hashtag1","hashtag2"]},{"1338888960":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338888965, 1338888967, 1338888963, 1338888969, 1338888960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.05655074119568 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:31:04.566579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/46/image_20022025_19_46_35_9335.jpg', '/home/pi/Desktop/images/20022025/19/46/image_20022025_19_46_46_10402.jpg', '/home/pi/Desktop/images/20022025/19/46/image_20022025_19_46_55_9404.jpg', '/home/pi/Desktop/images/20022025/19/46/image_20022025_19_47_06_10366.jpg', '/home/pi/Desktop/images/20022025/19/47/image_20022025_19_47_16_10320.jpg', '/home/pi/Desktop/images/20022025/19/47/image_20022025_19_47_25_9330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/46/image_20022025_19_46_35_9335.jpg
/home/pi/Desktop/images/20022025/19/46/image_20022025_19_46_46_10402.jpg
/home/pi/Desktop/images/20022025/19/46/image_20022025_19_46_55_9404.jpg
/home/pi/Desktop/images/20022025/19/46/image_20022025_19_47_06_10366.jpg
/home/pi/Desktop/images/20022025/19/47/image_20022025_19_47_16_10320.jpg
/home/pi/Desktop/images/20022025/19/47/image_20022025_19_47_25_9330.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338888971","1338889147","1338889224","1338889218","1338889053","1338888992"],"photo_ids_order":["1338888971","1338888992","1338889053","1338889147","1338889218","1338889224"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74954883a038e251b14372283592bf3a.jpg","text":"TemporaryFile(/tmp/multipartBody7862861917839759595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162726209,"filename":"image_20022025_19_46_35_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ea2430c53c8775769998f003b569f1d.jpg","text":"TemporaryFile(/tmp/multipartBody431012106744194760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162726209,"filename":"image_20022025_19_47_06_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fcc8cbcc99ca7f3da142c1bc537e785a.jpg","text":"TemporaryFile(/tmp/multipartBody5155417455220409637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162726209,"filename":"image_20022025_19_47_25_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a489e8479946a4f2e67ec9d19a789d27.jpg","text":"TemporaryFile(/tmp/multipartBody1299137145594353788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162726209,"filename":"image_20022025_19_47_16_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/357b6c3b5d3987dbf3934890c3b80797.jpg","text":"TemporaryFile(/tmp/multipartBody1531449117210566136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162726209,"filename":"image_20022025_19_46_55_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ba96ac534c8d2b20778ec52600bc0864.jpg","text":"TemporaryFile(/tmp/multipartBody5809017748135701885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162726209,"filename":"image_20022025_19_46_46_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338889053","file1":"1338888992","file0":"1338888971","file4":"1338889218","file5":"1338889224","file3":"1338889147"},"map_files_photo_id_array":[{"photo_id":"1338889224","filename":"file5"},{"photo_id":"1338889053","filename":"file2"},{"photo_id":"1338889218","filename":"file4"},{"photo_id":"1338888992","filename":"file1"},{"photo_id":"1338888971","filename":"file0"},{"photo_id":"1338889147","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338888971":["hashtag1","hashtag2"]},{"1338889147":["hashtag1","hashtag2"]},{"1338889224":["hashtag1","hashtag2"]},{"1338889218":["hashtag1","hashtag2"]},{"1338889053":["hashtag1","hashtag2"]},{"1338888992":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338888971, 1338889147, 1338889224, 1338889218, 1338889053, 1338888992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.914124488830566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:31:42.915799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/30/image_21022025_19_30_45_10349.jpg', '/home/pi/Desktop/images/21022025/19/30/image_21022025_19_31_05_9417.jpg', '/home/pi/Desktop/images/21022025/19/31/image_21022025_19_31_16_10418.jpg', '/home/pi/Desktop/images/21022025/19/31/image_21022025_19_31_25_9359.jpg', '/home/pi/Desktop/images/21022025/19/31/image_21022025_19_31_35_10441.jpg', '/home/pi/Desktop/images/21022025/19/31/image_21022025_19_31_46_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/30/image_21022025_19_30_45_10349.jpg
/home/pi/Desktop/images/21022025/19/30/image_21022025_19_31_05_9417.jpg
/home/pi/Desktop/images/21022025/19/31/image_21022025_19_31_16_10418.jpg
/home/pi/Desktop/images/21022025/19/31/image_21022025_19_31_25_9359.jpg
/home/pi/Desktop/images/21022025/19/31/image_21022025_19_31_35_10441.jpg
/home/pi/Desktop/images/21022025/19/31/image_21022025_19_31_46_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338889327","1338889417","1338889281","1338889292","1338889280","1338889343"],"photo_ids_order":["1338889280","1338889281","1338889292","1338889327","1338889343","1338889417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/255ba9170032fc56985e31eec8b8324e.jpg","text":"TemporaryFile(/tmp/multipartBody7593647815086172336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162763385,"filename":"image_21022025_19_31_25_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/96e6d8bc53217b95e296d7f09270b2c0.jpg","text":"TemporaryFile(/tmp/multipartBody8485663995734487816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162763385,"filename":"image_21022025_19_31_46_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9897613ef14e5aa413c3b66e5a36db38.jpg","text":"TemporaryFile(/tmp/multipartBody5962799790726910637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162763385,"filename":"image_21022025_19_31_05_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/10813e6eb31eebd017fbac3e8385ecca.jpg","text":"TemporaryFile(/tmp/multipartBody7380962651339900878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162763385,"filename":"image_21022025_19_31_16_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7d7119647c857aeaae7d9632ad068643.jpg","text":"TemporaryFile(/tmp/multipartBody2439518762835840035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162763385,"filename":"image_21022025_19_30_45_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e58d27687ab0a2c123589a408afd01e6.jpg","text":"TemporaryFile(/tmp/multipartBody8827295819640937111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162763385,"filename":"image_21022025_19_31_35_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338889292","file1":"1338889281","file0":"1338889280","file4":"1338889343","file5":"1338889417","file3":"1338889327"},"map_files_photo_id_array":[{"photo_id":"1338889417","filename":"file5"},{"photo_id":"1338889292","filename":"file2"},{"photo_id":"1338889343","filename":"file4"},{"photo_id":"1338889281","filename":"file1"},{"photo_id":"1338889280","filename":"file0"},{"photo_id":"1338889327","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338889327":["hashtag1","hashtag2"]},{"1338889417":["hashtag1","hashtag2"]},{"1338889281":["hashtag1","hashtag2"]},{"1338889292":["hashtag1","hashtag2"]},{"1338889280":["hashtag1","hashtag2"]},{"1338889343":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338889327, 1338889417, 1338889281, 1338889292, 1338889280, 1338889343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.44001054763794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:32:33.158860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/31/image_21022025_19_31_55_9347.jpg', '/home/pi/Desktop/images/21022025/19/31/image_21022025_19_32_06_10438.jpg', '/home/pi/Desktop/images/21022025/19/32/image_21022025_19_32_15_9342.jpg', '/home/pi/Desktop/images/21022025/19/32/image_21022025_19_32_25_10349.jpg', '/home/pi/Desktop/images/21022025/19/32/image_21022025_19_32_36_10481.jpg', '/home/pi/Desktop/images/21022025/19/32/image_21022025_19_32_45_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/31/image_21022025_19_31_55_9347.jpg
/home/pi/Desktop/images/21022025/19/31/image_21022025_19_32_06_10438.jpg
/home/pi/Desktop/images/21022025/19/32/image_21022025_19_32_15_9342.jpg
/home/pi/Desktop/images/21022025/19/32/image_21022025_19_32_25_10349.jpg
/home/pi/Desktop/images/21022025/19/32/image_21022025_19_32_36_10481.jpg
/home/pi/Desktop/images/21022025/19/32/image_21022025_19_32_45_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338889672","1338889774","1338889791","1338889674","1338889682","1338889676"],"photo_ids_order":["1338889672","1338889674","1338889676","1338889682","1338889774","1338889791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f334058468449f0ba1dffe9704d5da53.jpg","text":"TemporaryFile(/tmp/multipartBody6472002537697145183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162813631,"filename":"image_21022025_19_31_55_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6278ebd687492c32caa060fca503c6f9.jpg","text":"TemporaryFile(/tmp/multipartBody2035190367583988701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162813631,"filename":"image_21022025_19_32_36_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6b9c8e07da7f5ee166ea4ad10847edcb.jpg","text":"TemporaryFile(/tmp/multipartBody1906006562239387670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162813631,"filename":"image_21022025_19_32_45_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c2b02e2ce3dba66a777ddba2e1757497.jpg","text":"TemporaryFile(/tmp/multipartBody2195529209408429390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162813631,"filename":"image_21022025_19_32_06_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80b0c0cd5c5457eaf6e9c3234f820b94.jpg","text":"TemporaryFile(/tmp/multipartBody4505242495356373544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162813631,"filename":"image_21022025_19_32_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a08ceddc2158336754fbf836dd7d1786.jpg","text":"TemporaryFile(/tmp/multipartBody176488115707286094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162813631,"filename":"image_21022025_19_32_15_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338889676","file1":"1338889674","file0":"1338889672","file4":"1338889774","file5":"1338889791","file3":"1338889682"},"map_files_photo_id_array":[{"photo_id":"1338889791","filename":"file5"},{"photo_id":"1338889676","filename":"file2"},{"photo_id":"1338889774","filename":"file4"},{"photo_id":"1338889674","filename":"file1"},{"photo_id":"1338889672","filename":"file0"},{"photo_id":"1338889682","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338889672":["hashtag1","hashtag2"]},{"1338889774":["hashtag1","hashtag2"]},{"1338889791":["hashtag1","hashtag2"]},{"1338889674":["hashtag1","hashtag2"]},{"1338889682":["hashtag1","hashtag2"]},{"1338889676":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338889672, 1338889774, 1338889791, 1338889674, 1338889682, 1338889676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.411782264709473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:33:32.463027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/47/image_20022025_19_48_06_10347.jpg', '/home/pi/Desktop/images/20022025/19/48/image_20022025_19_48_16_10409.jpg', '/home/pi/Desktop/images/20022025/19/48/image_20022025_19_48_25_9328.jpg', '/home/pi/Desktop/images/20022025/19/48/image_20022025_19_48_36_10357.jpg', '/home/pi/Desktop/images/20022025/19/48/image_20022025_19_48_46_10337.jpg', '/home/pi/Desktop/images/20022025/19/48/image_20022025_19_49_06_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/47/image_20022025_19_48_06_10347.jpg
/home/pi/Desktop/images/20022025/19/48/image_20022025_19_48_16_10409.jpg
/home/pi/Desktop/images/20022025/19/48/image_20022025_19_48_25_9328.jpg
/home/pi/Desktop/images/20022025/19/48/image_20022025_19_48_36_10357.jpg
/home/pi/Desktop/images/20022025/19/48/image_20022025_19_48_46_10337.jpg
/home/pi/Desktop/images/20022025/19/48/image_20022025_19_49_06_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338890012","1338890006","1338890014","1338890008","1338890016","1338890004"],"photo_ids_order":["1338890004","1338890006","1338890008","1338890012","1338890014","1338890016"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81b293e90c2c061e823d1751da9b3c9f.jpg","text":"TemporaryFile(/tmp/multipartBody7808232517183693186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162874606,"filename":"image_20022025_19_48_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ca94e194ae1c2123ab328783a3e649ab.jpg","text":"TemporaryFile(/tmp/multipartBody2619048160615040005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162874606,"filename":"image_20022025_19_48_16_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/28798945196c30cb6ae9dfd7f847ff1a.jpg","text":"TemporaryFile(/tmp/multipartBody1828245157464980285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162874606,"filename":"image_20022025_19_48_46_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dd60217908a3a2b8c6cb9461be8e8041.jpg","text":"TemporaryFile(/tmp/multipartBody1695239593014851838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162874606,"filename":"image_20022025_19_48_25_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4773db3b21dbfd58d505ddad564eb5cf.jpg","text":"TemporaryFile(/tmp/multipartBody7686609946747214754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162874606,"filename":"image_20022025_19_49_06_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1671738f65316f4af11a5d241371d6f2.jpg","text":"TemporaryFile(/tmp/multipartBody121742579918237399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162874606,"filename":"image_20022025_19_48_06_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338890008","file1":"1338890006","file0":"1338890004","file4":"1338890014","file5":"1338890016","file3":"1338890012"},"map_files_photo_id_array":[{"photo_id":"1338890016","filename":"file5"},{"photo_id":"1338890008","filename":"file2"},{"photo_id":"1338890014","filename":"file4"},{"photo_id":"1338890006","filename":"file1"},{"photo_id":"1338890004","filename":"file0"},{"photo_id":"1338890012","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338890012":["hashtag1","hashtag2"]},{"1338890006":["hashtag1","hashtag2"]},{"1338890014":["hashtag1","hashtag2"]},{"1338890008":["hashtag1","hashtag2"]},{"1338890016":["hashtag1","hashtag2"]},{"1338890004":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338890012, 1338890006, 1338890014, 1338890008, 1338890016, 1338890004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55259108543396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:34:32.733654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/32/image_21022025_19_32_56_10376.jpg', '/home/pi/Desktop/images/21022025/19/34/image_21022025_19_34_16_10473.jpg', '/home/pi/Desktop/images/21022025/19/34/image_21022025_19_34_25_9337.jpg', '/home/pi/Desktop/images/21022025/19/34/image_21022025_19_34_36_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/32/image_21022025_19_32_56_10376.jpg
/home/pi/Desktop/images/21022025/19/34/image_21022025_19_34_16_10473.jpg
/home/pi/Desktop/images/21022025/19/34/image_21022025_19_34_25_9337.jpg
/home/pi/Desktop/images/21022025/19/34/image_21022025_19_34_36_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338890057","1338890036","1338890050","1338890038"],"photo_ids_order":["1338890036","1338890038","1338890050","1338890057"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cebcaad1f7d6df7ff535ea0753aec91b.jpg","text":"TemporaryFile(/tmp/multipartBody56705866344490195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162933183,"filename":"image_21022025_19_34_36_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1aff8dd3715718912145236227c30ed3.jpg","text":"TemporaryFile(/tmp/multipartBody1644973712804196968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162933183,"filename":"image_21022025_19_32_56_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7727f67c45da0f93cb1b3f96bcb46ca1.jpg","text":"TemporaryFile(/tmp/multipartBody4170867886562330848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162933183,"filename":"image_21022025_19_34_25_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4221afd325fbde39629a5d1e08bf402.jpg","text":"TemporaryFile(/tmp/multipartBody4192713774641350789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162933183,"filename":"image_21022025_19_34_16_10473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338890050","file1":"1338890038","file0":"1338890036","file3":"1338890057"},"map_files_photo_id_array":[{"photo_id":"1338890050","filename":"file2"},{"photo_id":"1338890038","filename":"file1"},{"photo_id":"1338890036","filename":"file0"},{"photo_id":"1338890057","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338890057":["hashtag1","hashtag2"]},{"1338890036":["hashtag1","hashtag2"]},{"1338890050":["hashtag1","hashtag2"]},{"1338890038":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338890057, 1338890036, 1338890050, 1338890038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.579721689224243 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:35:04.501686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/49/image_20022025_19_49_16_10332.jpg', '/home/pi/Desktop/images/20022025/19/49/image_20022025_19_49_36_10363.jpg', '/home/pi/Desktop/images/20022025/19/49/image_20022025_19_49_45_9331.jpg', '/home/pi/Desktop/images/20022025/19/49/image_20022025_19_49_56_10376.jpg', '/home/pi/Desktop/images/20022025/19/49/image_20022025_19_50_06_10393.jpg', '/home/pi/Desktop/images/20022025/19/50/image_20022025_19_50_15_9324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/49/image_20022025_19_49_16_10332.jpg
/home/pi/Desktop/images/20022025/19/49/image_20022025_19_49_36_10363.jpg
/home/pi/Desktop/images/20022025/19/49/image_20022025_19_49_45_9331.jpg
/home/pi/Desktop/images/20022025/19/49/image_20022025_19_49_56_10376.jpg
/home/pi/Desktop/images/20022025/19/49/image_20022025_19_50_06_10393.jpg
/home/pi/Desktop/images/20022025/19/50/image_20022025_19_50_15_9324.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338890102","1338890080","1338890083","1338890086","1338890078","1338890093"],"photo_ids_order":["1338890078","1338890080","1338890083","1338890086","1338890093","1338890102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81f9fad84ab51d1c15ffc290b5f1597b.jpg","text":"TemporaryFile(/tmp/multipartBody4773213379653679428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162966116,"filename":"image_20022025_19_50_15_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74aeda75fe5b2861427e14f651583bf3.jpg","text":"TemporaryFile(/tmp/multipartBody4930854761905686875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162966116,"filename":"image_20022025_19_49_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1491d9924fef220a7ed563db609acf5e.jpg","text":"TemporaryFile(/tmp/multipartBody6820250926823259550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162966116,"filename":"image_20022025_19_49_45_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c4091f4774620983161ac13c1ec35a0.jpg","text":"TemporaryFile(/tmp/multipartBody6078892963311652474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162966116,"filename":"image_20022025_19_49_56_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/001bd71a9f95010c8c10e652737b23f5.jpg","text":"TemporaryFile(/tmp/multipartBody3768907812140848287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162966116,"filename":"image_20022025_19_49_16_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ee9d0ded50941a05c985826bbc55c576.jpg","text":"TemporaryFile(/tmp/multipartBody7112843885106512529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740162966116,"filename":"image_20022025_19_50_06_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338890083","file1":"1338890080","file0":"1338890078","file4":"1338890093","file5":"1338890102","file3":"1338890086"},"map_files_photo_id_array":[{"photo_id":"1338890102","filename":"file5"},{"photo_id":"1338890083","filename":"file2"},{"photo_id":"1338890093","filename":"file4"},{"photo_id":"1338890080","filename":"file1"},{"photo_id":"1338890078","filename":"file0"},{"photo_id":"1338890086","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338890102":["hashtag1","hashtag2"]},{"1338890080":["hashtag1","hashtag2"]},{"1338890083":["hashtag1","hashtag2"]},{"1338890086":["hashtag1","hashtag2"]},{"1338890078":["hashtag1","hashtag2"]},{"1338890093":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338890102, 1338890080, 1338890083, 1338890086, 1338890078, 1338890093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.8919563293457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:35:43.008179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/34/image_21022025_19_34_55_9361.jpg', '/home/pi/Desktop/images/21022025/19/35/image_21022025_19_35_45_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/34/image_21022025_19_34_55_9361.jpg
/home/pi/Desktop/images/21022025/19/35/image_21022025_19_35_45_9344.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338890108","1338890110"],"photo_ids_order":["1338890108","1338890110"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/64ba269f016119b54caddd41fa8a3628.jpg","text":"TemporaryFile(/tmp/multipartBody8255753022766826873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163003438,"filename":"image_21022025_19_34_55_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fcd5f66c55def6f4786410c65e40e1c8.jpg","text":"TemporaryFile(/tmp/multipartBody6213897965013803817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163003438,"filename":"image_21022025_19_35_45_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338890110","file0":"1338890108"},"map_files_photo_id_array":[{"photo_id":"1338890110","filename":"file1"},{"photo_id":"1338890108","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338890108":["hashtag1","hashtag2"]},{"1338890110":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338890108, 1338890110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.31578779220581 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:36:03.723601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/50/image_20022025_19_50_45_9339.jpg', '/home/pi/Desktop/images/20022025/19/50/image_20022025_19_50_56_10344.jpg', '/home/pi/Desktop/images/20022025/19/50/image_20022025_19_51_06_10339.jpg', '/home/pi/Desktop/images/20022025/19/51/image_20022025_19_51_26_10373.jpg', '/home/pi/Desktop/images/20022025/19/51/image_20022025_19_51_56_10353.jpg', '/home/pi/Desktop/images/20022025/19/51/image_20022025_19_52_05_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/50/image_20022025_19_50_45_9339.jpg
/home/pi/Desktop/images/20022025/19/50/image_20022025_19_50_56_10344.jpg
/home/pi/Desktop/images/20022025/19/50/image_20022025_19_51_06_10339.jpg
/home/pi/Desktop/images/20022025/19/51/image_20022025_19_51_26_10373.jpg
/home/pi/Desktop/images/20022025/19/51/image_20022025_19_51_56_10353.jpg
/home/pi/Desktop/images/20022025/19/51/image_20022025_19_52_05_9388.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338891005","1338890224","1338890314","1338890577","1338890193","1338890792"],"photo_ids_order":["1338890193","1338890224","1338890314","1338890577","1338890792","1338891005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/55e6f18649764f67f43a0947414cef32.jpg","text":"TemporaryFile(/tmp/multipartBody6696204217281883465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163025083,"filename":"image_20022025_19_52_05_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/31ea940d318c2e787b346dfe899be9ff.jpg","text":"TemporaryFile(/tmp/multipartBody9158767396452099198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163025083,"filename":"image_20022025_19_50_56_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1f5c2b85ed16a04e585f7e9846adac3.jpg","text":"TemporaryFile(/tmp/multipartBody6722100120331034702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163025083,"filename":"image_20022025_19_51_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80e07fa863890f1ad757c0270abf473b.jpg","text":"TemporaryFile(/tmp/multipartBody2119520127428445218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163025083,"filename":"image_20022025_19_51_26_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1d393f13aa8071d96886126a12930ce3.jpg","text":"TemporaryFile(/tmp/multipartBody8620551664493151728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163025083,"filename":"image_20022025_19_50_45_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9b2a415234d3b9cbdb1aecc8aed8be08.jpg","text":"TemporaryFile(/tmp/multipartBody1365073504118852518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163025083,"filename":"image_20022025_19_51_56_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338890314","file1":"1338890224","file0":"1338890193","file4":"1338890792","file5":"1338891005","file3":"1338890577"},"map_files_photo_id_array":[{"photo_id":"1338891005","filename":"file5"},{"photo_id":"1338890314","filename":"file2"},{"photo_id":"1338890792","filename":"file4"},{"photo_id":"1338890224","filename":"file1"},{"photo_id":"1338890193","filename":"file0"},{"photo_id":"1338890577","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338891005":["hashtag1","hashtag2"]},{"1338890224":["hashtag1","hashtag2"]},{"1338890314":["hashtag1","hashtag2"]},{"1338890577":["hashtag1","hashtag2"]},{"1338890193":["hashtag1","hashtag2"]},{"1338890792":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338891005, 1338890224, 1338890314, 1338890577, 1338890193, 1338890792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78760075569153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:36:43.166431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/35/image_21022025_19_35_55_10367.jpg', '/home/pi/Desktop/images/21022025/19/35/image_21022025_19_36_06_10428.jpg', '/home/pi/Desktop/images/21022025/19/36/image_21022025_19_36_15_9343.jpg', '/home/pi/Desktop/images/21022025/19/36/image_21022025_19_36_26_10354.jpg', '/home/pi/Desktop/images/21022025/19/36/image_21022025_19_36_35_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/35/image_21022025_19_35_55_10367.jpg
/home/pi/Desktop/images/21022025/19/35/image_21022025_19_36_06_10428.jpg
/home/pi/Desktop/images/21022025/19/36/image_21022025_19_36_15_9343.jpg
/home/pi/Desktop/images/21022025/19/36/image_21022025_19_36_26_10354.jpg
/home/pi/Desktop/images/21022025/19/36/image_21022025_19_36_35_9416.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3764982223510742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:36:53.114128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/35/image_21022025_19_35_55_10367.jpg', '/home/pi/Desktop/images/21022025/19/35/image_21022025_19_36_06_10428.jpg', '/home/pi/Desktop/images/21022025/19/36/image_21022025_19_36_15_9343.jpg', '/home/pi/Desktop/images/21022025/19/36/image_21022025_19_36_26_10354.jpg', '/home/pi/Desktop/images/21022025/19/36/image_21022025_19_36_35_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/35/image_21022025_19_35_55_10367.jpg
/home/pi/Desktop/images/21022025/19/35/image_21022025_19_36_06_10428.jpg
/home/pi/Desktop/images/21022025/19/36/image_21022025_19_36_15_9343.jpg
/home/pi/Desktop/images/21022025/19/36/image_21022025_19_36_26_10354.jpg
/home/pi/Desktop/images/21022025/19/36/image_21022025_19_36_35_9416.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338891625","1338891619","1338891622","1338891593","1338891620"],"photo_ids_order":["1338891593","1338891619","1338891620","1338891622","1338891625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6b0f987b55974a1344f02e11c883a6d3.jpg","text":"TemporaryFile(/tmp/multipartBody8863786735910776606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163073572,"filename":"image_21022025_19_36_35_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e5fb9ac4053499632354772ace21c9fb.jpg","text":"TemporaryFile(/tmp/multipartBody9014813435061533375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163073572,"filename":"image_21022025_19_36_06_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0dbf86157bc80f0daf442603c3c5f6cd.jpg","text":"TemporaryFile(/tmp/multipartBody94326985004905071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163073572,"filename":"image_21022025_19_36_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3215848b72036f7762c56fcb56d7398e.jpg","text":"TemporaryFile(/tmp/multipartBody467700198460041076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163073572,"filename":"image_21022025_19_35_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/00b99a603c987d3a9f53baad5e581c50.jpg","text":"TemporaryFile(/tmp/multipartBody7637481824537185634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163073572,"filename":"image_21022025_19_36_15_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338891620","file1":"1338891619","file0":"1338891593","file4":"1338891625","file3":"1338891622"},"map_files_photo_id_array":[{"photo_id":"1338891620","filename":"file2"},{"photo_id":"1338891625","filename":"file4"},{"photo_id":"1338891619","filename":"file1"},{"photo_id":"1338891593","filename":"file0"},{"photo_id":"1338891622","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338891625":["hashtag1","hashtag2"]},{"1338891619":["hashtag1","hashtag2"]},{"1338891622":["hashtag1","hashtag2"]},{"1338891593":["hashtag1","hashtag2"]},{"1338891620":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338891625, 1338891619, 1338891622, 1338891593, 1338891620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.200379371643066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:37:32.384709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/36/image_21022025_19_36_56_10471.jpg', '/home/pi/Desktop/images/21022025/19/37/image_21022025_19_37_15_10344.jpg', '/home/pi/Desktop/images/21022025/19/37/image_21022025_19_37_26_10434.jpg', '/home/pi/Desktop/images/21022025/19/37/image_21022025_19_37_46_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/36/image_21022025_19_36_56_10471.jpg
/home/pi/Desktop/images/21022025/19/37/image_21022025_19_37_15_10344.jpg
/home/pi/Desktop/images/21022025/19/37/image_21022025_19_37_26_10434.jpg
/home/pi/Desktop/images/21022025/19/37/image_21022025_19_37_46_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338891877","1338891823","1338891875","1338891638"],"photo_ids_order":["1338891638","1338891823","1338891875","1338891877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6041cc7e26182dea247c2031cf0893ff.jpg","text":"TemporaryFile(/tmp/multipartBody2011807059667463908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163112849,"filename":"image_21022025_19_37_46_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d358bab509172fa190bb18ee7b9c3854.jpg","text":"TemporaryFile(/tmp/multipartBody9211675356403456686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163112849,"filename":"image_21022025_19_37_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23c25f52ab0595a5d027a29705bb5707.jpg","text":"TemporaryFile(/tmp/multipartBody6288816459685881579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163112849,"filename":"image_21022025_19_37_26_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/962d7a4f78286c958019093923ef359f.jpg","text":"TemporaryFile(/tmp/multipartBody1333046877408998736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163112849,"filename":"image_21022025_19_36_56_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338891875","file1":"1338891823","file0":"1338891638","file3":"1338891877"},"map_files_photo_id_array":[{"photo_id":"1338891875","filename":"file2"},{"photo_id":"1338891823","filename":"file1"},{"photo_id":"1338891638","filename":"file0"},{"photo_id":"1338891877","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338891877":["hashtag1","hashtag2"]},{"1338891823":["hashtag1","hashtag2"]},{"1338891875":["hashtag1","hashtag2"]},{"1338891638":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338891877, 1338891823, 1338891875, 1338891638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.607272386550903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:38:03.296196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/52/image_20022025_19_52_16_10435.jpg', '/home/pi/Desktop/images/20022025/19/52/image_20022025_19_52_36_9559.jpg', '/home/pi/Desktop/images/20022025/19/52/image_20022025_19_52_46_10331.jpg', '/home/pi/Desktop/images/20022025/19/53/image_20022025_19_53_25_9342.jpg', '/home/pi/Desktop/images/20022025/19/53/image_20022025_19_53_36_10337.jpg', '/home/pi/Desktop/images/20022025/19/53/image_20022025_19_53_45_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/52/image_20022025_19_52_16_10435.jpg
/home/pi/Desktop/images/20022025/19/52/image_20022025_19_52_36_9559.jpg
/home/pi/Desktop/images/20022025/19/52/image_20022025_19_52_46_10331.jpg
/home/pi/Desktop/images/20022025/19/53/image_20022025_19_53_25_9342.jpg
/home/pi/Desktop/images/20022025/19/53/image_20022025_19_53_36_10337.jpg
/home/pi/Desktop/images/20022025/19/53/image_20022025_19_53_45_9429.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338891949","1338891946","1338892002","1338892005","1338891944","1338891997"],"photo_ids_order":["1338891944","1338891946","1338891949","1338891997","1338892002","1338892005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b5f5b328063137afe5fb345139b69d9.jpg","text":"TemporaryFile(/tmp/multipartBody3904363454096494446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163144716,"filename":"image_20022025_19_52_46_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/182fa1f4649501343b981c55a8706547.jpg","text":"TemporaryFile(/tmp/multipartBody5177917731133058243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163144716,"filename":"image_20022025_19_52_36_9559.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/50f90852db32c4ebf4c02b9da34088df.jpg","text":"TemporaryFile(/tmp/multipartBody1507449113695752486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163144716,"filename":"image_20022025_19_53_36_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b047f54761295e8021f0fd9fbc9ca00b.jpg","text":"TemporaryFile(/tmp/multipartBody7376180053857293656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163144716,"filename":"image_20022025_19_53_45_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b5005374a8824cf896c46d977d4a46ff.jpg","text":"TemporaryFile(/tmp/multipartBody4745876737891260608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163144716,"filename":"image_20022025_19_52_16_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3cbf2abcd946d4f5c79881ea1006550.jpg","text":"TemporaryFile(/tmp/multipartBody6785071734615474052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163144716,"filename":"image_20022025_19_53_25_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338891949","file1":"1338891946","file0":"1338891944","file4":"1338892002","file5":"1338892005","file3":"1338891997"},"map_files_photo_id_array":[{"photo_id":"1338892005","filename":"file5"},{"photo_id":"1338891949","filename":"file2"},{"photo_id":"1338892002","filename":"file4"},{"photo_id":"1338891946","filename":"file1"},{"photo_id":"1338891944","filename":"file0"},{"photo_id":"1338891997","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338891949":["hashtag1","hashtag2"]},{"1338891946":["hashtag1","hashtag2"]},{"1338892002":["hashtag1","hashtag2"]},{"1338892005":["hashtag1","hashtag2"]},{"1338891944":["hashtag1","hashtag2"]},{"1338891997":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338891949, 1338891946, 1338892002, 1338892005, 1338891944, 1338891997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.59730410575867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:38:42.519954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/37/image_21022025_19_37_55_9415.jpg', '/home/pi/Desktop/images/21022025/19/37/image_21022025_19_38_05_10337.jpg', '/home/pi/Desktop/images/21022025/19/38/image_21022025_19_38_16_10422.jpg', '/home/pi/Desktop/images/21022025/19/38/image_21022025_19_38_25_9346.jpg', '/home/pi/Desktop/images/21022025/19/38/image_21022025_19_38_36_10361.jpg', '/home/pi/Desktop/images/21022025/19/38/image_21022025_19_38_46_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/37/image_21022025_19_37_55_9415.jpg
/home/pi/Desktop/images/21022025/19/37/image_21022025_19_38_05_10337.jpg
/home/pi/Desktop/images/21022025/19/38/image_21022025_19_38_16_10422.jpg
/home/pi/Desktop/images/21022025/19/38/image_21022025_19_38_25_9346.jpg
/home/pi/Desktop/images/21022025/19/38/image_21022025_19_38_36_10361.jpg
/home/pi/Desktop/images/21022025/19/38/image_21022025_19_38_46_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338892030","1338892024","1338892032","1338892026","1338892023","1338892028"],"photo_ids_order":["1338892023","1338892024","1338892026","1338892028","1338892030","1338892032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/158d5948114238db70c215b08bc114cb.jpg","text":"TemporaryFile(/tmp/multipartBody2305925363443110159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163182992,"filename":"image_21022025_19_38_36_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c870b17d176f12b649d885b63977f458.jpg","text":"TemporaryFile(/tmp/multipartBody601192080951844835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163182992,"filename":"image_21022025_19_38_05_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/56eec2d450f2410e6fa46d6bb9fb1dca.jpg","text":"TemporaryFile(/tmp/multipartBody6541541251450975463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163182992,"filename":"image_21022025_19_38_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e62642395f2a2840a8bd41986219d25b.jpg","text":"TemporaryFile(/tmp/multipartBody4517651738042039520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163182992,"filename":"image_21022025_19_38_16_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92343d639d5d8283e2ef4431543ee679.jpg","text":"TemporaryFile(/tmp/multipartBody6921200881047556297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163182992,"filename":"image_21022025_19_37_55_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/50f08108860eb767e1494ad453604df2.jpg","text":"TemporaryFile(/tmp/multipartBody6230693555214176108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163182992,"filename":"image_21022025_19_38_25_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338892026","file1":"1338892024","file0":"1338892023","file4":"1338892030","file5":"1338892032","file3":"1338892028"},"map_files_photo_id_array":[{"photo_id":"1338892032","filename":"file5"},{"photo_id":"1338892026","filename":"file2"},{"photo_id":"1338892030","filename":"file4"},{"photo_id":"1338892024","filename":"file1"},{"photo_id":"1338892023","filename":"file0"},{"photo_id":"1338892028","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338892030":["hashtag1","hashtag2"]},{"1338892024":["hashtag1","hashtag2"]},{"1338892032":["hashtag1","hashtag2"]},{"1338892026":["hashtag1","hashtag2"]},{"1338892023":["hashtag1","hashtag2"]},{"1338892028":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338892030, 1338892024, 1338892032, 1338892026, 1338892023, 1338892028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.556196451187134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:39:32.871505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/38/image_21022025_19_38_55_9373.jpg', '/home/pi/Desktop/images/21022025/19/38/image_21022025_19_39_06_10424.jpg', '/home/pi/Desktop/images/21022025/19/39/image_21022025_19_39_36_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/38/image_21022025_19_38_55_9373.jpg
/home/pi/Desktop/images/21022025/19/38/image_21022025_19_39_06_10424.jpg
/home/pi/Desktop/images/21022025/19/39/image_21022025_19_39_36_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338892091","1338892094","1338892088"],"photo_ids_order":["1338892088","1338892091","1338892094"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1225b753f68402ef0aca773c9c16e935.jpg","text":"TemporaryFile(/tmp/multipartBody2453876728796705434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163233314,"filename":"image_21022025_19_39_06_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d5147f2eb6b86ae109894eaff3742a5d.jpg","text":"TemporaryFile(/tmp/multipartBody2332378516235216807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163233314,"filename":"image_21022025_19_39_36_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0861370652947bd851e79947467399df.jpg","text":"TemporaryFile(/tmp/multipartBody8496008207445033258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163233314,"filename":"image_21022025_19_38_55_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338892094","file1":"1338892091","file0":"1338892088"},"map_files_photo_id_array":[{"photo_id":"1338892094","filename":"file2"},{"photo_id":"1338892091","filename":"file1"},{"photo_id":"1338892088","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338892091":["hashtag1","hashtag2"]},{"1338892094":["hashtag1","hashtag2"]},{"1338892088":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338892091, 1338892094, 1338892088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.267762184143066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:40:03.558684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/53/image_20022025_19_53_56_10431.jpg', '/home/pi/Desktop/images/20022025/19/56/image_20022025_19_56_35_9338.jpg', '/home/pi/Desktop/images/20022025/19/56/image_20022025_19_57_06_9416.jpg', '/home/pi/Desktop/images/20022025/19/57/image_20022025_19_58_06_10348.jpg', '/home/pi/Desktop/images/20022025/19/58/image_20022025_19_58_26_9489.jpg', '/home/pi/Desktop/images/20022025/19/58/image_20022025_19_58_45_9326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/53/image_20022025_19_53_56_10431.jpg
/home/pi/Desktop/images/20022025/19/56/image_20022025_19_56_35_9338.jpg
/home/pi/Desktop/images/20022025/19/56/image_20022025_19_57_06_9416.jpg
/home/pi/Desktop/images/20022025/19/57/image_20022025_19_58_06_10348.jpg
/home/pi/Desktop/images/20022025/19/58/image_20022025_19_58_26_9489.jpg
/home/pi/Desktop/images/20022025/19/58/image_20022025_19_58_45_9326.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338892114","1338892108","1338892102","1338892105","1338892110","1338892100"],"photo_ids_order":["1338892100","1338892102","1338892105","1338892108","1338892110","1338892114"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/93edd63c92ad106b6e4a18cccbde4277.jpg","text":"TemporaryFile(/tmp/multipartBody3250578367000273939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163264933,"filename":"image_20022025_19_58_45_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/73f6b437f70e79e3f4b94c960fb63908.jpg","text":"TemporaryFile(/tmp/multipartBody821010668684038782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163264933,"filename":"image_20022025_19_58_06_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/40dc7b9ee2ca7405e559a5e81b735414.jpg","text":"TemporaryFile(/tmp/multipartBody8402795632676690133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163264933,"filename":"image_20022025_19_56_35_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0dea93b2e7b8883c8842c569a3e565c7.jpg","text":"TemporaryFile(/tmp/multipartBody1702117906488752087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163264933,"filename":"image_20022025_19_57_06_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bbd8779275157a38affab28e1e569495.jpg","text":"TemporaryFile(/tmp/multipartBody2525545379401162694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163264933,"filename":"image_20022025_19_58_26_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a7e8e1fd7887569f14783dcc363dc0b0.jpg","text":"TemporaryFile(/tmp/multipartBody2875679518955707399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163264933,"filename":"image_20022025_19_53_56_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338892105","file1":"1338892102","file0":"1338892100","file4":"1338892110","file5":"1338892114","file3":"1338892108"},"map_files_photo_id_array":[{"photo_id":"1338892114","filename":"file5"},{"photo_id":"1338892105","filename":"file2"},{"photo_id":"1338892110","filename":"file4"},{"photo_id":"1338892102","filename":"file1"},{"photo_id":"1338892100","filename":"file0"},{"photo_id":"1338892108","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338892114":["hashtag1","hashtag2"]},{"1338892108":["hashtag1","hashtag2"]},{"1338892102":["hashtag1","hashtag2"]},{"1338892105":["hashtag1","hashtag2"]},{"1338892110":["hashtag1","hashtag2"]},{"1338892100":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338892114, 1338892108, 1338892102, 1338892105, 1338892110, 1338892100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.67583680152893 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:40:43.038029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/39/image_21022025_19_39_45_9349.jpg', '/home/pi/Desktop/images/21022025/19/40/image_21022025_19_40_15_10334.jpg', '/home/pi/Desktop/images/21022025/19/40/image_21022025_19_40_35_9328.jpg', '/home/pi/Desktop/images/21022025/19/40/image_21022025_19_40_45_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/39/image_21022025_19_39_45_9349.jpg
/home/pi/Desktop/images/21022025/19/40/image_21022025_19_40_15_10334.jpg
/home/pi/Desktop/images/21022025/19/40/image_21022025_19_40_35_9328.jpg
/home/pi/Desktop/images/21022025/19/40/image_21022025_19_40_45_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338892132","1338892135","1338892134","1338892136"],"photo_ids_order":["1338892132","1338892134","1338892135","1338892136"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75fcb4a0e0f1e3f55347956be18b865b.jpg","text":"TemporaryFile(/tmp/multipartBody991784501489264828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163303489,"filename":"image_21022025_19_39_45_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8787e6c2d001c285338c8a2b4500f07c.jpg","text":"TemporaryFile(/tmp/multipartBody8069980905754353936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163303489,"filename":"image_21022025_19_40_35_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8ab37cddc62b5d8f626d28262ce646da.jpg","text":"TemporaryFile(/tmp/multipartBody342791809728828346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163303489,"filename":"image_21022025_19_40_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5abaa1ae53e89747c9f771fc4a060caa.jpg","text":"TemporaryFile(/tmp/multipartBody5619627681208848705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163303489,"filename":"image_21022025_19_40_45_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338892135","file1":"1338892134","file0":"1338892132","file3":"1338892136"},"map_files_photo_id_array":[{"photo_id":"1338892135","filename":"file2"},{"photo_id":"1338892134","filename":"file1"},{"photo_id":"1338892132","filename":"file0"},{"photo_id":"1338892136","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338892132":["hashtag1","hashtag2"]},{"1338892135":["hashtag1","hashtag2"]},{"1338892134":["hashtag1","hashtag2"]},{"1338892136":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338892132, 1338892135, 1338892134, 1338892136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.52754259109497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:41:32.260063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/40/image_21022025_19_40_56_10384.jpg', '/home/pi/Desktop/images/21022025/19/40/image_21022025_19_41_05_9401.jpg', '/home/pi/Desktop/images/21022025/19/41/image_21022025_19_41_16_10350.jpg', '/home/pi/Desktop/images/21022025/19/41/image_21022025_19_41_26_10369.jpg', '/home/pi/Desktop/images/21022025/19/41/image_21022025_19_41_35_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/40/image_21022025_19_40_56_10384.jpg
/home/pi/Desktop/images/21022025/19/40/image_21022025_19_41_05_9401.jpg
/home/pi/Desktop/images/21022025/19/41/image_21022025_19_41_16_10350.jpg
/home/pi/Desktop/images/21022025/19/41/image_21022025_19_41_26_10369.jpg
/home/pi/Desktop/images/21022025/19/41/image_21022025_19_41_35_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338892248","1338892388","1338892175","1338892322","1338892387"],"photo_ids_order":["1338892175","1338892248","1338892322","1338892387","1338892388"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a8bb0033f0ba714e6012ed47d8d201ee.jpg","text":"TemporaryFile(/tmp/multipartBody6666096833058762298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163352719,"filename":"image_21022025_19_41_05_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fb48a4a2b6d4ec446429b210803883d4.jpg","text":"TemporaryFile(/tmp/multipartBody5470946456213193941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163352719,"filename":"image_21022025_19_41_35_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/20471b3d75075d69f2fb262a5f8e8fbe.jpg","text":"TemporaryFile(/tmp/multipartBody7993937717442335971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163352719,"filename":"image_21022025_19_40_56_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/49871275cb127579fb1792515e0111fd.jpg","text":"TemporaryFile(/tmp/multipartBody1420919213313628957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163352719,"filename":"image_21022025_19_41_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e8127957bdf14b9961200876353c149.jpg","text":"TemporaryFile(/tmp/multipartBody3159133379633212104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163352719,"filename":"image_21022025_19_41_26_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338892322","file1":"1338892248","file0":"1338892175","file4":"1338892388","file3":"1338892387"},"map_files_photo_id_array":[{"photo_id":"1338892322","filename":"file2"},{"photo_id":"1338892388","filename":"file4"},{"photo_id":"1338892248","filename":"file1"},{"photo_id":"1338892175","filename":"file0"},{"photo_id":"1338892387","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338892248":["hashtag1","hashtag2"]},{"1338892388":["hashtag1","hashtag2"]},{"1338892175":["hashtag1","hashtag2"]},{"1338892322":["hashtag1","hashtag2"]},{"1338892387":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338892248, 1338892388, 1338892175, 1338892322, 1338892387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.3085196018219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:42:03.422215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/19/58/image_20022025_19_58_56_10438.jpg', '/home/pi/Desktop/images/20022025/19/58/image_20022025_19_59_06_10317.jpg', '/home/pi/Desktop/images/20022025/19/59/image_20022025_19_59_26_10342.jpg', '/home/pi/Desktop/images/20022025/19/59/image_20022025_19_59_36_10348.jpg', '/home/pi/Desktop/images/20022025/19/59/image_20022025_19_59_56_10411.jpg', '/home/pi/Desktop/images/20022025/20/00/image_20022025_20_00_16_10070.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/19/58/image_20022025_19_58_56_10438.jpg
/home/pi/Desktop/images/20022025/19/58/image_20022025_19_59_06_10317.jpg
/home/pi/Desktop/images/20022025/19/59/image_20022025_19_59_26_10342.jpg
/home/pi/Desktop/images/20022025/19/59/image_20022025_19_59_36_10348.jpg
/home/pi/Desktop/images/20022025/19/59/image_20022025_19_59_56_10411.jpg
/home/pi/Desktop/images/20022025/20/00/image_20022025_20_00_16_10070.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338892473","1338892476","1338892503","1338892506","1338892500","1338892424"],"photo_ids_order":["1338892424","1338892473","1338892476","1338892500","1338892503","1338892506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1329649b10ea33dc5e7898ac643f399f.jpg","text":"TemporaryFile(/tmp/multipartBody9006980365389641201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163384866,"filename":"image_20022025_19_59_06_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ede91dc811dd9c90ea220fd6e24c259c.jpg","text":"TemporaryFile(/tmp/multipartBody2904437389588480332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163384866,"filename":"image_20022025_19_59_26_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/11071f22214700a294e7d5c65b720ad2.jpg","text":"TemporaryFile(/tmp/multipartBody9062906433080658504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163384866,"filename":"image_20022025_19_59_56_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/af8e1d0668f32832cab60dea694296c1.jpg","text":"TemporaryFile(/tmp/multipartBody3573905743542602709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163384866,"filename":"image_20022025_20_00_16_10070.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b5b584c36ce495d772b4780c696bb53e.jpg","text":"TemporaryFile(/tmp/multipartBody4545583382659307674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163384866,"filename":"image_20022025_19_59_36_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fcce13cb7a529086e698e01292ad9d18.jpg","text":"TemporaryFile(/tmp/multipartBody6536625537239105557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163384866,"filename":"image_20022025_19_58_56_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338892476","file1":"1338892473","file0":"1338892424","file4":"1338892503","file5":"1338892506","file3":"1338892500"},"map_files_photo_id_array":[{"photo_id":"1338892506","filename":"file5"},{"photo_id":"1338892476","filename":"file2"},{"photo_id":"1338892503","filename":"file4"},{"photo_id":"1338892473","filename":"file1"},{"photo_id":"1338892424","filename":"file0"},{"photo_id":"1338892500","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338892473":["hashtag1","hashtag2"]},{"1338892476":["hashtag1","hashtag2"]},{"1338892503":["hashtag1","hashtag2"]},{"1338892506":["hashtag1","hashtag2"]},{"1338892500":["hashtag1","hashtag2"]},{"1338892424":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338892473, 1338892476, 1338892503, 1338892506, 1338892500, 1338892424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.45228123664856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:42:42.581732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/41/image_21022025_19_41_46_10467.jpg', '/home/pi/Desktop/images/21022025/19/41/image_21022025_19_42_06_10446.jpg', '/home/pi/Desktop/images/21022025/19/42/image_21022025_19_42_16_10350.jpg', '/home/pi/Desktop/images/21022025/19/42/image_21022025_19_42_36_10471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/41/image_21022025_19_41_46_10467.jpg
/home/pi/Desktop/images/21022025/19/41/image_21022025_19_42_06_10446.jpg
/home/pi/Desktop/images/21022025/19/42/image_21022025_19_42_16_10350.jpg
/home/pi/Desktop/images/21022025/19/42/image_21022025_19_42_36_10471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338892564","1338892566","1338892562","1338892567"],"photo_ids_order":["1338892562","1338892564","1338892566","1338892567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef29df61dd5336b2485c41c0509cdfa2.jpg","text":"TemporaryFile(/tmp/multipartBody7099268817771719866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163423032,"filename":"image_21022025_19_42_06_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7f0c7bcc8cdbed078cbc83d61abca31.jpg","text":"TemporaryFile(/tmp/multipartBody1511543412722300443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163423032,"filename":"image_21022025_19_42_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3771b0be0034ef63d7a81a3c0719a43a.jpg","text":"TemporaryFile(/tmp/multipartBody5347377963468403477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163423032,"filename":"image_21022025_19_41_46_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83e9852592c39deb74bad724c2a5060f.jpg","text":"TemporaryFile(/tmp/multipartBody5394054701950919386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163423032,"filename":"image_21022025_19_42_36_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338892566","file1":"1338892564","file0":"1338892562","file3":"1338892567"},"map_files_photo_id_array":[{"photo_id":"1338892566","filename":"file2"},{"photo_id":"1338892564","filename":"file1"},{"photo_id":"1338892562","filename":"file0"},{"photo_id":"1338892567","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338892564":["hashtag1","hashtag2"]},{"1338892566":["hashtag1","hashtag2"]},{"1338892562":["hashtag1","hashtag2"]},{"1338892567":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338892564, 1338892566, 1338892562, 1338892567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.706544160842896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:43:33.005760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/42/image_21022025_19_42_45_9407.jpg', '/home/pi/Desktop/images/21022025/19/42/image_21022025_19_43_05_9419.jpg', '/home/pi/Desktop/images/21022025/19/43/image_21022025_19_43_15_10324.jpg', '/home/pi/Desktop/images/21022025/19/43/image_21022025_19_43_26_10497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/42/image_21022025_19_42_45_9407.jpg
/home/pi/Desktop/images/21022025/19/42/image_21022025_19_43_05_9419.jpg
/home/pi/Desktop/images/21022025/19/43/image_21022025_19_43_15_10324.jpg
/home/pi/Desktop/images/21022025/19/43/image_21022025_19_43_26_10497.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338892600","1338892599","1338892595","1338892597"],"photo_ids_order":["1338892595","1338892597","1338892599","1338892600"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b339906165f1db51b4dedc2fcc542f3.jpg","text":"TemporaryFile(/tmp/multipartBody5498947495702221189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163473452,"filename":"image_21022025_19_43_26_10497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ee662a3d3787e503a4eebd8d30ecd9bd.jpg","text":"TemporaryFile(/tmp/multipartBody4195999777721276923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163473452,"filename":"image_21022025_19_43_15_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dfe4e9d5d7a2a13db91cddafe9660e24.jpg","text":"TemporaryFile(/tmp/multipartBody59530733438052741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163473452,"filename":"image_21022025_19_42_45_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/986716acd16ad536a8377ee8c15d8a4b.jpg","text":"TemporaryFile(/tmp/multipartBody3199211578494540634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163473452,"filename":"image_21022025_19_43_05_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338892599","file1":"1338892597","file0":"1338892595","file3":"1338892600"},"map_files_photo_id_array":[{"photo_id":"1338892599","filename":"file2"},{"photo_id":"1338892597","filename":"file1"},{"photo_id":"1338892595","filename":"file0"},{"photo_id":"1338892600","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338892600":["hashtag1","hashtag2"]},{"1338892599":["hashtag1","hashtag2"]},{"1338892595":["hashtag1","hashtag2"]},{"1338892597":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338892600, 1338892599, 1338892595, 1338892597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.609521627426147 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:44:03.729306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/00/image_20022025_20_00_26_10349.jpg', '/home/pi/Desktop/images/20022025/20/00/image_20022025_20_00_36_10335.jpg', '/home/pi/Desktop/images/20022025/20/00/image_20022025_20_00_46_9313.jpg', '/home/pi/Desktop/images/20022025/20/00/image_20022025_20_00_56_10348.jpg', '/home/pi/Desktop/images/20022025/20/03/image_20022025_20_03_16_9317.jpg', '/home/pi/Desktop/images/20022025/20/03/image_20022025_20_03_36_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/00/image_20022025_20_00_26_10349.jpg
/home/pi/Desktop/images/20022025/20/00/image_20022025_20_00_36_10335.jpg
/home/pi/Desktop/images/20022025/20/00/image_20022025_20_00_46_9313.jpg
/home/pi/Desktop/images/20022025/20/00/image_20022025_20_00_56_10348.jpg
/home/pi/Desktop/images/20022025/20/03/image_20022025_20_03_16_9317.jpg
/home/pi/Desktop/images/20022025/20/03/image_20022025_20_03_36_10410.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338892621","1338892626","1338892635","1338892623","1338892643","1338892628"],"photo_ids_order":["1338892621","1338892623","1338892626","1338892628","1338892635","1338892643"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1c8e46432fa62ea009272f844d37e377.jpg","text":"TemporaryFile(/tmp/multipartBody5724868566767813218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163505116,"filename":"image_20022025_20_00_26_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4e6af5f6480d4ebab9060507393561b1.jpg","text":"TemporaryFile(/tmp/multipartBody2218709270236823443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163505116,"filename":"image_20022025_20_00_46_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a0b7ae2a5c146f4fcb3d2afd98443ee.jpg","text":"TemporaryFile(/tmp/multipartBody6479361996639759451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163505116,"filename":"image_20022025_20_03_16_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/52ace98adc5a8eebfb759f4450700a10.jpg","text":"TemporaryFile(/tmp/multipartBody8380505635160891995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163505116,"filename":"image_20022025_20_00_36_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fbb635e3944328fa5170a3a1f16c93a8.jpg","text":"TemporaryFile(/tmp/multipartBody6228115721956180255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163505116,"filename":"image_20022025_20_03_36_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3baec43d64ed36a0ebbc2d0e664681f4.jpg","text":"TemporaryFile(/tmp/multipartBody6897564878824827642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163505116,"filename":"image_20022025_20_00_56_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338892626","file1":"1338892623","file0":"1338892621","file4":"1338892635","file5":"1338892643","file3":"1338892628"},"map_files_photo_id_array":[{"photo_id":"1338892643","filename":"file5"},{"photo_id":"1338892626","filename":"file2"},{"photo_id":"1338892635","filename":"file4"},{"photo_id":"1338892623","filename":"file1"},{"photo_id":"1338892621","filename":"file0"},{"photo_id":"1338892628","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338892621":["hashtag1","hashtag2"]},{"1338892626":["hashtag1","hashtag2"]},{"1338892635":["hashtag1","hashtag2"]},{"1338892623":["hashtag1","hashtag2"]},{"1338892643":["hashtag1","hashtag2"]},{"1338892628":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338892621, 1338892626, 1338892635, 1338892623, 1338892643, 1338892628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51564621925354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:44:43.022008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/43/image_21022025_19_43_45_10373.jpg', '/home/pi/Desktop/images/21022025/19/44/image_21022025_19_44_16_10409.jpg', '/home/pi/Desktop/images/21022025/19/44/image_21022025_19_44_25_9352.jpg', '/home/pi/Desktop/images/21022025/19/44/image_21022025_19_44_35_10352.jpg', '/home/pi/Desktop/images/21022025/19/44/image_21022025_19_44_46_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/43/image_21022025_19_43_45_10373.jpg
/home/pi/Desktop/images/21022025/19/44/image_21022025_19_44_16_10409.jpg
/home/pi/Desktop/images/21022025/19/44/image_21022025_19_44_25_9352.jpg
/home/pi/Desktop/images/21022025/19/44/image_21022025_19_44_35_10352.jpg
/home/pi/Desktop/images/21022025/19/44/image_21022025_19_44_46_10447.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37178564071655273 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:44:53.040689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/43/image_21022025_19_43_45_10373.jpg', '/home/pi/Desktop/images/21022025/19/44/image_21022025_19_44_16_10409.jpg', '/home/pi/Desktop/images/21022025/19/44/image_21022025_19_44_25_9352.jpg', '/home/pi/Desktop/images/21022025/19/44/image_21022025_19_44_35_10352.jpg', '/home/pi/Desktop/images/21022025/19/44/image_21022025_19_44_46_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/43/image_21022025_19_43_45_10373.jpg
/home/pi/Desktop/images/21022025/19/44/image_21022025_19_44_16_10409.jpg
/home/pi/Desktop/images/21022025/19/44/image_21022025_19_44_25_9352.jpg
/home/pi/Desktop/images/21022025/19/44/image_21022025_19_44_35_10352.jpg
/home/pi/Desktop/images/21022025/19/44/image_21022025_19_44_46_10447.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338892662","1338892665","1338892664","1338892667","1338892669"],"photo_ids_order":["1338892662","1338892664","1338892665","1338892667","1338892669"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/129d17cc4a29ef05b0d6b589ec6e90c5.jpg","text":"TemporaryFile(/tmp/multipartBody3037263572411058124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163553511,"filename":"image_21022025_19_43_45_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cd9481282f2b564efa02955caa3397f9.jpg","text":"TemporaryFile(/tmp/multipartBody2628133416003889033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163553511,"filename":"image_21022025_19_44_25_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/14d50402f1b124836b1bc2587516d769.jpg","text":"TemporaryFile(/tmp/multipartBody7976887531341097219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163553511,"filename":"image_21022025_19_44_16_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d87be73f10d908fec61dda6d2bf5c923.jpg","text":"TemporaryFile(/tmp/multipartBody8588113505871346901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163553511,"filename":"image_21022025_19_44_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a2d1d7aedb2ecec1313185f53079792.jpg","text":"TemporaryFile(/tmp/multipartBody6800936207411391366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163553511,"filename":"image_21022025_19_44_46_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338892665","file1":"1338892664","file0":"1338892662","file4":"1338892669","file3":"1338892667"},"map_files_photo_id_array":[{"photo_id":"1338892665","filename":"file2"},{"photo_id":"1338892669","filename":"file4"},{"photo_id":"1338892664","filename":"file1"},{"photo_id":"1338892662","filename":"file0"},{"photo_id":"1338892667","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338892662":["hashtag1","hashtag2"]},{"1338892665":["hashtag1","hashtag2"]},{"1338892664":["hashtag1","hashtag2"]},{"1338892667":["hashtag1","hashtag2"]},{"1338892669":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338892662, 1338892665, 1338892664, 1338892667, 1338892669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.275444746017456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:45:32.308890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/44/image_21022025_19_44_55_9352.jpg', '/home/pi/Desktop/images/21022025/19/44/image_21022025_19_45_06_10425.jpg', '/home/pi/Desktop/images/21022025/19/45/image_21022025_19_45_16_10339.jpg', '/home/pi/Desktop/images/21022025/19/45/image_21022025_19_45_25_9397.jpg', '/home/pi/Desktop/images/21022025/19/45/image_21022025_19_45_45_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/44/image_21022025_19_44_55_9352.jpg
/home/pi/Desktop/images/21022025/19/44/image_21022025_19_45_06_10425.jpg
/home/pi/Desktop/images/21022025/19/45/image_21022025_19_45_16_10339.jpg
/home/pi/Desktop/images/21022025/19/45/image_21022025_19_45_25_9397.jpg
/home/pi/Desktop/images/21022025/19/45/image_21022025_19_45_45_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338892683","1338892691","1338892697","1338892696","1338892693"],"photo_ids_order":["1338892683","1338892691","1338892693","1338892696","1338892697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06a6144f88215df13fe5978339824e55.jpg","text":"TemporaryFile(/tmp/multipartBody5359221018734028899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163592768,"filename":"image_21022025_19_44_55_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a78afa83ab1b43918eec99ff1bd793ba.jpg","text":"TemporaryFile(/tmp/multipartBody2135367284811216448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163592768,"filename":"image_21022025_19_45_06_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9dd61efef8fd39354233744b721af5ff.jpg","text":"TemporaryFile(/tmp/multipartBody1643225470032764174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163592768,"filename":"image_21022025_19_45_45_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2750de1f506afb775839cf6286253008.jpg","text":"TemporaryFile(/tmp/multipartBody6450514873527810908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163592768,"filename":"image_21022025_19_45_25_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ab77e3e9684ca94b34cd08ce561e150.jpg","text":"TemporaryFile(/tmp/multipartBody8795355543602474919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163592768,"filename":"image_21022025_19_45_16_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338892693","file1":"1338892691","file0":"1338892683","file4":"1338892697","file3":"1338892696"},"map_files_photo_id_array":[{"photo_id":"1338892693","filename":"file2"},{"photo_id":"1338892697","filename":"file4"},{"photo_id":"1338892691","filename":"file1"},{"photo_id":"1338892683","filename":"file0"},{"photo_id":"1338892696","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338892683":["hashtag1","hashtag2"]},{"1338892691":["hashtag1","hashtag2"]},{"1338892697":["hashtag1","hashtag2"]},{"1338892696":["hashtag1","hashtag2"]},{"1338892693":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338892683, 1338892691, 1338892697, 1338892696, 1338892693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.13840651512146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:46:03.147119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/03/image_20022025_20_03_46_9311.jpg', '/home/pi/Desktop/images/20022025/20/03/image_20022025_20_03_56_10343.jpg', '/home/pi/Desktop/images/20022025/20/03/image_20022025_20_04_06_10327.jpg', '/home/pi/Desktop/images/20022025/20/04/image_20022025_20_04_16_9392.jpg', '/home/pi/Desktop/images/20022025/20/04/image_20022025_20_04_26_10359.jpg', '/home/pi/Desktop/images/20022025/20/04/image_20022025_20_04_46_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/03/image_20022025_20_03_46_9311.jpg
/home/pi/Desktop/images/20022025/20/03/image_20022025_20_03_56_10343.jpg
/home/pi/Desktop/images/20022025/20/03/image_20022025_20_04_06_10327.jpg
/home/pi/Desktop/images/20022025/20/04/image_20022025_20_04_16_9392.jpg
/home/pi/Desktop/images/20022025/20/04/image_20022025_20_04_26_10359.jpg
/home/pi/Desktop/images/20022025/20/04/image_20022025_20_04_46_10362.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.3577756881713867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:46:32.475161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/45/image_21022025_19_45_55_10351.jpg', '/home/pi/Desktop/images/21022025/19/46/image_21022025_19_46_15_9433.jpg', '/home/pi/Desktop/images/21022025/19/46/image_21022025_19_46_26_10375.jpg', '/home/pi/Desktop/images/21022025/19/46/image_21022025_19_46_36_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/45/image_21022025_19_45_55_10351.jpg
/home/pi/Desktop/images/21022025/19/46/image_21022025_19_46_15_9433.jpg
/home/pi/Desktop/images/21022025/19/46/image_21022025_19_46_26_10375.jpg
/home/pi/Desktop/images/21022025/19/46/image_21022025_19_46_36_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338892762","1338892760","1338892765","1338892768"],"photo_ids_order":["1338892760","1338892762","1338892765","1338892768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1a8ff03065f93675e90be5efa5f3f092.jpg","text":"TemporaryFile(/tmp/multipartBody3494503346048417699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163652922,"filename":"image_21022025_19_46_15_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c47b7a22159fd07c6eb242043181885e.jpg","text":"TemporaryFile(/tmp/multipartBody4231873280163944391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163652922,"filename":"image_21022025_19_45_55_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9a6ccf3b95f012d5974351ce779a4d20.jpg","text":"TemporaryFile(/tmp/multipartBody837393543223239730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163652922,"filename":"image_21022025_19_46_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ba875c9ce063dc59d5a6875e5443d8fe.jpg","text":"TemporaryFile(/tmp/multipartBody1375670075225490930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163652922,"filename":"image_21022025_19_46_36_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338892765","file1":"1338892762","file0":"1338892760","file3":"1338892768"},"map_files_photo_id_array":[{"photo_id":"1338892765","filename":"file2"},{"photo_id":"1338892762","filename":"file1"},{"photo_id":"1338892760","filename":"file0"},{"photo_id":"1338892768","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338892762":["hashtag1","hashtag2"]},{"1338892760":["hashtag1","hashtag2"]},{"1338892765":["hashtag1","hashtag2"]},{"1338892768":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338892762, 1338892760, 1338892765, 1338892768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.16117811203003 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:47:04.317882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/03/image_20022025_20_03_46_9311.jpg', '/home/pi/Desktop/images/20022025/20/03/image_20022025_20_03_56_10343.jpg', '/home/pi/Desktop/images/20022025/20/03/image_20022025_20_04_06_10327.jpg', '/home/pi/Desktop/images/20022025/20/04/image_20022025_20_04_16_9392.jpg', '/home/pi/Desktop/images/20022025/20/04/image_20022025_20_04_26_10359.jpg', '/home/pi/Desktop/images/20022025/20/04/image_20022025_20_04_46_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/03/image_20022025_20_03_46_9311.jpg
/home/pi/Desktop/images/20022025/20/03/image_20022025_20_03_56_10343.jpg
/home/pi/Desktop/images/20022025/20/03/image_20022025_20_04_06_10327.jpg
/home/pi/Desktop/images/20022025/20/04/image_20022025_20_04_16_9392.jpg
/home/pi/Desktop/images/20022025/20/04/image_20022025_20_04_26_10359.jpg
/home/pi/Desktop/images/20022025/20/04/image_20022025_20_04_46_10362.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338892773","1338892787","1338892781","1338892775","1338892784","1338892778"],"photo_ids_order":["1338892773","1338892775","1338892778","1338892781","1338892784","1338892787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a65176d9d382d7136dc0763f071bc8c6.jpg","text":"TemporaryFile(/tmp/multipartBody8949090078291922465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163685901,"filename":"image_20022025_20_03_46_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7dddf83c70997b9c7f524b1021ae290e.jpg","text":"TemporaryFile(/tmp/multipartBody2689296451441470663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163685901,"filename":"image_20022025_20_04_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04ea7eca9c5dda0df65531e3fe019dff.jpg","text":"TemporaryFile(/tmp/multipartBody1124399776853059887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163685901,"filename":"image_20022025_20_04_16_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7180a948d875ee950ace5ac54cdce4a6.jpg","text":"TemporaryFile(/tmp/multipartBody83500107665211091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163685901,"filename":"image_20022025_20_03_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/132231a37c42b74bf55fbe4f8efa49f3.jpg","text":"TemporaryFile(/tmp/multipartBody7770626133582087049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163685901,"filename":"image_20022025_20_04_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/774f35f0bdf369484f6e03c478ec66f9.jpg","text":"TemporaryFile(/tmp/multipartBody4231328780671143044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163685901,"filename":"image_20022025_20_04_06_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338892778","file1":"1338892775","file0":"1338892773","file4":"1338892784","file5":"1338892787","file3":"1338892781"},"map_files_photo_id_array":[{"photo_id":"1338892787","filename":"file5"},{"photo_id":"1338892778","filename":"file2"},{"photo_id":"1338892784","filename":"file4"},{"photo_id":"1338892775","filename":"file1"},{"photo_id":"1338892773","filename":"file0"},{"photo_id":"1338892781","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338892773":["hashtag1","hashtag2"]},{"1338892787":["hashtag1","hashtag2"]},{"1338892781":["hashtag1","hashtag2"]},{"1338892775":["hashtag1","hashtag2"]},{"1338892784":["hashtag1","hashtag2"]},{"1338892778":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338892773, 1338892787, 1338892781, 1338892775, 1338892784, 1338892778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.644585132598877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:47:42.758275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/46/image_21022025_19_46_56_10422.jpg', '/home/pi/Desktop/images/21022025/19/46/image_21022025_19_47_05_9329.jpg', '/home/pi/Desktop/images/21022025/19/47/image_21022025_19_47_15_10382.jpg', '/home/pi/Desktop/images/21022025/19/47/image_21022025_19_47_26_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/46/image_21022025_19_46_56_10422.jpg
/home/pi/Desktop/images/21022025/19/46/image_21022025_19_47_05_9329.jpg
/home/pi/Desktop/images/21022025/19/47/image_21022025_19_47_15_10382.jpg
/home/pi/Desktop/images/21022025/19/47/image_21022025_19_47_26_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338892797","1338892799","1338892795","1338892798"],"photo_ids_order":["1338892795","1338892797","1338892798","1338892799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9cd8ac5079611f07e5b1fb0df65e49b5.jpg","text":"TemporaryFile(/tmp/multipartBody997616197437364322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163723211,"filename":"image_21022025_19_47_05_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/95e1a0ff93eb4d439fb4461fd18a995f.jpg","text":"TemporaryFile(/tmp/multipartBody6917611456924800370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163723211,"filename":"image_21022025_19_47_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5111e3390f22f722056bc388ad744548.jpg","text":"TemporaryFile(/tmp/multipartBody6935497070973466027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163723211,"filename":"image_21022025_19_46_56_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9fef8a178becd20f1ff67eccf5332039.jpg","text":"TemporaryFile(/tmp/multipartBody308645323436122966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163723211,"filename":"image_21022025_19_47_15_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338892798","file1":"1338892797","file0":"1338892795","file3":"1338892799"},"map_files_photo_id_array":[{"photo_id":"1338892798","filename":"file2"},{"photo_id":"1338892797","filename":"file1"},{"photo_id":"1338892795","filename":"file0"},{"photo_id":"1338892799","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338892797":["hashtag1","hashtag2"]},{"1338892799":["hashtag1","hashtag2"]},{"1338892795":["hashtag1","hashtag2"]},{"1338892798":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338892797, 1338892799, 1338892795, 1338892798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.063858032226562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:48:32.932810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/47/image_21022025_19_47_55_9514.jpg', '/home/pi/Desktop/images/21022025/19/47/image_21022025_19_48_05_10363.jpg', '/home/pi/Desktop/images/21022025/19/48/image_21022025_19_48_25_9441.jpg', '/home/pi/Desktop/images/21022025/19/48/image_21022025_19_48_36_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/47/image_21022025_19_47_55_9514.jpg
/home/pi/Desktop/images/21022025/19/47/image_21022025_19_48_05_10363.jpg
/home/pi/Desktop/images/21022025/19/48/image_21022025_19_48_25_9441.jpg
/home/pi/Desktop/images/21022025/19/48/image_21022025_19_48_36_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338893091","1338892900","1338893183","1338893000"],"photo_ids_order":["1338892900","1338893000","1338893091","1338893183"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a2663898aaa8545559c817eaf70051d7.jpg","text":"TemporaryFile(/tmp/multipartBody6089525714405586924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163773388,"filename":"image_21022025_19_48_25_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a5559d6600f095efd54c05f68245c69d.jpg","text":"TemporaryFile(/tmp/multipartBody1903253056812661633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163773388,"filename":"image_21022025_19_47_55_9514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a61df752fec2bf0cd04f440b09b5cdee.jpg","text":"TemporaryFile(/tmp/multipartBody2767186205412365748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163773388,"filename":"image_21022025_19_48_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e246f157c7d8834e24aa909c1b1205dc.jpg","text":"TemporaryFile(/tmp/multipartBody5025067308575297394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163773388,"filename":"image_21022025_19_48_05_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338893091","file1":"1338893000","file0":"1338892900","file3":"1338893183"},"map_files_photo_id_array":[{"photo_id":"1338893091","filename":"file2"},{"photo_id":"1338893000","filename":"file1"},{"photo_id":"1338892900","filename":"file0"},{"photo_id":"1338893183","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338893091":["hashtag1","hashtag2"]},{"1338892900":["hashtag1","hashtag2"]},{"1338893183":["hashtag1","hashtag2"]},{"1338893000":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338893091, 1338892900, 1338893183, 1338893000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.559574365615845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:49:03.728352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/04/image_20022025_20_04_56_10342.jpg', '/home/pi/Desktop/images/20022025/20/05/image_20022025_20_05_16_10328.jpg', '/home/pi/Desktop/images/20022025/20/05/image_20022025_20_05_26_10371.jpg', '/home/pi/Desktop/images/20022025/20/05/image_20022025_20_05_36_9414.jpg', '/home/pi/Desktop/images/20022025/20/05/image_20022025_20_05_46_10340.jpg', '/home/pi/Desktop/images/20022025/20/05/image_20022025_20_05_56_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/04/image_20022025_20_04_56_10342.jpg
/home/pi/Desktop/images/20022025/20/05/image_20022025_20_05_16_10328.jpg
/home/pi/Desktop/images/20022025/20/05/image_20022025_20_05_26_10371.jpg
/home/pi/Desktop/images/20022025/20/05/image_20022025_20_05_36_9414.jpg
/home/pi/Desktop/images/20022025/20/05/image_20022025_20_05_46_10340.jpg
/home/pi/Desktop/images/20022025/20/05/image_20022025_20_05_56_9425.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338893407","1338893403","1338893393","1338893387","1338893381","1338893378"],"photo_ids_order":["1338893378","1338893381","1338893387","1338893393","1338893403","1338893407"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23bba68294ecc002dd451edd0f8c38c0.jpg","text":"TemporaryFile(/tmp/multipartBody3682274196279086752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163805427,"filename":"image_20022025_20_05_56_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e8618b680fda9c41839200d4b7c272a3.jpg","text":"TemporaryFile(/tmp/multipartBody8471295850112798329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163805427,"filename":"image_20022025_20_05_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/360416dfae199ed8d3e5f837333e7567.jpg","text":"TemporaryFile(/tmp/multipartBody4430048422420205342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163805427,"filename":"image_20022025_20_05_36_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/158fbaf8804d6078e24d11b5d9775102.jpg","text":"TemporaryFile(/tmp/multipartBody5459889449558036362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163805427,"filename":"image_20022025_20_05_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8784cb2fa608771ef18140f34c15b534.jpg","text":"TemporaryFile(/tmp/multipartBody9147353746253815726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163805427,"filename":"image_20022025_20_05_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5a064ecaeeae295bab0b2646739afa9f.jpg","text":"TemporaryFile(/tmp/multipartBody492500227056558031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163805427,"filename":"image_20022025_20_04_56_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338893387","file1":"1338893381","file0":"1338893378","file4":"1338893403","file5":"1338893407","file3":"1338893393"},"map_files_photo_id_array":[{"photo_id":"1338893407","filename":"file5"},{"photo_id":"1338893387","filename":"file2"},{"photo_id":"1338893403","filename":"file4"},{"photo_id":"1338893381","filename":"file1"},{"photo_id":"1338893378","filename":"file0"},{"photo_id":"1338893393","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338893407":["hashtag1","hashtag2"]},{"1338893403":["hashtag1","hashtag2"]},{"1338893393":["hashtag1","hashtag2"]},{"1338893387":["hashtag1","hashtag2"]},{"1338893381":["hashtag1","hashtag2"]},{"1338893378":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338893407, 1338893403, 1338893393, 1338893387, 1338893381, 1338893378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77474117279053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:49:42.231109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/48/image_21022025_19_48_46_10351.jpg', '/home/pi/Desktop/images/21022025/19/48/image_21022025_19_49_06_10495.jpg', '/home/pi/Desktop/images/21022025/19/49/image_21022025_19_49_15_9409.jpg', '/home/pi/Desktop/images/21022025/19/49/image_21022025_19_49_25_10352.jpg', '/home/pi/Desktop/images/21022025/19/49/image_21022025_19_49_36_10345.jpg', '/home/pi/Desktop/images/21022025/19/49/image_21022025_19_49_45_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/48/image_21022025_19_48_46_10351.jpg
/home/pi/Desktop/images/21022025/19/48/image_21022025_19_49_06_10495.jpg
/home/pi/Desktop/images/21022025/19/49/image_21022025_19_49_15_9409.jpg
/home/pi/Desktop/images/21022025/19/49/image_21022025_19_49_25_10352.jpg
/home/pi/Desktop/images/21022025/19/49/image_21022025_19_49_36_10345.jpg
/home/pi/Desktop/images/21022025/19/49/image_21022025_19_49_45_9343.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3859291076660156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:49:52.176736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/48/image_21022025_19_48_46_10351.jpg', '/home/pi/Desktop/images/21022025/19/48/image_21022025_19_49_06_10495.jpg', '/home/pi/Desktop/images/21022025/19/49/image_21022025_19_49_15_9409.jpg', '/home/pi/Desktop/images/21022025/19/49/image_21022025_19_49_25_10352.jpg', '/home/pi/Desktop/images/21022025/19/49/image_21022025_19_49_36_10345.jpg', '/home/pi/Desktop/images/21022025/19/49/image_21022025_19_49_45_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/48/image_21022025_19_48_46_10351.jpg
/home/pi/Desktop/images/21022025/19/48/image_21022025_19_49_06_10495.jpg
/home/pi/Desktop/images/21022025/19/49/image_21022025_19_49_15_9409.jpg
/home/pi/Desktop/images/21022025/19/49/image_21022025_19_49_25_10352.jpg
/home/pi/Desktop/images/21022025/19/49/image_21022025_19_49_36_10345.jpg
/home/pi/Desktop/images/21022025/19/49/image_21022025_19_49_45_9343.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338893583","1338893634","1338893651","1338893648","1338893644","1338893629"],"photo_ids_order":["1338893583","1338893629","1338893634","1338893644","1338893648","1338893651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff670c3b259331c8cae312a57812ce56.jpg","text":"TemporaryFile(/tmp/multipartBody1318716403748581439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163852651,"filename":"image_21022025_19_48_46_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf07dd5e52962af28730afc964cb1fc6.jpg","text":"TemporaryFile(/tmp/multipartBody1407958202581219341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163852651,"filename":"image_21022025_19_49_15_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/05fe4ccb0cf18954f7bd7353b3046c7c.jpg","text":"TemporaryFile(/tmp/multipartBody3232077654331830374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163852651,"filename":"image_21022025_19_49_45_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/65b91add6ceba49e35958f4f5be94eeb.jpg","text":"TemporaryFile(/tmp/multipartBody2836921938570201405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163852651,"filename":"image_21022025_19_49_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/45b2471ef37cd4b2911c06b51c39916d.jpg","text":"TemporaryFile(/tmp/multipartBody1428914180135985520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163852651,"filename":"image_21022025_19_49_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/76130416c08338ca128356b30e80f7ec.jpg","text":"TemporaryFile(/tmp/multipartBody8392811012065834584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163852651,"filename":"image_21022025_19_49_06_10495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338893634","file1":"1338893629","file0":"1338893583","file4":"1338893648","file5":"1338893651","file3":"1338893644"},"map_files_photo_id_array":[{"photo_id":"1338893651","filename":"file5"},{"photo_id":"1338893634","filename":"file2"},{"photo_id":"1338893648","filename":"file4"},{"photo_id":"1338893629","filename":"file1"},{"photo_id":"1338893583","filename":"file0"},{"photo_id":"1338893644","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338893583":["hashtag1","hashtag2"]},{"1338893634":["hashtag1","hashtag2"]},{"1338893651":["hashtag1","hashtag2"]},{"1338893648":["hashtag1","hashtag2"]},{"1338893644":["hashtag1","hashtag2"]},{"1338893629":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338893583, 1338893634, 1338893651, 1338893648, 1338893644, 1338893629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.942469120025635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:50:32.374572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/49/image_21022025_19_49_56_10358.jpg', '/home/pi/Desktop/images/21022025/19/49/image_21022025_19_50_06_10393.jpg', '/home/pi/Desktop/images/21022025/19/50/image_21022025_19_50_15_9333.jpg', '/home/pi/Desktop/images/21022025/19/50/image_21022025_19_50_26_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/49/image_21022025_19_49_56_10358.jpg
/home/pi/Desktop/images/21022025/19/49/image_21022025_19_50_06_10393.jpg
/home/pi/Desktop/images/21022025/19/50/image_21022025_19_50_15_9333.jpg
/home/pi/Desktop/images/21022025/19/50/image_21022025_19_50_26_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338893802","1338893804","1338893711","1338893807"],"photo_ids_order":["1338893711","1338893802","1338893804","1338893807"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0d81e82785a23f8724054cd0544b4fba.jpg","text":"TemporaryFile(/tmp/multipartBody3501629580314946992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163892818,"filename":"image_21022025_19_50_06_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f747c21a5e69681b886b786e0374eec.jpg","text":"TemporaryFile(/tmp/multipartBody5441566000118317285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163892818,"filename":"image_21022025_19_50_15_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92f0236aa0a6e65f1777b99bee803425.jpg","text":"TemporaryFile(/tmp/multipartBody4276858621059875968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163892818,"filename":"image_21022025_19_49_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3982a275cc44a57026209ac4d29b8d0.jpg","text":"TemporaryFile(/tmp/multipartBody196020335539966628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163892818,"filename":"image_21022025_19_50_26_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338893804","file1":"1338893802","file0":"1338893711","file3":"1338893807"},"map_files_photo_id_array":[{"photo_id":"1338893804","filename":"file2"},{"photo_id":"1338893802","filename":"file1"},{"photo_id":"1338893711","filename":"file0"},{"photo_id":"1338893807","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338893802":["hashtag1","hashtag2"]},{"1338893804":["hashtag1","hashtag2"]},{"1338893711":["hashtag1","hashtag2"]},{"1338893807":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338893802, 1338893804, 1338893711, 1338893807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.529138565063477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:51:04.188940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/08/image_20022025_20_08_46_9364.jpg', '/home/pi/Desktop/images/20022025/20/08/image_20022025_20_08_56_10340.jpg', '/home/pi/Desktop/images/20022025/20/08/image_20022025_20_09_06_10384.jpg', '/home/pi/Desktop/images/20022025/20/09/image_20022025_20_09_16_9338.jpg', '/home/pi/Desktop/images/20022025/20/09/image_20022025_20_09_26_10354.jpg', '/home/pi/Desktop/images/20022025/20/10/image_20022025_20_10_26_9430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/08/image_20022025_20_08_46_9364.jpg
/home/pi/Desktop/images/20022025/20/08/image_20022025_20_08_56_10340.jpg
/home/pi/Desktop/images/20022025/20/08/image_20022025_20_09_06_10384.jpg
/home/pi/Desktop/images/20022025/20/09/image_20022025_20_09_16_9338.jpg
/home/pi/Desktop/images/20022025/20/09/image_20022025_20_09_26_10354.jpg
/home/pi/Desktop/images/20022025/20/10/image_20022025_20_10_26_9430.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338893829","1338893838","1338893831","1338893834","1338893822","1338893825"],"photo_ids_order":["1338893822","1338893825","1338893829","1338893831","1338893834","1338893838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/652c6cba2f99db02a7ec592d3bfae5cd.jpg","text":"TemporaryFile(/tmp/multipartBody3298054671133236065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163925938,"filename":"image_20022025_20_09_06_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d73843fa2abcde328b9a389eca312b77.jpg","text":"TemporaryFile(/tmp/multipartBody6439988839275998719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163925938,"filename":"image_20022025_20_10_26_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9cc111b1d457b7bad83be84d61320936.jpg","text":"TemporaryFile(/tmp/multipartBody1918322917316492312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163925938,"filename":"image_20022025_20_09_16_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1d293d9a493f475f5379a807ea7d6fee.jpg","text":"TemporaryFile(/tmp/multipartBody4338462006709777895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163925938,"filename":"image_20022025_20_09_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f89e54c8ee4c1641440aaf123e84c4a.jpg","text":"TemporaryFile(/tmp/multipartBody7359212143202269984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163925938,"filename":"image_20022025_20_08_46_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5adbefb37408ee3606fe672f15a5870b.jpg","text":"TemporaryFile(/tmp/multipartBody3884707244873548091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163925938,"filename":"image_20022025_20_08_56_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338893829","file1":"1338893825","file0":"1338893822","file4":"1338893834","file5":"1338893838","file3":"1338893831"},"map_files_photo_id_array":[{"photo_id":"1338893838","filename":"file5"},{"photo_id":"1338893829","filename":"file2"},{"photo_id":"1338893834","filename":"file4"},{"photo_id":"1338893825","filename":"file1"},{"photo_id":"1338893822","filename":"file0"},{"photo_id":"1338893831","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338893829":["hashtag1","hashtag2"]},{"1338893838":["hashtag1","hashtag2"]},{"1338893831":["hashtag1","hashtag2"]},{"1338893834":["hashtag1","hashtag2"]},{"1338893822":["hashtag1","hashtag2"]},{"1338893825":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338893829, 1338893838, 1338893831, 1338893834, 1338893822, 1338893825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56244158744812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:51:42.552571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/50/image_21022025_19_50_56_10356.jpg', '/home/pi/Desktop/images/21022025/19/51/image_21022025_19_51_16_10338.jpg', '/home/pi/Desktop/images/21022025/19/51/image_21022025_19_51_35_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/50/image_21022025_19_50_56_10356.jpg
/home/pi/Desktop/images/21022025/19/51/image_21022025_19_51_16_10338.jpg
/home/pi/Desktop/images/21022025/19/51/image_21022025_19_51_35_10340.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338893841","1338893843","1338893845"],"photo_ids_order":["1338893841","1338893843","1338893845"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/351bdc05dc44dae3040bc7f786ca7d10.jpg","text":"TemporaryFile(/tmp/multipartBody2809185564317591653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163963045,"filename":"image_21022025_19_50_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f520c200322235e148cb226d339920ba.jpg","text":"TemporaryFile(/tmp/multipartBody5823718449928418042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163963045,"filename":"image_21022025_19_51_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/395336d28b11f03eec1444ed2f8d2de3.jpg","text":"TemporaryFile(/tmp/multipartBody1454115558092423126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163963045,"filename":"image_21022025_19_51_35_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338893845","file1":"1338893843","file0":"1338893841"},"map_files_photo_id_array":[{"photo_id":"1338893845","filename":"file2"},{"photo_id":"1338893843","filename":"file1"},{"photo_id":"1338893841","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338893841":["hashtag1","hashtag2"]},{"1338893843":["hashtag1","hashtag2"]},{"1338893845":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338893841, 1338893843, 1338893845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.992974519729614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:52:03.436427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/10/image_20022025_20_10_36_10335.jpg', '/home/pi/Desktop/images/20022025/20/10/image_20022025_20_10_46_10343.jpg', '/home/pi/Desktop/images/20022025/20/10/image_20022025_20_10_56_9340.jpg', '/home/pi/Desktop/images/20022025/20/10/image_20022025_20_11_06_10355.jpg', '/home/pi/Desktop/images/20022025/20/11/image_20022025_20_11_26_9328.jpg', '/home/pi/Desktop/images/20022025/20/11/image_20022025_20_11_36_10327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/10/image_20022025_20_10_36_10335.jpg
/home/pi/Desktop/images/20022025/20/10/image_20022025_20_10_46_10343.jpg
/home/pi/Desktop/images/20022025/20/10/image_20022025_20_10_56_9340.jpg
/home/pi/Desktop/images/20022025/20/10/image_20022025_20_11_06_10355.jpg
/home/pi/Desktop/images/20022025/20/11/image_20022025_20_11_26_9328.jpg
/home/pi/Desktop/images/20022025/20/11/image_20022025_20_11_36_10327.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338894465","1338894899","1338893973","1338894212","1338894902","1338894718"],"photo_ids_order":["1338893973","1338894212","1338894465","1338894718","1338894899","1338894902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/97e85eeeee872a3d841facbf2b4dec20.jpg","text":"TemporaryFile(/tmp/multipartBody3022014227362458298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163984894,"filename":"image_20022025_20_10_56_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e0be871957f94652c65194c7bd3d707.jpg","text":"TemporaryFile(/tmp/multipartBody5894346197681364894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163984894,"filename":"image_20022025_20_11_26_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1c1edbf06b8df4eb65b1bc476906b223.jpg","text":"TemporaryFile(/tmp/multipartBody8889948478750399472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163984894,"filename":"image_20022025_20_10_36_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d53ce2442ac90061a732b94cf75aa758.jpg","text":"TemporaryFile(/tmp/multipartBody6665028693138094447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163984894,"filename":"image_20022025_20_10_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/960634f0090ce68b7ea055c655dc83c2.jpg","text":"TemporaryFile(/tmp/multipartBody68337055614115610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163984894,"filename":"image_20022025_20_11_36_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/38debcec3c50d56b99f6ae3e46119588.jpg","text":"TemporaryFile(/tmp/multipartBody5659277107474028383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740163984894,"filename":"image_20022025_20_11_06_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338894465","file1":"1338894212","file0":"1338893973","file4":"1338894899","file5":"1338894902","file3":"1338894718"},"map_files_photo_id_array":[{"photo_id":"1338894902","filename":"file5"},{"photo_id":"1338894465","filename":"file2"},{"photo_id":"1338894899","filename":"file4"},{"photo_id":"1338894212","filename":"file1"},{"photo_id":"1338893973","filename":"file0"},{"photo_id":"1338894718","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338894465":["hashtag1","hashtag2"]},{"1338894899":["hashtag1","hashtag2"]},{"1338893973":["hashtag1","hashtag2"]},{"1338894212":["hashtag1","hashtag2"]},{"1338894902":["hashtag1","hashtag2"]},{"1338894718":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338894465, 1338894899, 1338893973, 1338894212, 1338894902, 1338894718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89928865432739 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:52:42.884137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/51/image_21022025_19_51_46_10400.jpg', '/home/pi/Desktop/images/21022025/19/52/image_21022025_19_52_16_10345.jpg', '/home/pi/Desktop/images/21022025/19/52/image_21022025_19_52_25_9359.jpg', '/home/pi/Desktop/images/21022025/19/52/image_21022025_19_52_36_10435.jpg', '/home/pi/Desktop/images/21022025/19/52/image_21022025_19_52_45_9318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/51/image_21022025_19_51_46_10400.jpg
/home/pi/Desktop/images/21022025/19/52/image_21022025_19_52_16_10345.jpg
/home/pi/Desktop/images/21022025/19/52/image_21022025_19_52_25_9359.jpg
/home/pi/Desktop/images/21022025/19/52/image_21022025_19_52_36_10435.jpg
/home/pi/Desktop/images/21022025/19/52/image_21022025_19_52_45_9318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338895292","1338895226","1338895162","1338895077","1338894999"],"photo_ids_order":["1338894999","1338895077","1338895162","1338895226","1338895292"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7f5cf4b20d3a742a18c92926243f8c22.jpg","text":"TemporaryFile(/tmp/multipartBody7227497984206529698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164023346,"filename":"image_21022025_19_52_45_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3966f16b9bb51b5a3b50c9b0a5986b70.jpg","text":"TemporaryFile(/tmp/multipartBody48473150821219513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164023346,"filename":"image_21022025_19_52_36_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cda6fced6c70ddf275df2e4b9d73c2ad.jpg","text":"TemporaryFile(/tmp/multipartBody3016610391218377357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164023346,"filename":"image_21022025_19_52_25_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a15735faf4378d3486688bb5386de00a.jpg","text":"TemporaryFile(/tmp/multipartBody403616898128490969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164023346,"filename":"image_21022025_19_52_16_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/46eae6b0da5d909ac2af88e9ad33590d.jpg","text":"TemporaryFile(/tmp/multipartBody4529688294249758268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164023346,"filename":"image_21022025_19_51_46_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338895162","file1":"1338895077","file0":"1338894999","file4":"1338895292","file3":"1338895226"},"map_files_photo_id_array":[{"photo_id":"1338895162","filename":"file2"},{"photo_id":"1338895292","filename":"file4"},{"photo_id":"1338895077","filename":"file1"},{"photo_id":"1338894999","filename":"file0"},{"photo_id":"1338895226","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338895292":["hashtag1","hashtag2"]},{"1338895226":["hashtag1","hashtag2"]},{"1338895162":["hashtag1","hashtag2"]},{"1338895077":["hashtag1","hashtag2"]},{"1338894999":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338895292, 1338895226, 1338895162, 1338895077, 1338894999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.398194313049316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:53:33.044119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/52/image_21022025_19_52_55_10345.jpg', '/home/pi/Desktop/images/21022025/19/52/image_21022025_19_53_06_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/52/image_21022025_19_52_55_10345.jpg
/home/pi/Desktop/images/21022025/19/52/image_21022025_19_53_06_10400.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338895312","1338895338"],"photo_ids_order":["1338895312","1338895338"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa06cfabf3f5a970ddd22c831248e3ce.jpg","text":"TemporaryFile(/tmp/multipartBody9040355889292712581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164073485,"filename":"image_21022025_19_52_55_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/618d029cf405805e19df08a5a7240378.jpg","text":"TemporaryFile(/tmp/multipartBody89641299082562458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164073485,"filename":"image_21022025_19_53_06_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338895338","file0":"1338895312"},"map_files_photo_id_array":[{"photo_id":"1338895338","filename":"file1"},{"photo_id":"1338895312","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338895312":["hashtag1","hashtag2"]},{"1338895338":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338895312, 1338895338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.033316850662231 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:53:53.050481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/11/image_20022025_20_11_46_10401.jpg', '/home/pi/Desktop/images/20022025/20/11/image_20022025_20_11_56_9407.jpg', '/home/pi/Desktop/images/20022025/20/12/image_20022025_20_12_56_10442.jpg', '/home/pi/Desktop/images/20022025/20/12/image_20022025_20_13_06_9352.jpg', '/home/pi/Desktop/images/20022025/20/13/image_20022025_20_13_46_10332.jpg', '/home/pi/Desktop/images/20022025/20/13/image_20022025_20_13_56_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/11/image_20022025_20_11_46_10401.jpg
/home/pi/Desktop/images/20022025/20/11/image_20022025_20_11_56_9407.jpg
/home/pi/Desktop/images/20022025/20/12/image_20022025_20_12_56_10442.jpg
/home/pi/Desktop/images/20022025/20/12/image_20022025_20_13_06_9352.jpg
/home/pi/Desktop/images/20022025/20/13/image_20022025_20_13_46_10332.jpg
/home/pi/Desktop/images/20022025/20/13/image_20022025_20_13_56_9431.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338895512","1338895505","1338895508","1338895501","1338895515","1338895503"],"photo_ids_order":["1338895501","1338895503","1338895505","1338895508","1338895512","1338895515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8167e67c097979618b48017ae61a9aa4.jpg","text":"TemporaryFile(/tmp/multipartBody6048019195251839238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164095161,"filename":"image_20022025_20_13_46_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c05602c622b6bcd4e226d1b1b7484515.jpg","text":"TemporaryFile(/tmp/multipartBody6406092078677774886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164095161,"filename":"image_20022025_20_12_56_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a6803ef826bf90929cbc49c89de290bd.jpg","text":"TemporaryFile(/tmp/multipartBody426778673909116842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164095161,"filename":"image_20022025_20_13_06_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d27942e2b25e9c952aae5368913d2f05.jpg","text":"TemporaryFile(/tmp/multipartBody145381424741552343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164095161,"filename":"image_20022025_20_11_46_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dd5968f0d54c8ec53bf0cf86840e9a29.jpg","text":"TemporaryFile(/tmp/multipartBody2652355896449357876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164095161,"filename":"image_20022025_20_13_56_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8f2736f7902bb3927f074f3d9ffad07b.jpg","text":"TemporaryFile(/tmp/multipartBody8055675823539073293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164095161,"filename":"image_20022025_20_11_56_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338895505","file1":"1338895503","file0":"1338895501","file4":"1338895512","file5":"1338895515","file3":"1338895508"},"map_files_photo_id_array":[{"photo_id":"1338895515","filename":"file5"},{"photo_id":"1338895505","filename":"file2"},{"photo_id":"1338895512","filename":"file4"},{"photo_id":"1338895503","filename":"file1"},{"photo_id":"1338895501","filename":"file0"},{"photo_id":"1338895508","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338895512":["hashtag1","hashtag2"]},{"1338895505":["hashtag1","hashtag2"]},{"1338895508":["hashtag1","hashtag2"]},{"1338895501":["hashtag1","hashtag2"]},{"1338895515":["hashtag1","hashtag2"]},{"1338895503":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338895512, 1338895505, 1338895508, 1338895501, 1338895515, 1338895503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1337685585022 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:54:32.254356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/53/image_21022025_19_53_56_10416.jpg', '/home/pi/Desktop/images/21022025/19/53/image_21022025_19_54_05_9386.jpg', '/home/pi/Desktop/images/21022025/19/54/image_21022025_19_54_15_10389.jpg', '/home/pi/Desktop/images/21022025/19/54/image_21022025_19_54_46_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/53/image_21022025_19_53_56_10416.jpg
/home/pi/Desktop/images/21022025/19/53/image_21022025_19_54_05_9386.jpg
/home/pi/Desktop/images/21022025/19/54/image_21022025_19_54_15_10389.jpg
/home/pi/Desktop/images/21022025/19/54/image_21022025_19_54_46_10389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338896071","1338896085","1338895912","1338895713"],"photo_ids_order":["1338895713","1338895912","1338896071","1338896085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c00cc3f87936677f841a9711781e927.jpg","text":"TemporaryFile(/tmp/multipartBody8010738292662349177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164132711,"filename":"image_21022025_19_54_15_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/035a4059e89b121acede73ad443fa320.jpg","text":"TemporaryFile(/tmp/multipartBody3355363868157224086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164132711,"filename":"image_21022025_19_54_46_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6407393814f13824d33598adc036628f.jpg","text":"TemporaryFile(/tmp/multipartBody6839708541937010980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164132711,"filename":"image_21022025_19_54_05_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ee76d89020d0156386456f80002f19b.jpg","text":"TemporaryFile(/tmp/multipartBody4451188326991808111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164132711,"filename":"image_21022025_19_53_56_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338896071","file1":"1338895912","file0":"1338895713","file3":"1338896085"},"map_files_photo_id_array":[{"photo_id":"1338896071","filename":"file2"},{"photo_id":"1338895912","filename":"file1"},{"photo_id":"1338895713","filename":"file0"},{"photo_id":"1338896085","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338896071":["hashtag1","hashtag2"]},{"1338896085":["hashtag1","hashtag2"]},{"1338895912":["hashtag1","hashtag2"]},{"1338895713":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338896071, 1338896085, 1338895912, 1338895713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.766043424606323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:55:03.913679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/13/image_20022025_20_14_06_10419.jpg', '/home/pi/Desktop/images/20022025/20/14/image_20022025_20_14_26_9400.jpg', '/home/pi/Desktop/images/20022025/20/14/image_20022025_20_14_56_9424.jpg', '/home/pi/Desktop/images/20022025/20/14/image_20022025_20_15_06_10345.jpg', '/home/pi/Desktop/images/20022025/20/15/image_20022025_20_15_16_9381.jpg', '/home/pi/Desktop/images/20022025/20/15/image_20022025_20_15_26_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/13/image_20022025_20_14_06_10419.jpg
/home/pi/Desktop/images/20022025/20/14/image_20022025_20_14_26_9400.jpg
/home/pi/Desktop/images/20022025/20/14/image_20022025_20_14_56_9424.jpg
/home/pi/Desktop/images/20022025/20/14/image_20022025_20_15_06_10345.jpg
/home/pi/Desktop/images/20022025/20/15/image_20022025_20_15_16_9381.jpg
/home/pi/Desktop/images/20022025/20/15/image_20022025_20_15_26_10342.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338896213","1338896210","1338896182","1338896217","1338896103","1338896180"],"photo_ids_order":["1338896103","1338896180","1338896182","1338896210","1338896213","1338896217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/559cb2649de61c2a229adccee7a8a56c.jpg","text":"TemporaryFile(/tmp/multipartBody991319447403134909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164165592,"filename":"image_20022025_20_15_16_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8980ea9f6b8dd4cf09ea79daf04802e.jpg","text":"TemporaryFile(/tmp/multipartBody2158398632200396111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164165592,"filename":"image_20022025_20_15_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dccb9d9c2eb94c01ea87ebfa2aed1b16.jpg","text":"TemporaryFile(/tmp/multipartBody1410667608621461989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164165592,"filename":"image_20022025_20_14_56_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/56a3a715c857b48ad36cd8988dddb0d9.jpg","text":"TemporaryFile(/tmp/multipartBody3989447952566610824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164165592,"filename":"image_20022025_20_15_26_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a7537d465e909cf1aad2ad258c718db7.jpg","text":"TemporaryFile(/tmp/multipartBody4485864275766522109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164165592,"filename":"image_20022025_20_14_06_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1be26a89f2dc6467d559ed2d0017ffa2.jpg","text":"TemporaryFile(/tmp/multipartBody1767575161405587388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164165592,"filename":"image_20022025_20_14_26_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338896182","file1":"1338896180","file0":"1338896103","file4":"1338896213","file5":"1338896217","file3":"1338896210"},"map_files_photo_id_array":[{"photo_id":"1338896217","filename":"file5"},{"photo_id":"1338896182","filename":"file2"},{"photo_id":"1338896213","filename":"file4"},{"photo_id":"1338896180","filename":"file1"},{"photo_id":"1338896103","filename":"file0"},{"photo_id":"1338896210","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338896213":["hashtag1","hashtag2"]},{"1338896210":["hashtag1","hashtag2"]},{"1338896182":["hashtag1","hashtag2"]},{"1338896217":["hashtag1","hashtag2"]},{"1338896103":["hashtag1","hashtag2"]},{"1338896180":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338896213, 1338896210, 1338896182, 1338896217, 1338896103, 1338896180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9775710105896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:55:42.555732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/54/image_21022025_19_54_56_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/54/image_21022025_19_54_56_10379.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338896445"],"photo_id":"1338896445","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b6cc30899192fdcddd1acc7d7cc45db.jpg","text":"TemporaryFile(/tmp/multipartBody5961832073780351164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164202964,"filename":"image_21022025_19_54_56_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338896445"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338896445"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.722083806991577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:56:03.284390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/15/image_20022025_20_15_36_10350.jpg', '/home/pi/Desktop/images/20022025/20/15/image_20022025_20_15_56_10335.jpg', '/home/pi/Desktop/images/20022025/20/16/image_20022025_20_16_36_10348.jpg', '/home/pi/Desktop/images/20022025/20/16/image_20022025_20_16_46_9390.jpg', '/home/pi/Desktop/images/20022025/20/16/image_20022025_20_16_56_10341.jpg', '/home/pi/Desktop/images/20022025/20/17/image_20022025_20_17_46_10324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/15/image_20022025_20_15_36_10350.jpg
/home/pi/Desktop/images/20022025/20/15/image_20022025_20_15_56_10335.jpg
/home/pi/Desktop/images/20022025/20/16/image_20022025_20_16_36_10348.jpg
/home/pi/Desktop/images/20022025/20/16/image_20022025_20_16_46_9390.jpg
/home/pi/Desktop/images/20022025/20/16/image_20022025_20_16_56_10341.jpg
/home/pi/Desktop/images/20022025/20/17/image_20022025_20_17_46_10324.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338896569","1338896524","1338896565","1338896526","1338896585","1338896561"],"photo_ids_order":["1338896524","1338896526","1338896561","1338896565","1338896569","1338896585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bc3a6421202d1e36e365fae69ccb2176.jpg","text":"TemporaryFile(/tmp/multipartBody4470729206041284944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164224709,"filename":"image_20022025_20_16_56_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/63979e3c63c92ec152763e0284a07987.jpg","text":"TemporaryFile(/tmp/multipartBody2232885988510127068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164224709,"filename":"image_20022025_20_15_36_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce8a12761e6cf7ee065607d77001a151.jpg","text":"TemporaryFile(/tmp/multipartBody6666251122313607391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164224709,"filename":"image_20022025_20_16_46_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7204661fae738ffaf1a57639cd9ea752.jpg","text":"TemporaryFile(/tmp/multipartBody4254686249423388125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164224709,"filename":"image_20022025_20_15_56_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c62a2f962cd111002f9be2963fa70f32.jpg","text":"TemporaryFile(/tmp/multipartBody6693128570793129868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164224709,"filename":"image_20022025_20_17_46_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c107a45c7d913aaac1be24b55f657415.jpg","text":"TemporaryFile(/tmp/multipartBody4850866515568251986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164224709,"filename":"image_20022025_20_16_36_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338896561","file1":"1338896526","file0":"1338896524","file4":"1338896569","file5":"1338896585","file3":"1338896565"},"map_files_photo_id_array":[{"photo_id":"1338896585","filename":"file5"},{"photo_id":"1338896561","filename":"file2"},{"photo_id":"1338896569","filename":"file4"},{"photo_id":"1338896526","filename":"file1"},{"photo_id":"1338896524","filename":"file0"},{"photo_id":"1338896565","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338896569":["hashtag1","hashtag2"]},{"1338896524":["hashtag1","hashtag2"]},{"1338896565":["hashtag1","hashtag2"]},{"1338896526":["hashtag1","hashtag2"]},{"1338896585":["hashtag1","hashtag2"]},{"1338896561":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338896569, 1338896524, 1338896565, 1338896526, 1338896585, 1338896561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.175578355789185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:56:42.638829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/55/image_21022025_19_55_46_10366.jpg', '/home/pi/Desktop/images/21022025/19/55/image_21022025_19_56_05_10366.jpg', '/home/pi/Desktop/images/21022025/19/56/image_21022025_19_56_16_10477.jpg', '/home/pi/Desktop/images/21022025/19/56/image_21022025_19_56_25_9335.jpg', '/home/pi/Desktop/images/21022025/19/56/image_21022025_19_56_36_10403.jpg', '/home/pi/Desktop/images/21022025/19/56/image_21022025_19_56_46_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/55/image_21022025_19_55_46_10366.jpg
/home/pi/Desktop/images/21022025/19/55/image_21022025_19_56_05_10366.jpg
/home/pi/Desktop/images/21022025/19/56/image_21022025_19_56_16_10477.jpg
/home/pi/Desktop/images/21022025/19/56/image_21022025_19_56_25_9335.jpg
/home/pi/Desktop/images/21022025/19/56/image_21022025_19_56_36_10403.jpg
/home/pi/Desktop/images/21022025/19/56/image_21022025_19_56_46_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338896596","1338896650","1338896643","1338896652","1338896646","1338896648"],"photo_ids_order":["1338896596","1338896643","1338896646","1338896648","1338896650","1338896652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/515a4ef2c3d45a6e8749300f422d8e3b.jpg","text":"TemporaryFile(/tmp/multipartBody5792067138752301022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164263103,"filename":"image_21022025_19_55_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/57a94b9e22f5a46298b8a069ee5e227a.jpg","text":"TemporaryFile(/tmp/multipartBody5360488204997556179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164263103,"filename":"image_21022025_19_56_36_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4c4044ff9ac82a9e8ef41962704d06f1.jpg","text":"TemporaryFile(/tmp/multipartBody3264087300227130204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164263103,"filename":"image_21022025_19_56_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c806b27c3ab0c00c39296793912cc4a6.jpg","text":"TemporaryFile(/tmp/multipartBody7999266733111881399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164263103,"filename":"image_21022025_19_56_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2c3de8c18da65887cd612005eeff1fbb.jpg","text":"TemporaryFile(/tmp/multipartBody5880860117673449423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164263103,"filename":"image_21022025_19_56_16_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b763f2e15f1a57eff5ce2f101816cead.jpg","text":"TemporaryFile(/tmp/multipartBody6472257057007341475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164263103,"filename":"image_21022025_19_56_25_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338896646","file1":"1338896643","file0":"1338896596","file4":"1338896650","file5":"1338896652","file3":"1338896648"},"map_files_photo_id_array":[{"photo_id":"1338896652","filename":"file5"},{"photo_id":"1338896646","filename":"file2"},{"photo_id":"1338896650","filename":"file4"},{"photo_id":"1338896643","filename":"file1"},{"photo_id":"1338896596","filename":"file0"},{"photo_id":"1338896648","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338896596":["hashtag1","hashtag2"]},{"1338896650":["hashtag1","hashtag2"]},{"1338896643":["hashtag1","hashtag2"]},{"1338896652":["hashtag1","hashtag2"]},{"1338896646":["hashtag1","hashtag2"]},{"1338896648":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338896596, 1338896650, 1338896643, 1338896652, 1338896646, 1338896648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.998729944229126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 19:57:33.059412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/56/image_21022025_19_56_55_9345.jpg', '/home/pi/Desktop/images/21022025/19/56/image_21022025_19_57_06_10448.jpg', '/home/pi/Desktop/images/21022025/19/57/image_21022025_19_57_15_9396.jpg', '/home/pi/Desktop/images/21022025/19/57/image_21022025_19_57_25_10352.jpg', '/home/pi/Desktop/images/21022025/19/57/image_21022025_19_57_36_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/56/image_21022025_19_56_55_9345.jpg
/home/pi/Desktop/images/21022025/19/56/image_21022025_19_57_06_10448.jpg
/home/pi/Desktop/images/21022025/19/57/image_21022025_19_57_15_9396.jpg
/home/pi/Desktop/images/21022025/19/57/image_21022025_19_57_25_10352.jpg
/home/pi/Desktop/images/21022025/19/57/image_21022025_19_57_36_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338896717","1338896731","1338896734","1338896728","1338896715"],"photo_ids_order":["1338896715","1338896717","1338896728","1338896731","1338896734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b0a3384849ace2d8cc925368e50322b.jpg","text":"TemporaryFile(/tmp/multipartBody7709903744164292233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164313528,"filename":"image_21022025_19_57_06_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c4e5ab388c0390953be660b6988e4811.jpg","text":"TemporaryFile(/tmp/multipartBody1241697503257509188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164313528,"filename":"image_21022025_19_57_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/05451de9c5807db21fb9b953de176aea.jpg","text":"TemporaryFile(/tmp/multipartBody3990403829828219043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164313528,"filename":"image_21022025_19_57_36_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f2aa62260a47cfc9d9f8afe43074dc5c.jpg","text":"TemporaryFile(/tmp/multipartBody6492139821011099161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164313528,"filename":"image_21022025_19_57_15_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c96c7cd2253ef13482fa9066304221c.jpg","text":"TemporaryFile(/tmp/multipartBody2797352870109090037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164313528,"filename":"image_21022025_19_56_55_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338896728","file1":"1338896717","file0":"1338896715","file4":"1338896734","file3":"1338896731"},"map_files_photo_id_array":[{"photo_id":"1338896728","filename":"file2"},{"photo_id":"1338896734","filename":"file4"},{"photo_id":"1338896717","filename":"file1"},{"photo_id":"1338896715","filename":"file0"},{"photo_id":"1338896731","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338896717":["hashtag1","hashtag2"]},{"1338896731":["hashtag1","hashtag2"]},{"1338896734":["hashtag1","hashtag2"]},{"1338896728":["hashtag1","hashtag2"]},{"1338896715":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338896717, 1338896731, 1338896734, 1338896728, 1338896715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.013466835021973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:59:03.859060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/57/image_21022025_19_57_56_10395.jpg', '/home/pi/Desktop/images/21022025/19/57/image_21022025_19_58_06_10347.jpg', '/home/pi/Desktop/images/21022025/19/58/image_21022025_19_58_26_10494.jpg', '/home/pi/Desktop/images/21022025/19/58/image_21022025_19_58_35_9343.jpg', '/home/pi/Desktop/images/21022025/19/58/image_21022025_19_58_45_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/57/image_21022025_19_57_56_10395.jpg
/home/pi/Desktop/images/21022025/19/57/image_21022025_19_58_06_10347.jpg
/home/pi/Desktop/images/21022025/19/58/image_21022025_19_58_26_10494.jpg
/home/pi/Desktop/images/21022025/19/58/image_21022025_19_58_35_9343.jpg
/home/pi/Desktop/images/21022025/19/58/image_21022025_19_58_45_10356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338896878","1338896947","1338896937","1338896882","1338896945"],"photo_ids_order":["1338896878","1338896882","1338896937","1338896945","1338896947"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dde00e517ee8625c34af7d2f63398856.jpg","text":"TemporaryFile(/tmp/multipartBody5639044018886443081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164404385,"filename":"image_21022025_19_57_56_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6d93891ae00cba35afb6614889504b19.jpg","text":"TemporaryFile(/tmp/multipartBody8050649611865320876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164404385,"filename":"image_21022025_19_58_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf34ea3b79ab75dabb60944164d9e685.jpg","text":"TemporaryFile(/tmp/multipartBody1112669333034779906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164404385,"filename":"image_21022025_19_58_26_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/26038da6d25d3306377efd93f4c77c2b.jpg","text":"TemporaryFile(/tmp/multipartBody7119308425494659189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164404385,"filename":"image_21022025_19_58_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d9a1a969f26378bd3567252b2aaf364f.jpg","text":"TemporaryFile(/tmp/multipartBody6527916706198641835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164404385,"filename":"image_21022025_19_58_35_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338896937","file1":"1338896882","file0":"1338896878","file4":"1338896947","file3":"1338896945"},"map_files_photo_id_array":[{"photo_id":"1338896937","filename":"file2"},{"photo_id":"1338896947","filename":"file4"},{"photo_id":"1338896882","filename":"file1"},{"photo_id":"1338896878","filename":"file0"},{"photo_id":"1338896945","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338896878":["hashtag1","hashtag2"]},{"1338896947":["hashtag1","hashtag2"]},{"1338896937":["hashtag1","hashtag2"]},{"1338896882":["hashtag1","hashtag2"]},{"1338896945":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338896878, 1338896947, 1338896937, 1338896882, 1338896945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.67269778251648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 19:59:42.602656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/58/image_21022025_19_58_56_10356.jpg', '/home/pi/Desktop/images/21022025/19/58/image_21022025_19_59_05_9407.jpg', '/home/pi/Desktop/images/21022025/19/59/image_21022025_19_59_26_10347.jpg', '/home/pi/Desktop/images/21022025/19/59/image_21022025_19_59_35_9393.jpg', '/home/pi/Desktop/images/21022025/19/59/image_21022025_19_59_46_10500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/58/image_21022025_19_58_56_10356.jpg
/home/pi/Desktop/images/21022025/19/58/image_21022025_19_59_05_9407.jpg
/home/pi/Desktop/images/21022025/19/59/image_21022025_19_59_26_10347.jpg
/home/pi/Desktop/images/21022025/19/59/image_21022025_19_59_35_9393.jpg
/home/pi/Desktop/images/21022025/19/59/image_21022025_19_59_46_10500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338896971","1338896965","1338896973","1338896967","1338896963"],"photo_ids_order":["1338896963","1338896965","1338896967","1338896971","1338896973"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/95b84862c6f98e786cd4bad8bfe4932b.jpg","text":"TemporaryFile(/tmp/multipartBody269315158085089013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164443066,"filename":"image_21022025_19_59_35_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/33722d72b1decbe74934da9a445bc13c.jpg","text":"TemporaryFile(/tmp/multipartBody2663573776254037378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164443066,"filename":"image_21022025_19_59_05_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d882f4c10790fc233ef38116925b9bcf.jpg","text":"TemporaryFile(/tmp/multipartBody3417691988488512022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164443066,"filename":"image_21022025_19_59_46_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90296c6f735aa8c4b2b7a0f281d6fc18.jpg","text":"TemporaryFile(/tmp/multipartBody3321727546051812019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164443066,"filename":"image_21022025_19_59_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a54c280673c56642bba9f42e72dc1f8f.jpg","text":"TemporaryFile(/tmp/multipartBody6617056279394882165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164443066,"filename":"image_21022025_19_58_56_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338896967","file1":"1338896965","file0":"1338896963","file4":"1338896973","file3":"1338896971"},"map_files_photo_id_array":[{"photo_id":"1338896967","filename":"file2"},{"photo_id":"1338896973","filename":"file4"},{"photo_id":"1338896965","filename":"file1"},{"photo_id":"1338896963","filename":"file0"},{"photo_id":"1338896971","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338896971":["hashtag1","hashtag2"]},{"1338896965":["hashtag1","hashtag2"]},{"1338896973":["hashtag1","hashtag2"]},{"1338896967":["hashtag1","hashtag2"]},{"1338896963":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338896971, 1338896965, 1338896973, 1338896967, 1338896963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.127941846847534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:00:32.807834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/17/image_20022025_20_17_56_10385.jpg', '/home/pi/Desktop/images/20022025/20/19/image_20022025_20_19_46_9430.jpg', '/home/pi/Desktop/images/20022025/20/19/image_20022025_20_19_56_10352.jpg', '/home/pi/Desktop/images/20022025/20/19/image_20022025_20_20_06_10402.jpg', '/home/pi/Desktop/images/20022025/20/20/image_20022025_20_20_16_9335.jpg', '/home/pi/Desktop/images/20022025/20/20/image_20022025_20_20_26_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/17/image_20022025_20_17_56_10385.jpg
/home/pi/Desktop/images/20022025/20/19/image_20022025_20_19_46_9430.jpg
/home/pi/Desktop/images/20022025/20/19/image_20022025_20_19_56_10352.jpg
/home/pi/Desktop/images/20022025/20/19/image_20022025_20_20_06_10402.jpg
/home/pi/Desktop/images/20022025/20/20/image_20022025_20_20_16_9335.jpg
/home/pi/Desktop/images/20022025/20/20/image_20022025_20_20_26_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338897115","1338897127","1338897129","1338897123","1338897005","1338897035"],"photo_ids_order":["1338897005","1338897035","1338897115","1338897123","1338897127","1338897129"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bef076f0b4b292a13f914a1e17bcd570.jpg","text":"TemporaryFile(/tmp/multipartBody7993622815080248800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164494938,"filename":"image_20022025_20_19_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/24ba3718a4b5ba85fcd462ab349c71d7.jpg","text":"TemporaryFile(/tmp/multipartBody3529588428374977346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164494938,"filename":"image_20022025_20_20_16_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/10ed03ff2be6e6d208d16a40c8864298.jpg","text":"TemporaryFile(/tmp/multipartBody4153866898379109302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164494938,"filename":"image_20022025_20_20_26_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a15329a8bc455eeb783b2b29b446a10a.jpg","text":"TemporaryFile(/tmp/multipartBody1187685062137604650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164494938,"filename":"image_20022025_20_20_06_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c80a922b161e5cd57b122170433d4a2a.jpg","text":"TemporaryFile(/tmp/multipartBody8030142697094310052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164494938,"filename":"image_20022025_20_17_56_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fbc0606017e29bd1c5c6b7d349003110.jpg","text":"TemporaryFile(/tmp/multipartBody8299611457804640568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164494938,"filename":"image_20022025_20_19_46_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338897115","file1":"1338897035","file0":"1338897005","file4":"1338897127","file5":"1338897129","file3":"1338897123"},"map_files_photo_id_array":[{"photo_id":"1338897129","filename":"file5"},{"photo_id":"1338897115","filename":"file2"},{"photo_id":"1338897127","filename":"file4"},{"photo_id":"1338897035","filename":"file1"},{"photo_id":"1338897005","filename":"file0"},{"photo_id":"1338897123","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338897115":["hashtag1","hashtag2"]},{"1338897127":["hashtag1","hashtag2"]},{"1338897129":["hashtag1","hashtag2"]},{"1338897123":["hashtag1","hashtag2"]},{"1338897005":["hashtag1","hashtag2"]},{"1338897035":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338897115, 1338897127, 1338897129, 1338897123, 1338897005, 1338897035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.187450885772705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:01:33.127565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/19/59/image_21022025_19_59_55_9342.jpg', '/home/pi/Desktop/images/21022025/20/01/image_21022025_20_01_14_10076.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/19/59/image_21022025_19_59_55_9342.jpg
/home/pi/Desktop/images/21022025/20/01/image_21022025_20_01_14_10076.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338897228","1338897230"],"photo_ids_order":["1338897228","1338897230"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a5b72d1a69b1c48fa34431e2befd6ad4.jpg","text":"TemporaryFile(/tmp/multipartBody6787489815531768911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164553565,"filename":"image_21022025_19_59_55_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ca365233cc417c3ac49da92c2c050a0.jpg","text":"TemporaryFile(/tmp/multipartBody4983110584091599990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164553565,"filename":"image_21022025_20_01_14_10076.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338897230","file0":"1338897228"},"map_files_photo_id_array":[{"photo_id":"1338897230","filename":"file1"},{"photo_id":"1338897228","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338897228":["hashtag1","hashtag2"]},{"1338897230":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338897228, 1338897230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.961857795715332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:01:53.065099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/20/image_20022025_20_20_36_10343.jpg', '/home/pi/Desktop/images/20022025/20/20/image_20022025_20_20_46_9329.jpg', '/home/pi/Desktop/images/20022025/20/20/image_20022025_20_20_56_10340.jpg', '/home/pi/Desktop/images/20022025/20/20/image_20022025_20_21_06_10315.jpg', '/home/pi/Desktop/images/20022025/20/21/image_20022025_20_21_26_10456.jpg', '/home/pi/Desktop/images/20022025/20/21/image_20022025_20_21_36_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/20/image_20022025_20_20_36_10343.jpg
/home/pi/Desktop/images/20022025/20/20/image_20022025_20_20_46_9329.jpg
/home/pi/Desktop/images/20022025/20/20/image_20022025_20_20_56_10340.jpg
/home/pi/Desktop/images/20022025/20/20/image_20022025_20_21_06_10315.jpg
/home/pi/Desktop/images/20022025/20/21/image_20022025_20_21_26_10456.jpg
/home/pi/Desktop/images/20022025/20/21/image_20022025_20_21_36_9422.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338897235","1338897243","1338897237","1338897246","1338897240","1338897239"],"photo_ids_order":["1338897235","1338897237","1338897239","1338897240","1338897243","1338897246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eea13b643220c3fa0dc81ad05a4533a5.jpg","text":"TemporaryFile(/tmp/multipartBody6729789508813497581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164575208,"filename":"image_20022025_20_20_36_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/daba1d2c8e7560523023a5accca8e6b2.jpg","text":"TemporaryFile(/tmp/multipartBody2339208481438578423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164575208,"filename":"image_20022025_20_21_26_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/311e7bc649f86b10f22f80625395a20b.jpg","text":"TemporaryFile(/tmp/multipartBody4613965861703268539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164575208,"filename":"image_20022025_20_20_46_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a3ce391c860387a9d0ee22d8e19869dd.jpg","text":"TemporaryFile(/tmp/multipartBody3995515323775152180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164575208,"filename":"image_20022025_20_21_36_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02804901a96b9688c51a69d1cb18df3e.jpg","text":"TemporaryFile(/tmp/multipartBody7789754659895346547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164575208,"filename":"image_20022025_20_21_06_10315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8917ec34a12715b077c9407133dae77a.jpg","text":"TemporaryFile(/tmp/multipartBody2090114984482960489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164575208,"filename":"image_20022025_20_20_56_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338897239","file1":"1338897237","file0":"1338897235","file4":"1338897243","file5":"1338897246","file3":"1338897240"},"map_files_photo_id_array":[{"photo_id":"1338897246","filename":"file5"},{"photo_id":"1338897239","filename":"file2"},{"photo_id":"1338897243","filename":"file4"},{"photo_id":"1338897237","filename":"file1"},{"photo_id":"1338897235","filename":"file0"},{"photo_id":"1338897240","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338897235":["hashtag1","hashtag2"]},{"1338897243":["hashtag1","hashtag2"]},{"1338897237":["hashtag1","hashtag2"]},{"1338897246":["hashtag1","hashtag2"]},{"1338897240":["hashtag1","hashtag2"]},{"1338897239":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338897235, 1338897243, 1338897237, 1338897246, 1338897240, 1338897239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.55501437187195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:02:32.309372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/01/image_21022025_20_01_45_9486.jpg', '/home/pi/Desktop/images/21022025/20/01/image_21022025_20_02_04_9414.jpg', '/home/pi/Desktop/images/21022025/20/02/image_21022025_20_02_15_10339.jpg', '/home/pi/Desktop/images/21022025/20/02/image_21022025_20_02_35_9491.jpg', '/home/pi/Desktop/images/21022025/20/02/image_21022025_20_02_45_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/01/image_21022025_20_01_45_9486.jpg
/home/pi/Desktop/images/21022025/20/01/image_21022025_20_02_04_9414.jpg
/home/pi/Desktop/images/21022025/20/02/image_21022025_20_02_15_10339.jpg
/home/pi/Desktop/images/21022025/20/02/image_21022025_20_02_35_9491.jpg
/home/pi/Desktop/images/21022025/20/02/image_21022025_20_02_45_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338897253","1338897256","1338897255","1338897258","1338897260"],"photo_ids_order":["1338897253","1338897255","1338897256","1338897258","1338897260"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f341e36eb2dd29914ce50b746f4745e.jpg","text":"TemporaryFile(/tmp/multipartBody4499748139563843999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164612768,"filename":"image_21022025_20_01_45_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/84931369d6404b9afd4fcde011f0ab8d.jpg","text":"TemporaryFile(/tmp/multipartBody4910800649597304999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164612768,"filename":"image_21022025_20_02_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2817fad3926fa35605354cfc4aecac55.jpg","text":"TemporaryFile(/tmp/multipartBody3564105348656467489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164612768,"filename":"image_21022025_20_02_04_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eccfe32b8e625c6bba5864d0cc7faa38.jpg","text":"TemporaryFile(/tmp/multipartBody7272017110777983079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164612768,"filename":"image_21022025_20_02_35_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/36fa8288fb5659904f1a01f046dedbda.jpg","text":"TemporaryFile(/tmp/multipartBody696469991479807106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164612768,"filename":"image_21022025_20_02_45_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338897256","file1":"1338897255","file0":"1338897253","file4":"1338897260","file3":"1338897258"},"map_files_photo_id_array":[{"photo_id":"1338897256","filename":"file2"},{"photo_id":"1338897260","filename":"file4"},{"photo_id":"1338897255","filename":"file1"},{"photo_id":"1338897253","filename":"file0"},{"photo_id":"1338897258","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338897253":["hashtag1","hashtag2"]},{"1338897256":["hashtag1","hashtag2"]},{"1338897255":["hashtag1","hashtag2"]},{"1338897258":["hashtag1","hashtag2"]},{"1338897260":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338897253, 1338897256, 1338897255, 1338897258, 1338897260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.801408767700195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:03:04.096735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/21/image_20022025_20_21_56_10354.jpg', '/home/pi/Desktop/images/20022025/20/21/image_20022025_20_22_06_9320.jpg', '/home/pi/Desktop/images/20022025/20/22/image_20022025_20_22_26_10362.jpg', '/home/pi/Desktop/images/20022025/20/22/image_20022025_20_22_36_9334.jpg', '/home/pi/Desktop/images/20022025/20/22/image_20022025_20_22_56_10348.jpg', '/home/pi/Desktop/images/20022025/20/22/image_20022025_20_23_06_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/21/image_20022025_20_21_56_10354.jpg
/home/pi/Desktop/images/20022025/20/21/image_20022025_20_22_06_9320.jpg
/home/pi/Desktop/images/20022025/20/22/image_20022025_20_22_26_10362.jpg
/home/pi/Desktop/images/20022025/20/22/image_20022025_20_22_36_9334.jpg
/home/pi/Desktop/images/20022025/20/22/image_20022025_20_22_56_10348.jpg
/home/pi/Desktop/images/20022025/20/22/image_20022025_20_23_06_9333.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338897277","1338897273","1338897276","1338897264","1338897266","1338897269"],"photo_ids_order":["1338897264","1338897266","1338897269","1338897273","1338897276","1338897277"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3cac081a40a15ad4ecea323e83d5de6.jpg","text":"TemporaryFile(/tmp/multipartBody2445271305259329637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164645709,"filename":"image_20022025_20_23_06_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c9cb52c77a9b29d2b5acbf485c76bdf.jpg","text":"TemporaryFile(/tmp/multipartBody7259559981572812164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164645709,"filename":"image_20022025_20_22_36_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a1e9dc051e411c3c898f31af0f1f0d59.jpg","text":"TemporaryFile(/tmp/multipartBody8625813943720506479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164645709,"filename":"image_20022025_20_22_56_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90275d96d1227135b853aac43ca2df2f.jpg","text":"TemporaryFile(/tmp/multipartBody3433755683829486798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164645709,"filename":"image_20022025_20_21_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/628ce32a4a532a5cc9022f2f2e646cdd.jpg","text":"TemporaryFile(/tmp/multipartBody8983648205510751186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164645709,"filename":"image_20022025_20_22_06_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/065099d568e8e0c88f54aee5396461f7.jpg","text":"TemporaryFile(/tmp/multipartBody6687704762695007060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164645709,"filename":"image_20022025_20_22_26_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338897269","file1":"1338897266","file0":"1338897264","file4":"1338897276","file5":"1338897277","file3":"1338897273"},"map_files_photo_id_array":[{"photo_id":"1338897277","filename":"file5"},{"photo_id":"1338897269","filename":"file2"},{"photo_id":"1338897276","filename":"file4"},{"photo_id":"1338897266","filename":"file1"},{"photo_id":"1338897264","filename":"file0"},{"photo_id":"1338897273","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338897277":["hashtag1","hashtag2"]},{"1338897273":["hashtag1","hashtag2"]},{"1338897276":["hashtag1","hashtag2"]},{"1338897264":["hashtag1","hashtag2"]},{"1338897266":["hashtag1","hashtag2"]},{"1338897269":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338897277, 1338897273, 1338897276, 1338897264, 1338897266, 1338897269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97304701805115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:03:42.500691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/02/image_21022025_20_02_54_9355.jpg', '/home/pi/Desktop/images/21022025/20/02/image_21022025_20_03_05_10390.jpg', '/home/pi/Desktop/images/21022025/20/03/image_21022025_20_03_15_10402.jpg', '/home/pi/Desktop/images/21022025/20/03/image_21022025_20_03_25_9478.jpg', '/home/pi/Desktop/images/21022025/20/03/image_21022025_20_03_44_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/02/image_21022025_20_02_54_9355.jpg
/home/pi/Desktop/images/21022025/20/02/image_21022025_20_03_05_10390.jpg
/home/pi/Desktop/images/21022025/20/03/image_21022025_20_03_15_10402.jpg
/home/pi/Desktop/images/21022025/20/03/image_21022025_20_03_25_9478.jpg
/home/pi/Desktop/images/21022025/20/03/image_21022025_20_03_44_9402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338897283","1338897285","1338897287","1338897281","1338897289"],"photo_ids_order":["1338897281","1338897283","1338897285","1338897287","1338897289"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e5dfbb89050fcaf70b4d0e61260a4eb7.jpg","text":"TemporaryFile(/tmp/multipartBody8328102753191216926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164682953,"filename":"image_21022025_20_03_05_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c035f7f4695c14b560c381679682407.jpg","text":"TemporaryFile(/tmp/multipartBody4671515082487404081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164682953,"filename":"image_21022025_20_03_15_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7bc8205da4742273d02ea54bc30fa69f.jpg","text":"TemporaryFile(/tmp/multipartBody7403254828883304144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164682953,"filename":"image_21022025_20_03_25_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a55257ca9d0758c38f8b14813acf3de7.jpg","text":"TemporaryFile(/tmp/multipartBody2031530155957005919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164682953,"filename":"image_21022025_20_02_54_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dd97335dfe4639f62754aa2d40c65329.jpg","text":"TemporaryFile(/tmp/multipartBody98654871469179084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164682953,"filename":"image_21022025_20_03_44_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338897285","file1":"1338897283","file0":"1338897281","file4":"1338897289","file3":"1338897287"},"map_files_photo_id_array":[{"photo_id":"1338897285","filename":"file2"},{"photo_id":"1338897289","filename":"file4"},{"photo_id":"1338897283","filename":"file1"},{"photo_id":"1338897281","filename":"file0"},{"photo_id":"1338897287","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338897283":["hashtag1","hashtag2"]},{"1338897285":["hashtag1","hashtag2"]},{"1338897287":["hashtag1","hashtag2"]},{"1338897281":["hashtag1","hashtag2"]},{"1338897289":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338897283, 1338897285, 1338897287, 1338897281, 1338897289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.309112548828125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:04:32.781683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/03/image_21022025_20_03_55_10366.jpg', '/home/pi/Desktop/images/21022025/20/03/image_21022025_20_04_05_10350.jpg', '/home/pi/Desktop/images/21022025/20/04/image_21022025_20_04_34_9367.jpg', '/home/pi/Desktop/images/21022025/20/04/image_21022025_20_04_45_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/03/image_21022025_20_03_55_10366.jpg
/home/pi/Desktop/images/21022025/20/03/image_21022025_20_04_05_10350.jpg
/home/pi/Desktop/images/21022025/20/04/image_21022025_20_04_34_9367.jpg
/home/pi/Desktop/images/21022025/20/04/image_21022025_20_04_45_10427.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.36135244369506836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:04:42.734856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/03/image_21022025_20_03_55_10366.jpg', '/home/pi/Desktop/images/21022025/20/03/image_21022025_20_04_05_10350.jpg', '/home/pi/Desktop/images/21022025/20/04/image_21022025_20_04_34_9367.jpg', '/home/pi/Desktop/images/21022025/20/04/image_21022025_20_04_45_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/03/image_21022025_20_03_55_10366.jpg
/home/pi/Desktop/images/21022025/20/03/image_21022025_20_04_05_10350.jpg
/home/pi/Desktop/images/21022025/20/04/image_21022025_20_04_34_9367.jpg
/home/pi/Desktop/images/21022025/20/04/image_21022025_20_04_45_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338897316","1338897319","1338897320","1338897317"],"photo_ids_order":["1338897316","1338897317","1338897319","1338897320"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/12dd4078c68c6bd3cf204c907b31df4c.jpg","text":"TemporaryFile(/tmp/multipartBody2166503566742377819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164743181,"filename":"image_21022025_20_03_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f6203a65c786e988c0cfed4acee785f2.jpg","text":"TemporaryFile(/tmp/multipartBody3369568833727957577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164743181,"filename":"image_21022025_20_04_34_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5bed90afacc7adb998c4830a1a6f6fb4.jpg","text":"TemporaryFile(/tmp/multipartBody8818022369418664268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164743181,"filename":"image_21022025_20_04_45_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/442d5e9e4ed609dde34ad202782dfbd1.jpg","text":"TemporaryFile(/tmp/multipartBody3801175502634205196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164743181,"filename":"image_21022025_20_04_05_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338897319","file1":"1338897317","file0":"1338897316","file3":"1338897320"},"map_files_photo_id_array":[{"photo_id":"1338897319","filename":"file2"},{"photo_id":"1338897317","filename":"file1"},{"photo_id":"1338897316","filename":"file0"},{"photo_id":"1338897320","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338897316":["hashtag1","hashtag2"]},{"1338897319":["hashtag1","hashtag2"]},{"1338897320":["hashtag1","hashtag2"]},{"1338897317":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338897316, 1338897319, 1338897320, 1338897317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.152015686035156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:05:32.873252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/04/image_21022025_20_04_55_9923.jpg', '/home/pi/Desktop/images/21022025/20/04/image_21022025_20_05_05_10240.jpg', '/home/pi/Desktop/images/21022025/20/05/image_21022025_20_05_15_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/04/image_21022025_20_04_55_9923.jpg
/home/pi/Desktop/images/21022025/20/04/image_21022025_20_05_05_10240.jpg
/home/pi/Desktop/images/21022025/20/05/image_21022025_20_05_15_10365.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338897334","1338897336","1338897338"],"photo_ids_order":["1338897334","1338897336","1338897338"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/465006c02cd60cfe75dedbff3c213a52.jpg","text":"TemporaryFile(/tmp/multipartBody5941459378785988224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164793312,"filename":"image_21022025_20_04_55_9923.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a42f556d70b675b6ac4ae2b61e4c3f5.jpg","text":"TemporaryFile(/tmp/multipartBody4796987514403300502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164793312,"filename":"image_21022025_20_05_05_10240.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eab5f9cf975d04da5c013650abe12d6f.jpg","text":"TemporaryFile(/tmp/multipartBody1243896420697187373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164793312,"filename":"image_21022025_20_05_15_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338897338","file1":"1338897336","file0":"1338897334"},"map_files_photo_id_array":[{"photo_id":"1338897338","filename":"file2"},{"photo_id":"1338897336","filename":"file1"},{"photo_id":"1338897334","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338897334":["hashtag1","hashtag2"]},{"1338897336":["hashtag1","hashtag2"]},{"1338897338":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338897334, 1338897336, 1338897338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.523296356201172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:05:52.828803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/23/image_20022025_20_23_26_10349.jpg', '/home/pi/Desktop/images/20022025/20/23/image_20022025_20_23_36_9352.jpg', '/home/pi/Desktop/images/20022025/20/23/image_20022025_20_23_46_10341.jpg', '/home/pi/Desktop/images/20022025/20/23/image_20022025_20_24_06_9331.jpg', '/home/pi/Desktop/images/20022025/20/24/image_20022025_20_24_16_10387.jpg', '/home/pi/Desktop/images/20022025/20/24/image_20022025_20_24_26_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/23/image_20022025_20_23_26_10349.jpg
/home/pi/Desktop/images/20022025/20/23/image_20022025_20_23_36_9352.jpg
/home/pi/Desktop/images/20022025/20/23/image_20022025_20_23_46_10341.jpg
/home/pi/Desktop/images/20022025/20/23/image_20022025_20_24_06_9331.jpg
/home/pi/Desktop/images/20022025/20/24/image_20022025_20_24_16_10387.jpg
/home/pi/Desktop/images/20022025/20/24/image_20022025_20_24_26_9433.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338897556","1338897463","1338897550","1338897823","1338897547","1338897552"],"photo_ids_order":["1338897463","1338897547","1338897550","1338897552","1338897556","1338897823"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cde87bdb92a4d2f931130c3ff0dbd91c.jpg","text":"TemporaryFile(/tmp/multipartBody7511058778426448564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164814946,"filename":"image_20022025_20_24_16_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fe2be409fd3236ef21ffa3fcd9e3edda.jpg","text":"TemporaryFile(/tmp/multipartBody4381082132416053885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164814946,"filename":"image_20022025_20_23_26_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c1058ddfbcf0a702dbf80c82d633fbf.jpg","text":"TemporaryFile(/tmp/multipartBody4567169041962208554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164814946,"filename":"image_20022025_20_23_46_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4040c5814bad1e63dc60f72662dd22dc.jpg","text":"TemporaryFile(/tmp/multipartBody8380478004138608121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164814946,"filename":"image_20022025_20_24_26_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/84f9ceca54b43ce17bdf11ceef426ce9.jpg","text":"TemporaryFile(/tmp/multipartBody5808118848206106900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164814946,"filename":"image_20022025_20_23_36_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0ccec14c483bcfe24d82be3bf4640b92.jpg","text":"TemporaryFile(/tmp/multipartBody4259233127219040501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164814946,"filename":"image_20022025_20_24_06_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338897550","file1":"1338897547","file0":"1338897463","file4":"1338897556","file5":"1338897823","file3":"1338897552"},"map_files_photo_id_array":[{"photo_id":"1338897823","filename":"file5"},{"photo_id":"1338897550","filename":"file2"},{"photo_id":"1338897556","filename":"file4"},{"photo_id":"1338897547","filename":"file1"},{"photo_id":"1338897463","filename":"file0"},{"photo_id":"1338897552","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338897556":["hashtag1","hashtag2"]},{"1338897463":["hashtag1","hashtag2"]},{"1338897550":["hashtag1","hashtag2"]},{"1338897823":["hashtag1","hashtag2"]},{"1338897547":["hashtag1","hashtag2"]},{"1338897552":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338897556, 1338897463, 1338897550, 1338897823, 1338897547, 1338897552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29266595840454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:06:33.135833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/05/image_21022025_20_05_25_9366.jpg', '/home/pi/Desktop/images/21022025/20/06/image_21022025_20_06_15_9423.jpg', '/home/pi/Desktop/images/21022025/20/06/image_21022025_20_06_35_10350.jpg', '/home/pi/Desktop/images/21022025/20/06/image_21022025_20_06_45_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/05/image_21022025_20_05_25_9366.jpg
/home/pi/Desktop/images/21022025/20/06/image_21022025_20_06_15_9423.jpg
/home/pi/Desktop/images/21022025/20/06/image_21022025_20_06_35_10350.jpg
/home/pi/Desktop/images/21022025/20/06/image_21022025_20_06_45_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338898408","1338898446","1338898448","1338898415"],"photo_ids_order":["1338898408","1338898415","1338898446","1338898448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32b0ef33f1b8bce2c6cd404e1e3a9e8d.jpg","text":"TemporaryFile(/tmp/multipartBody8670539195339304183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164853593,"filename":"image_21022025_20_05_25_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b6d73d1561a19d73e9ed271451f236a6.jpg","text":"TemporaryFile(/tmp/multipartBody5437197692560382153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164853593,"filename":"image_21022025_20_06_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ebb8debe22138d99aa80df24b0ef6c8.jpg","text":"TemporaryFile(/tmp/multipartBody5657455872048901048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164853593,"filename":"image_21022025_20_06_45_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/771f8364ccaa340f184f5d6b50af7146.jpg","text":"TemporaryFile(/tmp/multipartBody2558003625799738884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164853593,"filename":"image_21022025_20_06_15_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338898446","file1":"1338898415","file0":"1338898408","file3":"1338898448"},"map_files_photo_id_array":[{"photo_id":"1338898446","filename":"file2"},{"photo_id":"1338898415","filename":"file1"},{"photo_id":"1338898408","filename":"file0"},{"photo_id":"1338898448","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338898408":["hashtag1","hashtag2"]},{"1338898446":["hashtag1","hashtag2"]},{"1338898448":["hashtag1","hashtag2"]},{"1338898415":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338898408, 1338898446, 1338898448, 1338898415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.027751207351685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:07:03.826173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/24/image_20022025_20_24_46_10408.jpg', '/home/pi/Desktop/images/20022025/20/24/image_20022025_20_24_56_9397.jpg', '/home/pi/Desktop/images/20022025/20/24/image_20022025_20_25_06_10319.jpg', '/home/pi/Desktop/images/20022025/20/25/image_20022025_20_25_16_10326.jpg', '/home/pi/Desktop/images/20022025/20/25/image_20022025_20_25_26_9340.jpg', '/home/pi/Desktop/images/20022025/20/25/image_20022025_20_25_36_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/24/image_20022025_20_24_46_10408.jpg
/home/pi/Desktop/images/20022025/20/24/image_20022025_20_24_56_9397.jpg
/home/pi/Desktop/images/20022025/20/24/image_20022025_20_25_06_10319.jpg
/home/pi/Desktop/images/20022025/20/25/image_20022025_20_25_16_10326.jpg
/home/pi/Desktop/images/20022025/20/25/image_20022025_20_25_26_9340.jpg
/home/pi/Desktop/images/20022025/20/25/image_20022025_20_25_36_10369.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338898464","1338898467","1338898460","1338898463","1338898457","1338898453"],"photo_ids_order":["1338898453","1338898457","1338898460","1338898463","1338898464","1338898467"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e97e6f028ec6878ab10939cdd2d44195.jpg","text":"TemporaryFile(/tmp/multipartBody3118282878841179422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164885558,"filename":"image_20022025_20_25_26_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c37ef7a32c11ff620b3c40cdfe1fcd00.jpg","text":"TemporaryFile(/tmp/multipartBody8867635080557388913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164885558,"filename":"image_20022025_20_25_36_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/07c9dd8acfefde86b3219213d9d55d2c.jpg","text":"TemporaryFile(/tmp/multipartBody1486335475636060640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164885558,"filename":"image_20022025_20_25_06_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3821be74791d35eb2121f42844a715f5.jpg","text":"TemporaryFile(/tmp/multipartBody2792734633961449321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164885558,"filename":"image_20022025_20_25_16_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/69149817e4f996607e8598a88107f3ee.jpg","text":"TemporaryFile(/tmp/multipartBody6844785905904607281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164885558,"filename":"image_20022025_20_24_56_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cd54b1898cdd43cf77b9f27b7b7a19dd.jpg","text":"TemporaryFile(/tmp/multipartBody1634215313314078781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164885558,"filename":"image_20022025_20_24_46_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338898460","file1":"1338898457","file0":"1338898453","file4":"1338898464","file5":"1338898467","file3":"1338898463"},"map_files_photo_id_array":[{"photo_id":"1338898467","filename":"file5"},{"photo_id":"1338898460","filename":"file2"},{"photo_id":"1338898464","filename":"file4"},{"photo_id":"1338898457","filename":"file1"},{"photo_id":"1338898453","filename":"file0"},{"photo_id":"1338898463","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338898464":["hashtag1","hashtag2"]},{"1338898467":["hashtag1","hashtag2"]},{"1338898460":["hashtag1","hashtag2"]},{"1338898463":["hashtag1","hashtag2"]},{"1338898457":["hashtag1","hashtag2"]},{"1338898453":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338898464, 1338898467, 1338898460, 1338898463, 1338898457, 1338898453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37995100021362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:07:42.308851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/06/image_21022025_20_06_55_10360.jpg', '/home/pi/Desktop/images/21022025/20/06/image_21022025_20_07_04_9360.jpg', '/home/pi/Desktop/images/21022025/20/07/image_21022025_20_07_15_10352.jpg', '/home/pi/Desktop/images/21022025/20/07/image_21022025_20_07_25_10368.jpg', '/home/pi/Desktop/images/21022025/20/07/image_21022025_20_07_35_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/06/image_21022025_20_06_55_10360.jpg
/home/pi/Desktop/images/21022025/20/06/image_21022025_20_07_04_9360.jpg
/home/pi/Desktop/images/21022025/20/07/image_21022025_20_07_15_10352.jpg
/home/pi/Desktop/images/21022025/20/07/image_21022025_20_07_25_10368.jpg
/home/pi/Desktop/images/21022025/20/07/image_21022025_20_07_35_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338898708","1338898710","1338898736","1338898712","1338898762"],"photo_ids_order":["1338898708","1338898710","1338898712","1338898736","1338898762"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1aeb775411824b2f3f747e9d9f0dd623.jpg","text":"TemporaryFile(/tmp/multipartBody1793710222068701872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164922764,"filename":"image_21022025_20_06_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83ad5b0febc13f7c0941ce634aa86080.jpg","text":"TemporaryFile(/tmp/multipartBody6839410499198992817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164922764,"filename":"image_21022025_20_07_04_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6201c57bea17bd2594999d0f73c3910c.jpg","text":"TemporaryFile(/tmp/multipartBody8341236707717883921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164922764,"filename":"image_21022025_20_07_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a376700e8503f2724bd3af1eca6feb58.jpg","text":"TemporaryFile(/tmp/multipartBody3982363315801620597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164922764,"filename":"image_21022025_20_07_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce3d8cc0de38176e0511f95b70951ea6.jpg","text":"TemporaryFile(/tmp/multipartBody203119315303333705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164922764,"filename":"image_21022025_20_07_35_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338898712","file1":"1338898710","file0":"1338898708","file4":"1338898762","file3":"1338898736"},"map_files_photo_id_array":[{"photo_id":"1338898712","filename":"file2"},{"photo_id":"1338898762","filename":"file4"},{"photo_id":"1338898710","filename":"file1"},{"photo_id":"1338898708","filename":"file0"},{"photo_id":"1338898736","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338898708":["hashtag1","hashtag2"]},{"1338898710":["hashtag1","hashtag2"]},{"1338898736":["hashtag1","hashtag2"]},{"1338898712":["hashtag1","hashtag2"]},{"1338898762":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338898708, 1338898710, 1338898736, 1338898712, 1338898762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.58594512939453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:08:32.505552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/07/image_21022025_20_07_55_10356.jpg', '/home/pi/Desktop/images/21022025/20/08/image_21022025_20_08_15_10335.jpg', '/home/pi/Desktop/images/21022025/20/08/image_21022025_20_08_25_10352.jpg', '/home/pi/Desktop/images/21022025/20/08/image_21022025_20_08_45_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/07/image_21022025_20_07_55_10356.jpg
/home/pi/Desktop/images/21022025/20/08/image_21022025_20_08_15_10335.jpg
/home/pi/Desktop/images/21022025/20/08/image_21022025_20_08_25_10352.jpg
/home/pi/Desktop/images/21022025/20/08/image_21022025_20_08_45_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338898807","1338898804","1338898803","1338898805"],"photo_ids_order":["1338898803","1338898804","1338898805","1338898807"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b3ba780b47c6425a82c9ec85b7d4a7cf.jpg","text":"TemporaryFile(/tmp/multipartBody8880950829777840059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164972980,"filename":"image_21022025_20_08_45_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5cecbf480c80c7094c1731de6b88fdb7.jpg","text":"TemporaryFile(/tmp/multipartBody6004422329408524681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164972980,"filename":"image_21022025_20_08_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/39cad9e2d504936b94c1d4803527dd12.jpg","text":"TemporaryFile(/tmp/multipartBody3530029818610479876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164972980,"filename":"image_21022025_20_07_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/64f53cf9115ca6cadf70fb4be1483fd0.jpg","text":"TemporaryFile(/tmp/multipartBody6024340057818206011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740164972980,"filename":"image_21022025_20_08_25_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338898805","file1":"1338898804","file0":"1338898803","file3":"1338898807"},"map_files_photo_id_array":[{"photo_id":"1338898805","filename":"file2"},{"photo_id":"1338898804","filename":"file1"},{"photo_id":"1338898803","filename":"file0"},{"photo_id":"1338898807","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338898807":["hashtag1","hashtag2"]},{"1338898804":["hashtag1","hashtag2"]},{"1338898803":["hashtag1","hashtag2"]},{"1338898805":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338898807, 1338898804, 1338898803, 1338898805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.259986400604248 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:09:04.223134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/26/image_20022025_20_26_36_10335.jpg', '/home/pi/Desktop/images/20022025/20/26/image_20022025_20_26_46_9326.jpg', '/home/pi/Desktop/images/20022025/20/26/image_20022025_20_26_56_10413.jpg', '/home/pi/Desktop/images/20022025/20/26/image_20022025_20_27_06_10354.jpg', '/home/pi/Desktop/images/20022025/20/27/image_20022025_20_27_16_9401.jpg', '/home/pi/Desktop/images/20022025/20/27/image_20022025_20_27_26_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/26/image_20022025_20_26_36_10335.jpg
/home/pi/Desktop/images/20022025/20/26/image_20022025_20_26_46_9326.jpg
/home/pi/Desktop/images/20022025/20/26/image_20022025_20_26_56_10413.jpg
/home/pi/Desktop/images/20022025/20/26/image_20022025_20_27_06_10354.jpg
/home/pi/Desktop/images/20022025/20/27/image_20022025_20_27_16_9401.jpg
/home/pi/Desktop/images/20022025/20/27/image_20022025_20_27_26_10451.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338898881","1338898956","1338898959","1338898952","1338898961","1338898963"],"photo_ids_order":["1338898881","1338898952","1338898956","1338898959","1338898961","1338898963"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc1c05c060928ec103d82cdf084d4b0f.jpg","text":"TemporaryFile(/tmp/multipartBody4915417092048087984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165005830,"filename":"image_20022025_20_26_36_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ebfd2bd254f6f3eb1caaa142d089ba25.jpg","text":"TemporaryFile(/tmp/multipartBody1050317084220258551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165005830,"filename":"image_20022025_20_26_56_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d401d6bd9a4f70914418a80ba180bd94.jpg","text":"TemporaryFile(/tmp/multipartBody3865940790247462186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165005830,"filename":"image_20022025_20_27_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c268c8fae5f462887f1d3190e68e71c.jpg","text":"TemporaryFile(/tmp/multipartBody5230720481374433420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165005830,"filename":"image_20022025_20_26_46_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b99f4c1741a41cf17026d0035340f78f.jpg","text":"TemporaryFile(/tmp/multipartBody6568383254385598004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165005830,"filename":"image_20022025_20_27_16_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae9379c172b6f7e8d2db33d9f9281dca.jpg","text":"TemporaryFile(/tmp/multipartBody2483463311305317873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165005830,"filename":"image_20022025_20_27_26_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338898956","file1":"1338898952","file0":"1338898881","file4":"1338898961","file5":"1338898963","file3":"1338898959"},"map_files_photo_id_array":[{"photo_id":"1338898963","filename":"file5"},{"photo_id":"1338898956","filename":"file2"},{"photo_id":"1338898961","filename":"file4"},{"photo_id":"1338898952","filename":"file1"},{"photo_id":"1338898881","filename":"file0"},{"photo_id":"1338898959","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338898881":["hashtag1","hashtag2"]},{"1338898956":["hashtag1","hashtag2"]},{"1338898959":["hashtag1","hashtag2"]},{"1338898952":["hashtag1","hashtag2"]},{"1338898961":["hashtag1","hashtag2"]},{"1338898963":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338898881, 1338898956, 1338898959, 1338898952, 1338898961, 1338898963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32058572769165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:09:42.719577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/08/image_21022025_20_08_55_9395.jpg', '/home/pi/Desktop/images/21022025/20/08/image_21022025_20_09_05_10380.jpg', '/home/pi/Desktop/images/21022025/20/09/image_21022025_20_09_25_9393.jpg', '/home/pi/Desktop/images/21022025/20/09/image_21022025_20_09_35_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/08/image_21022025_20_08_55_9395.jpg
/home/pi/Desktop/images/21022025/20/08/image_21022025_20_09_05_10380.jpg
/home/pi/Desktop/images/21022025/20/09/image_21022025_20_09_25_9393.jpg
/home/pi/Desktop/images/21022025/20/09/image_21022025_20_09_35_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338898974","1338898979","1338898967","1338898969"],"photo_ids_order":["1338898967","1338898969","1338898974","1338898979"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b9c17f1a084c8b3deb7833da10457551.jpg","text":"TemporaryFile(/tmp/multipartBody5317286152244904040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165043172,"filename":"image_21022025_20_09_25_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/962a09a92e29740b33d442a29d0db271.jpg","text":"TemporaryFile(/tmp/multipartBody5748434866210904552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165043172,"filename":"image_21022025_20_09_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8eed073e2879c495de2791fed191d571.jpg","text":"TemporaryFile(/tmp/multipartBody2575516947139435172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165043172,"filename":"image_21022025_20_08_55_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b7b2f58eecb0719449704a1cc93d364.jpg","text":"TemporaryFile(/tmp/multipartBody6487597580347000151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165043172,"filename":"image_21022025_20_09_05_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338898974","file1":"1338898969","file0":"1338898967","file3":"1338898979"},"map_files_photo_id_array":[{"photo_id":"1338898974","filename":"file2"},{"photo_id":"1338898969","filename":"file1"},{"photo_id":"1338898967","filename":"file0"},{"photo_id":"1338898979","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338898974":["hashtag1","hashtag2"]},{"1338898979":["hashtag1","hashtag2"]},{"1338898967":["hashtag1","hashtag2"]},{"1338898969":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338898974, 1338898979, 1338898967, 1338898969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.59229350090027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:10:32.990234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/09/image_21022025_20_09_55_10364.jpg', '/home/pi/Desktop/images/21022025/20/10/image_21022025_20_10_15_9341.jpg', '/home/pi/Desktop/images/21022025/20/10/image_21022025_20_10_25_10471.jpg', '/home/pi/Desktop/images/21022025/20/10/image_21022025_20_10_45_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/09/image_21022025_20_09_55_10364.jpg
/home/pi/Desktop/images/21022025/20/10/image_21022025_20_10_15_9341.jpg
/home/pi/Desktop/images/21022025/20/10/image_21022025_20_10_25_10471.jpg
/home/pi/Desktop/images/21022025/20/10/image_21022025_20_10_45_9401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338899012","1338899009","1338899011","1338899008"],"photo_ids_order":["1338899008","1338899009","1338899011","1338899012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/41809163ff55c693aeae54f5f637fd95.jpg","text":"TemporaryFile(/tmp/multipartBody1692766307996794951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165093441,"filename":"image_21022025_20_10_45_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e21a5e725361adaa8816327e5bc87a00.jpg","text":"TemporaryFile(/tmp/multipartBody1465337212324707762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165093441,"filename":"image_21022025_20_10_15_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8bbb53c79655bdd1ad4644857baad2f5.jpg","text":"TemporaryFile(/tmp/multipartBody3947959939504810780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165093441,"filename":"image_21022025_20_10_25_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5e820d61deaaf876e42fe769662dcb8c.jpg","text":"TemporaryFile(/tmp/multipartBody5192763473953639775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165093441,"filename":"image_21022025_20_09_55_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338899011","file1":"1338899009","file0":"1338899008","file3":"1338899012"},"map_files_photo_id_array":[{"photo_id":"1338899011","filename":"file2"},{"photo_id":"1338899009","filename":"file1"},{"photo_id":"1338899008","filename":"file0"},{"photo_id":"1338899012","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338899012":["hashtag1","hashtag2"]},{"1338899009":["hashtag1","hashtag2"]},{"1338899011":["hashtag1","hashtag2"]},{"1338899008":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338899012, 1338899009, 1338899011, 1338899008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.97857117652893 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:11:03.883584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/27/image_20022025_20_27_36_9358.jpg', '/home/pi/Desktop/images/20022025/20/27/image_20022025_20_27_46_10323.jpg', '/home/pi/Desktop/images/20022025/20/27/image_20022025_20_27_56_10388.jpg', '/home/pi/Desktop/images/20022025/20/27/image_20022025_20_28_06_9336.jpg', '/home/pi/Desktop/images/20022025/20/28/image_20022025_20_28_16_10357.jpg', '/home/pi/Desktop/images/20022025/20/28/image_20022025_20_28_26_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/27/image_20022025_20_27_36_9358.jpg
/home/pi/Desktop/images/20022025/20/27/image_20022025_20_27_46_10323.jpg
/home/pi/Desktop/images/20022025/20/27/image_20022025_20_27_56_10388.jpg
/home/pi/Desktop/images/20022025/20/27/image_20022025_20_28_06_9336.jpg
/home/pi/Desktop/images/20022025/20/28/image_20022025_20_28_16_10357.jpg
/home/pi/Desktop/images/20022025/20/28/image_20022025_20_28_26_10352.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338899022","1338899019","1338899024","1338899032","1338899026","1338899029"],"photo_ids_order":["1338899019","1338899022","1338899024","1338899026","1338899029","1338899032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/608fc3cccfcde80d8e6bd95964b15b3a.jpg","text":"TemporaryFile(/tmp/multipartBody6650918924354541187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165125507,"filename":"image_20022025_20_27_46_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6aab56d128fdc63207ff96c2f1882785.jpg","text":"TemporaryFile(/tmp/multipartBody3972441652565349980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165125507,"filename":"image_20022025_20_27_36_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d44817b9f7d5bb84914d015c4b0b16b7.jpg","text":"TemporaryFile(/tmp/multipartBody7238809100897992493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165125507,"filename":"image_20022025_20_27_56_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e410103c4f29d6bd15ab57d478c9a79c.jpg","text":"TemporaryFile(/tmp/multipartBody8042547481001759775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165125507,"filename":"image_20022025_20_28_26_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d5adf4652695eb41213ca21792a636c5.jpg","text":"TemporaryFile(/tmp/multipartBody8446043075702314988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165125507,"filename":"image_20022025_20_28_06_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/31e63e2a9473958913ea4126ab9596ca.jpg","text":"TemporaryFile(/tmp/multipartBody2496992046664329434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165125507,"filename":"image_20022025_20_28_16_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338899024","file1":"1338899022","file0":"1338899019","file4":"1338899029","file5":"1338899032","file3":"1338899026"},"map_files_photo_id_array":[{"photo_id":"1338899032","filename":"file5"},{"photo_id":"1338899024","filename":"file2"},{"photo_id":"1338899029","filename":"file4"},{"photo_id":"1338899022","filename":"file1"},{"photo_id":"1338899019","filename":"file0"},{"photo_id":"1338899026","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338899022":["hashtag1","hashtag2"]},{"1338899019":["hashtag1","hashtag2"]},{"1338899024":["hashtag1","hashtag2"]},{"1338899032":["hashtag1","hashtag2"]},{"1338899026":["hashtag1","hashtag2"]},{"1338899029":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338899022, 1338899019, 1338899024, 1338899032, 1338899026, 1338899029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.664438247680664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:11:42.366629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/10/image_21022025_20_10_55_10354.jpg', '/home/pi/Desktop/images/21022025/20/10/image_21022025_20_11_04_9359.jpg', '/home/pi/Desktop/images/21022025/20/11/image_21022025_20_11_25_10352.jpg', '/home/pi/Desktop/images/21022025/20/11/image_21022025_20_11_45_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/10/image_21022025_20_10_55_10354.jpg
/home/pi/Desktop/images/21022025/20/10/image_21022025_20_11_04_9359.jpg
/home/pi/Desktop/images/21022025/20/11/image_21022025_20_11_25_10352.jpg
/home/pi/Desktop/images/21022025/20/11/image_21022025_20_11_45_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338899040","1338899043","1338899036","1338899038"],"photo_ids_order":["1338899036","1338899038","1338899040","1338899043"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/016bd5ad981de57aaf29a1a425a665aa.jpg","text":"TemporaryFile(/tmp/multipartBody1950920650497052669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165162814,"filename":"image_21022025_20_11_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/909fe9252647da7391c210ea75f47f4c.jpg","text":"TemporaryFile(/tmp/multipartBody774339036371924212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165162814,"filename":"image_21022025_20_11_45_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bfe35fb180afc6aa2cfde11a827c7525.jpg","text":"TemporaryFile(/tmp/multipartBody4492954166825283460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165162814,"filename":"image_21022025_20_10_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c9394a60c2d1ad833b29392c2a42264c.jpg","text":"TemporaryFile(/tmp/multipartBody2178837613485366925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165162814,"filename":"image_21022025_20_11_04_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338899040","file1":"1338899038","file0":"1338899036","file3":"1338899043"},"map_files_photo_id_array":[{"photo_id":"1338899040","filename":"file2"},{"photo_id":"1338899038","filename":"file1"},{"photo_id":"1338899036","filename":"file0"},{"photo_id":"1338899043","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338899040":["hashtag1","hashtag2"]},{"1338899043":["hashtag1","hashtag2"]},{"1338899036":["hashtag1","hashtag2"]},{"1338899038":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338899040, 1338899043, 1338899036, 1338899038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.589585542678833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:12:32.621720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/11/image_21022025_20_11_54_9359.jpg', '/home/pi/Desktop/images/21022025/20/12/image_21022025_20_12_14_9437.jpg', '/home/pi/Desktop/images/21022025/20/12/image_21022025_20_12_25_10434.jpg', '/home/pi/Desktop/images/21022025/20/12/image_21022025_20_12_45_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/11/image_21022025_20_11_54_9359.jpg
/home/pi/Desktop/images/21022025/20/12/image_21022025_20_12_14_9437.jpg
/home/pi/Desktop/images/21022025/20/12/image_21022025_20_12_25_10434.jpg
/home/pi/Desktop/images/21022025/20/12/image_21022025_20_12_45_9369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338899237","1338899318","1338899405","1338899449"],"photo_ids_order":["1338899237","1338899318","1338899405","1338899449"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fe7079584b6094db681df0c80d6b98f2.jpg","text":"TemporaryFile(/tmp/multipartBody62656763540385537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165213103,"filename":"image_21022025_20_11_54_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/838ff99bdfd478bc9375478b7a2fce9a.jpg","text":"TemporaryFile(/tmp/multipartBody6779351002773206626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165213103,"filename":"image_21022025_20_12_14_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f0589b492756df2ccc97bbb253fe0023.jpg","text":"TemporaryFile(/tmp/multipartBody2358054340639600388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165213103,"filename":"image_21022025_20_12_25_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/374df1b03644c1c48f97d3d21ff11d67.jpg","text":"TemporaryFile(/tmp/multipartBody5183166642496168751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165213103,"filename":"image_21022025_20_12_45_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338899405","file1":"1338899318","file0":"1338899237","file3":"1338899449"},"map_files_photo_id_array":[{"photo_id":"1338899405","filename":"file2"},{"photo_id":"1338899318","filename":"file1"},{"photo_id":"1338899237","filename":"file0"},{"photo_id":"1338899449","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338899237":["hashtag1","hashtag2"]},{"1338899318":["hashtag1","hashtag2"]},{"1338899405":["hashtag1","hashtag2"]},{"1338899449":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338899237, 1338899318, 1338899405, 1338899449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.561375617980957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:13:04.387094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/28/image_20022025_20_28_36_9401.jpg', '/home/pi/Desktop/images/20022025/20/28/image_20022025_20_29_06_10399.jpg', '/home/pi/Desktop/images/20022025/20/29/image_20022025_20_29_16_10350.jpg', '/home/pi/Desktop/images/20022025/20/29/image_20022025_20_29_36_10343.jpg', '/home/pi/Desktop/images/20022025/20/29/image_20022025_20_29_46_10466.jpg', '/home/pi/Desktop/images/20022025/20/29/image_20022025_20_29_56_9395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/28/image_20022025_20_28_36_9401.jpg
/home/pi/Desktop/images/20022025/20/28/image_20022025_20_29_06_10399.jpg
/home/pi/Desktop/images/20022025/20/29/image_20022025_20_29_16_10350.jpg
/home/pi/Desktop/images/20022025/20/29/image_20022025_20_29_36_10343.jpg
/home/pi/Desktop/images/20022025/20/29/image_20022025_20_29_46_10466.jpg
/home/pi/Desktop/images/20022025/20/29/image_20022025_20_29_56_9395.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338899556","1338899529","1338899534","1338899531","1338899525","1338899641"],"photo_ids_order":["1338899525","1338899529","1338899531","1338899534","1338899556","1338899641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/315ffdf99254ac068fb45eb330b5ad01.jpg","text":"TemporaryFile(/tmp/multipartBody7796357009511910374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165246149,"filename":"image_20022025_20_29_46_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ba4842b67bd324ad4d6198f49ae719ff.jpg","text":"TemporaryFile(/tmp/multipartBody455015399027115675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165246149,"filename":"image_20022025_20_29_06_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a5c77bf04875ff06f2177de98304ac08.jpg","text":"TemporaryFile(/tmp/multipartBody4759652740209041632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165246149,"filename":"image_20022025_20_29_36_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/254b75804e13bf6a43679d246941eca3.jpg","text":"TemporaryFile(/tmp/multipartBody4891916388000612386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165246149,"filename":"image_20022025_20_29_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aabec9a93fb5d516ca288bc9e506c8a2.jpg","text":"TemporaryFile(/tmp/multipartBody2063780116911839528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165246149,"filename":"image_20022025_20_28_36_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d023aff78dcf8e3fea1375c3b988577d.jpg","text":"TemporaryFile(/tmp/multipartBody9039034913787058183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165246149,"filename":"image_20022025_20_29_56_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338899531","file1":"1338899529","file0":"1338899525","file4":"1338899556","file5":"1338899641","file3":"1338899534"},"map_files_photo_id_array":[{"photo_id":"1338899641","filename":"file5"},{"photo_id":"1338899531","filename":"file2"},{"photo_id":"1338899556","filename":"file4"},{"photo_id":"1338899529","filename":"file1"},{"photo_id":"1338899525","filename":"file0"},{"photo_id":"1338899534","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338899556":["hashtag1","hashtag2"]},{"1338899529":["hashtag1","hashtag2"]},{"1338899534":["hashtag1","hashtag2"]},{"1338899531":["hashtag1","hashtag2"]},{"1338899525":["hashtag1","hashtag2"]},{"1338899641":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338899556, 1338899529, 1338899534, 1338899531, 1338899525, 1338899641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7877151966095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:13:42.932760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/12/image_21022025_20_12_55_10448.jpg', '/home/pi/Desktop/images/21022025/20/12/image_21022025_20_13_05_10337.jpg', '/home/pi/Desktop/images/21022025/20/13/image_21022025_20_13_25_10350.jpg', '/home/pi/Desktop/images/21022025/20/13/image_21022025_20_13_34_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/12/image_21022025_20_12_55_10448.jpg
/home/pi/Desktop/images/21022025/20/12/image_21022025_20_13_05_10337.jpg
/home/pi/Desktop/images/21022025/20/13/image_21022025_20_13_25_10350.jpg
/home/pi/Desktop/images/21022025/20/13/image_21022025_20_13_34_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338899730","1338899727","1338899732","1338899725"],"photo_ids_order":["1338899725","1338899727","1338899730","1338899732"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/193b1ffd207d8bbea3f50249bffa287a.jpg","text":"TemporaryFile(/tmp/multipartBody3423308357470979717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165283383,"filename":"image_21022025_20_13_25_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59226731677f39c03c48fc0477554dc5.jpg","text":"TemporaryFile(/tmp/multipartBody4074081117660095954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165283383,"filename":"image_21022025_20_13_05_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/12ddad02578fb8662456182b3bfaf965.jpg","text":"TemporaryFile(/tmp/multipartBody6539205681918401701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165283383,"filename":"image_21022025_20_13_34_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d3a41423ed818bb35a16c67c62dc1cb1.jpg","text":"TemporaryFile(/tmp/multipartBody6716666862179728701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165283383,"filename":"image_21022025_20_12_55_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338899730","file1":"1338899727","file0":"1338899725","file3":"1338899732"},"map_files_photo_id_array":[{"photo_id":"1338899730","filename":"file2"},{"photo_id":"1338899727","filename":"file1"},{"photo_id":"1338899725","filename":"file0"},{"photo_id":"1338899732","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338899730":["hashtag1","hashtag2"]},{"1338899727":["hashtag1","hashtag2"]},{"1338899732":["hashtag1","hashtag2"]},{"1338899725":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338899730, 1338899727, 1338899732, 1338899725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.22100305557251 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:14:33.107569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/13/image_21022025_20_13_45_10355.jpg', '/home/pi/Desktop/images/21022025/20/13/image_21022025_20_14_05_9497.jpg', '/home/pi/Desktop/images/21022025/20/14/image_21022025_20_14_24_9370.jpg', '/home/pi/Desktop/images/21022025/20/14/image_21022025_20_14_35_10423.jpg', '/home/pi/Desktop/images/21022025/20/14/image_21022025_20_14_45_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/13/image_21022025_20_13_45_10355.jpg
/home/pi/Desktop/images/21022025/20/13/image_21022025_20_14_05_9497.jpg
/home/pi/Desktop/images/21022025/20/14/image_21022025_20_14_24_9370.jpg
/home/pi/Desktop/images/21022025/20/14/image_21022025_20_14_35_10423.jpg
/home/pi/Desktop/images/21022025/20/14/image_21022025_20_14_45_10371.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3682684898376465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:14:43.112725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/13/image_21022025_20_13_45_10355.jpg', '/home/pi/Desktop/images/21022025/20/13/image_21022025_20_14_05_9497.jpg', '/home/pi/Desktop/images/21022025/20/14/image_21022025_20_14_24_9370.jpg', '/home/pi/Desktop/images/21022025/20/14/image_21022025_20_14_35_10423.jpg', '/home/pi/Desktop/images/21022025/20/14/image_21022025_20_14_45_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/13/image_21022025_20_13_45_10355.jpg
/home/pi/Desktop/images/21022025/20/13/image_21022025_20_14_05_9497.jpg
/home/pi/Desktop/images/21022025/20/14/image_21022025_20_14_24_9370.jpg
/home/pi/Desktop/images/21022025/20/14/image_21022025_20_14_35_10423.jpg
/home/pi/Desktop/images/21022025/20/14/image_21022025_20_14_45_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338899991","1338899985","1338899996","1338899983","1338899988"],"photo_ids_order":["1338899983","1338899985","1338899988","1338899991","1338899996"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/caccb6d7e39b622caa5619b72c1c0de2.jpg","text":"TemporaryFile(/tmp/multipartBody6943387924114885165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165343569,"filename":"image_21022025_20_14_35_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/22ad7e32ed66e6cdd6439b963b3bc1fa.jpg","text":"TemporaryFile(/tmp/multipartBody4414223300083245532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165343569,"filename":"image_21022025_20_14_05_9497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cea00de4a2a71f4e4b0b251a9cc1e24f.jpg","text":"TemporaryFile(/tmp/multipartBody4073521749863452499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165343569,"filename":"image_21022025_20_14_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa2a7ae6e42cdc1c53a800f86e5a2a5a.jpg","text":"TemporaryFile(/tmp/multipartBody7486015829609345838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165343569,"filename":"image_21022025_20_13_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1ee9b8d560f6767b99dfe892166c613.jpg","text":"TemporaryFile(/tmp/multipartBody957118691224705109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165343569,"filename":"image_21022025_20_14_24_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338899988","file1":"1338899985","file0":"1338899983","file4":"1338899996","file3":"1338899991"},"map_files_photo_id_array":[{"photo_id":"1338899988","filename":"file2"},{"photo_id":"1338899996","filename":"file4"},{"photo_id":"1338899985","filename":"file1"},{"photo_id":"1338899983","filename":"file0"},{"photo_id":"1338899991","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338899991":["hashtag1","hashtag2"]},{"1338899985":["hashtag1","hashtag2"]},{"1338899996":["hashtag1","hashtag2"]},{"1338899983":["hashtag1","hashtag2"]},{"1338899988":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338899991, 1338899985, 1338899996, 1338899983, 1338899988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.823853969573975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:15:32.286472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/14/image_21022025_20_14_55_9426.jpg', '/home/pi/Desktop/images/21022025/20/15/image_21022025_20_15_14_9397.jpg', '/home/pi/Desktop/images/21022025/20/15/image_21022025_20_15_25_10425.jpg', '/home/pi/Desktop/images/21022025/20/15/image_21022025_20_15_35_10371.jpg', '/home/pi/Desktop/images/21022025/20/15/image_21022025_20_15_45_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/14/image_21022025_20_14_55_9426.jpg
/home/pi/Desktop/images/21022025/20/15/image_21022025_20_15_14_9397.jpg
/home/pi/Desktop/images/21022025/20/15/image_21022025_20_15_25_10425.jpg
/home/pi/Desktop/images/21022025/20/15/image_21022025_20_15_35_10371.jpg
/home/pi/Desktop/images/21022025/20/15/image_21022025_20_15_45_9464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338900038","1338900032","1338900034","1338900036","1338900030"],"photo_ids_order":["1338900030","1338900032","1338900034","1338900036","1338900038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc832a2e88772aff243c52941e3f3b82.jpg","text":"TemporaryFile(/tmp/multipartBody4373159495916248496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165392744,"filename":"image_21022025_20_15_45_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e741bbc87ce975aa4ca551674e730f0d.jpg","text":"TemporaryFile(/tmp/multipartBody4485274073349219995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165392744,"filename":"image_21022025_20_15_14_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b517056a3b797becc880a5da9aa239cf.jpg","text":"TemporaryFile(/tmp/multipartBody5410642652918125362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165392744,"filename":"image_21022025_20_15_25_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7b24531e7c4e0bb6577839592106245d.jpg","text":"TemporaryFile(/tmp/multipartBody1490707248001889934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165392744,"filename":"image_21022025_20_15_35_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6735a6ebfa01423d0eb50db692ed8598.jpg","text":"TemporaryFile(/tmp/multipartBody1352150744545352689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165392744,"filename":"image_21022025_20_14_55_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338900034","file1":"1338900032","file0":"1338900030","file4":"1338900038","file3":"1338900036"},"map_files_photo_id_array":[{"photo_id":"1338900034","filename":"file2"},{"photo_id":"1338900038","filename":"file4"},{"photo_id":"1338900032","filename":"file1"},{"photo_id":"1338900030","filename":"file0"},{"photo_id":"1338900036","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338900038":["hashtag1","hashtag2"]},{"1338900032":["hashtag1","hashtag2"]},{"1338900034":["hashtag1","hashtag2"]},{"1338900036":["hashtag1","hashtag2"]},{"1338900030":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338900038, 1338900032, 1338900034, 1338900036, 1338900030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.572283506393433 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:16:32.642780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/15/image_21022025_20_15_55_10363.jpg', '/home/pi/Desktop/images/21022025/20/16/image_21022025_20_16_15_10324.jpg', '/home/pi/Desktop/images/21022025/20/16/image_21022025_20_16_25_10371.jpg', '/home/pi/Desktop/images/21022025/20/16/image_21022025_20_16_35_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/15/image_21022025_20_15_55_10363.jpg
/home/pi/Desktop/images/21022025/20/16/image_21022025_20_16_15_10324.jpg
/home/pi/Desktop/images/21022025/20/16/image_21022025_20_16_25_10371.jpg
/home/pi/Desktop/images/21022025/20/16/image_21022025_20_16_35_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338900077","1338900090","1338900141","1338900084"],"photo_ids_order":["1338900077","1338900084","1338900090","1338900141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/464a3563f86b2771b155e9c5b79edbd7.jpg","text":"TemporaryFile(/tmp/multipartBody5269351959846622052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165453087,"filename":"image_21022025_20_15_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/45043b533574dfcbe45496809cb771a8.jpg","text":"TemporaryFile(/tmp/multipartBody2683673086191450784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165453087,"filename":"image_21022025_20_16_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/84b7ff31aa29f67a787e37385b64b61e.jpg","text":"TemporaryFile(/tmp/multipartBody4039562429277314206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165453087,"filename":"image_21022025_20_16_35_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/99a10ebf7d73ea230dedc32d4f2900fd.jpg","text":"TemporaryFile(/tmp/multipartBody4023165625641268618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165453087,"filename":"image_21022025_20_16_15_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338900090","file1":"1338900084","file0":"1338900077","file3":"1338900141"},"map_files_photo_id_array":[{"photo_id":"1338900090","filename":"file2"},{"photo_id":"1338900084","filename":"file1"},{"photo_id":"1338900077","filename":"file0"},{"photo_id":"1338900141","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338900077":["hashtag1","hashtag2"]},{"1338900090":["hashtag1","hashtag2"]},{"1338900141":["hashtag1","hashtag2"]},{"1338900084":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338900077, 1338900090, 1338900141, 1338900084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.143621683120728 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:17:04.338061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/29/image_20022025_20_30_06_10335.jpg', '/home/pi/Desktop/images/20022025/20/30/image_20022025_20_30_16_9346.jpg', '/home/pi/Desktop/images/20022025/20/30/image_20022025_20_30_26_10339.jpg', '/home/pi/Desktop/images/20022025/20/31/image_20022025_20_31_26_10337.jpg', '/home/pi/Desktop/images/20022025/20/31/image_20022025_20_31_36_10394.jpg', '/home/pi/Desktop/images/20022025/20/32/image_20022025_20_32_36_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/29/image_20022025_20_30_06_10335.jpg
/home/pi/Desktop/images/20022025/20/30/image_20022025_20_30_16_9346.jpg
/home/pi/Desktop/images/20022025/20/30/image_20022025_20_30_26_10339.jpg
/home/pi/Desktop/images/20022025/20/31/image_20022025_20_31_26_10337.jpg
/home/pi/Desktop/images/20022025/20/31/image_20022025_20_31_36_10394.jpg
/home/pi/Desktop/images/20022025/20/32/image_20022025_20_32_36_9336.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338900497","1338900530","1338900520","1338900508","1338900399","1338900528"],"photo_ids_order":["1338900399","1338900497","1338900508","1338900520","1338900528","1338900530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef9c06ba794929d9f7fb5fa407cf66f7.jpg","text":"TemporaryFile(/tmp/multipartBody5086181633704209981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165486164,"filename":"image_20022025_20_30_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1077231ebf058f1638e3d2b39eb64e08.jpg","text":"TemporaryFile(/tmp/multipartBody6512148554240592572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165486164,"filename":"image_20022025_20_32_36_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/529a7bc78ae2979db62b0cab255c946d.jpg","text":"TemporaryFile(/tmp/multipartBody174361428525863296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165486164,"filename":"image_20022025_20_31_26_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/819c879796a7c21d7db3af3a9e7516d0.jpg","text":"TemporaryFile(/tmp/multipartBody5088250962036252329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165486164,"filename":"image_20022025_20_30_26_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e78f77d6d49b2bcfa3c6fb9a007d2665.jpg","text":"TemporaryFile(/tmp/multipartBody7726244473164179241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165486164,"filename":"image_20022025_20_30_06_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5be27b5c0f830eb0ab0e0d39a4f970ae.jpg","text":"TemporaryFile(/tmp/multipartBody2834043856597310260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165486164,"filename":"image_20022025_20_31_36_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338900508","file1":"1338900497","file0":"1338900399","file4":"1338900528","file5":"1338900530","file3":"1338900520"},"map_files_photo_id_array":[{"photo_id":"1338900530","filename":"file5"},{"photo_id":"1338900508","filename":"file2"},{"photo_id":"1338900528","filename":"file4"},{"photo_id":"1338900497","filename":"file1"},{"photo_id":"1338900399","filename":"file0"},{"photo_id":"1338900520","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338900497":["hashtag1","hashtag2"]},{"1338900530":["hashtag1","hashtag2"]},{"1338900520":["hashtag1","hashtag2"]},{"1338900508":["hashtag1","hashtag2"]},{"1338900399":["hashtag1","hashtag2"]},{"1338900528":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338900497, 1338900530, 1338900520, 1338900508, 1338900399, 1338900528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.58908271789551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:17:42.846329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/16/image_21022025_20_16_45_10349.jpg', '/home/pi/Desktop/images/21022025/20/16/image_21022025_20_17_05_9456.jpg', '/home/pi/Desktop/images/21022025/20/17/image_21022025_20_17_24_9353.jpg', '/home/pi/Desktop/images/21022025/20/17/image_21022025_20_17_35_10428.jpg', '/home/pi/Desktop/images/21022025/20/17/image_21022025_20_17_45_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/16/image_21022025_20_16_45_10349.jpg
/home/pi/Desktop/images/21022025/20/16/image_21022025_20_17_05_9456.jpg
/home/pi/Desktop/images/21022025/20/17/image_21022025_20_17_24_9353.jpg
/home/pi/Desktop/images/21022025/20/17/image_21022025_20_17_35_10428.jpg
/home/pi/Desktop/images/21022025/20/17/image_21022025_20_17_45_10396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338900587","1338900594","1338900597","1338900591","1338900599"],"photo_ids_order":["1338900587","1338900591","1338900594","1338900597","1338900599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b791779490c2325c64e73f0d4f65f8ff.jpg","text":"TemporaryFile(/tmp/multipartBody2057653819158564946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165523315,"filename":"image_21022025_20_16_45_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/35affa234501ac7c638843f966104653.jpg","text":"TemporaryFile(/tmp/multipartBody1841928211485858110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165523315,"filename":"image_21022025_20_17_24_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b289b2fe206b75ce4ee324b32a212942.jpg","text":"TemporaryFile(/tmp/multipartBody7797636461166600836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165523315,"filename":"image_21022025_20_17_35_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/33616b3ecc37a21f8a79f4e5c156c319.jpg","text":"TemporaryFile(/tmp/multipartBody3743048689378442397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165523315,"filename":"image_21022025_20_17_05_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a3e85a6b4321ac946d4b2ef96d66683e.jpg","text":"TemporaryFile(/tmp/multipartBody4001414720699954921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165523315,"filename":"image_21022025_20_17_45_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338900594","file1":"1338900591","file0":"1338900587","file4":"1338900599","file3":"1338900597"},"map_files_photo_id_array":[{"photo_id":"1338900594","filename":"file2"},{"photo_id":"1338900599","filename":"file4"},{"photo_id":"1338900591","filename":"file1"},{"photo_id":"1338900587","filename":"file0"},{"photo_id":"1338900597","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338900587":["hashtag1","hashtag2"]},{"1338900594":["hashtag1","hashtag2"]},{"1338900597":["hashtag1","hashtag2"]},{"1338900591":["hashtag1","hashtag2"]},{"1338900599":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338900587, 1338900594, 1338900597, 1338900591, 1338900599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.454737901687622 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:18:32.257815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/17/image_21022025_20_17_55_9405.jpg', '/home/pi/Desktop/images/21022025/20/17/image_21022025_20_18_05_10353.jpg', '/home/pi/Desktop/images/21022025/20/18/image_21022025_20_18_14_9343.jpg', '/home/pi/Desktop/images/21022025/20/18/image_21022025_20_18_25_10372.jpg', '/home/pi/Desktop/images/21022025/20/18/image_21022025_20_18_35_10356.jpg', '/home/pi/Desktop/images/21022025/20/18/image_21022025_20_18_45_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/17/image_21022025_20_17_55_9405.jpg
/home/pi/Desktop/images/21022025/20/17/image_21022025_20_18_05_10353.jpg
/home/pi/Desktop/images/21022025/20/18/image_21022025_20_18_14_9343.jpg
/home/pi/Desktop/images/21022025/20/18/image_21022025_20_18_25_10372.jpg
/home/pi/Desktop/images/21022025/20/18/image_21022025_20_18_35_10356.jpg
/home/pi/Desktop/images/21022025/20/18/image_21022025_20_18_45_9420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338900665","1338900660","1338900663","1338900657","1338900651","1338900654"],"photo_ids_order":["1338900651","1338900654","1338900657","1338900660","1338900663","1338900665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/27ca2897272e41ed392ff06de4e17da2.jpg","text":"TemporaryFile(/tmp/multipartBody5093345288367754176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165572735,"filename":"image_21022025_20_18_45_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a862b078fda91ac734b248432c85c708.jpg","text":"TemporaryFile(/tmp/multipartBody6613513382519042841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165572735,"filename":"image_21022025_20_18_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/17aac73770e9e693eeee1756ad65454f.jpg","text":"TemporaryFile(/tmp/multipartBody2329988747899085153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165572735,"filename":"image_21022025_20_18_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8ff134c7e5fdef3dac3274b1fb1476da.jpg","text":"TemporaryFile(/tmp/multipartBody2339985811887447768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165572735,"filename":"image_21022025_20_18_14_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f395e95af30e40ae10f56a114b856c32.jpg","text":"TemporaryFile(/tmp/multipartBody1362547822594433588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165572735,"filename":"image_21022025_20_17_55_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f0ccae67f95b585b4581dd38dc2bd51.jpg","text":"TemporaryFile(/tmp/multipartBody5517890856279028013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165572735,"filename":"image_21022025_20_18_05_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338900657","file1":"1338900654","file0":"1338900651","file4":"1338900663","file5":"1338900665","file3":"1338900660"},"map_files_photo_id_array":[{"photo_id":"1338900665","filename":"file5"},{"photo_id":"1338900657","filename":"file2"},{"photo_id":"1338900663","filename":"file4"},{"photo_id":"1338900654","filename":"file1"},{"photo_id":"1338900651","filename":"file0"},{"photo_id":"1338900660","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338900665":["hashtag1","hashtag2"]},{"1338900660":["hashtag1","hashtag2"]},{"1338900663":["hashtag1","hashtag2"]},{"1338900657":["hashtag1","hashtag2"]},{"1338900651":["hashtag1","hashtag2"]},{"1338900654":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338900665, 1338900660, 1338900663, 1338900657, 1338900651, 1338900654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.608383655548096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:19:32.388223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/18/image_21022025_20_18_55_10406.jpg', '/home/pi/Desktop/images/21022025/20/18/image_21022025_20_19_05_10340.jpg', '/home/pi/Desktop/images/21022025/20/19/image_21022025_20_19_15_9432.jpg', '/home/pi/Desktop/images/21022025/20/19/image_21022025_20_19_25_10348.jpg', '/home/pi/Desktop/images/21022025/20/19/image_21022025_20_19_34_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/18/image_21022025_20_18_55_10406.jpg
/home/pi/Desktop/images/21022025/20/18/image_21022025_20_19_05_10340.jpg
/home/pi/Desktop/images/21022025/20/19/image_21022025_20_19_15_9432.jpg
/home/pi/Desktop/images/21022025/20/19/image_21022025_20_19_25_10348.jpg
/home/pi/Desktop/images/21022025/20/19/image_21022025_20_19_34_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338900716","1338900710","1338900713","1338900707","1338900708"],"photo_ids_order":["1338900707","1338900708","1338900710","1338900713","1338900716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e5466adeb0ff3bcf7c1a39f90c61329b.jpg","text":"TemporaryFile(/tmp/multipartBody8007805272842563575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165632847,"filename":"image_21022025_20_19_34_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/49f25ce3bd9eb538bced746380a41678.jpg","text":"TemporaryFile(/tmp/multipartBody2292236440920256834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165632847,"filename":"image_21022025_20_19_15_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a70c4cb1ac8815c6aab645e9e7f8e574.jpg","text":"TemporaryFile(/tmp/multipartBody5257417233752800468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165632847,"filename":"image_21022025_20_19_25_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a022b5e30165cdebd5606ff27588af6.jpg","text":"TemporaryFile(/tmp/multipartBody1232391613893360915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165632847,"filename":"image_21022025_20_18_55_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4e6b433a8895807f8e1a3e51926afff0.jpg","text":"TemporaryFile(/tmp/multipartBody1402378485556828171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165632847,"filename":"image_21022025_20_19_05_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338900710","file1":"1338900708","file0":"1338900707","file4":"1338900716","file3":"1338900713"},"map_files_photo_id_array":[{"photo_id":"1338900710","filename":"file2"},{"photo_id":"1338900716","filename":"file4"},{"photo_id":"1338900708","filename":"file1"},{"photo_id":"1338900707","filename":"file0"},{"photo_id":"1338900713","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338900716":["hashtag1","hashtag2"]},{"1338900710":["hashtag1","hashtag2"]},{"1338900713":["hashtag1","hashtag2"]},{"1338900707":["hashtag1","hashtag2"]},{"1338900708":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338900716, 1338900710, 1338900713, 1338900707, 1338900708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.078842401504517 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:20:32.609489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/19/image_21022025_20_19_55_10367.jpg', '/home/pi/Desktop/images/21022025/20/19/image_21022025_20_20_05_9473.jpg', '/home/pi/Desktop/images/21022025/20/20/image_21022025_20_20_15_10346.jpg', '/home/pi/Desktop/images/21022025/20/20/image_21022025_20_20_35_10436.jpg', '/home/pi/Desktop/images/21022025/20/20/image_21022025_20_20_45_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/19/image_21022025_20_19_55_10367.jpg
/home/pi/Desktop/images/21022025/20/19/image_21022025_20_20_05_9473.jpg
/home/pi/Desktop/images/21022025/20/20/image_21022025_20_20_15_10346.jpg
/home/pi/Desktop/images/21022025/20/20/image_21022025_20_20_35_10436.jpg
/home/pi/Desktop/images/21022025/20/20/image_21022025_20_20_45_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338900731","1338900739","1338900727","1338900736","1338900729"],"photo_ids_order":["1338900727","1338900729","1338900731","1338900736","1338900739"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9a6f038c67a46548f175cf63f4d63ee6.jpg","text":"TemporaryFile(/tmp/multipartBody900748996740077681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165693067,"filename":"image_21022025_20_20_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0b33815b4f7f3a476d71a415b6ff6e8d.jpg","text":"TemporaryFile(/tmp/multipartBody2779206879343466543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165693067,"filename":"image_21022025_20_20_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a20ef1f4c6cf7671fd848fab49d4e7b9.jpg","text":"TemporaryFile(/tmp/multipartBody3439198413984112197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165693067,"filename":"image_21022025_20_19_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aaad06adc95b8516f6be5600ccc0184f.jpg","text":"TemporaryFile(/tmp/multipartBody6905383262085464765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165693067,"filename":"image_21022025_20_20_35_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/48956a814bf7ebca188663e36f563862.jpg","text":"TemporaryFile(/tmp/multipartBody2409755457505705239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165693067,"filename":"image_21022025_20_20_05_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338900731","file1":"1338900729","file0":"1338900727","file4":"1338900739","file3":"1338900736"},"map_files_photo_id_array":[{"photo_id":"1338900731","filename":"file2"},{"photo_id":"1338900739","filename":"file4"},{"photo_id":"1338900729","filename":"file1"},{"photo_id":"1338900727","filename":"file0"},{"photo_id":"1338900736","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338900731":["hashtag1","hashtag2"]},{"1338900739":["hashtag1","hashtag2"]},{"1338900727":["hashtag1","hashtag2"]},{"1338900736":["hashtag1","hashtag2"]},{"1338900729":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338900731, 1338900739, 1338900727, 1338900736, 1338900729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.891718864440918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:21:04.313227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/32/image_20022025_20_32_46_10344.jpg', '/home/pi/Desktop/images/20022025/20/32/image_20022025_20_32_56_10358.jpg', '/home/pi/Desktop/images/20022025/20/32/image_20022025_20_33_06_9327.jpg', '/home/pi/Desktop/images/20022025/20/33/image_20022025_20_33_26_10359.jpg', '/home/pi/Desktop/images/20022025/20/33/image_20022025_20_33_36_9338.jpg', '/home/pi/Desktop/images/20022025/20/33/image_20022025_20_33_57_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/32/image_20022025_20_32_46_10344.jpg
/home/pi/Desktop/images/20022025/20/32/image_20022025_20_32_56_10358.jpg
/home/pi/Desktop/images/20022025/20/32/image_20022025_20_33_06_9327.jpg
/home/pi/Desktop/images/20022025/20/33/image_20022025_20_33_26_10359.jpg
/home/pi/Desktop/images/20022025/20/33/image_20022025_20_33_36_9338.jpg
/home/pi/Desktop/images/20022025/20/33/image_20022025_20_33_57_10464.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338900767","1338900755","1338900763","1338900751","1338900765","1338900759"],"photo_ids_order":["1338900751","1338900755","1338900759","1338900763","1338900765","1338900767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5be6996ab73d1b75d0fc1674e8abd146.jpg","text":"TemporaryFile(/tmp/multipartBody439637263679747004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165725992,"filename":"image_20022025_20_33_57_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4dbfdbd9e7ccdf6a3ee6cd3734c0b28c.jpg","text":"TemporaryFile(/tmp/multipartBody4088667423408965086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165725992,"filename":"image_20022025_20_32_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80861be17380d7baee770e62efaaf0b6.jpg","text":"TemporaryFile(/tmp/multipartBody6657380469697552881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165725992,"filename":"image_20022025_20_33_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cca69f65706e3ef80a53ba8c7e172589.jpg","text":"TemporaryFile(/tmp/multipartBody3453690968418684369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165725992,"filename":"image_20022025_20_32_46_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87d374e65b18597a67b6dcaa6a00c87e.jpg","text":"TemporaryFile(/tmp/multipartBody4336034697192166784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165725992,"filename":"image_20022025_20_33_36_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/79dbe692dbeb442945646981682988d0.jpg","text":"TemporaryFile(/tmp/multipartBody7269416067646727310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165725992,"filename":"image_20022025_20_33_06_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338900759","file1":"1338900755","file0":"1338900751","file4":"1338900765","file5":"1338900767","file3":"1338900763"},"map_files_photo_id_array":[{"photo_id":"1338900767","filename":"file5"},{"photo_id":"1338900759","filename":"file2"},{"photo_id":"1338900765","filename":"file4"},{"photo_id":"1338900755","filename":"file1"},{"photo_id":"1338900751","filename":"file0"},{"photo_id":"1338900763","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338900767":["hashtag1","hashtag2"]},{"1338900755":["hashtag1","hashtag2"]},{"1338900763":["hashtag1","hashtag2"]},{"1338900751":["hashtag1","hashtag2"]},{"1338900765":["hashtag1","hashtag2"]},{"1338900759":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338900767, 1338900755, 1338900763, 1338900751, 1338900765, 1338900759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13154053688049 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:21:42.857882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/20/image_21022025_20_20_55_9402.jpg', '/home/pi/Desktop/images/21022025/20/20/image_21022025_20_21_05_10349.jpg', '/home/pi/Desktop/images/21022025/20/21/image_21022025_20_21_15_10348.jpg', '/home/pi/Desktop/images/21022025/20/21/image_21022025_20_21_25_9417.jpg', '/home/pi/Desktop/images/21022025/20/21/image_21022025_20_21_35_10353.jpg', '/home/pi/Desktop/images/21022025/20/21/image_21022025_20_21_45_9488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/20/image_21022025_20_20_55_9402.jpg
/home/pi/Desktop/images/21022025/20/20/image_21022025_20_21_05_10349.jpg
/home/pi/Desktop/images/21022025/20/21/image_21022025_20_21_15_10348.jpg
/home/pi/Desktop/images/21022025/20/21/image_21022025_20_21_25_9417.jpg
/home/pi/Desktop/images/21022025/20/21/image_21022025_20_21_35_10353.jpg
/home/pi/Desktop/images/21022025/20/21/image_21022025_20_21_45_9488.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338901001","1338901012","1338901006","1338901009","1338901003","1338900999"],"photo_ids_order":["1338900999","1338901001","1338901003","1338901006","1338901009","1338901012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b804d7d85ce77e8d7671aed6f1da8a42.jpg","text":"TemporaryFile(/tmp/multipartBody6890977581198101830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165763653,"filename":"image_21022025_20_21_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9d4e888f300145cf7dc467486fd45c6c.jpg","text":"TemporaryFile(/tmp/multipartBody2142700347825361688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165763653,"filename":"image_21022025_20_21_45_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a6302bf6ff16759dc388bcd19a532c0.jpg","text":"TemporaryFile(/tmp/multipartBody8904462155482162505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165763653,"filename":"image_21022025_20_21_25_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5dd1cf7d69af65eb1a76c6cab490bc41.jpg","text":"TemporaryFile(/tmp/multipartBody380133309042202545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165763653,"filename":"image_21022025_20_21_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/65effd7e766fae37307de0a599f63d68.jpg","text":"TemporaryFile(/tmp/multipartBody3271412965068373645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165763653,"filename":"image_21022025_20_21_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/902df709e17dea7b435d74c010107e0f.jpg","text":"TemporaryFile(/tmp/multipartBody1491815713068884406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165763653,"filename":"image_21022025_20_20_55_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338901003","file1":"1338901001","file0":"1338900999","file4":"1338901009","file5":"1338901012","file3":"1338901006"},"map_files_photo_id_array":[{"photo_id":"1338901012","filename":"file5"},{"photo_id":"1338901003","filename":"file2"},{"photo_id":"1338901009","filename":"file4"},{"photo_id":"1338901001","filename":"file1"},{"photo_id":"1338900999","filename":"file0"},{"photo_id":"1338901006","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338901001":["hashtag1","hashtag2"]},{"1338901012":["hashtag1","hashtag2"]},{"1338901006":["hashtag1","hashtag2"]},{"1338901009":["hashtag1","hashtag2"]},{"1338901003":["hashtag1","hashtag2"]},{"1338900999":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338901001, 1338901012, 1338901006, 1338901009, 1338901003, 1338900999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.380935192108154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:22:32.189899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/21/image_21022025_20_21_55_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/21/image_21022025_20_21_55_10395.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338901152"],"photo_id":"1338901152","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/054a20c4b39b534f344f9a9a1be5cad4.jpg","text":"TemporaryFile(/tmp/multipartBody529853374178573521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165812797,"filename":"image_21022025_20_21_55_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338901152"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338901152"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.882930755615234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:22:52.161101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/34/image_20022025_20_34_16_10361.jpg', '/home/pi/Desktop/images/20022025/20/34/image_20022025_20_34_26_9438.jpg', '/home/pi/Desktop/images/20022025/20/34/image_20022025_20_34_56_9326.jpg', '/home/pi/Desktop/images/20022025/20/34/image_20022025_20_35_06_10584.jpg', '/home/pi/Desktop/images/20022025/20/35/image_20022025_20_35_26_10427.jpg', '/home/pi/Desktop/images/20022025/20/35/image_20022025_20_35_46_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/34/image_20022025_20_34_16_10361.jpg
/home/pi/Desktop/images/20022025/20/34/image_20022025_20_34_26_9438.jpg
/home/pi/Desktop/images/20022025/20/34/image_20022025_20_34_56_9326.jpg
/home/pi/Desktop/images/20022025/20/34/image_20022025_20_35_06_10584.jpg
/home/pi/Desktop/images/20022025/20/35/image_20022025_20_35_26_10427.jpg
/home/pi/Desktop/images/20022025/20/35/image_20022025_20_35_46_10372.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338901205","1338901202","1338901192","1338901195","1338901209","1338901199"],"photo_ids_order":["1338901192","1338901195","1338901199","1338901202","1338901205","1338901209"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf6f7fd0e3ebc33ed9f9d215d18c9b77.jpg","text":"TemporaryFile(/tmp/multipartBody6024528903173956153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165834678,"filename":"image_20022025_20_35_26_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc0349bab50e83007ded8a1e8fa29ef7.jpg","text":"TemporaryFile(/tmp/multipartBody6432567541356675216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165834678,"filename":"image_20022025_20_35_06_10584.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/459b43cffd079d0a582d50b81526a4d4.jpg","text":"TemporaryFile(/tmp/multipartBody5484202924880936803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165834678,"filename":"image_20022025_20_34_16_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/850ad1ddeff6638aa9d786e0ec9b1837.jpg","text":"TemporaryFile(/tmp/multipartBody8816566944876079648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165834678,"filename":"image_20022025_20_34_26_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/26bf43924ba5ad9b7566c6d9b415c336.jpg","text":"TemporaryFile(/tmp/multipartBody7460158166461895768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165834678,"filename":"image_20022025_20_35_46_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e48bff0778f425d656b905c4141cd2ba.jpg","text":"TemporaryFile(/tmp/multipartBody6958402546721936529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165834678,"filename":"image_20022025_20_34_56_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338901199","file1":"1338901195","file0":"1338901192","file4":"1338901205","file5":"1338901209","file3":"1338901202"},"map_files_photo_id_array":[{"photo_id":"1338901209","filename":"file5"},{"photo_id":"1338901199","filename":"file2"},{"photo_id":"1338901205","filename":"file4"},{"photo_id":"1338901195","filename":"file1"},{"photo_id":"1338901192","filename":"file0"},{"photo_id":"1338901202","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338901205":["hashtag1","hashtag2"]},{"1338901202":["hashtag1","hashtag2"]},{"1338901192":["hashtag1","hashtag2"]},{"1338901195":["hashtag1","hashtag2"]},{"1338901209":["hashtag1","hashtag2"]},{"1338901199":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338901205, 1338901202, 1338901192, 1338901195, 1338901209, 1338901199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58541512489319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:23:32.389985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/21/image_21022025_20_22_04_9382.jpg', '/home/pi/Desktop/images/21022025/20/23/image_21022025_20_23_15_10339.jpg', '/home/pi/Desktop/images/21022025/20/23/image_21022025_20_23_24_9390.jpg', '/home/pi/Desktop/images/21022025/20/23/image_21022025_20_23_45_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/21/image_21022025_20_22_04_9382.jpg
/home/pi/Desktop/images/21022025/20/23/image_21022025_20_23_15_10339.jpg
/home/pi/Desktop/images/21022025/20/23/image_21022025_20_23_24_9390.jpg
/home/pi/Desktop/images/21022025/20/23/image_21022025_20_23_45_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338901223","1338901225","1338901227","1338901221"],"photo_ids_order":["1338901221","1338901223","1338901225","1338901227"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/65d012f412f26bb78fb34e8c7342a2e0.jpg","text":"TemporaryFile(/tmp/multipartBody1711376971916498287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165873381,"filename":"image_21022025_20_23_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/153dbc4e72ba49197ed485ae1094de23.jpg","text":"TemporaryFile(/tmp/multipartBody5873440650802087907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165873381,"filename":"image_21022025_20_23_24_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/853d91c0483aef176eafd56b0deb0786.jpg","text":"TemporaryFile(/tmp/multipartBody4114426518531381972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165873381,"filename":"image_21022025_20_23_45_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6bc039e020eebaf0402cc1c8b3e96f83.jpg","text":"TemporaryFile(/tmp/multipartBody1388047086761327736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165873381,"filename":"image_21022025_20_22_04_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338901225","file1":"1338901223","file0":"1338901221","file3":"1338901227"},"map_files_photo_id_array":[{"photo_id":"1338901225","filename":"file2"},{"photo_id":"1338901223","filename":"file1"},{"photo_id":"1338901221","filename":"file0"},{"photo_id":"1338901227","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338901223":["hashtag1","hashtag2"]},{"1338901225":["hashtag1","hashtag2"]},{"1338901227":["hashtag1","hashtag2"]},{"1338901221":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338901223, 1338901225, 1338901227, 1338901221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.714271545410156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:24:03.241216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/35/image_20022025_20_35_56_10378.jpg', '/home/pi/Desktop/images/20022025/20/36/image_20022025_20_36_26_10355.jpg', '/home/pi/Desktop/images/20022025/20/36/image_20022025_20_36_36_9313.jpg', '/home/pi/Desktop/images/20022025/20/36/image_20022025_20_36_46_10351.jpg', '/home/pi/Desktop/images/20022025/20/36/image_20022025_20_36_56_10400.jpg', '/home/pi/Desktop/images/20022025/20/36/image_20022025_20_37_06_9325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/35/image_20022025_20_35_56_10378.jpg
/home/pi/Desktop/images/20022025/20/36/image_20022025_20_36_26_10355.jpg
/home/pi/Desktop/images/20022025/20/36/image_20022025_20_36_36_9313.jpg
/home/pi/Desktop/images/20022025/20/36/image_20022025_20_36_46_10351.jpg
/home/pi/Desktop/images/20022025/20/36/image_20022025_20_36_56_10400.jpg
/home/pi/Desktop/images/20022025/20/36/image_20022025_20_37_06_9325.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338901240","1338901243","1338901231","1338901239","1338901233","1338901236"],"photo_ids_order":["1338901231","1338901233","1338901236","1338901239","1338901240","1338901243"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7037b42dc25729d62fe3830ee5be3ff7.jpg","text":"TemporaryFile(/tmp/multipartBody80716513561494576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165905578,"filename":"image_20022025_20_36_56_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a134ec64f0688c4397fa57ee3dc76168.jpg","text":"TemporaryFile(/tmp/multipartBody1443082786544063645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165905578,"filename":"image_20022025_20_37_06_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a73dbb87f227a2d4b5791ed2b61d11cd.jpg","text":"TemporaryFile(/tmp/multipartBody6814331948392766322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165905578,"filename":"image_20022025_20_35_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/30b2580a5b13f23cce428f2f58253860.jpg","text":"TemporaryFile(/tmp/multipartBody5232727786977093292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165905578,"filename":"image_20022025_20_36_46_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/20fe55574dda7722f0647936652b1587.jpg","text":"TemporaryFile(/tmp/multipartBody312732757742180672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165905578,"filename":"image_20022025_20_36_26_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c072366036ae09f3d36656cc850ac22d.jpg","text":"TemporaryFile(/tmp/multipartBody8966346505297808703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165905578,"filename":"image_20022025_20_36_36_9313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338901236","file1":"1338901233","file0":"1338901231","file4":"1338901240","file5":"1338901243","file3":"1338901239"},"map_files_photo_id_array":[{"photo_id":"1338901243","filename":"file5"},{"photo_id":"1338901236","filename":"file2"},{"photo_id":"1338901240","filename":"file4"},{"photo_id":"1338901233","filename":"file1"},{"photo_id":"1338901231","filename":"file0"},{"photo_id":"1338901239","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338901240":["hashtag1","hashtag2"]},{"1338901243":["hashtag1","hashtag2"]},{"1338901231":["hashtag1","hashtag2"]},{"1338901239":["hashtag1","hashtag2"]},{"1338901233":["hashtag1","hashtag2"]},{"1338901236":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338901240, 1338901243, 1338901231, 1338901239, 1338901233, 1338901236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72647786140442 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:24:42.609637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/23/image_21022025_20_23_55_9456.jpg', '/home/pi/Desktop/images/21022025/20/24/image_21022025_20_24_25_10444.jpg', '/home/pi/Desktop/images/21022025/20/24/image_21022025_20_24_35_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/23/image_21022025_20_23_55_9456.jpg
/home/pi/Desktop/images/21022025/20/24/image_21022025_20_24_25_10444.jpg
/home/pi/Desktop/images/21022025/20/24/image_21022025_20_24_35_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338901334","1338901246","1338901330"],"photo_ids_order":["1338901246","1338901330","1338901334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1bc6140ad4638e11633adb6c1403101.jpg","text":"TemporaryFile(/tmp/multipartBody6632656403798645711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165943608,"filename":"image_21022025_20_24_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8a248bd51a8bf27f81b7bf61fdf5889e.jpg","text":"TemporaryFile(/tmp/multipartBody1451444810464712689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165943608,"filename":"image_21022025_20_23_55_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ab2be152aabe87ce767c7abc3fcaa2ab.jpg","text":"TemporaryFile(/tmp/multipartBody5592569035022548206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740165943608,"filename":"image_21022025_20_24_25_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338901334","file1":"1338901330","file0":"1338901246"},"map_files_photo_id_array":[{"photo_id":"1338901334","filename":"file2"},{"photo_id":"1338901330","filename":"file1"},{"photo_id":"1338901246","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338901334":["hashtag1","hashtag2"]},{"1338901246":["hashtag1","hashtag2"]},{"1338901330":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338901334, 1338901246, 1338901330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.313806533813477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:25:32.926414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/24/image_21022025_20_24_55_10354.jpg', '/home/pi/Desktop/images/21022025/20/24/image_21022025_20_25_04_9372.jpg', '/home/pi/Desktop/images/21022025/20/25/image_21022025_20_25_15_10415.jpg', '/home/pi/Desktop/images/21022025/20/25/image_21022025_20_25_35_9449.jpg', '/home/pi/Desktop/images/21022025/20/25/image_21022025_20_25_45_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/24/image_21022025_20_24_55_10354.jpg
/home/pi/Desktop/images/21022025/20/24/image_21022025_20_25_04_9372.jpg
/home/pi/Desktop/images/21022025/20/25/image_21022025_20_25_15_10415.jpg
/home/pi/Desktop/images/21022025/20/25/image_21022025_20_25_35_9449.jpg
/home/pi/Desktop/images/21022025/20/25/image_21022025_20_25_45_10349.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38046884536743164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:25:42.803468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/24/image_21022025_20_24_55_10354.jpg', '/home/pi/Desktop/images/21022025/20/24/image_21022025_20_25_04_9372.jpg', '/home/pi/Desktop/images/21022025/20/25/image_21022025_20_25_15_10415.jpg', '/home/pi/Desktop/images/21022025/20/25/image_21022025_20_25_35_9449.jpg', '/home/pi/Desktop/images/21022025/20/25/image_21022025_20_25_45_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/24/image_21022025_20_24_55_10354.jpg
/home/pi/Desktop/images/21022025/20/24/image_21022025_20_25_04_9372.jpg
/home/pi/Desktop/images/21022025/20/25/image_21022025_20_25_15_10415.jpg
/home/pi/Desktop/images/21022025/20/25/image_21022025_20_25_35_9449.jpg
/home/pi/Desktop/images/21022025/20/25/image_21022025_20_25_45_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338901364","1338901358","1338901352","1338901361","1338901355"],"photo_ids_order":["1338901352","1338901355","1338901358","1338901361","1338901364"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7e0fe38fc5df82fe393fc18c5070d68d.jpg","text":"TemporaryFile(/tmp/multipartBody5721449700492773424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166003260,"filename":"image_21022025_20_25_45_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/30004ccf923ac31b85565acf89f724ef.jpg","text":"TemporaryFile(/tmp/multipartBody1194471331350929396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166003260,"filename":"image_21022025_20_25_15_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2219895dbc5b8766ce2afcbbb0e8a04a.jpg","text":"TemporaryFile(/tmp/multipartBody5244234885300847451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166003260,"filename":"image_21022025_20_24_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7969c843a86f3bb19c53451f30536cc0.jpg","text":"TemporaryFile(/tmp/multipartBody8402533538237391699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166003260,"filename":"image_21022025_20_25_35_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e7b6bcd14ff9f8ae4a5b5e25251920e.jpg","text":"TemporaryFile(/tmp/multipartBody1235290475417855545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166003260,"filename":"image_21022025_20_25_04_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338901358","file1":"1338901355","file0":"1338901352","file4":"1338901364","file3":"1338901361"},"map_files_photo_id_array":[{"photo_id":"1338901358","filename":"file2"},{"photo_id":"1338901364","filename":"file4"},{"photo_id":"1338901355","filename":"file1"},{"photo_id":"1338901352","filename":"file0"},{"photo_id":"1338901361","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338901364":["hashtag1","hashtag2"]},{"1338901358":["hashtag1","hashtag2"]},{"1338901352":["hashtag1","hashtag2"]},{"1338901361":["hashtag1","hashtag2"]},{"1338901355":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338901364, 1338901358, 1338901352, 1338901361, 1338901355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.96854853630066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:26:33.024487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/25/image_21022025_20_25_54_9378.jpg', '/home/pi/Desktop/images/21022025/20/25/image_21022025_20_26_05_10350.jpg', '/home/pi/Desktop/images/21022025/20/26/image_21022025_20_26_15_10392.jpg', '/home/pi/Desktop/images/21022025/20/26/image_21022025_20_26_25_9367.jpg', '/home/pi/Desktop/images/21022025/20/26/image_21022025_20_26_45_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/25/image_21022025_20_25_54_9378.jpg
/home/pi/Desktop/images/21022025/20/25/image_21022025_20_26_05_10350.jpg
/home/pi/Desktop/images/21022025/20/26/image_21022025_20_26_15_10392.jpg
/home/pi/Desktop/images/21022025/20/26/image_21022025_20_26_25_9367.jpg
/home/pi/Desktop/images/21022025/20/26/image_21022025_20_26_45_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338901381","1338901387","1338901380","1338901383","1338901385"],"photo_ids_order":["1338901380","1338901381","1338901383","1338901385","1338901387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8730dcc6e267e2f9358906c1626263a3.jpg","text":"TemporaryFile(/tmp/multipartBody152718584388203478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166053476,"filename":"image_21022025_20_26_05_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/27893a633a8f3f9acb5184961e67dfd8.jpg","text":"TemporaryFile(/tmp/multipartBody7600026507716928135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166053476,"filename":"image_21022025_20_26_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c1c9cab81ac5eb417a7d3034f188a1f.jpg","text":"TemporaryFile(/tmp/multipartBody7781001537623736631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166053476,"filename":"image_21022025_20_25_54_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3fcb50de9b49957abf8a2734fdf28f53.jpg","text":"TemporaryFile(/tmp/multipartBody4939837929830449675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166053476,"filename":"image_21022025_20_26_15_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7b57645f83787d3adb933b70b7cba2a.jpg","text":"TemporaryFile(/tmp/multipartBody5367153196364817861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166053476,"filename":"image_21022025_20_26_25_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338901383","file1":"1338901381","file0":"1338901380","file4":"1338901387","file3":"1338901385"},"map_files_photo_id_array":[{"photo_id":"1338901383","filename":"file2"},{"photo_id":"1338901387","filename":"file4"},{"photo_id":"1338901381","filename":"file1"},{"photo_id":"1338901380","filename":"file0"},{"photo_id":"1338901385","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338901381":["hashtag1","hashtag2"]},{"1338901387":["hashtag1","hashtag2"]},{"1338901380":["hashtag1","hashtag2"]},{"1338901383":["hashtag1","hashtag2"]},{"1338901385":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338901381, 1338901387, 1338901380, 1338901383, 1338901385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.266013383865356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:27:03.883614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/37/image_20022025_20_37_36_10328.jpg', '/home/pi/Desktop/images/20022025/20/37/image_20022025_20_37_46_10339.jpg', '/home/pi/Desktop/images/20022025/20/37/image_20022025_20_37_56_9353.jpg', '/home/pi/Desktop/images/20022025/20/37/image_20022025_20_38_06_10326.jpg', '/home/pi/Desktop/images/20022025/20/38/image_20022025_20_38_56_10338.jpg', '/home/pi/Desktop/images/20022025/20/38/image_20022025_20_39_06_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/37/image_20022025_20_37_36_10328.jpg
/home/pi/Desktop/images/20022025/20/37/image_20022025_20_37_46_10339.jpg
/home/pi/Desktop/images/20022025/20/37/image_20022025_20_37_56_9353.jpg
/home/pi/Desktop/images/20022025/20/37/image_20022025_20_38_06_10326.jpg
/home/pi/Desktop/images/20022025/20/38/image_20022025_20_38_56_10338.jpg
/home/pi/Desktop/images/20022025/20/38/image_20022025_20_39_06_10335.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338901409","1338901400","1338901392","1338901411","1338901397","1338901404"],"photo_ids_order":["1338901392","1338901397","1338901400","1338901404","1338901409","1338901411"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/03bf41d1a517a3c5ce264abfc53ce5f0.jpg","text":"TemporaryFile(/tmp/multipartBody8899036488829581362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166085565,"filename":"image_20022025_20_38_56_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/858390962ec57f5143b6d2f2b4ad7cc7.jpg","text":"TemporaryFile(/tmp/multipartBody2695644321931004538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166085565,"filename":"image_20022025_20_37_56_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/97196eda830f5f280a8cd88f7d3dc7af.jpg","text":"TemporaryFile(/tmp/multipartBody1622052736732438245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166085565,"filename":"image_20022025_20_37_36_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7114917992dad7c7a10420e242cef044.jpg","text":"TemporaryFile(/tmp/multipartBody7957618422591295955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166085565,"filename":"image_20022025_20_39_06_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/63014925ba54ab2c4e111c98029b0253.jpg","text":"TemporaryFile(/tmp/multipartBody6158469211087598095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166085565,"filename":"image_20022025_20_37_46_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4d0416d949ac975e5016104623d5b2e.jpg","text":"TemporaryFile(/tmp/multipartBody5171423821344969057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166085565,"filename":"image_20022025_20_38_06_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338901400","file1":"1338901397","file0":"1338901392","file4":"1338901409","file5":"1338901411","file3":"1338901404"},"map_files_photo_id_array":[{"photo_id":"1338901411","filename":"file5"},{"photo_id":"1338901400","filename":"file2"},{"photo_id":"1338901409","filename":"file4"},{"photo_id":"1338901397","filename":"file1"},{"photo_id":"1338901392","filename":"file0"},{"photo_id":"1338901404","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338901409":["hashtag1","hashtag2"]},{"1338901400":["hashtag1","hashtag2"]},{"1338901392":["hashtag1","hashtag2"]},{"1338901411":["hashtag1","hashtag2"]},{"1338901397":["hashtag1","hashtag2"]},{"1338901404":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338901409, 1338901400, 1338901392, 1338901411, 1338901397, 1338901404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.657782316207886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:27:42.322723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/26/image_21022025_20_26_55_9423.jpg', '/home/pi/Desktop/images/21022025/20/26/image_21022025_20_27_05_10349.jpg', '/home/pi/Desktop/images/21022025/20/27/image_21022025_20_27_14_9389.jpg', '/home/pi/Desktop/images/21022025/20/27/image_21022025_20_27_25_10417.jpg', '/home/pi/Desktop/images/21022025/20/27/image_21022025_20_27_45_9486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/26/image_21022025_20_26_55_9423.jpg
/home/pi/Desktop/images/21022025/20/26/image_21022025_20_27_05_10349.jpg
/home/pi/Desktop/images/21022025/20/27/image_21022025_20_27_14_9389.jpg
/home/pi/Desktop/images/21022025/20/27/image_21022025_20_27_25_10417.jpg
/home/pi/Desktop/images/21022025/20/27/image_21022025_20_27_45_9486.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338901415","1338901558","1338901465","1338901554","1338901416"],"photo_ids_order":["1338901415","1338901416","1338901465","1338901554","1338901558"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3fbd0a6489a316e69bb4fe0f59c86c20.jpg","text":"TemporaryFile(/tmp/multipartBody7257773959268729266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166122785,"filename":"image_21022025_20_26_55_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d12b30ec41f54267765ee07db5afd6a1.jpg","text":"TemporaryFile(/tmp/multipartBody5090597694382561945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166122785,"filename":"image_21022025_20_27_45_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/115df589d173be8d554336ddcabb9fac.jpg","text":"TemporaryFile(/tmp/multipartBody6580752251901018988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166122785,"filename":"image_21022025_20_27_14_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e192e109240cc77e293ce80e8e941a5.jpg","text":"TemporaryFile(/tmp/multipartBody1977415965410979953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166122785,"filename":"image_21022025_20_27_25_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f4b4843745a2e0b7cf2ab74215a7a259.jpg","text":"TemporaryFile(/tmp/multipartBody4478307981560424753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166122785,"filename":"image_21022025_20_27_05_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338901465","file1":"1338901416","file0":"1338901415","file4":"1338901558","file3":"1338901554"},"map_files_photo_id_array":[{"photo_id":"1338901465","filename":"file2"},{"photo_id":"1338901558","filename":"file4"},{"photo_id":"1338901416","filename":"file1"},{"photo_id":"1338901415","filename":"file0"},{"photo_id":"1338901554","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338901415":["hashtag1","hashtag2"]},{"1338901558":["hashtag1","hashtag2"]},{"1338901465":["hashtag1","hashtag2"]},{"1338901554":["hashtag1","hashtag2"]},{"1338901416":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338901415, 1338901558, 1338901465, 1338901554, 1338901416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.89089798927307 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:28:32.611015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/27/image_21022025_20_27_55_10400.jpg', '/home/pi/Desktop/images/21022025/20/28/image_21022025_20_28_25_10347.jpg', '/home/pi/Desktop/images/21022025/20/28/image_21022025_20_28_35_9499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/27/image_21022025_20_27_55_10400.jpg
/home/pi/Desktop/images/21022025/20/28/image_21022025_20_28_25_10347.jpg
/home/pi/Desktop/images/21022025/20/28/image_21022025_20_28_35_9499.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338901987","1338902076","1338901895"],"photo_ids_order":["1338901895","1338901987","1338902076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1f2d42cb2696974fce28b0a562eb5059.jpg","text":"TemporaryFile(/tmp/multipartBody3429459557902964797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166173043,"filename":"image_21022025_20_28_25_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f49cb8255e075990314b575c512b9140.jpg","text":"TemporaryFile(/tmp/multipartBody5132335362317977496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166173043,"filename":"image_21022025_20_28_35_9499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b377596077b4634e04f862c942951b80.jpg","text":"TemporaryFile(/tmp/multipartBody2493276505685566490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166173043,"filename":"image_21022025_20_27_55_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338902076","file1":"1338901987","file0":"1338901895"},"map_files_photo_id_array":[{"photo_id":"1338902076","filename":"file2"},{"photo_id":"1338901987","filename":"file1"},{"photo_id":"1338901895","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338901987":["hashtag1","hashtag2"]},{"1338902076":["hashtag1","hashtag2"]},{"1338901895":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338901987, 1338902076, 1338901895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 17.868962287902832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:28:52.621383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/39/image_20022025_20_39_16_9424.jpg', '/home/pi/Desktop/images/20022025/20/39/image_20022025_20_39_26_10322.jpg', '/home/pi/Desktop/images/20022025/20/39/image_20022025_20_39_46_10406.jpg', '/home/pi/Desktop/images/20022025/20/39/image_20022025_20_39_56_10337.jpg', '/home/pi/Desktop/images/20022025/20/39/image_20022025_20_40_06_9314.jpg', '/home/pi/Desktop/images/20022025/20/40/image_20022025_20_40_16_10323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/39/image_20022025_20_39_16_9424.jpg
/home/pi/Desktop/images/20022025/20/39/image_20022025_20_39_26_10322.jpg
/home/pi/Desktop/images/20022025/20/39/image_20022025_20_39_46_10406.jpg
/home/pi/Desktop/images/20022025/20/39/image_20022025_20_39_56_10337.jpg
/home/pi/Desktop/images/20022025/20/39/image_20022025_20_40_06_9314.jpg
/home/pi/Desktop/images/20022025/20/40/image_20022025_20_40_16_10323.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338902383","1338902385","1338902394","1338902390","1338902384","1338902387"],"photo_ids_order":["1338902383","1338902384","1338902385","1338902387","1338902390","1338902394"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/500155395821257f7e50320310831d53.jpg","text":"TemporaryFile(/tmp/multipartBody2645932779388617831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166194733,"filename":"image_20022025_20_39_16_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d00c136b50cfdecc9b4dee01d08ffb14.jpg","text":"TemporaryFile(/tmp/multipartBody245137773732685021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166194733,"filename":"image_20022025_20_39_46_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2cac3b9c6343fc98736fe6207e44805d.jpg","text":"TemporaryFile(/tmp/multipartBody8806766336171367191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166194733,"filename":"image_20022025_20_40_16_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2e202413c80a15211ec28f1e0c49a7c1.jpg","text":"TemporaryFile(/tmp/multipartBody2934474220863089556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166194733,"filename":"image_20022025_20_40_06_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d16601f2ab7838b7ac20e36e296e3ce8.jpg","text":"TemporaryFile(/tmp/multipartBody1378867236694890991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166194733,"filename":"image_20022025_20_39_26_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4cf80cd23975db5bff870134115d6373.jpg","text":"TemporaryFile(/tmp/multipartBody5721075167195556241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166194733,"filename":"image_20022025_20_39_56_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338902385","file1":"1338902384","file0":"1338902383","file4":"1338902390","file5":"1338902394","file3":"1338902387"},"map_files_photo_id_array":[{"photo_id":"1338902394","filename":"file5"},{"photo_id":"1338902385","filename":"file2"},{"photo_id":"1338902390","filename":"file4"},{"photo_id":"1338902384","filename":"file1"},{"photo_id":"1338902383","filename":"file0"},{"photo_id":"1338902387","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338902383":["hashtag1","hashtag2"]},{"1338902385":["hashtag1","hashtag2"]},{"1338902394":["hashtag1","hashtag2"]},{"1338902390":["hashtag1","hashtag2"]},{"1338902384":["hashtag1","hashtag2"]},{"1338902387":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338902383, 1338902385, 1338902394, 1338902390, 1338902384, 1338902387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.71517372131348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:29:32.985011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/28/image_21022025_20_28_45_10337.jpg', '/home/pi/Desktop/images/21022025/20/28/image_21022025_20_29_05_10710.jpg', '/home/pi/Desktop/images/21022025/20/29/image_21022025_20_29_14_9318.jpg', '/home/pi/Desktop/images/21022025/20/29/image_21022025_20_29_35_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/28/image_21022025_20_28_45_10337.jpg
/home/pi/Desktop/images/21022025/20/28/image_21022025_20_29_05_10710.jpg
/home/pi/Desktop/images/21022025/20/29/image_21022025_20_29_14_9318.jpg
/home/pi/Desktop/images/21022025/20/29/image_21022025_20_29_35_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338902476","1338902472","1338902469","1338902465"],"photo_ids_order":["1338902465","1338902469","1338902472","1338902476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a1cfbf353c526cca218750d230b3d61.jpg","text":"TemporaryFile(/tmp/multipartBody2666863356150209073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166233448,"filename":"image_21022025_20_29_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7339ce8b0ef2e5101c63334057f894b2.jpg","text":"TemporaryFile(/tmp/multipartBody8383198784075443528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166233448,"filename":"image_21022025_20_29_14_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b3307972c11bd9b781d8d3cc399f1d54.jpg","text":"TemporaryFile(/tmp/multipartBody2786626489397666589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166233448,"filename":"image_21022025_20_29_05_10710.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/24382e8dd76fc3300ea4348c24129350.jpg","text":"TemporaryFile(/tmp/multipartBody1442588220020590933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166233448,"filename":"image_21022025_20_28_45_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338902472","file1":"1338902469","file0":"1338902465","file3":"1338902476"},"map_files_photo_id_array":[{"photo_id":"1338902472","filename":"file2"},{"photo_id":"1338902469","filename":"file1"},{"photo_id":"1338902465","filename":"file0"},{"photo_id":"1338902476","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338902476":["hashtag1","hashtag2"]},{"1338902472":["hashtag1","hashtag2"]},{"1338902469":["hashtag1","hashtag2"]},{"1338902465":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338902476, 1338902472, 1338902469, 1338902465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.264793872833252 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:30:03.822611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/40/image_20022025_20_40_26_10339.jpg', '/home/pi/Desktop/images/20022025/20/40/image_20022025_20_40_36_9408.jpg', '/home/pi/Desktop/images/20022025/20/40/image_20022025_20_40_46_10330.jpg', '/home/pi/Desktop/images/20022025/20/40/image_20022025_20_40_56_10384.jpg', '/home/pi/Desktop/images/20022025/20/40/image_20022025_20_41_06_9315.jpg', '/home/pi/Desktop/images/20022025/20/41/image_20022025_20_41_16_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/40/image_20022025_20_40_26_10339.jpg
/home/pi/Desktop/images/20022025/20/40/image_20022025_20_40_36_9408.jpg
/home/pi/Desktop/images/20022025/20/40/image_20022025_20_40_46_10330.jpg
/home/pi/Desktop/images/20022025/20/40/image_20022025_20_40_56_10384.jpg
/home/pi/Desktop/images/20022025/20/40/image_20022025_20_41_06_9315.jpg
/home/pi/Desktop/images/20022025/20/41/image_20022025_20_41_16_10402.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338902695","1338902554","1338902763","1338902760","1338902768","1338902615"],"photo_ids_order":["1338902554","1338902615","1338902695","1338902760","1338902763","1338902768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2209b2c16f9b7ca363306c6de42c14a4.jpg","text":"TemporaryFile(/tmp/multipartBody2025539685231170219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166265262,"filename":"image_20022025_20_40_46_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/748008c8b79addbc11ad4a05f10c7095.jpg","text":"TemporaryFile(/tmp/multipartBody6078780432844736551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166265262,"filename":"image_20022025_20_40_26_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/63daf8bc6d3ea05e7b8c9fdb23e1874d.jpg","text":"TemporaryFile(/tmp/multipartBody1910085395579068898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166265262,"filename":"image_20022025_20_41_06_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f74f285519f0bcb89289e74212c6eaa.jpg","text":"TemporaryFile(/tmp/multipartBody2234447289748040209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166265262,"filename":"image_20022025_20_40_56_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dc56027873a659d276ef025b8dd0e35e.jpg","text":"TemporaryFile(/tmp/multipartBody1939458103913402904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166265262,"filename":"image_20022025_20_41_16_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4110df40b2ac06bb326b78947f1cf912.jpg","text":"TemporaryFile(/tmp/multipartBody1489627456808810511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166265262,"filename":"image_20022025_20_40_36_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338902695","file1":"1338902615","file0":"1338902554","file4":"1338902763","file5":"1338902768","file3":"1338902760"},"map_files_photo_id_array":[{"photo_id":"1338902768","filename":"file5"},{"photo_id":"1338902695","filename":"file2"},{"photo_id":"1338902763","filename":"file4"},{"photo_id":"1338902615","filename":"file1"},{"photo_id":"1338902554","filename":"file0"},{"photo_id":"1338902760","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338902695":["hashtag1","hashtag2"]},{"1338902554":["hashtag1","hashtag2"]},{"1338902763":["hashtag1","hashtag2"]},{"1338902760":["hashtag1","hashtag2"]},{"1338902768":["hashtag1","hashtag2"]},{"1338902615":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338902695, 1338902554, 1338902763, 1338902760, 1338902768, 1338902615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87140130996704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:30:43.128398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/29/image_21022025_20_29_45_9474.jpg', '/home/pi/Desktop/images/21022025/20/30/image_21022025_20_30_15_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/29/image_21022025_20_29_45_9474.jpg
/home/pi/Desktop/images/21022025/20/30/image_21022025_20_30_15_10354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338902887","1338902949"],"photo_ids_order":["1338902887","1338902949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4627fedd3df5b8aa5a3eaeb93ceef3aa.jpg","text":"TemporaryFile(/tmp/multipartBody714984566831932825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166303548,"filename":"image_21022025_20_29_45_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d53291ffb436f3d362624017c6ef5071.jpg","text":"TemporaryFile(/tmp/multipartBody6772138335180096418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166303548,"filename":"image_21022025_20_30_15_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338902949","file0":"1338902887"},"map_files_photo_id_array":[{"photo_id":"1338902949","filename":"file1"},{"photo_id":"1338902887","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338902887":["hashtag1","hashtag2"]},{"1338902949":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338902887, 1338902949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.566096305847168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:31:03.867585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/41/image_20022025_20_41_26_9394.jpg', '/home/pi/Desktop/images/20022025/20/42/image_20022025_20_42_36_10363.jpg', '/home/pi/Desktop/images/20022025/20/42/image_20022025_20_43_06_10326.jpg', '/home/pi/Desktop/images/20022025/20/43/image_20022025_20_43_16_10332.jpg', '/home/pi/Desktop/images/20022025/20/43/image_20022025_20_43_26_9409.jpg', '/home/pi/Desktop/images/20022025/20/43/image_20022025_20_43_36_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/41/image_20022025_20_41_26_9394.jpg
/home/pi/Desktop/images/20022025/20/42/image_20022025_20_42_36_10363.jpg
/home/pi/Desktop/images/20022025/20/42/image_20022025_20_43_06_10326.jpg
/home/pi/Desktop/images/20022025/20/43/image_20022025_20_43_16_10332.jpg
/home/pi/Desktop/images/20022025/20/43/image_20022025_20_43_26_9409.jpg
/home/pi/Desktop/images/20022025/20/43/image_20022025_20_43_36_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338903118","1338903127","1338903115","1338903120","1338903123","1338903086"],"photo_ids_order":["1338903086","1338903115","1338903118","1338903120","1338903123","1338903127"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/303a995c3512d9cf61ed7f0140279249.jpg","text":"TemporaryFile(/tmp/multipartBody6866595814795323720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166332013,"filename":"image_20022025_20_43_06_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8fd9438581d66b1c4cbf76ab2babf50d.jpg","text":"TemporaryFile(/tmp/multipartBody4543005359690329766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166332013,"filename":"image_20022025_20_43_36_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/08c329a0b09d5a74c6d809078506859e.jpg","text":"TemporaryFile(/tmp/multipartBody8155622689449108381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166332013,"filename":"image_20022025_20_42_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6dff2d30e1efd42b97713b5a1f5ff41a.jpg","text":"TemporaryFile(/tmp/multipartBody1298927870840593355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166332013,"filename":"image_20022025_20_43_16_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ea85a808780a9d1e47159db2eca14b89.jpg","text":"TemporaryFile(/tmp/multipartBody8026799844253110167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166332013,"filename":"image_20022025_20_43_26_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/43298143c6da06a9f37c88f18f08b8ab.jpg","text":"TemporaryFile(/tmp/multipartBody1479779690845685399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166332013,"filename":"image_20022025_20_41_26_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338903118","file1":"1338903115","file0":"1338903086","file4":"1338903123","file5":"1338903127","file3":"1338903120"},"map_files_photo_id_array":[{"photo_id":"1338903127","filename":"file5"},{"photo_id":"1338903118","filename":"file2"},{"photo_id":"1338903123","filename":"file4"},{"photo_id":"1338903115","filename":"file1"},{"photo_id":"1338903086","filename":"file0"},{"photo_id":"1338903120","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338903118":["hashtag1","hashtag2"]},{"1338903127":["hashtag1","hashtag2"]},{"1338903115":["hashtag1","hashtag2"]},{"1338903120":["hashtag1","hashtag2"]},{"1338903123":["hashtag1","hashtag2"]},{"1338903086":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338903118, 1338903127, 1338903115, 1338903120, 1338903123, 1338903086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.133368730545044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:31:52.415944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/30/image_21022025_20_30_55_10344.jpg', '/home/pi/Desktop/images/21022025/20/30/image_21022025_20_31_05_9367.jpg', '/home/pi/Desktop/images/21022025/20/31/image_21022025_20_31_15_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/30/image_21022025_20_30_55_10344.jpg
/home/pi/Desktop/images/21022025/20/30/image_21022025_20_31_05_9367.jpg
/home/pi/Desktop/images/21022025/20/31/image_21022025_20_31_15_10447.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338903151","1338903138","1338903136"],"photo_ids_order":["1338903136","1338903138","1338903151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac9d37cc5793fb38eeaad01101097a1f.jpg","text":"TemporaryFile(/tmp/multipartBody8524435587236568025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166372855,"filename":"image_21022025_20_31_15_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/58448dffa513cd8b7673bc4fddf58054.jpg","text":"TemporaryFile(/tmp/multipartBody190660067475220361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166372855,"filename":"image_21022025_20_31_05_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8a62780e539fa8c6fccccae9962edea.jpg","text":"TemporaryFile(/tmp/multipartBody296701349885594314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166372855,"filename":"image_21022025_20_30_55_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338903151","file1":"1338903138","file0":"1338903136"},"map_files_photo_id_array":[{"photo_id":"1338903151","filename":"file2"},{"photo_id":"1338903138","filename":"file1"},{"photo_id":"1338903136","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338903151":["hashtag1","hashtag2"]},{"1338903138":["hashtag1","hashtag2"]},{"1338903136":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338903151, 1338903138, 1338903136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.665217876434326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:32:32.683834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/31/image_21022025_20_31_24_9439.jpg', '/home/pi/Desktop/images/21022025/20/32/image_21022025_20_32_15_10404.jpg', '/home/pi/Desktop/images/21022025/20/32/image_21022025_20_32_35_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/31/image_21022025_20_31_24_9439.jpg
/home/pi/Desktop/images/21022025/20/32/image_21022025_20_32_15_10404.jpg
/home/pi/Desktop/images/21022025/20/32/image_21022025_20_32_35_10362.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338903170","1338903164","1338903167"],"photo_ids_order":["1338903164","1338903167","1338903170"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/486f93f963d27dfbc4900f12de54aee7.jpg","text":"TemporaryFile(/tmp/multipartBody7381956728782095485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166413118,"filename":"image_21022025_20_32_35_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9968ebd99a42930ccb05dc275bf0457a.jpg","text":"TemporaryFile(/tmp/multipartBody8570909495904271981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166413118,"filename":"image_21022025_20_31_24_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f91abd3effee463fe3e614a82c6a1bc.jpg","text":"TemporaryFile(/tmp/multipartBody3640451178837632670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166413118,"filename":"image_21022025_20_32_15_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338903170","file1":"1338903167","file0":"1338903164"},"map_files_photo_id_array":[{"photo_id":"1338903170","filename":"file2"},{"photo_id":"1338903167","filename":"file1"},{"photo_id":"1338903164","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338903170":["hashtag1","hashtag2"]},{"1338903164":["hashtag1","hashtag2"]},{"1338903167":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338903170, 1338903164, 1338903167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.769150495529175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:32:52.566494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/43/image_20022025_20_43_47_10383.jpg', '/home/pi/Desktop/images/20022025/20/43/image_20022025_20_44_06_10350.jpg', '/home/pi/Desktop/images/20022025/20/44/image_20022025_20_44_16_9451.jpg', '/home/pi/Desktop/images/20022025/20/44/image_20022025_20_44_26_10339.jpg', '/home/pi/Desktop/images/20022025/20/44/image_20022025_20_44_36_10350.jpg', '/home/pi/Desktop/images/20022025/20/44/image_20022025_20_44_56_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/43/image_20022025_20_43_47_10383.jpg
/home/pi/Desktop/images/20022025/20/43/image_20022025_20_44_06_10350.jpg
/home/pi/Desktop/images/20022025/20/44/image_20022025_20_44_16_9451.jpg
/home/pi/Desktop/images/20022025/20/44/image_20022025_20_44_26_10339.jpg
/home/pi/Desktop/images/20022025/20/44/image_20022025_20_44_36_10350.jpg
/home/pi/Desktop/images/20022025/20/44/image_20022025_20_44_56_10342.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338903198","1338903180","1338903177","1338903176","1338903200","1338903178"],"photo_ids_order":["1338903176","1338903177","1338903178","1338903180","1338903198","1338903200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a7e7a7acc86e58283ea1a613ede49dce.jpg","text":"TemporaryFile(/tmp/multipartBody8216481053323031086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166434679,"filename":"image_20022025_20_44_36_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4c1fcdcde079f3d4da1a0e900868a9b.jpg","text":"TemporaryFile(/tmp/multipartBody1639853538439122317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166434679,"filename":"image_20022025_20_44_26_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a1e419553e84fd924b83cd55b85e3505.jpg","text":"TemporaryFile(/tmp/multipartBody6257316820192123778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166434679,"filename":"image_20022025_20_44_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/94fe4ac2584c5b14e2f2241eb9a66d21.jpg","text":"TemporaryFile(/tmp/multipartBody788951052476319909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166434679,"filename":"image_20022025_20_43_47_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fb8d8b62685c0f192344a5f398ebf2cd.jpg","text":"TemporaryFile(/tmp/multipartBody6656749467642226288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166434679,"filename":"image_20022025_20_44_56_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/860eb418c2b56c8fc75c99e5c1dbae58.jpg","text":"TemporaryFile(/tmp/multipartBody8472057551872251448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166434679,"filename":"image_20022025_20_44_16_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338903178","file1":"1338903177","file0":"1338903176","file4":"1338903198","file5":"1338903200","file3":"1338903180"},"map_files_photo_id_array":[{"photo_id":"1338903200","filename":"file5"},{"photo_id":"1338903178","filename":"file2"},{"photo_id":"1338903198","filename":"file4"},{"photo_id":"1338903177","filename":"file1"},{"photo_id":"1338903176","filename":"file0"},{"photo_id":"1338903180","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338903198":["hashtag1","hashtag2"]},{"1338903180":["hashtag1","hashtag2"]},{"1338903177":["hashtag1","hashtag2"]},{"1338903176":["hashtag1","hashtag2"]},{"1338903200":["hashtag1","hashtag2"]},{"1338903178":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338903198, 1338903180, 1338903177, 1338903176, 1338903200, 1338903178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.969162464141846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:33:32.904259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/32/image_21022025_20_32_55_10429.jpg', '/home/pi/Desktop/images/21022025/20/32/image_21022025_20_33_05_10360.jpg', '/home/pi/Desktop/images/21022025/20/33/image_21022025_20_33_25_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/32/image_21022025_20_32_55_10429.jpg
/home/pi/Desktop/images/21022025/20/32/image_21022025_20_33_05_10360.jpg
/home/pi/Desktop/images/21022025/20/33/image_21022025_20_33_25_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338903622","1338903618","1338903620"],"photo_ids_order":["1338903618","1338903620","1338903622"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/22e6ffebde1bea85f8719a1865412b41.jpg","text":"TemporaryFile(/tmp/multipartBody2038300409210209466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166473352,"filename":"image_21022025_20_33_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c2d43adc9fbc7953959d8c05d6dacaf9.jpg","text":"TemporaryFile(/tmp/multipartBody291889036551711807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166473352,"filename":"image_21022025_20_32_55_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0b5c09e513675832e0c5afe32086156d.jpg","text":"TemporaryFile(/tmp/multipartBody2997796479106325054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166473352,"filename":"image_21022025_20_33_05_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338903622","file1":"1338903620","file0":"1338903618"},"map_files_photo_id_array":[{"photo_id":"1338903622","filename":"file2"},{"photo_id":"1338903620","filename":"file1"},{"photo_id":"1338903618","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338903622":["hashtag1","hashtag2"]},{"1338903618":["hashtag1","hashtag2"]},{"1338903620":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338903622, 1338903618, 1338903620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.156497716903687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:34:03.692086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/44/image_20022025_20_45_06_10403.jpg', '/home/pi/Desktop/images/20022025/20/45/image_20022025_20_45_16_9367.jpg', '/home/pi/Desktop/images/20022025/20/45/image_20022025_20_45_26_10343.jpg', '/home/pi/Desktop/images/20022025/20/45/image_20022025_20_45_36_9419.jpg', '/home/pi/Desktop/images/20022025/20/45/image_20022025_20_45_46_10324.jpg', '/home/pi/Desktop/images/20022025/20/45/image_20022025_20_45_56_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/44/image_20022025_20_45_06_10403.jpg
/home/pi/Desktop/images/20022025/20/45/image_20022025_20_45_16_9367.jpg
/home/pi/Desktop/images/20022025/20/45/image_20022025_20_45_26_10343.jpg
/home/pi/Desktop/images/20022025/20/45/image_20022025_20_45_36_9419.jpg
/home/pi/Desktop/images/20022025/20/45/image_20022025_20_45_46_10324.jpg
/home/pi/Desktop/images/20022025/20/45/image_20022025_20_45_56_10451.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338903715","1338903817","1338903717","1338903779","1338903800","1338903739"],"photo_ids_order":["1338903715","1338903717","1338903739","1338903779","1338903800","1338903817"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/afe06223032493b0f942a17d160b507c.jpg","text":"TemporaryFile(/tmp/multipartBody3749432031866352786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166505059,"filename":"image_20022025_20_45_06_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8ca0848685c3b8feb205aa3da7903553.jpg","text":"TemporaryFile(/tmp/multipartBody8398139355031518225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166505059,"filename":"image_20022025_20_45_56_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3ef0b6119ea6eea95d5f1a3f72f6799c.jpg","text":"TemporaryFile(/tmp/multipartBody3211718734114711957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166505059,"filename":"image_20022025_20_45_16_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ab0505fc2b43a9e348389dd55e5184f.jpg","text":"TemporaryFile(/tmp/multipartBody6758983645523809237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166505059,"filename":"image_20022025_20_45_36_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/804d2cb75dd34c05a3e22ceda3a3df4b.jpg","text":"TemporaryFile(/tmp/multipartBody7252039609295048798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166505059,"filename":"image_20022025_20_45_46_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c35c6847e470678a3103b2590856126a.jpg","text":"TemporaryFile(/tmp/multipartBody4720470581511615768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166505059,"filename":"image_20022025_20_45_26_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338903739","file1":"1338903717","file0":"1338903715","file4":"1338903800","file5":"1338903817","file3":"1338903779"},"map_files_photo_id_array":[{"photo_id":"1338903817","filename":"file5"},{"photo_id":"1338903739","filename":"file2"},{"photo_id":"1338903800","filename":"file4"},{"photo_id":"1338903717","filename":"file1"},{"photo_id":"1338903715","filename":"file0"},{"photo_id":"1338903779","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338903715":["hashtag1","hashtag2"]},{"1338903817":["hashtag1","hashtag2"]},{"1338903717":["hashtag1","hashtag2"]},{"1338903779":["hashtag1","hashtag2"]},{"1338903800":["hashtag1","hashtag2"]},{"1338903739":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338903715, 1338903817, 1338903717, 1338903779, 1338903800, 1338903739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.30012822151184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:34:43.071093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/33/image_21022025_20_33_55_10353.jpg', '/home/pi/Desktop/images/21022025/20/33/image_21022025_20_34_04_9400.jpg', '/home/pi/Desktop/images/21022025/20/34/image_21022025_20_34_25_10359.jpg', '/home/pi/Desktop/images/21022025/20/34/image_21022025_20_34_35_9386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/33/image_21022025_20_33_55_10353.jpg
/home/pi/Desktop/images/21022025/20/33/image_21022025_20_34_04_9400.jpg
/home/pi/Desktop/images/21022025/20/34/image_21022025_20_34_25_10359.jpg
/home/pi/Desktop/images/21022025/20/34/image_21022025_20_34_35_9386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338903870","1338903872","1338903869","1338903874"],"photo_ids_order":["1338903869","1338903870","1338903872","1338903874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/51b99e5658726db353ebc060ca7a1eae.jpg","text":"TemporaryFile(/tmp/multipartBody9026440738217282860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166543517,"filename":"image_21022025_20_34_04_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a3abb26c224895dd6fb37cd0716f4fdc.jpg","text":"TemporaryFile(/tmp/multipartBody8057405270897302272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166543517,"filename":"image_21022025_20_34_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9385972b99860cd2d9c99a47ab65b97b.jpg","text":"TemporaryFile(/tmp/multipartBody5105663271728054290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166543517,"filename":"image_21022025_20_33_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/57126ad2547681c17afded699ae68bb7.jpg","text":"TemporaryFile(/tmp/multipartBody7020165640097632210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166543517,"filename":"image_21022025_20_34_35_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338903872","file1":"1338903870","file0":"1338903869","file3":"1338903874"},"map_files_photo_id_array":[{"photo_id":"1338903872","filename":"file2"},{"photo_id":"1338903870","filename":"file1"},{"photo_id":"1338903869","filename":"file0"},{"photo_id":"1338903874","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338903870":["hashtag1","hashtag2"]},{"1338903872":["hashtag1","hashtag2"]},{"1338903869":["hashtag1","hashtag2"]},{"1338903874":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338903870, 1338903872, 1338903869, 1338903874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.30635094642639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:35:32.256160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/34/image_21022025_20_34_45_10363.jpg', '/home/pi/Desktop/images/21022025/20/34/image_21022025_20_35_05_10342.jpg', '/home/pi/Desktop/images/21022025/20/35/image_21022025_20_35_15_10368.jpg', '/home/pi/Desktop/images/21022025/20/35/image_21022025_20_35_24_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/34/image_21022025_20_34_45_10363.jpg
/home/pi/Desktop/images/21022025/20/34/image_21022025_20_35_05_10342.jpg
/home/pi/Desktop/images/21022025/20/35/image_21022025_20_35_15_10368.jpg
/home/pi/Desktop/images/21022025/20/35/image_21022025_20_35_24_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338904029","1338904031","1338904024","1338904027"],"photo_ids_order":["1338904024","1338904027","1338904029","1338904031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04a199ad26a51822caa8e7716aacc0d6.jpg","text":"TemporaryFile(/tmp/multipartBody3009380316287465611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166592701,"filename":"image_21022025_20_35_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4c1886b503cdf840d1717b568e4fbd0f.jpg","text":"TemporaryFile(/tmp/multipartBody462988759639731572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166592701,"filename":"image_21022025_20_35_24_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e1742dc866a8a8fe73bfda1ae30ee7b.jpg","text":"TemporaryFile(/tmp/multipartBody196099288069726756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166592701,"filename":"image_21022025_20_34_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ffb14855614a4ae315c4801c9f249428.jpg","text":"TemporaryFile(/tmp/multipartBody4939592205818558547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166592701,"filename":"image_21022025_20_35_05_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338904029","file1":"1338904027","file0":"1338904024","file3":"1338904031"},"map_files_photo_id_array":[{"photo_id":"1338904029","filename":"file2"},{"photo_id":"1338904027","filename":"file1"},{"photo_id":"1338904024","filename":"file0"},{"photo_id":"1338904031","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338904029":["hashtag1","hashtag2"]},{"1338904031":["hashtag1","hashtag2"]},{"1338904024":["hashtag1","hashtag2"]},{"1338904027":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338904029, 1338904031, 1338904024, 1338904027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.42667245864868 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:36:03.096376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/45/image_20022025_20_46_06_9341.jpg', '/home/pi/Desktop/images/20022025/20/46/image_20022025_20_46_16_10329.jpg', '/home/pi/Desktop/images/20022025/20/46/image_20022025_20_46_36_9408.jpg', '/home/pi/Desktop/images/20022025/20/46/image_20022025_20_46_46_10324.jpg', '/home/pi/Desktop/images/20022025/20/46/image_20022025_20_46_56_9471.jpg', '/home/pi/Desktop/images/20022025/20/46/image_20022025_20_47_06_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/45/image_20022025_20_46_06_9341.jpg
/home/pi/Desktop/images/20022025/20/46/image_20022025_20_46_16_10329.jpg
/home/pi/Desktop/images/20022025/20/46/image_20022025_20_46_36_9408.jpg
/home/pi/Desktop/images/20022025/20/46/image_20022025_20_46_46_10324.jpg
/home/pi/Desktop/images/20022025/20/46/image_20022025_20_46_56_9471.jpg
/home/pi/Desktop/images/20022025/20/46/image_20022025_20_47_06_10358.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338904065","1338904047","1338904035","1338904070","1338904051","1338904033"],"photo_ids_order":["1338904033","1338904035","1338904047","1338904051","1338904065","1338904070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3cd609ca72a67e9d34cb32b7bc6139e1.jpg","text":"TemporaryFile(/tmp/multipartBody5040260971761098549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166624488,"filename":"image_20022025_20_46_56_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/acfd6a5e4c057661692c924044dc6a6d.jpg","text":"TemporaryFile(/tmp/multipartBody225563220517274109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166624488,"filename":"image_20022025_20_46_36_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9903fd26b2beff2203aab95087916640.jpg","text":"TemporaryFile(/tmp/multipartBody2591028327936540352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166624488,"filename":"image_20022025_20_46_16_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/228bd19c1f4768731b4fee2912442755.jpg","text":"TemporaryFile(/tmp/multipartBody4904849637908430480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166624488,"filename":"image_20022025_20_47_06_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/753778c9fde6671964e333fba4215807.jpg","text":"TemporaryFile(/tmp/multipartBody1576490778051673607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166624488,"filename":"image_20022025_20_46_46_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2df512f29c35e292d030eafbae8efeee.jpg","text":"TemporaryFile(/tmp/multipartBody8751418150799748451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166624488,"filename":"image_20022025_20_46_06_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338904047","file1":"1338904035","file0":"1338904033","file4":"1338904065","file5":"1338904070","file3":"1338904051"},"map_files_photo_id_array":[{"photo_id":"1338904070","filename":"file5"},{"photo_id":"1338904047","filename":"file2"},{"photo_id":"1338904065","filename":"file4"},{"photo_id":"1338904035","filename":"file1"},{"photo_id":"1338904033","filename":"file0"},{"photo_id":"1338904051","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338904065":["hashtag1","hashtag2"]},{"1338904047":["hashtag1","hashtag2"]},{"1338904035":["hashtag1","hashtag2"]},{"1338904070":["hashtag1","hashtag2"]},{"1338904051":["hashtag1","hashtag2"]},{"1338904033":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338904065, 1338904047, 1338904035, 1338904070, 1338904051, 1338904033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71260595321655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:36:42.570680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/35/image_21022025_20_35_55_9452.jpg', '/home/pi/Desktop/images/21022025/20/35/image_21022025_20_36_05_10397.jpg', '/home/pi/Desktop/images/21022025/20/36/image_21022025_20_36_15_9432.jpg', '/home/pi/Desktop/images/21022025/20/36/image_21022025_20_36_25_10410.jpg', '/home/pi/Desktop/images/21022025/20/36/image_21022025_20_36_35_10393.jpg', '/home/pi/Desktop/images/21022025/20/36/image_21022025_20_36_45_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/35/image_21022025_20_35_55_9452.jpg
/home/pi/Desktop/images/21022025/20/35/image_21022025_20_36_05_10397.jpg
/home/pi/Desktop/images/21022025/20/36/image_21022025_20_36_15_9432.jpg
/home/pi/Desktop/images/21022025/20/36/image_21022025_20_36_25_10410.jpg
/home/pi/Desktop/images/21022025/20/36/image_21022025_20_36_35_10393.jpg
/home/pi/Desktop/images/21022025/20/36/image_21022025_20_36_45_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338904092","1338904119","1338904094","1338904121","1338904123","1338904126"],"photo_ids_order":["1338904092","1338904094","1338904119","1338904121","1338904123","1338904126"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1cf1d7fe5de555d6ae61527d44d51f34.jpg","text":"TemporaryFile(/tmp/multipartBody1927816045021472587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166663062,"filename":"image_21022025_20_35_55_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/44d3ff52c626806ad294c6f849e5537c.jpg","text":"TemporaryFile(/tmp/multipartBody3092321163696615328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166663062,"filename":"image_21022025_20_36_15_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef201be8c1e5ffe542aeaa16f29ae5e8.jpg","text":"TemporaryFile(/tmp/multipartBody3637133037187173050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166663062,"filename":"image_21022025_20_36_05_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1082b1d9f0d49db336ea07559e4e92d4.jpg","text":"TemporaryFile(/tmp/multipartBody4059547756866883316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166663062,"filename":"image_21022025_20_36_25_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/11a0c4c67efbee279971c967321753a9.jpg","text":"TemporaryFile(/tmp/multipartBody2265800171485975292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166663062,"filename":"image_21022025_20_36_35_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae3ed1bc0d599b6f8b1ba4e3543e05fa.jpg","text":"TemporaryFile(/tmp/multipartBody3822401194145819366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166663062,"filename":"image_21022025_20_36_45_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338904119","file1":"1338904094","file0":"1338904092","file4":"1338904123","file5":"1338904126","file3":"1338904121"},"map_files_photo_id_array":[{"photo_id":"1338904126","filename":"file5"},{"photo_id":"1338904119","filename":"file2"},{"photo_id":"1338904123","filename":"file4"},{"photo_id":"1338904094","filename":"file1"},{"photo_id":"1338904092","filename":"file0"},{"photo_id":"1338904121","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338904092":["hashtag1","hashtag2"]},{"1338904119":["hashtag1","hashtag2"]},{"1338904094":["hashtag1","hashtag2"]},{"1338904121":["hashtag1","hashtag2"]},{"1338904123":["hashtag1","hashtag2"]},{"1338904126":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338904092, 1338904119, 1338904094, 1338904121, 1338904123, 1338904126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59859871864319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:37:32.771768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/36/image_21022025_20_36_55_10353.jpg', '/home/pi/Desktop/images/21022025/20/36/image_21022025_20_37_04_9329.jpg', '/home/pi/Desktop/images/21022025/20/37/image_21022025_20_37_15_10363.jpg', '/home/pi/Desktop/images/21022025/20/37/image_21022025_20_37_25_10384.jpg', '/home/pi/Desktop/images/21022025/20/37/image_21022025_20_37_35_9335.jpg', '/home/pi/Desktop/images/21022025/20/37/image_21022025_20_37_45_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/36/image_21022025_20_36_55_10353.jpg
/home/pi/Desktop/images/21022025/20/36/image_21022025_20_37_04_9329.jpg
/home/pi/Desktop/images/21022025/20/37/image_21022025_20_37_15_10363.jpg
/home/pi/Desktop/images/21022025/20/37/image_21022025_20_37_25_10384.jpg
/home/pi/Desktop/images/21022025/20/37/image_21022025_20_37_35_9335.jpg
/home/pi/Desktop/images/21022025/20/37/image_21022025_20_37_45_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338904146","1338904142","1338904139","1338904148","1338904141","1338904144"],"photo_ids_order":["1338904139","1338904141","1338904142","1338904144","1338904146","1338904148"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/64d2eb5256cf31c28775650eb704cfcb.jpg","text":"TemporaryFile(/tmp/multipartBody1041236074077234140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166713234,"filename":"image_21022025_20_37_35_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/13b647ffdd52b9fe675ca029c3e40899.jpg","text":"TemporaryFile(/tmp/multipartBody622456733015156806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166713234,"filename":"image_21022025_20_37_15_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/03cfda5209a7ecd0ba609c0ed9bf91fc.jpg","text":"TemporaryFile(/tmp/multipartBody106300536752456573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166713234,"filename":"image_21022025_20_36_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/77132fdad9dcf8ac57f4864682ef6631.jpg","text":"TemporaryFile(/tmp/multipartBody7896929152450519211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166713234,"filename":"image_21022025_20_37_45_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a85383f36f9fffef0cca04a658921c4a.jpg","text":"TemporaryFile(/tmp/multipartBody2289550504656901677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166713234,"filename":"image_21022025_20_37_04_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7427e67b197edd395c06d560ffeb8359.jpg","text":"TemporaryFile(/tmp/multipartBody615195227220141530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166713234,"filename":"image_21022025_20_37_25_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338904142","file1":"1338904141","file0":"1338904139","file4":"1338904146","file5":"1338904148","file3":"1338904144"},"map_files_photo_id_array":[{"photo_id":"1338904148","filename":"file5"},{"photo_id":"1338904142","filename":"file2"},{"photo_id":"1338904146","filename":"file4"},{"photo_id":"1338904141","filename":"file1"},{"photo_id":"1338904139","filename":"file0"},{"photo_id":"1338904144","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338904146":["hashtag1","hashtag2"]},{"1338904142":["hashtag1","hashtag2"]},{"1338904139":["hashtag1","hashtag2"]},{"1338904148":["hashtag1","hashtag2"]},{"1338904141":["hashtag1","hashtag2"]},{"1338904144":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338904146, 1338904142, 1338904139, 1338904148, 1338904141, 1338904144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08518958091736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:38:32.840674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/37/image_21022025_20_37_55_10381.jpg', '/home/pi/Desktop/images/21022025/20/37/image_21022025_20_38_05_9375.jpg', '/home/pi/Desktop/images/21022025/20/38/image_21022025_20_38_15_10439.jpg', '/home/pi/Desktop/images/21022025/20/38/image_21022025_20_38_24_9336.jpg', '/home/pi/Desktop/images/21022025/20/38/image_21022025_20_38_35_10346.jpg', '/home/pi/Desktop/images/21022025/20/38/image_21022025_20_38_45_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/37/image_21022025_20_37_55_10381.jpg
/home/pi/Desktop/images/21022025/20/37/image_21022025_20_38_05_9375.jpg
/home/pi/Desktop/images/21022025/20/38/image_21022025_20_38_15_10439.jpg
/home/pi/Desktop/images/21022025/20/38/image_21022025_20_38_24_9336.jpg
/home/pi/Desktop/images/21022025/20/38/image_21022025_20_38_35_10346.jpg
/home/pi/Desktop/images/21022025/20/38/image_21022025_20_38_45_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338904181","1338904169","1338904184","1338904186","1338904174","1338904162"],"photo_ids_order":["1338904162","1338904169","1338904174","1338904181","1338904184","1338904186"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8ffb2f4d51a8c187a3c6dae2317257e0.jpg","text":"TemporaryFile(/tmp/multipartBody8829513037794172362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166773315,"filename":"image_21022025_20_38_24_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/11af021b3df33fd7e24abfadc66ce17e.jpg","text":"TemporaryFile(/tmp/multipartBody1143262883412397550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166773315,"filename":"image_21022025_20_38_05_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1bce0896b50e1153f2816154970935de.jpg","text":"TemporaryFile(/tmp/multipartBody6152746449214303213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166773315,"filename":"image_21022025_20_38_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ee17598b54faf8b87997a5f948fec8ff.jpg","text":"TemporaryFile(/tmp/multipartBody1569902838508127841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166773315,"filename":"image_21022025_20_38_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5891b5650ebbd1bbb5959953aed82bd0.jpg","text":"TemporaryFile(/tmp/multipartBody1698838403633727798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166773315,"filename":"image_21022025_20_38_15_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4cb97d883e1d52ab0953a9dbb108aacf.jpg","text":"TemporaryFile(/tmp/multipartBody5303486986359052972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166773315,"filename":"image_21022025_20_37_55_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338904174","file1":"1338904169","file0":"1338904162","file4":"1338904184","file5":"1338904186","file3":"1338904181"},"map_files_photo_id_array":[{"photo_id":"1338904186","filename":"file5"},{"photo_id":"1338904174","filename":"file2"},{"photo_id":"1338904184","filename":"file4"},{"photo_id":"1338904169","filename":"file1"},{"photo_id":"1338904162","filename":"file0"},{"photo_id":"1338904181","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338904181":["hashtag1","hashtag2"]},{"1338904169":["hashtag1","hashtag2"]},{"1338904184":["hashtag1","hashtag2"]},{"1338904186":["hashtag1","hashtag2"]},{"1338904174":["hashtag1","hashtag2"]},{"1338904162":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338904181, 1338904169, 1338904184, 1338904186, 1338904174, 1338904162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.70239806175232 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:39:33.125930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/38/image_21022025_20_38_55_9357.jpg', '/home/pi/Desktop/images/21022025/20/38/image_21022025_20_39_05_10336.jpg', '/home/pi/Desktop/images/21022025/20/39/image_21022025_20_39_15_10334.jpg', '/home/pi/Desktop/images/21022025/20/39/image_21022025_20_39_25_9344.jpg', '/home/pi/Desktop/images/21022025/20/39/image_21022025_20_39_35_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/38/image_21022025_20_38_55_9357.jpg
/home/pi/Desktop/images/21022025/20/38/image_21022025_20_39_05_10336.jpg
/home/pi/Desktop/images/21022025/20/39/image_21022025_20_39_15_10334.jpg
/home/pi/Desktop/images/21022025/20/39/image_21022025_20_39_25_9344.jpg
/home/pi/Desktop/images/21022025/20/39/image_21022025_20_39_35_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338904379","1338904382","1338904265","1338904244","1338904387"],"photo_ids_order":["1338904244","1338904265","1338904379","1338904382","1338904387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32c3dc200256f32c10e3d5b30c78bd08.jpg","text":"TemporaryFile(/tmp/multipartBody4928601301158247565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166833584,"filename":"image_21022025_20_39_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd5ed83c0737520a727226b8ced590fb.jpg","text":"TemporaryFile(/tmp/multipartBody3856529172179100813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166833584,"filename":"image_21022025_20_39_25_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/54ebb5fd93b295b47e528954c0e73efb.jpg","text":"TemporaryFile(/tmp/multipartBody7791365873539589568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166833584,"filename":"image_21022025_20_39_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/650a65d41bef014b630f9c77e2807966.jpg","text":"TemporaryFile(/tmp/multipartBody4545058945573279173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166833584,"filename":"image_21022025_20_38_55_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/edbc112e1e483dd7541e4e14859b57f0.jpg","text":"TemporaryFile(/tmp/multipartBody4541128980138815361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166833584,"filename":"image_21022025_20_39_35_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338904379","file1":"1338904265","file0":"1338904244","file4":"1338904387","file3":"1338904382"},"map_files_photo_id_array":[{"photo_id":"1338904379","filename":"file2"},{"photo_id":"1338904387","filename":"file4"},{"photo_id":"1338904265","filename":"file1"},{"photo_id":"1338904244","filename":"file0"},{"photo_id":"1338904382","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338904379":["hashtag1","hashtag2"]},{"1338904382":["hashtag1","hashtag2"]},{"1338904265":["hashtag1","hashtag2"]},{"1338904244":["hashtag1","hashtag2"]},{"1338904387":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338904379, 1338904382, 1338904265, 1338904244, 1338904387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.568689107894897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:40:03.265341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/47/image_20022025_20_47_36_10334.jpg', '/home/pi/Desktop/images/20022025/20/47/image_20022025_20_47_46_10323.jpg', '/home/pi/Desktop/images/20022025/20/47/image_20022025_20_47_56_9339.jpg', '/home/pi/Desktop/images/20022025/20/47/image_20022025_20_48_06_10396.jpg', '/home/pi/Desktop/images/20022025/20/48/image_20022025_20_48_16_9439.jpg', '/home/pi/Desktop/images/20022025/20/48/image_20022025_20_48_46_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/47/image_20022025_20_47_36_10334.jpg
/home/pi/Desktop/images/20022025/20/47/image_20022025_20_47_46_10323.jpg
/home/pi/Desktop/images/20022025/20/47/image_20022025_20_47_56_9339.jpg
/home/pi/Desktop/images/20022025/20/47/image_20022025_20_48_06_10396.jpg
/home/pi/Desktop/images/20022025/20/48/image_20022025_20_48_16_9439.jpg
/home/pi/Desktop/images/20022025/20/48/image_20022025_20_48_46_9393.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.3978338241577148 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:40:32.486273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/39/image_21022025_20_39_45_10436.jpg', '/home/pi/Desktop/images/21022025/20/39/image_21022025_20_40_05_10390.jpg', '/home/pi/Desktop/images/21022025/20/40/image_21022025_20_40_14_9353.jpg', '/home/pi/Desktop/images/21022025/20/40/image_21022025_20_40_25_10351.jpg', '/home/pi/Desktop/images/21022025/20/40/image_21022025_20_40_45_9476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/39/image_21022025_20_39_45_10436.jpg
/home/pi/Desktop/images/21022025/20/39/image_21022025_20_40_05_10390.jpg
/home/pi/Desktop/images/21022025/20/40/image_21022025_20_40_14_9353.jpg
/home/pi/Desktop/images/21022025/20/40/image_21022025_20_40_25_10351.jpg
/home/pi/Desktop/images/21022025/20/40/image_21022025_20_40_45_9476.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338905453","1338905312","1338905455","1338905458","1338905397"],"photo_ids_order":["1338905312","1338905397","1338905453","1338905455","1338905458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/de70e6991cb6b5cd4c641ac4610cb2a4.jpg","text":"TemporaryFile(/tmp/multipartBody24477065111828200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166892941,"filename":"image_21022025_20_40_14_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cedd481e9874d9cad969c592d520c14b.jpg","text":"TemporaryFile(/tmp/multipartBody4967462357536619173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166892941,"filename":"image_21022025_20_39_45_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/de67a6d324c72c1b924a220486b1d7ec.jpg","text":"TemporaryFile(/tmp/multipartBody9069679633470542297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166892941,"filename":"image_21022025_20_40_25_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c3aa67581aeba5db2e6a98494a0d5d36.jpg","text":"TemporaryFile(/tmp/multipartBody3820600603721511028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166892941,"filename":"image_21022025_20_40_45_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1d6e424bff0cc416513693579b9ad2c.jpg","text":"TemporaryFile(/tmp/multipartBody7790670479339590034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166892941,"filename":"image_21022025_20_40_05_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338905453","file1":"1338905397","file0":"1338905312","file4":"1338905458","file3":"1338905455"},"map_files_photo_id_array":[{"photo_id":"1338905453","filename":"file2"},{"photo_id":"1338905458","filename":"file4"},{"photo_id":"1338905397","filename":"file1"},{"photo_id":"1338905312","filename":"file0"},{"photo_id":"1338905455","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338905453":["hashtag1","hashtag2"]},{"1338905312":["hashtag1","hashtag2"]},{"1338905455":["hashtag1","hashtag2"]},{"1338905458":["hashtag1","hashtag2"]},{"1338905397":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338905453, 1338905312, 1338905455, 1338905458, 1338905397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.108025312423706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:41:04.417756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/47/image_20022025_20_47_36_10334.jpg', '/home/pi/Desktop/images/20022025/20/47/image_20022025_20_47_46_10323.jpg', '/home/pi/Desktop/images/20022025/20/47/image_20022025_20_47_56_9339.jpg', '/home/pi/Desktop/images/20022025/20/47/image_20022025_20_48_06_10396.jpg', '/home/pi/Desktop/images/20022025/20/48/image_20022025_20_48_16_9439.jpg', '/home/pi/Desktop/images/20022025/20/48/image_20022025_20_48_46_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/47/image_20022025_20_47_36_10334.jpg
/home/pi/Desktop/images/20022025/20/47/image_20022025_20_47_46_10323.jpg
/home/pi/Desktop/images/20022025/20/47/image_20022025_20_47_56_9339.jpg
/home/pi/Desktop/images/20022025/20/47/image_20022025_20_48_06_10396.jpg
/home/pi/Desktop/images/20022025/20/48/image_20022025_20_48_16_9439.jpg
/home/pi/Desktop/images/20022025/20/48/image_20022025_20_48_46_9393.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338905471","1338905473","1338905463","1338905466","1338905475","1338905469"],"photo_ids_order":["1338905463","1338905466","1338905469","1338905471","1338905473","1338905475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d7c1112307c3b1a50a50f9a8e1e4c5b9.jpg","text":"TemporaryFile(/tmp/multipartBody6335769211223260913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166926066,"filename":"image_20022025_20_48_06_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce822bdf90a8e6b722bf0e87f2de9f2e.jpg","text":"TemporaryFile(/tmp/multipartBody4627283072617614026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166926066,"filename":"image_20022025_20_48_16_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa7664f559ac2626a40ae307a683c1b0.jpg","text":"TemporaryFile(/tmp/multipartBody2805994219969305630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166926066,"filename":"image_20022025_20_47_36_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae7f5a73d5048ccea1e0e019ba4a8d07.jpg","text":"TemporaryFile(/tmp/multipartBody6934752470262952081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166926066,"filename":"image_20022025_20_47_46_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9f04d662405dea13d1327ae24d36e4a1.jpg","text":"TemporaryFile(/tmp/multipartBody6510277252645335320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166926066,"filename":"image_20022025_20_48_46_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4cb4d17b1635dd646e34d10dd887ea12.jpg","text":"TemporaryFile(/tmp/multipartBody8818133974615747362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166926066,"filename":"image_20022025_20_47_56_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338905469","file1":"1338905466","file0":"1338905463","file4":"1338905473","file5":"1338905475","file3":"1338905471"},"map_files_photo_id_array":[{"photo_id":"1338905475","filename":"file5"},{"photo_id":"1338905469","filename":"file2"},{"photo_id":"1338905473","filename":"file4"},{"photo_id":"1338905466","filename":"file1"},{"photo_id":"1338905463","filename":"file0"},{"photo_id":"1338905471","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338905471":["hashtag1","hashtag2"]},{"1338905473":["hashtag1","hashtag2"]},{"1338905463":["hashtag1","hashtag2"]},{"1338905466":["hashtag1","hashtag2"]},{"1338905475":["hashtag1","hashtag2"]},{"1338905469":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338905471, 1338905473, 1338905463, 1338905466, 1338905475, 1338905469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09694814682007 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:41:42.772694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/40/image_21022025_20_40_55_10420.jpg', '/home/pi/Desktop/images/21022025/20/40/image_21022025_20_41_05_9407.jpg', '/home/pi/Desktop/images/21022025/20/41/image_21022025_20_41_25_10367.jpg', '/home/pi/Desktop/images/21022025/20/41/image_21022025_20_41_45_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/40/image_21022025_20_40_55_10420.jpg
/home/pi/Desktop/images/21022025/20/40/image_21022025_20_41_05_9407.jpg
/home/pi/Desktop/images/21022025/20/41/image_21022025_20_41_25_10367.jpg
/home/pi/Desktop/images/21022025/20/41/image_21022025_20_41_45_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338905477","1338905516","1338905572","1338905575"],"photo_ids_order":["1338905477","1338905516","1338905572","1338905575"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a77f59d0e42721fa62538c65e68c9eb9.jpg","text":"TemporaryFile(/tmp/multipartBody1485704825900546897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166963228,"filename":"image_21022025_20_40_55_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e0c65f12de8cdcefd5523514031fb509.jpg","text":"TemporaryFile(/tmp/multipartBody6417126741192328597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166963228,"filename":"image_21022025_20_41_05_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83a363a74b246d1bcd1c3ad019ce3346.jpg","text":"TemporaryFile(/tmp/multipartBody951072915496003397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166963228,"filename":"image_21022025_20_41_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e0df68c725594364b34603d1d86d2998.jpg","text":"TemporaryFile(/tmp/multipartBody1108038855924264495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740166963228,"filename":"image_21022025_20_41_45_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338905572","file1":"1338905516","file0":"1338905477","file3":"1338905575"},"map_files_photo_id_array":[{"photo_id":"1338905572","filename":"file2"},{"photo_id":"1338905516","filename":"file1"},{"photo_id":"1338905477","filename":"file0"},{"photo_id":"1338905575","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338905477":["hashtag1","hashtag2"]},{"1338905516":["hashtag1","hashtag2"]},{"1338905572":["hashtag1","hashtag2"]},{"1338905575":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338905477, 1338905516, 1338905572, 1338905575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.60753345489502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:42:32.918383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/41/image_21022025_20_41_54_9350.jpg', '/home/pi/Desktop/images/21022025/20/41/image_21022025_20_42_05_10444.jpg', '/home/pi/Desktop/images/21022025/20/42/image_21022025_20_42_15_10381.jpg', '/home/pi/Desktop/images/21022025/20/42/image_21022025_20_42_25_9341.jpg', '/home/pi/Desktop/images/21022025/20/42/image_21022025_20_42_35_10394.jpg', '/home/pi/Desktop/images/21022025/20/42/image_21022025_20_42_44_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/41/image_21022025_20_41_54_9350.jpg
/home/pi/Desktop/images/21022025/20/41/image_21022025_20_42_05_10444.jpg
/home/pi/Desktop/images/21022025/20/42/image_21022025_20_42_15_10381.jpg
/home/pi/Desktop/images/21022025/20/42/image_21022025_20_42_25_9341.jpg
/home/pi/Desktop/images/21022025/20/42/image_21022025_20_42_35_10394.jpg
/home/pi/Desktop/images/21022025/20/42/image_21022025_20_42_44_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338905594","1338905588","1338905590","1338905593","1338905592","1338905586"],"photo_ids_order":["1338905586","1338905588","1338905590","1338905592","1338905593","1338905594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/41099032081454405397c185b1e9c07d.jpg","text":"TemporaryFile(/tmp/multipartBody913100936520818430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167013407,"filename":"image_21022025_20_42_44_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b10a669bff5f5d28edf3be892efa1a7.jpg","text":"TemporaryFile(/tmp/multipartBody5597547262172337020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167013407,"filename":"image_21022025_20_42_05_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c9cd295b8b67efdef37724fc01a7994.jpg","text":"TemporaryFile(/tmp/multipartBody6225941963658223748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167013407,"filename":"image_21022025_20_42_15_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/49fa0dce6c2722868ec7c385d8a8ab0b.jpg","text":"TemporaryFile(/tmp/multipartBody1717327037155931090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167013407,"filename":"image_21022025_20_42_35_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/73b40c55e00aea684204f5c7f93e3681.jpg","text":"TemporaryFile(/tmp/multipartBody279651834472151784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167013407,"filename":"image_21022025_20_42_25_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/017b04a1eef58a80a82b8e18d567f6a0.jpg","text":"TemporaryFile(/tmp/multipartBody3156208090981091690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167013407,"filename":"image_21022025_20_41_54_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338905590","file1":"1338905588","file0":"1338905586","file4":"1338905593","file5":"1338905594","file3":"1338905592"},"map_files_photo_id_array":[{"photo_id":"1338905594","filename":"file5"},{"photo_id":"1338905590","filename":"file2"},{"photo_id":"1338905593","filename":"file4"},{"photo_id":"1338905588","filename":"file1"},{"photo_id":"1338905586","filename":"file0"},{"photo_id":"1338905592","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338905594":["hashtag1","hashtag2"]},{"1338905588":["hashtag1","hashtag2"]},{"1338905590":["hashtag1","hashtag2"]},{"1338905593":["hashtag1","hashtag2"]},{"1338905592":["hashtag1","hashtag2"]},{"1338905586":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338905594, 1338905588, 1338905590, 1338905593, 1338905592, 1338905586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.587167501449585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:43:33.106483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/42/image_21022025_20_42_55_10512.jpg', '/home/pi/Desktop/images/21022025/20/42/image_21022025_20_43_05_10385.jpg', '/home/pi/Desktop/images/21022025/20/43/image_21022025_20_43_25_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/42/image_21022025_20_42_55_10512.jpg
/home/pi/Desktop/images/21022025/20/42/image_21022025_20_43_05_10385.jpg
/home/pi/Desktop/images/21022025/20/43/image_21022025_20_43_25_10360.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338905607","1338905609","1338905608"],"photo_ids_order":["1338905607","1338905608","1338905609"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32e0dd90193f4dd6fe86caaf33bcd8e6.jpg","text":"TemporaryFile(/tmp/multipartBody3844318168605838306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167073539,"filename":"image_21022025_20_42_55_10512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ec49d4eba1110ca03dde3043b1cf377.jpg","text":"TemporaryFile(/tmp/multipartBody2154542584452931588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167073539,"filename":"image_21022025_20_43_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23c8d24e380a8af485c271ea0aeeffd3.jpg","text":"TemporaryFile(/tmp/multipartBody7816852542951285039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167073539,"filename":"image_21022025_20_43_05_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338905609","file1":"1338905608","file0":"1338905607"},"map_files_photo_id_array":[{"photo_id":"1338905609","filename":"file2"},{"photo_id":"1338905608","filename":"file1"},{"photo_id":"1338905607","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338905607":["hashtag1","hashtag2"]},{"1338905609":["hashtag1","hashtag2"]},{"1338905608":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338905607, 1338905609, 1338905608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 17.924619674682617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:43:53.071904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/48/image_20022025_20_48_56_10342.jpg', '/home/pi/Desktop/images/20022025/20/49/image_20022025_20_49_16_9320.jpg', '/home/pi/Desktop/images/20022025/20/49/image_20022025_20_49_36_10376.jpg', '/home/pi/Desktop/images/20022025/20/49/image_20022025_20_49_56_10392.jpg', '/home/pi/Desktop/images/20022025/20/49/image_20022025_20_50_06_9427.jpg', '/home/pi/Desktop/images/20022025/20/50/image_20022025_20_50_16_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/48/image_20022025_20_48_56_10342.jpg
/home/pi/Desktop/images/20022025/20/49/image_20022025_20_49_16_9320.jpg
/home/pi/Desktop/images/20022025/20/49/image_20022025_20_49_36_10376.jpg
/home/pi/Desktop/images/20022025/20/49/image_20022025_20_49_56_10392.jpg
/home/pi/Desktop/images/20022025/20/49/image_20022025_20_50_06_9427.jpg
/home/pi/Desktop/images/20022025/20/50/image_20022025_20_50_16_10354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338905642","1338905639","1338905650","1338905647","1338905644","1338905652"],"photo_ids_order":["1338905639","1338905642","1338905644","1338905647","1338905650","1338905652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ad629229913736a7dfd847ae16dbe3e3.jpg","text":"TemporaryFile(/tmp/multipartBody8234708635902643656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167095181,"filename":"image_20022025_20_49_16_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81ad57eba741113c5e0ab636abf12fd1.jpg","text":"TemporaryFile(/tmp/multipartBody879790029094093105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167095181,"filename":"image_20022025_20_48_56_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c8f8796041e38b6d81ecee365a5cea0.jpg","text":"TemporaryFile(/tmp/multipartBody7009871451789003562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167095181,"filename":"image_20022025_20_50_06_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1c06be66e5ebbf871679f9371aef5f9.jpg","text":"TemporaryFile(/tmp/multipartBody3235620075190106907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167095181,"filename":"image_20022025_20_49_56_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e5ca8eea070cf153760f503fdc820ab.jpg","text":"TemporaryFile(/tmp/multipartBody3659386286684434437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167095181,"filename":"image_20022025_20_49_36_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6bd5211f9a0ff8bafd1b638eefc10163.jpg","text":"TemporaryFile(/tmp/multipartBody4987083477186515457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167095181,"filename":"image_20022025_20_50_16_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338905644","file1":"1338905642","file0":"1338905639","file4":"1338905650","file5":"1338905652","file3":"1338905647"},"map_files_photo_id_array":[{"photo_id":"1338905652","filename":"file5"},{"photo_id":"1338905644","filename":"file2"},{"photo_id":"1338905650","filename":"file4"},{"photo_id":"1338905642","filename":"file1"},{"photo_id":"1338905639","filename":"file0"},{"photo_id":"1338905647","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338905642":["hashtag1","hashtag2"]},{"1338905639":["hashtag1","hashtag2"]},{"1338905650":["hashtag1","hashtag2"]},{"1338905647":["hashtag1","hashtag2"]},{"1338905644":["hashtag1","hashtag2"]},{"1338905652":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338905642, 1338905639, 1338905650, 1338905647, 1338905644, 1338905652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.7477285861969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:44:32.298652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/43/image_21022025_20_43_35_9719.jpg', '/home/pi/Desktop/images/21022025/20/44/image_21022025_20_44_35_10360.jpg', '/home/pi/Desktop/images/21022025/20/44/image_21022025_20_44_45_9472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/43/image_21022025_20_43_35_9719.jpg
/home/pi/Desktop/images/21022025/20/44/image_21022025_20_44_35_10360.jpg
/home/pi/Desktop/images/21022025/20/44/image_21022025_20_44_45_9472.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338905665","1338905662","1338905658"],"photo_ids_order":["1338905658","1338905662","1338905665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dfccaffbaef7e41847f84cb09b0d4380.jpg","text":"TemporaryFile(/tmp/multipartBody1163836138108812733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167132736,"filename":"image_21022025_20_44_45_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0d8038e88378104e4b68ff08cdd0686a.jpg","text":"TemporaryFile(/tmp/multipartBody4938324761122703073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167132736,"filename":"image_21022025_20_44_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4de226df9e2cb1f48d8cd1d097f0a4e8.jpg","text":"TemporaryFile(/tmp/multipartBody1567950945560618580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167132736,"filename":"image_21022025_20_43_35_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338905665","file1":"1338905662","file0":"1338905658"},"map_files_photo_id_array":[{"photo_id":"1338905665","filename":"file2"},{"photo_id":"1338905662","filename":"file1"},{"photo_id":"1338905658","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338905665":["hashtag1","hashtag2"]},{"1338905662":["hashtag1","hashtag2"]},{"1338905658":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338905665, 1338905662, 1338905658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.689463138580322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:44:52.228086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/50/image_20022025_20_50_26_10341.jpg', '/home/pi/Desktop/images/20022025/20/50/image_20022025_20_50_36_9337.jpg', '/home/pi/Desktop/images/20022025/20/50/image_20022025_20_50_46_10336.jpg', '/home/pi/Desktop/images/20022025/20/50/image_20022025_20_50_56_10354.jpg', '/home/pi/Desktop/images/20022025/20/51/image_20022025_20_51_16_10334.jpg', '/home/pi/Desktop/images/20022025/20/51/image_20022025_20_51_26_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/50/image_20022025_20_50_26_10341.jpg
/home/pi/Desktop/images/20022025/20/50/image_20022025_20_50_36_9337.jpg
/home/pi/Desktop/images/20022025/20/50/image_20022025_20_50_46_10336.jpg
/home/pi/Desktop/images/20022025/20/50/image_20022025_20_50_56_10354.jpg
/home/pi/Desktop/images/20022025/20/51/image_20022025_20_51_16_10334.jpg
/home/pi/Desktop/images/20022025/20/51/image_20022025_20_51_26_10333.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338905672","1338905681","1338905675","1338905677","1338905668","1338905670"],"photo_ids_order":["1338905668","1338905670","1338905672","1338905675","1338905677","1338905681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/39401a0188da5bafa6bd3c2f00e5764e.jpg","text":"TemporaryFile(/tmp/multipartBody4505702102728114010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167154347,"filename":"image_20022025_20_50_46_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/744508dfc5c3e8c12fb584b11eded618.jpg","text":"TemporaryFile(/tmp/multipartBody8537946317595558844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167154347,"filename":"image_20022025_20_51_26_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9dd6abeb23509ab873066c3d890510cf.jpg","text":"TemporaryFile(/tmp/multipartBody1529333911420189573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167154347,"filename":"image_20022025_20_50_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/740ca6adb8867bdf043a20ebcffd3ea2.jpg","text":"TemporaryFile(/tmp/multipartBody110467551879683482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167154347,"filename":"image_20022025_20_51_16_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f2d1ce2418f09393d0d1fc680e8f64ac.jpg","text":"TemporaryFile(/tmp/multipartBody1161479733376909286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167154347,"filename":"image_20022025_20_50_26_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2b91ab12c77b6a67cb9bbd37f39d8d16.jpg","text":"TemporaryFile(/tmp/multipartBody5338585754860833135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167154347,"filename":"image_20022025_20_50_36_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338905672","file1":"1338905670","file0":"1338905668","file4":"1338905677","file5":"1338905681","file3":"1338905675"},"map_files_photo_id_array":[{"photo_id":"1338905681","filename":"file5"},{"photo_id":"1338905672","filename":"file2"},{"photo_id":"1338905677","filename":"file4"},{"photo_id":"1338905670","filename":"file1"},{"photo_id":"1338905668","filename":"file0"},{"photo_id":"1338905675","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338905672":["hashtag1","hashtag2"]},{"1338905681":["hashtag1","hashtag2"]},{"1338905675":["hashtag1","hashtag2"]},{"1338905677":["hashtag1","hashtag2"]},{"1338905668":["hashtag1","hashtag2"]},{"1338905670":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338905672, 1338905681, 1338905675, 1338905677, 1338905668, 1338905670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77527642250061 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:45:32.477129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/44/image_21022025_20_44_55_10351.jpg', '/home/pi/Desktop/images/21022025/20/44/image_21022025_20_45_05_10322.jpg', '/home/pi/Desktop/images/21022025/20/45/image_21022025_20_45_15_9414.jpg', '/home/pi/Desktop/images/21022025/20/45/image_21022025_20_45_25_10447.jpg', '/home/pi/Desktop/images/21022025/20/45/image_21022025_20_45_34_9340.jpg', '/home/pi/Desktop/images/21022025/20/45/image_21022025_20_45_45_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/44/image_21022025_20_44_55_10351.jpg
/home/pi/Desktop/images/21022025/20/44/image_21022025_20_45_05_10322.jpg
/home/pi/Desktop/images/21022025/20/45/image_21022025_20_45_15_9414.jpg
/home/pi/Desktop/images/21022025/20/45/image_21022025_20_45_25_10447.jpg
/home/pi/Desktop/images/21022025/20/45/image_21022025_20_45_34_9340.jpg
/home/pi/Desktop/images/21022025/20/45/image_21022025_20_45_45_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338905700","1338905687","1338905689","1338905716","1338905719","1338905704"],"photo_ids_order":["1338905687","1338905689","1338905700","1338905704","1338905716","1338905719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7611814b85b49715f408e28bc85e3b7d.jpg","text":"TemporaryFile(/tmp/multipartBody2851060527306556232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167192945,"filename":"image_21022025_20_45_15_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a005d89a8d850c6f84585d8b768bce0.jpg","text":"TemporaryFile(/tmp/multipartBody1831816456235323403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167192945,"filename":"image_21022025_20_44_55_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/85c1c53655893435d8afe6d09a5029d6.jpg","text":"TemporaryFile(/tmp/multipartBody1666192971531358951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167192945,"filename":"image_21022025_20_45_05_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cff39b4123f5f46c3cd2350f7279b198.jpg","text":"TemporaryFile(/tmp/multipartBody3947885326569546048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167192945,"filename":"image_21022025_20_45_34_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a78f26e9895c64108d05f50df5c470a6.jpg","text":"TemporaryFile(/tmp/multipartBody1591861486115848275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167192945,"filename":"image_21022025_20_45_45_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/69ee8090545dd82abc73ddec87f32940.jpg","text":"TemporaryFile(/tmp/multipartBody8915137978617735704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167192945,"filename":"image_21022025_20_45_25_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338905700","file1":"1338905689","file0":"1338905687","file4":"1338905716","file5":"1338905719","file3":"1338905704"},"map_files_photo_id_array":[{"photo_id":"1338905719","filename":"file5"},{"photo_id":"1338905700","filename":"file2"},{"photo_id":"1338905716","filename":"file4"},{"photo_id":"1338905689","filename":"file1"},{"photo_id":"1338905687","filename":"file0"},{"photo_id":"1338905704","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338905700":["hashtag1","hashtag2"]},{"1338905687":["hashtag1","hashtag2"]},{"1338905689":["hashtag1","hashtag2"]},{"1338905716":["hashtag1","hashtag2"]},{"1338905719":["hashtag1","hashtag2"]},{"1338905704":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338905700, 1338905687, 1338905689, 1338905716, 1338905719, 1338905704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.50014281272888 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:46:32.617570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/45/image_21022025_20_45_55_10440.jpg', '/home/pi/Desktop/images/21022025/20/45/image_21022025_20_46_05_9474.jpg', '/home/pi/Desktop/images/21022025/20/46/image_21022025_20_46_15_10362.jpg', '/home/pi/Desktop/images/21022025/20/46/image_21022025_20_46_24_9368.jpg', '/home/pi/Desktop/images/21022025/20/46/image_21022025_20_46_45_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/45/image_21022025_20_45_55_10440.jpg
/home/pi/Desktop/images/21022025/20/45/image_21022025_20_46_05_9474.jpg
/home/pi/Desktop/images/21022025/20/46/image_21022025_20_46_15_10362.jpg
/home/pi/Desktop/images/21022025/20/46/image_21022025_20_46_24_9368.jpg
/home/pi/Desktop/images/21022025/20/46/image_21022025_20_46_45_10350.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3768131732940674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:46:42.749879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/45/image_21022025_20_45_55_10440.jpg', '/home/pi/Desktop/images/21022025/20/45/image_21022025_20_46_05_9474.jpg', '/home/pi/Desktop/images/21022025/20/46/image_21022025_20_46_15_10362.jpg', '/home/pi/Desktop/images/21022025/20/46/image_21022025_20_46_24_9368.jpg', '/home/pi/Desktop/images/21022025/20/46/image_21022025_20_46_45_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/45/image_21022025_20_45_55_10440.jpg
/home/pi/Desktop/images/21022025/20/45/image_21022025_20_46_05_9474.jpg
/home/pi/Desktop/images/21022025/20/46/image_21022025_20_46_15_10362.jpg
/home/pi/Desktop/images/21022025/20/46/image_21022025_20_46_24_9368.jpg
/home/pi/Desktop/images/21022025/20/46/image_21022025_20_46_45_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338905744","1338905738","1338905746","1338905743","1338905745"],"photo_ids_order":["1338905738","1338905743","1338905744","1338905745","1338905746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/03393a444d6b7c1d7ca3107ac71f9e61.jpg","text":"TemporaryFile(/tmp/multipartBody5216076915778452949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167263252,"filename":"image_21022025_20_46_15_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/64105a068ef3d79c9720773806e48aa8.jpg","text":"TemporaryFile(/tmp/multipartBody3852582174625572344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167263252,"filename":"image_21022025_20_45_55_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/db6c88a63c3875f81d4ed68276e1f330.jpg","text":"TemporaryFile(/tmp/multipartBody7168475569349184478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167263252,"filename":"image_21022025_20_46_45_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/42a50219ef519cf47cd9b7302df4243a.jpg","text":"TemporaryFile(/tmp/multipartBody7013258238199509746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167263252,"filename":"image_21022025_20_46_05_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06dd155c78d48efbc6ef227bfb9dd973.jpg","text":"TemporaryFile(/tmp/multipartBody4249503582187209224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167263252,"filename":"image_21022025_20_46_24_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338905744","file1":"1338905743","file0":"1338905738","file4":"1338905746","file3":"1338905745"},"map_files_photo_id_array":[{"photo_id":"1338905744","filename":"file2"},{"photo_id":"1338905746","filename":"file4"},{"photo_id":"1338905743","filename":"file1"},{"photo_id":"1338905738","filename":"file0"},{"photo_id":"1338905745","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338905744":["hashtag1","hashtag2"]},{"1338905738":["hashtag1","hashtag2"]},{"1338905746":["hashtag1","hashtag2"]},{"1338905743":["hashtag1","hashtag2"]},{"1338905745":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338905744, 1338905738, 1338905746, 1338905743, 1338905745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.0392963886261 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:47:33.013872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/46/image_21022025_20_46_54_9340.jpg', '/home/pi/Desktop/images/21022025/20/47/image_21022025_20_47_15_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/46/image_21022025_20_46_54_9340.jpg
/home/pi/Desktop/images/21022025/20/47/image_21022025_20_47_15_10356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338905758","1338905760"],"photo_ids_order":["1338905758","1338905760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b70cb730b19426e621adbfb96198a83c.jpg","text":"TemporaryFile(/tmp/multipartBody522475014183745200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167313460,"filename":"image_21022025_20_46_54_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/13d6de62959f5e91b22d6fd0d0b36e25.jpg","text":"TemporaryFile(/tmp/multipartBody8840672398461019847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167313460,"filename":"image_21022025_20_47_15_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338905760","file0":"1338905758"},"map_files_photo_id_array":[{"photo_id":"1338905760","filename":"file1"},{"photo_id":"1338905758","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338905758":["hashtag1","hashtag2"]},{"1338905760":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338905758, 1338905760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.823853254318237 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:47:52.942281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/51/image_20022025_20_51_56_9469.jpg', '/home/pi/Desktop/images/20022025/20/51/image_20022025_20_52_06_10340.jpg', '/home/pi/Desktop/images/20022025/20/52/image_20022025_20_52_17_10475.jpg', '/home/pi/Desktop/images/20022025/20/52/image_20022025_20_52_36_10390.jpg', '/home/pi/Desktop/images/20022025/20/52/image_20022025_20_52_46_9413.jpg', '/home/pi/Desktop/images/20022025/20/52/image_20022025_20_52_56_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/51/image_20022025_20_51_56_9469.jpg
/home/pi/Desktop/images/20022025/20/51/image_20022025_20_52_06_10340.jpg
/home/pi/Desktop/images/20022025/20/52/image_20022025_20_52_17_10475.jpg
/home/pi/Desktop/images/20022025/20/52/image_20022025_20_52_36_10390.jpg
/home/pi/Desktop/images/20022025/20/52/image_20022025_20_52_46_9413.jpg
/home/pi/Desktop/images/20022025/20/52/image_20022025_20_52_56_10328.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338905771","1338905776","1338905764","1338905773","1338905769","1338905766"],"photo_ids_order":["1338905764","1338905766","1338905769","1338905771","1338905773","1338905776"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4539f350704909d48d1127a76d293d85.jpg","text":"TemporaryFile(/tmp/multipartBody7903633167322786004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167335081,"filename":"image_20022025_20_52_36_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9295764631bd0c22c0f02aef78198981.jpg","text":"TemporaryFile(/tmp/multipartBody7858978509980877977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167335081,"filename":"image_20022025_20_52_56_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c9edc81b8735f55e8774a7f36633b5a6.jpg","text":"TemporaryFile(/tmp/multipartBody6510669373326407063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167335081,"filename":"image_20022025_20_51_56_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd9f58fa0c5bd8c0eaf72a6e38fc6a40.jpg","text":"TemporaryFile(/tmp/multipartBody8008946590548563171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167335081,"filename":"image_20022025_20_52_46_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aad792e8297a0b5e01042d821eacd6c8.jpg","text":"TemporaryFile(/tmp/multipartBody1337127729946649285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167335081,"filename":"image_20022025_20_52_17_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ae51d37c8b987635f24485c4345b13c.jpg","text":"TemporaryFile(/tmp/multipartBody62960984710391754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167335081,"filename":"image_20022025_20_52_06_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338905769","file1":"1338905766","file0":"1338905764","file4":"1338905773","file5":"1338905776","file3":"1338905771"},"map_files_photo_id_array":[{"photo_id":"1338905776","filename":"file5"},{"photo_id":"1338905769","filename":"file2"},{"photo_id":"1338905773","filename":"file4"},{"photo_id":"1338905766","filename":"file1"},{"photo_id":"1338905764","filename":"file0"},{"photo_id":"1338905771","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338905771":["hashtag1","hashtag2"]},{"1338905776":["hashtag1","hashtag2"]},{"1338905764":["hashtag1","hashtag2"]},{"1338905773":["hashtag1","hashtag2"]},{"1338905769":["hashtag1","hashtag2"]},{"1338905766":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338905771, 1338905776, 1338905764, 1338905773, 1338905769, 1338905766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55865502357483 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:48:33.213847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/47/image_21022025_20_47_55_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/47/image_21022025_20_47_55_10354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338905783"],"photo_id":"1338905783","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/697eaee950b03cb836fe0e2bd1f47b25.jpg","text":"TemporaryFile(/tmp/multipartBody4634696941783774351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167373626,"filename":"image_21022025_20_47_55_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338905783"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338905783"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 9.92069935798645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:48:53.144683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/53/image_20022025_20_53_16_9342.jpg', '/home/pi/Desktop/images/20022025/20/53/image_20022025_20_53_46_10339.jpg', '/home/pi/Desktop/images/20022025/20/53/image_20022025_20_53_56_10337.jpg', '/home/pi/Desktop/images/20022025/20/54/image_20022025_20_54_16_10336.jpg', '/home/pi/Desktop/images/20022025/20/54/image_20022025_20_55_06_9328.jpg', '/home/pi/Desktop/images/20022025/20/55/image_20022025_20_55_16_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/53/image_20022025_20_53_16_9342.jpg
/home/pi/Desktop/images/20022025/20/53/image_20022025_20_53_46_10339.jpg
/home/pi/Desktop/images/20022025/20/53/image_20022025_20_53_56_10337.jpg
/home/pi/Desktop/images/20022025/20/54/image_20022025_20_54_16_10336.jpg
/home/pi/Desktop/images/20022025/20/54/image_20022025_20_55_06_9328.jpg
/home/pi/Desktop/images/20022025/20/55/image_20022025_20_55_16_10333.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.084092378616333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:49:03.719858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 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 628, 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 291, 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 dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:49:32.407574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/48/image_21022025_20_48_45_9416.jpg', '/home/pi/Desktop/images/21022025/20/49/image_21022025_20_49_15_10440.jpg', '/home/pi/Desktop/images/21022025/20/49/image_21022025_20_49_25_10355.jpg', '/home/pi/Desktop/images/21022025/20/49/image_21022025_20_49_35_9480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/48/image_21022025_20_48_45_9416.jpg
/home/pi/Desktop/images/21022025/20/49/image_21022025_20_49_15_10440.jpg
/home/pi/Desktop/images/21022025/20/49/image_21022025_20_49_25_10355.jpg
/home/pi/Desktop/images/21022025/20/49/image_21022025_20_49_35_9480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338905811","1338905814","1338905808","1338905804"],"photo_ids_order":["1338905804","1338905808","1338905811","1338905814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/132ea52041f79111aa2e0aa79127eb82.jpg","text":"TemporaryFile(/tmp/multipartBody506021195401417449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167432852,"filename":"image_21022025_20_49_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/db27fe7a97275198f1fc0e4c6f9d7635.jpg","text":"TemporaryFile(/tmp/multipartBody4623630742797526121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167432852,"filename":"image_21022025_20_49_35_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f86106735d7b9fa4d5f154c747356681.jpg","text":"TemporaryFile(/tmp/multipartBody6062556163368702728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167432852,"filename":"image_21022025_20_49_15_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/20c84de14dc34b9862150d10a773c4f1.jpg","text":"TemporaryFile(/tmp/multipartBody7868087985732054177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167432852,"filename":"image_21022025_20_48_45_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338905811","file1":"1338905808","file0":"1338905804","file3":"1338905814"},"map_files_photo_id_array":[{"photo_id":"1338905811","filename":"file2"},{"photo_id":"1338905808","filename":"file1"},{"photo_id":"1338905804","filename":"file0"},{"photo_id":"1338905814","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338905811":["hashtag1","hashtag2"]},{"1338905814":["hashtag1","hashtag2"]},{"1338905808":["hashtag1","hashtag2"]},{"1338905804":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338905811, 1338905814, 1338905808, 1338905804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.844072580337524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:50:03.391453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/53/image_20022025_20_53_16_9342.jpg', '/home/pi/Desktop/images/20022025/20/53/image_20022025_20_53_46_10339.jpg', '/home/pi/Desktop/images/20022025/20/53/image_20022025_20_53_56_10337.jpg', '/home/pi/Desktop/images/20022025/20/54/image_20022025_20_54_16_10336.jpg', '/home/pi/Desktop/images/20022025/20/54/image_20022025_20_55_06_9328.jpg', '/home/pi/Desktop/images/20022025/20/55/image_20022025_20_55_16_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/53/image_20022025_20_53_16_9342.jpg
/home/pi/Desktop/images/20022025/20/53/image_20022025_20_53_46_10339.jpg
/home/pi/Desktop/images/20022025/20/53/image_20022025_20_53_56_10337.jpg
/home/pi/Desktop/images/20022025/20/54/image_20022025_20_54_16_10336.jpg
/home/pi/Desktop/images/20022025/20/54/image_20022025_20_55_06_9328.jpg
/home/pi/Desktop/images/20022025/20/55/image_20022025_20_55_16_10333.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338905817","1338905819","1338905827","1338905821","1338905815","1338905824"],"photo_ids_order":["1338905815","1338905817","1338905819","1338905821","1338905824","1338905827"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa8ef6790cec44717e315863b5b76978.jpg","text":"TemporaryFile(/tmp/multipartBody189935517356078826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167464706,"filename":"image_20022025_20_53_46_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ccbe967d9650f4e96a8041585c1ac160.jpg","text":"TemporaryFile(/tmp/multipartBody1210319989056429585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167464706,"filename":"image_20022025_20_53_56_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1723758769830664fda111f46e5fed5c.jpg","text":"TemporaryFile(/tmp/multipartBody8056596047188171730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167464706,"filename":"image_20022025_20_55_16_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/44f91767e9259761b085e331dafb2e41.jpg","text":"TemporaryFile(/tmp/multipartBody3483925149649581731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167464706,"filename":"image_20022025_20_54_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f50ba9817a804945c4bf44504ff59069.jpg","text":"TemporaryFile(/tmp/multipartBody5925134064051195818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167464706,"filename":"image_20022025_20_53_16_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/908859cbde1902455d97ce6ad8c90472.jpg","text":"TemporaryFile(/tmp/multipartBody9082530486449443481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167464706,"filename":"image_20022025_20_55_06_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338905819","file1":"1338905817","file0":"1338905815","file4":"1338905824","file5":"1338905827","file3":"1338905821"},"map_files_photo_id_array":[{"photo_id":"1338905827","filename":"file5"},{"photo_id":"1338905819","filename":"file2"},{"photo_id":"1338905824","filename":"file4"},{"photo_id":"1338905817","filename":"file1"},{"photo_id":"1338905815","filename":"file0"},{"photo_id":"1338905821","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338905817":["hashtag1","hashtag2"]},{"1338905819":["hashtag1","hashtag2"]},{"1338905827":["hashtag1","hashtag2"]},{"1338905821":["hashtag1","hashtag2"]},{"1338905815":["hashtag1","hashtag2"]},{"1338905824":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338905817, 1338905819, 1338905827, 1338905821, 1338905815, 1338905824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.395965337753296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:50:42.770327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/49/image_21022025_20_49_45_10357.jpg', '/home/pi/Desktop/images/21022025/20/49/image_21022025_20_50_05_10326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/49/image_21022025_20_49_45_10357.jpg
/home/pi/Desktop/images/21022025/20/49/image_21022025_20_50_05_10326.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338905834","1338905843"],"photo_ids_order":["1338905834","1338905843"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8cda13366bb47c08c3ed6d6ce6c9b5d9.jpg","text":"TemporaryFile(/tmp/multipartBody529585977221336020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167503244,"filename":"image_21022025_20_49_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bac106b5a92635e64b788eb67bc6fba9.jpg","text":"TemporaryFile(/tmp/multipartBody4708001972601519368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167503244,"filename":"image_21022025_20_50_05_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338905843","file0":"1338905834"},"map_files_photo_id_array":[{"photo_id":"1338905843","filename":"file1"},{"photo_id":"1338905834","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338905834":["hashtag1","hashtag2"]},{"1338905843":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338905834, 1338905843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.727775812149048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:51:04.556087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/56/image_20022025_20_56_16_10346.jpg', '/home/pi/Desktop/images/20022025/20/56/image_20022025_20_56_46_10337.jpg', '/home/pi/Desktop/images/20022025/20/56/image_20022025_20_56_56_9337.jpg', '/home/pi/Desktop/images/20022025/20/57/image_20022025_20_57_16_10336.jpg', '/home/pi/Desktop/images/20022025/20/57/image_20022025_20_57_26_9341.jpg', '/home/pi/Desktop/images/20022025/20/57/image_20022025_20_57_36_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/56/image_20022025_20_56_16_10346.jpg
/home/pi/Desktop/images/20022025/20/56/image_20022025_20_56_46_10337.jpg
/home/pi/Desktop/images/20022025/20/56/image_20022025_20_56_56_9337.jpg
/home/pi/Desktop/images/20022025/20/57/image_20022025_20_57_16_10336.jpg
/home/pi/Desktop/images/20022025/20/57/image_20022025_20_57_26_9341.jpg
/home/pi/Desktop/images/20022025/20/57/image_20022025_20_57_36_10340.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338905919","1338905853","1338905855","1338905851","1338905917","1338905856"],"photo_ids_order":["1338905851","1338905853","1338905855","1338905856","1338905917","1338905919"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/745800728cc58d12e68b766a85eef21c.jpg","text":"TemporaryFile(/tmp/multipartBody2033268715430802170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167526343,"filename":"image_20022025_20_57_36_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/039987bc9b795016fcfc39b5b50d0e9a.jpg","text":"TemporaryFile(/tmp/multipartBody2407808977350614773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167526343,"filename":"image_20022025_20_56_46_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b0095b2e75f848bd9c1f988be11e62e7.jpg","text":"TemporaryFile(/tmp/multipartBody3265379353827842407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167526343,"filename":"image_20022025_20_56_56_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8bbf617831b4ac51a2032e94b41ba124.jpg","text":"TemporaryFile(/tmp/multipartBody7824974225938492748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167526343,"filename":"image_20022025_20_56_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1e57d1155c6faae5c3187b46e6519b8c.jpg","text":"TemporaryFile(/tmp/multipartBody3113093773162277971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167526343,"filename":"image_20022025_20_57_26_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b6bf801f2d8c01fbe865d5162a72baf4.jpg","text":"TemporaryFile(/tmp/multipartBody4692591400048817062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167526343,"filename":"image_20022025_20_57_16_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338905855","file1":"1338905853","file0":"1338905851","file4":"1338905917","file5":"1338905919","file3":"1338905856"},"map_files_photo_id_array":[{"photo_id":"1338905919","filename":"file5"},{"photo_id":"1338905855","filename":"file2"},{"photo_id":"1338905917","filename":"file4"},{"photo_id":"1338905853","filename":"file1"},{"photo_id":"1338905851","filename":"file0"},{"photo_id":"1338905856","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338905919":["hashtag1","hashtag2"]},{"1338905853":["hashtag1","hashtag2"]},{"1338905855":["hashtag1","hashtag2"]},{"1338905851":["hashtag1","hashtag2"]},{"1338905917":["hashtag1","hashtag2"]},{"1338905856":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338905919, 1338905853, 1338905855, 1338905851, 1338905917, 1338905856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48231625556946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:51:43.065254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/57/image_20022025_20_57_46_10319.jpg', '/home/pi/Desktop/images/20022025/20/57/image_20022025_20_57_56_9350.jpg', '/home/pi/Desktop/images/20022025/20/57/image_20022025_20_58_06_10365.jpg', '/home/pi/Desktop/images/20022025/20/58/image_20022025_20_58_16_10412.jpg', '/home/pi/Desktop/images/20022025/20/58/image_20022025_20_58_26_9344.jpg', '/home/pi/Desktop/images/20022025/20/58/image_20022025_20_59_06_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/57/image_20022025_20_57_46_10319.jpg
/home/pi/Desktop/images/20022025/20/57/image_20022025_20_57_56_9350.jpg
/home/pi/Desktop/images/20022025/20/57/image_20022025_20_58_06_10365.jpg
/home/pi/Desktop/images/20022025/20/58/image_20022025_20_58_16_10412.jpg
/home/pi/Desktop/images/20022025/20/58/image_20022025_20_58_26_9344.jpg
/home/pi/Desktop/images/20022025/20/58/image_20022025_20_59_06_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338906000","1338905934","1338905927","1338905923","1338905943","1338905937"],"photo_ids_order":["1338905923","1338905927","1338905934","1338905937","1338905943","1338906000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1766355dda074448b086f2ffa4e32452.jpg","text":"TemporaryFile(/tmp/multipartBody7077089455030968395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167564343,"filename":"image_20022025_20_59_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b920af500ae31e097a678f95a272358.jpg","text":"TemporaryFile(/tmp/multipartBody9209889888772574469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167564343,"filename":"image_20022025_20_58_06_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eeb8fda4f0b37d124acc93baac6dae82.jpg","text":"TemporaryFile(/tmp/multipartBody1781417057598425995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167564343,"filename":"image_20022025_20_57_56_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/abd515e5c7128248b8c8260b5cd298a9.jpg","text":"TemporaryFile(/tmp/multipartBody3613332826447478185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167564343,"filename":"image_20022025_20_57_46_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/42d2634aec42656bde5d316f74523b4e.jpg","text":"TemporaryFile(/tmp/multipartBody960800607392794177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167564343,"filename":"image_20022025_20_58_26_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/397bdbf954863c1b9b05cfc0619f4a9c.jpg","text":"TemporaryFile(/tmp/multipartBody5147317689352397550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167564343,"filename":"image_20022025_20_58_16_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338905934","file1":"1338905927","file0":"1338905923","file4":"1338905943","file5":"1338906000","file3":"1338905937"},"map_files_photo_id_array":[{"photo_id":"1338906000","filename":"file5"},{"photo_id":"1338905934","filename":"file2"},{"photo_id":"1338905943","filename":"file4"},{"photo_id":"1338905927","filename":"file1"},{"photo_id":"1338905923","filename":"file0"},{"photo_id":"1338905937","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338906000":["hashtag1","hashtag2"]},{"1338905934":["hashtag1","hashtag2"]},{"1338905927":["hashtag1","hashtag2"]},{"1338905923":["hashtag1","hashtag2"]},{"1338905943":["hashtag1","hashtag2"]},{"1338905937":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338906000, 1338905934, 1338905927, 1338905923, 1338905943, 1338905937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.86872434616089 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:52:32.157609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/20/59/image_20022025_20_59_16_9391.jpg', '/home/pi/Desktop/images/20022025/20/59/image_20022025_20_59_26_10437.jpg', '/home/pi/Desktop/images/20022025/20/59/image_20022025_20_59_36_10357.jpg', '/home/pi/Desktop/images/20022025/20/59/image_20022025_20_59_46_9387.jpg', '/home/pi/Desktop/images/20022025/20/59/image_20022025_20_59_56_10339.jpg', '/home/pi/Desktop/images/20022025/21/00/image_20022025_21_00_16_10071.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/20/59/image_20022025_20_59_16_9391.jpg
/home/pi/Desktop/images/20022025/20/59/image_20022025_20_59_26_10437.jpg
/home/pi/Desktop/images/20022025/20/59/image_20022025_20_59_36_10357.jpg
/home/pi/Desktop/images/20022025/20/59/image_20022025_20_59_46_9387.jpg
/home/pi/Desktop/images/20022025/20/59/image_20022025_20_59_56_10339.jpg
/home/pi/Desktop/images/20022025/21/00/image_20022025_21_00_16_10071.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338907250","1338907252","1338907245","1338907254","1338907247","1338907256"],"photo_ids_order":["1338907245","1338907247","1338907250","1338907252","1338907254","1338907256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8d6f7c909f4f4917a2c0048606392b69.jpg","text":"TemporaryFile(/tmp/multipartBody2803759421218528014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167614267,"filename":"image_20022025_20_59_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df8e4bf060d9b65c68d1503f6ba0ba24.jpg","text":"TemporaryFile(/tmp/multipartBody4162616724230350486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167614267,"filename":"image_20022025_20_59_46_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c4f935be41ea601c0236f44dfefbb041.jpg","text":"TemporaryFile(/tmp/multipartBody4066911692379301078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167614267,"filename":"image_20022025_20_59_16_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cbbc97c7a66ff8e3faa0874f6873723a.jpg","text":"TemporaryFile(/tmp/multipartBody363926370442279770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167614267,"filename":"image_20022025_20_59_56_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0ee67331a7bbff8d3d6271912dca5c7b.jpg","text":"TemporaryFile(/tmp/multipartBody3856495972453803879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167614267,"filename":"image_20022025_20_59_26_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b1c525532befce7236b2d1527bd3fbbc.jpg","text":"TemporaryFile(/tmp/multipartBody2168176750733832106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167614267,"filename":"image_20022025_21_00_16_10071.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338907250","file1":"1338907247","file0":"1338907245","file4":"1338907254","file5":"1338907256","file3":"1338907252"},"map_files_photo_id_array":[{"photo_id":"1338907256","filename":"file5"},{"photo_id":"1338907250","filename":"file2"},{"photo_id":"1338907254","filename":"file4"},{"photo_id":"1338907247","filename":"file1"},{"photo_id":"1338907245","filename":"file0"},{"photo_id":"1338907252","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338907250":["hashtag1","hashtag2"]},{"1338907252":["hashtag1","hashtag2"]},{"1338907245":["hashtag1","hashtag2"]},{"1338907254":["hashtag1","hashtag2"]},{"1338907247":["hashtag1","hashtag2"]},{"1338907256":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338907250, 1338907252, 1338907245, 1338907254, 1338907247, 1338907256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.775710105895996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:53:32.460950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/00/image_20022025_21_00_26_10340.jpg', '/home/pi/Desktop/images/20022025/21/00/image_20022025_21_00_36_10336.jpg', '/home/pi/Desktop/images/20022025/21/00/image_20022025_21_00_46_9304.jpg', '/home/pi/Desktop/images/20022025/21/00/image_20022025_21_00_56_10441.jpg', '/home/pi/Desktop/images/20022025/21/00/image_20022025_21_01_06_10334.jpg', '/home/pi/Desktop/images/20022025/21/01/image_20022025_21_01_16_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/00/image_20022025_21_00_26_10340.jpg
/home/pi/Desktop/images/20022025/21/00/image_20022025_21_00_36_10336.jpg
/home/pi/Desktop/images/20022025/21/00/image_20022025_21_00_46_9304.jpg
/home/pi/Desktop/images/20022025/21/00/image_20022025_21_00_56_10441.jpg
/home/pi/Desktop/images/20022025/21/00/image_20022025_21_01_06_10334.jpg
/home/pi/Desktop/images/20022025/21/01/image_20022025_21_01_16_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338907267","1338907261","1338907269","1338907263","1338907265","1338907262"],"photo_ids_order":["1338907261","1338907262","1338907263","1338907265","1338907267","1338907269"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e6863b4dc42319d7f3ec32c0ec806938.jpg","text":"TemporaryFile(/tmp/multipartBody7317174468978482788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167674600,"filename":"image_20022025_21_01_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1e449ea0787bf0aab9064a489b40027a.jpg","text":"TemporaryFile(/tmp/multipartBody4550623449064198143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167674600,"filename":"image_20022025_21_00_26_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fde99b98883e12cbe945c9c7dca5611d.jpg","text":"TemporaryFile(/tmp/multipartBody5954322074771642969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167674600,"filename":"image_20022025_21_01_16_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0ec50d4eb9748a18fb917bdbb8b940a8.jpg","text":"TemporaryFile(/tmp/multipartBody7355698382166657146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167674600,"filename":"image_20022025_21_00_46_9304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4181ff5b25a5843ee712bf1743789c65.jpg","text":"TemporaryFile(/tmp/multipartBody4454230941269324408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167674600,"filename":"image_20022025_21_00_56_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/07c7caeb68bf2fdb274b595b57ad65b4.jpg","text":"TemporaryFile(/tmp/multipartBody1462723128355495115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167674600,"filename":"image_20022025_21_00_36_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338907263","file1":"1338907262","file0":"1338907261","file4":"1338907267","file5":"1338907269","file3":"1338907265"},"map_files_photo_id_array":[{"photo_id":"1338907269","filename":"file5"},{"photo_id":"1338907263","filename":"file2"},{"photo_id":"1338907267","filename":"file4"},{"photo_id":"1338907262","filename":"file1"},{"photo_id":"1338907261","filename":"file0"},{"photo_id":"1338907265","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338907267":["hashtag1","hashtag2"]},{"1338907261":["hashtag1","hashtag2"]},{"1338907269":["hashtag1","hashtag2"]},{"1338907263":["hashtag1","hashtag2"]},{"1338907265":["hashtag1","hashtag2"]},{"1338907262":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338907267, 1338907261, 1338907269, 1338907263, 1338907265, 1338907262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.150421380996704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:54:32.610521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/50/image_21022025_20_50_45_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/50/image_21022025_20_50_45_10426.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338907289"],"photo_id":"1338907289","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/37f5cbec125d500b75620ab5db4b6651.jpg","text":"TemporaryFile(/tmp/multipartBody4349444253322709917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167733023,"filename":"image_21022025_20_50_45_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338907289"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338907289"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.951910972595215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:54:52.644387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/01/image_20022025_21_01_26_10370.jpg', '/home/pi/Desktop/images/20022025/21/01/image_20022025_21_01_36_9464.jpg', '/home/pi/Desktop/images/20022025/21/01/image_20022025_21_01_46_10362.jpg', '/home/pi/Desktop/images/20022025/21/01/image_20022025_21_01_56_10440.jpg', '/home/pi/Desktop/images/20022025/21/02/image_20022025_21_02_16_10391.jpg', '/home/pi/Desktop/images/20022025/21/02/image_20022025_21_02_36_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/01/image_20022025_21_01_26_10370.jpg
/home/pi/Desktop/images/20022025/21/01/image_20022025_21_01_36_9464.jpg
/home/pi/Desktop/images/20022025/21/01/image_20022025_21_01_46_10362.jpg
/home/pi/Desktop/images/20022025/21/01/image_20022025_21_01_56_10440.jpg
/home/pi/Desktop/images/20022025/21/02/image_20022025_21_02_16_10391.jpg
/home/pi/Desktop/images/20022025/21/02/image_20022025_21_02_36_10342.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338907826","1338907358","1338907861","1338907828","1338907776","1338907571"],"photo_ids_order":["1338907358","1338907571","1338907776","1338907826","1338907828","1338907861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0293e585e42f509384ca3f947a4a4b74.jpg","text":"TemporaryFile(/tmp/multipartBody18996401592728895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167754820,"filename":"image_20022025_21_01_56_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c7efcb119fcb428ddb20fd279ec9d38.jpg","text":"TemporaryFile(/tmp/multipartBody2252048323016116647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167754820,"filename":"image_20022025_21_01_26_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/620e2169d86cf24b865e403f1cbbf201.jpg","text":"TemporaryFile(/tmp/multipartBody8280220928603264313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167754820,"filename":"image_20022025_21_02_36_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/614f72838251ef32cbac93339fd3fa4e.jpg","text":"TemporaryFile(/tmp/multipartBody3638737334548167167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167754820,"filename":"image_20022025_21_02_16_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ccfbce19b020b19eb2626a83eff2d66c.jpg","text":"TemporaryFile(/tmp/multipartBody8682298072490456272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167754820,"filename":"image_20022025_21_01_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7d0385051f10a18373366c8a9663bc6c.jpg","text":"TemporaryFile(/tmp/multipartBody681301811740275601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167754820,"filename":"image_20022025_21_01_36_9464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338907776","file1":"1338907571","file0":"1338907358","file4":"1338907828","file5":"1338907861","file3":"1338907826"},"map_files_photo_id_array":[{"photo_id":"1338907861","filename":"file5"},{"photo_id":"1338907776","filename":"file2"},{"photo_id":"1338907828","filename":"file4"},{"photo_id":"1338907571","filename":"file1"},{"photo_id":"1338907358","filename":"file0"},{"photo_id":"1338907826","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338907826":["hashtag1","hashtag2"]},{"1338907358":["hashtag1","hashtag2"]},{"1338907861":["hashtag1","hashtag2"]},{"1338907828":["hashtag1","hashtag2"]},{"1338907776":["hashtag1","hashtag2"]},{"1338907571":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338907826, 1338907358, 1338907861, 1338907828, 1338907776, 1338907571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26085376739502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:55:32.811229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/54/image_21022025_20_54_55_10362.jpg', '/home/pi/Desktop/images/21022025/20/55/image_21022025_20_55_15_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/54/image_21022025_20_54_55_10362.jpg
/home/pi/Desktop/images/21022025/20/55/image_21022025_20_55_15_10340.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338907911","1338907914"],"photo_ids_order":["1338907911","1338907914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6450e688360ab5fc2046ceea824d655a.jpg","text":"TemporaryFile(/tmp/multipartBody6775481466696635648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167793248,"filename":"image_21022025_20_54_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8146a6545c17369fbca951313650a6d0.jpg","text":"TemporaryFile(/tmp/multipartBody7358883528249466763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167793248,"filename":"image_21022025_20_55_15_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338907914","file0":"1338907911"},"map_files_photo_id_array":[{"photo_id":"1338907914","filename":"file1"},{"photo_id":"1338907911","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338907911":["hashtag1","hashtag2"]},{"1338907914":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338907911, 1338907914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.499567031860352 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:55:52.899704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/02/image_20022025_21_02_46_10321.jpg', '/home/pi/Desktop/images/20022025/21/02/image_20022025_21_02_56_9369.jpg', '/home/pi/Desktop/images/20022025/21/02/image_20022025_21_03_06_10323.jpg', '/home/pi/Desktop/images/20022025/21/03/image_20022025_21_03_16_10340.jpg', '/home/pi/Desktop/images/20022025/21/03/image_20022025_21_03_26_9344.jpg', '/home/pi/Desktop/images/20022025/21/03/image_20022025_21_03_36_10326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/02/image_20022025_21_02_46_10321.jpg
/home/pi/Desktop/images/20022025/21/02/image_20022025_21_02_56_9369.jpg
/home/pi/Desktop/images/20022025/21/02/image_20022025_21_03_06_10323.jpg
/home/pi/Desktop/images/20022025/21/03/image_20022025_21_03_16_10340.jpg
/home/pi/Desktop/images/20022025/21/03/image_20022025_21_03_26_9344.jpg
/home/pi/Desktop/images/20022025/21/03/image_20022025_21_03_36_10326.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338908091","1338908093","1338908033","1338908030","1338908027","1338908012"],"photo_ids_order":["1338908012","1338908027","1338908030","1338908033","1338908091","1338908093"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2dd3fa99ca1d7a029395be479acda21.jpg","text":"TemporaryFile(/tmp/multipartBody6756773156952232219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167815013,"filename":"image_20022025_21_03_26_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1eabc3c59ee58a5b0abfef36f52d35b8.jpg","text":"TemporaryFile(/tmp/multipartBody5055300915092812735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167815013,"filename":"image_20022025_21_03_36_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a05dd01eda70672b57b865dc2b70872.jpg","text":"TemporaryFile(/tmp/multipartBody7256728377549793723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167815013,"filename":"image_20022025_21_03_16_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e48e2c836a1839527e7719ffa27116f.jpg","text":"TemporaryFile(/tmp/multipartBody5822650146172858080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167815013,"filename":"image_20022025_21_03_06_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ecdec8c9f1cf626fc1a6888237a0a9e6.jpg","text":"TemporaryFile(/tmp/multipartBody8624729091747309258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167815013,"filename":"image_20022025_21_02_56_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cc46ee4bf74141be1e1d14deef814637.jpg","text":"TemporaryFile(/tmp/multipartBody6463022163608237301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167815013,"filename":"image_20022025_21_02_46_10321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338908030","file1":"1338908027","file0":"1338908012","file4":"1338908091","file5":"1338908093","file3":"1338908033"},"map_files_photo_id_array":[{"photo_id":"1338908093","filename":"file5"},{"photo_id":"1338908030","filename":"file2"},{"photo_id":"1338908091","filename":"file4"},{"photo_id":"1338908027","filename":"file1"},{"photo_id":"1338908012","filename":"file0"},{"photo_id":"1338908033","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338908091":["hashtag1","hashtag2"]},{"1338908093":["hashtag1","hashtag2"]},{"1338908033":["hashtag1","hashtag2"]},{"1338908030":["hashtag1","hashtag2"]},{"1338908027":["hashtag1","hashtag2"]},{"1338908012":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338908091, 1338908093, 1338908033, 1338908030, 1338908027, 1338908012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.7677538394928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:56:33.131153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/55/image_21022025_20_55_25_10375.jpg', '/home/pi/Desktop/images/21022025/20/55/image_21022025_20_56_05_10375.jpg', '/home/pi/Desktop/images/21022025/20/56/image_21022025_20_56_15_10354.jpg', '/home/pi/Desktop/images/21022025/20/56/image_21022025_20_56_25_9411.jpg', '/home/pi/Desktop/images/21022025/20/56/image_21022025_20_56_35_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/55/image_21022025_20_55_25_10375.jpg
/home/pi/Desktop/images/21022025/20/55/image_21022025_20_56_05_10375.jpg
/home/pi/Desktop/images/21022025/20/56/image_21022025_20_56_15_10354.jpg
/home/pi/Desktop/images/21022025/20/56/image_21022025_20_56_25_9411.jpg
/home/pi/Desktop/images/21022025/20/56/image_21022025_20_56_35_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338908098","1338908101","1338908103","1338908100","1338908102"],"photo_ids_order":["1338908098","1338908100","1338908101","1338908102","1338908103"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/20d7dc87a7ae6f782cd2f0df39648712.jpg","text":"TemporaryFile(/tmp/multipartBody4717640357441129854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167853585,"filename":"image_21022025_20_55_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c0a1f22b2a12a26a43bc0404f6e5702e.jpg","text":"TemporaryFile(/tmp/multipartBody7848792778764546026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167853585,"filename":"image_21022025_20_56_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eec35a9868d2d4c8ea11646b817e65e9.jpg","text":"TemporaryFile(/tmp/multipartBody1212663410003713083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167853585,"filename":"image_21022025_20_56_35_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3946d8c50277572f8ecebec9990d9cce.jpg","text":"TemporaryFile(/tmp/multipartBody1118793878808341363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167853585,"filename":"image_21022025_20_56_05_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/30d67c366bd2d10bd0ee4b3cba144842.jpg","text":"TemporaryFile(/tmp/multipartBody8424043172947155814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167853585,"filename":"image_21022025_20_56_25_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338908101","file1":"1338908100","file0":"1338908098","file4":"1338908103","file3":"1338908102"},"map_files_photo_id_array":[{"photo_id":"1338908101","filename":"file2"},{"photo_id":"1338908103","filename":"file4"},{"photo_id":"1338908100","filename":"file1"},{"photo_id":"1338908098","filename":"file0"},{"photo_id":"1338908102","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338908098":["hashtag1","hashtag2"]},{"1338908101":["hashtag1","hashtag2"]},{"1338908103":["hashtag1","hashtag2"]},{"1338908100":["hashtag1","hashtag2"]},{"1338908102":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338908098, 1338908101, 1338908103, 1338908100, 1338908102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.451359510421753 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 20:57:32.417284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/56/image_21022025_20_56_55_10397.jpg', '/home/pi/Desktop/images/21022025/20/57/image_21022025_20_57_15_9343.jpg', '/home/pi/Desktop/images/21022025/20/57/image_21022025_20_57_35_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/56/image_21022025_20_56_55_10397.jpg
/home/pi/Desktop/images/21022025/20/57/image_21022025_20_57_15_9343.jpg
/home/pi/Desktop/images/21022025/20/57/image_21022025_20_57_35_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338908569","1338908605","1338908481"],"photo_ids_order":["1338908481","1338908569","1338908605"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b547ca2beaf120023648028f6c4b9307.jpg","text":"TemporaryFile(/tmp/multipartBody401256516601209896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167912866,"filename":"image_21022025_20_57_15_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/78f0e424c2deefd5e61ee8fd0b822a9e.jpg","text":"TemporaryFile(/tmp/multipartBody2491109476211945396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167912866,"filename":"image_21022025_20_57_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ca777e5ce57c00228c83532900841b7d.jpg","text":"TemporaryFile(/tmp/multipartBody6711055693927889184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740167912866,"filename":"image_21022025_20_56_55_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338908605","file1":"1338908569","file0":"1338908481"},"map_files_photo_id_array":[{"photo_id":"1338908605","filename":"file2"},{"photo_id":"1338908569","filename":"file1"},{"photo_id":"1338908481","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338908569":["hashtag1","hashtag2"]},{"1338908605":["hashtag1","hashtag2"]},{"1338908481":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338908569, 1338908605, 1338908481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.828134059906006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:59:04.425865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/03/image_20022025_21_03_46_10393.jpg', '/home/pi/Desktop/images/20022025/21/03/image_20022025_21_03_56_9411.jpg', '/home/pi/Desktop/images/20022025/21/03/image_20022025_21_04_06_10320.jpg', '/home/pi/Desktop/images/20022025/21/04/image_20022025_21_04_17_10405.jpg', '/home/pi/Desktop/images/20022025/21/04/image_20022025_21_04_26_9940.jpg', '/home/pi/Desktop/images/20022025/21/04/image_20022025_21_04_36_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/03/image_20022025_21_03_46_10393.jpg
/home/pi/Desktop/images/20022025/21/03/image_20022025_21_03_56_9411.jpg
/home/pi/Desktop/images/20022025/21/03/image_20022025_21_04_06_10320.jpg
/home/pi/Desktop/images/20022025/21/04/image_20022025_21_04_17_10405.jpg
/home/pi/Desktop/images/20022025/21/04/image_20022025_21_04_26_9940.jpg
/home/pi/Desktop/images/20022025/21/04/image_20022025_21_04_36_9409.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338908614","1338908611","1338908608","1338908619","1338908622","1338908627"],"photo_ids_order":["1338908608","1338908611","1338908614","1338908619","1338908622","1338908627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6290953ee9ab173c37d7ff35d8c21825.jpg","text":"TemporaryFile(/tmp/multipartBody9191880656048844312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168006010,"filename":"image_20022025_21_04_06_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bd9109337b84675a30c033e13c861813.jpg","text":"TemporaryFile(/tmp/multipartBody7188811926323826449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168006010,"filename":"image_20022025_21_03_56_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e0c3a8c5a51b1e4a93e8a252f8139e1c.jpg","text":"TemporaryFile(/tmp/multipartBody2904197643299722706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168006010,"filename":"image_20022025_21_03_46_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b125d0ba2033ee36797f0735ad917f76.jpg","text":"TemporaryFile(/tmp/multipartBody557520228524875254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168006010,"filename":"image_20022025_21_04_17_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/03ed47b0fbb269871fdcf1ee0aaa2477.jpg","text":"TemporaryFile(/tmp/multipartBody5850710124919255543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168006010,"filename":"image_20022025_21_04_26_9940.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5144650128f89bf32064032c176690ee.jpg","text":"TemporaryFile(/tmp/multipartBody6418842573375435947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168006010,"filename":"image_20022025_21_04_36_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338908614","file1":"1338908611","file0":"1338908608","file4":"1338908622","file5":"1338908627","file3":"1338908619"},"map_files_photo_id_array":[{"photo_id":"1338908627","filename":"file5"},{"photo_id":"1338908614","filename":"file2"},{"photo_id":"1338908622","filename":"file4"},{"photo_id":"1338908611","filename":"file1"},{"photo_id":"1338908608","filename":"file0"},{"photo_id":"1338908619","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338908614":["hashtag1","hashtag2"]},{"1338908611":["hashtag1","hashtag2"]},{"1338908608":["hashtag1","hashtag2"]},{"1338908619":["hashtag1","hashtag2"]},{"1338908622":["hashtag1","hashtag2"]},{"1338908627":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338908614, 1338908611, 1338908608, 1338908619, 1338908622, 1338908627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.783849477767944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 20:59:42.943633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/57/image_21022025_20_57_55_10355.jpg', '/home/pi/Desktop/images/21022025/20/57/image_21022025_20_58_04_9388.jpg', '/home/pi/Desktop/images/21022025/20/58/image_21022025_20_58_15_10439.jpg', '/home/pi/Desktop/images/21022025/20/58/image_21022025_20_58_25_10353.jpg', '/home/pi/Desktop/images/21022025/20/59/image_21022025_20_59_25_9359.jpg', '/home/pi/Desktop/images/21022025/20/59/image_21022025_20_59_44_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/57/image_21022025_20_57_55_10355.jpg
/home/pi/Desktop/images/21022025/20/57/image_21022025_20_58_04_9388.jpg
/home/pi/Desktop/images/21022025/20/58/image_21022025_20_58_15_10439.jpg
/home/pi/Desktop/images/21022025/20/58/image_21022025_20_58_25_10353.jpg
/home/pi/Desktop/images/21022025/20/59/image_21022025_20_59_25_9359.jpg
/home/pi/Desktop/images/21022025/20/59/image_21022025_20_59_44_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338909151","1338909159","1338909150","1338909161","1338909160","1338909157"],"photo_ids_order":["1338909150","1338909151","1338909157","1338909159","1338909160","1338909161"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/07001a5bd89d6b799a05240af340bf8a.jpg","text":"TemporaryFile(/tmp/multipartBody7515001704305337540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168043483,"filename":"image_21022025_20_58_04_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6791e397a2f2e8a31a229be44d01b75d.jpg","text":"TemporaryFile(/tmp/multipartBody4966847298321471026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168043483,"filename":"image_21022025_20_58_25_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/471732d1af1b04cce74d777fcbc85244.jpg","text":"TemporaryFile(/tmp/multipartBody2107807227477161336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168043483,"filename":"image_21022025_20_57_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cacba30df4ec522751a2a94f2c13e2b1.jpg","text":"TemporaryFile(/tmp/multipartBody8634880875804405240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168043483,"filename":"image_21022025_20_59_44_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4cbb2c4f89dc295f9464f58cc0b6747f.jpg","text":"TemporaryFile(/tmp/multipartBody5058785598142893405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168043483,"filename":"image_21022025_20_59_25_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/86c0aafb42eafe582d6b47205721fba5.jpg","text":"TemporaryFile(/tmp/multipartBody5338569474122258082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168043483,"filename":"image_21022025_20_58_15_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338909157","file1":"1338909151","file0":"1338909150","file4":"1338909160","file5":"1338909161","file3":"1338909159"},"map_files_photo_id_array":[{"photo_id":"1338909161","filename":"file5"},{"photo_id":"1338909157","filename":"file2"},{"photo_id":"1338909160","filename":"file4"},{"photo_id":"1338909151","filename":"file1"},{"photo_id":"1338909150","filename":"file0"},{"photo_id":"1338909159","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338909151":["hashtag1","hashtag2"]},{"1338909159":["hashtag1","hashtag2"]},{"1338909150":["hashtag1","hashtag2"]},{"1338909161":["hashtag1","hashtag2"]},{"1338909160":["hashtag1","hashtag2"]},{"1338909157":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338909151, 1338909159, 1338909150, 1338909161, 1338909160, 1338909157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3713059425354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:00:32.340042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/20/59/image_21022025_20_59_55_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/20/59/image_21022025_20_59_55_10364.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338909284"],"photo_id":"1338909284","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/20e7d4ba2c3b79a04848770dd6c15770.jpg","text":"TemporaryFile(/tmp/multipartBody2244368393509833714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168092752,"filename":"image_21022025_20_59_55_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338909284"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338909284"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.904157161712646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:00:52.316572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/04/image_20022025_21_04_46_10323.jpg', '/home/pi/Desktop/images/20022025/21/04/image_20022025_21_04_56_9388.jpg', '/home/pi/Desktop/images/20022025/21/04/image_20022025_21_05_06_10357.jpg', '/home/pi/Desktop/images/20022025/21/05/image_20022025_21_05_16_10324.jpg', '/home/pi/Desktop/images/20022025/21/05/image_20022025_21_05_26_9412.jpg', '/home/pi/Desktop/images/20022025/21/05/image_20022025_21_05_36_10327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/04/image_20022025_21_04_46_10323.jpg
/home/pi/Desktop/images/20022025/21/04/image_20022025_21_04_56_9388.jpg
/home/pi/Desktop/images/20022025/21/04/image_20022025_21_05_06_10357.jpg
/home/pi/Desktop/images/20022025/21/05/image_20022025_21_05_16_10324.jpg
/home/pi/Desktop/images/20022025/21/05/image_20022025_21_05_26_9412.jpg
/home/pi/Desktop/images/20022025/21/05/image_20022025_21_05_36_10327.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338909420","1338909494","1338909431","1338909475","1338909490","1338909433"],"photo_ids_order":["1338909420","1338909431","1338909433","1338909475","1338909490","1338909494"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/480ec1bb8e4eb8adff67541ef6f3db56.jpg","text":"TemporaryFile(/tmp/multipartBody6201840744617071984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168114422,"filename":"image_20022025_21_04_46_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/70989f8d2e9b8d1ceb4ba7fdb28cd231.jpg","text":"TemporaryFile(/tmp/multipartBody7609885564711091754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168114422,"filename":"image_20022025_21_05_36_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8a11adb6782910aaf89a2733acae3a61.jpg","text":"TemporaryFile(/tmp/multipartBody5537775698131811799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168114422,"filename":"image_20022025_21_04_56_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/07ee7b2091de2d56cd4e2f8370a50bf0.jpg","text":"TemporaryFile(/tmp/multipartBody8293477177446157634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168114422,"filename":"image_20022025_21_05_16_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/98b359cc9c5aa810c5875905b300d597.jpg","text":"TemporaryFile(/tmp/multipartBody4478213634423175252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168114422,"filename":"image_20022025_21_05_26_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f8e153075e50d3182893234a29f4db8.jpg","text":"TemporaryFile(/tmp/multipartBody1263049842284289751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168114422,"filename":"image_20022025_21_05_06_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338909433","file1":"1338909431","file0":"1338909420","file4":"1338909490","file5":"1338909494","file3":"1338909475"},"map_files_photo_id_array":[{"photo_id":"1338909494","filename":"file5"},{"photo_id":"1338909433","filename":"file2"},{"photo_id":"1338909490","filename":"file4"},{"photo_id":"1338909431","filename":"file1"},{"photo_id":"1338909420","filename":"file0"},{"photo_id":"1338909475","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338909420":["hashtag1","hashtag2"]},{"1338909494":["hashtag1","hashtag2"]},{"1338909431":["hashtag1","hashtag2"]},{"1338909475":["hashtag1","hashtag2"]},{"1338909490":["hashtag1","hashtag2"]},{"1338909433":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338909420, 1338909494, 1338909431, 1338909475, 1338909490, 1338909433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47468113899231 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:01:32.558540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/00/image_21022025_21_00_57_10441.jpg', '/home/pi/Desktop/images/21022025/21/01/image_21022025_21_01_36_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/00/image_21022025_21_00_57_10441.jpg
/home/pi/Desktop/images/21022025/21/01/image_21022025_21_01_36_9375.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338909505","1338909503"],"photo_ids_order":["1338909503","1338909505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b4364b61567275133089c07d98db9a27.jpg","text":"TemporaryFile(/tmp/multipartBody5114815746337054232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168152985,"filename":"image_21022025_21_01_36_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1a49817c4b0d8c80244843718fccc8d9.jpg","text":"TemporaryFile(/tmp/multipartBody3997269621825394261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168152985,"filename":"image_21022025_21_00_57_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338909505","file0":"1338909503"},"map_files_photo_id_array":[{"photo_id":"1338909505","filename":"file1"},{"photo_id":"1338909503","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338909505":["hashtag1","hashtag2"]},{"1338909503":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338909505, 1338909503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.613125562667847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:01:52.589232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/05/image_20022025_21_05_46_10393.jpg', '/home/pi/Desktop/images/20022025/21/05/image_20022025_21_05_56_9415.jpg', '/home/pi/Desktop/images/20022025/21/05/image_20022025_21_06_06_10369.jpg', '/home/pi/Desktop/images/20022025/21/06/image_20022025_21_06_16_9492.jpg', '/home/pi/Desktop/images/20022025/21/06/image_20022025_21_06_26_10335.jpg', '/home/pi/Desktop/images/20022025/21/06/image_20022025_21_06_46_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/05/image_20022025_21_05_46_10393.jpg
/home/pi/Desktop/images/20022025/21/05/image_20022025_21_05_56_9415.jpg
/home/pi/Desktop/images/20022025/21/05/image_20022025_21_06_06_10369.jpg
/home/pi/Desktop/images/20022025/21/06/image_20022025_21_06_16_9492.jpg
/home/pi/Desktop/images/20022025/21/06/image_20022025_21_06_26_10335.jpg
/home/pi/Desktop/images/20022025/21/06/image_20022025_21_06_46_9383.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338909514","1338909510","1338909513","1338909518","1338909512","1338909511"],"photo_ids_order":["1338909510","1338909511","1338909512","1338909513","1338909514","1338909518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e3c8f87f4ef505d902c1f78238176527.jpg","text":"TemporaryFile(/tmp/multipartBody7729439356704737734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168174751,"filename":"image_20022025_21_06_26_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/53ba8f55c37dd2e77685e7e263a9f738.jpg","text":"TemporaryFile(/tmp/multipartBody1031551113735212931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168174751,"filename":"image_20022025_21_05_46_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7d01917ce422ce1f21192a7ec9eafcb.jpg","text":"TemporaryFile(/tmp/multipartBody8029380834953567681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168174751,"filename":"image_20022025_21_06_16_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/98290ae4922078f6738711997c38a2a4.jpg","text":"TemporaryFile(/tmp/multipartBody604575975433731156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168174751,"filename":"image_20022025_21_06_46_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8760d65a9ccd208a06c072413eaf23d7.jpg","text":"TemporaryFile(/tmp/multipartBody1386321557839971186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168174751,"filename":"image_20022025_21_06_06_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef33c7cf614bfd013604918a0be6de8e.jpg","text":"TemporaryFile(/tmp/multipartBody1176300212883098343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168174751,"filename":"image_20022025_21_05_56_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338909512","file1":"1338909511","file0":"1338909510","file4":"1338909514","file5":"1338909518","file3":"1338909513"},"map_files_photo_id_array":[{"photo_id":"1338909518","filename":"file5"},{"photo_id":"1338909512","filename":"file2"},{"photo_id":"1338909514","filename":"file4"},{"photo_id":"1338909511","filename":"file1"},{"photo_id":"1338909510","filename":"file0"},{"photo_id":"1338909513","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338909514":["hashtag1","hashtag2"]},{"1338909510":["hashtag1","hashtag2"]},{"1338909513":["hashtag1","hashtag2"]},{"1338909518":["hashtag1","hashtag2"]},{"1338909512":["hashtag1","hashtag2"]},{"1338909511":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338909514, 1338909510, 1338909513, 1338909518, 1338909512, 1338909511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07834577560425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:02:32.897718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/01/image_21022025_21_01_47_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/01/image_21022025_21_01_47_10395.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338909645"],"photo_id":"1338909645","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/58dd776e0e0cedd3038257d4d4e80d93.jpg","text":"TemporaryFile(/tmp/multipartBody4859983015260707604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168213311,"filename":"image_21022025_21_01_47_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338909645"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338909645"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.552317142486572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:02:52.918789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/06/image_20022025_21_06_56_10336.jpg', '/home/pi/Desktop/images/20022025/21/06/image_20022025_21_07_07_10398.jpg', '/home/pi/Desktop/images/20022025/21/07/image_20022025_21_07_16_9335.jpg', '/home/pi/Desktop/images/20022025/21/07/image_20022025_21_07_56_10459.jpg', '/home/pi/Desktop/images/20022025/21/07/image_20022025_21_08_06_9335.jpg', '/home/pi/Desktop/images/20022025/21/08/image_20022025_21_08_16_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/06/image_20022025_21_06_56_10336.jpg
/home/pi/Desktop/images/20022025/21/06/image_20022025_21_07_07_10398.jpg
/home/pi/Desktop/images/20022025/21/07/image_20022025_21_07_16_9335.jpg
/home/pi/Desktop/images/20022025/21/07/image_20022025_21_07_56_10459.jpg
/home/pi/Desktop/images/20022025/21/07/image_20022025_21_08_06_9335.jpg
/home/pi/Desktop/images/20022025/21/08/image_20022025_21_08_16_10367.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338909672","1338909666","1338909663","1338909662","1338909664","1338909667"],"photo_ids_order":["1338909662","1338909663","1338909664","1338909666","1338909667","1338909672"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c84d05c4a403afb80ea9ee9a4ea6485d.jpg","text":"TemporaryFile(/tmp/multipartBody2635973186274115532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168235031,"filename":"image_20022025_21_08_16_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d76422854494036036552a6aa6066946.jpg","text":"TemporaryFile(/tmp/multipartBody7255676945659898493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168235031,"filename":"image_20022025_21_07_56_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a2a2047e36611ebf89a110240a212001.jpg","text":"TemporaryFile(/tmp/multipartBody9049206278085930747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168235031,"filename":"image_20022025_21_07_07_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1316575ce0ff95e8dec7812c108ce399.jpg","text":"TemporaryFile(/tmp/multipartBody266912514257507660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168235031,"filename":"image_20022025_21_06_56_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7132617e86aa2d4c83f19edb24f20ca9.jpg","text":"TemporaryFile(/tmp/multipartBody6989547500106700872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168235031,"filename":"image_20022025_21_07_16_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/12d5d73f9c87c0c2f644092a09ed34f5.jpg","text":"TemporaryFile(/tmp/multipartBody3701742022848186968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168235031,"filename":"image_20022025_21_08_06_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338909664","file1":"1338909663","file0":"1338909662","file4":"1338909667","file5":"1338909672","file3":"1338909666"},"map_files_photo_id_array":[{"photo_id":"1338909672","filename":"file5"},{"photo_id":"1338909664","filename":"file2"},{"photo_id":"1338909667","filename":"file4"},{"photo_id":"1338909663","filename":"file1"},{"photo_id":"1338909662","filename":"file0"},{"photo_id":"1338909666","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338909672":["hashtag1","hashtag2"]},{"1338909666":["hashtag1","hashtag2"]},{"1338909663":["hashtag1","hashtag2"]},{"1338909662":["hashtag1","hashtag2"]},{"1338909664":["hashtag1","hashtag2"]},{"1338909667":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338909672, 1338909666, 1338909663, 1338909662, 1338909664, 1338909667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.86874723434448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:03:33.190845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/02/image_21022025_21_02_56_9326.jpg', '/home/pi/Desktop/images/21022025/21/02/image_21022025_21_03_07_10398.jpg', '/home/pi/Desktop/images/21022025/21/03/image_21022025_21_03_17_10406.jpg', '/home/pi/Desktop/images/21022025/21/03/image_21022025_21_03_46_9329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/02/image_21022025_21_02_56_9326.jpg
/home/pi/Desktop/images/21022025/21/02/image_21022025_21_03_07_10398.jpg
/home/pi/Desktop/images/21022025/21/03/image_21022025_21_03_17_10406.jpg
/home/pi/Desktop/images/21022025/21/03/image_21022025_21_03_46_9329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338909684","1338909687","1338909689","1338909691"],"photo_ids_order":["1338909684","1338909687","1338909689","1338909691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a9ed9e9a6195b099f045586f86b08d73.jpg","text":"TemporaryFile(/tmp/multipartBody8945194228348687321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168273635,"filename":"image_21022025_21_02_56_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa471bce02df285a158c453df43e2938.jpg","text":"TemporaryFile(/tmp/multipartBody2537903622289723427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168273635,"filename":"image_21022025_21_03_07_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3e1d4758c9e11c6278739e3d0f628bb0.jpg","text":"TemporaryFile(/tmp/multipartBody5368358899580310530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168273635,"filename":"image_21022025_21_03_17_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/659d01699e54323d923df1a9daca7ce0.jpg","text":"TemporaryFile(/tmp/multipartBody4539000912166350830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168273635,"filename":"image_21022025_21_03_46_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338909689","file1":"1338909687","file0":"1338909684","file3":"1338909691"},"map_files_photo_id_array":[{"photo_id":"1338909689","filename":"file2"},{"photo_id":"1338909687","filename":"file1"},{"photo_id":"1338909684","filename":"file0"},{"photo_id":"1338909691","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338909684":["hashtag1","hashtag2"]},{"1338909687":["hashtag1","hashtag2"]},{"1338909689":["hashtag1","hashtag2"]},{"1338909691":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338909684, 1338909687, 1338909689, 1338909691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.597560167312622 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:04:03.099890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/08/image_20022025_21_08_27_10403.jpg', '/home/pi/Desktop/images/20022025/21/08/image_20022025_21_08_36_9314.jpg', '/home/pi/Desktop/images/20022025/21/08/image_20022025_21_08_56_9349.jpg', '/home/pi/Desktop/images/20022025/21/08/image_20022025_21_09_06_10191.jpg', '/home/pi/Desktop/images/20022025/21/09/image_20022025_21_09_16_10337.jpg', '/home/pi/Desktop/images/20022025/21/09/image_20022025_21_09_26_10019.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/08/image_20022025_21_08_27_10403.jpg
/home/pi/Desktop/images/20022025/21/08/image_20022025_21_08_36_9314.jpg
/home/pi/Desktop/images/20022025/21/08/image_20022025_21_08_56_9349.jpg
/home/pi/Desktop/images/20022025/21/08/image_20022025_21_09_06_10191.jpg
/home/pi/Desktop/images/20022025/21/09/image_20022025_21_09_16_10337.jpg
/home/pi/Desktop/images/20022025/21/09/image_20022025_21_09_26_10019.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338910299","1338909930","1338909747","1338910086","1338910376","1338909694"],"photo_ids_order":["1338909694","1338909747","1338909930","1338910086","1338910299","1338910376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6086b7ba58321ee7655428701f299aee.jpg","text":"TemporaryFile(/tmp/multipartBody4409207389695101382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168304508,"filename":"image_20022025_21_09_16_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7ac99f6524dec6a72a2c42edee71c75.jpg","text":"TemporaryFile(/tmp/multipartBody5311294646628882086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168304508,"filename":"image_20022025_21_08_56_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/273385c37442729319557d38b789241f.jpg","text":"TemporaryFile(/tmp/multipartBody8944171509789681754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168304508,"filename":"image_20022025_21_08_36_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c0b275b01b44746cf1a8aac316acbb51.jpg","text":"TemporaryFile(/tmp/multipartBody8271852026848226988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168304508,"filename":"image_20022025_21_09_06_10191.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/272fbcbfce8271e9434fd913f3eabaea.jpg","text":"TemporaryFile(/tmp/multipartBody1237215193587382440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168304508,"filename":"image_20022025_21_09_26_10019.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/77351ab4e1a686dc18912c5ba79ac5b4.jpg","text":"TemporaryFile(/tmp/multipartBody8358773195795583903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168304508,"filename":"image_20022025_21_08_27_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338909930","file1":"1338909747","file0":"1338909694","file4":"1338910299","file5":"1338910376","file3":"1338910086"},"map_files_photo_id_array":[{"photo_id":"1338910376","filename":"file5"},{"photo_id":"1338909930","filename":"file2"},{"photo_id":"1338910299","filename":"file4"},{"photo_id":"1338909747","filename":"file1"},{"photo_id":"1338909694","filename":"file0"},{"photo_id":"1338910086","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338910299":["hashtag1","hashtag2"]},{"1338909930":["hashtag1","hashtag2"]},{"1338909747":["hashtag1","hashtag2"]},{"1338910086":["hashtag1","hashtag2"]},{"1338910376":["hashtag1","hashtag2"]},{"1338909694":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338910299, 1338909930, 1338909747, 1338910086, 1338910376, 1338909694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17864775657654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:04:42.416094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/03/image_21022025_21_03_56_10388.jpg', '/home/pi/Desktop/images/21022025/21/03/image_21022025_21_04_07_10354.jpg', '/home/pi/Desktop/images/21022025/21/04/image_21022025_21_04_16_9346.jpg', '/home/pi/Desktop/images/21022025/21/04/image_21022025_21_04_27_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/03/image_21022025_21_03_56_10388.jpg
/home/pi/Desktop/images/21022025/21/03/image_21022025_21_04_07_10354.jpg
/home/pi/Desktop/images/21022025/21/04/image_21022025_21_04_16_9346.jpg
/home/pi/Desktop/images/21022025/21/04/image_21022025_21_04_27_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338910387","1338910389","1338910391","1338910393"],"photo_ids_order":["1338910387","1338910389","1338910391","1338910393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e01d0e3843e2ea0eada419b46fbd22a0.jpg","text":"TemporaryFile(/tmp/multipartBody8569723034337542639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168342867,"filename":"image_21022025_21_03_56_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4ba0ffcf2505d9939be4fe35bab9c9a9.jpg","text":"TemporaryFile(/tmp/multipartBody6660176512334523236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168342867,"filename":"image_21022025_21_04_07_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a7ce841c866208d76468f343b91794b7.jpg","text":"TemporaryFile(/tmp/multipartBody6784443203891976599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168342867,"filename":"image_21022025_21_04_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a57818204b0474a29da1e00aad4d4c91.jpg","text":"TemporaryFile(/tmp/multipartBody5219712256722747402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168342867,"filename":"image_21022025_21_04_27_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338910391","file1":"1338910389","file0":"1338910387","file3":"1338910393"},"map_files_photo_id_array":[{"photo_id":"1338910391","filename":"file2"},{"photo_id":"1338910389","filename":"file1"},{"photo_id":"1338910387","filename":"file0"},{"photo_id":"1338910393","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338910387":["hashtag1","hashtag2"]},{"1338910389":["hashtag1","hashtag2"]},{"1338910391":["hashtag1","hashtag2"]},{"1338910393":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338910387, 1338910389, 1338910391, 1338910393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.39765977859497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:05:32.613130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/04/image_21022025_21_04_37_10429.jpg', '/home/pi/Desktop/images/21022025/21/05/image_21022025_21_05_36_9361.jpg', '/home/pi/Desktop/images/21022025/21/05/image_21022025_21_05_47_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/04/image_21022025_21_04_37_10429.jpg
/home/pi/Desktop/images/21022025/21/05/image_21022025_21_05_36_9361.jpg
/home/pi/Desktop/images/21022025/21/05/image_21022025_21_05_47_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338910736","1338910745","1338910748"],"photo_ids_order":["1338910736","1338910745","1338910748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90a02f7f4278ab37dce11e7831418147.jpg","text":"TemporaryFile(/tmp/multipartBody2339445578022834822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168393044,"filename":"image_21022025_21_04_37_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0212f90d9c09f4068f902b394c6a1fda.jpg","text":"TemporaryFile(/tmp/multipartBody660657221491858804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168393044,"filename":"image_21022025_21_05_36_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/58b9402a87f4b7240041300bb4d928c5.jpg","text":"TemporaryFile(/tmp/multipartBody7518594253273329452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168393044,"filename":"image_21022025_21_05_47_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338910748","file1":"1338910745","file0":"1338910736"},"map_files_photo_id_array":[{"photo_id":"1338910748","filename":"file2"},{"photo_id":"1338910745","filename":"file1"},{"photo_id":"1338910736","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338910736":["hashtag1","hashtag2"]},{"1338910745":["hashtag1","hashtag2"]},{"1338910748":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338910736, 1338910745, 1338910748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.02683973312378 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:06:03.500617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/09/image_20022025_21_09_37_10420.jpg', '/home/pi/Desktop/images/20022025/21/09/image_20022025_21_09_56_10420.jpg', '/home/pi/Desktop/images/20022025/21/09/image_20022025_21_10_06_9415.jpg', '/home/pi/Desktop/images/20022025/21/10/image_20022025_21_10_26_10396.jpg', '/home/pi/Desktop/images/20022025/21/10/image_20022025_21_10_36_9339.jpg', '/home/pi/Desktop/images/20022025/21/10/image_20022025_21_10_46_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/09/image_20022025_21_09_37_10420.jpg
/home/pi/Desktop/images/20022025/21/09/image_20022025_21_09_56_10420.jpg
/home/pi/Desktop/images/20022025/21/09/image_20022025_21_10_06_9415.jpg
/home/pi/Desktop/images/20022025/21/10/image_20022025_21_10_26_10396.jpg
/home/pi/Desktop/images/20022025/21/10/image_20022025_21_10_36_9339.jpg
/home/pi/Desktop/images/20022025/21/10/image_20022025_21_10_46_10338.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338910758","1338910767","1338910752","1338910761","1338910755","1338910751"],"photo_ids_order":["1338910751","1338910752","1338910755","1338910758","1338910761","1338910767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d2c2badcc51f0daac1d40c4920ac8fc1.jpg","text":"TemporaryFile(/tmp/multipartBody1957847176078380247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168424872,"filename":"image_20022025_21_10_26_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/41946acafd11f408c92189ce7896db7e.jpg","text":"TemporaryFile(/tmp/multipartBody2474794083476505531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168424872,"filename":"image_20022025_21_10_46_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9b25c2bbf65d011372f8bf1c6bc2b9c1.jpg","text":"TemporaryFile(/tmp/multipartBody377784904426845406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168424872,"filename":"image_20022025_21_09_56_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2256463aea436582b68200f932401b29.jpg","text":"TemporaryFile(/tmp/multipartBody1874097649473384713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168424872,"filename":"image_20022025_21_10_36_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e85729e13b16170c34691cec0d566286.jpg","text":"TemporaryFile(/tmp/multipartBody7822648053266210502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168424872,"filename":"image_20022025_21_10_06_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2dda02f86fc4bf1dc68afa6a16b9e9e4.jpg","text":"TemporaryFile(/tmp/multipartBody3583672500057567018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168424872,"filename":"image_20022025_21_09_37_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338910755","file1":"1338910752","file0":"1338910751","file4":"1338910761","file5":"1338910767","file3":"1338910758"},"map_files_photo_id_array":[{"photo_id":"1338910767","filename":"file5"},{"photo_id":"1338910755","filename":"file2"},{"photo_id":"1338910761","filename":"file4"},{"photo_id":"1338910752","filename":"file1"},{"photo_id":"1338910751","filename":"file0"},{"photo_id":"1338910758","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338910758":["hashtag1","hashtag2"]},{"1338910767":["hashtag1","hashtag2"]},{"1338910752":["hashtag1","hashtag2"]},{"1338910761":["hashtag1","hashtag2"]},{"1338910755":["hashtag1","hashtag2"]},{"1338910751":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338910758, 1338910767, 1338910752, 1338910761, 1338910755, 1338910751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.044039487838745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:06:42.973314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/05/image_21022025_21_05_56_9333.jpg', '/home/pi/Desktop/images/21022025/21/06/image_21022025_21_06_17_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/05/image_21022025_21_05_56_9333.jpg
/home/pi/Desktop/images/21022025/21/06/image_21022025_21_06_17_10415.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338910866","1338910961"],"photo_ids_order":["1338910866","1338910961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/589196a535bf412a3a00d81925867aee.jpg","text":"TemporaryFile(/tmp/multipartBody5414783597703109388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168463403,"filename":"image_21022025_21_05_56_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4e628863e7459eb462bf83ef7aa14390.jpg","text":"TemporaryFile(/tmp/multipartBody1733579665695332736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168463403,"filename":"image_21022025_21_06_17_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338910961","file0":"1338910866"},"map_files_photo_id_array":[{"photo_id":"1338910961","filename":"file1"},{"photo_id":"1338910866","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338910866":["hashtag1","hashtag2"]},{"1338910961":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338910866, 1338910961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.580631971359253 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:07:03.737987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/10/image_20022025_21_10_56_9464.jpg', '/home/pi/Desktop/images/20022025/21/10/image_20022025_21_11_06_10343.jpg', '/home/pi/Desktop/images/20022025/21/11/image_20022025_21_11_16_10398.jpg', '/home/pi/Desktop/images/20022025/21/11/image_20022025_21_11_36_10330.jpg', '/home/pi/Desktop/images/20022025/21/11/image_20022025_21_11_46_10338.jpg', '/home/pi/Desktop/images/20022025/21/11/image_20022025_21_11_56_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/10/image_20022025_21_10_56_9464.jpg
/home/pi/Desktop/images/20022025/21/10/image_20022025_21_11_06_10343.jpg
/home/pi/Desktop/images/20022025/21/11/image_20022025_21_11_16_10398.jpg
/home/pi/Desktop/images/20022025/21/11/image_20022025_21_11_36_10330.jpg
/home/pi/Desktop/images/20022025/21/11/image_20022025_21_11_46_10338.jpg
/home/pi/Desktop/images/20022025/21/11/image_20022025_21_11_56_9354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338911014","1338911023","1338911028","1338911022","1338911016","1338911018"],"photo_ids_order":["1338911014","1338911016","1338911018","1338911022","1338911023","1338911028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ee621589f1b568e3d865dacd0a447007.jpg","text":"TemporaryFile(/tmp/multipartBody7436432190532456437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168485645,"filename":"image_20022025_21_10_56_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1661b92c9a61246239b680ed1e6d9b0.jpg","text":"TemporaryFile(/tmp/multipartBody8640502788442981941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168485645,"filename":"image_20022025_21_11_46_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/40b036cb80aa5aaba016c5d6a92064b6.jpg","text":"TemporaryFile(/tmp/multipartBody6497108257870173934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168485645,"filename":"image_20022025_21_11_56_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4899059747922e69891ced2dd6195ba5.jpg","text":"TemporaryFile(/tmp/multipartBody5673843679884165828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168485645,"filename":"image_20022025_21_11_36_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83b8f074605bb40b1e44b66e282623a8.jpg","text":"TemporaryFile(/tmp/multipartBody667981531369097086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168485645,"filename":"image_20022025_21_11_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/105982adcd6855a49e1d871bb2b47046.jpg","text":"TemporaryFile(/tmp/multipartBody2888794362811430985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168485645,"filename":"image_20022025_21_11_16_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338911018","file1":"1338911016","file0":"1338911014","file4":"1338911023","file5":"1338911028","file3":"1338911022"},"map_files_photo_id_array":[{"photo_id":"1338911028","filename":"file5"},{"photo_id":"1338911018","filename":"file2"},{"photo_id":"1338911023","filename":"file4"},{"photo_id":"1338911016","filename":"file1"},{"photo_id":"1338911014","filename":"file0"},{"photo_id":"1338911022","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338911014":["hashtag1","hashtag2"]},{"1338911023":["hashtag1","hashtag2"]},{"1338911028":["hashtag1","hashtag2"]},{"1338911022":["hashtag1","hashtag2"]},{"1338911016":["hashtag1","hashtag2"]},{"1338911018":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338911014, 1338911023, 1338911028, 1338911022, 1338911016, 1338911018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.67042803764343 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:07:42.176506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/06/image_21022025_21_06_56_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/06/image_21022025_21_06_56_9406.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338911040"],"photo_id":"1338911040","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f65bc1b696b1e0413763ebeff5a1bb6d.jpg","text":"TemporaryFile(/tmp/multipartBody7505072605498857985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168522602,"filename":"image_21022025_21_06_56_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338911040"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338911040"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.047073364257812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:08:02.969348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/11/image_20022025_21_12_06_10366.jpg', '/home/pi/Desktop/images/20022025/21/12/image_20022025_21_12_56_10337.jpg', '/home/pi/Desktop/images/20022025/21/12/image_20022025_21_13_06_10411.jpg', '/home/pi/Desktop/images/20022025/21/13/image_20022025_21_13_16_9412.jpg', '/home/pi/Desktop/images/20022025/21/13/image_20022025_21_13_26_10433.jpg', '/home/pi/Desktop/images/20022025/21/13/image_20022025_21_13_56_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/11/image_20022025_21_12_06_10366.jpg
/home/pi/Desktop/images/20022025/21/12/image_20022025_21_12_56_10337.jpg
/home/pi/Desktop/images/20022025/21/12/image_20022025_21_13_06_10411.jpg
/home/pi/Desktop/images/20022025/21/13/image_20022025_21_13_16_9412.jpg
/home/pi/Desktop/images/20022025/21/13/image_20022025_21_13_26_10433.jpg
/home/pi/Desktop/images/20022025/21/13/image_20022025_21_13_56_10381.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338911076","1338911060","1338911054","1338911045","1338911050","1338911047"],"photo_ids_order":["1338911045","1338911047","1338911050","1338911054","1338911060","1338911076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bb844eb0a61c3e6c3ff4ef932652a373.jpg","text":"TemporaryFile(/tmp/multipartBody6718886153327998185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168544339,"filename":"image_20022025_21_13_56_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b6a00644e026b34af31be34f83ee46d.jpg","text":"TemporaryFile(/tmp/multipartBody5722170825977101752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168544339,"filename":"image_20022025_21_13_26_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6c6f7f0e8d81190a5144616ff81ca124.jpg","text":"TemporaryFile(/tmp/multipartBody8184017255270451002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168544339,"filename":"image_20022025_21_13_16_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4e6cece12e45dd90afe19044671b4186.jpg","text":"TemporaryFile(/tmp/multipartBody8635135807978864706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168544339,"filename":"image_20022025_21_12_06_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b1534a8c541881793673e0795c551fda.jpg","text":"TemporaryFile(/tmp/multipartBody5699462128727232318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168544339,"filename":"image_20022025_21_13_06_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7e38cb3b1f0e8a8844638d3135fe9125.jpg","text":"TemporaryFile(/tmp/multipartBody8997979260837938652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168544339,"filename":"image_20022025_21_12_56_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338911050","file1":"1338911047","file0":"1338911045","file4":"1338911060","file5":"1338911076","file3":"1338911054"},"map_files_photo_id_array":[{"photo_id":"1338911076","filename":"file5"},{"photo_id":"1338911050","filename":"file2"},{"photo_id":"1338911060","filename":"file4"},{"photo_id":"1338911047","filename":"file1"},{"photo_id":"1338911045","filename":"file0"},{"photo_id":"1338911054","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338911076":["hashtag1","hashtag2"]},{"1338911060":["hashtag1","hashtag2"]},{"1338911054":["hashtag1","hashtag2"]},{"1338911045":["hashtag1","hashtag2"]},{"1338911050":["hashtag1","hashtag2"]},{"1338911047":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338911076, 1338911060, 1338911054, 1338911045, 1338911050, 1338911047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.433494567871094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:08:42.433932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/07/image_21022025_21_07_57_10433.jpg', '/home/pi/Desktop/images/21022025/21/07/image_21022025_21_08_06_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/07/image_21022025_21_07_57_10433.jpg
/home/pi/Desktop/images/21022025/21/07/image_21022025_21_08_06_9402.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.34169793128967285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:08:52.386780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/07/image_21022025_21_07_57_10433.jpg', '/home/pi/Desktop/images/21022025/21/07/image_21022025_21_08_06_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/07/image_21022025_21_07_57_10433.jpg
/home/pi/Desktop/images/21022025/21/07/image_21022025_21_08_06_9402.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338911110","1338911115"],"photo_ids_order":["1338911110","1338911115"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a2db3fd66b63c62e0138a42276607f1.jpg","text":"TemporaryFile(/tmp/multipartBody1688897436284697767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168592817,"filename":"image_21022025_21_07_57_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fddc75839a7fcd36f9f936e6f1b310f1.jpg","text":"TemporaryFile(/tmp/multipartBody3183673103241733011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168592817,"filename":"image_21022025_21_08_06_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338911115","file0":"1338911110"},"map_files_photo_id_array":[{"photo_id":"1338911115","filename":"file1"},{"photo_id":"1338911110","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338911110":["hashtag1","hashtag2"]},{"1338911115":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338911110, 1338911115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.490390539169312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:09:32.813484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/08/image_21022025_21_08_57_10363.jpg', '/home/pi/Desktop/images/21022025/21/08/image_21022025_21_09_06_9370.jpg', '/home/pi/Desktop/images/21022025/21/09/image_21022025_21_09_17_10441.jpg', '/home/pi/Desktop/images/21022025/21/09/image_21022025_21_09_26_9360.jpg', '/home/pi/Desktop/images/21022025/21/09/image_21022025_21_09_36_10418.jpg', '/home/pi/Desktop/images/21022025/21/09/image_21022025_21_09_47_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/08/image_21022025_21_08_57_10363.jpg
/home/pi/Desktop/images/21022025/21/08/image_21022025_21_09_06_9370.jpg
/home/pi/Desktop/images/21022025/21/09/image_21022025_21_09_17_10441.jpg
/home/pi/Desktop/images/21022025/21/09/image_21022025_21_09_26_9360.jpg
/home/pi/Desktop/images/21022025/21/09/image_21022025_21_09_36_10418.jpg
/home/pi/Desktop/images/21022025/21/09/image_21022025_21_09_47_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338911172","1338911145","1338911147","1338911170","1338911164","1338911167"],"photo_ids_order":["1338911145","1338911147","1338911164","1338911167","1338911170","1338911172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dfa5b71115f63b1f74fe5353400d2db0.jpg","text":"TemporaryFile(/tmp/multipartBody2382730340170286110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168633293,"filename":"image_21022025_21_09_47_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6572f6c0fe1b15b1c6de96072faf1d55.jpg","text":"TemporaryFile(/tmp/multipartBody3506519438482996552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168633293,"filename":"image_21022025_21_08_57_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8f2438d234c0118af92b16e6116bda24.jpg","text":"TemporaryFile(/tmp/multipartBody4663009606726303366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168633293,"filename":"image_21022025_21_09_06_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8e72a39698f6e507b1138211028f4baa.jpg","text":"TemporaryFile(/tmp/multipartBody1209329062096583553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168633293,"filename":"image_21022025_21_09_36_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f56b9526d2fe967be82b17e8f82150f.jpg","text":"TemporaryFile(/tmp/multipartBody5420102375748063699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168633293,"filename":"image_21022025_21_09_17_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/51541e5f049ee8234fd228b6d8f0e4f4.jpg","text":"TemporaryFile(/tmp/multipartBody5485050733242646099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168633293,"filename":"image_21022025_21_09_26_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338911164","file1":"1338911147","file0":"1338911145","file4":"1338911170","file5":"1338911172","file3":"1338911167"},"map_files_photo_id_array":[{"photo_id":"1338911172","filename":"file5"},{"photo_id":"1338911164","filename":"file2"},{"photo_id":"1338911170","filename":"file4"},{"photo_id":"1338911147","filename":"file1"},{"photo_id":"1338911145","filename":"file0"},{"photo_id":"1338911167","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338911172":["hashtag1","hashtag2"]},{"1338911145":["hashtag1","hashtag2"]},{"1338911147":["hashtag1","hashtag2"]},{"1338911170":["hashtag1","hashtag2"]},{"1338911164":["hashtag1","hashtag2"]},{"1338911167":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338911172, 1338911145, 1338911147, 1338911170, 1338911164, 1338911167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03580570220947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:10:32.851044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/09/image_21022025_21_09_56_9384.jpg', '/home/pi/Desktop/images/21022025/21/09/image_21022025_21_10_07_10433.jpg', '/home/pi/Desktop/images/21022025/21/10/image_21022025_21_10_16_9347.jpg', '/home/pi/Desktop/images/21022025/21/10/image_21022025_21_10_26_10430.jpg', '/home/pi/Desktop/images/21022025/21/10/image_21022025_21_10_37_10428.jpg', '/home/pi/Desktop/images/21022025/21/10/image_21022025_21_10_46_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/09/image_21022025_21_09_56_9384.jpg
/home/pi/Desktop/images/21022025/21/09/image_21022025_21_10_07_10433.jpg
/home/pi/Desktop/images/21022025/21/10/image_21022025_21_10_16_9347.jpg
/home/pi/Desktop/images/21022025/21/10/image_21022025_21_10_26_10430.jpg
/home/pi/Desktop/images/21022025/21/10/image_21022025_21_10_37_10428.jpg
/home/pi/Desktop/images/21022025/21/10/image_21022025_21_10_46_9388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338911308","1338911302","1338911262","1338911255","1338911309","1338911257"],"photo_ids_order":["1338911255","1338911257","1338911262","1338911302","1338911308","1338911309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/de6e98effd520aab5a9c41fc8af113e3.jpg","text":"TemporaryFile(/tmp/multipartBody8528317327949266904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168693327,"filename":"image_21022025_21_10_37_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/31431e36c93a62fd4b7299cc5efb51d8.jpg","text":"TemporaryFile(/tmp/multipartBody3470997014601891182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168693327,"filename":"image_21022025_21_10_26_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc235aa6569aae6d57a4e2abaca52ebf.jpg","text":"TemporaryFile(/tmp/multipartBody2317147133216816403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168693327,"filename":"image_21022025_21_10_16_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c27cf16a26b78944099a967d5d733c80.jpg","text":"TemporaryFile(/tmp/multipartBody3184296568603803814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168693327,"filename":"image_21022025_21_09_56_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e0a7c3c0afa5f613e58cb5522bf3ff7.jpg","text":"TemporaryFile(/tmp/multipartBody2883027052111467593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168693327,"filename":"image_21022025_21_10_46_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0d2fc6f7d37bb80de9122188fedf5821.jpg","text":"TemporaryFile(/tmp/multipartBody3658495682370741615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168693327,"filename":"image_21022025_21_10_07_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338911262","file1":"1338911257","file0":"1338911255","file4":"1338911308","file5":"1338911309","file3":"1338911302"},"map_files_photo_id_array":[{"photo_id":"1338911309","filename":"file5"},{"photo_id":"1338911262","filename":"file2"},{"photo_id":"1338911308","filename":"file4"},{"photo_id":"1338911257","filename":"file1"},{"photo_id":"1338911255","filename":"file0"},{"photo_id":"1338911302","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338911308":["hashtag1","hashtag2"]},{"1338911302":["hashtag1","hashtag2"]},{"1338911262":["hashtag1","hashtag2"]},{"1338911255":["hashtag1","hashtag2"]},{"1338911309":["hashtag1","hashtag2"]},{"1338911257":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338911308, 1338911302, 1338911262, 1338911255, 1338911309, 1338911257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.415008783340454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:11:33.022993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/10/image_21022025_21_10_57_10532.jpg', '/home/pi/Desktop/images/21022025/21/10/image_21022025_21_11_06_9327.jpg', '/home/pi/Desktop/images/21022025/21/11/image_21022025_21_11_17_10402.jpg', '/home/pi/Desktop/images/21022025/21/11/image_21022025_21_11_27_10414.jpg', '/home/pi/Desktop/images/21022025/21/11/image_21022025_21_11_36_9492.jpg', '/home/pi/Desktop/images/21022025/21/11/image_21022025_21_11_47_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/10/image_21022025_21_10_57_10532.jpg
/home/pi/Desktop/images/21022025/21/10/image_21022025_21_11_06_9327.jpg
/home/pi/Desktop/images/21022025/21/11/image_21022025_21_11_17_10402.jpg
/home/pi/Desktop/images/21022025/21/11/image_21022025_21_11_27_10414.jpg
/home/pi/Desktop/images/21022025/21/11/image_21022025_21_11_36_9492.jpg
/home/pi/Desktop/images/21022025/21/11/image_21022025_21_11_47_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338911370","1338911367","1338911362","1338911356","1338911365","1338911359"],"photo_ids_order":["1338911356","1338911359","1338911362","1338911365","1338911367","1338911370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8842bc8d036baef764edec8dc5403f58.jpg","text":"TemporaryFile(/tmp/multipartBody4338014402536678639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168753487,"filename":"image_21022025_21_11_47_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/16d7273929300bdfa3217e3bc3d3dece.jpg","text":"TemporaryFile(/tmp/multipartBody1829101815887621861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168753487,"filename":"image_21022025_21_11_36_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/264dbce81518c325c541945b4620ff3a.jpg","text":"TemporaryFile(/tmp/multipartBody2354642180663542885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168753487,"filename":"image_21022025_21_11_17_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/abc0f63cf0ca76a3c9f0ddefd2590605.jpg","text":"TemporaryFile(/tmp/multipartBody3042946101070649964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168753487,"filename":"image_21022025_21_10_57_10532.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b21b856f48cd88ebb7dd1111711c4b93.jpg","text":"TemporaryFile(/tmp/multipartBody4139826556324432322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168753487,"filename":"image_21022025_21_11_27_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2c26fdbd8dca6891557b3fefe1c1f2e7.jpg","text":"TemporaryFile(/tmp/multipartBody3634094460912934579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168753487,"filename":"image_21022025_21_11_06_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338911362","file1":"1338911359","file0":"1338911356","file4":"1338911367","file5":"1338911370","file3":"1338911365"},"map_files_photo_id_array":[{"photo_id":"1338911370","filename":"file5"},{"photo_id":"1338911362","filename":"file2"},{"photo_id":"1338911367","filename":"file4"},{"photo_id":"1338911359","filename":"file1"},{"photo_id":"1338911356","filename":"file0"},{"photo_id":"1338911365","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338911370":["hashtag1","hashtag2"]},{"1338911367":["hashtag1","hashtag2"]},{"1338911362":["hashtag1","hashtag2"]},{"1338911356":["hashtag1","hashtag2"]},{"1338911365":["hashtag1","hashtag2"]},{"1338911359":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338911370, 1338911367, 1338911362, 1338911356, 1338911365, 1338911359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.968032836914062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:12:32.236067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/11/image_21022025_21_11_56_9425.jpg', '/home/pi/Desktop/images/21022025/21/11/image_21022025_21_12_07_10443.jpg', '/home/pi/Desktop/images/21022025/21/12/image_21022025_21_12_16_9329.jpg', '/home/pi/Desktop/images/21022025/21/12/image_21022025_21_12_26_10368.jpg', '/home/pi/Desktop/images/21022025/21/12/image_21022025_21_12_37_10425.jpg', '/home/pi/Desktop/images/21022025/21/12/image_21022025_21_12_46_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/11/image_21022025_21_11_56_9425.jpg
/home/pi/Desktop/images/21022025/21/11/image_21022025_21_12_07_10443.jpg
/home/pi/Desktop/images/21022025/21/12/image_21022025_21_12_16_9329.jpg
/home/pi/Desktop/images/21022025/21/12/image_21022025_21_12_26_10368.jpg
/home/pi/Desktop/images/21022025/21/12/image_21022025_21_12_37_10425.jpg
/home/pi/Desktop/images/21022025/21/12/image_21022025_21_12_46_9439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338911385","1338911388","1338911390","1338911380","1338911383","1338911377"],"photo_ids_order":["1338911377","1338911380","1338911383","1338911385","1338911388","1338911390"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f6558c6fb659ae30d08c1892032c3fd.jpg","text":"TemporaryFile(/tmp/multipartBody7275017632701051438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168812715,"filename":"image_21022025_21_12_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f083efca7f8c22cd9fceb3acf13d19f.jpg","text":"TemporaryFile(/tmp/multipartBody2882147321696906401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168812715,"filename":"image_21022025_21_12_37_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dfefd53047016bd0833eecb565f7d5fa.jpg","text":"TemporaryFile(/tmp/multipartBody3558595893091643802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168812715,"filename":"image_21022025_21_12_46_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dfbe2d354f4a672debe5432d46d3a43c.jpg","text":"TemporaryFile(/tmp/multipartBody6311292604515853992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168812715,"filename":"image_21022025_21_12_07_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1e3213fcd031f96e7bfe479a386ba1f.jpg","text":"TemporaryFile(/tmp/multipartBody1715462381269678244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168812715,"filename":"image_21022025_21_12_16_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b0f33c037bc222448456396322ad0353.jpg","text":"TemporaryFile(/tmp/multipartBody1910994800822961016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168812715,"filename":"image_21022025_21_11_56_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338911383","file1":"1338911380","file0":"1338911377","file4":"1338911388","file5":"1338911390","file3":"1338911385"},"map_files_photo_id_array":[{"photo_id":"1338911390","filename":"file5"},{"photo_id":"1338911383","filename":"file2"},{"photo_id":"1338911388","filename":"file4"},{"photo_id":"1338911380","filename":"file1"},{"photo_id":"1338911377","filename":"file0"},{"photo_id":"1338911385","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338911385":["hashtag1","hashtag2"]},{"1338911388":["hashtag1","hashtag2"]},{"1338911390":["hashtag1","hashtag2"]},{"1338911380":["hashtag1","hashtag2"]},{"1338911383":["hashtag1","hashtag2"]},{"1338911377":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338911385, 1338911388, 1338911390, 1338911380, 1338911383, 1338911377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67002272605896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:13:32.432178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/12/image_21022025_21_12_57_10420.jpg', '/home/pi/Desktop/images/21022025/21/12/image_21022025_21_13_06_9385.jpg', '/home/pi/Desktop/images/21022025/21/13/image_21022025_21_13_16_10398.jpg', '/home/pi/Desktop/images/21022025/21/13/image_21022025_21_13_27_10421.jpg', '/home/pi/Desktop/images/21022025/21/13/image_21022025_21_13_36_9402.jpg', '/home/pi/Desktop/images/21022025/21/13/image_21022025_21_13_47_10505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/12/image_21022025_21_12_57_10420.jpg
/home/pi/Desktop/images/21022025/21/12/image_21022025_21_13_06_9385.jpg
/home/pi/Desktop/images/21022025/21/13/image_21022025_21_13_16_10398.jpg
/home/pi/Desktop/images/21022025/21/13/image_21022025_21_13_27_10421.jpg
/home/pi/Desktop/images/21022025/21/13/image_21022025_21_13_36_9402.jpg
/home/pi/Desktop/images/21022025/21/13/image_21022025_21_13_47_10505.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338911410","1338911413","1338911407","1338911403","1338911405","1338911416"],"photo_ids_order":["1338911403","1338911405","1338911407","1338911410","1338911413","1338911416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bcdfc324baf79320f651b639c0ff0745.jpg","text":"TemporaryFile(/tmp/multipartBody4769113816375347615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168872903,"filename":"image_21022025_21_13_27_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/383c655f1d0230b8aaee90edd64ea0d5.jpg","text":"TemporaryFile(/tmp/multipartBody4084828996088836705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168872903,"filename":"image_21022025_21_13_36_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ee5d37a9d487d512c98fa3bfc4f5877f.jpg","text":"TemporaryFile(/tmp/multipartBody443618999680072768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168872903,"filename":"image_21022025_21_13_16_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b4b369a93ff22a2e98015fc816f8f2c.jpg","text":"TemporaryFile(/tmp/multipartBody8132509096126929645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168872903,"filename":"image_21022025_21_12_57_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b31e953218e9e770ef874e952a1c7036.jpg","text":"TemporaryFile(/tmp/multipartBody2581979830463009791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168872903,"filename":"image_21022025_21_13_06_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/538db5dfe9cbbc7420ca4ef7b9338b2c.jpg","text":"TemporaryFile(/tmp/multipartBody5255044369269076520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168872903,"filename":"image_21022025_21_13_47_10505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338911407","file1":"1338911405","file0":"1338911403","file4":"1338911413","file5":"1338911416","file3":"1338911410"},"map_files_photo_id_array":[{"photo_id":"1338911416","filename":"file5"},{"photo_id":"1338911407","filename":"file2"},{"photo_id":"1338911413","filename":"file4"},{"photo_id":"1338911405","filename":"file1"},{"photo_id":"1338911403","filename":"file0"},{"photo_id":"1338911410","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338911410":["hashtag1","hashtag2"]},{"1338911413":["hashtag1","hashtag2"]},{"1338911407":["hashtag1","hashtag2"]},{"1338911403":["hashtag1","hashtag2"]},{"1338911405":["hashtag1","hashtag2"]},{"1338911416":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338911410, 1338911413, 1338911407, 1338911403, 1338911405, 1338911416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84005260467529 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:14:32.643971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/13/image_21022025_21_13_56_9348.jpg', '/home/pi/Desktop/images/21022025/21/13/image_21022025_21_14_07_10441.jpg', '/home/pi/Desktop/images/21022025/21/14/image_21022025_21_14_17_10355.jpg', '/home/pi/Desktop/images/21022025/21/14/image_21022025_21_14_26_9402.jpg', '/home/pi/Desktop/images/21022025/21/14/image_21022025_21_14_37_10386.jpg', '/home/pi/Desktop/images/21022025/21/14/image_21022025_21_14_46_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/13/image_21022025_21_13_56_9348.jpg
/home/pi/Desktop/images/21022025/21/13/image_21022025_21_14_07_10441.jpg
/home/pi/Desktop/images/21022025/21/14/image_21022025_21_14_17_10355.jpg
/home/pi/Desktop/images/21022025/21/14/image_21022025_21_14_26_9402.jpg
/home/pi/Desktop/images/21022025/21/14/image_21022025_21_14_37_10386.jpg
/home/pi/Desktop/images/21022025/21/14/image_21022025_21_14_46_9416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338911463","1338911466","1338911450","1338911444","1338911473","1338911455"],"photo_ids_order":["1338911444","1338911450","1338911455","1338911463","1338911466","1338911473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e54b142e3163b90b866732e7aa596c69.jpg","text":"TemporaryFile(/tmp/multipartBody3450236823345880744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168933114,"filename":"image_21022025_21_14_26_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ad8746b409c7c4e705a223a4e73725b.jpg","text":"TemporaryFile(/tmp/multipartBody5761359136011203200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168933114,"filename":"image_21022025_21_14_37_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bf17a902c9aa5ed319e833864308c141.jpg","text":"TemporaryFile(/tmp/multipartBody8403407587397261009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168933114,"filename":"image_21022025_21_14_07_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4dca9238f2764772523fcab13a11e1b0.jpg","text":"TemporaryFile(/tmp/multipartBody5219451034426051561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168933114,"filename":"image_21022025_21_13_56_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a1453960e021b35c0029b5bcbf5b8dbe.jpg","text":"TemporaryFile(/tmp/multipartBody3119921746405912400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168933114,"filename":"image_21022025_21_14_46_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/005cb0b20569b17025d832fd2195055c.jpg","text":"TemporaryFile(/tmp/multipartBody8779675079769049282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168933114,"filename":"image_21022025_21_14_17_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338911455","file1":"1338911450","file0":"1338911444","file4":"1338911466","file5":"1338911473","file3":"1338911463"},"map_files_photo_id_array":[{"photo_id":"1338911473","filename":"file5"},{"photo_id":"1338911455","filename":"file2"},{"photo_id":"1338911466","filename":"file4"},{"photo_id":"1338911450","filename":"file1"},{"photo_id":"1338911444","filename":"file0"},{"photo_id":"1338911463","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338911463":["hashtag1","hashtag2"]},{"1338911466":["hashtag1","hashtag2"]},{"1338911450":["hashtag1","hashtag2"]},{"1338911444":["hashtag1","hashtag2"]},{"1338911473":["hashtag1","hashtag2"]},{"1338911455":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338911463, 1338911466, 1338911450, 1338911444, 1338911473, 1338911455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.306843519210815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:15:32.749333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/14/image_21022025_21_14_56_10355.jpg', '/home/pi/Desktop/images/21022025/21/14/image_21022025_21_15_07_10338.jpg', '/home/pi/Desktop/images/21022025/21/15/image_21022025_21_15_16_9322.jpg', '/home/pi/Desktop/images/21022025/21/15/image_21022025_21_15_27_10409.jpg', '/home/pi/Desktop/images/21022025/21/15/image_21022025_21_15_37_10357.jpg', '/home/pi/Desktop/images/21022025/21/15/image_21022025_21_15_46_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/14/image_21022025_21_14_56_10355.jpg
/home/pi/Desktop/images/21022025/21/14/image_21022025_21_15_07_10338.jpg
/home/pi/Desktop/images/21022025/21/15/image_21022025_21_15_16_9322.jpg
/home/pi/Desktop/images/21022025/21/15/image_21022025_21_15_27_10409.jpg
/home/pi/Desktop/images/21022025/21/15/image_21022025_21_15_37_10357.jpg
/home/pi/Desktop/images/21022025/21/15/image_21022025_21_15_46_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338911509","1338911520","1338911508","1338911517","1338911525","1338911510"],"photo_ids_order":["1338911508","1338911509","1338911510","1338911517","1338911520","1338911525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d60a0d5479043b021e4e0545749dcac5.jpg","text":"TemporaryFile(/tmp/multipartBody4831443052046507997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168993218,"filename":"image_21022025_21_15_07_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f9f44769b620bd5a2bbca71d6c98b4b3.jpg","text":"TemporaryFile(/tmp/multipartBody3986250877717231409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168993218,"filename":"image_21022025_21_15_37_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9895f186a76a42ac0a47de1b2837fe02.jpg","text":"TemporaryFile(/tmp/multipartBody3205764172366372484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168993218,"filename":"image_21022025_21_14_56_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/571dfaaa1296c33aea2c47dd450ca3c3.jpg","text":"TemporaryFile(/tmp/multipartBody5280702260047685496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168993218,"filename":"image_21022025_21_15_27_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6bce424b2057f87db607d05560969dce.jpg","text":"TemporaryFile(/tmp/multipartBody2713074864789070930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168993218,"filename":"image_21022025_21_15_46_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/26c50419bfbd1be2726927a5112b3a61.jpg","text":"TemporaryFile(/tmp/multipartBody2680144880343567339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740168993218,"filename":"image_21022025_21_15_16_9322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338911510","file1":"1338911509","file0":"1338911508","file4":"1338911520","file5":"1338911525","file3":"1338911517"},"map_files_photo_id_array":[{"photo_id":"1338911525","filename":"file5"},{"photo_id":"1338911510","filename":"file2"},{"photo_id":"1338911520","filename":"file4"},{"photo_id":"1338911509","filename":"file1"},{"photo_id":"1338911508","filename":"file0"},{"photo_id":"1338911517","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338911509":["hashtag1","hashtag2"]},{"1338911520":["hashtag1","hashtag2"]},{"1338911508":["hashtag1","hashtag2"]},{"1338911517":["hashtag1","hashtag2"]},{"1338911525":["hashtag1","hashtag2"]},{"1338911510":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338911509, 1338911520, 1338911508, 1338911517, 1338911525, 1338911510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05933880805969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:16:32.984399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/15/image_21022025_21_15_57_10470.jpg', '/home/pi/Desktop/images/21022025/21/15/image_21022025_21_16_06_9327.jpg', '/home/pi/Desktop/images/21022025/21/16/image_21022025_21_16_16_10353.jpg', '/home/pi/Desktop/images/21022025/21/16/image_21022025_21_16_27_10366.jpg', '/home/pi/Desktop/images/21022025/21/16/image_21022025_21_16_36_9409.jpg', '/home/pi/Desktop/images/21022025/21/16/image_21022025_21_16_47_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/15/image_21022025_21_15_57_10470.jpg
/home/pi/Desktop/images/21022025/21/15/image_21022025_21_16_06_9327.jpg
/home/pi/Desktop/images/21022025/21/16/image_21022025_21_16_16_10353.jpg
/home/pi/Desktop/images/21022025/21/16/image_21022025_21_16_27_10366.jpg
/home/pi/Desktop/images/21022025/21/16/image_21022025_21_16_36_9409.jpg
/home/pi/Desktop/images/21022025/21/16/image_21022025_21_16_47_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338911808","1338911873","1338911876","1338911729","1338911881","1338911878"],"photo_ids_order":["1338911729","1338911808","1338911873","1338911876","1338911878","1338911881"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a316dc21b92767b5a068ebe5a1d5ff24.jpg","text":"TemporaryFile(/tmp/multipartBody2833946093997168534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169053458,"filename":"image_21022025_21_16_06_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cce669cc4b3bb0d4ab5c00448313a3fd.jpg","text":"TemporaryFile(/tmp/multipartBody1266053847195022819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169053458,"filename":"image_21022025_21_16_16_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4e22402dccc186ab55e61e5d0fea2f32.jpg","text":"TemporaryFile(/tmp/multipartBody1660313639899422508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169053458,"filename":"image_21022025_21_16_27_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/43b822a94b312822b6c55a59c827d37f.jpg","text":"TemporaryFile(/tmp/multipartBody7659128081025283831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169053458,"filename":"image_21022025_21_15_57_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/da78fe7121bc7bfff389cc38e5b67d09.jpg","text":"TemporaryFile(/tmp/multipartBody388232933492643129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169053458,"filename":"image_21022025_21_16_47_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5e0e99c2e0e39ca6107c3ae7dd01aa1c.jpg","text":"TemporaryFile(/tmp/multipartBody7650370405871269971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169053458,"filename":"image_21022025_21_16_36_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338911873","file1":"1338911808","file0":"1338911729","file4":"1338911878","file5":"1338911881","file3":"1338911876"},"map_files_photo_id_array":[{"photo_id":"1338911881","filename":"file5"},{"photo_id":"1338911873","filename":"file2"},{"photo_id":"1338911878","filename":"file4"},{"photo_id":"1338911808","filename":"file1"},{"photo_id":"1338911729","filename":"file0"},{"photo_id":"1338911876","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338911808":["hashtag1","hashtag2"]},{"1338911873":["hashtag1","hashtag2"]},{"1338911876":["hashtag1","hashtag2"]},{"1338911729":["hashtag1","hashtag2"]},{"1338911881":["hashtag1","hashtag2"]},{"1338911878":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338911808, 1338911873, 1338911876, 1338911729, 1338911881, 1338911878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.505517959594727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:17:32.273177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/16/image_21022025_21_16_57_10420.jpg', '/home/pi/Desktop/images/21022025/21/17/image_21022025_21_17_17_10334.jpg', '/home/pi/Desktop/images/21022025/21/17/image_21022025_21_17_26_9387.jpg', '/home/pi/Desktop/images/21022025/21/17/image_21022025_21_17_36_10350.jpg', '/home/pi/Desktop/images/21022025/21/17/image_21022025_21_17_47_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/16/image_21022025_21_16_57_10420.jpg
/home/pi/Desktop/images/21022025/21/17/image_21022025_21_17_17_10334.jpg
/home/pi/Desktop/images/21022025/21/17/image_21022025_21_17_26_9387.jpg
/home/pi/Desktop/images/21022025/21/17/image_21022025_21_17_36_10350.jpg
/home/pi/Desktop/images/21022025/21/17/image_21022025_21_17_47_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338911898","1338911895","1338911897","1338911900","1338911903"],"photo_ids_order":["1338911895","1338911897","1338911898","1338911900","1338911903"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b665727198cd95677170474349b5083e.jpg","text":"TemporaryFile(/tmp/multipartBody4237965795249360430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169112727,"filename":"image_21022025_21_17_26_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6b7be18fb48d979156057601f6e22cdf.jpg","text":"TemporaryFile(/tmp/multipartBody7677690657760832969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169112727,"filename":"image_21022025_21_16_57_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2823502b9885b559f7141eeb66ef1611.jpg","text":"TemporaryFile(/tmp/multipartBody1185328574823368511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169112727,"filename":"image_21022025_21_17_17_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/de950a25fe252aa0c14afbd736c22881.jpg","text":"TemporaryFile(/tmp/multipartBody8645426647550829170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169112727,"filename":"image_21022025_21_17_36_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bff9591e33131717fee7fe96d6939515.jpg","text":"TemporaryFile(/tmp/multipartBody5404230327398466479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169112727,"filename":"image_21022025_21_17_47_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338911898","file1":"1338911897","file0":"1338911895","file4":"1338911903","file3":"1338911900"},"map_files_photo_id_array":[{"photo_id":"1338911898","filename":"file2"},{"photo_id":"1338911903","filename":"file4"},{"photo_id":"1338911897","filename":"file1"},{"photo_id":"1338911895","filename":"file0"},{"photo_id":"1338911900","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338911898":["hashtag1","hashtag2"]},{"1338911895":["hashtag1","hashtag2"]},{"1338911897":["hashtag1","hashtag2"]},{"1338911900":["hashtag1","hashtag2"]},{"1338911903":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338911898, 1338911895, 1338911897, 1338911900, 1338911903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.259569883346558 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:18:32.715125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/17/image_21022025_21_17_56_9339.jpg', '/home/pi/Desktop/images/21022025/21/17/image_21022025_21_18_07_10447.jpg', '/home/pi/Desktop/images/21022025/21/18/image_21022025_21_18_16_9342.jpg', '/home/pi/Desktop/images/21022025/21/18/image_21022025_21_18_26_10355.jpg', '/home/pi/Desktop/images/21022025/21/18/image_21022025_21_18_37_10380.jpg', '/home/pi/Desktop/images/21022025/21/18/image_21022025_21_18_46_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/17/image_21022025_21_17_56_9339.jpg
/home/pi/Desktop/images/21022025/21/17/image_21022025_21_18_07_10447.jpg
/home/pi/Desktop/images/21022025/21/18/image_21022025_21_18_16_9342.jpg
/home/pi/Desktop/images/21022025/21/18/image_21022025_21_18_26_10355.jpg
/home/pi/Desktop/images/21022025/21/18/image_21022025_21_18_37_10380.jpg
/home/pi/Desktop/images/21022025/21/18/image_21022025_21_18_46_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338911920","1338911922","1338912158","1338912520","1338912343","1338911956"],"photo_ids_order":["1338911920","1338911922","1338911956","1338912158","1338912343","1338912520"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/73142bff5ae3eb43b9b30d74045f0c4d.jpg","text":"TemporaryFile(/tmp/multipartBody2940622422582564216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169173177,"filename":"image_21022025_21_17_56_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be0843e9844ca8caba096fa93559a492.jpg","text":"TemporaryFile(/tmp/multipartBody355924166584331425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169173177,"filename":"image_21022025_21_18_07_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d9c5ef7575559cd1ecd99369ee2425ff.jpg","text":"TemporaryFile(/tmp/multipartBody637681008518219449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169173177,"filename":"image_21022025_21_18_26_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/189d201cc8b73535fc8249199f52e905.jpg","text":"TemporaryFile(/tmp/multipartBody5868585887669002522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169173177,"filename":"image_21022025_21_18_46_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/05d72c1b33174a55ae3e0719b8e93f15.jpg","text":"TemporaryFile(/tmp/multipartBody1401902896320331513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169173177,"filename":"image_21022025_21_18_37_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bcde41dc5e8844c66d7c7cb5bc580b78.jpg","text":"TemporaryFile(/tmp/multipartBody7925777147486160884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169173177,"filename":"image_21022025_21_18_16_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338911956","file1":"1338911922","file0":"1338911920","file4":"1338912343","file5":"1338912520","file3":"1338912158"},"map_files_photo_id_array":[{"photo_id":"1338912520","filename":"file5"},{"photo_id":"1338911956","filename":"file2"},{"photo_id":"1338912343","filename":"file4"},{"photo_id":"1338911922","filename":"file1"},{"photo_id":"1338911920","filename":"file0"},{"photo_id":"1338912158","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338911920":["hashtag1","hashtag2"]},{"1338911922":["hashtag1","hashtag2"]},{"1338912158":["hashtag1","hashtag2"]},{"1338912520":["hashtag1","hashtag2"]},{"1338912343":["hashtag1","hashtag2"]},{"1338911956":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338911920, 1338911922, 1338912158, 1338912520, 1338912343, 1338911956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.051767349243164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:19:32.790339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/18/image_21022025_21_18_56_10358.jpg', '/home/pi/Desktop/images/21022025/21/18/image_21022025_21_19_07_10454.jpg', '/home/pi/Desktop/images/21022025/21/19/image_21022025_21_19_16_9330.jpg', '/home/pi/Desktop/images/21022025/21/19/image_21022025_21_19_27_10527.jpg', '/home/pi/Desktop/images/21022025/21/19/image_21022025_21_19_36_9416.jpg', '/home/pi/Desktop/images/21022025/21/19/image_21022025_21_19_46_10233.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/18/image_21022025_21_18_56_10358.jpg
/home/pi/Desktop/images/21022025/21/18/image_21022025_21_19_07_10454.jpg
/home/pi/Desktop/images/21022025/21/19/image_21022025_21_19_16_9330.jpg
/home/pi/Desktop/images/21022025/21/19/image_21022025_21_19_27_10527.jpg
/home/pi/Desktop/images/21022025/21/19/image_21022025_21_19_36_9416.jpg
/home/pi/Desktop/images/21022025/21/19/image_21022025_21_19_46_10233.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338912660","1338912657","1338912740","1338912737","1338912710","1338912706"],"photo_ids_order":["1338912657","1338912660","1338912706","1338912710","1338912737","1338912740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b855c9c5dcba47f512098efa064f6cd3.jpg","text":"TemporaryFile(/tmp/multipartBody3434616331779775116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169233250,"filename":"image_21022025_21_19_07_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1d3ddfaf81b15c5d97789dcedd62f705.jpg","text":"TemporaryFile(/tmp/multipartBody7143744888677043250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169233250,"filename":"image_21022025_21_18_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f9039d7097de8795189a93ece65ae87c.jpg","text":"TemporaryFile(/tmp/multipartBody7978818808267801806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169233250,"filename":"image_21022025_21_19_46_10233.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/95e32b4bae7d431ddb738e5cb019e780.jpg","text":"TemporaryFile(/tmp/multipartBody851373069054232464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169233250,"filename":"image_21022025_21_19_36_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a9838e0216425d80505b7ed44780d74c.jpg","text":"TemporaryFile(/tmp/multipartBody3132815210814404251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169233250,"filename":"image_21022025_21_19_27_10527.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/509300323e61eab9ffdc99f5a74a65b8.jpg","text":"TemporaryFile(/tmp/multipartBody6688803790354851722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169233250,"filename":"image_21022025_21_19_16_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338912706","file1":"1338912660","file0":"1338912657","file4":"1338912737","file5":"1338912740","file3":"1338912710"},"map_files_photo_id_array":[{"photo_id":"1338912740","filename":"file5"},{"photo_id":"1338912706","filename":"file2"},{"photo_id":"1338912737","filename":"file4"},{"photo_id":"1338912660","filename":"file1"},{"photo_id":"1338912657","filename":"file0"},{"photo_id":"1338912710","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338912660":["hashtag1","hashtag2"]},{"1338912657":["hashtag1","hashtag2"]},{"1338912740":["hashtag1","hashtag2"]},{"1338912737":["hashtag1","hashtag2"]},{"1338912710":["hashtag1","hashtag2"]},{"1338912706":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338912660, 1338912657, 1338912740, 1338912737, 1338912710, 1338912706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97032403945923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:20:33.136147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/19/image_21022025_21_19_57_10354.jpg', '/home/pi/Desktop/images/21022025/21/19/image_21022025_21_20_06_9338.jpg', '/home/pi/Desktop/images/21022025/21/20/image_21022025_21_20_16_10390.jpg', '/home/pi/Desktop/images/21022025/21/20/image_21022025_21_20_27_10348.jpg', '/home/pi/Desktop/images/21022025/21/20/image_21022025_21_20_36_9324.jpg', '/home/pi/Desktop/images/21022025/21/20/image_21022025_21_20_47_10473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/19/image_21022025_21_19_57_10354.jpg
/home/pi/Desktop/images/21022025/21/19/image_21022025_21_20_06_9338.jpg
/home/pi/Desktop/images/21022025/21/20/image_21022025_21_20_16_10390.jpg
/home/pi/Desktop/images/21022025/21/20/image_21022025_21_20_27_10348.jpg
/home/pi/Desktop/images/21022025/21/20/image_21022025_21_20_36_9324.jpg
/home/pi/Desktop/images/21022025/21/20/image_21022025_21_20_47_10473.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38417887687683105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:20:43.146189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/19/image_21022025_21_19_57_10354.jpg', '/home/pi/Desktop/images/21022025/21/19/image_21022025_21_20_06_9338.jpg', '/home/pi/Desktop/images/21022025/21/20/image_21022025_21_20_16_10390.jpg', '/home/pi/Desktop/images/21022025/21/20/image_21022025_21_20_27_10348.jpg', '/home/pi/Desktop/images/21022025/21/20/image_21022025_21_20_36_9324.jpg', '/home/pi/Desktop/images/21022025/21/20/image_21022025_21_20_47_10473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/19/image_21022025_21_19_57_10354.jpg
/home/pi/Desktop/images/21022025/21/19/image_21022025_21_20_06_9338.jpg
/home/pi/Desktop/images/21022025/21/20/image_21022025_21_20_16_10390.jpg
/home/pi/Desktop/images/21022025/21/20/image_21022025_21_20_27_10348.jpg
/home/pi/Desktop/images/21022025/21/20/image_21022025_21_20_36_9324.jpg
/home/pi/Desktop/images/21022025/21/20/image_21022025_21_20_47_10473.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338912834","1338912843","1338912831","1338912841","1338912850","1338912838"],"photo_ids_order":["1338912831","1338912834","1338912838","1338912841","1338912843","1338912850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8a21ad9b98022d32e6b3cdb5f2c52dba.jpg","text":"TemporaryFile(/tmp/multipartBody9210158025668868260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169303610,"filename":"image_21022025_21_20_06_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/044a0e6b31f1bc1aae21a648585c73c2.jpg","text":"TemporaryFile(/tmp/multipartBody7621116937439063327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169303610,"filename":"image_21022025_21_20_36_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/71dfc02386df7263967a4cfb04e5d482.jpg","text":"TemporaryFile(/tmp/multipartBody8913804177335973445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169303610,"filename":"image_21022025_21_19_57_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fbb34e5b08332eb50390a483d8a7ad21.jpg","text":"TemporaryFile(/tmp/multipartBody652837934289027137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169303610,"filename":"image_21022025_21_20_27_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5ca3a45ce412fccab53e83655f750506.jpg","text":"TemporaryFile(/tmp/multipartBody437145006921819249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169303610,"filename":"image_21022025_21_20_47_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04bb12384237e1c3e491cf1fdf072c91.jpg","text":"TemporaryFile(/tmp/multipartBody2952573727127266557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169303610,"filename":"image_21022025_21_20_16_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338912838","file1":"1338912834","file0":"1338912831","file4":"1338912843","file5":"1338912850","file3":"1338912841"},"map_files_photo_id_array":[{"photo_id":"1338912850","filename":"file5"},{"photo_id":"1338912838","filename":"file2"},{"photo_id":"1338912843","filename":"file4"},{"photo_id":"1338912834","filename":"file1"},{"photo_id":"1338912831","filename":"file0"},{"photo_id":"1338912841","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338912834":["hashtag1","hashtag2"]},{"1338912843":["hashtag1","hashtag2"]},{"1338912831":["hashtag1","hashtag2"]},{"1338912841":["hashtag1","hashtag2"]},{"1338912850":["hashtag1","hashtag2"]},{"1338912838":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338912834, 1338912843, 1338912831, 1338912841, 1338912850, 1338912838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.88587498664856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:21:32.301933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/20/image_21022025_21_20_56_9453.jpg', '/home/pi/Desktop/images/21022025/21/20/image_21022025_21_21_06_10344.jpg', '/home/pi/Desktop/images/21022025/21/21/image_21022025_21_21_17_10408.jpg', '/home/pi/Desktop/images/21022025/21/21/image_21022025_21_21_37_10449.jpg', '/home/pi/Desktop/images/21022025/21/21/image_21022025_21_21_46_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/20/image_21022025_21_20_56_9453.jpg
/home/pi/Desktop/images/21022025/21/20/image_21022025_21_21_06_10344.jpg
/home/pi/Desktop/images/21022025/21/21/image_21022025_21_21_17_10408.jpg
/home/pi/Desktop/images/21022025/21/21/image_21022025_21_21_37_10449.jpg
/home/pi/Desktop/images/21022025/21/21/image_21022025_21_21_46_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338912881","1338912941","1338912884","1338912926","1338912922"],"photo_ids_order":["1338912881","1338912884","1338912922","1338912926","1338912941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0ad396d0edd075231f6dd4bf0adc2078.jpg","text":"TemporaryFile(/tmp/multipartBody5300008792201490878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169352755,"filename":"image_21022025_21_20_56_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d03bfb9b2047d15bfa44178ec4e2620.jpg","text":"TemporaryFile(/tmp/multipartBody708095938334179319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169352755,"filename":"image_21022025_21_21_46_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1c096beedf3a5c5bcc72eb0c4a659b32.jpg","text":"TemporaryFile(/tmp/multipartBody4535139659469925792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169352755,"filename":"image_21022025_21_21_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02de4e97a9291de0ac0369c56deb240c.jpg","text":"TemporaryFile(/tmp/multipartBody7986225496399939049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169352755,"filename":"image_21022025_21_21_37_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c80f3216a39168599614021af97b9103.jpg","text":"TemporaryFile(/tmp/multipartBody76318886505615518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169352755,"filename":"image_21022025_21_21_17_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338912922","file1":"1338912884","file0":"1338912881","file4":"1338912941","file3":"1338912926"},"map_files_photo_id_array":[{"photo_id":"1338912922","filename":"file2"},{"photo_id":"1338912941","filename":"file4"},{"photo_id":"1338912884","filename":"file1"},{"photo_id":"1338912881","filename":"file0"},{"photo_id":"1338912926","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338912881":["hashtag1","hashtag2"]},{"1338912941":["hashtag1","hashtag2"]},{"1338912884":["hashtag1","hashtag2"]},{"1338912926":["hashtag1","hashtag2"]},{"1338912922":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338912881, 1338912941, 1338912884, 1338912926, 1338912922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.20009469985962 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:22:03.293674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/13/image_20022025_21_14_06_9317.jpg', '/home/pi/Desktop/images/20022025/21/14/image_20022025_21_14_16_10429.jpg', '/home/pi/Desktop/images/20022025/21/14/image_20022025_21_14_36_9326.jpg', '/home/pi/Desktop/images/20022025/21/14/image_20022025_21_14_46_10322.jpg', '/home/pi/Desktop/images/20022025/21/14/image_20022025_21_15_06_10316.jpg', '/home/pi/Desktop/images/20022025/21/15/image_20022025_21_15_36_10317.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/13/image_20022025_21_14_06_9317.jpg
/home/pi/Desktop/images/20022025/21/14/image_20022025_21_14_16_10429.jpg
/home/pi/Desktop/images/20022025/21/14/image_20022025_21_14_36_9326.jpg
/home/pi/Desktop/images/20022025/21/14/image_20022025_21_14_46_10322.jpg
/home/pi/Desktop/images/20022025/21/14/image_20022025_21_15_06_10316.jpg
/home/pi/Desktop/images/20022025/21/15/image_20022025_21_15_36_10317.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338913008","1338912954","1338912948","1338912995","1338912950","1338913047"],"photo_ids_order":["1338912948","1338912950","1338912954","1338912995","1338913008","1338913047"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c3d1db9df915e3ff1509cd742819490.jpg","text":"TemporaryFile(/tmp/multipartBody1871631986258439908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169384751,"filename":"image_20022025_21_15_06_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1cfe80eaa34da1dae54c375a9f87152.jpg","text":"TemporaryFile(/tmp/multipartBody282939795494282970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169384751,"filename":"image_20022025_21_14_36_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa34a2360649aa317d433582e02a55ed.jpg","text":"TemporaryFile(/tmp/multipartBody1785396984660388725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169384751,"filename":"image_20022025_21_14_06_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/638db2d134fed5e734f74bb7a7dfc5b9.jpg","text":"TemporaryFile(/tmp/multipartBody1585079620351865184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169384751,"filename":"image_20022025_21_14_46_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7adcd1a064c0c88b6e4da765b2041069.jpg","text":"TemporaryFile(/tmp/multipartBody5297347087254043545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169384751,"filename":"image_20022025_21_14_16_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cb553ed89db3f071fc0a8fff8602fd43.jpg","text":"TemporaryFile(/tmp/multipartBody4472933846787192417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169384751,"filename":"image_20022025_21_15_36_10317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338912954","file1":"1338912950","file0":"1338912948","file4":"1338913008","file5":"1338913047","file3":"1338912995"},"map_files_photo_id_array":[{"photo_id":"1338913047","filename":"file5"},{"photo_id":"1338912954","filename":"file2"},{"photo_id":"1338913008","filename":"file4"},{"photo_id":"1338912950","filename":"file1"},{"photo_id":"1338912948","filename":"file0"},{"photo_id":"1338912995","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338913008":["hashtag1","hashtag2"]},{"1338912954":["hashtag1","hashtag2"]},{"1338912948":["hashtag1","hashtag2"]},{"1338912995":["hashtag1","hashtag2"]},{"1338912950":["hashtag1","hashtag2"]},{"1338913047":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338913008, 1338912954, 1338912948, 1338912995, 1338912950, 1338913047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00722789764404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:22:42.475812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/21/image_21022025_21_21_56_10424.jpg', '/home/pi/Desktop/images/21022025/21/21/image_21022025_21_22_07_10409.jpg', '/home/pi/Desktop/images/21022025/21/22/image_21022025_21_22_16_9325.jpg', '/home/pi/Desktop/images/21022025/21/22/image_21022025_21_22_27_10483.jpg', '/home/pi/Desktop/images/21022025/21/22/image_21022025_21_22_36_9438.jpg', '/home/pi/Desktop/images/21022025/21/22/image_21022025_21_22_46_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/21/image_21022025_21_21_56_10424.jpg
/home/pi/Desktop/images/21022025/21/21/image_21022025_21_22_07_10409.jpg
/home/pi/Desktop/images/21022025/21/22/image_21022025_21_22_16_9325.jpg
/home/pi/Desktop/images/21022025/21/22/image_21022025_21_22_27_10483.jpg
/home/pi/Desktop/images/21022025/21/22/image_21022025_21_22_36_9438.jpg
/home/pi/Desktop/images/21022025/21/22/image_21022025_21_22_46_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338913107","1338913104","1338913118","1338913127","1338913109","1338913111"],"photo_ids_order":["1338913104","1338913107","1338913109","1338913111","1338913118","1338913127"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b5cf89e7bbec6f26151b9cf335f94441.jpg","text":"TemporaryFile(/tmp/multipartBody5992324049295088149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169422937,"filename":"image_21022025_21_22_07_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f2f3a7e35ad116d397e3811cee78d6f7.jpg","text":"TemporaryFile(/tmp/multipartBody1745868726878392356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169422937,"filename":"image_21022025_21_21_56_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0bd660bf6a4bde5e2a08188adcc2e5b1.jpg","text":"TemporaryFile(/tmp/multipartBody4976885690070573566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169422937,"filename":"image_21022025_21_22_36_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b13ae690ae6d938e59b1159b16cf8b7e.jpg","text":"TemporaryFile(/tmp/multipartBody6558406562535233137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169422937,"filename":"image_21022025_21_22_46_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0fedc82446613e1f8356007a95f9c334.jpg","text":"TemporaryFile(/tmp/multipartBody5360441626791624559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169422937,"filename":"image_21022025_21_22_16_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3a76c7bed36ae852ddec2d9b0c971fc0.jpg","text":"TemporaryFile(/tmp/multipartBody5019898467743202802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169422937,"filename":"image_21022025_21_22_27_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338913109","file1":"1338913107","file0":"1338913104","file4":"1338913118","file5":"1338913127","file3":"1338913111"},"map_files_photo_id_array":[{"photo_id":"1338913127","filename":"file5"},{"photo_id":"1338913109","filename":"file2"},{"photo_id":"1338913118","filename":"file4"},{"photo_id":"1338913107","filename":"file1"},{"photo_id":"1338913104","filename":"file0"},{"photo_id":"1338913111","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338913107":["hashtag1","hashtag2"]},{"1338913104":["hashtag1","hashtag2"]},{"1338913118":["hashtag1","hashtag2"]},{"1338913127":["hashtag1","hashtag2"]},{"1338913109":["hashtag1","hashtag2"]},{"1338913111":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338913107, 1338913104, 1338913118, 1338913127, 1338913109, 1338913111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.537450313568115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:23:32.637386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/22/image_21022025_21_22_57_10363.jpg', '/home/pi/Desktop/images/21022025/21/22/image_21022025_21_23_06_9331.jpg', '/home/pi/Desktop/images/21022025/21/23/image_21022025_21_23_17_10480.jpg', '/home/pi/Desktop/images/21022025/21/23/image_21022025_21_23_26_9395.jpg', '/home/pi/Desktop/images/21022025/21/23/image_21022025_21_23_36_10380.jpg', '/home/pi/Desktop/images/21022025/21/23/image_21022025_21_23_47_10472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/22/image_21022025_21_22_57_10363.jpg
/home/pi/Desktop/images/21022025/21/22/image_21022025_21_23_06_9331.jpg
/home/pi/Desktop/images/21022025/21/23/image_21022025_21_23_17_10480.jpg
/home/pi/Desktop/images/21022025/21/23/image_21022025_21_23_26_9395.jpg
/home/pi/Desktop/images/21022025/21/23/image_21022025_21_23_36_10380.jpg
/home/pi/Desktop/images/21022025/21/23/image_21022025_21_23_47_10472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338913157","1338913150","1338913147","1338913156","1338913155","1338913152"],"photo_ids_order":["1338913147","1338913150","1338913152","1338913155","1338913156","1338913157"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0d8368219f4e34d00475840adf9d9b89.jpg","text":"TemporaryFile(/tmp/multipartBody7286596315563692343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169473137,"filename":"image_21022025_21_23_47_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23a9c9da1bf1b3d4424612e080679d6c.jpg","text":"TemporaryFile(/tmp/multipartBody2967340819965751079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169473137,"filename":"image_21022025_21_23_06_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0ea1beafcbc80c4c1eb736e7e2e7c7d1.jpg","text":"TemporaryFile(/tmp/multipartBody3891106354579529132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169473137,"filename":"image_21022025_21_22_57_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7b870c335a6f87075a61d05f262b3c07.jpg","text":"TemporaryFile(/tmp/multipartBody5670730954380034366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169473137,"filename":"image_21022025_21_23_36_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/825fd7d9e3036a079ddc17b0ba58a8c8.jpg","text":"TemporaryFile(/tmp/multipartBody8194769583896070440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169473137,"filename":"image_21022025_21_23_26_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1f9d594f6beec046fb721bd97029766.jpg","text":"TemporaryFile(/tmp/multipartBody6284381910978372505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169473137,"filename":"image_21022025_21_23_17_10480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338913152","file1":"1338913150","file0":"1338913147","file4":"1338913156","file5":"1338913157","file3":"1338913155"},"map_files_photo_id_array":[{"photo_id":"1338913157","filename":"file5"},{"photo_id":"1338913152","filename":"file2"},{"photo_id":"1338913156","filename":"file4"},{"photo_id":"1338913150","filename":"file1"},{"photo_id":"1338913147","filename":"file0"},{"photo_id":"1338913155","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338913157":["hashtag1","hashtag2"]},{"1338913150":["hashtag1","hashtag2"]},{"1338913147":["hashtag1","hashtag2"]},{"1338913156":["hashtag1","hashtag2"]},{"1338913155":["hashtag1","hashtag2"]},{"1338913152":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338913157, 1338913150, 1338913147, 1338913156, 1338913155, 1338913152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.62463927268982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:24:32.831180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/23/image_21022025_21_23_56_9384.jpg', '/home/pi/Desktop/images/21022025/21/23/image_21022025_21_24_07_10463.jpg', '/home/pi/Desktop/images/21022025/21/24/image_21022025_21_24_16_9333.jpg', '/home/pi/Desktop/images/21022025/21/24/image_21022025_21_24_26_10363.jpg', '/home/pi/Desktop/images/21022025/21/24/image_21022025_21_24_37_10368.jpg', '/home/pi/Desktop/images/21022025/21/24/image_21022025_21_24_46_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/23/image_21022025_21_23_56_9384.jpg
/home/pi/Desktop/images/21022025/21/23/image_21022025_21_24_07_10463.jpg
/home/pi/Desktop/images/21022025/21/24/image_21022025_21_24_16_9333.jpg
/home/pi/Desktop/images/21022025/21/24/image_21022025_21_24_26_10363.jpg
/home/pi/Desktop/images/21022025/21/24/image_21022025_21_24_37_10368.jpg
/home/pi/Desktop/images/21022025/21/24/image_21022025_21_24_46_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338913193","1338913195","1338913201","1338913191","1338913210","1338913197"],"photo_ids_order":["1338913191","1338913193","1338913195","1338913197","1338913201","1338913210"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/148f3dd068917b94ae0da0321c1d44e3.jpg","text":"TemporaryFile(/tmp/multipartBody8377207287276546414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169533300,"filename":"image_21022025_21_24_07_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3228055e3faa60b9f3ef53e03a2116d1.jpg","text":"TemporaryFile(/tmp/multipartBody9013562833286827576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169533300,"filename":"image_21022025_21_24_16_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a3319b864a890b662ccced255eca7e1.jpg","text":"TemporaryFile(/tmp/multipartBody1561200750180185152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169533300,"filename":"image_21022025_21_24_37_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bec8c38fedf49a5a4a78ad9d82832295.jpg","text":"TemporaryFile(/tmp/multipartBody6117495236184533444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169533300,"filename":"image_21022025_21_23_56_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fa5f6ef313ea3280a0be5af9cfe6f42c.jpg","text":"TemporaryFile(/tmp/multipartBody544874083286510893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169533300,"filename":"image_21022025_21_24_46_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7b679bcf523f39cd77af578bb02f7ea7.jpg","text":"TemporaryFile(/tmp/multipartBody2685498786194266325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169533300,"filename":"image_21022025_21_24_26_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338913195","file1":"1338913193","file0":"1338913191","file4":"1338913201","file5":"1338913210","file3":"1338913197"},"map_files_photo_id_array":[{"photo_id":"1338913210","filename":"file5"},{"photo_id":"1338913195","filename":"file2"},{"photo_id":"1338913201","filename":"file4"},{"photo_id":"1338913193","filename":"file1"},{"photo_id":"1338913191","filename":"file0"},{"photo_id":"1338913197","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338913193":["hashtag1","hashtag2"]},{"1338913195":["hashtag1","hashtag2"]},{"1338913201":["hashtag1","hashtag2"]},{"1338913191":["hashtag1","hashtag2"]},{"1338913210":["hashtag1","hashtag2"]},{"1338913197":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338913193, 1338913195, 1338913201, 1338913191, 1338913210, 1338913197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.572964668273926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:25:33.186745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/24/image_21022025_21_24_57_10449.jpg', '/home/pi/Desktop/images/21022025/21/24/image_21022025_21_25_06_9321.jpg', '/home/pi/Desktop/images/21022025/21/25/image_21022025_21_25_16_10334.jpg', '/home/pi/Desktop/images/21022025/21/25/image_21022025_21_25_36_9325.jpg', '/home/pi/Desktop/images/21022025/21/25/image_21022025_21_25_46_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/24/image_21022025_21_24_57_10449.jpg
/home/pi/Desktop/images/21022025/21/24/image_21022025_21_25_06_9321.jpg
/home/pi/Desktop/images/21022025/21/25/image_21022025_21_25_16_10334.jpg
/home/pi/Desktop/images/21022025/21/25/image_21022025_21_25_36_9325.jpg
/home/pi/Desktop/images/21022025/21/25/image_21022025_21_25_46_10354.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3780488967895508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:25:43.056621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/24/image_21022025_21_24_57_10449.jpg', '/home/pi/Desktop/images/21022025/21/24/image_21022025_21_25_06_9321.jpg', '/home/pi/Desktop/images/21022025/21/25/image_21022025_21_25_16_10334.jpg', '/home/pi/Desktop/images/21022025/21/25/image_21022025_21_25_36_9325.jpg', '/home/pi/Desktop/images/21022025/21/25/image_21022025_21_25_46_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/24/image_21022025_21_24_57_10449.jpg
/home/pi/Desktop/images/21022025/21/24/image_21022025_21_25_06_9321.jpg
/home/pi/Desktop/images/21022025/21/25/image_21022025_21_25_16_10334.jpg
/home/pi/Desktop/images/21022025/21/25/image_21022025_21_25_36_9325.jpg
/home/pi/Desktop/images/21022025/21/25/image_21022025_21_25_46_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338913376","1338913373","1338913381","1338913378","1338913380"],"photo_ids_order":["1338913373","1338913376","1338913378","1338913380","1338913381"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80ec3110ec44c3137381267ed1977261.jpg","text":"TemporaryFile(/tmp/multipartBody4162440984573676350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169603515,"filename":"image_21022025_21_25_06_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/71398fa053efd3038b85cf3301367885.jpg","text":"TemporaryFile(/tmp/multipartBody5851884133630034557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169603515,"filename":"image_21022025_21_24_57_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/099569b5cd48854ef7be441e6584859d.jpg","text":"TemporaryFile(/tmp/multipartBody537695977379382161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169603515,"filename":"image_21022025_21_25_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc59ee57b130a2bef058ab6137038b6f.jpg","text":"TemporaryFile(/tmp/multipartBody6014353540011026535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169603515,"filename":"image_21022025_21_25_16_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f374fcd9d1271cbe992f9e44c0504c32.jpg","text":"TemporaryFile(/tmp/multipartBody7759388138636588651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169603515,"filename":"image_21022025_21_25_36_9325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338913378","file1":"1338913376","file0":"1338913373","file4":"1338913381","file3":"1338913380"},"map_files_photo_id_array":[{"photo_id":"1338913378","filename":"file2"},{"photo_id":"1338913381","filename":"file4"},{"photo_id":"1338913376","filename":"file1"},{"photo_id":"1338913373","filename":"file0"},{"photo_id":"1338913380","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338913376":["hashtag1","hashtag2"]},{"1338913373":["hashtag1","hashtag2"]},{"1338913381":["hashtag1","hashtag2"]},{"1338913378":["hashtag1","hashtag2"]},{"1338913380":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338913376, 1338913373, 1338913381, 1338913378, 1338913380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.784306526184082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:26:32.296329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/25/image_21022025_21_25_57_10352.jpg', '/home/pi/Desktop/images/21022025/21/25/image_21022025_21_26_06_9370.jpg', '/home/pi/Desktop/images/21022025/21/26/image_21022025_21_26_16_10308.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/25/image_21022025_21_25_57_10352.jpg
/home/pi/Desktop/images/21022025/21/25/image_21022025_21_26_06_9370.jpg
/home/pi/Desktop/images/21022025/21/26/image_21022025_21_26_16_10308.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338913409","1338913403","1338913406"],"photo_ids_order":["1338913403","1338913406","1338913409"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2e8bde8b8a685756c741abef85bc13ba.jpg","text":"TemporaryFile(/tmp/multipartBody132390952012446912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169652789,"filename":"image_21022025_21_26_16_10308.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/373e5be6841627141b839332438184e6.jpg","text":"TemporaryFile(/tmp/multipartBody3576545680849516391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169652789,"filename":"image_21022025_21_25_57_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/890caba89210018a544c0dd4f0bbd717.jpg","text":"TemporaryFile(/tmp/multipartBody5035752512732592376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169652789,"filename":"image_21022025_21_26_06_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338913409","file1":"1338913406","file0":"1338913403"},"map_files_photo_id_array":[{"photo_id":"1338913409","filename":"file2"},{"photo_id":"1338913406","filename":"file1"},{"photo_id":"1338913403","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338913409":["hashtag1","hashtag2"]},{"1338913403":["hashtag1","hashtag2"]},{"1338913406":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338913409, 1338913403, 1338913406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.259908199310303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:27:03.812614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/15/image_20022025_21_15_46_9438.jpg', '/home/pi/Desktop/images/20022025/21/16/image_20022025_21_16_16_9345.jpg', '/home/pi/Desktop/images/20022025/21/16/image_20022025_21_16_26_10557.jpg', '/home/pi/Desktop/images/20022025/21/16/image_20022025_21_16_46_10343.jpg', '/home/pi/Desktop/images/20022025/21/16/image_20022025_21_16_56_10495.jpg', '/home/pi/Desktop/images/20022025/21/16/image_20022025_21_17_06_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/15/image_20022025_21_15_46_9438.jpg
/home/pi/Desktop/images/20022025/21/16/image_20022025_21_16_16_9345.jpg
/home/pi/Desktop/images/20022025/21/16/image_20022025_21_16_26_10557.jpg
/home/pi/Desktop/images/20022025/21/16/image_20022025_21_16_46_10343.jpg
/home/pi/Desktop/images/20022025/21/16/image_20022025_21_16_56_10495.jpg
/home/pi/Desktop/images/20022025/21/16/image_20022025_21_17_06_9433.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338913430","1338913423","1338913432","1338913429","1338913434","1338913437"],"photo_ids_order":["1338913423","1338913429","1338913430","1338913432","1338913434","1338913437"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e839b5843e6f2c852fa9ac77f7cad076.jpg","text":"TemporaryFile(/tmp/multipartBody5951066018772834716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169685501,"filename":"image_20022025_21_16_26_10557.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/076e7d34f40945541198478588e79716.jpg","text":"TemporaryFile(/tmp/multipartBody2489593635991631229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169685501,"filename":"image_20022025_21_15_46_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a19616e819fbd3f56babc6eea9779788.jpg","text":"TemporaryFile(/tmp/multipartBody7449025860404831452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169685501,"filename":"image_20022025_21_16_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/48671a4e389f17ee4574717af641feea.jpg","text":"TemporaryFile(/tmp/multipartBody3802323719611894431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169685501,"filename":"image_20022025_21_16_16_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b808f2a32224bf069a34c32c065d87db.jpg","text":"TemporaryFile(/tmp/multipartBody5632655676878019694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169685501,"filename":"image_20022025_21_16_56_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/46cbb9c39acfd881da5afc18162f97a0.jpg","text":"TemporaryFile(/tmp/multipartBody7734276935005720455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169685501,"filename":"image_20022025_21_17_06_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338913430","file1":"1338913429","file0":"1338913423","file4":"1338913434","file5":"1338913437","file3":"1338913432"},"map_files_photo_id_array":[{"photo_id":"1338913437","filename":"file5"},{"photo_id":"1338913430","filename":"file2"},{"photo_id":"1338913434","filename":"file4"},{"photo_id":"1338913429","filename":"file1"},{"photo_id":"1338913423","filename":"file0"},{"photo_id":"1338913432","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338913430":["hashtag1","hashtag2"]},{"1338913423":["hashtag1","hashtag2"]},{"1338913432":["hashtag1","hashtag2"]},{"1338913429":["hashtag1","hashtag2"]},{"1338913434":["hashtag1","hashtag2"]},{"1338913437":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338913430, 1338913423, 1338913432, 1338913429, 1338913434, 1338913437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.04811978340149 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:27:42.550472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/26/image_21022025_21_26_56_9352.jpg', '/home/pi/Desktop/images/21022025/21/26/image_21022025_21_27_06_10336.jpg', '/home/pi/Desktop/images/21022025/21/27/image_21022025_21_27_17_10354.jpg', '/home/pi/Desktop/images/21022025/21/27/image_21022025_21_27_36_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/26/image_21022025_21_26_56_9352.jpg
/home/pi/Desktop/images/21022025/21/26/image_21022025_21_27_06_10336.jpg
/home/pi/Desktop/images/21022025/21/27/image_21022025_21_27_17_10354.jpg
/home/pi/Desktop/images/21022025/21/27/image_21022025_21_27_36_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338913450","1338913444","1338913453","1338913447"],"photo_ids_order":["1338913444","1338913447","1338913450","1338913453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/36130efcf451ff3376f41dfbfe78c9ce.jpg","text":"TemporaryFile(/tmp/multipartBody2924021753756231597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169722998,"filename":"image_21022025_21_27_17_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd5524bcea7ccda23207057fccfeafa2.jpg","text":"TemporaryFile(/tmp/multipartBody2850304221125311159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169722998,"filename":"image_21022025_21_26_56_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d5282cca03d2bb919cfff91a48511ce.jpg","text":"TemporaryFile(/tmp/multipartBody5625242417950340196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169722998,"filename":"image_21022025_21_27_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/159205647c509e1b7008678c5cc4bead.jpg","text":"TemporaryFile(/tmp/multipartBody5678618193937231291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169722998,"filename":"image_21022025_21_27_06_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338913450","file1":"1338913447","file0":"1338913444","file3":"1338913453"},"map_files_photo_id_array":[{"photo_id":"1338913450","filename":"file2"},{"photo_id":"1338913447","filename":"file1"},{"photo_id":"1338913444","filename":"file0"},{"photo_id":"1338913453","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338913450":["hashtag1","hashtag2"]},{"1338913444":["hashtag1","hashtag2"]},{"1338913453":["hashtag1","hashtag2"]},{"1338913447":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338913450, 1338913444, 1338913453, 1338913447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.66213297843933 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:28:32.715694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/27/image_21022025_21_27_56_9430.jpg', '/home/pi/Desktop/images/21022025/21/28/image_21022025_21_28_16_9332.jpg', '/home/pi/Desktop/images/21022025/21/28/image_21022025_21_28_26_10360.jpg', '/home/pi/Desktop/images/21022025/21/28/image_21022025_21_28_37_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/27/image_21022025_21_27_56_9430.jpg
/home/pi/Desktop/images/21022025/21/28/image_21022025_21_28_16_9332.jpg
/home/pi/Desktop/images/21022025/21/28/image_21022025_21_28_26_10360.jpg
/home/pi/Desktop/images/21022025/21/28/image_21022025_21_28_37_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338913496","1338913500","1338913505","1338913494"],"photo_ids_order":["1338913494","1338913496","1338913500","1338913505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a0d830c0601e71bd7f05fa17d901dca3.jpg","text":"TemporaryFile(/tmp/multipartBody6328133488677870163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169773167,"filename":"image_21022025_21_28_16_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae873666d5619be6df16ac5ec89a8f91.jpg","text":"TemporaryFile(/tmp/multipartBody3268165649994305295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169773167,"filename":"image_21022025_21_28_26_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ecf449a81b2447b5c0083effea9883d3.jpg","text":"TemporaryFile(/tmp/multipartBody1361392433558795410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169773167,"filename":"image_21022025_21_28_37_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b02e56b43c2d233bf1cad9c08d02d1f6.jpg","text":"TemporaryFile(/tmp/multipartBody631797685182622821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169773167,"filename":"image_21022025_21_27_56_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338913500","file1":"1338913496","file0":"1338913494","file3":"1338913505"},"map_files_photo_id_array":[{"photo_id":"1338913500","filename":"file2"},{"photo_id":"1338913496","filename":"file1"},{"photo_id":"1338913494","filename":"file0"},{"photo_id":"1338913505","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338913496":["hashtag1","hashtag2"]},{"1338913500":["hashtag1","hashtag2"]},{"1338913505":["hashtag1","hashtag2"]},{"1338913494":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338913496, 1338913500, 1338913505, 1338913494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.80373215675354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:29:04.287597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/17/image_20022025_21_17_36_10339.jpg', '/home/pi/Desktop/images/20022025/21/17/image_20022025_21_17_46_10378.jpg', '/home/pi/Desktop/images/20022025/21/17/image_20022025_21_17_56_9415.jpg', '/home/pi/Desktop/images/20022025/21/17/image_20022025_21_18_06_10332.jpg', '/home/pi/Desktop/images/20022025/21/18/image_20022025_21_18_16_10326.jpg', '/home/pi/Desktop/images/20022025/21/18/image_20022025_21_18_26_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/17/image_20022025_21_17_36_10339.jpg
/home/pi/Desktop/images/20022025/21/17/image_20022025_21_17_46_10378.jpg
/home/pi/Desktop/images/20022025/21/17/image_20022025_21_17_56_9415.jpg
/home/pi/Desktop/images/20022025/21/17/image_20022025_21_18_06_10332.jpg
/home/pi/Desktop/images/20022025/21/18/image_20022025_21_18_16_10326.jpg
/home/pi/Desktop/images/20022025/21/18/image_20022025_21_18_26_9410.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338913518","1338913544","1338913538","1338913553","1338913528","1338913542"],"photo_ids_order":["1338913518","1338913528","1338913538","1338913542","1338913544","1338913553"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/150f407c6dac17e0600d602b04afbf33.jpg","text":"TemporaryFile(/tmp/multipartBody5787079656825740267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169806026,"filename":"image_20022025_21_17_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8bc9c85f0b9888ed63d0136881b56517.jpg","text":"TemporaryFile(/tmp/multipartBody5662631390055645528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169806026,"filename":"image_20022025_21_18_16_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d638249fde10c2e9bc4752fc91120ea4.jpg","text":"TemporaryFile(/tmp/multipartBody2744119813476613836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169806026,"filename":"image_20022025_21_17_56_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2bc8b3dae996378102a2e0fa6e782998.jpg","text":"TemporaryFile(/tmp/multipartBody6884439845711973830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169806026,"filename":"image_20022025_21_18_26_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/feaa0434ff30f5cbfd98d52fe36edf43.jpg","text":"TemporaryFile(/tmp/multipartBody7336729398295869896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169806026,"filename":"image_20022025_21_17_46_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/29b76fd5e5b23f44ecd9231a986e4dd0.jpg","text":"TemporaryFile(/tmp/multipartBody4290770278812731711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169806026,"filename":"image_20022025_21_18_06_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338913538","file1":"1338913528","file0":"1338913518","file4":"1338913544","file5":"1338913553","file3":"1338913542"},"map_files_photo_id_array":[{"photo_id":"1338913553","filename":"file5"},{"photo_id":"1338913538","filename":"file2"},{"photo_id":"1338913544","filename":"file4"},{"photo_id":"1338913528","filename":"file1"},{"photo_id":"1338913518","filename":"file0"},{"photo_id":"1338913542","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338913518":["hashtag1","hashtag2"]},{"1338913544":["hashtag1","hashtag2"]},{"1338913538":["hashtag1","hashtag2"]},{"1338913553":["hashtag1","hashtag2"]},{"1338913528":["hashtag1","hashtag2"]},{"1338913542":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338913518, 1338913544, 1338913538, 1338913553, 1338913528, 1338913542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.444687366485596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:29:42.986104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/28/image_21022025_21_28_46_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/28/image_21022025_21_28_46_9381.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338913563"],"photo_id":"1338913563","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8f11d070165ccfd3755e56426c914647.jpg","text":"TemporaryFile(/tmp/multipartBody145379877025911923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169843392,"filename":"image_21022025_21_28_46_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338913563"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338913563"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.529643297195435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:30:02.838548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/18/image_20022025_21_18_47_10390.jpg', '/home/pi/Desktop/images/20022025/21/18/image_20022025_21_18_56_9330.jpg', '/home/pi/Desktop/images/20022025/21/18/image_20022025_21_19_06_10334.jpg', '/home/pi/Desktop/images/20022025/21/19/image_20022025_21_19_16_9429.jpg', '/home/pi/Desktop/images/20022025/21/19/image_20022025_21_19_26_10337.jpg', '/home/pi/Desktop/images/20022025/21/19/image_20022025_21_19_36_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/18/image_20022025_21_18_47_10390.jpg
/home/pi/Desktop/images/20022025/21/18/image_20022025_21_18_56_9330.jpg
/home/pi/Desktop/images/20022025/21/18/image_20022025_21_19_06_10334.jpg
/home/pi/Desktop/images/20022025/21/19/image_20022025_21_19_16_9429.jpg
/home/pi/Desktop/images/20022025/21/19/image_20022025_21_19_26_10337.jpg
/home/pi/Desktop/images/20022025/21/19/image_20022025_21_19_36_10335.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338913580","1338913568","1338913573","1338913576","1338913570","1338913578"],"photo_ids_order":["1338913568","1338913570","1338913573","1338913576","1338913578","1338913580"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1947968cbef3c44eedbfd06baa40f6c6.jpg","text":"TemporaryFile(/tmp/multipartBody3824935619239756894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169864210,"filename":"image_20022025_21_19_36_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d83e0b2898f2f9007e2b7114cb429409.jpg","text":"TemporaryFile(/tmp/multipartBody2085313133924047533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169864210,"filename":"image_20022025_21_18_47_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/40758f7ca70871340dcc6e5d2ed4b05f.jpg","text":"TemporaryFile(/tmp/multipartBody4625564850067900953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169864210,"filename":"image_20022025_21_19_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cfa540e1024a0a56c7b973ec17175853.jpg","text":"TemporaryFile(/tmp/multipartBody2725106280178976277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169864210,"filename":"image_20022025_21_19_16_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d5ad96a15b48229b22b2760400e4d661.jpg","text":"TemporaryFile(/tmp/multipartBody4507663482778603499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169864210,"filename":"image_20022025_21_18_56_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a77260bc3b08feb3d7a7d0887132dd88.jpg","text":"TemporaryFile(/tmp/multipartBody4483861329920566995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169864210,"filename":"image_20022025_21_19_26_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338913573","file1":"1338913570","file0":"1338913568","file4":"1338913578","file5":"1338913580","file3":"1338913576"},"map_files_photo_id_array":[{"photo_id":"1338913580","filename":"file5"},{"photo_id":"1338913573","filename":"file2"},{"photo_id":"1338913578","filename":"file4"},{"photo_id":"1338913570","filename":"file1"},{"photo_id":"1338913568","filename":"file0"},{"photo_id":"1338913576","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338913580":["hashtag1","hashtag2"]},{"1338913568":["hashtag1","hashtag2"]},{"1338913573":["hashtag1","hashtag2"]},{"1338913576":["hashtag1","hashtag2"]},{"1338913570":["hashtag1","hashtag2"]},{"1338913578":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338913580, 1338913568, 1338913573, 1338913576, 1338913570, 1338913578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.739986419677734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:30:42.233671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/29/image_21022025_21_29_56_9437.jpg', '/home/pi/Desktop/images/21022025/21/29/image_21022025_21_30_07_10343.jpg', '/home/pi/Desktop/images/21022025/21/30/image_21022025_21_30_16_9329.jpg', '/home/pi/Desktop/images/21022025/21/30/image_21022025_21_30_26_10402.jpg', '/home/pi/Desktop/images/21022025/21/30/image_21022025_21_30_37_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/29/image_21022025_21_29_56_9437.jpg
/home/pi/Desktop/images/21022025/21/29/image_21022025_21_30_07_10343.jpg
/home/pi/Desktop/images/21022025/21/30/image_21022025_21_30_16_9329.jpg
/home/pi/Desktop/images/21022025/21/30/image_21022025_21_30_26_10402.jpg
/home/pi/Desktop/images/21022025/21/30/image_21022025_21_30_37_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338913595","1338913601","1338913590","1338913593","1338913587"],"photo_ids_order":["1338913587","1338913590","1338913593","1338913595","1338913601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/36103ef6706f7d92a683a1092edb9b43.jpg","text":"TemporaryFile(/tmp/multipartBody2768296737196128975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169902688,"filename":"image_21022025_21_30_26_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7cca743b1075affd5731804d5f805322.jpg","text":"TemporaryFile(/tmp/multipartBody497585578837037887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169902688,"filename":"image_21022025_21_30_37_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/435d50186eb930abfe1bc41989c575eb.jpg","text":"TemporaryFile(/tmp/multipartBody924631453054351895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169902688,"filename":"image_21022025_21_30_07_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f13d0d96e55c36d3484a33dde3b41f85.jpg","text":"TemporaryFile(/tmp/multipartBody8006820722848337769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169902688,"filename":"image_21022025_21_30_16_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b90a631d74ac5b3bd52db8854f65d07e.jpg","text":"TemporaryFile(/tmp/multipartBody6721115697474635659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169902688,"filename":"image_21022025_21_29_56_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338913593","file1":"1338913590","file0":"1338913587","file4":"1338913601","file3":"1338913595"},"map_files_photo_id_array":[{"photo_id":"1338913593","filename":"file2"},{"photo_id":"1338913601","filename":"file4"},{"photo_id":"1338913590","filename":"file1"},{"photo_id":"1338913587","filename":"file0"},{"photo_id":"1338913595","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338913595":["hashtag1","hashtag2"]},{"1338913601":["hashtag1","hashtag2"]},{"1338913590":["hashtag1","hashtag2"]},{"1338913593":["hashtag1","hashtag2"]},{"1338913587":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338913595, 1338913601, 1338913590, 1338913593, 1338913587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.77272057533264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:31:32.479795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/30/image_21022025_21_30_56_10351.jpg', '/home/pi/Desktop/images/21022025/21/30/image_21022025_21_31_07_10425.jpg', '/home/pi/Desktop/images/21022025/21/31/image_21022025_21_31_27_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/30/image_21022025_21_30_56_10351.jpg
/home/pi/Desktop/images/21022025/21/30/image_21022025_21_31_07_10425.jpg
/home/pi/Desktop/images/21022025/21/31/image_21022025_21_31_27_10464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338913772","1338913855","1338913869"],"photo_ids_order":["1338913772","1338913855","1338913869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b979d46d8149b00891cab7c985f1d538.jpg","text":"TemporaryFile(/tmp/multipartBody3525725964422956648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169952932,"filename":"image_21022025_21_30_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/34e14c0708a3d48e202353786846e3c7.jpg","text":"TemporaryFile(/tmp/multipartBody621080243819776377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169952932,"filename":"image_21022025_21_31_07_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f1ede28f2e566aa5bb8e6cf13000305.jpg","text":"TemporaryFile(/tmp/multipartBody7284511407394802572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169952932,"filename":"image_21022025_21_31_27_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338913869","file1":"1338913855","file0":"1338913772"},"map_files_photo_id_array":[{"photo_id":"1338913869","filename":"file2"},{"photo_id":"1338913855","filename":"file1"},{"photo_id":"1338913772","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338913772":["hashtag1","hashtag2"]},{"1338913855":["hashtag1","hashtag2"]},{"1338913869":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338913772, 1338913855, 1338913869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.16060757637024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:32:03.429900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/19/image_20022025_21_19_46_9330.jpg', '/home/pi/Desktop/images/20022025/21/19/image_20022025_21_20_06_10351.jpg', '/home/pi/Desktop/images/20022025/21/20/image_20022025_21_20_16_9397.jpg', '/home/pi/Desktop/images/20022025/21/20/image_20022025_21_20_36_10343.jpg', '/home/pi/Desktop/images/20022025/21/20/image_20022025_21_20_46_9319.jpg', '/home/pi/Desktop/images/20022025/21/20/image_20022025_21_20_56_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/19/image_20022025_21_19_46_9330.jpg
/home/pi/Desktop/images/20022025/21/19/image_20022025_21_20_06_10351.jpg
/home/pi/Desktop/images/20022025/21/20/image_20022025_21_20_16_9397.jpg
/home/pi/Desktop/images/20022025/21/20/image_20022025_21_20_36_10343.jpg
/home/pi/Desktop/images/20022025/21/20/image_20022025_21_20_46_9319.jpg
/home/pi/Desktop/images/20022025/21/20/image_20022025_21_20_56_10356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338913940","1338913928","1338913922","1338913933","1338913936","1338913924"],"photo_ids_order":["1338913922","1338913924","1338913928","1338913933","1338913936","1338913940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c57173e9c27cc6c78b616d648ce04ab.jpg","text":"TemporaryFile(/tmp/multipartBody4631581924208521478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169984922,"filename":"image_20022025_21_20_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/08bdb217ed20fe11fd6c7dd3201a5541.jpg","text":"TemporaryFile(/tmp/multipartBody5816463816713941100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169984922,"filename":"image_20022025_21_20_16_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a3a420faca6c906984ec6ba3a1e87a7e.jpg","text":"TemporaryFile(/tmp/multipartBody1495250580737279797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169984922,"filename":"image_20022025_21_19_46_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4841006982873bf054ce05bc45eab6be.jpg","text":"TemporaryFile(/tmp/multipartBody748163655923763449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169984922,"filename":"image_20022025_21_20_36_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bde10895e6e92704d9b20de907c238ba.jpg","text":"TemporaryFile(/tmp/multipartBody8454622269152679907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169984922,"filename":"image_20022025_21_20_46_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b404ad324186d7f24650d0b9670bf3d.jpg","text":"TemporaryFile(/tmp/multipartBody1553012453331612245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740169984922,"filename":"image_20022025_21_20_06_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338913928","file1":"1338913924","file0":"1338913922","file4":"1338913936","file5":"1338913940","file3":"1338913933"},"map_files_photo_id_array":[{"photo_id":"1338913940","filename":"file5"},{"photo_id":"1338913928","filename":"file2"},{"photo_id":"1338913936","filename":"file4"},{"photo_id":"1338913924","filename":"file1"},{"photo_id":"1338913922","filename":"file0"},{"photo_id":"1338913933","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338913940":["hashtag1","hashtag2"]},{"1338913928":["hashtag1","hashtag2"]},{"1338913922":["hashtag1","hashtag2"]},{"1338913933":["hashtag1","hashtag2"]},{"1338913936":["hashtag1","hashtag2"]},{"1338913924":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338913940, 1338913928, 1338913922, 1338913933, 1338913936, 1338913924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.152249574661255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:32:42.655656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/31/image_21022025_21_31_36_9351.jpg', '/home/pi/Desktop/images/21022025/21/32/image_21022025_21_32_16_10335.jpg', '/home/pi/Desktop/images/21022025/21/32/image_21022025_21_32_27_10455.jpg', '/home/pi/Desktop/images/21022025/21/32/image_21022025_21_32_36_9329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/31/image_21022025_21_31_36_9351.jpg
/home/pi/Desktop/images/21022025/21/32/image_21022025_21_32_16_10335.jpg
/home/pi/Desktop/images/21022025/21/32/image_21022025_21_32_27_10455.jpg
/home/pi/Desktop/images/21022025/21/32/image_21022025_21_32_36_9329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338913955","1338913958","1338913956","1338913959"],"photo_ids_order":["1338913955","1338913956","1338913958","1338913959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/deb46970b8448e5e79b2025b3337f5eb.jpg","text":"TemporaryFile(/tmp/multipartBody8982544773590264188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170023109,"filename":"image_21022025_21_31_36_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2a9bdaf93f67dec67d49ff2c2b9a755d.jpg","text":"TemporaryFile(/tmp/multipartBody1654295236149199445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170023109,"filename":"image_21022025_21_32_27_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d27f9a3f25720ca242efc19e8ad25d76.jpg","text":"TemporaryFile(/tmp/multipartBody5886108714799191019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170023109,"filename":"image_21022025_21_32_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b7a5f5f225f9473a873537bda8168a21.jpg","text":"TemporaryFile(/tmp/multipartBody7079872976668009327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170023109,"filename":"image_21022025_21_32_36_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338913958","file1":"1338913956","file0":"1338913955","file3":"1338913959"},"map_files_photo_id_array":[{"photo_id":"1338913958","filename":"file2"},{"photo_id":"1338913956","filename":"file1"},{"photo_id":"1338913955","filename":"file0"},{"photo_id":"1338913959","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338913955":["hashtag1","hashtag2"]},{"1338913958":["hashtag1","hashtag2"]},{"1338913956":["hashtag1","hashtag2"]},{"1338913959":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338913955, 1338913958, 1338913956, 1338913959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.069917678833008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:33:32.862723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/20/image_20022025_21_21_06_10387.jpg', '/home/pi/Desktop/images/20022025/21/21/image_20022025_21_21_16_9360.jpg', '/home/pi/Desktop/images/20022025/21/21/image_20022025_21_21_26_10327.jpg', '/home/pi/Desktop/images/20022025/21/21/image_20022025_21_21_36_9446.jpg', '/home/pi/Desktop/images/20022025/21/22/image_20022025_21_22_16_10334.jpg', '/home/pi/Desktop/images/20022025/21/22/image_20022025_21_22_26_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/20/image_20022025_21_21_06_10387.jpg
/home/pi/Desktop/images/20022025/21/21/image_20022025_21_21_16_9360.jpg
/home/pi/Desktop/images/20022025/21/21/image_20022025_21_21_26_10327.jpg
/home/pi/Desktop/images/20022025/21/21/image_20022025_21_21_36_9446.jpg
/home/pi/Desktop/images/20022025/21/22/image_20022025_21_22_16_10334.jpg
/home/pi/Desktop/images/20022025/21/22/image_20022025_21_22_26_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338913997","1338913982","1338913985","1338914003","1338913990","1338913980"],"photo_ids_order":["1338913980","1338913982","1338913985","1338913990","1338913997","1338914003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bbdd91f1871b2db392af7d8bcdef2af4.jpg","text":"TemporaryFile(/tmp/multipartBody4927013859934312289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170074987,"filename":"image_20022025_21_22_16_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c3ced2f57c1bfda79dcd64a1c3296cfd.jpg","text":"TemporaryFile(/tmp/multipartBody1826048201793551066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170074987,"filename":"image_20022025_21_21_16_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5cf454470a1b701db338c5a6c6f7a173.jpg","text":"TemporaryFile(/tmp/multipartBody637007732981984919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170074987,"filename":"image_20022025_21_21_26_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/24d21976d046ad1b559bb7d2f08303da.jpg","text":"TemporaryFile(/tmp/multipartBody6677626325111893839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170074987,"filename":"image_20022025_21_22_26_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7496e23e13adcd842f9c97f2b64c9e7e.jpg","text":"TemporaryFile(/tmp/multipartBody9115433826872489891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170074987,"filename":"image_20022025_21_21_36_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1bd1b61a424506530c1ad15ab1fb113.jpg","text":"TemporaryFile(/tmp/multipartBody549330949710691799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170074987,"filename":"image_20022025_21_21_06_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338913985","file1":"1338913982","file0":"1338913980","file4":"1338913997","file5":"1338914003","file3":"1338913990"},"map_files_photo_id_array":[{"photo_id":"1338914003","filename":"file5"},{"photo_id":"1338913985","filename":"file2"},{"photo_id":"1338913997","filename":"file4"},{"photo_id":"1338913982","filename":"file1"},{"photo_id":"1338913980","filename":"file0"},{"photo_id":"1338913990","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338913997":["hashtag1","hashtag2"]},{"1338913982":["hashtag1","hashtag2"]},{"1338913985":["hashtag1","hashtag2"]},{"1338914003":["hashtag1","hashtag2"]},{"1338913990":["hashtag1","hashtag2"]},{"1338913980":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338913997, 1338913982, 1338913985, 1338914003, 1338913990, 1338913980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.097864389419556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:34:32.288952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/32/image_21022025_21_32_47_10407.jpg', '/home/pi/Desktop/images/21022025/21/33/image_21022025_21_34_07_10405.jpg', '/home/pi/Desktop/images/21022025/21/34/image_21022025_21_34_37_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/32/image_21022025_21_32_47_10407.jpg
/home/pi/Desktop/images/21022025/21/33/image_21022025_21_34_07_10405.jpg
/home/pi/Desktop/images/21022025/21/34/image_21022025_21_34_37_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914066","1338914061","1338914064"],"photo_ids_order":["1338914061","1338914064","1338914066"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2677492ac254e6eb25e0deb2a49b30d1.jpg","text":"TemporaryFile(/tmp/multipartBody8001535692215821724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170132732,"filename":"image_21022025_21_34_37_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ed9820907108f7c6e60a3a614742c2b0.jpg","text":"TemporaryFile(/tmp/multipartBody6222904637020046466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170132732,"filename":"image_21022025_21_32_47_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/237610f05c4c088adb8c5ffb3305f5a6.jpg","text":"TemporaryFile(/tmp/multipartBody953015263841448252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170132732,"filename":"image_21022025_21_34_07_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338914066","file1":"1338914064","file0":"1338914061"},"map_files_photo_id_array":[{"photo_id":"1338914066","filename":"file2"},{"photo_id":"1338914064","filename":"file1"},{"photo_id":"1338914061","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338914066":["hashtag1","hashtag2"]},{"1338914061":["hashtag1","hashtag2"]},{"1338914064":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338914066, 1338914061, 1338914064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.984716653823853 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:35:04.001705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/22/image_20022025_21_22_56_9359.jpg', '/home/pi/Desktop/images/20022025/21/23/image_20022025_21_23_26_9356.jpg', '/home/pi/Desktop/images/20022025/21/23/image_20022025_21_23_36_10429.jpg', '/home/pi/Desktop/images/20022025/21/24/image_20022025_21_24_26_10379.jpg', '/home/pi/Desktop/images/20022025/21/24/image_20022025_21_24_36_10354.jpg', '/home/pi/Desktop/images/20022025/21/24/image_20022025_21_24_46_9320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/22/image_20022025_21_22_56_9359.jpg
/home/pi/Desktop/images/20022025/21/23/image_20022025_21_23_26_9356.jpg
/home/pi/Desktop/images/20022025/21/23/image_20022025_21_23_36_10429.jpg
/home/pi/Desktop/images/20022025/21/24/image_20022025_21_24_26_10379.jpg
/home/pi/Desktop/images/20022025/21/24/image_20022025_21_24_36_10354.jpg
/home/pi/Desktop/images/20022025/21/24/image_20022025_21_24_46_9320.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914087","1338914092","1338914089","1338914086","1338914082","1338914084"],"photo_ids_order":["1338914082","1338914084","1338914086","1338914087","1338914089","1338914092"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ecfb3d4c44f343b7e5ecb7af5ceaaccd.jpg","text":"TemporaryFile(/tmp/multipartBody5596252173242609023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170165698,"filename":"image_20022025_21_24_26_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1db085e3997e93ea4db60b8e50422096.jpg","text":"TemporaryFile(/tmp/multipartBody102809488886008351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170165698,"filename":"image_20022025_21_24_46_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/783fd617aba7844d62776eec0311a05f.jpg","text":"TemporaryFile(/tmp/multipartBody7778345261189105517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170165698,"filename":"image_20022025_21_24_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a2bf70f60d993ed07247c4ed088f657b.jpg","text":"TemporaryFile(/tmp/multipartBody3191228841262688170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170165698,"filename":"image_20022025_21_23_36_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/36992b0af7497e65472b4e08cc227b7b.jpg","text":"TemporaryFile(/tmp/multipartBody3193860963522401127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170165698,"filename":"image_20022025_21_22_56_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4406ed7c5915adf34f6fe611b4e971a5.jpg","text":"TemporaryFile(/tmp/multipartBody5583123642827925182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170165698,"filename":"image_20022025_21_23_26_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338914086","file1":"1338914084","file0":"1338914082","file4":"1338914089","file5":"1338914092","file3":"1338914087"},"map_files_photo_id_array":[{"photo_id":"1338914092","filename":"file5"},{"photo_id":"1338914086","filename":"file2"},{"photo_id":"1338914089","filename":"file4"},{"photo_id":"1338914084","filename":"file1"},{"photo_id":"1338914082","filename":"file0"},{"photo_id":"1338914087","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338914087":["hashtag1","hashtag2"]},{"1338914092":["hashtag1","hashtag2"]},{"1338914089":["hashtag1","hashtag2"]},{"1338914086":["hashtag1","hashtag2"]},{"1338914082":["hashtag1","hashtag2"]},{"1338914084":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338914087, 1338914092, 1338914089, 1338914086, 1338914082, 1338914084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.681045055389404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:35:42.522756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/34/image_21022025_21_34_46_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/34/image_21022025_21_34_46_9333.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914102"],"photo_id":"1338914102","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a71d7d16054ef85d83fd77bd50f3c94e.jpg","text":"TemporaryFile(/tmp/multipartBody5762708263606622752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170202934,"filename":"image_21022025_21_34_46_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338914102"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338914102"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.762890815734863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:36:03.452858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/24/image_20022025_21_24_56_10339.jpg', '/home/pi/Desktop/images/20022025/21/24/image_20022025_21_25_06_10317.jpg', '/home/pi/Desktop/images/20022025/21/25/image_20022025_21_25_16_9388.jpg', '/home/pi/Desktop/images/20022025/21/25/image_20022025_21_25_26_10347.jpg', '/home/pi/Desktop/images/20022025/21/25/image_20022025_21_25_36_10333.jpg', '/home/pi/Desktop/images/20022025/21/25/image_20022025_21_25_46_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/24/image_20022025_21_24_56_10339.jpg
/home/pi/Desktop/images/20022025/21/24/image_20022025_21_25_06_10317.jpg
/home/pi/Desktop/images/20022025/21/25/image_20022025_21_25_16_9388.jpg
/home/pi/Desktop/images/20022025/21/25/image_20022025_21_25_26_10347.jpg
/home/pi/Desktop/images/20022025/21/25/image_20022025_21_25_36_10333.jpg
/home/pi/Desktop/images/20022025/21/25/image_20022025_21_25_46_9374.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914128","1338914107","1338914118","1338914112","1338914115","1338914109"],"photo_ids_order":["1338914107","1338914109","1338914112","1338914115","1338914118","1338914128"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b60b1bb50feb65b247141065238f26ea.jpg","text":"TemporaryFile(/tmp/multipartBody3503832092213789516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170224958,"filename":"image_20022025_21_25_46_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e27bc696146ef0128af54426c3d6df62.jpg","text":"TemporaryFile(/tmp/multipartBody8844793521537497049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170224958,"filename":"image_20022025_21_24_56_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/858bacff68e3a6dd0e36aa46ff20d50f.jpg","text":"TemporaryFile(/tmp/multipartBody229351547015132405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170224958,"filename":"image_20022025_21_25_36_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fe9a525e3107d90864f51e4cb7bb034b.jpg","text":"TemporaryFile(/tmp/multipartBody578465445623605806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170224958,"filename":"image_20022025_21_25_16_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9fc7dbd565a8e5f3ea3f189cac7a3a8e.jpg","text":"TemporaryFile(/tmp/multipartBody8051326469417722919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170224958,"filename":"image_20022025_21_25_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0b95a79f25107bf911e16a9c45fa6eb8.jpg","text":"TemporaryFile(/tmp/multipartBody2254801435307990670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170224958,"filename":"image_20022025_21_25_06_10317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338914112","file1":"1338914109","file0":"1338914107","file4":"1338914118","file5":"1338914128","file3":"1338914115"},"map_files_photo_id_array":[{"photo_id":"1338914128","filename":"file5"},{"photo_id":"1338914112","filename":"file2"},{"photo_id":"1338914118","filename":"file4"},{"photo_id":"1338914109","filename":"file1"},{"photo_id":"1338914107","filename":"file0"},{"photo_id":"1338914115","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338914128":["hashtag1","hashtag2"]},{"1338914107":["hashtag1","hashtag2"]},{"1338914118":["hashtag1","hashtag2"]},{"1338914112":["hashtag1","hashtag2"]},{"1338914115":["hashtag1","hashtag2"]},{"1338914109":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338914128, 1338914107, 1338914118, 1338914112, 1338914115, 1338914109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46989941596985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:36:42.731424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/35/image_21022025_21_35_36_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/35/image_21022025_21_35_36_9367.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914152"],"photo_id":"1338914152","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2d4bbb0d00b8d123408e71b0084bc5c.jpg","text":"TemporaryFile(/tmp/multipartBody5556097988611580472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170263145,"filename":"image_21022025_21_35_36_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338914152"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338914152"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.878507375717163 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:37:04.288525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/25/image_20022025_21_25_56_10382.jpg', '/home/pi/Desktop/images/20022025/21/26/image_20022025_21_26_26_10373.jpg', '/home/pi/Desktop/images/20022025/21/26/image_20022025_21_26_36_9340.jpg', '/home/pi/Desktop/images/20022025/21/26/image_20022025_21_26_46_10368.jpg', '/home/pi/Desktop/images/20022025/21/26/image_20022025_21_26_56_10354.jpg', '/home/pi/Desktop/images/20022025/21/26/image_20022025_21_27_06_9328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/25/image_20022025_21_25_56_10382.jpg
/home/pi/Desktop/images/20022025/21/26/image_20022025_21_26_26_10373.jpg
/home/pi/Desktop/images/20022025/21/26/image_20022025_21_26_36_9340.jpg
/home/pi/Desktop/images/20022025/21/26/image_20022025_21_26_46_10368.jpg
/home/pi/Desktop/images/20022025/21/26/image_20022025_21_26_56_10354.jpg
/home/pi/Desktop/images/20022025/21/26/image_20022025_21_27_06_9328.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914243","1338914225","1338914201","1338914229","1338914238","1338914232"],"photo_ids_order":["1338914201","1338914225","1338914229","1338914232","1338914238","1338914243"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6988d463aa690f84ea0095e787d25c5d.jpg","text":"TemporaryFile(/tmp/multipartBody884606592106157845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170289618,"filename":"image_20022025_21_27_06_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b01990405d4d712fc5740581a5b25259.jpg","text":"TemporaryFile(/tmp/multipartBody1063506594392827225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170289618,"filename":"image_20022025_21_26_26_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/82e3322b76fdc27b9d617cfaedb76978.jpg","text":"TemporaryFile(/tmp/multipartBody3119283993904870771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170289618,"filename":"image_20022025_21_25_56_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/261cc21032fc80a662a416f70f48c8a5.jpg","text":"TemporaryFile(/tmp/multipartBody2889093668117225684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170289618,"filename":"image_20022025_21_26_36_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a4407885c394a1b2d181119cdb3b2db.jpg","text":"TemporaryFile(/tmp/multipartBody3247453672899386576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170289618,"filename":"image_20022025_21_26_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02ce24d1e8ab79ccfc47ebf420fd5cff.jpg","text":"TemporaryFile(/tmp/multipartBody6001774174994348960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170289618,"filename":"image_20022025_21_26_46_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338914229","file1":"1338914225","file0":"1338914201","file4":"1338914238","file5":"1338914243","file3":"1338914232"},"map_files_photo_id_array":[{"photo_id":"1338914243","filename":"file5"},{"photo_id":"1338914229","filename":"file2"},{"photo_id":"1338914238","filename":"file4"},{"photo_id":"1338914225","filename":"file1"},{"photo_id":"1338914201","filename":"file0"},{"photo_id":"1338914232","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338914243":["hashtag1","hashtag2"]},{"1338914225":["hashtag1","hashtag2"]},{"1338914201":["hashtag1","hashtag2"]},{"1338914229":["hashtag1","hashtag2"]},{"1338914238":["hashtag1","hashtag2"]},{"1338914232":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338914243, 1338914225, 1338914201, 1338914229, 1338914238, 1338914232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59738731384277 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:37:52.848418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/36/image_21022025_21_36_37_10379.jpg', '/home/pi/Desktop/images/21022025/21/37/image_21022025_21_37_26_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/36/image_21022025_21_36_37_10379.jpg
/home/pi/Desktop/images/21022025/21/37/image_21022025_21_37_26_10404.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914279","1338914282"],"photo_ids_order":["1338914279","1338914282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/55078283fea82c0f872f6cba971007e0.jpg","text":"TemporaryFile(/tmp/multipartBody9173436974833168897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170333271,"filename":"image_21022025_21_36_37_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ce92f02bd0666d224bb80d925f82612d.jpg","text":"TemporaryFile(/tmp/multipartBody8409744127573154001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170333271,"filename":"image_21022025_21_37_26_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338914282","file0":"1338914279"},"map_files_photo_id_array":[{"photo_id":"1338914282","filename":"file1"},{"photo_id":"1338914279","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338914279":["hashtag1","hashtag2"]},{"1338914282":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338914279, 1338914282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.347480773925781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:38:33.142069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/27/image_20022025_21_27_16_10414.jpg', '/home/pi/Desktop/images/20022025/21/27/image_20022025_21_27_27_10407.jpg', '/home/pi/Desktop/images/20022025/21/27/image_20022025_21_27_36_9361.jpg', '/home/pi/Desktop/images/20022025/21/27/image_20022025_21_27_46_10313.jpg', '/home/pi/Desktop/images/20022025/21/27/image_20022025_21_27_56_9396.jpg', '/home/pi/Desktop/images/20022025/21/27/image_20022025_21_28_06_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/27/image_20022025_21_27_16_10414.jpg
/home/pi/Desktop/images/20022025/21/27/image_20022025_21_27_27_10407.jpg
/home/pi/Desktop/images/20022025/21/27/image_20022025_21_27_36_9361.jpg
/home/pi/Desktop/images/20022025/21/27/image_20022025_21_27_46_10313.jpg
/home/pi/Desktop/images/20022025/21/27/image_20022025_21_27_56_9396.jpg
/home/pi/Desktop/images/20022025/21/27/image_20022025_21_28_06_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914327","1338914306","1338914317","1338914313","1338914322","1338914310"],"photo_ids_order":["1338914306","1338914310","1338914313","1338914317","1338914322","1338914327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/876a538f3b52ca25c8637b237c3d5b6a.jpg","text":"TemporaryFile(/tmp/multipartBody73493085934797544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170375260,"filename":"image_20022025_21_28_06_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a47de601aa979054ad93fe14ba0c60a.jpg","text":"TemporaryFile(/tmp/multipartBody7959309590454972957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170375260,"filename":"image_20022025_21_27_16_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4f90473fc3d5441c73be8ade4e38593.jpg","text":"TemporaryFile(/tmp/multipartBody666098164420906500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170375260,"filename":"image_20022025_21_27_46_10313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b48442caa9b8330bcb89aeb3db39c013.jpg","text":"TemporaryFile(/tmp/multipartBody2569237875329408561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170375260,"filename":"image_20022025_21_27_36_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7bc0a2795cf58ba68b2c572e46e7431c.jpg","text":"TemporaryFile(/tmp/multipartBody2683464384791666489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170375260,"filename":"image_20022025_21_27_56_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bf175bf9f9ca7d17c08e3d1273eef4c4.jpg","text":"TemporaryFile(/tmp/multipartBody2376015989097425243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170375260,"filename":"image_20022025_21_27_27_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338914313","file1":"1338914310","file0":"1338914306","file4":"1338914322","file5":"1338914327","file3":"1338914317"},"map_files_photo_id_array":[{"photo_id":"1338914327","filename":"file5"},{"photo_id":"1338914313","filename":"file2"},{"photo_id":"1338914322","filename":"file4"},{"photo_id":"1338914310","filename":"file1"},{"photo_id":"1338914306","filename":"file0"},{"photo_id":"1338914317","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338914327":["hashtag1","hashtag2"]},{"1338914306":["hashtag1","hashtag2"]},{"1338914317":["hashtag1","hashtag2"]},{"1338914313":["hashtag1","hashtag2"]},{"1338914322":["hashtag1","hashtag2"]},{"1338914310":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338914327, 1338914306, 1338914317, 1338914313, 1338914322, 1338914310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59006428718567 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:39:32.278941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/28/image_20022025_21_28_16_10340.jpg', '/home/pi/Desktop/images/20022025/21/28/image_20022025_21_28_36_10341.jpg', '/home/pi/Desktop/images/20022025/21/28/image_20022025_21_28_46_10364.jpg', '/home/pi/Desktop/images/20022025/21/28/image_20022025_21_28_56_9412.jpg', '/home/pi/Desktop/images/20022025/21/28/image_20022025_21_29_06_10413.jpg', '/home/pi/Desktop/images/20022025/21/29/image_20022025_21_29_26_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/28/image_20022025_21_28_16_10340.jpg
/home/pi/Desktop/images/20022025/21/28/image_20022025_21_28_36_10341.jpg
/home/pi/Desktop/images/20022025/21/28/image_20022025_21_28_46_10364.jpg
/home/pi/Desktop/images/20022025/21/28/image_20022025_21_28_56_9412.jpg
/home/pi/Desktop/images/20022025/21/28/image_20022025_21_29_06_10413.jpg
/home/pi/Desktop/images/20022025/21/29/image_20022025_21_29_26_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914399","1338914411","1338914414","1338914341","1338914413","1338914406"],"photo_ids_order":["1338914341","1338914399","1338914406","1338914411","1338914413","1338914414"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/76fb5e0ae69a954649557795e934e6d6.jpg","text":"TemporaryFile(/tmp/multipartBody7055644256699265657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170434399,"filename":"image_20022025_21_28_36_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/63086c1ec936a4a954a5a6dec5cc0932.jpg","text":"TemporaryFile(/tmp/multipartBody5740518147799051196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170434399,"filename":"image_20022025_21_28_56_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b018dade21824bad638abb8cabdcbdd.jpg","text":"TemporaryFile(/tmp/multipartBody5180521008034455049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170434399,"filename":"image_20022025_21_29_26_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/209d190b7854453376f4fd624f7c04e6.jpg","text":"TemporaryFile(/tmp/multipartBody2299838960231329837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170434399,"filename":"image_20022025_21_28_16_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8fe5397503be6244676e6bcac0255b10.jpg","text":"TemporaryFile(/tmp/multipartBody1580861187812395429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170434399,"filename":"image_20022025_21_29_06_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a320e232c3b23994e51628ed3fefecf0.jpg","text":"TemporaryFile(/tmp/multipartBody356832459361119383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170434399,"filename":"image_20022025_21_28_46_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338914406","file1":"1338914399","file0":"1338914341","file4":"1338914413","file5":"1338914414","file3":"1338914411"},"map_files_photo_id_array":[{"photo_id":"1338914414","filename":"file5"},{"photo_id":"1338914406","filename":"file2"},{"photo_id":"1338914413","filename":"file4"},{"photo_id":"1338914399","filename":"file1"},{"photo_id":"1338914341","filename":"file0"},{"photo_id":"1338914411","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338914399":["hashtag1","hashtag2"]},{"1338914411":["hashtag1","hashtag2"]},{"1338914414":["hashtag1","hashtag2"]},{"1338914341":["hashtag1","hashtag2"]},{"1338914413":["hashtag1","hashtag2"]},{"1338914406":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338914399, 1338914411, 1338914414, 1338914341, 1338914413, 1338914406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.94369149208069 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:40:32.581938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/37/image_21022025_21_37_57_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/37/image_21022025_21_37_57_10348.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914429"],"photo_id":"1338914429","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae3cfddff34665cec2a02a2275bcea19.jpg","text":"TemporaryFile(/tmp/multipartBody3492308911447114424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170493000,"filename":"image_21022025_21_37_57_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338914429"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338914429"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.505529642105103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:40:52.528188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/29/image_20022025_21_29_46_9389.jpg', '/home/pi/Desktop/images/20022025/21/29/image_20022025_21_29_56_10357.jpg', '/home/pi/Desktop/images/20022025/21/30/image_20022025_21_30_26_10354.jpg', '/home/pi/Desktop/images/20022025/21/30/image_20022025_21_30_36_9424.jpg', '/home/pi/Desktop/images/20022025/21/30/image_20022025_21_30_46_10341.jpg', '/home/pi/Desktop/images/20022025/21/30/image_20022025_21_31_06_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/29/image_20022025_21_29_46_9389.jpg
/home/pi/Desktop/images/20022025/21/29/image_20022025_21_29_56_10357.jpg
/home/pi/Desktop/images/20022025/21/30/image_20022025_21_30_26_10354.jpg
/home/pi/Desktop/images/20022025/21/30/image_20022025_21_30_36_9424.jpg
/home/pi/Desktop/images/20022025/21/30/image_20022025_21_30_46_10341.jpg
/home/pi/Desktop/images/20022025/21/30/image_20022025_21_31_06_9361.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914441","1338914473","1338914476","1338914443","1338914445","1338914460"],"photo_ids_order":["1338914441","1338914443","1338914445","1338914460","1338914473","1338914476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a441271cb4aa4b57074f9a57202ed8ee.jpg","text":"TemporaryFile(/tmp/multipartBody3338914260260457136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170514675,"filename":"image_20022025_21_29_46_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4cc39750e5f6cfea52e1f9475cc9a441.jpg","text":"TemporaryFile(/tmp/multipartBody1797742074718601971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170514675,"filename":"image_20022025_21_30_46_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/da462298cbbc578c61454b5797e2b463.jpg","text":"TemporaryFile(/tmp/multipartBody6820346297417682794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170514675,"filename":"image_20022025_21_31_06_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d0047d108795e40cb969db93f934d89.jpg","text":"TemporaryFile(/tmp/multipartBody358273956232488126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170514675,"filename":"image_20022025_21_29_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ad1729e2a137fac33d215028f33866c1.jpg","text":"TemporaryFile(/tmp/multipartBody6544814522657017079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170514675,"filename":"image_20022025_21_30_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/038daeb8182d70353463db3e033da8e5.jpg","text":"TemporaryFile(/tmp/multipartBody3078656760447155334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170514675,"filename":"image_20022025_21_30_36_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338914445","file1":"1338914443","file0":"1338914441","file4":"1338914473","file5":"1338914476","file3":"1338914460"},"map_files_photo_id_array":[{"photo_id":"1338914476","filename":"file5"},{"photo_id":"1338914445","filename":"file2"},{"photo_id":"1338914473","filename":"file4"},{"photo_id":"1338914443","filename":"file1"},{"photo_id":"1338914441","filename":"file0"},{"photo_id":"1338914460","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338914441":["hashtag1","hashtag2"]},{"1338914473":["hashtag1","hashtag2"]},{"1338914476":["hashtag1","hashtag2"]},{"1338914443":["hashtag1","hashtag2"]},{"1338914445":["hashtag1","hashtag2"]},{"1338914460":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338914441, 1338914473, 1338914476, 1338914443, 1338914445, 1338914460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51593780517578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:41:32.838355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/40/image_21022025_21_40_57_10420.jpg', '/home/pi/Desktop/images/21022025/21/40/image_21022025_21_41_06_9331.jpg', '/home/pi/Desktop/images/21022025/21/41/image_21022025_21_41_16_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/40/image_21022025_21_40_57_10420.jpg
/home/pi/Desktop/images/21022025/21/40/image_21022025_21_41_06_9331.jpg
/home/pi/Desktop/images/21022025/21/41/image_21022025_21_41_16_10342.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914531","1338914534","1338914506"],"photo_ids_order":["1338914506","1338914531","1338914534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2a3f8b3a6596bb052da0d7b36d2eb01.jpg","text":"TemporaryFile(/tmp/multipartBody8992585794764396507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170553287,"filename":"image_21022025_21_41_06_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a9a4288b17c8c40067ce6834c711d18.jpg","text":"TemporaryFile(/tmp/multipartBody8484931868860906146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170553287,"filename":"image_21022025_21_41_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06b333b15e95041d34e45b1a61599c7b.jpg","text":"TemporaryFile(/tmp/multipartBody3080621626833032220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170553287,"filename":"image_21022025_21_40_57_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338914534","file1":"1338914531","file0":"1338914506"},"map_files_photo_id_array":[{"photo_id":"1338914534","filename":"file2"},{"photo_id":"1338914531","filename":"file1"},{"photo_id":"1338914506","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338914531":["hashtag1","hashtag2"]},{"1338914534":["hashtag1","hashtag2"]},{"1338914506":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338914531, 1338914534, 1338914506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.4855740070343 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:41:52.884836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/31/image_20022025_21_31_16_10322.jpg', '/home/pi/Desktop/images/20022025/21/31/image_20022025_21_31_26_10348.jpg', '/home/pi/Desktop/images/20022025/21/31/image_20022025_21_31_36_9416.jpg', '/home/pi/Desktop/images/20022025/21/31/image_20022025_21_31_46_10371.jpg', '/home/pi/Desktop/images/20022025/21/31/image_20022025_21_31_57_10394.jpg', '/home/pi/Desktop/images/20022025/21/31/image_20022025_21_32_06_9320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/31/image_20022025_21_31_16_10322.jpg
/home/pi/Desktop/images/20022025/21/31/image_20022025_21_31_26_10348.jpg
/home/pi/Desktop/images/20022025/21/31/image_20022025_21_31_36_9416.jpg
/home/pi/Desktop/images/20022025/21/31/image_20022025_21_31_46_10371.jpg
/home/pi/Desktop/images/20022025/21/31/image_20022025_21_31_57_10394.jpg
/home/pi/Desktop/images/20022025/21/31/image_20022025_21_32_06_9320.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914576","1338914570","1338914596","1338914600","1338914578","1338914575"],"photo_ids_order":["1338914570","1338914575","1338914576","1338914578","1338914596","1338914600"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e6e971ebfb5281d8526917843f3e7d00.jpg","text":"TemporaryFile(/tmp/multipartBody5135425329216935186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170575001,"filename":"image_20022025_21_31_36_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c21d25b3b927432198c74e56d77d3ffb.jpg","text":"TemporaryFile(/tmp/multipartBody8348838433269871520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170575001,"filename":"image_20022025_21_31_16_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b907485ee4b5e37036b527574ea1defb.jpg","text":"TemporaryFile(/tmp/multipartBody377034196602546620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170575001,"filename":"image_20022025_21_31_57_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/548b39a17b2b56d6755bb3688874da6d.jpg","text":"TemporaryFile(/tmp/multipartBody2221837607293721821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170575001,"filename":"image_20022025_21_32_06_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/216bfc007c65fefebc38d3d28dcbae40.jpg","text":"TemporaryFile(/tmp/multipartBody1684830428186093018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170575001,"filename":"image_20022025_21_31_46_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b10b27d14bccd47affc8ab63a88e35a.jpg","text":"TemporaryFile(/tmp/multipartBody7241159210894650496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170575001,"filename":"image_20022025_21_31_26_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338914576","file1":"1338914575","file0":"1338914570","file4":"1338914596","file5":"1338914600","file3":"1338914578"},"map_files_photo_id_array":[{"photo_id":"1338914600","filename":"file5"},{"photo_id":"1338914576","filename":"file2"},{"photo_id":"1338914596","filename":"file4"},{"photo_id":"1338914575","filename":"file1"},{"photo_id":"1338914570","filename":"file0"},{"photo_id":"1338914578","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338914576":["hashtag1","hashtag2"]},{"1338914570":["hashtag1","hashtag2"]},{"1338914596":["hashtag1","hashtag2"]},{"1338914600":["hashtag1","hashtag2"]},{"1338914578":["hashtag1","hashtag2"]},{"1338914575":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338914576, 1338914570, 1338914596, 1338914600, 1338914578, 1338914575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.178354024887085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:42:33.055361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/41/image_21022025_21_41_46_10365.jpg', '/home/pi/Desktop/images/21022025/21/41/image_21022025_21_42_06_9328.jpg', '/home/pi/Desktop/images/21022025/21/42/image_21022025_21_42_26_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/41/image_21022025_21_41_46_10365.jpg
/home/pi/Desktop/images/21022025/21/41/image_21022025_21_42_06_9328.jpg
/home/pi/Desktop/images/21022025/21/42/image_21022025_21_42_26_9346.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914609","1338914629","1338914607"],"photo_ids_order":["1338914607","1338914609","1338914629"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/79674180c0c8109e04bb74a125ab83ab.jpg","text":"TemporaryFile(/tmp/multipartBody2866113242616603902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170613489,"filename":"image_21022025_21_42_06_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fbf18eff971d5e610d7cb448a433b975.jpg","text":"TemporaryFile(/tmp/multipartBody8541928483608971108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170613489,"filename":"image_21022025_21_42_26_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a562c1e3d2a599f901afdf88c2740187.jpg","text":"TemporaryFile(/tmp/multipartBody2165513931501915838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170613489,"filename":"image_21022025_21_41_46_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338914629","file1":"1338914609","file0":"1338914607"},"map_files_photo_id_array":[{"photo_id":"1338914629","filename":"file2"},{"photo_id":"1338914609","filename":"file1"},{"photo_id":"1338914607","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338914609":["hashtag1","hashtag2"]},{"1338914629":["hashtag1","hashtag2"]},{"1338914607":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338914609, 1338914629, 1338914607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.10099220275879 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:43:03.811795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/32/image_20022025_21_32_16_10341.jpg', '/home/pi/Desktop/images/20022025/21/32/image_20022025_21_32_56_9504.jpg', '/home/pi/Desktop/images/20022025/21/32/image_20022025_21_33_06_10388.jpg', '/home/pi/Desktop/images/20022025/21/33/image_20022025_21_33_16_9542.jpg', '/home/pi/Desktop/images/20022025/21/33/image_20022025_21_33_26_10350.jpg', '/home/pi/Desktop/images/20022025/21/33/image_20022025_21_33_36_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/32/image_20022025_21_32_16_10341.jpg
/home/pi/Desktop/images/20022025/21/32/image_20022025_21_32_56_9504.jpg
/home/pi/Desktop/images/20022025/21/32/image_20022025_21_33_06_10388.jpg
/home/pi/Desktop/images/20022025/21/33/image_20022025_21_33_16_9542.jpg
/home/pi/Desktop/images/20022025/21/33/image_20022025_21_33_26_10350.jpg
/home/pi/Desktop/images/20022025/21/33/image_20022025_21_33_36_10335.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914756","1338914723","1338914758","1338914725","1338914713","1338914727"],"photo_ids_order":["1338914713","1338914723","1338914725","1338914727","1338914756","1338914758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7bf487ef7cd939de3fc573d922045928.jpg","text":"TemporaryFile(/tmp/multipartBody3460479557815084330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170645584,"filename":"image_20022025_21_33_26_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/95994dd6ebe4bd6fc01d28f281cd6c71.jpg","text":"TemporaryFile(/tmp/multipartBody1442482908806450747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170645584,"filename":"image_20022025_21_32_56_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e3e786df3dbdf762dde689cf767c6fc9.jpg","text":"TemporaryFile(/tmp/multipartBody2258769439900507412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170645584,"filename":"image_20022025_21_33_36_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e4eed26fcd0a80e0835a3f14a16ec2e6.jpg","text":"TemporaryFile(/tmp/multipartBody2759062553931816293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170645584,"filename":"image_20022025_21_33_06_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f2f9b509d8cc6e0d1088c1b7f797f8f0.jpg","text":"TemporaryFile(/tmp/multipartBody3130008853733169423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170645584,"filename":"image_20022025_21_32_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d1ffcabb7f219aa73f7dc28e1fcbb3d.jpg","text":"TemporaryFile(/tmp/multipartBody2101571557978391353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170645584,"filename":"image_20022025_21_33_16_9542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338914725","file1":"1338914723","file0":"1338914713","file4":"1338914756","file5":"1338914758","file3":"1338914727"},"map_files_photo_id_array":[{"photo_id":"1338914758","filename":"file5"},{"photo_id":"1338914725","filename":"file2"},{"photo_id":"1338914756","filename":"file4"},{"photo_id":"1338914723","filename":"file1"},{"photo_id":"1338914713","filename":"file0"},{"photo_id":"1338914727","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338914756":["hashtag1","hashtag2"]},{"1338914723":["hashtag1","hashtag2"]},{"1338914758":["hashtag1","hashtag2"]},{"1338914725":["hashtag1","hashtag2"]},{"1338914713":["hashtag1","hashtag2"]},{"1338914727":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338914756, 1338914723, 1338914758, 1338914725, 1338914713, 1338914727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.361154079437256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:43:42.359667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/42/image_21022025_21_42_47_10426.jpg', '/home/pi/Desktop/images/21022025/21/42/image_21022025_21_43_06_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/42/image_21022025_21_42_47_10426.jpg
/home/pi/Desktop/images/21022025/21/42/image_21022025_21_43_06_10341.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914770","1338914767"],"photo_ids_order":["1338914767","1338914770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d6572311c1c0b061b739874761546213.jpg","text":"TemporaryFile(/tmp/multipartBody1049137428928628256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170682781,"filename":"image_21022025_21_43_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/68eb8559c57d146bebab08d94fe04986.jpg","text":"TemporaryFile(/tmp/multipartBody1581249534166093614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170682781,"filename":"image_21022025_21_42_47_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338914770","file0":"1338914767"},"map_files_photo_id_array":[{"photo_id":"1338914770","filename":"file1"},{"photo_id":"1338914767","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338914770":["hashtag1","hashtag2"]},{"1338914767":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338914770, 1338914767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.37231159210205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:44:03.336292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/33/image_20022025_21_33_46_9323.jpg', '/home/pi/Desktop/images/20022025/21/33/image_20022025_21_34_06_10415.jpg', '/home/pi/Desktop/images/20022025/21/34/image_20022025_21_34_26_10380.jpg', '/home/pi/Desktop/images/20022025/21/34/image_20022025_21_34_36_9386.jpg', '/home/pi/Desktop/images/20022025/21/34/image_20022025_21_34_56_10344.jpg', '/home/pi/Desktop/images/20022025/21/34/image_20022025_21_35_06_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/33/image_20022025_21_33_46_9323.jpg
/home/pi/Desktop/images/20022025/21/33/image_20022025_21_34_06_10415.jpg
/home/pi/Desktop/images/20022025/21/34/image_20022025_21_34_26_10380.jpg
/home/pi/Desktop/images/20022025/21/34/image_20022025_21_34_36_9386.jpg
/home/pi/Desktop/images/20022025/21/34/image_20022025_21_34_56_10344.jpg
/home/pi/Desktop/images/20022025/21/34/image_20022025_21_35_06_9331.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914776","1338914790","1338914781","1338914783","1338914777","1338914786"],"photo_ids_order":["1338914776","1338914777","1338914781","1338914783","1338914786","1338914790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c6cf0a0e48581b9445dffd4e9d9f99c4.jpg","text":"TemporaryFile(/tmp/multipartBody1431869639991151793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170704725,"filename":"image_20022025_21_33_46_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e4f6a40b3ef8b3ccc387644ee1d7ebb.jpg","text":"TemporaryFile(/tmp/multipartBody4732669969954150801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170704725,"filename":"image_20022025_21_35_06_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e8b5da3532ffab96daee388238cc22ac.jpg","text":"TemporaryFile(/tmp/multipartBody5526708491175896285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170704725,"filename":"image_20022025_21_34_26_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/84856f57941b3f3d580d083d237a3086.jpg","text":"TemporaryFile(/tmp/multipartBody5924142668951210704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170704725,"filename":"image_20022025_21_34_36_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c6576d79b70e53e69e7d68f0083e53e3.jpg","text":"TemporaryFile(/tmp/multipartBody5362083151734898643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170704725,"filename":"image_20022025_21_34_06_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87a8426827a397d1646f9084ac7b8b85.jpg","text":"TemporaryFile(/tmp/multipartBody5606233818235116913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170704725,"filename":"image_20022025_21_34_56_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338914781","file1":"1338914777","file0":"1338914776","file4":"1338914786","file5":"1338914790","file3":"1338914783"},"map_files_photo_id_array":[{"photo_id":"1338914790","filename":"file5"},{"photo_id":"1338914781","filename":"file2"},{"photo_id":"1338914786","filename":"file4"},{"photo_id":"1338914777","filename":"file1"},{"photo_id":"1338914776","filename":"file0"},{"photo_id":"1338914783","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338914776":["hashtag1","hashtag2"]},{"1338914790":["hashtag1","hashtag2"]},{"1338914781":["hashtag1","hashtag2"]},{"1338914783":["hashtag1","hashtag2"]},{"1338914777":["hashtag1","hashtag2"]},{"1338914786":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338914776, 1338914790, 1338914781, 1338914783, 1338914777, 1338914786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32700157165527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:44:42.766633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/43/image_21022025_21_43_37_10454.jpg', '/home/pi/Desktop/images/21022025/21/44/image_21022025_21_44_16_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/43/image_21022025_21_43_37_10454.jpg
/home/pi/Desktop/images/21022025/21/44/image_21022025_21_44_16_9344.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914804","1338914800"],"photo_ids_order":["1338914800","1338914804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c6b069a567cf89f3114e43602e09eb0c.jpg","text":"TemporaryFile(/tmp/multipartBody3244697653274770006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170743194,"filename":"image_21022025_21_44_16_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/894201bcd8b3cd34251b2351a69b486d.jpg","text":"TemporaryFile(/tmp/multipartBody5729398350017023588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170743194,"filename":"image_21022025_21_43_37_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338914804","file0":"1338914800"},"map_files_photo_id_array":[{"photo_id":"1338914804","filename":"file1"},{"photo_id":"1338914800","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338914804":["hashtag1","hashtag2"]},{"1338914800":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338914804, 1338914800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.477922439575195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:45:04.375952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/35/image_20022025_21_35_26_10347.jpg', '/home/pi/Desktop/images/20022025/21/35/image_20022025_21_35_46_10423.jpg', '/home/pi/Desktop/images/20022025/21/35/image_20022025_21_35_56_10345.jpg', '/home/pi/Desktop/images/20022025/21/35/image_20022025_21_36_06_9321.jpg', '/home/pi/Desktop/images/20022025/21/36/image_20022025_21_36_16_10310.jpg', '/home/pi/Desktop/images/20022025/21/36/image_20022025_21_36_26_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/35/image_20022025_21_35_26_10347.jpg
/home/pi/Desktop/images/20022025/21/35/image_20022025_21_35_46_10423.jpg
/home/pi/Desktop/images/20022025/21/35/image_20022025_21_35_56_10345.jpg
/home/pi/Desktop/images/20022025/21/35/image_20022025_21_36_06_9321.jpg
/home/pi/Desktop/images/20022025/21/36/image_20022025_21_36_16_10310.jpg
/home/pi/Desktop/images/20022025/21/36/image_20022025_21_36_26_10358.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914816","1338914810","1338914812","1338914815","1338914820","1338914814"],"photo_ids_order":["1338914810","1338914812","1338914814","1338914815","1338914816","1338914820"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8540d77b7b4e043bae102d4efac97d7d.jpg","text":"TemporaryFile(/tmp/multipartBody7661230341088345900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170766128,"filename":"image_20022025_21_36_16_10310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7797c9b56724377c41638f56d8cde210.jpg","text":"TemporaryFile(/tmp/multipartBody8473793960562546109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170766128,"filename":"image_20022025_21_35_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/91bc1911e893ab3a311ae3b7e1e7b9b7.jpg","text":"TemporaryFile(/tmp/multipartBody1231629531216135462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170766128,"filename":"image_20022025_21_35_46_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fb191541541d03f8f4ad5ca2e6628143.jpg","text":"TemporaryFile(/tmp/multipartBody3713057138473222662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170766128,"filename":"image_20022025_21_36_06_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3da97775793fe9254bfe5911b2af2afc.jpg","text":"TemporaryFile(/tmp/multipartBody7793474139324978992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170766128,"filename":"image_20022025_21_36_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac9405ac642bf6fe035f7ddbdef605da.jpg","text":"TemporaryFile(/tmp/multipartBody4445773688159325398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170766128,"filename":"image_20022025_21_35_56_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338914814","file1":"1338914812","file0":"1338914810","file4":"1338914816","file5":"1338914820","file3":"1338914815"},"map_files_photo_id_array":[{"photo_id":"1338914820","filename":"file5"},{"photo_id":"1338914814","filename":"file2"},{"photo_id":"1338914816","filename":"file4"},{"photo_id":"1338914812","filename":"file1"},{"photo_id":"1338914810","filename":"file0"},{"photo_id":"1338914815","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338914816":["hashtag1","hashtag2"]},{"1338914810":["hashtag1","hashtag2"]},{"1338914812":["hashtag1","hashtag2"]},{"1338914815":["hashtag1","hashtag2"]},{"1338914820":["hashtag1","hashtag2"]},{"1338914814":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338914816, 1338914810, 1338914812, 1338914815, 1338914820, 1338914814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80884003639221 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:45:42.875665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/44/image_21022025_21_44_27_10448.jpg', '/home/pi/Desktop/images/21022025/21/45/image_21022025_21_45_27_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/44/image_21022025_21_44_27_10448.jpg
/home/pi/Desktop/images/21022025/21/45/image_21022025_21_45_27_10381.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914830","1338914832"],"photo_ids_order":["1338914830","1338914832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/66b65b55aaf779ac42ada3a6838b6e8e.jpg","text":"TemporaryFile(/tmp/multipartBody7444848659077257604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170803299,"filename":"image_21022025_21_44_27_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c367742a6204cfe0ca9c1cb746fe58d.jpg","text":"TemporaryFile(/tmp/multipartBody7283811212301075469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170803299,"filename":"image_21022025_21_45_27_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338914832","file0":"1338914830"},"map_files_photo_id_array":[{"photo_id":"1338914832","filename":"file1"},{"photo_id":"1338914830","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338914830":["hashtag1","hashtag2"]},{"1338914832":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338914830, 1338914832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.784162282943726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:46:02.851317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/36/image_20022025_21_36_36_9419.jpg', '/home/pi/Desktop/images/20022025/21/36/image_20022025_21_36_56_9362.jpg', '/home/pi/Desktop/images/20022025/21/36/image_20022025_21_37_06_10350.jpg', '/home/pi/Desktop/images/20022025/21/37/image_20022025_21_37_16_10350.jpg', '/home/pi/Desktop/images/20022025/21/37/image_20022025_21_37_36_10329.jpg', '/home/pi/Desktop/images/20022025/21/37/image_20022025_21_37_46_10323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/36/image_20022025_21_36_36_9419.jpg
/home/pi/Desktop/images/20022025/21/36/image_20022025_21_36_56_9362.jpg
/home/pi/Desktop/images/20022025/21/36/image_20022025_21_37_06_10350.jpg
/home/pi/Desktop/images/20022025/21/37/image_20022025_21_37_16_10350.jpg
/home/pi/Desktop/images/20022025/21/37/image_20022025_21_37_36_10329.jpg
/home/pi/Desktop/images/20022025/21/37/image_20022025_21_37_46_10323.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914846","1338914834","1338914836","1338914841","1338914844","1338914838"],"photo_ids_order":["1338914834","1338914836","1338914838","1338914841","1338914844","1338914846"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04396a475ec7bea6bd48a227f32bf6ce.jpg","text":"TemporaryFile(/tmp/multipartBody532420861044052766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170824262,"filename":"image_20022025_21_37_46_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ee3d8944fd5ec5c613e79d8508ad221.jpg","text":"TemporaryFile(/tmp/multipartBody1205692506892434247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170824262,"filename":"image_20022025_21_36_36_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/99bd0cb246ac28643344c8fbb63d1de2.jpg","text":"TemporaryFile(/tmp/multipartBody3996170836364521263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170824262,"filename":"image_20022025_21_36_56_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f53da9fe82001607a35e14f7edf3cc40.jpg","text":"TemporaryFile(/tmp/multipartBody4999315855487773363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170824262,"filename":"image_20022025_21_37_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/96e1d24cffaefd4e244347505ce426e6.jpg","text":"TemporaryFile(/tmp/multipartBody8039942429876974317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170824262,"filename":"image_20022025_21_37_36_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4ed20c8a7317a9f8519a35b8a244d592.jpg","text":"TemporaryFile(/tmp/multipartBody6022951299310536129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170824262,"filename":"image_20022025_21_37_06_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338914838","file1":"1338914836","file0":"1338914834","file4":"1338914844","file5":"1338914846","file3":"1338914841"},"map_files_photo_id_array":[{"photo_id":"1338914846","filename":"file5"},{"photo_id":"1338914838","filename":"file2"},{"photo_id":"1338914844","filename":"file4"},{"photo_id":"1338914836","filename":"file1"},{"photo_id":"1338914834","filename":"file0"},{"photo_id":"1338914841","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338914846":["hashtag1","hashtag2"]},{"1338914834":["hashtag1","hashtag2"]},{"1338914836":["hashtag1","hashtag2"]},{"1338914841":["hashtag1","hashtag2"]},{"1338914844":["hashtag1","hashtag2"]},{"1338914838":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338914846, 1338914834, 1338914836, 1338914841, 1338914844, 1338914838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.80140519142151 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:46:42.170836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/37/image_20022025_21_37_56_9439.jpg', '/home/pi/Desktop/images/20022025/21/37/image_20022025_21_38_06_10408.jpg', '/home/pi/Desktop/images/20022025/21/38/image_20022025_21_38_16_9383.jpg', '/home/pi/Desktop/images/20022025/21/38/image_20022025_21_38_46_9308.jpg', '/home/pi/Desktop/images/20022025/21/38/image_20022025_21_38_56_10373.jpg', '/home/pi/Desktop/images/20022025/21/38/image_20022025_21_39_06_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/37/image_20022025_21_37_56_9439.jpg
/home/pi/Desktop/images/20022025/21/37/image_20022025_21_38_06_10408.jpg
/home/pi/Desktop/images/20022025/21/38/image_20022025_21_38_16_9383.jpg
/home/pi/Desktop/images/20022025/21/38/image_20022025_21_38_46_9308.jpg
/home/pi/Desktop/images/20022025/21/38/image_20022025_21_38_56_10373.jpg
/home/pi/Desktop/images/20022025/21/38/image_20022025_21_39_06_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338914860","1338914866","1338914874","1338914856","1338914882","1338914879"],"photo_ids_order":["1338914856","1338914860","1338914866","1338914874","1338914879","1338914882"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/805400b812db55f242e5be448b6fe8dc.jpg","text":"TemporaryFile(/tmp/multipartBody1799316914303428236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170863454,"filename":"image_20022025_21_38_06_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/584a73f6518b6e5b0b5463c35d435529.jpg","text":"TemporaryFile(/tmp/multipartBody6846766063599148016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170863454,"filename":"image_20022025_21_38_16_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e80f8ffc5212c1975e5d6632a3c2f4e.jpg","text":"TemporaryFile(/tmp/multipartBody5368549944498949951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170863454,"filename":"image_20022025_21_38_46_9308.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/30d2d897e35edfc0db1b50b14e7d66c0.jpg","text":"TemporaryFile(/tmp/multipartBody8856697863364998284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170863454,"filename":"image_20022025_21_37_56_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9fb6fc0a7795f1d6f38719b7d76ecaa1.jpg","text":"TemporaryFile(/tmp/multipartBody4590632432600367472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170863454,"filename":"image_20022025_21_39_06_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/460b7eaf9da5e520204ee079bc78d817.jpg","text":"TemporaryFile(/tmp/multipartBody7215023341861840905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170863454,"filename":"image_20022025_21_38_56_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338914866","file1":"1338914860","file0":"1338914856","file4":"1338914879","file5":"1338914882","file3":"1338914874"},"map_files_photo_id_array":[{"photo_id":"1338914882","filename":"file5"},{"photo_id":"1338914866","filename":"file2"},{"photo_id":"1338914879","filename":"file4"},{"photo_id":"1338914860","filename":"file1"},{"photo_id":"1338914856","filename":"file0"},{"photo_id":"1338914874","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338914860":["hashtag1","hashtag2"]},{"1338914866":["hashtag1","hashtag2"]},{"1338914874":["hashtag1","hashtag2"]},{"1338914856":["hashtag1","hashtag2"]},{"1338914882":["hashtag1","hashtag2"]},{"1338914879":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338914860, 1338914866, 1338914874, 1338914856, 1338914882, 1338914879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82223987579346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:47:32.535602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/39/image_20022025_21_39_56_10353.jpg', '/home/pi/Desktop/images/20022025/21/40/image_20022025_21_40_36_9426.jpg', '/home/pi/Desktop/images/20022025/21/40/image_20022025_21_40_46_10433.jpg', '/home/pi/Desktop/images/20022025/21/40/image_20022025_21_41_06_10331.jpg', '/home/pi/Desktop/images/20022025/21/41/image_20022025_21_41_16_10378.jpg', '/home/pi/Desktop/images/20022025/21/41/image_20022025_21_41_46_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/39/image_20022025_21_39_56_10353.jpg
/home/pi/Desktop/images/20022025/21/40/image_20022025_21_40_36_9426.jpg
/home/pi/Desktop/images/20022025/21/40/image_20022025_21_40_46_10433.jpg
/home/pi/Desktop/images/20022025/21/40/image_20022025_21_41_06_10331.jpg
/home/pi/Desktop/images/20022025/21/41/image_20022025_21_41_16_10378.jpg
/home/pi/Desktop/images/20022025/21/41/image_20022025_21_41_46_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338915041","1338915040","1338915043","1338915045","1338915036","1338915038"],"photo_ids_order":["1338915036","1338915038","1338915040","1338915041","1338915043","1338915045"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/072f88b3c5aeed74060a9b1ac4ee0f87.jpg","text":"TemporaryFile(/tmp/multipartBody879016190111019332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170914668,"filename":"image_20022025_21_41_06_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b3b0d1996389395a2eb8a23c423362b4.jpg","text":"TemporaryFile(/tmp/multipartBody7513511854975747854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170914668,"filename":"image_20022025_21_40_46_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2b28848d96c64456aac009771f0a6503.jpg","text":"TemporaryFile(/tmp/multipartBody627489438259652671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170914668,"filename":"image_20022025_21_41_16_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/883b6b1ebeae0650fda65b72ff7067b0.jpg","text":"TemporaryFile(/tmp/multipartBody4063631377055213431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170914668,"filename":"image_20022025_21_41_46_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a8d6802765135142286f1cba7c000431.jpg","text":"TemporaryFile(/tmp/multipartBody6415851069717093734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170914668,"filename":"image_20022025_21_39_56_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9932b73d3568f8dfef765c9a01c2a894.jpg","text":"TemporaryFile(/tmp/multipartBody2940939126739499102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170914668,"filename":"image_20022025_21_40_36_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338915040","file1":"1338915038","file0":"1338915036","file4":"1338915043","file5":"1338915045","file3":"1338915041"},"map_files_photo_id_array":[{"photo_id":"1338915045","filename":"file5"},{"photo_id":"1338915040","filename":"file2"},{"photo_id":"1338915043","filename":"file4"},{"photo_id":"1338915038","filename":"file1"},{"photo_id":"1338915036","filename":"file0"},{"photo_id":"1338915041","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338915041":["hashtag1","hashtag2"]},{"1338915040":["hashtag1","hashtag2"]},{"1338915043":["hashtag1","hashtag2"]},{"1338915045":["hashtag1","hashtag2"]},{"1338915036":["hashtag1","hashtag2"]},{"1338915038":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338915041, 1338915040, 1338915043, 1338915045, 1338915036, 1338915038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51761078834534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:48:32.684629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/45/image_21022025_21_45_47_10397.jpg', '/home/pi/Desktop/images/21022025/21/48/image_21022025_21_48_17_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/45/image_21022025_21_45_47_10397.jpg
/home/pi/Desktop/images/21022025/21/48/image_21022025_21_48_17_10379.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338915064","1338915068"],"photo_ids_order":["1338915064","1338915068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c219b668a6d3e75323ba319e3377f25e.jpg","text":"TemporaryFile(/tmp/multipartBody457504371215816363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170973107,"filename":"image_21022025_21_45_47_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/71a929203bda3dda2bc1f84569660c02.jpg","text":"TemporaryFile(/tmp/multipartBody8629898583353771536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170973107,"filename":"image_21022025_21_48_17_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338915068","file0":"1338915064"},"map_files_photo_id_array":[{"photo_id":"1338915068","filename":"file1"},{"photo_id":"1338915064","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338915064":["hashtag1","hashtag2"]},{"1338915068":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338915064, 1338915068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.393807888031006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:48:52.688766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/41/image_20022025_21_41_56_9412.jpg', '/home/pi/Desktop/images/20022025/21/41/image_20022025_21_42_06_10389.jpg', '/home/pi/Desktop/images/20022025/21/42/image_20022025_21_42_16_9465.jpg', '/home/pi/Desktop/images/20022025/21/42/image_20022025_21_42_26_10325.jpg', '/home/pi/Desktop/images/20022025/21/42/image_20022025_21_42_36_10328.jpg', '/home/pi/Desktop/images/20022025/21/42/image_20022025_21_42_46_9914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/41/image_20022025_21_41_56_9412.jpg
/home/pi/Desktop/images/20022025/21/41/image_20022025_21_42_06_10389.jpg
/home/pi/Desktop/images/20022025/21/42/image_20022025_21_42_16_9465.jpg
/home/pi/Desktop/images/20022025/21/42/image_20022025_21_42_26_10325.jpg
/home/pi/Desktop/images/20022025/21/42/image_20022025_21_42_36_10328.jpg
/home/pi/Desktop/images/20022025/21/42/image_20022025_21_42_46_9914.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338915073","1338915072","1338915075","1338915102","1338915092","1338915080"],"photo_ids_order":["1338915072","1338915073","1338915075","1338915080","1338915092","1338915102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d8aba4a344b706122d88999dc3a4389e.jpg","text":"TemporaryFile(/tmp/multipartBody888993888355714513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170994799,"filename":"image_20022025_21_42_06_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c1c28b17cb4ad8d6f469856294c2189a.jpg","text":"TemporaryFile(/tmp/multipartBody5417163692416881166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170994799,"filename":"image_20022025_21_41_56_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2c8b1cde8b457138bd2dfb301f781e17.jpg","text":"TemporaryFile(/tmp/multipartBody3816624045903543867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170994799,"filename":"image_20022025_21_42_16_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bd2a769ab4ef0c108c4d64d15d1cfac1.jpg","text":"TemporaryFile(/tmp/multipartBody3608773762984524919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170994799,"filename":"image_20022025_21_42_46_9914.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/77b00a845361d0a9f9298900d7977a95.jpg","text":"TemporaryFile(/tmp/multipartBody5139558873652766221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170994799,"filename":"image_20022025_21_42_36_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e5d29588888c7522987c72038150dcfa.jpg","text":"TemporaryFile(/tmp/multipartBody3297141418274112340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740170994799,"filename":"image_20022025_21_42_26_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338915075","file1":"1338915073","file0":"1338915072","file4":"1338915092","file5":"1338915102","file3":"1338915080"},"map_files_photo_id_array":[{"photo_id":"1338915102","filename":"file5"},{"photo_id":"1338915075","filename":"file2"},{"photo_id":"1338915092","filename":"file4"},{"photo_id":"1338915073","filename":"file1"},{"photo_id":"1338915072","filename":"file0"},{"photo_id":"1338915080","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338915073":["hashtag1","hashtag2"]},{"1338915072":["hashtag1","hashtag2"]},{"1338915075":["hashtag1","hashtag2"]},{"1338915102":["hashtag1","hashtag2"]},{"1338915092":["hashtag1","hashtag2"]},{"1338915080":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338915073, 1338915072, 1338915075, 1338915102, 1338915092, 1338915080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25897192955017 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:49:32.926490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/48/image_21022025_21_48_56_9341.jpg', '/home/pi/Desktop/images/21022025/21/49/image_21022025_21_49_17_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/48/image_21022025_21_48_56_9341.jpg
/home/pi/Desktop/images/21022025/21/49/image_21022025_21_49_17_10432.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338915113","1338915115"],"photo_ids_order":["1338915113","1338915115"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4ce9ab81fb62f8604ec45b34749e27c9.jpg","text":"TemporaryFile(/tmp/multipartBody6970135661425036933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171033348,"filename":"image_21022025_21_48_56_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/818cdc61877bd6052fdcfaa44e0d3fe1.jpg","text":"TemporaryFile(/tmp/multipartBody4774704699309746003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171033348,"filename":"image_21022025_21_49_17_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338915115","file0":"1338915113"},"map_files_photo_id_array":[{"photo_id":"1338915115","filename":"file1"},{"photo_id":"1338915113","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338915113":["hashtag1","hashtag2"]},{"1338915115":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338915113, 1338915115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.349124908447266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:49:52.909371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/42/image_20022025_21_42_56_9505.jpg', '/home/pi/Desktop/images/20022025/21/42/image_20022025_21_43_06_10323.jpg', '/home/pi/Desktop/images/20022025/21/43/image_20022025_21_43_16_10338.jpg', '/home/pi/Desktop/images/20022025/21/43/image_20022025_21_43_26_9399.jpg', '/home/pi/Desktop/images/20022025/21/43/image_20022025_21_43_36_10366.jpg', '/home/pi/Desktop/images/20022025/21/43/image_20022025_21_43_46_9546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/42/image_20022025_21_42_56_9505.jpg
/home/pi/Desktop/images/20022025/21/42/image_20022025_21_43_06_10323.jpg
/home/pi/Desktop/images/20022025/21/43/image_20022025_21_43_16_10338.jpg
/home/pi/Desktop/images/20022025/21/43/image_20022025_21_43_26_9399.jpg
/home/pi/Desktop/images/20022025/21/43/image_20022025_21_43_36_10366.jpg
/home/pi/Desktop/images/20022025/21/43/image_20022025_21_43_46_9546.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338915664","1338915565","1338915981","1338915471","1338915879","1338915767"],"photo_ids_order":["1338915471","1338915565","1338915664","1338915767","1338915879","1338915981"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/71bef486e5f2759d74a29b063d275d1c.jpg","text":"TemporaryFile(/tmp/multipartBody6352554199242099639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171055034,"filename":"image_20022025_21_43_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/18f8102a6edd738363c0bc15fedb3c72.jpg","text":"TemporaryFile(/tmp/multipartBody4569238242274927077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171055034,"filename":"image_20022025_21_43_06_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/075fe20594444059f32527978153708d.jpg","text":"TemporaryFile(/tmp/multipartBody8941769609214989411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171055034,"filename":"image_20022025_21_43_46_9546.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c3e6902448612e0aa919b9834c59b3a1.jpg","text":"TemporaryFile(/tmp/multipartBody52054472126305802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171055034,"filename":"image_20022025_21_42_56_9505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f88f9996ee4574a4e08bb42f8e646a81.jpg","text":"TemporaryFile(/tmp/multipartBody8759421503839435398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171055034,"filename":"image_20022025_21_43_36_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/98a19714647dbff5510b2817631e4c95.jpg","text":"TemporaryFile(/tmp/multipartBody6650306376988332192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171055034,"filename":"image_20022025_21_43_26_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338915664","file1":"1338915565","file0":"1338915471","file4":"1338915879","file5":"1338915981","file3":"1338915767"},"map_files_photo_id_array":[{"photo_id":"1338915981","filename":"file5"},{"photo_id":"1338915664","filename":"file2"},{"photo_id":"1338915879","filename":"file4"},{"photo_id":"1338915565","filename":"file1"},{"photo_id":"1338915471","filename":"file0"},{"photo_id":"1338915767","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338915664":["hashtag1","hashtag2"]},{"1338915565":["hashtag1","hashtag2"]},{"1338915981":["hashtag1","hashtag2"]},{"1338915471":["hashtag1","hashtag2"]},{"1338915879":["hashtag1","hashtag2"]},{"1338915767":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338915664, 1338915565, 1338915981, 1338915471, 1338915879, 1338915767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45640683174133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:50:33.150118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/49/image_21022025_21_49_56_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/49/image_21022025_21_49_56_10400.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338916325"],"photo_id":"1338916325","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f0d0be080f4fce0f32bd89e2e753fa2.jpg","text":"TemporaryFile(/tmp/multipartBody1255780070258608586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171093560,"filename":"image_21022025_21_49_56_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338916325"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338916325"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.642051219940186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:50:53.074388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/43/image_20022025_21_43_56_10356.jpg', '/home/pi/Desktop/images/20022025/21/43/image_20022025_21_44_06_10389.jpg', '/home/pi/Desktop/images/20022025/21/44/image_20022025_21_44_16_9330.jpg', '/home/pi/Desktop/images/20022025/21/44/image_20022025_21_44_26_10342.jpg', '/home/pi/Desktop/images/20022025/21/44/image_20022025_21_44_37_10453.jpg', '/home/pi/Desktop/images/20022025/21/44/image_20022025_21_44_46_9318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/43/image_20022025_21_43_56_10356.jpg
/home/pi/Desktop/images/20022025/21/43/image_20022025_21_44_06_10389.jpg
/home/pi/Desktop/images/20022025/21/44/image_20022025_21_44_16_9330.jpg
/home/pi/Desktop/images/20022025/21/44/image_20022025_21_44_26_10342.jpg
/home/pi/Desktop/images/20022025/21/44/image_20022025_21_44_37_10453.jpg
/home/pi/Desktop/images/20022025/21/44/image_20022025_21_44_46_9318.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338916630","1338916618","1338916612","1338916620","1338916608","1338916610"],"photo_ids_order":["1338916608","1338916610","1338916612","1338916618","1338916620","1338916630"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2fb9a76abc16813ef3d30cbebbcb4e7.jpg","text":"TemporaryFile(/tmp/multipartBody1850442732527895686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171115188,"filename":"image_20022025_21_44_46_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59652121d2f3be14a7a76f85c84df3cb.jpg","text":"TemporaryFile(/tmp/multipartBody4784518978683635923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171115188,"filename":"image_20022025_21_44_26_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef78f5b54dc61c7e49660be303f2116a.jpg","text":"TemporaryFile(/tmp/multipartBody1599695287479442101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171115188,"filename":"image_20022025_21_44_16_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3e0d840be2d244fb16cbec255f661364.jpg","text":"TemporaryFile(/tmp/multipartBody1441404822273527828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171115188,"filename":"image_20022025_21_44_37_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/39e460f303eb30067aafdb1556ffdac4.jpg","text":"TemporaryFile(/tmp/multipartBody4519574328098011898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171115188,"filename":"image_20022025_21_43_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b73440010dd7eb43c27d4f2d43916b33.jpg","text":"TemporaryFile(/tmp/multipartBody4897377004136828420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171115188,"filename":"image_20022025_21_44_06_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338916612","file1":"1338916610","file0":"1338916608","file4":"1338916620","file5":"1338916630","file3":"1338916618"},"map_files_photo_id_array":[{"photo_id":"1338916630","filename":"file5"},{"photo_id":"1338916612","filename":"file2"},{"photo_id":"1338916620","filename":"file4"},{"photo_id":"1338916610","filename":"file1"},{"photo_id":"1338916608","filename":"file0"},{"photo_id":"1338916618","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338916630":["hashtag1","hashtag2"]},{"1338916618":["hashtag1","hashtag2"]},{"1338916612":["hashtag1","hashtag2"]},{"1338916620":["hashtag1","hashtag2"]},{"1338916608":["hashtag1","hashtag2"]},{"1338916610":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338916630, 1338916618, 1338916612, 1338916620, 1338916608, 1338916610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30953621864319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:51:32.269836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/44/image_20022025_21_44_56_10337.jpg', '/home/pi/Desktop/images/20022025/21/44/image_20022025_21_45_06_9415.jpg', '/home/pi/Desktop/images/20022025/21/45/image_20022025_21_45_26_10372.jpg', '/home/pi/Desktop/images/20022025/21/45/image_20022025_21_45_36_9338.jpg', '/home/pi/Desktop/images/20022025/21/45/image_20022025_21_45_46_10333.jpg', '/home/pi/Desktop/images/20022025/21/45/image_20022025_21_45_56_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/44/image_20022025_21_44_56_10337.jpg
/home/pi/Desktop/images/20022025/21/44/image_20022025_21_45_06_9415.jpg
/home/pi/Desktop/images/20022025/21/45/image_20022025_21_45_26_10372.jpg
/home/pi/Desktop/images/20022025/21/45/image_20022025_21_45_36_9338.jpg
/home/pi/Desktop/images/20022025/21/45/image_20022025_21_45_46_10333.jpg
/home/pi/Desktop/images/20022025/21/45/image_20022025_21_45_56_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338916639","1338916689","1338916644","1338916641","1338916691","1338916643"],"photo_ids_order":["1338916639","1338916641","1338916643","1338916644","1338916689","1338916691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3ef0c2435113a5e607ac228d1c73cf72.jpg","text":"TemporaryFile(/tmp/multipartBody7757297545618586300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171154403,"filename":"image_20022025_21_44_56_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/96ce9b971aafe477f2046a6d0b393111.jpg","text":"TemporaryFile(/tmp/multipartBody1890866958138075414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171154403,"filename":"image_20022025_21_45_46_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/57abd7796cb11f621104ebdbddd2a5ac.jpg","text":"TemporaryFile(/tmp/multipartBody4911779226535957964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171154403,"filename":"image_20022025_21_45_36_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/702f2ba65a44729d8f76667bc55752c5.jpg","text":"TemporaryFile(/tmp/multipartBody7164371773278707014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171154403,"filename":"image_20022025_21_45_06_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/55c4c0581bd7d5cd75681bae2f11b154.jpg","text":"TemporaryFile(/tmp/multipartBody5347695607927105468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171154403,"filename":"image_20022025_21_45_56_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75e1343b08fd7d37f8b728d471b5c079.jpg","text":"TemporaryFile(/tmp/multipartBody7201810767823727342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171154403,"filename":"image_20022025_21_45_26_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338916643","file1":"1338916641","file0":"1338916639","file4":"1338916689","file5":"1338916691","file3":"1338916644"},"map_files_photo_id_array":[{"photo_id":"1338916691","filename":"file5"},{"photo_id":"1338916643","filename":"file2"},{"photo_id":"1338916689","filename":"file4"},{"photo_id":"1338916641","filename":"file1"},{"photo_id":"1338916639","filename":"file0"},{"photo_id":"1338916644","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338916639":["hashtag1","hashtag2"]},{"1338916689":["hashtag1","hashtag2"]},{"1338916644":["hashtag1","hashtag2"]},{"1338916641":["hashtag1","hashtag2"]},{"1338916691":["hashtag1","hashtag2"]},{"1338916643":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338916639, 1338916689, 1338916644, 1338916641, 1338916691, 1338916643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.624672174453735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:52:32.524982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/49/image_21022025_21_50_07_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/49/image_21022025_21_50_07_10420.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338916820"],"photo_id":"1338916820","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ad1f3c5c6808fa8ad5e69519121fe428.jpg","text":"TemporaryFile(/tmp/multipartBody5612071264225808800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171212938,"filename":"image_21022025_21_50_07_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338916820"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338916820"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.099065065383911 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:52:52.504662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/46/image_20022025_21_46_16_10342.jpg', '/home/pi/Desktop/images/20022025/21/46/image_20022025_21_46_26_10354.jpg', '/home/pi/Desktop/images/20022025/21/46/image_20022025_21_46_36_9346.jpg', '/home/pi/Desktop/images/20022025/21/46/image_20022025_21_47_06_9389.jpg', '/home/pi/Desktop/images/20022025/21/47/image_20022025_21_47_16_10337.jpg', '/home/pi/Desktop/images/20022025/21/47/image_20022025_21_47_27_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/46/image_20022025_21_46_16_10342.jpg
/home/pi/Desktop/images/20022025/21/46/image_20022025_21_46_26_10354.jpg
/home/pi/Desktop/images/20022025/21/46/image_20022025_21_46_36_9346.jpg
/home/pi/Desktop/images/20022025/21/46/image_20022025_21_47_06_9389.jpg
/home/pi/Desktop/images/20022025/21/47/image_20022025_21_47_16_10337.jpg
/home/pi/Desktop/images/20022025/21/47/image_20022025_21_47_27_10407.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338917934","1338918023","1338917900","1338918115","1338918010","1338918198"],"photo_ids_order":["1338917900","1338917934","1338918010","1338918023","1338918115","1338918198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8e0e5d3b1cb671bac00b9c405caca920.jpg","text":"TemporaryFile(/tmp/multipartBody7507857302268950000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171234649,"filename":"image_20022025_21_46_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3aa8614227004c85886121f0c69aa9b9.jpg","text":"TemporaryFile(/tmp/multipartBody294314934004326937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171234649,"filename":"image_20022025_21_47_06_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e72b4b4a51c9e6de290ac1ee0957eb5.jpg","text":"TemporaryFile(/tmp/multipartBody6832367966466635808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171234649,"filename":"image_20022025_21_46_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f40747408d4007bc6bf3e4d61a8ec05.jpg","text":"TemporaryFile(/tmp/multipartBody6443106565490900011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171234649,"filename":"image_20022025_21_47_16_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/29321c15bd636f0d657741c2d622b86b.jpg","text":"TemporaryFile(/tmp/multipartBody614217160893406604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171234649,"filename":"image_20022025_21_46_36_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/098265d1b8fb42b60783d5ce19ec0038.jpg","text":"TemporaryFile(/tmp/multipartBody324375851222285595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171234649,"filename":"image_20022025_21_47_27_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338918010","file1":"1338917934","file0":"1338917900","file4":"1338918115","file5":"1338918198","file3":"1338918023"},"map_files_photo_id_array":[{"photo_id":"1338918198","filename":"file5"},{"photo_id":"1338918010","filename":"file2"},{"photo_id":"1338918115","filename":"file4"},{"photo_id":"1338917934","filename":"file1"},{"photo_id":"1338917900","filename":"file0"},{"photo_id":"1338918023","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338917934":["hashtag1","hashtag2"]},{"1338918023":["hashtag1","hashtag2"]},{"1338917900":["hashtag1","hashtag2"]},{"1338918115":["hashtag1","hashtag2"]},{"1338918010":["hashtag1","hashtag2"]},{"1338918198":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338917934, 1338918023, 1338917900, 1338918115, 1338918010, 1338918198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35420203208923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:53:32.725953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/52/image_21022025_21_52_46_9334.jpg', '/home/pi/Desktop/images/21022025/21/52/image_21022025_21_53_07_10342.jpg', '/home/pi/Desktop/images/21022025/21/53/image_21022025_21_53_16_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/52/image_21022025_21_52_46_9334.jpg
/home/pi/Desktop/images/21022025/21/52/image_21022025_21_53_07_10342.jpg
/home/pi/Desktop/images/21022025/21/53/image_21022025_21_53_16_9369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338918455","1338918442","1338918453"],"photo_ids_order":["1338918442","1338918453","1338918455"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a63d60545077d61bcbd1569598e4eef1.jpg","text":"TemporaryFile(/tmp/multipartBody8363058593848027845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171273160,"filename":"image_21022025_21_53_16_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ac2f4647fe5478f815c14078394f749.jpg","text":"TemporaryFile(/tmp/multipartBody2696726569701352438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171273160,"filename":"image_21022025_21_52_46_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75ce6ae46f1a1da70a21fa64d2bf5b82.jpg","text":"TemporaryFile(/tmp/multipartBody6913587374718879306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171273160,"filename":"image_21022025_21_53_07_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338918455","file1":"1338918453","file0":"1338918442"},"map_files_photo_id_array":[{"photo_id":"1338918455","filename":"file2"},{"photo_id":"1338918453","filename":"file1"},{"photo_id":"1338918442","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338918455":["hashtag1","hashtag2"]},{"1338918442":["hashtag1","hashtag2"]},{"1338918453":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338918455, 1338918442, 1338918453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.65128231048584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:54:03.643345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/47/image_20022025_21_47_36_9328.jpg', '/home/pi/Desktop/images/20022025/21/47/image_20022025_21_47_46_10329.jpg', '/home/pi/Desktop/images/20022025/21/47/image_20022025_21_47_56_9378.jpg', '/home/pi/Desktop/images/20022025/21/47/image_20022025_21_48_06_10331.jpg', '/home/pi/Desktop/images/20022025/21/48/image_20022025_21_48_26_9327.jpg', '/home/pi/Desktop/images/20022025/21/48/image_20022025_21_48_46_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/47/image_20022025_21_47_36_9328.jpg
/home/pi/Desktop/images/20022025/21/47/image_20022025_21_47_46_10329.jpg
/home/pi/Desktop/images/20022025/21/47/image_20022025_21_47_56_9378.jpg
/home/pi/Desktop/images/20022025/21/47/image_20022025_21_48_06_10331.jpg
/home/pi/Desktop/images/20022025/21/48/image_20022025_21_48_26_9327.jpg
/home/pi/Desktop/images/20022025/21/48/image_20022025_21_48_46_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338918510","1338918470","1338918551","1338918668","1338918608","1338918460"],"photo_ids_order":["1338918460","1338918470","1338918510","1338918551","1338918608","1338918668"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/24c86716191aa18930db2ba50b209762.jpg","text":"TemporaryFile(/tmp/multipartBody2175243622148560962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171305083,"filename":"image_20022025_21_47_56_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6721fc5c0a5c5e3b379270b00abce989.jpg","text":"TemporaryFile(/tmp/multipartBody331981523441892593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171305083,"filename":"image_20022025_21_47_46_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/51e78fb5a55c6b22dc3adbdd1254c2a3.jpg","text":"TemporaryFile(/tmp/multipartBody8119457138962168175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171305083,"filename":"image_20022025_21_48_06_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/95f06b60a0ea7ec4046ace8a81fe3187.jpg","text":"TemporaryFile(/tmp/multipartBody689068662225038568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171305083,"filename":"image_20022025_21_48_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1d8e4ce6cb16ebebea0a484ec8ea3b5.jpg","text":"TemporaryFile(/tmp/multipartBody5280911986068517547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171305083,"filename":"image_20022025_21_48_26_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a0241acbb62d52c248d80c2c39424a0.jpg","text":"TemporaryFile(/tmp/multipartBody5172858426639948883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171305083,"filename":"image_20022025_21_47_36_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338918510","file1":"1338918470","file0":"1338918460","file4":"1338918608","file5":"1338918668","file3":"1338918551"},"map_files_photo_id_array":[{"photo_id":"1338918668","filename":"file5"},{"photo_id":"1338918510","filename":"file2"},{"photo_id":"1338918608","filename":"file4"},{"photo_id":"1338918470","filename":"file1"},{"photo_id":"1338918460","filename":"file0"},{"photo_id":"1338918551","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338918510":["hashtag1","hashtag2"]},{"1338918470":["hashtag1","hashtag2"]},{"1338918551":["hashtag1","hashtag2"]},{"1338918668":["hashtag1","hashtag2"]},{"1338918608":["hashtag1","hashtag2"]},{"1338918460":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338918510, 1338918470, 1338918551, 1338918668, 1338918608, 1338918460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.532729387283325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:54:52.933397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/53/image_21022025_21_53_46_10411.jpg', '/home/pi/Desktop/images/21022025/21/54/image_21022025_21_54_26_9345.jpg', '/home/pi/Desktop/images/21022025/21/54/image_21022025_21_54_36_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/53/image_21022025_21_53_46_10411.jpg
/home/pi/Desktop/images/21022025/21/54/image_21022025_21_54_26_9345.jpg
/home/pi/Desktop/images/21022025/21/54/image_21022025_21_54_36_10366.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338918720","1338918698","1338918696"],"photo_ids_order":["1338918696","1338918698","1338918720"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2982f94a442ea3a293b39c78eced4de.jpg","text":"TemporaryFile(/tmp/multipartBody3701536847696581257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171353369,"filename":"image_21022025_21_54_36_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/04874d39a358ca5c2ceb3a3d9a2a8cbf.jpg","text":"TemporaryFile(/tmp/multipartBody3054973350293950857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171353369,"filename":"image_21022025_21_54_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6b074f4e0f9594f73008e7384be4cf72.jpg","text":"TemporaryFile(/tmp/multipartBody2032556017611900030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171353369,"filename":"image_21022025_21_53_46_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338918720","file1":"1338918698","file0":"1338918696"},"map_files_photo_id_array":[{"photo_id":"1338918720","filename":"file2"},{"photo_id":"1338918698","filename":"file1"},{"photo_id":"1338918696","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338918720":["hashtag1","hashtag2"]},{"1338918698":["hashtag1","hashtag2"]},{"1338918696":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338918720, 1338918698, 1338918696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.873443365097046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 21:55:33.175879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/54/image_21022025_21_54_56_9349.jpg', '/home/pi/Desktop/images/21022025/21/55/image_21022025_21_55_26_9347.jpg', '/home/pi/Desktop/images/21022025/21/55/image_21022025_21_55_37_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/54/image_21022025_21_54_56_9349.jpg
/home/pi/Desktop/images/21022025/21/55/image_21022025_21_55_26_9347.jpg
/home/pi/Desktop/images/21022025/21/55/image_21022025_21_55_37_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338919196","1338919246","1338919275"],"photo_ids_order":["1338919196","1338919246","1338919275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/56dcf5a79fdcc7819c4160843cb502b4.jpg","text":"TemporaryFile(/tmp/multipartBody5190267417397674426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171393607,"filename":"image_21022025_21_54_56_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5bf3f6836ddecf180864fe57adc42a84.jpg","text":"TemporaryFile(/tmp/multipartBody4849432773708265213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171393607,"filename":"image_21022025_21_55_26_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c8824917fed7d86e8526d812d2ed67a1.jpg","text":"TemporaryFile(/tmp/multipartBody172391388270133390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171393607,"filename":"image_21022025_21_55_37_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338919275","file1":"1338919246","file0":"1338919196"},"map_files_photo_id_array":[{"photo_id":"1338919275","filename":"file2"},{"photo_id":"1338919246","filename":"file1"},{"photo_id":"1338919196","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338919196":["hashtag1","hashtag2"]},{"1338919246":["hashtag1","hashtag2"]},{"1338919275":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338919196, 1338919246, 1338919275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 26.082902669906616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:56:03.072504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/48/image_20022025_21_48_56_9337.jpg', '/home/pi/Desktop/images/20022025/21/48/image_20022025_21_49_06_10382.jpg', '/home/pi/Desktop/images/20022025/21/49/image_20022025_21_49_16_10345.jpg', '/home/pi/Desktop/images/20022025/21/49/image_20022025_21_49_26_9425.jpg', '/home/pi/Desktop/images/20022025/21/49/image_20022025_21_49_36_10368.jpg', '/home/pi/Desktop/images/20022025/21/49/image_20022025_21_49_46_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/48/image_20022025_21_48_56_9337.jpg
/home/pi/Desktop/images/20022025/21/48/image_20022025_21_49_06_10382.jpg
/home/pi/Desktop/images/20022025/21/49/image_20022025_21_49_16_10345.jpg
/home/pi/Desktop/images/20022025/21/49/image_20022025_21_49_26_9425.jpg
/home/pi/Desktop/images/20022025/21/49/image_20022025_21_49_36_10368.jpg
/home/pi/Desktop/images/20022025/21/49/image_20022025_21_49_46_9380.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338919769","1338919544","1338919765","1338919735","1338919596","1338919488"],"photo_ids_order":["1338919488","1338919544","1338919596","1338919735","1338919765","1338919769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f198176655dc398e6787943a07ba1dd0.jpg","text":"TemporaryFile(/tmp/multipartBody8352436877913204559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171424488,"filename":"image_20022025_21_49_46_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a91c2db2e318f017d5f6d131ab8f4ca5.jpg","text":"TemporaryFile(/tmp/multipartBody4835114077251606428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171424488,"filename":"image_20022025_21_49_06_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8a3f3e54774b993b15fe2d1cfb4b16a7.jpg","text":"TemporaryFile(/tmp/multipartBody9059020387248899432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171424488,"filename":"image_20022025_21_49_36_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/de7d2d52f5650f9b7425e5a563ec030c.jpg","text":"TemporaryFile(/tmp/multipartBody5773341413955845528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171424488,"filename":"image_20022025_21_49_26_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7212ff4761c087ce0487ff5be73e9bfb.jpg","text":"TemporaryFile(/tmp/multipartBody5827698888042522231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171424488,"filename":"image_20022025_21_49_16_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f90177b45492a46dacfecb1b0ae30d9f.jpg","text":"TemporaryFile(/tmp/multipartBody4156277687710856386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171424488,"filename":"image_20022025_21_48_56_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338919596","file1":"1338919544","file0":"1338919488","file4":"1338919765","file5":"1338919769","file3":"1338919735"},"map_files_photo_id_array":[{"photo_id":"1338919769","filename":"file5"},{"photo_id":"1338919596","filename":"file2"},{"photo_id":"1338919765","filename":"file4"},{"photo_id":"1338919544","filename":"file1"},{"photo_id":"1338919488","filename":"file0"},{"photo_id":"1338919735","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338919769":["hashtag1","hashtag2"]},{"1338919544":["hashtag1","hashtag2"]},{"1338919765":["hashtag1","hashtag2"]},{"1338919735":["hashtag1","hashtag2"]},{"1338919596":["hashtag1","hashtag2"]},{"1338919488":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338919769, 1338919544, 1338919765, 1338919735, 1338919596, 1338919488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13123273849487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:56:42.366072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/55/image_21022025_21_55_46_9440.jpg', '/home/pi/Desktop/images/21022025/21/56/image_21022025_21_56_27_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/55/image_21022025_21_55_46_9440.jpg
/home/pi/Desktop/images/21022025/21/56/image_21022025_21_56_27_10463.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338919775","1338919776"],"photo_ids_order":["1338919775","1338919776"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/42025dda3df13fd02f5a06bc3cfc029f.jpg","text":"TemporaryFile(/tmp/multipartBody7620442035932430988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171462787,"filename":"image_21022025_21_55_46_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/027480ef54d60e98ae6fec510b70ea32.jpg","text":"TemporaryFile(/tmp/multipartBody2712097025113600395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171462787,"filename":"image_21022025_21_56_27_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338919776","file0":"1338919775"},"map_files_photo_id_array":[{"photo_id":"1338919776","filename":"file1"},{"photo_id":"1338919775","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338919775":["hashtag1","hashtag2"]},{"1338919776":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338919775, 1338919776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.546176671981812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:57:04.249790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/49/image_20022025_21_50_06_10344.jpg', '/home/pi/Desktop/images/20022025/21/50/image_20022025_21_50_16_9426.jpg', '/home/pi/Desktop/images/20022025/21/50/image_20022025_21_50_26_10359.jpg', '/home/pi/Desktop/images/20022025/21/50/image_20022025_21_50_46_10409.jpg', '/home/pi/Desktop/images/20022025/21/50/image_20022025_21_50_56_10347.jpg', '/home/pi/Desktop/images/20022025/21/50/image_20022025_21_51_06_9434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/49/image_20022025_21_50_06_10344.jpg
/home/pi/Desktop/images/20022025/21/50/image_20022025_21_50_16_9426.jpg
/home/pi/Desktop/images/20022025/21/50/image_20022025_21_50_26_10359.jpg
/home/pi/Desktop/images/20022025/21/50/image_20022025_21_50_46_10409.jpg
/home/pi/Desktop/images/20022025/21/50/image_20022025_21_50_56_10347.jpg
/home/pi/Desktop/images/20022025/21/50/image_20022025_21_51_06_9434.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338919790","1338919784","1338919803","1338919793","1338919788","1338919782"],"photo_ids_order":["1338919782","1338919784","1338919788","1338919790","1338919793","1338919803"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/22a400c121b815a2825f3249424586d7.jpg","text":"TemporaryFile(/tmp/multipartBody7923584656267038125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171485951,"filename":"image_20022025_21_50_46_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/17f8c7f7067c3f76e77a6581094d6760.jpg","text":"TemporaryFile(/tmp/multipartBody191254300528510171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171485951,"filename":"image_20022025_21_50_16_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b5e2642bb8797a798a2fde0ae945665.jpg","text":"TemporaryFile(/tmp/multipartBody6697918243291236859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171485951,"filename":"image_20022025_21_51_06_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8ba54dc3845dc8509b9e8cbcc6ce07a6.jpg","text":"TemporaryFile(/tmp/multipartBody614197996087696422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171485951,"filename":"image_20022025_21_50_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/924257ecfc9bff11e200f2d2afc99bd6.jpg","text":"TemporaryFile(/tmp/multipartBody7258198007463063993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171485951,"filename":"image_20022025_21_50_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4c6047cd17b6a2c6fcd71e9c92fb13dc.jpg","text":"TemporaryFile(/tmp/multipartBody2750417086589737073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171485951,"filename":"image_20022025_21_50_06_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338919788","file1":"1338919784","file0":"1338919782","file4":"1338919793","file5":"1338919803","file3":"1338919790"},"map_files_photo_id_array":[{"photo_id":"1338919803","filename":"file5"},{"photo_id":"1338919788","filename":"file2"},{"photo_id":"1338919793","filename":"file4"},{"photo_id":"1338919784","filename":"file1"},{"photo_id":"1338919782","filename":"file0"},{"photo_id":"1338919790","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338919790":["hashtag1","hashtag2"]},{"1338919784":["hashtag1","hashtag2"]},{"1338919803":["hashtag1","hashtag2"]},{"1338919793":["hashtag1","hashtag2"]},{"1338919788":["hashtag1","hashtag2"]},{"1338919782":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338919790, 1338919784, 1338919803, 1338919793, 1338919788, 1338919782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55235838890076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:57:42.619064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/56/image_21022025_21_56_36_9328.jpg', '/home/pi/Desktop/images/21022025/21/56/image_21022025_21_57_06_10353.jpg', '/home/pi/Desktop/images/21022025/21/57/image_21022025_21_57_26_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/56/image_21022025_21_56_36_9328.jpg
/home/pi/Desktop/images/21022025/21/56/image_21022025_21_57_06_10353.jpg
/home/pi/Desktop/images/21022025/21/57/image_21022025_21_57_26_9338.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:59:03.912593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/56/image_21022025_21_56_36_9328.jpg', '/home/pi/Desktop/images/21022025/21/56/image_21022025_21_57_06_10353.jpg', '/home/pi/Desktop/images/21022025/21/57/image_21022025_21_57_26_9338.jpg', '/home/pi/Desktop/images/21022025/21/57/image_21022025_21_57_37_10420.jpg', '/home/pi/Desktop/images/21022025/21/57/image_21022025_21_58_07_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/56/image_21022025_21_56_36_9328.jpg
/home/pi/Desktop/images/21022025/21/56/image_21022025_21_57_06_10353.jpg
/home/pi/Desktop/images/21022025/21/57/image_21022025_21_57_26_9338.jpg
/home/pi/Desktop/images/21022025/21/57/image_21022025_21_57_37_10420.jpg
/home/pi/Desktop/images/21022025/21/57/image_21022025_21_58_07_10343.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338920310","1338920307","1338920324","1338920321","1338920315"],"photo_ids_order":["1338920307","1338920310","1338920315","1338920321","1338920324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75ae8c04daf75f3616f473cb18e51334.jpg","text":"TemporaryFile(/tmp/multipartBody743596627971400051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171604487,"filename":"image_21022025_21_57_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c0da186a70fc3edba38afecdde3b3e6c.jpg","text":"TemporaryFile(/tmp/multipartBody5000586562616278617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171604487,"filename":"image_21022025_21_56_36_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ebbd756da9055c6e5847b83e71c0c7ae.jpg","text":"TemporaryFile(/tmp/multipartBody5452687492301464412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171604487,"filename":"image_21022025_21_58_07_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dd75e377494c0f06777606cbbaf6d54a.jpg","text":"TemporaryFile(/tmp/multipartBody8509740280782858724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171604487,"filename":"image_21022025_21_57_37_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/44c4be5a68b2287ee00e299c8f50028c.jpg","text":"TemporaryFile(/tmp/multipartBody6493910547284427844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171604487,"filename":"image_21022025_21_57_26_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338920315","file1":"1338920310","file0":"1338920307","file4":"1338920324","file3":"1338920321"},"map_files_photo_id_array":[{"photo_id":"1338920315","filename":"file2"},{"photo_id":"1338920324","filename":"file4"},{"photo_id":"1338920310","filename":"file1"},{"photo_id":"1338920307","filename":"file0"},{"photo_id":"1338920321","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338920310":["hashtag1","hashtag2"]},{"1338920307":["hashtag1","hashtag2"]},{"1338920324":["hashtag1","hashtag2"]},{"1338920321":["hashtag1","hashtag2"]},{"1338920315":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338920310, 1338920307, 1338920324, 1338920321, 1338920315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.171130418777466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 21:59:42.388366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/58/image_21022025_21_58_37_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/58/image_21022025_21_58_37_10426.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338920329"],"photo_id":"1338920329","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/19b19ed3c2a7a1bb4d57e0c82f8df7e6.jpg","text":"TemporaryFile(/tmp/multipartBody2297978359826047835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171642799,"filename":"image_21022025_21_58_37_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338920329"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338920329"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.289347648620605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:00:03.348485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/51/image_20022025_21_51_16_10318.jpg', '/home/pi/Desktop/images/20022025/21/51/image_20022025_21_51_36_9378.jpg', '/home/pi/Desktop/images/20022025/21/51/image_20022025_21_52_06_10338.jpg', '/home/pi/Desktop/images/20022025/21/52/image_20022025_21_52_26_9393.jpg', '/home/pi/Desktop/images/20022025/21/52/image_20022025_21_52_46_10379.jpg', '/home/pi/Desktop/images/20022025/21/52/image_20022025_21_52_56_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/51/image_20022025_21_51_16_10318.jpg
/home/pi/Desktop/images/20022025/21/51/image_20022025_21_51_36_9378.jpg
/home/pi/Desktop/images/20022025/21/51/image_20022025_21_52_06_10338.jpg
/home/pi/Desktop/images/20022025/21/52/image_20022025_21_52_26_9393.jpg
/home/pi/Desktop/images/20022025/21/52/image_20022025_21_52_46_10379.jpg
/home/pi/Desktop/images/20022025/21/52/image_20022025_21_52_56_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338920399","1338920393","1338920468","1338920396","1338920459","1338920446"],"photo_ids_order":["1338920393","1338920396","1338920399","1338920446","1338920459","1338920468"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e7bc71f83b127d68fe72c658e125d30.jpg","text":"TemporaryFile(/tmp/multipartBody6012652613384302684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171670196,"filename":"image_20022025_21_52_06_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f48289e7909c6007f874cef6f7168751.jpg","text":"TemporaryFile(/tmp/multipartBody3628980368667208318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171670196,"filename":"image_20022025_21_51_16_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9395672b8bc3058391ac4ee34714e662.jpg","text":"TemporaryFile(/tmp/multipartBody4474994805298204738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171670196,"filename":"image_20022025_21_52_56_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ac852ce4f65f487da653e8bc60c72e8.jpg","text":"TemporaryFile(/tmp/multipartBody8703708043184986193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171670196,"filename":"image_20022025_21_51_36_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e338225f72c3a754eeba2990664f645f.jpg","text":"TemporaryFile(/tmp/multipartBody8647525935792140518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171670196,"filename":"image_20022025_21_52_46_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/01c3e1b69559eee70ee53aabab033be0.jpg","text":"TemporaryFile(/tmp/multipartBody2454608853633779769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171670196,"filename":"image_20022025_21_52_26_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338920399","file1":"1338920396","file0":"1338920393","file4":"1338920459","file5":"1338920468","file3":"1338920446"},"map_files_photo_id_array":[{"photo_id":"1338920468","filename":"file5"},{"photo_id":"1338920399","filename":"file2"},{"photo_id":"1338920459","filename":"file4"},{"photo_id":"1338920396","filename":"file1"},{"photo_id":"1338920393","filename":"file0"},{"photo_id":"1338920446","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338920399":["hashtag1","hashtag2"]},{"1338920393":["hashtag1","hashtag2"]},{"1338920468":["hashtag1","hashtag2"]},{"1338920396":["hashtag1","hashtag2"]},{"1338920459":["hashtag1","hashtag2"]},{"1338920446":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338920399, 1338920393, 1338920468, 1338920396, 1338920459, 1338920446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.46374750137329 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:00:52.723182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/53/image_20022025_21_53_16_10332.jpg', '/home/pi/Desktop/images/20022025/21/53/image_20022025_21_53_36_10428.jpg', '/home/pi/Desktop/images/20022025/21/53/image_20022025_21_53_46_9405.jpg', '/home/pi/Desktop/images/20022025/21/54/image_20022025_21_54_26_10340.jpg', '/home/pi/Desktop/images/20022025/21/54/image_20022025_21_54_36_10351.jpg', '/home/pi/Desktop/images/20022025/21/54/image_20022025_21_54_46_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/53/image_20022025_21_53_16_10332.jpg
/home/pi/Desktop/images/20022025/21/53/image_20022025_21_53_36_10428.jpg
/home/pi/Desktop/images/20022025/21/53/image_20022025_21_53_46_9405.jpg
/home/pi/Desktop/images/20022025/21/54/image_20022025_21_54_26_10340.jpg
/home/pi/Desktop/images/20022025/21/54/image_20022025_21_54_36_10351.jpg
/home/pi/Desktop/images/20022025/21/54/image_20022025_21_54_46_9413.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338920498","1338920492","1338920495","1338920489","1338920485","1338920487"],"photo_ids_order":["1338920485","1338920487","1338920489","1338920492","1338920495","1338920498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ff16656029b8bb7e2ecf796d0f0a0e5.jpg","text":"TemporaryFile(/tmp/multipartBody1689094182650748006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171714841,"filename":"image_20022025_21_54_46_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90c1a41f21e2ec8acb519168c30912b9.jpg","text":"TemporaryFile(/tmp/multipartBody8295551139060487378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171714841,"filename":"image_20022025_21_54_26_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1fb15230795334e6d0fd5ad3b4730cb2.jpg","text":"TemporaryFile(/tmp/multipartBody1550601941283057775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171714841,"filename":"image_20022025_21_54_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d894033da31e7627c0c4eca559e2112d.jpg","text":"TemporaryFile(/tmp/multipartBody5477433764886058965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171714841,"filename":"image_20022025_21_53_46_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f25b561737ce22b3e931311fbe032ba5.jpg","text":"TemporaryFile(/tmp/multipartBody668350418696569835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171714841,"filename":"image_20022025_21_53_16_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ab758d25f449ea935093fea709bd98ca.jpg","text":"TemporaryFile(/tmp/multipartBody1235354600716389898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171714841,"filename":"image_20022025_21_53_36_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338920489","file1":"1338920487","file0":"1338920485","file4":"1338920495","file5":"1338920498","file3":"1338920492"},"map_files_photo_id_array":[{"photo_id":"1338920498","filename":"file5"},{"photo_id":"1338920489","filename":"file2"},{"photo_id":"1338920495","filename":"file4"},{"photo_id":"1338920487","filename":"file1"},{"photo_id":"1338920485","filename":"file0"},{"photo_id":"1338920492","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338920498":["hashtag1","hashtag2"]},{"1338920492":["hashtag1","hashtag2"]},{"1338920495":["hashtag1","hashtag2"]},{"1338920489":["hashtag1","hashtag2"]},{"1338920485":["hashtag1","hashtag2"]},{"1338920487":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338920498, 1338920492, 1338920495, 1338920489, 1338920485, 1338920487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74981141090393 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:01:32.961478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/54/image_20022025_21_55_06_9525.jpg', '/home/pi/Desktop/images/20022025/21/55/image_20022025_21_55_16_10338.jpg', '/home/pi/Desktop/images/20022025/21/55/image_20022025_21_55_26_10337.jpg', '/home/pi/Desktop/images/20022025/21/55/image_20022025_21_55_36_9336.jpg', '/home/pi/Desktop/images/20022025/21/55/image_20022025_21_55_46_10323.jpg', '/home/pi/Desktop/images/20022025/21/56/image_20022025_21_56_16_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/54/image_20022025_21_55_06_9525.jpg
/home/pi/Desktop/images/20022025/21/55/image_20022025_21_55_16_10338.jpg
/home/pi/Desktop/images/20022025/21/55/image_20022025_21_55_26_10337.jpg
/home/pi/Desktop/images/20022025/21/55/image_20022025_21_55_36_9336.jpg
/home/pi/Desktop/images/20022025/21/55/image_20022025_21_55_46_10323.jpg
/home/pi/Desktop/images/20022025/21/56/image_20022025_21_56_16_10325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338920523","1338920508","1338920510","1338920515","1338920512","1338920506"],"photo_ids_order":["1338920506","1338920508","1338920510","1338920512","1338920515","1338920523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/01aa5b27162c6dc3c1ee5f31f099503e.jpg","text":"TemporaryFile(/tmp/multipartBody4124257527470561611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171755075,"filename":"image_20022025_21_56_16_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f5f43269b73996a9029d73c04f1d1cc2.jpg","text":"TemporaryFile(/tmp/multipartBody4433531317072605822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171755075,"filename":"image_20022025_21_55_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/94f729129f6538ffaf627381ac9c6d1f.jpg","text":"TemporaryFile(/tmp/multipartBody1387856784279983907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171755075,"filename":"image_20022025_21_55_26_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f12e8e1607598b1fa2793be01b8b93fa.jpg","text":"TemporaryFile(/tmp/multipartBody2541794318374164461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171755075,"filename":"image_20022025_21_55_46_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/afa262c4641fc0d4260742125d43cc7e.jpg","text":"TemporaryFile(/tmp/multipartBody1834792026392236241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171755075,"filename":"image_20022025_21_55_36_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2e3f77ab9e2e7cbcfa4f928bfa6b58b8.jpg","text":"TemporaryFile(/tmp/multipartBody4860096729798730470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171755075,"filename":"image_20022025_21_55_06_9525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338920510","file1":"1338920508","file0":"1338920506","file4":"1338920515","file5":"1338920523","file3":"1338920512"},"map_files_photo_id_array":[{"photo_id":"1338920523","filename":"file5"},{"photo_id":"1338920510","filename":"file2"},{"photo_id":"1338920515","filename":"file4"},{"photo_id":"1338920508","filename":"file1"},{"photo_id":"1338920506","filename":"file0"},{"photo_id":"1338920512","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338920523":["hashtag1","hashtag2"]},{"1338920508":["hashtag1","hashtag2"]},{"1338920510":["hashtag1","hashtag2"]},{"1338920515":["hashtag1","hashtag2"]},{"1338920512":["hashtag1","hashtag2"]},{"1338920506":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338920523, 1338920508, 1338920510, 1338920515, 1338920512, 1338920506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09809899330139 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:02:32.132573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/21/58/image_21022025_21_59_06_9409.jpg', '/home/pi/Desktop/images/21022025/22/02/image_21022025_22_02_16_10351.jpg', '/home/pi/Desktop/images/21022025/22/02/image_21022025_22_02_25_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/21/58/image_21022025_21_59_06_9409.jpg
/home/pi/Desktop/images/21022025/22/02/image_21022025_22_02_16_10351.jpg
/home/pi/Desktop/images/21022025/22/02/image_21022025_22_02_25_9438.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338920907","1338920876","1338920893"],"photo_ids_order":["1338920876","1338920893","1338920907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/00caf6f3fdc037cc51b5321a2ea5b60a.jpg","text":"TemporaryFile(/tmp/multipartBody7927828467687728576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171812567,"filename":"image_21022025_22_02_25_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/88e4bae4ac496c09a65b2922720b7fab.jpg","text":"TemporaryFile(/tmp/multipartBody9099420944037315067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171812567,"filename":"image_21022025_21_59_06_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7a41ea9fdc228d8f1bb70cbe966ef77.jpg","text":"TemporaryFile(/tmp/multipartBody6306260471332737805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171812567,"filename":"image_21022025_22_02_16_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338920907","file1":"1338920893","file0":"1338920876"},"map_files_photo_id_array":[{"photo_id":"1338920907","filename":"file2"},{"photo_id":"1338920893","filename":"file1"},{"photo_id":"1338920876","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338920907":["hashtag1","hashtag2"]},{"1338920876":["hashtag1","hashtag2"]},{"1338920893":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338920907, 1338920876, 1338920893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.7313392162323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:02:52.070007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/56/image_20022025_21_56_36_9333.jpg', '/home/pi/Desktop/images/20022025/21/56/image_20022025_21_56_56_10418.jpg', '/home/pi/Desktop/images/20022025/21/56/image_20022025_21_57_06_9408.jpg', '/home/pi/Desktop/images/20022025/21/57/image_20022025_21_57_16_10387.jpg', '/home/pi/Desktop/images/20022025/21/57/image_20022025_21_57_36_10339.jpg', '/home/pi/Desktop/images/20022025/21/57/image_20022025_21_58_06_10320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/56/image_20022025_21_56_36_9333.jpg
/home/pi/Desktop/images/20022025/21/56/image_20022025_21_56_56_10418.jpg
/home/pi/Desktop/images/20022025/21/56/image_20022025_21_57_06_9408.jpg
/home/pi/Desktop/images/20022025/21/57/image_20022025_21_57_16_10387.jpg
/home/pi/Desktop/images/20022025/21/57/image_20022025_21_57_36_10339.jpg
/home/pi/Desktop/images/20022025/21/57/image_20022025_21_58_06_10320.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338920942","1338920924","1338920933","1338920935","1338920938","1338920947"],"photo_ids_order":["1338920924","1338920933","1338920935","1338920938","1338920942","1338920947"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7bb1b1a2b4110f52099ff5c00816b25f.jpg","text":"TemporaryFile(/tmp/multipartBody8306438515165250483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171834180,"filename":"image_20022025_21_57_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2815dd31df49c1d77c8de62a92baefba.jpg","text":"TemporaryFile(/tmp/multipartBody1190810575307402014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171834180,"filename":"image_20022025_21_56_36_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4008b66eca17c2ab482dd472040dabe8.jpg","text":"TemporaryFile(/tmp/multipartBody4619976582894114556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171834180,"filename":"image_20022025_21_56_56_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1c52f3261055bebe565a36b0f40f4601.jpg","text":"TemporaryFile(/tmp/multipartBody3610624763706854678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171834180,"filename":"image_20022025_21_57_06_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c6b804ab91853b31965ba5218f8e81f9.jpg","text":"TemporaryFile(/tmp/multipartBody8427270158784318414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171834180,"filename":"image_20022025_21_57_16_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/35927cc0c404676350b44c57df8cf63f.jpg","text":"TemporaryFile(/tmp/multipartBody1367827985205720022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171834180,"filename":"image_20022025_21_58_06_10320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338920935","file1":"1338920933","file0":"1338920924","file4":"1338920942","file5":"1338920947","file3":"1338920938"},"map_files_photo_id_array":[{"photo_id":"1338920947","filename":"file5"},{"photo_id":"1338920935","filename":"file2"},{"photo_id":"1338920942","filename":"file4"},{"photo_id":"1338920933","filename":"file1"},{"photo_id":"1338920924","filename":"file0"},{"photo_id":"1338920938","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338920942":["hashtag1","hashtag2"]},{"1338920924":["hashtag1","hashtag2"]},{"1338920933":["hashtag1","hashtag2"]},{"1338920935":["hashtag1","hashtag2"]},{"1338920938":["hashtag1","hashtag2"]},{"1338920947":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338920942, 1338920924, 1338920933, 1338920935, 1338920938, 1338920947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96337080001831 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:03:32.263746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/02/image_21022025_22_02_46_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/02/image_21022025_22_02_46_10351.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338920955"],"photo_id":"1338920955","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eecfe45787493e72fef8df1696060237.jpg","text":"TemporaryFile(/tmp/multipartBody539738764869554467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171872682,"filename":"image_21022025_22_02_46_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338920955"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338920955"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.889278650283813 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:03:52.394566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/58/image_20022025_21_58_16_10410.jpg', '/home/pi/Desktop/images/20022025/21/58/image_20022025_21_58_36_10378.jpg', '/home/pi/Desktop/images/20022025/21/58/image_20022025_21_58_47_10398.jpg', '/home/pi/Desktop/images/20022025/21/58/image_20022025_21_58_56_9367.jpg', '/home/pi/Desktop/images/20022025/21/58/image_20022025_21_59_06_10329.jpg', '/home/pi/Desktop/images/20022025/21/59/image_20022025_21_59_16_9323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/58/image_20022025_21_58_16_10410.jpg
/home/pi/Desktop/images/20022025/21/58/image_20022025_21_58_36_10378.jpg
/home/pi/Desktop/images/20022025/21/58/image_20022025_21_58_47_10398.jpg
/home/pi/Desktop/images/20022025/21/58/image_20022025_21_58_56_9367.jpg
/home/pi/Desktop/images/20022025/21/58/image_20022025_21_59_06_10329.jpg
/home/pi/Desktop/images/20022025/21/59/image_20022025_21_59_16_9323.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921012","1338920993","1338920990","1338921007","1338921000","1338920988"],"photo_ids_order":["1338920988","1338920990","1338920993","1338921000","1338921007","1338921012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/874fbb972e4a7235604f696b15ed7e6d.jpg","text":"TemporaryFile(/tmp/multipartBody540839245156601945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171894513,"filename":"image_20022025_21_59_16_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/66fae9c19aa56f20409c41aa02c504cf.jpg","text":"TemporaryFile(/tmp/multipartBody228675927157232652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171894513,"filename":"image_20022025_21_58_47_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0d76eb7b52bcd1b649d54e295f2605bf.jpg","text":"TemporaryFile(/tmp/multipartBody3581046235058894156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171894513,"filename":"image_20022025_21_58_36_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0468c1d12c8ae4417a0d929d81cf96ce.jpg","text":"TemporaryFile(/tmp/multipartBody4792287088069682712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171894513,"filename":"image_20022025_21_59_06_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/49e3a3bb59c89188482b9f7b51ab08c0.jpg","text":"TemporaryFile(/tmp/multipartBody8611724429843820942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171894513,"filename":"image_20022025_21_58_56_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7cb7ff835fd0b2b369ee2311f8faee6a.jpg","text":"TemporaryFile(/tmp/multipartBody1400036421696462530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171894513,"filename":"image_20022025_21_58_16_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338920993","file1":"1338920990","file0":"1338920988","file4":"1338921007","file5":"1338921012","file3":"1338921000"},"map_files_photo_id_array":[{"photo_id":"1338921012","filename":"file5"},{"photo_id":"1338920993","filename":"file2"},{"photo_id":"1338921007","filename":"file4"},{"photo_id":"1338920990","filename":"file1"},{"photo_id":"1338920988","filename":"file0"},{"photo_id":"1338921000","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338921012":["hashtag1","hashtag2"]},{"1338920993":["hashtag1","hashtag2"]},{"1338920990":["hashtag1","hashtag2"]},{"1338921007":["hashtag1","hashtag2"]},{"1338921000":["hashtag1","hashtag2"]},{"1338920988":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338921012, 1338920993, 1338920990, 1338921007, 1338921000, 1338920988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22355890274048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:04:32.614206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/03/image_21022025_22_03_46_10383.jpg', '/home/pi/Desktop/images/21022025/22/04/image_21022025_22_04_16_10386.jpg', '/home/pi/Desktop/images/21022025/22/04/image_21022025_22_04_26_9414.jpg', '/home/pi/Desktop/images/21022025/22/04/image_21022025_22_04_36_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/03/image_21022025_22_03_46_10383.jpg
/home/pi/Desktop/images/21022025/22/04/image_21022025_22_04_16_10386.jpg
/home/pi/Desktop/images/21022025/22/04/image_21022025_22_04_26_9414.jpg
/home/pi/Desktop/images/21022025/22/04/image_21022025_22_04_36_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921020","1338921016","1338921025","1338921027"],"photo_ids_order":["1338921016","1338921020","1338921025","1338921027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/20117e437a500cd07b5e68e194e59eb1.jpg","text":"TemporaryFile(/tmp/multipartBody777811936815326566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171933066,"filename":"image_21022025_22_04_16_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c4a7a299816e85ecd6d743e40ee39289.jpg","text":"TemporaryFile(/tmp/multipartBody6125338040280539780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171933066,"filename":"image_21022025_22_03_46_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7fb5ce566354bd70fd74486173685658.jpg","text":"TemporaryFile(/tmp/multipartBody191082376451352712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171933066,"filename":"image_21022025_22_04_26_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62c5ed07b704658d2336bd14ec9cec63.jpg","text":"TemporaryFile(/tmp/multipartBody5755853708467005657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171933066,"filename":"image_21022025_22_04_36_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338921025","file1":"1338921020","file0":"1338921016","file3":"1338921027"},"map_files_photo_id_array":[{"photo_id":"1338921025","filename":"file2"},{"photo_id":"1338921020","filename":"file1"},{"photo_id":"1338921016","filename":"file0"},{"photo_id":"1338921027","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338921020":["hashtag1","hashtag2"]},{"1338921016":["hashtag1","hashtag2"]},{"1338921025":["hashtag1","hashtag2"]},{"1338921027":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338921020, 1338921016, 1338921025, 1338921027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.634111166000366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:05:04.410591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/21/59/image_20022025_21_59_36_10373.jpg', '/home/pi/Desktop/images/20022025/21/59/image_20022025_21_59_46_9394.jpg', '/home/pi/Desktop/images/20022025/21/59/image_20022025_21_59_56_10448.jpg', '/home/pi/Desktop/images/20022025/22/01/image_20022025_22_01_35_10484.jpg', '/home/pi/Desktop/images/20022025/22/01/image_20022025_22_01_44_9317.jpg', '/home/pi/Desktop/images/20022025/22/01/image_20022025_22_01_54_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/21/59/image_20022025_21_59_36_10373.jpg
/home/pi/Desktop/images/20022025/21/59/image_20022025_21_59_46_9394.jpg
/home/pi/Desktop/images/20022025/21/59/image_20022025_21_59_56_10448.jpg
/home/pi/Desktop/images/20022025/22/01/image_20022025_22_01_35_10484.jpg
/home/pi/Desktop/images/20022025/22/01/image_20022025_22_01_44_9317.jpg
/home/pi/Desktop/images/20022025/22/01/image_20022025_22_01_54_10362.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921080","1338921077","1338921050","1338921091","1338921055","1338921069"],"photo_ids_order":["1338921050","1338921055","1338921069","1338921077","1338921080","1338921091"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6cae5937b5a9804abea19668bbcb22b0.jpg","text":"TemporaryFile(/tmp/multipartBody6842173301260167926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171966149,"filename":"image_20022025_22_01_44_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74a18b1db99e8fd7bcf4f182dbccdd15.jpg","text":"TemporaryFile(/tmp/multipartBody2500667263819710831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171966149,"filename":"image_20022025_22_01_35_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2abf169a69386ddd580d95510459984c.jpg","text":"TemporaryFile(/tmp/multipartBody2579612475982942769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171966149,"filename":"image_20022025_21_59_36_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ddb8bc2d76a458252d66126044f4700.jpg","text":"TemporaryFile(/tmp/multipartBody6252510863834993654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171966149,"filename":"image_20022025_22_01_54_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/db0aca80bd1fbd49c6d99d6a21ada6cf.jpg","text":"TemporaryFile(/tmp/multipartBody3552048679388500498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171966149,"filename":"image_20022025_21_59_46_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/136652e2fa6d221bc5de5bf922e3b575.jpg","text":"TemporaryFile(/tmp/multipartBody6766225180099723855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740171966149,"filename":"image_20022025_21_59_56_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338921069","file1":"1338921055","file0":"1338921050","file4":"1338921080","file5":"1338921091","file3":"1338921077"},"map_files_photo_id_array":[{"photo_id":"1338921091","filename":"file5"},{"photo_id":"1338921069","filename":"file2"},{"photo_id":"1338921080","filename":"file4"},{"photo_id":"1338921055","filename":"file1"},{"photo_id":"1338921050","filename":"file0"},{"photo_id":"1338921077","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338921080":["hashtag1","hashtag2"]},{"1338921077":["hashtag1","hashtag2"]},{"1338921050":["hashtag1","hashtag2"]},{"1338921091":["hashtag1","hashtag2"]},{"1338921055":["hashtag1","hashtag2"]},{"1338921069":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338921080, 1338921077, 1338921050, 1338921091, 1338921055, 1338921069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.63066601753235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:05:42.974769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/04/image_21022025_22_04_56_10400.jpg', '/home/pi/Desktop/images/21022025/22/05/image_21022025_22_05_26_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/04/image_21022025_22_04_56_10400.jpg
/home/pi/Desktop/images/21022025/22/05/image_21022025_22_05_26_10423.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921117","1338921114"],"photo_ids_order":["1338921114","1338921117"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0ede2d445461af9ebe06fd194ef71da6.jpg","text":"TemporaryFile(/tmp/multipartBody4235949409543846379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172003394,"filename":"image_21022025_22_05_26_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a103aa88db2b8c2361bf82c0c94f1a1d.jpg","text":"TemporaryFile(/tmp/multipartBody754767817986368725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172003394,"filename":"image_21022025_22_04_56_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338921117","file0":"1338921114"},"map_files_photo_id_array":[{"photo_id":"1338921117","filename":"file1"},{"photo_id":"1338921114","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338921117":["hashtag1","hashtag2"]},{"1338921114":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338921117, 1338921114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.681892395019531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:06:03.891274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/01/image_20022025_22_02_05_10338.jpg', '/home/pi/Desktop/images/20022025/22/02/image_20022025_22_02_14_9346.jpg', '/home/pi/Desktop/images/20022025/22/02/image_20022025_22_02_24_10340.jpg', '/home/pi/Desktop/images/20022025/22/02/image_20022025_22_02_44_9333.jpg', '/home/pi/Desktop/images/20022025/22/02/image_20022025_22_02_54_10320.jpg', '/home/pi/Desktop/images/20022025/22/02/image_20022025_22_03_05_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/01/image_20022025_22_02_05_10338.jpg
/home/pi/Desktop/images/20022025/22/02/image_20022025_22_02_14_9346.jpg
/home/pi/Desktop/images/20022025/22/02/image_20022025_22_02_24_10340.jpg
/home/pi/Desktop/images/20022025/22/02/image_20022025_22_02_44_9333.jpg
/home/pi/Desktop/images/20022025/22/02/image_20022025_22_02_54_10320.jpg
/home/pi/Desktop/images/20022025/22/02/image_20022025_22_03_05_10403.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921210","1338921204","1338921217","1338921202","1338921153","1338921207"],"photo_ids_order":["1338921153","1338921202","1338921204","1338921207","1338921210","1338921217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cc00159012da898c6cf4b06a7a43a92a.jpg","text":"TemporaryFile(/tmp/multipartBody2972500201303747943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172025367,"filename":"image_20022025_22_02_54_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02ff308cacff4e57bb4a8ef03c71ca98.jpg","text":"TemporaryFile(/tmp/multipartBody6176238190257948194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172025367,"filename":"image_20022025_22_02_24_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3364f7e651f9a4e9f6af7a06a37efe45.jpg","text":"TemporaryFile(/tmp/multipartBody4607948645749533735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172025367,"filename":"image_20022025_22_03_05_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cca34221e2ae59bb19a1344a08824d55.jpg","text":"TemporaryFile(/tmp/multipartBody4409406998258597893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172025367,"filename":"image_20022025_22_02_14_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/630fd4d13166bc72a32bec438ef1c579.jpg","text":"TemporaryFile(/tmp/multipartBody517404768320848201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172025367,"filename":"image_20022025_22_02_05_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cee8298f519ec96bff80fec1eda72419.jpg","text":"TemporaryFile(/tmp/multipartBody981901222345177933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172025367,"filename":"image_20022025_22_02_44_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338921204","file1":"1338921202","file0":"1338921153","file4":"1338921210","file5":"1338921217","file3":"1338921207"},"map_files_photo_id_array":[{"photo_id":"1338921217","filename":"file5"},{"photo_id":"1338921204","filename":"file2"},{"photo_id":"1338921210","filename":"file4"},{"photo_id":"1338921202","filename":"file1"},{"photo_id":"1338921153","filename":"file0"},{"photo_id":"1338921207","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338921210":["hashtag1","hashtag2"]},{"1338921204":["hashtag1","hashtag2"]},{"1338921217":["hashtag1","hashtag2"]},{"1338921202":["hashtag1","hashtag2"]},{"1338921153":["hashtag1","hashtag2"]},{"1338921207":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338921210, 1338921204, 1338921217, 1338921202, 1338921153, 1338921207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.73378896713257 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:06:43.279613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/05/image_21022025_22_05_46_10369.jpg', '/home/pi/Desktop/images/21022025/22/06/image_21022025_22_06_26_10390.jpg', '/home/pi/Desktop/images/21022025/22/06/image_21022025_22_06_46_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/05/image_21022025_22_05_46_10369.jpg
/home/pi/Desktop/images/21022025/22/06/image_21022025_22_06_26_10390.jpg
/home/pi/Desktop/images/21022025/22/06/image_21022025_22_06_46_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921236","1338921237","1338921240"],"photo_ids_order":["1338921236","1338921237","1338921240"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4ebc904a874002db7108deaf7847054b.jpg","text":"TemporaryFile(/tmp/multipartBody8680907632849263556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172063782,"filename":"image_21022025_22_05_46_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac7ebb0d1d3d64212cfa3c3b5179ca53.jpg","text":"TemporaryFile(/tmp/multipartBody7698223981774083784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172063782,"filename":"image_21022025_22_06_26_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3812f8ad4752dc1749dd5cadde1ddfbe.jpg","text":"TemporaryFile(/tmp/multipartBody8012974565533433733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172063782,"filename":"image_21022025_22_06_46_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338921240","file1":"1338921237","file0":"1338921236"},"map_files_photo_id_array":[{"photo_id":"1338921240","filename":"file2"},{"photo_id":"1338921237","filename":"file1"},{"photo_id":"1338921236","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338921236":["hashtag1","hashtag2"]},{"1338921237":["hashtag1","hashtag2"]},{"1338921240":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338921236, 1338921237, 1338921240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.72053337097168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:07:32.415466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/06/image_21022025_22_06_55_9357.jpg', '/home/pi/Desktop/images/21022025/22/07/image_21022025_22_07_26_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/06/image_21022025_22_06_55_9357.jpg
/home/pi/Desktop/images/21022025/22/07/image_21022025_22_07_26_9356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921281","1338921277"],"photo_ids_order":["1338921277","1338921281"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5879436208e367fac6f1f707d3d8a5dc.jpg","text":"TemporaryFile(/tmp/multipartBody4131431389675646627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172112839,"filename":"image_21022025_22_07_26_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f2b6d053ee86d430905afcbaf0db4e6.jpg","text":"TemporaryFile(/tmp/multipartBody5903632373771116895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172112839,"filename":"image_21022025_22_06_55_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338921281","file0":"1338921277"},"map_files_photo_id_array":[{"photo_id":"1338921281","filename":"file1"},{"photo_id":"1338921277","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338921281":["hashtag1","hashtag2"]},{"1338921277":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338921281, 1338921277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.241264820098877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:07:52.401498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/03/image_20022025_22_03_14_9316.jpg', '/home/pi/Desktop/images/20022025/22/03/image_20022025_22_03_55_10380.jpg', '/home/pi/Desktop/images/20022025/22/03/image_20022025_22_04_04_9336.jpg', '/home/pi/Desktop/images/20022025/22/04/image_20022025_22_04_25_10471.jpg', '/home/pi/Desktop/images/20022025/22/04/image_20022025_22_04_34_9326.jpg', '/home/pi/Desktop/images/20022025/22/04/image_20022025_22_04_55_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/03/image_20022025_22_03_14_9316.jpg
/home/pi/Desktop/images/20022025/22/03/image_20022025_22_03_55_10380.jpg
/home/pi/Desktop/images/20022025/22/03/image_20022025_22_04_04_9336.jpg
/home/pi/Desktop/images/20022025/22/04/image_20022025_22_04_25_10471.jpg
/home/pi/Desktop/images/20022025/22/04/image_20022025_22_04_34_9326.jpg
/home/pi/Desktop/images/20022025/22/04/image_20022025_22_04_55_10353.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921329","1338921320","1338921307","1338921322","1338921318","1338921306"],"photo_ids_order":["1338921306","1338921307","1338921318","1338921320","1338921322","1338921329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c5ba17de47aa650571cf10124bb511c6.jpg","text":"TemporaryFile(/tmp/multipartBody5967800853661077124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172134515,"filename":"image_20022025_22_04_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/57297ea6dd363196edcc521e807b90df.jpg","text":"TemporaryFile(/tmp/multipartBody4077840177264153481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172134515,"filename":"image_20022025_22_04_25_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/01d15ccdb7249ca8f4df15dfbc45e808.jpg","text":"TemporaryFile(/tmp/multipartBody1460016496035618019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172134515,"filename":"image_20022025_22_03_55_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/108f112992b5cfb1ccda2060790a634e.jpg","text":"TemporaryFile(/tmp/multipartBody4748299814215197317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172134515,"filename":"image_20022025_22_04_34_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/67485fb14577bab1f2f2317daba71902.jpg","text":"TemporaryFile(/tmp/multipartBody8924375217504749478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172134515,"filename":"image_20022025_22_04_04_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/63d50b2b17977eafe708c330ab8db1d9.jpg","text":"TemporaryFile(/tmp/multipartBody7821790535460173576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172134515,"filename":"image_20022025_22_03_14_9316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338921318","file1":"1338921307","file0":"1338921306","file4":"1338921322","file5":"1338921329","file3":"1338921320"},"map_files_photo_id_array":[{"photo_id":"1338921329","filename":"file5"},{"photo_id":"1338921318","filename":"file2"},{"photo_id":"1338921322","filename":"file4"},{"photo_id":"1338921307","filename":"file1"},{"photo_id":"1338921306","filename":"file0"},{"photo_id":"1338921320","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338921329":["hashtag1","hashtag2"]},{"1338921320":["hashtag1","hashtag2"]},{"1338921307":["hashtag1","hashtag2"]},{"1338921322":["hashtag1","hashtag2"]},{"1338921318":["hashtag1","hashtag2"]},{"1338921306":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338921329, 1338921320, 1338921307, 1338921322, 1338921318, 1338921306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10580587387085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:08:32.609384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/07/image_21022025_22_07_45_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/07/image_21022025_22_07_45_9354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921452"],"photo_id":"1338921452","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2cca7692f7e989770c287229672a5de0.jpg","text":"TemporaryFile(/tmp/multipartBody1285012671743646848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172173021,"filename":"image_21022025_22_07_45_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338921452"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338921452"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.824191331863403 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:08:52.736049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/05/image_20022025_22_05_24_9378.jpg', '/home/pi/Desktop/images/20022025/22/05/image_20022025_22_05_54_9353.jpg', '/home/pi/Desktop/images/20022025/22/05/image_20022025_22_06_04_10331.jpg', '/home/pi/Desktop/images/20022025/22/06/image_20022025_22_06_15_10362.jpg', '/home/pi/Desktop/images/20022025/22/06/image_20022025_22_06_54_10324.jpg', '/home/pi/Desktop/images/20022025/22/07/image_20022025_22_07_24_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/05/image_20022025_22_05_24_9378.jpg
/home/pi/Desktop/images/20022025/22/05/image_20022025_22_05_54_9353.jpg
/home/pi/Desktop/images/20022025/22/05/image_20022025_22_06_04_10331.jpg
/home/pi/Desktop/images/20022025/22/06/image_20022025_22_06_15_10362.jpg
/home/pi/Desktop/images/20022025/22/06/image_20022025_22_06_54_10324.jpg
/home/pi/Desktop/images/20022025/22/07/image_20022025_22_07_24_9827.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921500","1338921487","1338921506","1338921498","1338921502","1338921486"],"photo_ids_order":["1338921486","1338921487","1338921498","1338921500","1338921502","1338921506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/88c83f9d499330fb46f7d594533f0564.jpg","text":"TemporaryFile(/tmp/multipartBody216876398454395431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172194869,"filename":"image_20022025_22_06_15_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dcaa91ee3f8b9043ace427ceaa27da42.jpg","text":"TemporaryFile(/tmp/multipartBody3966976016964093901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172194869,"filename":"image_20022025_22_05_54_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/632351c61c4ae64130a5ab6802f72956.jpg","text":"TemporaryFile(/tmp/multipartBody5816009994836434158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172194869,"filename":"image_20022025_22_07_24_9827.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1cb66ad40de207e4c311747b7eea5ea8.jpg","text":"TemporaryFile(/tmp/multipartBody7241252745515595762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172194869,"filename":"image_20022025_22_06_04_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/30e21e2f1aefc1244883ff61d49c909c.jpg","text":"TemporaryFile(/tmp/multipartBody1522014543180794253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172194869,"filename":"image_20022025_22_06_54_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3af6e2b3f60bed18dc95ff31c07c417b.jpg","text":"TemporaryFile(/tmp/multipartBody5153424420748915356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172194869,"filename":"image_20022025_22_05_24_9378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338921498","file1":"1338921487","file0":"1338921486","file4":"1338921502","file5":"1338921506","file3":"1338921500"},"map_files_photo_id_array":[{"photo_id":"1338921506","filename":"file5"},{"photo_id":"1338921498","filename":"file2"},{"photo_id":"1338921502","filename":"file4"},{"photo_id":"1338921487","filename":"file1"},{"photo_id":"1338921486","filename":"file0"},{"photo_id":"1338921500","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338921500":["hashtag1","hashtag2"]},{"1338921487":["hashtag1","hashtag2"]},{"1338921506":["hashtag1","hashtag2"]},{"1338921498":["hashtag1","hashtag2"]},{"1338921502":["hashtag1","hashtag2"]},{"1338921486":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338921500, 1338921487, 1338921506, 1338921498, 1338921502, 1338921486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8450825214386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:09:32.900252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/08/image_21022025_22_08_46_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/08/image_21022025_22_08_46_9435.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921520"],"photo_id":"1338921520","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b14ded1ab6f34d82766a5437fc5a7006.jpg","text":"TemporaryFile(/tmp/multipartBody7160382165784229979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172233310,"filename":"image_21022025_22_08_46_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338921520"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338921520"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.630649089813232 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:09:52.879744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/07/image_20022025_22_07_34_10481.jpg', '/home/pi/Desktop/images/20022025/22/08/image_20022025_22_08_14_9362.jpg', '/home/pi/Desktop/images/20022025/22/08/image_20022025_22_08_24_10339.jpg', '/home/pi/Desktop/images/20022025/22/08/image_20022025_22_08_54_10400.jpg', '/home/pi/Desktop/images/20022025/22/08/image_20022025_22_09_04_9326.jpg', '/home/pi/Desktop/images/20022025/22/09/image_20022025_22_09_14_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/07/image_20022025_22_07_34_10481.jpg
/home/pi/Desktop/images/20022025/22/08/image_20022025_22_08_14_9362.jpg
/home/pi/Desktop/images/20022025/22/08/image_20022025_22_08_24_10339.jpg
/home/pi/Desktop/images/20022025/22/08/image_20022025_22_08_54_10400.jpg
/home/pi/Desktop/images/20022025/22/08/image_20022025_22_09_04_9326.jpg
/home/pi/Desktop/images/20022025/22/09/image_20022025_22_09_14_10397.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921539","1338921536","1338921541","1338921538","1338921529","1338921537"],"photo_ids_order":["1338921529","1338921536","1338921537","1338921538","1338921539","1338921541"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a1ef12ba4f6f3ab317dfd4d628171253.jpg","text":"TemporaryFile(/tmp/multipartBody8125487696382150456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172255007,"filename":"image_20022025_22_09_04_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/86fac4e93b47741ca8c0cb4f57afa9ef.jpg","text":"TemporaryFile(/tmp/multipartBody8531455986437359401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172255007,"filename":"image_20022025_22_08_14_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e6494e9f711b13e91bb1775f859c579f.jpg","text":"TemporaryFile(/tmp/multipartBody7750264043046313462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172255007,"filename":"image_20022025_22_09_14_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e64ec464d609f024b8e3d69583ccc1f0.jpg","text":"TemporaryFile(/tmp/multipartBody1203785079465456984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172255007,"filename":"image_20022025_22_08_54_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1a4fdfaf8c5e21be7e574e2f93b545b2.jpg","text":"TemporaryFile(/tmp/multipartBody2778797559950245425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172255007,"filename":"image_20022025_22_07_34_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/65173df7b0e5421a6e21b4b00360332f.jpg","text":"TemporaryFile(/tmp/multipartBody3371745979300285963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172255007,"filename":"image_20022025_22_08_24_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338921537","file1":"1338921536","file0":"1338921529","file4":"1338921539","file5":"1338921541","file3":"1338921538"},"map_files_photo_id_array":[{"photo_id":"1338921541","filename":"file5"},{"photo_id":"1338921537","filename":"file2"},{"photo_id":"1338921539","filename":"file4"},{"photo_id":"1338921536","filename":"file1"},{"photo_id":"1338921529","filename":"file0"},{"photo_id":"1338921538","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338921539":["hashtag1","hashtag2"]},{"1338921536":["hashtag1","hashtag2"]},{"1338921541":["hashtag1","hashtag2"]},{"1338921538":["hashtag1","hashtag2"]},{"1338921529":["hashtag1","hashtag2"]},{"1338921537":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338921539, 1338921536, 1338921541, 1338921538, 1338921529, 1338921537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04765486717224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:10:33.168158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/09/image_21022025_22_09_26_10358.jpg', '/home/pi/Desktop/images/21022025/22/10/image_21022025_22_10_25_9327.jpg', '/home/pi/Desktop/images/21022025/22/10/image_21022025_22_10_36_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/09/image_21022025_22_09_26_10358.jpg
/home/pi/Desktop/images/21022025/22/10/image_21022025_22_10_25_9327.jpg
/home/pi/Desktop/images/21022025/22/10/image_21022025_22_10_36_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921551","1338921560","1338921555"],"photo_ids_order":["1338921551","1338921555","1338921560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/730c069801314595f484531be0e9ba68.jpg","text":"TemporaryFile(/tmp/multipartBody2852801949075494683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172293610,"filename":"image_21022025_22_09_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff63784fb5afb6daf4b223cb32fd3ac3.jpg","text":"TemporaryFile(/tmp/multipartBody4154166036675416886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172293610,"filename":"image_21022025_22_10_36_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/813c6b732fd7997dad9eda46710f6fa2.jpg","text":"TemporaryFile(/tmp/multipartBody4339262510397467553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172293610,"filename":"image_21022025_22_10_25_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338921560","file1":"1338921555","file0":"1338921551"},"map_files_photo_id_array":[{"photo_id":"1338921560","filename":"file2"},{"photo_id":"1338921555","filename":"file1"},{"photo_id":"1338921551","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338921551":["hashtag1","hashtag2"]},{"1338921560":["hashtag1","hashtag2"]},{"1338921555":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338921551, 1338921560, 1338921555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.856316328048706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:11:03.887430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/09/image_20022025_22_09_34_9337.jpg', '/home/pi/Desktop/images/20022025/22/09/image_20022025_22_09_44_10345.jpg', '/home/pi/Desktop/images/20022025/22/09/image_20022025_22_09_55_10331.jpg', '/home/pi/Desktop/images/20022025/22/09/image_20022025_22_10_04_9396.jpg', '/home/pi/Desktop/images/20022025/22/10/image_20022025_22_10_34_10351.jpg', '/home/pi/Desktop/images/20022025/22/10/image_20022025_22_10_45_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/09/image_20022025_22_09_34_9337.jpg
/home/pi/Desktop/images/20022025/22/09/image_20022025_22_09_44_10345.jpg
/home/pi/Desktop/images/20022025/22/09/image_20022025_22_09_55_10331.jpg
/home/pi/Desktop/images/20022025/22/09/image_20022025_22_10_04_9396.jpg
/home/pi/Desktop/images/20022025/22/10/image_20022025_22_10_34_10351.jpg
/home/pi/Desktop/images/20022025/22/10/image_20022025_22_10_45_10422.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921584","1338921587","1338921568","1338921571","1338921579","1338921582"],"photo_ids_order":["1338921568","1338921571","1338921579","1338921582","1338921584","1338921587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5dc13e30062d68b1c381d82026efc585.jpg","text":"TemporaryFile(/tmp/multipartBody563741488637057490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172325520,"filename":"image_20022025_22_10_34_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/77042ed9fa8d7c4d4b71fa0a1300ee69.jpg","text":"TemporaryFile(/tmp/multipartBody8223647741766134798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172325520,"filename":"image_20022025_22_10_45_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59df32ba39d8ae57e3b03d9e01d594d6.jpg","text":"TemporaryFile(/tmp/multipartBody4840876415414034463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172325520,"filename":"image_20022025_22_09_34_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a64ba09c986236a60b749d697ca2c6b1.jpg","text":"TemporaryFile(/tmp/multipartBody158198369426109065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172325520,"filename":"image_20022025_22_09_44_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6415790ce3ab7f467e908479a783f4be.jpg","text":"TemporaryFile(/tmp/multipartBody2713608480038769497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172325520,"filename":"image_20022025_22_09_55_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/975162aaa71203226bf401d2daa7e58c.jpg","text":"TemporaryFile(/tmp/multipartBody3189897049524703573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172325520,"filename":"image_20022025_22_10_04_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338921579","file1":"1338921571","file0":"1338921568","file4":"1338921584","file5":"1338921587","file3":"1338921582"},"map_files_photo_id_array":[{"photo_id":"1338921587","filename":"file5"},{"photo_id":"1338921579","filename":"file2"},{"photo_id":"1338921584","filename":"file4"},{"photo_id":"1338921571","filename":"file1"},{"photo_id":"1338921568","filename":"file0"},{"photo_id":"1338921582","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338921584":["hashtag1","hashtag2"]},{"1338921587":["hashtag1","hashtag2"]},{"1338921568":["hashtag1","hashtag2"]},{"1338921571":["hashtag1","hashtag2"]},{"1338921579":["hashtag1","hashtag2"]},{"1338921582":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338921584, 1338921587, 1338921568, 1338921571, 1338921579, 1338921582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02460765838623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:11:42.338257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/10/image_21022025_22_10_56_9395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/10/image_21022025_22_10_56_9395.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921600"],"photo_id":"1338921600","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a14dfeec54fbf0268e01b61c7436548.jpg","text":"TemporaryFile(/tmp/multipartBody5539705785315710494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172362750,"filename":"image_21022025_22_10_56_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338921600"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338921600"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.934232711791992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:12:03.095878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/10/image_20022025_22_11_04_10406.jpg', '/home/pi/Desktop/images/20022025/22/11/image_20022025_22_11_44_9332.jpg', '/home/pi/Desktop/images/20022025/22/11/image_20022025_22_11_55_10598.jpg', '/home/pi/Desktop/images/20022025/22/11/image_20022025_22_12_04_9327.jpg', '/home/pi/Desktop/images/20022025/22/12/image_20022025_22_13_04_9342.jpg', '/home/pi/Desktop/images/20022025/22/13/image_20022025_22_13_25_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/10/image_20022025_22_11_04_10406.jpg
/home/pi/Desktop/images/20022025/22/11/image_20022025_22_11_44_9332.jpg
/home/pi/Desktop/images/20022025/22/11/image_20022025_22_11_55_10598.jpg
/home/pi/Desktop/images/20022025/22/11/image_20022025_22_12_04_9327.jpg
/home/pi/Desktop/images/20022025/22/12/image_20022025_22_13_04_9342.jpg
/home/pi/Desktop/images/20022025/22/13/image_20022025_22_13_25_10342.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921611","1338921614","1338921608","1338921617","1338921622","1338921607"],"photo_ids_order":["1338921607","1338921608","1338921611","1338921614","1338921617","1338921622"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f58fd41c700bcd2e162f6fc28e8167cc.jpg","text":"TemporaryFile(/tmp/multipartBody2268431667231289364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172384473,"filename":"image_20022025_22_11_55_10598.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6b40c34f28381e428541c2b74b5f974e.jpg","text":"TemporaryFile(/tmp/multipartBody1142720853866743228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172384473,"filename":"image_20022025_22_12_04_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/705a5248ae657a631f4bcd7710cf090e.jpg","text":"TemporaryFile(/tmp/multipartBody923888104370328324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172384473,"filename":"image_20022025_22_11_44_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/685e991a998ab0f3e8e968629493898e.jpg","text":"TemporaryFile(/tmp/multipartBody4550835765477237591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172384473,"filename":"image_20022025_22_13_04_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b6dc81e927b5580a024df140a4e906a.jpg","text":"TemporaryFile(/tmp/multipartBody3804354277705714973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172384473,"filename":"image_20022025_22_13_25_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/433627b537a97332ad42f17ce3d488d7.jpg","text":"TemporaryFile(/tmp/multipartBody1614059594576299380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172384473,"filename":"image_20022025_22_11_04_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338921611","file1":"1338921608","file0":"1338921607","file4":"1338921617","file5":"1338921622","file3":"1338921614"},"map_files_photo_id_array":[{"photo_id":"1338921622","filename":"file5"},{"photo_id":"1338921611","filename":"file2"},{"photo_id":"1338921617","filename":"file4"},{"photo_id":"1338921608","filename":"file1"},{"photo_id":"1338921607","filename":"file0"},{"photo_id":"1338921614","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338921611":["hashtag1","hashtag2"]},{"1338921614":["hashtag1","hashtag2"]},{"1338921608":["hashtag1","hashtag2"]},{"1338921617":["hashtag1","hashtag2"]},{"1338921622":["hashtag1","hashtag2"]},{"1338921607":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338921611, 1338921614, 1338921608, 1338921617, 1338921622, 1338921607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.762309312820435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:12:42.532302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/11/image_21022025_22_11_36_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/11/image_21022025_22_11_36_10359.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921642"],"photo_id":"1338921642","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bccbb2e114deb627a197cdfc7f01b2cb.jpg","text":"TemporaryFile(/tmp/multipartBody5002159572718248127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172422951,"filename":"image_21022025_22_11_36_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338921642"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338921642"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.801850318908691 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:13:04.306175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/13/image_20022025_22_13_34_9322.jpg', '/home/pi/Desktop/images/20022025/22/13/image_20022025_22_13_44_10355.jpg', '/home/pi/Desktop/images/20022025/22/14/image_20022025_22_14_24_9377.jpg', '/home/pi/Desktop/images/20022025/22/14/image_20022025_22_14_34_10337.jpg', '/home/pi/Desktop/images/20022025/22/14/image_20022025_22_14_44_9402.jpg', '/home/pi/Desktop/images/20022025/22/14/image_20022025_22_15_05_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/13/image_20022025_22_13_34_9322.jpg
/home/pi/Desktop/images/20022025/22/13/image_20022025_22_13_44_10355.jpg
/home/pi/Desktop/images/20022025/22/14/image_20022025_22_14_24_9377.jpg
/home/pi/Desktop/images/20022025/22/14/image_20022025_22_14_34_10337.jpg
/home/pi/Desktop/images/20022025/22/14/image_20022025_22_14_44_9402.jpg
/home/pi/Desktop/images/20022025/22/14/image_20022025_22_15_05_10447.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921704","1338921721","1338921718","1338921712","1338921706","1338921715"],"photo_ids_order":["1338921704","1338921706","1338921712","1338921715","1338921718","1338921721"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e7aececc3505ecf3390d385fc2dd5a56.jpg","text":"TemporaryFile(/tmp/multipartBody7051109553994773067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172445954,"filename":"image_20022025_22_13_34_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/380ffe308661a331da88ba21c5be91fb.jpg","text":"TemporaryFile(/tmp/multipartBody804204090601855442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172445954,"filename":"image_20022025_22_15_05_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5799860d74ed71c87d651a4f09f5674c.jpg","text":"TemporaryFile(/tmp/multipartBody4641337535337695637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172445954,"filename":"image_20022025_22_14_44_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06119c1d957a22ecc9fc2e8c6244a7d4.jpg","text":"TemporaryFile(/tmp/multipartBody5088777423422828652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172445954,"filename":"image_20022025_22_14_24_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6f79326f0725777942b6ce595b1353b0.jpg","text":"TemporaryFile(/tmp/multipartBody4099965416301412810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172445954,"filename":"image_20022025_22_13_44_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be135ebce1c32690d07888d486ed2735.jpg","text":"TemporaryFile(/tmp/multipartBody2258911647150839666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172445954,"filename":"image_20022025_22_14_34_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338921712","file1":"1338921706","file0":"1338921704","file4":"1338921718","file5":"1338921721","file3":"1338921715"},"map_files_photo_id_array":[{"photo_id":"1338921721","filename":"file5"},{"photo_id":"1338921712","filename":"file2"},{"photo_id":"1338921718","filename":"file4"},{"photo_id":"1338921706","filename":"file1"},{"photo_id":"1338921704","filename":"file0"},{"photo_id":"1338921715","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338921704":["hashtag1","hashtag2"]},{"1338921721":["hashtag1","hashtag2"]},{"1338921718":["hashtag1","hashtag2"]},{"1338921712":["hashtag1","hashtag2"]},{"1338921706":["hashtag1","hashtag2"]},{"1338921715":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338921704, 1338921721, 1338921718, 1338921712, 1338921706, 1338921715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.393290996551514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:13:42.740253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/12/image_21022025_22_12_15_9334.jpg', '/home/pi/Desktop/images/21022025/22/13/image_21022025_22_13_16_10442.jpg', '/home/pi/Desktop/images/21022025/22/13/image_21022025_22_13_26_10365.jpg', '/home/pi/Desktop/images/21022025/22/13/image_21022025_22_13_35_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/12/image_21022025_22_12_15_9334.jpg
/home/pi/Desktop/images/21022025/22/13/image_21022025_22_13_16_10442.jpg
/home/pi/Desktop/images/21022025/22/13/image_21022025_22_13_26_10365.jpg
/home/pi/Desktop/images/21022025/22/13/image_21022025_22_13_35_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921820","1338921817","1338921780","1338921822"],"photo_ids_order":["1338921780","1338921817","1338921820","1338921822"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eacc575d73c511fe0db7b6043de23bd9.jpg","text":"TemporaryFile(/tmp/multipartBody5854863216949589567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172483189,"filename":"image_21022025_22_13_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3ef0eff154b2522c08b35ed58ee8a700.jpg","text":"TemporaryFile(/tmp/multipartBody6889605844983856851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172483189,"filename":"image_21022025_22_13_16_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3b733c17b90c0ed59e9aca0472959d1d.jpg","text":"TemporaryFile(/tmp/multipartBody2991301799672779726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172483189,"filename":"image_21022025_22_12_15_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f6b3076a138d58bd553ed193577bc92d.jpg","text":"TemporaryFile(/tmp/multipartBody7504992665203177006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172483189,"filename":"image_21022025_22_13_35_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338921820","file1":"1338921817","file0":"1338921780","file3":"1338921822"},"map_files_photo_id_array":[{"photo_id":"1338921820","filename":"file2"},{"photo_id":"1338921817","filename":"file1"},{"photo_id":"1338921780","filename":"file0"},{"photo_id":"1338921822","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338921820":["hashtag1","hashtag2"]},{"1338921817":["hashtag1","hashtag2"]},{"1338921780":["hashtag1","hashtag2"]},{"1338921822":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338921820, 1338921817, 1338921780, 1338921822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.020190000534058 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:14:32.941346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/13/image_21022025_22_13_46_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/13/image_21022025_22_13_46_10348.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921836"],"photo_id":"1338921836","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/844450fe4ecc9cf5bab6ff580e2482d7.jpg","text":"TemporaryFile(/tmp/multipartBody44629018868697363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172533354,"filename":"image_21022025_22_13_46_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338921836"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338921836"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.6417977809906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:14:52.957052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/15/image_20022025_22_15_24_10337.jpg', '/home/pi/Desktop/images/20022025/22/15/image_20022025_22_15_44_9341.jpg', '/home/pi/Desktop/images/20022025/22/15/image_20022025_22_15_54_10337.jpg', '/home/pi/Desktop/images/20022025/22/15/image_20022025_22_16_05_10453.jpg', '/home/pi/Desktop/images/20022025/22/16/image_20022025_22_16_14_9340.jpg', '/home/pi/Desktop/images/20022025/22/16/image_20022025_22_16_25_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/15/image_20022025_22_15_24_10337.jpg
/home/pi/Desktop/images/20022025/22/15/image_20022025_22_15_44_9341.jpg
/home/pi/Desktop/images/20022025/22/15/image_20022025_22_15_54_10337.jpg
/home/pi/Desktop/images/20022025/22/15/image_20022025_22_16_05_10453.jpg
/home/pi/Desktop/images/20022025/22/16/image_20022025_22_16_14_9340.jpg
/home/pi/Desktop/images/20022025/22/16/image_20022025_22_16_25_10436.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921854","1338921853","1338921856","1338921850","1338921852","1338921849"],"photo_ids_order":["1338921849","1338921850","1338921852","1338921853","1338921854","1338921856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df37f4b29dcb55b0e7442ac2971055b3.jpg","text":"TemporaryFile(/tmp/multipartBody2697283412403371844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172555086,"filename":"image_20022025_22_16_14_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/757f2463103144489e25ed416874af7d.jpg","text":"TemporaryFile(/tmp/multipartBody5935279389332286837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172555086,"filename":"image_20022025_22_16_05_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ce39746ab91b50fdbdedc7fa891e72f.jpg","text":"TemporaryFile(/tmp/multipartBody5170339749219083817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172555086,"filename":"image_20022025_22_16_25_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cce9c54a59403fd85c3b2908578555e7.jpg","text":"TemporaryFile(/tmp/multipartBody4344722671443966694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172555086,"filename":"image_20022025_22_15_44_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d6efde6e85a479bd9467d13f248f027e.jpg","text":"TemporaryFile(/tmp/multipartBody8601514218114335041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172555086,"filename":"image_20022025_22_15_54_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75951e3b5c34f60747a86dace51eb34b.jpg","text":"TemporaryFile(/tmp/multipartBody5213150155563234577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172555086,"filename":"image_20022025_22_15_24_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338921852","file1":"1338921850","file0":"1338921849","file4":"1338921854","file5":"1338921856","file3":"1338921853"},"map_files_photo_id_array":[{"photo_id":"1338921856","filename":"file5"},{"photo_id":"1338921852","filename":"file2"},{"photo_id":"1338921854","filename":"file4"},{"photo_id":"1338921850","filename":"file1"},{"photo_id":"1338921849","filename":"file0"},{"photo_id":"1338921853","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338921854":["hashtag1","hashtag2"]},{"1338921853":["hashtag1","hashtag2"]},{"1338921856":["hashtag1","hashtag2"]},{"1338921850":["hashtag1","hashtag2"]},{"1338921852":["hashtag1","hashtag2"]},{"1338921849":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338921854, 1338921853, 1338921856, 1338921850, 1338921852, 1338921849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.505595207214355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:15:32.314232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/14/image_21022025_22_14_36_9455.jpg', '/home/pi/Desktop/images/21022025/22/14/image_21022025_22_15_06_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/14/image_21022025_22_14_36_9455.jpg
/home/pi/Desktop/images/21022025/22/14/image_21022025_22_15_06_10424.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921860","1338921862"],"photo_ids_order":["1338921860","1338921862"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/159cf30c7080092f1fcc74244e7db250.jpg","text":"TemporaryFile(/tmp/multipartBody5296724403406689003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172592737,"filename":"image_21022025_22_14_36_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e58fd132f7d6da39894c224870dc242e.jpg","text":"TemporaryFile(/tmp/multipartBody2180034460303904391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172592737,"filename":"image_21022025_22_15_06_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338921862","file0":"1338921860"},"map_files_photo_id_array":[{"photo_id":"1338921862","filename":"file1"},{"photo_id":"1338921860","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338921860":["hashtag1","hashtag2"]},{"1338921862":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338921860, 1338921862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.518330574035645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:15:52.110052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/16/image_20022025_22_16_34_9419.jpg', '/home/pi/Desktop/images/20022025/22/16/image_20022025_22_16_44_10346.jpg', '/home/pi/Desktop/images/20022025/22/16/image_20022025_22_16_55_10326.jpg', '/home/pi/Desktop/images/20022025/22/16/image_20022025_22_17_04_9324.jpg', '/home/pi/Desktop/images/20022025/22/17/image_20022025_22_17_14_10349.jpg', '/home/pi/Desktop/images/20022025/22/17/image_20022025_22_17_34_9392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/16/image_20022025_22_16_34_9419.jpg
/home/pi/Desktop/images/20022025/22/16/image_20022025_22_16_44_10346.jpg
/home/pi/Desktop/images/20022025/22/16/image_20022025_22_16_55_10326.jpg
/home/pi/Desktop/images/20022025/22/16/image_20022025_22_17_04_9324.jpg
/home/pi/Desktop/images/20022025/22/17/image_20022025_22_17_14_10349.jpg
/home/pi/Desktop/images/20022025/22/17/image_20022025_22_17_34_9392.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338921992","1338921997","1338921883","1338922000","1338921996","1338921873"],"photo_ids_order":["1338921873","1338921883","1338921992","1338921996","1338921997","1338922000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6d16bf9830bbaa2f47bc6cb2be554a80.jpg","text":"TemporaryFile(/tmp/multipartBody7718829870368211608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172614219,"filename":"image_20022025_22_16_55_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6fa6300b6c75ba3bed830758a6a553d8.jpg","text":"TemporaryFile(/tmp/multipartBody4005991183514993521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172614219,"filename":"image_20022025_22_17_14_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cb72baed52ae1dfec53e644a1d305101.jpg","text":"TemporaryFile(/tmp/multipartBody2717799622371776212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172614219,"filename":"image_20022025_22_16_44_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/49f218006023623af66b086828edaf42.jpg","text":"TemporaryFile(/tmp/multipartBody5194633082133224530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172614219,"filename":"image_20022025_22_17_34_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6cc1a267c97cc66253c8bce78f8e0b16.jpg","text":"TemporaryFile(/tmp/multipartBody1629857747295872678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172614219,"filename":"image_20022025_22_17_04_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d49a4a4ac1d8d69b9970609a552e1ff6.jpg","text":"TemporaryFile(/tmp/multipartBody2934190949054481091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172614219,"filename":"image_20022025_22_16_34_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338921992","file1":"1338921883","file0":"1338921873","file4":"1338921997","file5":"1338922000","file3":"1338921996"},"map_files_photo_id_array":[{"photo_id":"1338922000","filename":"file5"},{"photo_id":"1338921992","filename":"file2"},{"photo_id":"1338921997","filename":"file4"},{"photo_id":"1338921883","filename":"file1"},{"photo_id":"1338921873","filename":"file0"},{"photo_id":"1338921996","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338921992":["hashtag1","hashtag2"]},{"1338921997":["hashtag1","hashtag2"]},{"1338921883":["hashtag1","hashtag2"]},{"1338922000":["hashtag1","hashtag2"]},{"1338921996":["hashtag1","hashtag2"]},{"1338921873":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338921992, 1338921997, 1338921883, 1338922000, 1338921996, 1338921873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49403166770935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:16:32.387590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/15/image_21022025_22_15_16_10368.jpg', '/home/pi/Desktop/images/21022025/22/16/image_21022025_22_16_26_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/15/image_21022025_22_15_16_10368.jpg
/home/pi/Desktop/images/21022025/22/16/image_21022025_22_16_26_10369.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922004","1338922007"],"photo_ids_order":["1338922004","1338922007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8ea7054dbdbfe0c28b0d118fbbb7a8b2.jpg","text":"TemporaryFile(/tmp/multipartBody1783552272832036392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172652812,"filename":"image_21022025_22_15_16_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c7afd0fda067892f31644def6d30a86.jpg","text":"TemporaryFile(/tmp/multipartBody4976586984471128262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172652812,"filename":"image_21022025_22_16_26_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338922007","file0":"1338922004"},"map_files_photo_id_array":[{"photo_id":"1338922007","filename":"file1"},{"photo_id":"1338922004","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338922004":["hashtag1","hashtag2"]},{"1338922007":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338922004, 1338922007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.165303707122803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:16:52.303341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/17/image_20022025_22_17_45_10433.jpg', '/home/pi/Desktop/images/20022025/22/18/image_20022025_22_18_15_10365.jpg', '/home/pi/Desktop/images/20022025/22/18/image_20022025_22_18_34_10340.jpg', '/home/pi/Desktop/images/20022025/22/18/image_20022025_22_18_45_10363.jpg', '/home/pi/Desktop/images/20022025/22/18/image_20022025_22_18_54_9317.jpg', '/home/pi/Desktop/images/20022025/22/18/image_20022025_22_19_04_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/17/image_20022025_22_17_45_10433.jpg
/home/pi/Desktop/images/20022025/22/18/image_20022025_22_18_15_10365.jpg
/home/pi/Desktop/images/20022025/22/18/image_20022025_22_18_34_10340.jpg
/home/pi/Desktop/images/20022025/22/18/image_20022025_22_18_45_10363.jpg
/home/pi/Desktop/images/20022025/22/18/image_20022025_22_18_54_9317.jpg
/home/pi/Desktop/images/20022025/22/18/image_20022025_22_19_04_10337.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922022","1338922025","1338922027","1338922015","1338922023","1338922029"],"photo_ids_order":["1338922015","1338922022","1338922023","1338922025","1338922027","1338922029"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a3dc6444f055d6bbd195b1f816dc4b4.jpg","text":"TemporaryFile(/tmp/multipartBody6934675499523750931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172674418,"filename":"image_20022025_22_18_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e55b67a5c9179090d58be36889b4ec40.jpg","text":"TemporaryFile(/tmp/multipartBody5807432624400045776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172674418,"filename":"image_20022025_22_18_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/253847bb4f96e9b61568c06a215cfab0.jpg","text":"TemporaryFile(/tmp/multipartBody3966062846298646567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172674418,"filename":"image_20022025_22_18_54_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c69b7be20e8dce77006715d6af1778b.jpg","text":"TemporaryFile(/tmp/multipartBody915748859999189185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172674418,"filename":"image_20022025_22_17_45_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a33162003d57bf0fb7c39c8dbb53f22e.jpg","text":"TemporaryFile(/tmp/multipartBody4550492969179923901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172674418,"filename":"image_20022025_22_18_34_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/edbd17644bb7fc65f0843c5fa62e5b01.jpg","text":"TemporaryFile(/tmp/multipartBody3572107507711395673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172674418,"filename":"image_20022025_22_19_04_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338922023","file1":"1338922022","file0":"1338922015","file4":"1338922027","file5":"1338922029","file3":"1338922025"},"map_files_photo_id_array":[{"photo_id":"1338922029","filename":"file5"},{"photo_id":"1338922023","filename":"file2"},{"photo_id":"1338922027","filename":"file4"},{"photo_id":"1338922022","filename":"file1"},{"photo_id":"1338922015","filename":"file0"},{"photo_id":"1338922025","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338922022":["hashtag1","hashtag2"]},{"1338922025":["hashtag1","hashtag2"]},{"1338922027":["hashtag1","hashtag2"]},{"1338922015":["hashtag1","hashtag2"]},{"1338922023":["hashtag1","hashtag2"]},{"1338922029":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338922022, 1338922025, 1338922027, 1338922015, 1338922023, 1338922029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57614755630493 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:17:32.483509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/16/image_21022025_22_16_56_10394.jpg', '/home/pi/Desktop/images/21022025/22/17/image_21022025_22_17_26_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/16/image_21022025_22_16_56_10394.jpg
/home/pi/Desktop/images/21022025/22/17/image_21022025_22_17_26_10357.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922068","1338922065"],"photo_ids_order":["1338922065","1338922068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0bcb9d7a891cdcc334a79491017bdc71.jpg","text":"TemporaryFile(/tmp/multipartBody382860823574837659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172712905,"filename":"image_21022025_22_17_26_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5bfda6d1e1585a5aef94b4caa92c6e1c.jpg","text":"TemporaryFile(/tmp/multipartBody5734175663905833857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172712905,"filename":"image_21022025_22_16_56_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338922068","file0":"1338922065"},"map_files_photo_id_array":[{"photo_id":"1338922068","filename":"file1"},{"photo_id":"1338922065","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338922068":["hashtag1","hashtag2"]},{"1338922065":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338922068, 1338922065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.984614610671997 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:17:52.528339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/19/image_20022025_22_19_15_10463.jpg', '/home/pi/Desktop/images/20022025/22/19/image_20022025_22_19_34_10363.jpg', '/home/pi/Desktop/images/20022025/22/19/image_20022025_22_19_44_9334.jpg', '/home/pi/Desktop/images/20022025/22/19/image_20022025_22_19_54_10334.jpg', '/home/pi/Desktop/images/20022025/22/19/image_20022025_22_20_05_10391.jpg', '/home/pi/Desktop/images/20022025/22/20/image_20022025_22_20_14_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/19/image_20022025_22_19_15_10463.jpg
/home/pi/Desktop/images/20022025/22/19/image_20022025_22_19_34_10363.jpg
/home/pi/Desktop/images/20022025/22/19/image_20022025_22_19_44_9334.jpg
/home/pi/Desktop/images/20022025/22/19/image_20022025_22_19_54_10334.jpg
/home/pi/Desktop/images/20022025/22/19/image_20022025_22_20_05_10391.jpg
/home/pi/Desktop/images/20022025/22/20/image_20022025_22_20_14_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922093","1338922096","1338922099","1338922084","1338922089","1338922091"],"photo_ids_order":["1338922084","1338922089","1338922091","1338922093","1338922096","1338922099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cea782693022192b1eb2881e5b732deb.jpg","text":"TemporaryFile(/tmp/multipartBody7520489595200013987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172734656,"filename":"image_20022025_22_19_54_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7519bdcc5324edf1d79986f886f3e499.jpg","text":"TemporaryFile(/tmp/multipartBody1830702277213719214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172734656,"filename":"image_20022025_22_20_05_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5633da51304b619519b26177a64e890f.jpg","text":"TemporaryFile(/tmp/multipartBody2643008751384695882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172734656,"filename":"image_20022025_22_20_14_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/231823a5121b04c8ececc076760d460a.jpg","text":"TemporaryFile(/tmp/multipartBody1682927569510962775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172734656,"filename":"image_20022025_22_19_15_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7fba2d2b7810928f4429268cd710e396.jpg","text":"TemporaryFile(/tmp/multipartBody3651609197968274557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172734656,"filename":"image_20022025_22_19_34_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/652b4664c17e4178ee2650e49f9d47fb.jpg","text":"TemporaryFile(/tmp/multipartBody9082561888997910957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172734656,"filename":"image_20022025_22_19_44_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338922091","file1":"1338922089","file0":"1338922084","file4":"1338922096","file5":"1338922099","file3":"1338922093"},"map_files_photo_id_array":[{"photo_id":"1338922099","filename":"file5"},{"photo_id":"1338922091","filename":"file2"},{"photo_id":"1338922096","filename":"file4"},{"photo_id":"1338922089","filename":"file1"},{"photo_id":"1338922084","filename":"file0"},{"photo_id":"1338922093","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338922093":["hashtag1","hashtag2"]},{"1338922096":["hashtag1","hashtag2"]},{"1338922099":["hashtag1","hashtag2"]},{"1338922084":["hashtag1","hashtag2"]},{"1338922089":["hashtag1","hashtag2"]},{"1338922091":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338922093, 1338922096, 1338922099, 1338922084, 1338922089, 1338922091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64153480529785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:18:42.862077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/17/image_21022025_22_17_46_10398.jpg', '/home/pi/Desktop/images/21022025/22/17/image_21022025_22_18_06_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/17/image_21022025_22_17_46_10398.jpg
/home/pi/Desktop/images/21022025/22/17/image_21022025_22_18_06_10351.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922171","1338922173"],"photo_ids_order":["1338922171","1338922173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/13864eb84fa24b5cdccd63fa1c6d3253.jpg","text":"TemporaryFile(/tmp/multipartBody6621049382471921808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172783285,"filename":"image_21022025_22_17_46_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3db8465c9f73bbc5fa299154f548c19a.jpg","text":"TemporaryFile(/tmp/multipartBody3627174818922587968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172783285,"filename":"image_21022025_22_18_06_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338922173","file0":"1338922171"},"map_files_photo_id_array":[{"photo_id":"1338922173","filename":"file1"},{"photo_id":"1338922171","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338922171":["hashtag1","hashtag2"]},{"1338922173":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338922171, 1338922173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.62398934364319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:19:04.289634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/20/image_20022025_22_20_24_10320.jpg', '/home/pi/Desktop/images/20022025/22/20/image_20022025_22_20_44_9329.jpg', '/home/pi/Desktop/images/20022025/22/20/image_20022025_22_20_54_10421.jpg', '/home/pi/Desktop/images/20022025/22/20/image_20022025_22_21_05_10460.jpg', '/home/pi/Desktop/images/20022025/22/21/image_20022025_22_21_25_10436.jpg', '/home/pi/Desktop/images/20022025/22/21/image_20022025_22_21_34_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/20/image_20022025_22_20_24_10320.jpg
/home/pi/Desktop/images/20022025/22/20/image_20022025_22_20_44_9329.jpg
/home/pi/Desktop/images/20022025/22/20/image_20022025_22_20_54_10421.jpg
/home/pi/Desktop/images/20022025/22/20/image_20022025_22_21_05_10460.jpg
/home/pi/Desktop/images/20022025/22/21/image_20022025_22_21_25_10436.jpg
/home/pi/Desktop/images/20022025/22/21/image_20022025_22_21_34_9377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922186","1338922176","1338922181","1338922190","1338922184","1338922178"],"photo_ids_order":["1338922176","1338922178","1338922181","1338922184","1338922186","1338922190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32f496d06a8b142c68ae9e128280ba40.jpg","text":"TemporaryFile(/tmp/multipartBody1677692677580131267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172805894,"filename":"image_20022025_22_21_25_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3f70eafe8d4945956d23fdc0869bec2f.jpg","text":"TemporaryFile(/tmp/multipartBody1582566637090939962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172805894,"filename":"image_20022025_22_20_24_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/074097ad6ddbae28c1fb4ed66f328cac.jpg","text":"TemporaryFile(/tmp/multipartBody2307102400294053439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172805894,"filename":"image_20022025_22_20_54_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9edeeadfca2c08d6ced1dc493124c4cb.jpg","text":"TemporaryFile(/tmp/multipartBody5943245705102448360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172805894,"filename":"image_20022025_22_21_34_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/895b1332e9c7cb4a15c29a5bebf0b3d3.jpg","text":"TemporaryFile(/tmp/multipartBody1095710190355396997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172805894,"filename":"image_20022025_22_21_05_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/55fcbc84adcda1d1200d79882f4a48fe.jpg","text":"TemporaryFile(/tmp/multipartBody302309376047222634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172805894,"filename":"image_20022025_22_20_44_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338922181","file1":"1338922178","file0":"1338922176","file4":"1338922186","file5":"1338922190","file3":"1338922184"},"map_files_photo_id_array":[{"photo_id":"1338922190","filename":"file5"},{"photo_id":"1338922181","filename":"file2"},{"photo_id":"1338922186","filename":"file4"},{"photo_id":"1338922178","filename":"file1"},{"photo_id":"1338922176","filename":"file0"},{"photo_id":"1338922184","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338922186":["hashtag1","hashtag2"]},{"1338922176":["hashtag1","hashtag2"]},{"1338922181":["hashtag1","hashtag2"]},{"1338922190":["hashtag1","hashtag2"]},{"1338922184":["hashtag1","hashtag2"]},{"1338922178":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338922186, 1338922176, 1338922181, 1338922190, 1338922184, 1338922178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16381645202637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:19:53.024578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/18/image_21022025_22_18_16_10343.jpg', '/home/pi/Desktop/images/21022025/22/19/image_21022025_22_19_15_9351.jpg', '/home/pi/Desktop/images/21022025/22/19/image_21022025_22_19_26_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/18/image_21022025_22_18_16_10343.jpg
/home/pi/Desktop/images/21022025/22/19/image_21022025_22_19_15_9351.jpg
/home/pi/Desktop/images/21022025/22/19/image_21022025_22_19_26_10364.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922207","1338922203","1338922206"],"photo_ids_order":["1338922203","1338922206","1338922207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c7480c490b36497bcdd42ee2120b031.jpg","text":"TemporaryFile(/tmp/multipartBody6810923166456553866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172853459,"filename":"image_21022025_22_19_26_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/20c24dc0f2c56c7916b4794aa85af62c.jpg","text":"TemporaryFile(/tmp/multipartBody2102973737190484931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172853459,"filename":"image_21022025_22_18_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/05f5f5ba8a533c5af40e8e0c4f5fbf59.jpg","text":"TemporaryFile(/tmp/multipartBody3462189767814252916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172853459,"filename":"image_21022025_22_19_15_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338922207","file1":"1338922206","file0":"1338922203"},"map_files_photo_id_array":[{"photo_id":"1338922207","filename":"file2"},{"photo_id":"1338922206","filename":"file1"},{"photo_id":"1338922203","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338922207":["hashtag1","hashtag2"]},{"1338922203":["hashtag1","hashtag2"]},{"1338922206":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338922207, 1338922203, 1338922206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.680503606796265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:20:32.262192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/19/image_21022025_22_19_46_9424.jpg', '/home/pi/Desktop/images/21022025/22/20/image_21022025_22_20_26_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/19/image_21022025_22_19_46_9424.jpg
/home/pi/Desktop/images/21022025/22/20/image_21022025_22_20_26_10371.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922221","1338922227"],"photo_ids_order":["1338922221","1338922227"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/207a7fdb064b22572999aa73aaef9f7d.jpg","text":"TemporaryFile(/tmp/multipartBody5530538064979983830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172892702,"filename":"image_21022025_22_19_46_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6833bff9ff5038e32cdd1f5bca779a22.jpg","text":"TemporaryFile(/tmp/multipartBody4456198502421188123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172892702,"filename":"image_21022025_22_20_26_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338922227","file0":"1338922221"},"map_files_photo_id_array":[{"photo_id":"1338922227","filename":"file1"},{"photo_id":"1338922221","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338922221":["hashtag1","hashtag2"]},{"1338922227":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338922221, 1338922227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.416447162628174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:20:52.235907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/21/image_20022025_22_21_44_10340.jpg', '/home/pi/Desktop/images/20022025/22/21/image_20022025_22_21_55_10463.jpg', '/home/pi/Desktop/images/20022025/22/21/image_20022025_22_22_04_9330.jpg', '/home/pi/Desktop/images/20022025/22/22/image_20022025_22_22_24_9307.jpg', '/home/pi/Desktop/images/20022025/22/22/image_20022025_22_22_34_10347.jpg', '/home/pi/Desktop/images/20022025/22/22/image_20022025_22_22_45_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/21/image_20022025_22_21_44_10340.jpg
/home/pi/Desktop/images/20022025/22/21/image_20022025_22_21_55_10463.jpg
/home/pi/Desktop/images/20022025/22/21/image_20022025_22_22_04_9330.jpg
/home/pi/Desktop/images/20022025/22/22/image_20022025_22_22_24_9307.jpg
/home/pi/Desktop/images/20022025/22/22/image_20022025_22_22_34_10347.jpg
/home/pi/Desktop/images/20022025/22/22/image_20022025_22_22_45_10441.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922255","1338922258","1338922243","1338922252","1338922249","1338922260"],"photo_ids_order":["1338922243","1338922249","1338922252","1338922255","1338922258","1338922260"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/affb9e2deaffb38f42c7e8a3b02c5f49.jpg","text":"TemporaryFile(/tmp/multipartBody8613071630384407995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172914361,"filename":"image_20022025_22_22_24_9307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c7d070f4f70746528bfb7ab3dd6d175.jpg","text":"TemporaryFile(/tmp/multipartBody6837477676069303565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172914361,"filename":"image_20022025_22_22_34_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d6e3724a998d970a3fd3b8dc8d4a9889.jpg","text":"TemporaryFile(/tmp/multipartBody925747266721916830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172914361,"filename":"image_20022025_22_21_44_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a7cadc3109f073989f2d3cc540b61378.jpg","text":"TemporaryFile(/tmp/multipartBody5176065588449591554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172914361,"filename":"image_20022025_22_22_04_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eaf994a9ab4260a26453d5829d399eb6.jpg","text":"TemporaryFile(/tmp/multipartBody4561586307747884013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172914361,"filename":"image_20022025_22_21_55_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b774dc8e4b6a85d26592127cb27b7faf.jpg","text":"TemporaryFile(/tmp/multipartBody8267796864940540957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172914361,"filename":"image_20022025_22_22_45_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338922252","file1":"1338922249","file0":"1338922243","file4":"1338922258","file5":"1338922260","file3":"1338922255"},"map_files_photo_id_array":[{"photo_id":"1338922260","filename":"file5"},{"photo_id":"1338922252","filename":"file2"},{"photo_id":"1338922258","filename":"file4"},{"photo_id":"1338922249","filename":"file1"},{"photo_id":"1338922243","filename":"file0"},{"photo_id":"1338922255","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338922255":["hashtag1","hashtag2"]},{"1338922258":["hashtag1","hashtag2"]},{"1338922243":["hashtag1","hashtag2"]},{"1338922252":["hashtag1","hashtag2"]},{"1338922249":["hashtag1","hashtag2"]},{"1338922260":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338922255, 1338922258, 1338922243, 1338922252, 1338922249, 1338922260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52299785614014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:21:32.414435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/20/image_21022025_22_20_36_9399.jpg', '/home/pi/Desktop/images/21022025/22/20/image_21022025_22_21_06_10445.jpg', '/home/pi/Desktop/images/21022025/22/21/image_21022025_22_21_16_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/20/image_21022025_22_20_36_9399.jpg
/home/pi/Desktop/images/21022025/22/20/image_21022025_22_21_06_10445.jpg
/home/pi/Desktop/images/21022025/22/21/image_21022025_22_21_16_10348.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.35569095611572266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:21:42.487649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/20/image_21022025_22_20_36_9399.jpg', '/home/pi/Desktop/images/21022025/22/20/image_21022025_22_21_06_10445.jpg', '/home/pi/Desktop/images/21022025/22/21/image_21022025_22_21_16_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/20/image_21022025_22_20_36_9399.jpg
/home/pi/Desktop/images/21022025/22/20/image_21022025_22_21_06_10445.jpg
/home/pi/Desktop/images/21022025/22/21/image_21022025_22_21_16_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922285","1338922289","1338922277"],"photo_ids_order":["1338922277","1338922285","1338922289"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4140c980f828f33370d304615e2a9307.jpg","text":"TemporaryFile(/tmp/multipartBody3471302659082842738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172962924,"filename":"image_21022025_22_21_06_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/19343d1e88466cb0f653fde95d9a011f.jpg","text":"TemporaryFile(/tmp/multipartBody7045984746126840035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172962924,"filename":"image_21022025_22_21_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b6a4b1db5681766d7a9b2bb02120796b.jpg","text":"TemporaryFile(/tmp/multipartBody4259864675709700156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740172962924,"filename":"image_21022025_22_20_36_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338922289","file1":"1338922285","file0":"1338922277"},"map_files_photo_id_array":[{"photo_id":"1338922289","filename":"file2"},{"photo_id":"1338922285","filename":"file1"},{"photo_id":"1338922277","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338922285":["hashtag1","hashtag2"]},{"1338922289":["hashtag1","hashtag2"]},{"1338922277":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338922285, 1338922289, 1338922277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.640891075134277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:22:32.699457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/21/image_21022025_22_21_25_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/21/image_21022025_22_21_25_9353.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922355"],"photo_id":"1338922355","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cd45a759305bca87ed9a9f8ff96a5a09.jpg","text":"TemporaryFile(/tmp/multipartBody5973076780944336124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173013106,"filename":"image_21022025_22_21_25_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338922355"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338922355"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.752259969711304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:22:52.666515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/22/image_20022025_22_22_54_9350.jpg', '/home/pi/Desktop/images/20022025/22/22/image_20022025_22_23_04_10347.jpg', '/home/pi/Desktop/images/20022025/22/23/image_20022025_22_23_14_9403.jpg', '/home/pi/Desktop/images/20022025/22/23/image_20022025_22_23_24_10342.jpg', '/home/pi/Desktop/images/20022025/22/23/image_20022025_22_23_44_9421.jpg', '/home/pi/Desktop/images/20022025/22/23/image_20022025_22_23_54_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/22/image_20022025_22_22_54_9350.jpg
/home/pi/Desktop/images/20022025/22/22/image_20022025_22_23_04_10347.jpg
/home/pi/Desktop/images/20022025/22/23/image_20022025_22_23_14_9403.jpg
/home/pi/Desktop/images/20022025/22/23/image_20022025_22_23_24_10342.jpg
/home/pi/Desktop/images/20022025/22/23/image_20022025_22_23_44_9421.jpg
/home/pi/Desktop/images/20022025/22/23/image_20022025_22_23_54_10348.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922433","1338922435","1338922438","1338922365","1338922368","1338922362"],"photo_ids_order":["1338922362","1338922365","1338922368","1338922433","1338922435","1338922438"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62020a3c417c16f6eff7b1debb7bf83c.jpg","text":"TemporaryFile(/tmp/multipartBody6470504029906262383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173034813,"filename":"image_20022025_22_23_24_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/66dc0a017bdddf8d4ee02b765a0d8c99.jpg","text":"TemporaryFile(/tmp/multipartBody2433213146715906461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173034813,"filename":"image_20022025_22_23_44_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c850289a634d4a9333a4922973b52a8.jpg","text":"TemporaryFile(/tmp/multipartBody1865106754071330229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173034813,"filename":"image_20022025_22_23_54_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/da34f0c1cd49bcd4c1b4a7a4641608bc.jpg","text":"TemporaryFile(/tmp/multipartBody6368270034701130392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173034813,"filename":"image_20022025_22_23_04_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/71ade83c64d2e86fbf94bf465c8fce6c.jpg","text":"TemporaryFile(/tmp/multipartBody6743841683535612663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173034813,"filename":"image_20022025_22_23_14_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/facfb58ef8a17afcfd3db0abfabaa18a.jpg","text":"TemporaryFile(/tmp/multipartBody5440321573216505933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173034813,"filename":"image_20022025_22_22_54_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338922368","file1":"1338922365","file0":"1338922362","file4":"1338922435","file5":"1338922438","file3":"1338922433"},"map_files_photo_id_array":[{"photo_id":"1338922438","filename":"file5"},{"photo_id":"1338922368","filename":"file2"},{"photo_id":"1338922435","filename":"file4"},{"photo_id":"1338922365","filename":"file1"},{"photo_id":"1338922362","filename":"file0"},{"photo_id":"1338922433","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338922433":["hashtag1","hashtag2"]},{"1338922435":["hashtag1","hashtag2"]},{"1338922438":["hashtag1","hashtag2"]},{"1338922365":["hashtag1","hashtag2"]},{"1338922368":["hashtag1","hashtag2"]},{"1338922362":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338922433, 1338922435, 1338922438, 1338922365, 1338922368, 1338922362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36275005340576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:23:32.955330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/22/image_21022025_22_22_56_10363.jpg', '/home/pi/Desktop/images/21022025/22/22/image_21022025_22_23_06_10378.jpg', '/home/pi/Desktop/images/21022025/22/23/image_21022025_22_23_46_9386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/22/image_21022025_22_22_56_10363.jpg
/home/pi/Desktop/images/21022025/22/22/image_21022025_22_23_06_10378.jpg
/home/pi/Desktop/images/21022025/22/23/image_21022025_22_23_46_9386.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922451","1338922445","1338922448"],"photo_ids_order":["1338922445","1338922448","1338922451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/652f8f20a4197da4ed307c738a7bf1ef.jpg","text":"TemporaryFile(/tmp/multipartBody1831916998462069437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173073393,"filename":"image_21022025_22_23_46_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc0fc2f862065d70704b9379d90e0448.jpg","text":"TemporaryFile(/tmp/multipartBody4574065698340318269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173073393,"filename":"image_21022025_22_22_56_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83dc667e8c6850415f1cfd3e28d54fa7.jpg","text":"TemporaryFile(/tmp/multipartBody2557701761892470304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173073393,"filename":"image_21022025_22_23_06_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338922451","file1":"1338922448","file0":"1338922445"},"map_files_photo_id_array":[{"photo_id":"1338922451","filename":"file2"},{"photo_id":"1338922448","filename":"file1"},{"photo_id":"1338922445","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338922451":["hashtag1","hashtag2"]},{"1338922445":["hashtag1","hashtag2"]},{"1338922448":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338922451, 1338922445, 1338922448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.70541000366211 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:23:52.826055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/23/image_20022025_22_24_05_10337.jpg', '/home/pi/Desktop/images/20022025/22/24/image_20022025_22_24_14_9316.jpg', '/home/pi/Desktop/images/20022025/22/24/image_20022025_22_24_24_10333.jpg', '/home/pi/Desktop/images/20022025/22/24/image_20022025_22_24_35_10347.jpg', '/home/pi/Desktop/images/20022025/22/24/image_20022025_22_24_44_9336.jpg', '/home/pi/Desktop/images/20022025/22/24/image_20022025_22_24_54_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/23/image_20022025_22_24_05_10337.jpg
/home/pi/Desktop/images/20022025/22/24/image_20022025_22_24_14_9316.jpg
/home/pi/Desktop/images/20022025/22/24/image_20022025_22_24_24_10333.jpg
/home/pi/Desktop/images/20022025/22/24/image_20022025_22_24_35_10347.jpg
/home/pi/Desktop/images/20022025/22/24/image_20022025_22_24_44_9336.jpg
/home/pi/Desktop/images/20022025/22/24/image_20022025_22_24_54_10392.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922466","1338922468","1338922470","1338922458","1338922460","1338922463"],"photo_ids_order":["1338922458","1338922460","1338922463","1338922466","1338922468","1338922470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/43c9b8ce1934d8b38e483cece27e05c6.jpg","text":"TemporaryFile(/tmp/multipartBody3933307021955465645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173094951,"filename":"image_20022025_22_24_35_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d011aaab06e61700e96cc64f2ca50e18.jpg","text":"TemporaryFile(/tmp/multipartBody3454694319995637552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173094951,"filename":"image_20022025_22_24_44_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/46b38ab6a14524eadb375029e19ab69a.jpg","text":"TemporaryFile(/tmp/multipartBody4241691554491417460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173094951,"filename":"image_20022025_22_24_54_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c06a7911ebb65ef997e3930ae3c98a04.jpg","text":"TemporaryFile(/tmp/multipartBody8294190012352575795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173094951,"filename":"image_20022025_22_24_05_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ceb44c29887f5e83108e08bb1e0854b.jpg","text":"TemporaryFile(/tmp/multipartBody7101656254990401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173094951,"filename":"image_20022025_22_24_14_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d5483735e938a54dabcabef5eb493cc4.jpg","text":"TemporaryFile(/tmp/multipartBody663155332214945032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173094951,"filename":"image_20022025_22_24_24_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338922463","file1":"1338922460","file0":"1338922458","file4":"1338922468","file5":"1338922470","file3":"1338922466"},"map_files_photo_id_array":[{"photo_id":"1338922470","filename":"file5"},{"photo_id":"1338922463","filename":"file2"},{"photo_id":"1338922468","filename":"file4"},{"photo_id":"1338922460","filename":"file1"},{"photo_id":"1338922458","filename":"file0"},{"photo_id":"1338922466","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338922466":["hashtag1","hashtag2"]},{"1338922468":["hashtag1","hashtag2"]},{"1338922470":["hashtag1","hashtag2"]},{"1338922458":["hashtag1","hashtag2"]},{"1338922460":["hashtag1","hashtag2"]},{"1338922463":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338922466, 1338922468, 1338922470, 1338922458, 1338922460, 1338922463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.336666107177734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:24:33.071460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/23/image_21022025_22_23_56_10356.jpg', '/home/pi/Desktop/images/21022025/22/23/image_21022025_22_24_05_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/23/image_21022025_22_23_56_10356.jpg
/home/pi/Desktop/images/21022025/22/23/image_21022025_22_24_05_9337.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922477","1338922479"],"photo_ids_order":["1338922477","1338922479"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/27694882f6a53bffba7effa322b3de46.jpg","text":"TemporaryFile(/tmp/multipartBody4749317929017733039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173133495,"filename":"image_21022025_22_23_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b0330f9aedbdc00e07f6e0792dde94a0.jpg","text":"TemporaryFile(/tmp/multipartBody1195795552756866187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173133495,"filename":"image_21022025_22_24_05_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338922479","file0":"1338922477"},"map_files_photo_id_array":[{"photo_id":"1338922479","filename":"file1"},{"photo_id":"1338922477","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338922477":["hashtag1","hashtag2"]},{"1338922479":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338922477, 1338922479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.969539165496826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:24:53.082431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/24/image_20022025_22_25_04_9390.jpg', '/home/pi/Desktop/images/20022025/22/25/image_20022025_22_25_14_10336.jpg', '/home/pi/Desktop/images/20022025/22/25/image_20022025_22_25_25_10481.jpg', '/home/pi/Desktop/images/20022025/22/25/image_20022025_22_25_34_9341.jpg', '/home/pi/Desktop/images/20022025/22/25/image_20022025_22_25_44_10336.jpg', '/home/pi/Desktop/images/20022025/22/25/image_20022025_22_25_55_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/24/image_20022025_22_25_04_9390.jpg
/home/pi/Desktop/images/20022025/22/25/image_20022025_22_25_14_10336.jpg
/home/pi/Desktop/images/20022025/22/25/image_20022025_22_25_25_10481.jpg
/home/pi/Desktop/images/20022025/22/25/image_20022025_22_25_34_9341.jpg
/home/pi/Desktop/images/20022025/22/25/image_20022025_22_25_44_10336.jpg
/home/pi/Desktop/images/20022025/22/25/image_20022025_22_25_55_10402.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922505","1338922492","1338922494","1338922497","1338922501","1338922491"],"photo_ids_order":["1338922491","1338922492","1338922494","1338922497","1338922501","1338922505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b1db20f47bf7558dba659a2debfa8904.jpg","text":"TemporaryFile(/tmp/multipartBody5510773387169917973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173155214,"filename":"image_20022025_22_25_55_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1f343c71897aa6c2bff6d15b6cde4746.jpg","text":"TemporaryFile(/tmp/multipartBody8289033571155898312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173155214,"filename":"image_20022025_22_25_14_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c4a28ba684d9bba700d3953bea7231c5.jpg","text":"TemporaryFile(/tmp/multipartBody2760643901762545958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173155214,"filename":"image_20022025_22_25_25_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/964ad7a934844cb43421e958d46c044a.jpg","text":"TemporaryFile(/tmp/multipartBody4937284320860033401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173155214,"filename":"image_20022025_22_25_34_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d4ef44fa8a26202f53328b9a113add14.jpg","text":"TemporaryFile(/tmp/multipartBody890585616915556432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173155214,"filename":"image_20022025_22_25_44_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d560f3a38f3679ce836f74dbfafd4fc.jpg","text":"TemporaryFile(/tmp/multipartBody5956379529380367130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173155214,"filename":"image_20022025_22_25_04_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338922494","file1":"1338922492","file0":"1338922491","file4":"1338922501","file5":"1338922505","file3":"1338922497"},"map_files_photo_id_array":[{"photo_id":"1338922505","filename":"file5"},{"photo_id":"1338922494","filename":"file2"},{"photo_id":"1338922501","filename":"file4"},{"photo_id":"1338922492","filename":"file1"},{"photo_id":"1338922491","filename":"file0"},{"photo_id":"1338922497","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338922505":["hashtag1","hashtag2"]},{"1338922492":["hashtag1","hashtag2"]},{"1338922494":["hashtag1","hashtag2"]},{"1338922497":["hashtag1","hashtag2"]},{"1338922501":["hashtag1","hashtag2"]},{"1338922491":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338922505, 1338922492, 1338922494, 1338922497, 1338922501, 1338922491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.863593101501465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:25:32.386868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/24/image_21022025_22_24_46_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/24/image_21022025_22_24_46_10349.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922543"],"photo_id":"1338922543","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ccdc6adcdabd52a23f002ac5af24175b.jpg","text":"TemporaryFile(/tmp/multipartBody3178723491500970891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173192798,"filename":"image_21022025_22_24_46_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338922543"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338922543"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.637746095657349 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:25:52.324089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/26/image_20022025_22_26_15_10463.jpg', '/home/pi/Desktop/images/20022025/22/26/image_20022025_22_26_24_9330.jpg', '/home/pi/Desktop/images/20022025/22/26/image_20022025_22_26_34_10324.jpg', '/home/pi/Desktop/images/20022025/22/26/image_20022025_22_26_45_10434.jpg', '/home/pi/Desktop/images/20022025/22/26/image_20022025_22_26_54_9367.jpg', '/home/pi/Desktop/images/20022025/22/26/image_20022025_22_27_04_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/26/image_20022025_22_26_15_10463.jpg
/home/pi/Desktop/images/20022025/22/26/image_20022025_22_26_24_9330.jpg
/home/pi/Desktop/images/20022025/22/26/image_20022025_22_26_34_10324.jpg
/home/pi/Desktop/images/20022025/22/26/image_20022025_22_26_45_10434.jpg
/home/pi/Desktop/images/20022025/22/26/image_20022025_22_26_54_9367.jpg
/home/pi/Desktop/images/20022025/22/26/image_20022025_22_27_04_10332.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922570","1338922645","1338922615","1338922572","1338922641","1338922574"],"photo_ids_order":["1338922570","1338922572","1338922574","1338922615","1338922641","1338922645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a68e8e12f6e43dd92360410f991a686f.jpg","text":"TemporaryFile(/tmp/multipartBody3614966699373616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173214445,"filename":"image_20022025_22_26_15_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d62d2b90a2585ed552c30cee8a1b2fb6.jpg","text":"TemporaryFile(/tmp/multipartBody2490568228159397987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173214445,"filename":"image_20022025_22_27_04_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/89c9b40029b41f897451fae7af820ac9.jpg","text":"TemporaryFile(/tmp/multipartBody8064707987662726296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173214445,"filename":"image_20022025_22_26_45_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4fbb58c1705707be7da0d0db88b08043.jpg","text":"TemporaryFile(/tmp/multipartBody8538764998240217871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173214445,"filename":"image_20022025_22_26_24_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/239e71f4c7059db905eed09c26503f20.jpg","text":"TemporaryFile(/tmp/multipartBody2203440034958972467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173214445,"filename":"image_20022025_22_26_54_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7e3c7b0ec74491ed3a147f3b4e588ce2.jpg","text":"TemporaryFile(/tmp/multipartBody4230536739473958541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173214445,"filename":"image_20022025_22_26_34_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338922574","file1":"1338922572","file0":"1338922570","file4":"1338922641","file5":"1338922645","file3":"1338922615"},"map_files_photo_id_array":[{"photo_id":"1338922645","filename":"file5"},{"photo_id":"1338922574","filename":"file2"},{"photo_id":"1338922641","filename":"file4"},{"photo_id":"1338922572","filename":"file1"},{"photo_id":"1338922570","filename":"file0"},{"photo_id":"1338922615","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338922570":["hashtag1","hashtag2"]},{"1338922645":["hashtag1","hashtag2"]},{"1338922615":["hashtag1","hashtag2"]},{"1338922572":["hashtag1","hashtag2"]},{"1338922641":["hashtag1","hashtag2"]},{"1338922574":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338922570, 1338922645, 1338922615, 1338922572, 1338922641, 1338922574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97233462333679 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:26:32.523131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/25/image_21022025_22_25_16_10336.jpg', '/home/pi/Desktop/images/21022025/22/26/image_21022025_22_26_25_9358.jpg', '/home/pi/Desktop/images/21022025/22/26/image_21022025_22_26_36_10348.jpg', '/home/pi/Desktop/images/21022025/22/26/image_21022025_22_26_46_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/25/image_21022025_22_25_16_10336.jpg
/home/pi/Desktop/images/21022025/22/26/image_21022025_22_26_25_9358.jpg
/home/pi/Desktop/images/21022025/22/26/image_21022025_22_26_36_10348.jpg
/home/pi/Desktop/images/21022025/22/26/image_21022025_22_26_46_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922658","1338922663","1338922666","1338922661"],"photo_ids_order":["1338922658","1338922661","1338922663","1338922666"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/624d5a2953b49bbf8b590b3fbd296790.jpg","text":"TemporaryFile(/tmp/multipartBody1693759586452197984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173252974,"filename":"image_21022025_22_25_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d63d6d4396b20cfd1b225bfc3e30f04.jpg","text":"TemporaryFile(/tmp/multipartBody5172662061910140162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173252974,"filename":"image_21022025_22_26_36_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f87e23759d3604bf12eec0f035d67186.jpg","text":"TemporaryFile(/tmp/multipartBody7526015515720059361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173252974,"filename":"image_21022025_22_26_46_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/22db5a6a4d5eb8c00045b269e340c8c4.jpg","text":"TemporaryFile(/tmp/multipartBody2509023791706635265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173252974,"filename":"image_21022025_22_26_25_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338922663","file1":"1338922661","file0":"1338922658","file3":"1338922666"},"map_files_photo_id_array":[{"photo_id":"1338922663","filename":"file2"},{"photo_id":"1338922661","filename":"file1"},{"photo_id":"1338922658","filename":"file0"},{"photo_id":"1338922666","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338922658":["hashtag1","hashtag2"]},{"1338922663":["hashtag1","hashtag2"]},{"1338922666":["hashtag1","hashtag2"]},{"1338922661":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338922658, 1338922663, 1338922666, 1338922661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.862530946731567 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:27:04.302577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/27/image_20022025_22_27_15_10320.jpg', '/home/pi/Desktop/images/20022025/22/27/image_20022025_22_27_24_9339.jpg', '/home/pi/Desktop/images/20022025/22/27/image_20022025_22_27_34_10332.jpg', '/home/pi/Desktop/images/20022025/22/27/image_20022025_22_27_45_10342.jpg', '/home/pi/Desktop/images/20022025/22/27/image_20022025_22_27_54_9328.jpg', '/home/pi/Desktop/images/20022025/22/27/image_20022025_22_28_04_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/27/image_20022025_22_27_15_10320.jpg
/home/pi/Desktop/images/20022025/22/27/image_20022025_22_27_24_9339.jpg
/home/pi/Desktop/images/20022025/22/27/image_20022025_22_27_34_10332.jpg
/home/pi/Desktop/images/20022025/22/27/image_20022025_22_27_45_10342.jpg
/home/pi/Desktop/images/20022025/22/27/image_20022025_22_27_54_9328.jpg
/home/pi/Desktop/images/20022025/22/27/image_20022025_22_28_04_10408.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922687","1338922692","1338922695","1338922698","1338922685","1338922673"],"photo_ids_order":["1338922673","1338922685","1338922687","1338922692","1338922695","1338922698"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/722a8f0be7734888644c4086e90f34b5.jpg","text":"TemporaryFile(/tmp/multipartBody7375989673567049980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173285894,"filename":"image_20022025_22_27_34_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/09bd852abceebd6e44b0688cddf37554.jpg","text":"TemporaryFile(/tmp/multipartBody1291291662557600828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173285894,"filename":"image_20022025_22_27_45_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0c6a7e4bf0d1204f5029fc07d4f5cc2e.jpg","text":"TemporaryFile(/tmp/multipartBody1196507213697329254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173285894,"filename":"image_20022025_22_27_54_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c2b56ba31ea0bb361c9a2622d743ef49.jpg","text":"TemporaryFile(/tmp/multipartBody5142102772783311194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173285894,"filename":"image_20022025_22_28_04_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d6422ed73657f202dc0a227fb6a96110.jpg","text":"TemporaryFile(/tmp/multipartBody8050479028364196973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173285894,"filename":"image_20022025_22_27_24_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6503851bb8b26f4f2a0fd71af6b6db7f.jpg","text":"TemporaryFile(/tmp/multipartBody5158118497152364663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173285894,"filename":"image_20022025_22_27_15_10320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338922687","file1":"1338922685","file0":"1338922673","file4":"1338922695","file5":"1338922698","file3":"1338922692"},"map_files_photo_id_array":[{"photo_id":"1338922698","filename":"file5"},{"photo_id":"1338922687","filename":"file2"},{"photo_id":"1338922695","filename":"file4"},{"photo_id":"1338922685","filename":"file1"},{"photo_id":"1338922673","filename":"file0"},{"photo_id":"1338922692","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338922687":["hashtag1","hashtag2"]},{"1338922692":["hashtag1","hashtag2"]},{"1338922695":["hashtag1","hashtag2"]},{"1338922698":["hashtag1","hashtag2"]},{"1338922685":["hashtag1","hashtag2"]},{"1338922673":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338922687, 1338922692, 1338922695, 1338922698, 1338922685, 1338922673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.69221067428589 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:27:42.801061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/26/image_21022025_22_26_56_9354.jpg', '/home/pi/Desktop/images/21022025/22/26/image_21022025_22_27_06_10343.jpg', '/home/pi/Desktop/images/21022025/22/27/image_21022025_22_27_16_10340.jpg', '/home/pi/Desktop/images/21022025/22/27/image_21022025_22_27_26_9479.jpg', '/home/pi/Desktop/images/21022025/22/27/image_21022025_22_27_36_10353.jpg', '/home/pi/Desktop/images/21022025/22/27/image_21022025_22_27_45_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/26/image_21022025_22_26_56_9354.jpg
/home/pi/Desktop/images/21022025/22/26/image_21022025_22_27_06_10343.jpg
/home/pi/Desktop/images/21022025/22/27/image_21022025_22_27_16_10340.jpg
/home/pi/Desktop/images/21022025/22/27/image_21022025_22_27_26_9479.jpg
/home/pi/Desktop/images/21022025/22/27/image_21022025_22_27_36_10353.jpg
/home/pi/Desktop/images/21022025/22/27/image_21022025_22_27_45_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922703","1338922714","1338922708","1338922711","1338922705","1338922701"],"photo_ids_order":["1338922701","1338922703","1338922705","1338922708","1338922711","1338922714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/298433a4acd24a79bdbc5cbbdfb6a206.jpg","text":"TemporaryFile(/tmp/multipartBody2903957922186500669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173323283,"filename":"image_21022025_22_27_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/47addc28c3bd0877acdb624cf5e966b0.jpg","text":"TemporaryFile(/tmp/multipartBody4393970655296390377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173323283,"filename":"image_21022025_22_27_45_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ccc69730b7b0bf0d038413465b66697e.jpg","text":"TemporaryFile(/tmp/multipartBody6795347988588338545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173323283,"filename":"image_21022025_22_27_26_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8566678e4279ac9203fcb8f14bb485eb.jpg","text":"TemporaryFile(/tmp/multipartBody6434693470487365809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173323283,"filename":"image_21022025_22_27_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/975ba5b8b492ebe697f71dd3c6ab8265.jpg","text":"TemporaryFile(/tmp/multipartBody3377938906254786461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173323283,"filename":"image_21022025_22_27_16_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/42ff44cee2decde6b4a0fad97171c525.jpg","text":"TemporaryFile(/tmp/multipartBody7873848154950030944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173323283,"filename":"image_21022025_22_26_56_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338922705","file1":"1338922703","file0":"1338922701","file4":"1338922711","file5":"1338922714","file3":"1338922708"},"map_files_photo_id_array":[{"photo_id":"1338922714","filename":"file5"},{"photo_id":"1338922705","filename":"file2"},{"photo_id":"1338922711","filename":"file4"},{"photo_id":"1338922703","filename":"file1"},{"photo_id":"1338922701","filename":"file0"},{"photo_id":"1338922708","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338922703":["hashtag1","hashtag2"]},{"1338922714":["hashtag1","hashtag2"]},{"1338922708":["hashtag1","hashtag2"]},{"1338922711":["hashtag1","hashtag2"]},{"1338922705":["hashtag1","hashtag2"]},{"1338922701":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338922703, 1338922714, 1338922708, 1338922711, 1338922705, 1338922701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60856604576111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:28:32.994124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/27/image_21022025_22_27_56_10355.jpg', '/home/pi/Desktop/images/21022025/22/27/image_21022025_22_28_06_10333.jpg', '/home/pi/Desktop/images/21022025/22/28/image_21022025_22_28_15_9329.jpg', '/home/pi/Desktop/images/21022025/22/28/image_21022025_22_28_36_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/27/image_21022025_22_27_56_10355.jpg
/home/pi/Desktop/images/21022025/22/27/image_21022025_22_28_06_10333.jpg
/home/pi/Desktop/images/21022025/22/28/image_21022025_22_28_15_9329.jpg
/home/pi/Desktop/images/21022025/22/28/image_21022025_22_28_36_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922755","1338922752","1338922760","1338922748"],"photo_ids_order":["1338922748","1338922752","1338922755","1338922760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e3bfa812d59b1d4ede75c99057321de8.jpg","text":"TemporaryFile(/tmp/multipartBody1531076872711243834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173373437,"filename":"image_21022025_22_28_15_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ebe4b3bd6bbb526bfe9702183393276e.jpg","text":"TemporaryFile(/tmp/multipartBody2137689233044999935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173373437,"filename":"image_21022025_22_28_06_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/675e0d9f41cb6484b5f912fb0fb7cf58.jpg","text":"TemporaryFile(/tmp/multipartBody9102385855258657689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173373437,"filename":"image_21022025_22_28_36_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a34875c526f4246956f8fa39630e29d0.jpg","text":"TemporaryFile(/tmp/multipartBody8170174485774841335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173373437,"filename":"image_21022025_22_27_56_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338922755","file1":"1338922752","file0":"1338922748","file3":"1338922760"},"map_files_photo_id_array":[{"photo_id":"1338922755","filename":"file2"},{"photo_id":"1338922752","filename":"file1"},{"photo_id":"1338922748","filename":"file0"},{"photo_id":"1338922760","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338922755":["hashtag1","hashtag2"]},{"1338922752":["hashtag1","hashtag2"]},{"1338922760":["hashtag1","hashtag2"]},{"1338922748":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338922755, 1338922752, 1338922760, 1338922748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.687769412994385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:29:03.819031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/28/image_20022025_22_28_15_10337.jpg', '/home/pi/Desktop/images/20022025/22/28/image_20022025_22_28_24_9310.jpg', '/home/pi/Desktop/images/20022025/22/28/image_20022025_22_28_35_10479.jpg', '/home/pi/Desktop/images/20022025/22/28/image_20022025_22_28_44_9389.jpg', '/home/pi/Desktop/images/20022025/22/28/image_20022025_22_28_54_10321.jpg', '/home/pi/Desktop/images/20022025/22/28/image_20022025_22_29_05_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/28/image_20022025_22_28_15_10337.jpg
/home/pi/Desktop/images/20022025/22/28/image_20022025_22_28_24_9310.jpg
/home/pi/Desktop/images/20022025/22/28/image_20022025_22_28_35_10479.jpg
/home/pi/Desktop/images/20022025/22/28/image_20022025_22_28_44_9389.jpg
/home/pi/Desktop/images/20022025/22/28/image_20022025_22_28_54_10321.jpg
/home/pi/Desktop/images/20022025/22/28/image_20022025_22_29_05_10415.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922771","1338922768","1338922791","1338922778","1338922781","1338922775"],"photo_ids_order":["1338922768","1338922771","1338922775","1338922778","1338922781","1338922791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1f0ac9750c70d9754a00d5ee58d27a6d.jpg","text":"TemporaryFile(/tmp/multipartBody8785400533912374908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173405495,"filename":"image_20022025_22_28_24_9310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d106d92f5f2398fa9db0282bebd5a952.jpg","text":"TemporaryFile(/tmp/multipartBody3367967964797308779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173405495,"filename":"image_20022025_22_28_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d36226227c134b46182bdc41e9ce356.jpg","text":"TemporaryFile(/tmp/multipartBody7819919830545353123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173405495,"filename":"image_20022025_22_29_05_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ab4f089126e2aaf9ed5551941a07ebb.jpg","text":"TemporaryFile(/tmp/multipartBody6487537652976591902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173405495,"filename":"image_20022025_22_28_44_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/66672cf92bc4f4fb580cfd23099b68b9.jpg","text":"TemporaryFile(/tmp/multipartBody1511140439481745933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173405495,"filename":"image_20022025_22_28_54_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/97e7c5ec10a8449a56a19535c4382efd.jpg","text":"TemporaryFile(/tmp/multipartBody7364311777651972486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173405495,"filename":"image_20022025_22_28_35_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338922775","file1":"1338922771","file0":"1338922768","file4":"1338922781","file5":"1338922791","file3":"1338922778"},"map_files_photo_id_array":[{"photo_id":"1338922791","filename":"file5"},{"photo_id":"1338922775","filename":"file2"},{"photo_id":"1338922781","filename":"file4"},{"photo_id":"1338922771","filename":"file1"},{"photo_id":"1338922768","filename":"file0"},{"photo_id":"1338922778","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338922771":["hashtag1","hashtag2"]},{"1338922768":["hashtag1","hashtag2"]},{"1338922791":["hashtag1","hashtag2"]},{"1338922778":["hashtag1","hashtag2"]},{"1338922781":["hashtag1","hashtag2"]},{"1338922775":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338922771, 1338922768, 1338922791, 1338922778, 1338922781, 1338922775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.099907636642456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:29:42.278863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/28/image_21022025_22_28_45_9321.jpg', '/home/pi/Desktop/images/21022025/22/29/image_21022025_22_29_15_9377.jpg', '/home/pi/Desktop/images/21022025/22/29/image_21022025_22_29_36_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/28/image_21022025_22_28_45_9321.jpg
/home/pi/Desktop/images/21022025/22/29/image_21022025_22_29_15_9377.jpg
/home/pi/Desktop/images/21022025/22/29/image_21022025_22_29_36_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922795","1338922797","1338922799"],"photo_ids_order":["1338922795","1338922797","1338922799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1c045520e614fbb48e4de0dedc499ab.jpg","text":"TemporaryFile(/tmp/multipartBody777709576424985256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173442714,"filename":"image_21022025_22_28_45_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/29d8645909cae8df219a0dd49d812ebe.jpg","text":"TemporaryFile(/tmp/multipartBody5346836529367389811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173442714,"filename":"image_21022025_22_29_15_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/35678e8505eff744139733642fcf91a6.jpg","text":"TemporaryFile(/tmp/multipartBody3828438040045412699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173442714,"filename":"image_21022025_22_29_36_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338922799","file1":"1338922797","file0":"1338922795"},"map_files_photo_id_array":[{"photo_id":"1338922799","filename":"file2"},{"photo_id":"1338922797","filename":"file1"},{"photo_id":"1338922795","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338922795":["hashtag1","hashtag2"]},{"1338922797":["hashtag1","hashtag2"]},{"1338922799":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338922795, 1338922797, 1338922799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.76427698135376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:30:32.517804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/29/image_21022025_22_29_56_10439.jpg', '/home/pi/Desktop/images/21022025/22/29/image_21022025_22_30_05_9329.jpg', '/home/pi/Desktop/images/21022025/22/30/image_21022025_22_30_16_10352.jpg', '/home/pi/Desktop/images/21022025/22/30/image_21022025_22_30_26_10346.jpg', '/home/pi/Desktop/images/21022025/22/30/image_21022025_22_30_36_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/29/image_21022025_22_29_56_10439.jpg
/home/pi/Desktop/images/21022025/22/29/image_21022025_22_30_05_9329.jpg
/home/pi/Desktop/images/21022025/22/30/image_21022025_22_30_16_10352.jpg
/home/pi/Desktop/images/21022025/22/30/image_21022025_22_30_26_10346.jpg
/home/pi/Desktop/images/21022025/22/30/image_21022025_22_30_36_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922841","1338922861","1338922854","1338922851","1338922845"],"photo_ids_order":["1338922841","1338922845","1338922851","1338922854","1338922861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/96fe704b3c932d5a0e4370d81b468064.jpg","text":"TemporaryFile(/tmp/multipartBody1341581719102376085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173492974,"filename":"image_21022025_22_29_56_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b2978ad857c6bb46d6b835f2214d59e.jpg","text":"TemporaryFile(/tmp/multipartBody5531449323037529217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173492974,"filename":"image_21022025_22_30_36_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/37fa49840659fcc35fd13c6e98501186.jpg","text":"TemporaryFile(/tmp/multipartBody667982500224909164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173492974,"filename":"image_21022025_22_30_26_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a03117cf4d412aec264c5607466a963c.jpg","text":"TemporaryFile(/tmp/multipartBody5500251090776649833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173492974,"filename":"image_21022025_22_30_16_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/807225d3840300bd27f33a2b9a8e2aa5.jpg","text":"TemporaryFile(/tmp/multipartBody7660937774004134059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173492974,"filename":"image_21022025_22_30_05_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338922851","file1":"1338922845","file0":"1338922841","file4":"1338922861","file3":"1338922854"},"map_files_photo_id_array":[{"photo_id":"1338922851","filename":"file2"},{"photo_id":"1338922861","filename":"file4"},{"photo_id":"1338922845","filename":"file1"},{"photo_id":"1338922841","filename":"file0"},{"photo_id":"1338922854","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338922841":["hashtag1","hashtag2"]},{"1338922861":["hashtag1","hashtag2"]},{"1338922854":["hashtag1","hashtag2"]},{"1338922851":["hashtag1","hashtag2"]},{"1338922845":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338922841, 1338922861, 1338922854, 1338922851, 1338922845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.98647427558899 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:31:32.741150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/30/image_21022025_22_30_55_9347.jpg', '/home/pi/Desktop/images/21022025/22/30/image_21022025_22_31_06_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/30/image_21022025_22_30_55_9347.jpg
/home/pi/Desktop/images/21022025/22/30/image_21022025_22_31_06_10403.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922905","1338922908"],"photo_ids_order":["1338922905","1338922908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/eb5cf415bc1ace82bce72d331012a8b0.jpg","text":"TemporaryFile(/tmp/multipartBody6155207798036767910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173553165,"filename":"image_21022025_22_30_55_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/327d255f0dad905838e7dc814affa679.jpg","text":"TemporaryFile(/tmp/multipartBody9213057121158026804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173553165,"filename":"image_21022025_22_31_06_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338922908","file0":"1338922905"},"map_files_photo_id_array":[{"photo_id":"1338922908","filename":"file1"},{"photo_id":"1338922905","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338922905":["hashtag1","hashtag2"]},{"1338922908":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338922905, 1338922908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.605290174484253 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:31:52.643789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/29/image_20022025_22_29_14_9385.jpg', '/home/pi/Desktop/images/20022025/22/29/image_20022025_22_29_44_9325.jpg', '/home/pi/Desktop/images/20022025/22/29/image_20022025_22_29_54_10335.jpg', '/home/pi/Desktop/images/20022025/22/29/image_20022025_22_30_04_9375.jpg', '/home/pi/Desktop/images/20022025/22/30/image_20022025_22_30_14_10347.jpg', '/home/pi/Desktop/images/20022025/22/30/image_20022025_22_30_25_10480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/29/image_20022025_22_29_14_9385.jpg
/home/pi/Desktop/images/20022025/22/29/image_20022025_22_29_44_9325.jpg
/home/pi/Desktop/images/20022025/22/29/image_20022025_22_29_54_10335.jpg
/home/pi/Desktop/images/20022025/22/29/image_20022025_22_30_04_9375.jpg
/home/pi/Desktop/images/20022025/22/30/image_20022025_22_30_14_10347.jpg
/home/pi/Desktop/images/20022025/22/30/image_20022025_22_30_25_10480.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338922999","1338922996","1338923011","1338923001","1338922994","1338922997"],"photo_ids_order":["1338922994","1338922996","1338922997","1338922999","1338923001","1338923011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80b7b5a209b2a7f381d98ae6e30e510f.jpg","text":"TemporaryFile(/tmp/multipartBody1218821533246026757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173574761,"filename":"image_20022025_22_30_04_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a7edef0b6cb05fa47e2d138bfe978ddf.jpg","text":"TemporaryFile(/tmp/multipartBody6763982426697990662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173574761,"filename":"image_20022025_22_29_44_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/03cdd66036bd46dbdc6440ab402f8bd8.jpg","text":"TemporaryFile(/tmp/multipartBody5035124792249124856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173574761,"filename":"image_20022025_22_30_25_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a90d1b895292bdb9b43180ba791b5b32.jpg","text":"TemporaryFile(/tmp/multipartBody9053258093089805125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173574761,"filename":"image_20022025_22_30_14_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/76b5e35547d3b96f5a5441396c91a8d6.jpg","text":"TemporaryFile(/tmp/multipartBody274439754231082411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173574761,"filename":"image_20022025_22_29_14_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1adb85a231a0882d4d503466d89d4d69.jpg","text":"TemporaryFile(/tmp/multipartBody8841781128223693946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173574761,"filename":"image_20022025_22_29_54_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338922997","file1":"1338922996","file0":"1338922994","file4":"1338923001","file5":"1338923011","file3":"1338922999"},"map_files_photo_id_array":[{"photo_id":"1338923011","filename":"file5"},{"photo_id":"1338922997","filename":"file2"},{"photo_id":"1338923001","filename":"file4"},{"photo_id":"1338922996","filename":"file1"},{"photo_id":"1338922994","filename":"file0"},{"photo_id":"1338922999","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338922999":["hashtag1","hashtag2"]},{"1338922996":["hashtag1","hashtag2"]},{"1338923011":["hashtag1","hashtag2"]},{"1338923001":["hashtag1","hashtag2"]},{"1338922994":["hashtag1","hashtag2"]},{"1338922997":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338922999, 1338922996, 1338923011, 1338923001, 1338922994, 1338922997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70463705062866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:32:32.977299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/31/image_21022025_22_31_16_10352.jpg', '/home/pi/Desktop/images/21022025/22/31/image_21022025_22_32_06_10345.jpg', '/home/pi/Desktop/images/21022025/22/32/image_21022025_22_32_16_9437.jpg', '/home/pi/Desktop/images/21022025/22/32/image_21022025_22_32_26_10384.jpg', '/home/pi/Desktop/images/21022025/22/32/image_21022025_22_32_35_9343.jpg', '/home/pi/Desktop/images/21022025/22/32/image_21022025_22_32_46_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/31/image_21022025_22_31_16_10352.jpg
/home/pi/Desktop/images/21022025/22/31/image_21022025_22_32_06_10345.jpg
/home/pi/Desktop/images/21022025/22/32/image_21022025_22_32_16_9437.jpg
/home/pi/Desktop/images/21022025/22/32/image_21022025_22_32_26_10384.jpg
/home/pi/Desktop/images/21022025/22/32/image_21022025_22_32_35_9343.jpg
/home/pi/Desktop/images/21022025/22/32/image_21022025_22_32_46_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338923023","1338923032","1338923026","1338923029","1338923034","1338923036"],"photo_ids_order":["1338923023","1338923026","1338923029","1338923032","1338923034","1338923036"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ab034fe5ced9a3b701cacbbf17779ac.jpg","text":"TemporaryFile(/tmp/multipartBody1831474576388537816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173613451,"filename":"image_21022025_22_31_16_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/57450325d05a32941b6c7dab0334e778.jpg","text":"TemporaryFile(/tmp/multipartBody5911627431536524122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173613451,"filename":"image_21022025_22_32_26_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f49f22b182a7a29fa51e3b2adc404ed7.jpg","text":"TemporaryFile(/tmp/multipartBody2981973285430493649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173613451,"filename":"image_21022025_22_32_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4be26bc1c2ad9a81fbdab66603917504.jpg","text":"TemporaryFile(/tmp/multipartBody8583640442239825455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173613451,"filename":"image_21022025_22_32_16_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/18b7b50284b7c58b4123b9f3dabbee76.jpg","text":"TemporaryFile(/tmp/multipartBody3629503061550280832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173613451,"filename":"image_21022025_22_32_35_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/746866e5b82dae8f40f8405a19599e24.jpg","text":"TemporaryFile(/tmp/multipartBody3929741414228934179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173613451,"filename":"image_21022025_22_32_46_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338923029","file1":"1338923026","file0":"1338923023","file4":"1338923034","file5":"1338923036","file3":"1338923032"},"map_files_photo_id_array":[{"photo_id":"1338923036","filename":"file5"},{"photo_id":"1338923029","filename":"file2"},{"photo_id":"1338923034","filename":"file4"},{"photo_id":"1338923026","filename":"file1"},{"photo_id":"1338923023","filename":"file0"},{"photo_id":"1338923032","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338923023":["hashtag1","hashtag2"]},{"1338923032":["hashtag1","hashtag2"]},{"1338923026":["hashtag1","hashtag2"]},{"1338923029":["hashtag1","hashtag2"]},{"1338923034":["hashtag1","hashtag2"]},{"1338923036":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338923023, 1338923032, 1338923026, 1338923029, 1338923034, 1338923036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0775671005249 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:33:32.203114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/32/image_21022025_22_32_56_10428.jpg', '/home/pi/Desktop/images/21022025/22/33/image_21022025_22_33_16_10339.jpg', '/home/pi/Desktop/images/21022025/22/33/image_21022025_22_33_36_10486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/32/image_21022025_22_32_56_10428.jpg
/home/pi/Desktop/images/21022025/22/33/image_21022025_22_33_16_10339.jpg
/home/pi/Desktop/images/21022025/22/33/image_21022025_22_33_36_10486.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338923062","1338923064","1338923057"],"photo_ids_order":["1338923057","1338923062","1338923064"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/af8ccd149e0c1eb8e5c025c0256e9fd3.jpg","text":"TemporaryFile(/tmp/multipartBody3356357536791953420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173672646,"filename":"image_21022025_22_33_16_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f0625e6b82b10b0a7e730b9856d0d71.jpg","text":"TemporaryFile(/tmp/multipartBody3309593308213119888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173672646,"filename":"image_21022025_22_33_36_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/31afefb21687e03f293e2621b3f1e0cd.jpg","text":"TemporaryFile(/tmp/multipartBody4406928785213231877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173672646,"filename":"image_21022025_22_32_56_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338923064","file1":"1338923062","file0":"1338923057"},"map_files_photo_id_array":[{"photo_id":"1338923064","filename":"file2"},{"photo_id":"1338923062","filename":"file1"},{"photo_id":"1338923057","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338923062":["hashtag1","hashtag2"]},{"1338923064":["hashtag1","hashtag2"]},{"1338923057":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338923062, 1338923064, 1338923057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.003164768218994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:33:52.297349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/30/image_20022025_22_31_04_9315.jpg', '/home/pi/Desktop/images/20022025/22/31/image_20022025_22_31_14_10385.jpg', '/home/pi/Desktop/images/20022025/22/31/image_20022025_22_31_25_10339.jpg', '/home/pi/Desktop/images/20022025/22/31/image_20022025_22_31_45_10494.jpg', '/home/pi/Desktop/images/20022025/22/31/image_20022025_22_31_54_9336.jpg', '/home/pi/Desktop/images/20022025/22/31/image_20022025_22_32_04_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/30/image_20022025_22_31_04_9315.jpg
/home/pi/Desktop/images/20022025/22/31/image_20022025_22_31_14_10385.jpg
/home/pi/Desktop/images/20022025/22/31/image_20022025_22_31_25_10339.jpg
/home/pi/Desktop/images/20022025/22/31/image_20022025_22_31_45_10494.jpg
/home/pi/Desktop/images/20022025/22/31/image_20022025_22_31_54_9336.jpg
/home/pi/Desktop/images/20022025/22/31/image_20022025_22_32_04_10328.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.0323996543884277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:34:03.206392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/30/image_20022025_22_31_04_9315.jpg', '/home/pi/Desktop/images/20022025/22/31/image_20022025_22_31_14_10385.jpg', '/home/pi/Desktop/images/20022025/22/31/image_20022025_22_31_25_10339.jpg', '/home/pi/Desktop/images/20022025/22/31/image_20022025_22_31_45_10494.jpg', '/home/pi/Desktop/images/20022025/22/31/image_20022025_22_31_54_9336.jpg', '/home/pi/Desktop/images/20022025/22/31/image_20022025_22_32_04_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/30/image_20022025_22_31_04_9315.jpg
/home/pi/Desktop/images/20022025/22/31/image_20022025_22_31_14_10385.jpg
/home/pi/Desktop/images/20022025/22/31/image_20022025_22_31_25_10339.jpg
/home/pi/Desktop/images/20022025/22/31/image_20022025_22_31_45_10494.jpg
/home/pi/Desktop/images/20022025/22/31/image_20022025_22_31_54_9336.jpg
/home/pi/Desktop/images/20022025/22/31/image_20022025_22_32_04_10328.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338923092","1338923272","1338923083","1338923077","1338923088","1338923069"],"photo_ids_order":["1338923069","1338923077","1338923083","1338923088","1338923092","1338923272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7df9dcb6ad82c538fe7cb8159d8aca38.jpg","text":"TemporaryFile(/tmp/multipartBody3919108335849930109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173704621,"filename":"image_20022025_22_31_54_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/805fd7fb84751aa2a3835e163db2b3d4.jpg","text":"TemporaryFile(/tmp/multipartBody4493058455623585917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173704621,"filename":"image_20022025_22_32_04_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/774885ff0fedb528e60433ee8993e146.jpg","text":"TemporaryFile(/tmp/multipartBody7570399979263876051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173704621,"filename":"image_20022025_22_31_25_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1618489f22efae253f9f1125c5b93c64.jpg","text":"TemporaryFile(/tmp/multipartBody8469988581324667424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173704621,"filename":"image_20022025_22_31_14_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7953cae7290869f04b8af949715e0cd3.jpg","text":"TemporaryFile(/tmp/multipartBody227391164732851045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173704621,"filename":"image_20022025_22_31_45_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/475656bb5d1947f1d09badfeeba11e24.jpg","text":"TemporaryFile(/tmp/multipartBody8626015207552229747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173704621,"filename":"image_20022025_22_31_04_9315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338923083","file1":"1338923077","file0":"1338923069","file4":"1338923092","file5":"1338923272","file3":"1338923088"},"map_files_photo_id_array":[{"photo_id":"1338923272","filename":"file5"},{"photo_id":"1338923083","filename":"file2"},{"photo_id":"1338923092","filename":"file4"},{"photo_id":"1338923077","filename":"file1"},{"photo_id":"1338923069","filename":"file0"},{"photo_id":"1338923088","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338923092":["hashtag1","hashtag2"]},{"1338923272":["hashtag1","hashtag2"]},{"1338923083":["hashtag1","hashtag2"]},{"1338923077":["hashtag1","hashtag2"]},{"1338923088":["hashtag1","hashtag2"]},{"1338923069":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338923092, 1338923272, 1338923083, 1338923077, 1338923088, 1338923069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04753136634827 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:34:42.537366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/33/image_21022025_22_33_46_10348.jpg', '/home/pi/Desktop/images/21022025/22/33/image_21022025_22_34_06_10407.jpg', '/home/pi/Desktop/images/21022025/22/34/image_21022025_22_34_16_10331.jpg', '/home/pi/Desktop/images/21022025/22/34/image_21022025_22_34_26_9450.jpg', '/home/pi/Desktop/images/21022025/22/34/image_21022025_22_34_36_10334.jpg', '/home/pi/Desktop/images/21022025/22/34/image_21022025_22_34_45_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/33/image_21022025_22_33_46_10348.jpg
/home/pi/Desktop/images/21022025/22/33/image_21022025_22_34_06_10407.jpg
/home/pi/Desktop/images/21022025/22/34/image_21022025_22_34_16_10331.jpg
/home/pi/Desktop/images/21022025/22/34/image_21022025_22_34_26_9450.jpg
/home/pi/Desktop/images/21022025/22/34/image_21022025_22_34_36_10334.jpg
/home/pi/Desktop/images/21022025/22/34/image_21022025_22_34_45_9385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338924349","1338924340","1338924328","1338924336","1338924347","1338924338"],"photo_ids_order":["1338924328","1338924336","1338924338","1338924340","1338924347","1338924349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7d8ad33dc65663c468b3717e3c8493c.jpg","text":"TemporaryFile(/tmp/multipartBody7610118871441561928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173743012,"filename":"image_21022025_22_34_45_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b610d1f1ab5ac57d6ed524de236214a9.jpg","text":"TemporaryFile(/tmp/multipartBody3844614906282601990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173743012,"filename":"image_21022025_22_34_26_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c549be357225abc71570d88e6159362d.jpg","text":"TemporaryFile(/tmp/multipartBody6432740109712252201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173743012,"filename":"image_21022025_22_33_46_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/86d35ad4cfb30583ee02577a5190b749.jpg","text":"TemporaryFile(/tmp/multipartBody649217687609416260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173743012,"filename":"image_21022025_22_34_06_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3a30179db5fe425c311d49725dcb9195.jpg","text":"TemporaryFile(/tmp/multipartBody4834827382893255318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173743012,"filename":"image_21022025_22_34_36_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e293f65604d1fba070c9186800e64f18.jpg","text":"TemporaryFile(/tmp/multipartBody2799038284410725999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173743012,"filename":"image_21022025_22_34_16_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338924338","file1":"1338924336","file0":"1338924328","file4":"1338924347","file5":"1338924349","file3":"1338924340"},"map_files_photo_id_array":[{"photo_id":"1338924349","filename":"file5"},{"photo_id":"1338924338","filename":"file2"},{"photo_id":"1338924347","filename":"file4"},{"photo_id":"1338924336","filename":"file1"},{"photo_id":"1338924328","filename":"file0"},{"photo_id":"1338924340","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338924349":["hashtag1","hashtag2"]},{"1338924340":["hashtag1","hashtag2"]},{"1338924328":["hashtag1","hashtag2"]},{"1338924336":["hashtag1","hashtag2"]},{"1338924347":["hashtag1","hashtag2"]},{"1338924338":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338924349, 1338924340, 1338924328, 1338924336, 1338924347, 1338924338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64034867286682 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:35:32.848293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/34/image_21022025_22_34_56_10412.jpg', '/home/pi/Desktop/images/21022025/22/35/image_21022025_22_35_16_9326.jpg', '/home/pi/Desktop/images/21022025/22/35/image_21022025_22_35_46_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/34/image_21022025_22_34_56_10412.jpg
/home/pi/Desktop/images/21022025/22/35/image_21022025_22_35_16_9326.jpg
/home/pi/Desktop/images/21022025/22/35/image_21022025_22_35_46_9446.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.35120153427124023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:35:42.801874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/34/image_21022025_22_34_56_10412.jpg', '/home/pi/Desktop/images/21022025/22/35/image_21022025_22_35_16_9326.jpg', '/home/pi/Desktop/images/21022025/22/35/image_21022025_22_35_46_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/34/image_21022025_22_34_56_10412.jpg
/home/pi/Desktop/images/21022025/22/35/image_21022025_22_35_16_9326.jpg
/home/pi/Desktop/images/21022025/22/35/image_21022025_22_35_46_9446.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338924448","1338924378","1338924380"],"photo_ids_order":["1338924378","1338924380","1338924448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74d762c9a33869971744a45989d3e603.jpg","text":"TemporaryFile(/tmp/multipartBody1094075199942326964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173803290,"filename":"image_21022025_22_35_46_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ee9aa3e64fb9d5420a7f3c466ac217df.jpg","text":"TemporaryFile(/tmp/multipartBody7253618852052244308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173803290,"filename":"image_21022025_22_34_56_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1eed4a6e1da10a3d4bc4d87f5badbf17.jpg","text":"TemporaryFile(/tmp/multipartBody641066966449831863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173803290,"filename":"image_21022025_22_35_16_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338924448","file1":"1338924380","file0":"1338924378"},"map_files_photo_id_array":[{"photo_id":"1338924448","filename":"file2"},{"photo_id":"1338924380","filename":"file1"},{"photo_id":"1338924378","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338924448":["hashtag1","hashtag2"]},{"1338924378":["hashtag1","hashtag2"]},{"1338924380":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338924448, 1338924378, 1338924380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.51278519630432 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:36:03.615313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/32/image_20022025_22_32_15_10418.jpg', '/home/pi/Desktop/images/20022025/22/32/image_20022025_22_32_24_9329.jpg', '/home/pi/Desktop/images/20022025/22/32/image_20022025_22_32_34_10445.jpg', '/home/pi/Desktop/images/20022025/22/32/image_20022025_22_32_45_10348.jpg', '/home/pi/Desktop/images/20022025/22/32/image_20022025_22_32_54_9340.jpg', '/home/pi/Desktop/images/20022025/22/32/image_20022025_22_33_04_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/32/image_20022025_22_32_15_10418.jpg
/home/pi/Desktop/images/20022025/22/32/image_20022025_22_32_24_9329.jpg
/home/pi/Desktop/images/20022025/22/32/image_20022025_22_32_34_10445.jpg
/home/pi/Desktop/images/20022025/22/32/image_20022025_22_32_45_10348.jpg
/home/pi/Desktop/images/20022025/22/32/image_20022025_22_32_54_9340.jpg
/home/pi/Desktop/images/20022025/22/32/image_20022025_22_33_04_10328.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338925026","1338924645","1338925326","1338924768","1338925484","1338924641"],"photo_ids_order":["1338924641","1338924645","1338924768","1338925026","1338925326","1338925484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e947fe5c822c25884eca85388f1934d5.jpg","text":"TemporaryFile(/tmp/multipartBody610025123674554792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173828136,"filename":"image_20022025_22_32_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/11c31ab881a93b02bbd278c4624e9119.jpg","text":"TemporaryFile(/tmp/multipartBody5837420006190630286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173828136,"filename":"image_20022025_22_32_24_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/19d9ad430d20a0b6748202c9f46a1928.jpg","text":"TemporaryFile(/tmp/multipartBody8922495225318544100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173828136,"filename":"image_20022025_22_32_54_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9d1a37e3da94f02de953dfba91cf99ad.jpg","text":"TemporaryFile(/tmp/multipartBody1427015982107005674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173828136,"filename":"image_20022025_22_32_34_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/014eba8a586dd9fed1c6c5ac5075444d.jpg","text":"TemporaryFile(/tmp/multipartBody299643710622447541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173828136,"filename":"image_20022025_22_33_04_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/10c437854ea8459ac3c55616dc3c5054.jpg","text":"TemporaryFile(/tmp/multipartBody9094723184225023070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173828136,"filename":"image_20022025_22_32_15_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338924768","file1":"1338924645","file0":"1338924641","file4":"1338925326","file5":"1338925484","file3":"1338925026"},"map_files_photo_id_array":[{"photo_id":"1338925484","filename":"file5"},{"photo_id":"1338924768","filename":"file2"},{"photo_id":"1338925326","filename":"file4"},{"photo_id":"1338924645","filename":"file1"},{"photo_id":"1338924641","filename":"file0"},{"photo_id":"1338925026","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338925026":["hashtag1","hashtag2"]},{"1338924645":["hashtag1","hashtag2"]},{"1338925326":["hashtag1","hashtag2"]},{"1338924768":["hashtag1","hashtag2"]},{"1338925484":["hashtag1","hashtag2"]},{"1338924641":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338925026, 1338924645, 1338925326, 1338924768, 1338925484, 1338924641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16268706321716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:36:42.917451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/35/image_21022025_22_35_56_10428.jpg', '/home/pi/Desktop/images/21022025/22/36/image_21022025_22_36_26_10419.jpg', '/home/pi/Desktop/images/21022025/22/36/image_21022025_22_36_36_9407.jpg', '/home/pi/Desktop/images/21022025/22/36/image_21022025_22_36_46_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/35/image_21022025_22_35_56_10428.jpg
/home/pi/Desktop/images/21022025/22/36/image_21022025_22_36_26_10419.jpg
/home/pi/Desktop/images/21022025/22/36/image_21022025_22_36_36_9407.jpg
/home/pi/Desktop/images/21022025/22/36/image_21022025_22_36_46_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338925557","1338925554","1338925555","1338925543"],"photo_ids_order":["1338925543","1338925554","1338925555","1338925557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d293468a0ccde00cdaadb339e3fc0e0a.jpg","text":"TemporaryFile(/tmp/multipartBody4330157004152005057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173863364,"filename":"image_21022025_22_36_46_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/af03828378e860d39e42f12bbeb21fd6.jpg","text":"TemporaryFile(/tmp/multipartBody5450712738265758018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173863364,"filename":"image_21022025_22_36_26_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0c3ac255e358eb67c1242bc893f093de.jpg","text":"TemporaryFile(/tmp/multipartBody1241046777008818747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173863364,"filename":"image_21022025_22_36_36_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8ce9b8980a48ee423c01c2d9b2dc6c7.jpg","text":"TemporaryFile(/tmp/multipartBody7937337294942833186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173863364,"filename":"image_21022025_22_35_56_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338925555","file1":"1338925554","file0":"1338925543","file3":"1338925557"},"map_files_photo_id_array":[{"photo_id":"1338925555","filename":"file2"},{"photo_id":"1338925554","filename":"file1"},{"photo_id":"1338925543","filename":"file0"},{"photo_id":"1338925557","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338925557":["hashtag1","hashtag2"]},{"1338925554":["hashtag1","hashtag2"]},{"1338925555":["hashtag1","hashtag2"]},{"1338925543":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338925557, 1338925554, 1338925555, 1338925543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.67785882949829 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:37:33.186884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/36/image_21022025_22_36_55_9356.jpg', '/home/pi/Desktop/images/21022025/22/36/image_21022025_22_37_06_10427.jpg', '/home/pi/Desktop/images/21022025/22/37/image_21022025_22_37_16_10344.jpg', '/home/pi/Desktop/images/21022025/22/37/image_21022025_22_37_26_9485.jpg', '/home/pi/Desktop/images/21022025/22/37/image_21022025_22_37_45_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/36/image_21022025_22_36_55_9356.jpg
/home/pi/Desktop/images/21022025/22/36/image_21022025_22_37_06_10427.jpg
/home/pi/Desktop/images/21022025/22/37/image_21022025_22_37_16_10344.jpg
/home/pi/Desktop/images/21022025/22/37/image_21022025_22_37_26_9485.jpg
/home/pi/Desktop/images/21022025/22/37/image_21022025_22_37_45_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338925866","1338925863","1338925758","1338925865","1338925868"],"photo_ids_order":["1338925758","1338925863","1338925865","1338925866","1338925868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2924deff4449656573bcccfd134bf921.jpg","text":"TemporaryFile(/tmp/multipartBody2815659013138128743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173913693,"filename":"image_21022025_22_37_26_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2be1dffcc99f98a64fc64b0b019ca2f4.jpg","text":"TemporaryFile(/tmp/multipartBody8062951173051774455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173913693,"filename":"image_21022025_22_37_06_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9967b85733be71bb49ebac387b30b22f.jpg","text":"TemporaryFile(/tmp/multipartBody1049586796199712431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173913693,"filename":"image_21022025_22_36_55_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0926b20943574eb20e088a64172040d1.jpg","text":"TemporaryFile(/tmp/multipartBody7335033403273141635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173913693,"filename":"image_21022025_22_37_16_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b485736fd6581aabe8278621c1b7a1e3.jpg","text":"TemporaryFile(/tmp/multipartBody8111926877907719113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173913693,"filename":"image_21022025_22_37_45_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338925865","file1":"1338925863","file0":"1338925758","file4":"1338925868","file3":"1338925866"},"map_files_photo_id_array":[{"photo_id":"1338925865","filename":"file2"},{"photo_id":"1338925868","filename":"file4"},{"photo_id":"1338925863","filename":"file1"},{"photo_id":"1338925758","filename":"file0"},{"photo_id":"1338925866","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338925866":["hashtag1","hashtag2"]},{"1338925863":["hashtag1","hashtag2"]},{"1338925758":["hashtag1","hashtag2"]},{"1338925865":["hashtag1","hashtag2"]},{"1338925868":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338925866, 1338925863, 1338925758, 1338925865, 1338925868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.149632930755615 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:38:32.355161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/37/image_21022025_22_37_56_10429.jpg', '/home/pi/Desktop/images/21022025/22/37/image_21022025_22_38_06_10340.jpg', '/home/pi/Desktop/images/21022025/22/38/image_21022025_22_38_35_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/37/image_21022025_22_37_56_10429.jpg
/home/pi/Desktop/images/21022025/22/37/image_21022025_22_38_06_10340.jpg
/home/pi/Desktop/images/21022025/22/38/image_21022025_22_38_35_9425.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926127","1338926121","1338926125"],"photo_ids_order":["1338926121","1338926125","1338926127"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9a465a4307ce4c20d71290bd6bd15852.jpg","text":"TemporaryFile(/tmp/multipartBody1009883073196161677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173972797,"filename":"image_21022025_22_38_35_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c138c4ee7b28f430dc0226520d93a7cd.jpg","text":"TemporaryFile(/tmp/multipartBody9075730327484984196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173972797,"filename":"image_21022025_22_37_56_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4ff13db866306f9bee5cc6449acde0a5.jpg","text":"TemporaryFile(/tmp/multipartBody5650647673269045249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173972797,"filename":"image_21022025_22_38_06_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926127","file1":"1338926125","file0":"1338926121"},"map_files_photo_id_array":[{"photo_id":"1338926127","filename":"file2"},{"photo_id":"1338926125","filename":"file1"},{"photo_id":"1338926121","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338926127":["hashtag1","hashtag2"]},{"1338926121":["hashtag1","hashtag2"]},{"1338926125":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338926127, 1338926121, 1338926125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.393425464630127 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:38:52.309900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/33/image_20022025_22_33_15_10341.jpg', '/home/pi/Desktop/images/20022025/22/33/image_20022025_22_33_24_9511.jpg', '/home/pi/Desktop/images/20022025/22/33/image_20022025_22_33_35_10402.jpg', '/home/pi/Desktop/images/20022025/22/33/image_20022025_22_33_44_9336.jpg', '/home/pi/Desktop/images/20022025/22/33/image_20022025_22_33_54_10333.jpg', '/home/pi/Desktop/images/20022025/22/33/image_20022025_22_34_05_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/33/image_20022025_22_33_15_10341.jpg
/home/pi/Desktop/images/20022025/22/33/image_20022025_22_33_24_9511.jpg
/home/pi/Desktop/images/20022025/22/33/image_20022025_22_33_35_10402.jpg
/home/pi/Desktop/images/20022025/22/33/image_20022025_22_33_44_9336.jpg
/home/pi/Desktop/images/20022025/22/33/image_20022025_22_33_54_10333.jpg
/home/pi/Desktop/images/20022025/22/33/image_20022025_22_34_05_10376.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926142","1338926168","1338926165","1338926144","1338926152","1338926158"],"photo_ids_order":["1338926142","1338926144","1338926152","1338926158","1338926165","1338926168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4cdf0c834394c91d6052511fc7aed54a.jpg","text":"TemporaryFile(/tmp/multipartBody4182670351125157044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173994524,"filename":"image_20022025_22_33_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8baa027741e3518b957269ea151226f0.jpg","text":"TemporaryFile(/tmp/multipartBody6574708885120467839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173994524,"filename":"image_20022025_22_34_05_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c2926e1cb003f898a210bee65cf711d2.jpg","text":"TemporaryFile(/tmp/multipartBody5173337090446912458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173994524,"filename":"image_20022025_22_33_54_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff1ec518905c91b5986a3955b8bae54e.jpg","text":"TemporaryFile(/tmp/multipartBody2646583290006769594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173994524,"filename":"image_20022025_22_33_24_9511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/55a02d631de3f6e9c3065e3e3466c4dd.jpg","text":"TemporaryFile(/tmp/multipartBody4066663299914955860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173994524,"filename":"image_20022025_22_33_35_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75afc1fd1f48c2e28b72e8f779663364.jpg","text":"TemporaryFile(/tmp/multipartBody2707230220095461952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740173994524,"filename":"image_20022025_22_33_44_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926152","file1":"1338926144","file0":"1338926142","file4":"1338926165","file5":"1338926168","file3":"1338926158"},"map_files_photo_id_array":[{"photo_id":"1338926168","filename":"file5"},{"photo_id":"1338926152","filename":"file2"},{"photo_id":"1338926165","filename":"file4"},{"photo_id":"1338926144","filename":"file1"},{"photo_id":"1338926142","filename":"file0"},{"photo_id":"1338926158","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338926142":["hashtag1","hashtag2"]},{"1338926168":["hashtag1","hashtag2"]},{"1338926165":["hashtag1","hashtag2"]},{"1338926144":["hashtag1","hashtag2"]},{"1338926152":["hashtag1","hashtag2"]},{"1338926158":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338926142, 1338926168, 1338926165, 1338926144, 1338926152, 1338926158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.869251012802124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:39:32.486847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/38/image_21022025_22_38_46_10386.jpg', '/home/pi/Desktop/images/21022025/22/38/image_21022025_22_39_05_9339.jpg', '/home/pi/Desktop/images/21022025/22/39/image_21022025_22_39_16_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/38/image_21022025_22_38_46_10386.jpg
/home/pi/Desktop/images/21022025/22/38/image_21022025_22_39_05_9339.jpg
/home/pi/Desktop/images/21022025/22/39/image_21022025_22_39_16_10339.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3504922389984131 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:39:42.476736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/38/image_21022025_22_38_46_10386.jpg', '/home/pi/Desktop/images/21022025/22/38/image_21022025_22_39_05_9339.jpg', '/home/pi/Desktop/images/21022025/22/39/image_21022025_22_39_16_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/38/image_21022025_22_38_46_10386.jpg
/home/pi/Desktop/images/21022025/22/38/image_21022025_22_39_05_9339.jpg
/home/pi/Desktop/images/21022025/22/39/image_21022025_22_39_16_10339.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926218","1338926206","1338926209"],"photo_ids_order":["1338926206","1338926209","1338926218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4d4988a1b11efd12e2706fbea85d00a6.jpg","text":"TemporaryFile(/tmp/multipartBody3505389298140613839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174042925,"filename":"image_21022025_22_39_16_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4ffb155c1833366ffbbf5e14f01df628.jpg","text":"TemporaryFile(/tmp/multipartBody7555523633626523177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174042925,"filename":"image_21022025_22_38_46_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/421994e15264d9ac6e2d24a0eaa2e524.jpg","text":"TemporaryFile(/tmp/multipartBody6031701548824600237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174042925,"filename":"image_21022025_22_39_05_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926218","file1":"1338926209","file0":"1338926206"},"map_files_photo_id_array":[{"photo_id":"1338926218","filename":"file2"},{"photo_id":"1338926209","filename":"file1"},{"photo_id":"1338926206","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338926218":["hashtag1","hashtag2"]},{"1338926206":["hashtag1","hashtag2"]},{"1338926209":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338926218, 1338926206, 1338926209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.282745599746704 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:40:32.672365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/39/image_21022025_22_39_46_10356.jpg', '/home/pi/Desktop/images/21022025/22/39/image_21022025_22_40_06_9442.jpg', '/home/pi/Desktop/images/21022025/22/40/image_21022025_22_40_16_10324.jpg', '/home/pi/Desktop/images/21022025/22/40/image_21022025_22_40_25_9353.jpg', '/home/pi/Desktop/images/21022025/22/40/image_21022025_22_40_36_10385.jpg', '/home/pi/Desktop/images/21022025/22/40/image_21022025_22_40_46_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/39/image_21022025_22_39_46_10356.jpg
/home/pi/Desktop/images/21022025/22/39/image_21022025_22_40_06_9442.jpg
/home/pi/Desktop/images/21022025/22/40/image_21022025_22_40_16_10324.jpg
/home/pi/Desktop/images/21022025/22/40/image_21022025_22_40_25_9353.jpg
/home/pi/Desktop/images/21022025/22/40/image_21022025_22_40_36_10385.jpg
/home/pi/Desktop/images/21022025/22/40/image_21022025_22_40_46_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926246","1338926260","1338926254","1338926248","1338926242","1338926250"],"photo_ids_order":["1338926242","1338926246","1338926248","1338926250","1338926254","1338926260"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/47769cd642848563480458b51c88a409.jpg","text":"TemporaryFile(/tmp/multipartBody4766516416834692970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174093155,"filename":"image_21022025_22_40_06_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0396d27a9678bfced71ac8bce5c91cfa.jpg","text":"TemporaryFile(/tmp/multipartBody4541148102542291309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174093155,"filename":"image_21022025_22_40_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f13ddd1ebcd412588557c00fd655a9ec.jpg","text":"TemporaryFile(/tmp/multipartBody1393456789831309346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174093155,"filename":"image_21022025_22_40_36_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f19bab493c3161d93a28f7776c1fbaec.jpg","text":"TemporaryFile(/tmp/multipartBody3167591102690771722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174093155,"filename":"image_21022025_22_40_16_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ba5eeb11fcae1f9b37037ac1ffaf1d7e.jpg","text":"TemporaryFile(/tmp/multipartBody7544863196977843096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174093155,"filename":"image_21022025_22_39_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/adc3239e0849ee55063378c93a5adf44.jpg","text":"TemporaryFile(/tmp/multipartBody8848142621827096248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174093155,"filename":"image_21022025_22_40_25_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926248","file1":"1338926246","file0":"1338926242","file4":"1338926254","file5":"1338926260","file3":"1338926250"},"map_files_photo_id_array":[{"photo_id":"1338926260","filename":"file5"},{"photo_id":"1338926248","filename":"file2"},{"photo_id":"1338926254","filename":"file4"},{"photo_id":"1338926246","filename":"file1"},{"photo_id":"1338926242","filename":"file0"},{"photo_id":"1338926250","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338926246":["hashtag1","hashtag2"]},{"1338926260":["hashtag1","hashtag2"]},{"1338926254":["hashtag1","hashtag2"]},{"1338926248":["hashtag1","hashtag2"]},{"1338926242":["hashtag1","hashtag2"]},{"1338926250":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338926246, 1338926260, 1338926254, 1338926248, 1338926242, 1338926250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.757166385650635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:41:32.931041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/40/image_21022025_22_40_56_9439.jpg', '/home/pi/Desktop/images/21022025/22/41/image_21022025_22_41_16_10332.jpg', '/home/pi/Desktop/images/21022025/22/41/image_21022025_22_41_36_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/40/image_21022025_22_40_56_9439.jpg
/home/pi/Desktop/images/21022025/22/41/image_21022025_22_41_16_10332.jpg
/home/pi/Desktop/images/21022025/22/41/image_21022025_22_41_36_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926321","1338926318","1338926312"],"photo_ids_order":["1338926312","1338926318","1338926321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d681ea23ee3ac7b4e8f116562d39dcad.jpg","text":"TemporaryFile(/tmp/multipartBody679219428352992717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174153363,"filename":"image_21022025_22_41_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5a0af5afb816fcf70b9f81486804155c.jpg","text":"TemporaryFile(/tmp/multipartBody98267321432545259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174153363,"filename":"image_21022025_22_41_16_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a72f8feba065547f5524704f996d2791.jpg","text":"TemporaryFile(/tmp/multipartBody6570691267783203771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174153363,"filename":"image_21022025_22_40_56_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926321","file1":"1338926318","file0":"1338926312"},"map_files_photo_id_array":[{"photo_id":"1338926321","filename":"file2"},{"photo_id":"1338926318","filename":"file1"},{"photo_id":"1338926312","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338926321":["hashtag1","hashtag2"]},{"1338926318":["hashtag1","hashtag2"]},{"1338926312":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338926321, 1338926318, 1338926312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.540056943893433 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:42:02.906567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/34/image_20022025_22_34_14_9324.jpg', '/home/pi/Desktop/images/20022025/22/34/image_20022025_22_34_24_10344.jpg', '/home/pi/Desktop/images/20022025/22/34/image_20022025_22_34_44_10348.jpg', '/home/pi/Desktop/images/20022025/22/34/image_20022025_22_34_55_10418.jpg', '/home/pi/Desktop/images/20022025/22/34/image_20022025_22_35_04_9313.jpg', '/home/pi/Desktop/images/20022025/22/35/image_20022025_22_35_14_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/34/image_20022025_22_34_14_9324.jpg
/home/pi/Desktop/images/20022025/22/34/image_20022025_22_34_24_10344.jpg
/home/pi/Desktop/images/20022025/22/34/image_20022025_22_34_44_10348.jpg
/home/pi/Desktop/images/20022025/22/34/image_20022025_22_34_55_10418.jpg
/home/pi/Desktop/images/20022025/22/34/image_20022025_22_35_04_9313.jpg
/home/pi/Desktop/images/20022025/22/35/image_20022025_22_35_14_10368.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926350","1338926374","1338926347","1338926361","1338926355","1338926364"],"photo_ids_order":["1338926347","1338926350","1338926355","1338926361","1338926364","1338926374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7d98a3ac8525a1177da48a43dac63d94.jpg","text":"TemporaryFile(/tmp/multipartBody7405572406194447594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174184405,"filename":"image_20022025_22_34_24_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8c1114902f1b1e5a6c8c4f60d1d5efd.jpg","text":"TemporaryFile(/tmp/multipartBody8137745249574032401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174184405,"filename":"image_20022025_22_35_14_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f3219d86a11d67436d00abce7979b97.jpg","text":"TemporaryFile(/tmp/multipartBody7342073288785982804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174184405,"filename":"image_20022025_22_34_14_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8f654f9ab5d6051de12a1cc95877db20.jpg","text":"TemporaryFile(/tmp/multipartBody1708108481017243449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174184405,"filename":"image_20022025_22_34_55_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7edb978f8e5b0df07513ec8d748babbb.jpg","text":"TemporaryFile(/tmp/multipartBody7886644178051589654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174184405,"filename":"image_20022025_22_34_44_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e73711ec41e64a84ff4decfeee32ca1.jpg","text":"TemporaryFile(/tmp/multipartBody2264068705692513251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174184405,"filename":"image_20022025_22_35_04_9313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926355","file1":"1338926350","file0":"1338926347","file4":"1338926364","file5":"1338926374","file3":"1338926361"},"map_files_photo_id_array":[{"photo_id":"1338926374","filename":"file5"},{"photo_id":"1338926355","filename":"file2"},{"photo_id":"1338926364","filename":"file4"},{"photo_id":"1338926350","filename":"file1"},{"photo_id":"1338926347","filename":"file0"},{"photo_id":"1338926361","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338926350":["hashtag1","hashtag2"]},{"1338926374":["hashtag1","hashtag2"]},{"1338926347":["hashtag1","hashtag2"]},{"1338926361":["hashtag1","hashtag2"]},{"1338926355":["hashtag1","hashtag2"]},{"1338926364":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338926350, 1338926374, 1338926347, 1338926361, 1338926355, 1338926364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99812936782837 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:42:42.180850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/41/image_21022025_22_41_45_9355.jpg', '/home/pi/Desktop/images/21022025/22/42/image_21022025_22_42_26_10362.jpg', '/home/pi/Desktop/images/21022025/22/42/image_21022025_22_42_35_9344.jpg', '/home/pi/Desktop/images/21022025/22/42/image_21022025_22_42_46_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/41/image_21022025_22_41_45_9355.jpg
/home/pi/Desktop/images/21022025/22/42/image_21022025_22_42_26_10362.jpg
/home/pi/Desktop/images/21022025/22/42/image_21022025_22_42_35_9344.jpg
/home/pi/Desktop/images/21022025/22/42/image_21022025_22_42_46_10446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926390","1338926384","1338926386","1338926388"],"photo_ids_order":["1338926384","1338926386","1338926388","1338926390"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/463092ce4e5141d0fe249b858d28659b.jpg","text":"TemporaryFile(/tmp/multipartBody6601820897762412348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174222623,"filename":"image_21022025_22_42_46_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a43436bf8b184667fdea59a1e2dd185.jpg","text":"TemporaryFile(/tmp/multipartBody2263365184070401068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174222623,"filename":"image_21022025_22_41_45_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3be72cd82ee19e2f894109061073b03c.jpg","text":"TemporaryFile(/tmp/multipartBody5019970229574429858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174222623,"filename":"image_21022025_22_42_26_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fed8b721e36e1aa5a371d91dc530830d.jpg","text":"TemporaryFile(/tmp/multipartBody5137016582630576697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174222623,"filename":"image_21022025_22_42_35_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926388","file1":"1338926386","file0":"1338926384","file3":"1338926390"},"map_files_photo_id_array":[{"photo_id":"1338926388","filename":"file2"},{"photo_id":"1338926386","filename":"file1"},{"photo_id":"1338926384","filename":"file0"},{"photo_id":"1338926390","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338926390":["hashtag1","hashtag2"]},{"1338926384":["hashtag1","hashtag2"]},{"1338926386":["hashtag1","hashtag2"]},{"1338926388":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338926390, 1338926384, 1338926386, 1338926388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.708556413650513 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:43:32.433426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/42/image_21022025_22_42_56_10345.jpg', '/home/pi/Desktop/images/21022025/22/42/image_21022025_22_43_06_9464.jpg', '/home/pi/Desktop/images/21022025/22/43/image_21022025_22_43_16_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/42/image_21022025_22_42_56_10345.jpg
/home/pi/Desktop/images/21022025/22/42/image_21022025_22_43_06_9464.jpg
/home/pi/Desktop/images/21022025/22/43/image_21022025_22_43_16_10375.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926421","1338926420","1338926422"],"photo_ids_order":["1338926420","1338926421","1338926422"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/18850efb2dafa2a0b39444076cbd0de3.jpg","text":"TemporaryFile(/tmp/multipartBody1119846061389170088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174272871,"filename":"image_21022025_22_43_06_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/515380108f5ff51ccdab5d185d6f716d.jpg","text":"TemporaryFile(/tmp/multipartBody454959802002446669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174272871,"filename":"image_21022025_22_42_56_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/460861bc0dcec8152bdfc256cac863f9.jpg","text":"TemporaryFile(/tmp/multipartBody8520920351789603392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174272871,"filename":"image_21022025_22_43_16_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926422","file1":"1338926421","file0":"1338926420"},"map_files_photo_id_array":[{"photo_id":"1338926422","filename":"file2"},{"photo_id":"1338926421","filename":"file1"},{"photo_id":"1338926420","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338926421":["hashtag1","hashtag2"]},{"1338926420":["hashtag1","hashtag2"]},{"1338926422":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338926421, 1338926420, 1338926422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.001561164855957 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:44:03.361170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/35/image_20022025_22_35_25_10428.jpg', '/home/pi/Desktop/images/20022025/22/35/image_20022025_22_35_34_9343.jpg', '/home/pi/Desktop/images/20022025/22/35/image_20022025_22_35_44_10344.jpg', '/home/pi/Desktop/images/20022025/22/35/image_20022025_22_35_55_10311.jpg', '/home/pi/Desktop/images/20022025/22/35/image_20022025_22_36_04_9325.jpg', '/home/pi/Desktop/images/20022025/22/36/image_20022025_22_36_14_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/35/image_20022025_22_35_25_10428.jpg
/home/pi/Desktop/images/20022025/22/35/image_20022025_22_35_34_9343.jpg
/home/pi/Desktop/images/20022025/22/35/image_20022025_22_35_44_10344.jpg
/home/pi/Desktop/images/20022025/22/35/image_20022025_22_35_55_10311.jpg
/home/pi/Desktop/images/20022025/22/35/image_20022025_22_36_04_9325.jpg
/home/pi/Desktop/images/20022025/22/36/image_20022025_22_36_14_10458.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926448","1338926433","1338926438","1338926446","1338926455","1338926442"],"photo_ids_order":["1338926433","1338926438","1338926442","1338926446","1338926448","1338926455"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1cf0c877c518be77be838f1b87c981b0.jpg","text":"TemporaryFile(/tmp/multipartBody8471026289952611429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174304752,"filename":"image_20022025_22_36_04_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff3e545cb995b99b14b4dd44035afd2e.jpg","text":"TemporaryFile(/tmp/multipartBody6917753958200565169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174304752,"filename":"image_20022025_22_35_25_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b62d8410b42bf83572178c793084ef7.jpg","text":"TemporaryFile(/tmp/multipartBody1134640267078634618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174304752,"filename":"image_20022025_22_35_34_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf3743be67b3f055ea8529899d47b7c3.jpg","text":"TemporaryFile(/tmp/multipartBody4034244015665992566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174304752,"filename":"image_20022025_22_35_55_10311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1f77c91da6590f1e2ec4c16d7f6fff26.jpg","text":"TemporaryFile(/tmp/multipartBody8829166445024340204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174304752,"filename":"image_20022025_22_36_14_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5f6d37f20bdac1a414733d8728db96e8.jpg","text":"TemporaryFile(/tmp/multipartBody6498296351993737155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174304752,"filename":"image_20022025_22_35_44_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926442","file1":"1338926438","file0":"1338926433","file4":"1338926448","file5":"1338926455","file3":"1338926446"},"map_files_photo_id_array":[{"photo_id":"1338926455","filename":"file5"},{"photo_id":"1338926442","filename":"file2"},{"photo_id":"1338926448","filename":"file4"},{"photo_id":"1338926438","filename":"file1"},{"photo_id":"1338926433","filename":"file0"},{"photo_id":"1338926446","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338926448":["hashtag1","hashtag2"]},{"1338926433":["hashtag1","hashtag2"]},{"1338926438":["hashtag1","hashtag2"]},{"1338926446":["hashtag1","hashtag2"]},{"1338926455":["hashtag1","hashtag2"]},{"1338926442":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338926448, 1338926433, 1338926438, 1338926446, 1338926455, 1338926442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2296507358551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:44:42.651521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/43/image_21022025_22_43_56_9459.jpg', '/home/pi/Desktop/images/21022025/22/43/image_21022025_22_44_06_10354.jpg', '/home/pi/Desktop/images/21022025/22/44/image_21022025_22_44_15_9331.jpg', '/home/pi/Desktop/images/21022025/22/44/image_21022025_22_44_36_10339.jpg', '/home/pi/Desktop/images/21022025/22/44/image_21022025_22_44_46_9509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/43/image_21022025_22_43_56_9459.jpg
/home/pi/Desktop/images/21022025/22/43/image_21022025_22_44_06_10354.jpg
/home/pi/Desktop/images/21022025/22/44/image_21022025_22_44_15_9331.jpg
/home/pi/Desktop/images/21022025/22/44/image_21022025_22_44_36_10339.jpg
/home/pi/Desktop/images/21022025/22/44/image_21022025_22_44_46_9509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926466","1338926471","1338926468","1338926470","1338926463"],"photo_ids_order":["1338926463","1338926466","1338926468","1338926470","1338926471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f32dcef892ee8c89c5825a5d22e08e0.jpg","text":"TemporaryFile(/tmp/multipartBody3165538376425013569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174343167,"filename":"image_21022025_22_44_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/51b9783d9c08b04e3f0c96cb1b8ccd7b.jpg","text":"TemporaryFile(/tmp/multipartBody5222683528511521241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174343167,"filename":"image_21022025_22_44_46_9509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/345e8e59abcdc5a3fadbda78739ef259.jpg","text":"TemporaryFile(/tmp/multipartBody1996650300154467145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174343167,"filename":"image_21022025_22_44_15_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d14715642c6c4a74eca8ad01ea76fcca.jpg","text":"TemporaryFile(/tmp/multipartBody6286972202108330483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174343167,"filename":"image_21022025_22_44_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/13f2398260e159bcf31f66780314e823.jpg","text":"TemporaryFile(/tmp/multipartBody920102662348027830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174343167,"filename":"image_21022025_22_43_56_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926468","file1":"1338926466","file0":"1338926463","file4":"1338926471","file3":"1338926470"},"map_files_photo_id_array":[{"photo_id":"1338926468","filename":"file2"},{"photo_id":"1338926471","filename":"file4"},{"photo_id":"1338926466","filename":"file1"},{"photo_id":"1338926463","filename":"file0"},{"photo_id":"1338926470","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338926466":["hashtag1","hashtag2"]},{"1338926471":["hashtag1","hashtag2"]},{"1338926468":["hashtag1","hashtag2"]},{"1338926470":["hashtag1","hashtag2"]},{"1338926463":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338926466, 1338926471, 1338926468, 1338926470, 1338926463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.019700288772583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:45:32.884874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/44/image_21022025_22_44_56_10374.jpg', '/home/pi/Desktop/images/21022025/22/44/image_21022025_22_45_05_9334.jpg', '/home/pi/Desktop/images/21022025/22/45/image_21022025_22_45_16_10416.jpg', '/home/pi/Desktop/images/21022025/22/45/image_21022025_22_45_36_9463.jpg', '/home/pi/Desktop/images/21022025/22/45/image_21022025_22_45_46_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/44/image_21022025_22_44_56_10374.jpg
/home/pi/Desktop/images/21022025/22/44/image_21022025_22_45_05_9334.jpg
/home/pi/Desktop/images/21022025/22/45/image_21022025_22_45_16_10416.jpg
/home/pi/Desktop/images/21022025/22/45/image_21022025_22_45_36_9463.jpg
/home/pi/Desktop/images/21022025/22/45/image_21022025_22_45_46_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926498","1338926504","1338926500","1338926493","1338926496"],"photo_ids_order":["1338926493","1338926496","1338926498","1338926500","1338926504"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4faa4ad98427490ab4ceca23c58574e1.jpg","text":"TemporaryFile(/tmp/multipartBody3149085331605476757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174393334,"filename":"image_21022025_22_45_16_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f819ddb112ccc928e655ef49a8bc7f7.jpg","text":"TemporaryFile(/tmp/multipartBody1583192251733014999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174393334,"filename":"image_21022025_22_45_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/78904989d42f559327de89a0dce73bea.jpg","text":"TemporaryFile(/tmp/multipartBody5543155939827191043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174393334,"filename":"image_21022025_22_45_36_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/49b44b72aa8c73e30d1e0e723ff2d8bf.jpg","text":"TemporaryFile(/tmp/multipartBody2305894035128653946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174393334,"filename":"image_21022025_22_44_56_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a84b8e4e8181e5122a998f7e7a68adea.jpg","text":"TemporaryFile(/tmp/multipartBody2134623857403953236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174393334,"filename":"image_21022025_22_45_05_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926498","file1":"1338926496","file0":"1338926493","file4":"1338926504","file3":"1338926500"},"map_files_photo_id_array":[{"photo_id":"1338926498","filename":"file2"},{"photo_id":"1338926504","filename":"file4"},{"photo_id":"1338926496","filename":"file1"},{"photo_id":"1338926493","filename":"file0"},{"photo_id":"1338926500","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338926498":["hashtag1","hashtag2"]},{"1338926504":["hashtag1","hashtag2"]},{"1338926500":["hashtag1","hashtag2"]},{"1338926493":["hashtag1","hashtag2"]},{"1338926496":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338926498, 1338926504, 1338926500, 1338926493, 1338926496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.239880323410034 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:46:33.072618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/45/image_21022025_22_45_55_9356.jpg', '/home/pi/Desktop/images/21022025/22/45/image_21022025_22_46_06_10377.jpg', '/home/pi/Desktop/images/21022025/22/46/image_21022025_22_46_16_10341.jpg', '/home/pi/Desktop/images/21022025/22/46/image_21022025_22_46_25_9345.jpg', '/home/pi/Desktop/images/21022025/22/46/image_21022025_22_46_36_10432.jpg', '/home/pi/Desktop/images/21022025/22/46/image_21022025_22_46_46_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/45/image_21022025_22_45_55_9356.jpg
/home/pi/Desktop/images/21022025/22/45/image_21022025_22_46_06_10377.jpg
/home/pi/Desktop/images/21022025/22/46/image_21022025_22_46_16_10341.jpg
/home/pi/Desktop/images/21022025/22/46/image_21022025_22_46_25_9345.jpg
/home/pi/Desktop/images/21022025/22/46/image_21022025_22_46_36_10432.jpg
/home/pi/Desktop/images/21022025/22/46/image_21022025_22_46_46_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926532","1338926549","1338926540","1338926551","1338926530","1338926535"],"photo_ids_order":["1338926530","1338926532","1338926535","1338926540","1338926549","1338926551"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aeb7bbdfa19315604a824a315978e88c.jpg","text":"TemporaryFile(/tmp/multipartBody7495343842900758303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174453546,"filename":"image_21022025_22_46_06_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a59aa5219b58a60d9759670081f850eb.jpg","text":"TemporaryFile(/tmp/multipartBody603379696899007946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174453546,"filename":"image_21022025_22_46_36_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b9eb68ffc72dcbdf4567f8e015b0b017.jpg","text":"TemporaryFile(/tmp/multipartBody2815467590077662014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174453546,"filename":"image_21022025_22_46_25_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/10cd28b91f60173457f19da1bee61e98.jpg","text":"TemporaryFile(/tmp/multipartBody649018829526391113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174453546,"filename":"image_21022025_22_46_46_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0bef9622cfc3d67abade73b136b9f33c.jpg","text":"TemporaryFile(/tmp/multipartBody8854898711001564168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174453546,"filename":"image_21022025_22_45_55_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef37810095efbf2781723a1ac00c3b2f.jpg","text":"TemporaryFile(/tmp/multipartBody6862390987727211434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174453546,"filename":"image_21022025_22_46_16_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926535","file1":"1338926532","file0":"1338926530","file4":"1338926549","file5":"1338926551","file3":"1338926540"},"map_files_photo_id_array":[{"photo_id":"1338926551","filename":"file5"},{"photo_id":"1338926535","filename":"file2"},{"photo_id":"1338926549","filename":"file4"},{"photo_id":"1338926532","filename":"file1"},{"photo_id":"1338926530","filename":"file0"},{"photo_id":"1338926540","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338926532":["hashtag1","hashtag2"]},{"1338926549":["hashtag1","hashtag2"]},{"1338926540":["hashtag1","hashtag2"]},{"1338926551":["hashtag1","hashtag2"]},{"1338926530":["hashtag1","hashtag2"]},{"1338926535":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338926532, 1338926549, 1338926540, 1338926551, 1338926530, 1338926535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.718753814697266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:47:32.370720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/46/image_21022025_22_46_56_9404.jpg', '/home/pi/Desktop/images/21022025/22/47/image_21022025_22_47_26_10476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/46/image_21022025_22_46_56_9404.jpg
/home/pi/Desktop/images/21022025/22/47/image_21022025_22_47_26_10476.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926567","1338926571"],"photo_ids_order":["1338926567","1338926571"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b39ce384b281f2a62725d7906b675010.jpg","text":"TemporaryFile(/tmp/multipartBody8130176164258804438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174512793,"filename":"image_21022025_22_46_56_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80df9dd9a75434c4e99af8aea9366623.jpg","text":"TemporaryFile(/tmp/multipartBody263704940412098182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174512793,"filename":"image_21022025_22_47_26_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338926571","file0":"1338926567"},"map_files_photo_id_array":[{"photo_id":"1338926571","filename":"file1"},{"photo_id":"1338926567","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338926567":["hashtag1","hashtag2"]},{"1338926571":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338926567, 1338926571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.160518169403076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:47:52.478705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/36/image_20022025_22_36_24_9318.jpg', '/home/pi/Desktop/images/20022025/22/36/image_20022025_22_36_34_10334.jpg', '/home/pi/Desktop/images/20022025/22/36/image_20022025_22_36_45_10391.jpg', '/home/pi/Desktop/images/20022025/22/36/image_20022025_22_36_54_9321.jpg', '/home/pi/Desktop/images/20022025/22/36/image_20022025_22_37_04_10405.jpg', '/home/pi/Desktop/images/20022025/22/37/image_20022025_22_37_15_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/36/image_20022025_22_36_24_9318.jpg
/home/pi/Desktop/images/20022025/22/36/image_20022025_22_36_34_10334.jpg
/home/pi/Desktop/images/20022025/22/36/image_20022025_22_36_45_10391.jpg
/home/pi/Desktop/images/20022025/22/36/image_20022025_22_36_54_9321.jpg
/home/pi/Desktop/images/20022025/22/36/image_20022025_22_37_04_10405.jpg
/home/pi/Desktop/images/20022025/22/37/image_20022025_22_37_15_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926631","1338926628","1338926607","1338926642","1338926605","1338926608"],"photo_ids_order":["1338926605","1338926607","1338926608","1338926628","1338926631","1338926642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75802d7740101c1e5286aba6df15442e.jpg","text":"TemporaryFile(/tmp/multipartBody1453070136702421073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174534611,"filename":"image_20022025_22_37_04_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2fc61ec85940f2c078ff589c55e7cbd9.jpg","text":"TemporaryFile(/tmp/multipartBody8040091948186901663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174534611,"filename":"image_20022025_22_36_54_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e361690a1843cac4cb441934b9e695d2.jpg","text":"TemporaryFile(/tmp/multipartBody6317309992436322065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174534611,"filename":"image_20022025_22_36_34_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/485781045ff52a3af5910b0782d1b458.jpg","text":"TemporaryFile(/tmp/multipartBody2602795815435790379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174534611,"filename":"image_20022025_22_37_15_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c77786bbd26a590400b447ac5f6ca3d8.jpg","text":"TemporaryFile(/tmp/multipartBody1001973244515912338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174534611,"filename":"image_20022025_22_36_24_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/60345ef3b473d6f6148302d68560733b.jpg","text":"TemporaryFile(/tmp/multipartBody776912777406082814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174534611,"filename":"image_20022025_22_36_45_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926608","file1":"1338926607","file0":"1338926605","file4":"1338926631","file5":"1338926642","file3":"1338926628"},"map_files_photo_id_array":[{"photo_id":"1338926642","filename":"file5"},{"photo_id":"1338926608","filename":"file2"},{"photo_id":"1338926631","filename":"file4"},{"photo_id":"1338926607","filename":"file1"},{"photo_id":"1338926605","filename":"file0"},{"photo_id":"1338926628","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338926631":["hashtag1","hashtag2"]},{"1338926628":["hashtag1","hashtag2"]},{"1338926607":["hashtag1","hashtag2"]},{"1338926642":["hashtag1","hashtag2"]},{"1338926605":["hashtag1","hashtag2"]},{"1338926608":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338926631, 1338926628, 1338926607, 1338926642, 1338926605, 1338926608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.1445791721344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:48:42.657428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/47/image_21022025_22_47_36_10357.jpg', '/home/pi/Desktop/images/21022025/22/48/image_21022025_22_48_35_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/47/image_21022025_22_47_36_10357.jpg
/home/pi/Desktop/images/21022025/22/48/image_21022025_22_48_35_9331.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926663","1338926666"],"photo_ids_order":["1338926663","1338926666"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e81ca1c04ace46192e557313b1948cf3.jpg","text":"TemporaryFile(/tmp/multipartBody6929085761034467829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174583080,"filename":"image_21022025_22_47_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf6282af36340afc40793c400b792da9.jpg","text":"TemporaryFile(/tmp/multipartBody6396998209058605380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174583080,"filename":"image_21022025_22_48_35_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338926666","file0":"1338926663"},"map_files_photo_id_array":[{"photo_id":"1338926666","filename":"file1"},{"photo_id":"1338926663","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338926663":["hashtag1","hashtag2"]},{"1338926666":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338926663, 1338926666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.091493606567383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:49:04.379304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/37/image_20022025_22_37_24_9317.jpg', '/home/pi/Desktop/images/20022025/22/37/image_20022025_22_37_34_10383.jpg', '/home/pi/Desktop/images/20022025/22/37/image_20022025_22_37_54_9322.jpg', '/home/pi/Desktop/images/20022025/22/37/image_20022025_22_38_04_10365.jpg', '/home/pi/Desktop/images/20022025/22/38/image_20022025_22_38_14_9353.jpg', '/home/pi/Desktop/images/20022025/22/38/image_20022025_22_38_24_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/37/image_20022025_22_37_24_9317.jpg
/home/pi/Desktop/images/20022025/22/37/image_20022025_22_37_34_10383.jpg
/home/pi/Desktop/images/20022025/22/37/image_20022025_22_37_54_9322.jpg
/home/pi/Desktop/images/20022025/22/37/image_20022025_22_38_04_10365.jpg
/home/pi/Desktop/images/20022025/22/38/image_20022025_22_38_14_9353.jpg
/home/pi/Desktop/images/20022025/22/38/image_20022025_22_38_24_10389.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926711","1338926717","1338926702","1338926722","1338926707","1338926682"],"photo_ids_order":["1338926682","1338926702","1338926707","1338926711","1338926717","1338926722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/698d0749b07d5e14a8a7488fc593f101.jpg","text":"TemporaryFile(/tmp/multipartBody7077886336694979378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174606070,"filename":"image_20022025_22_38_04_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d34e8fc1e0d60d19a91e535fa2e91290.jpg","text":"TemporaryFile(/tmp/multipartBody9164378925659036000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174606070,"filename":"image_20022025_22_38_14_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e64e1ff1ed52e7fb5922474d5915de2e.jpg","text":"TemporaryFile(/tmp/multipartBody1126204377495091372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174606070,"filename":"image_20022025_22_37_34_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5c2c459c5d09a433bc610bc28310196d.jpg","text":"TemporaryFile(/tmp/multipartBody5228295173010999633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174606070,"filename":"image_20022025_22_38_24_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/36b28962806440484716a6d9e745da6e.jpg","text":"TemporaryFile(/tmp/multipartBody803135203308534899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174606070,"filename":"image_20022025_22_37_54_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a9181ac4e00e27da1533542792a24ba4.jpg","text":"TemporaryFile(/tmp/multipartBody2194434397226115069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174606070,"filename":"image_20022025_22_37_24_9317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926707","file1":"1338926702","file0":"1338926682","file4":"1338926717","file5":"1338926722","file3":"1338926711"},"map_files_photo_id_array":[{"photo_id":"1338926722","filename":"file5"},{"photo_id":"1338926707","filename":"file2"},{"photo_id":"1338926717","filename":"file4"},{"photo_id":"1338926702","filename":"file1"},{"photo_id":"1338926682","filename":"file0"},{"photo_id":"1338926711","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338926711":["hashtag1","hashtag2"]},{"1338926717":["hashtag1","hashtag2"]},{"1338926702":["hashtag1","hashtag2"]},{"1338926722":["hashtag1","hashtag2"]},{"1338926707":["hashtag1","hashtag2"]},{"1338926682":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338926711, 1338926717, 1338926702, 1338926722, 1338926707, 1338926682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72507977485657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:49:42.985465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/48/image_21022025_22_48_46_10433.jpg', '/home/pi/Desktop/images/21022025/22/48/image_21022025_22_49_06_9472.jpg', '/home/pi/Desktop/images/21022025/22/49/image_21022025_22_49_26_9441.jpg', '/home/pi/Desktop/images/21022025/22/49/image_21022025_22_49_36_10434.jpg', '/home/pi/Desktop/images/21022025/22/49/image_21022025_22_49_45_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/48/image_21022025_22_48_46_10433.jpg
/home/pi/Desktop/images/21022025/22/48/image_21022025_22_49_06_9472.jpg
/home/pi/Desktop/images/21022025/22/49/image_21022025_22_49_26_9441.jpg
/home/pi/Desktop/images/21022025/22/49/image_21022025_22_49_36_10434.jpg
/home/pi/Desktop/images/21022025/22/49/image_21022025_22_49_45_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926739","1338926738","1338926735","1338926737","1338926733"],"photo_ids_order":["1338926733","1338926735","1338926737","1338926738","1338926739"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/066b779073ea2359078267f252ac0c4c.jpg","text":"TemporaryFile(/tmp/multipartBody5996788327555663512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174643440,"filename":"image_21022025_22_49_45_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9a9ec43088b0c41c0e63ee7567807e84.jpg","text":"TemporaryFile(/tmp/multipartBody173288315164608073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174643440,"filename":"image_21022025_22_49_36_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ed8f8addc5922bc4ec75ed02ff7d60bf.jpg","text":"TemporaryFile(/tmp/multipartBody6235303546932003761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174643440,"filename":"image_21022025_22_49_06_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1730966874de6fe1b90c566f25cc120.jpg","text":"TemporaryFile(/tmp/multipartBody8905385463712151334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174643440,"filename":"image_21022025_22_49_26_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d5636093dc95f857d43dd1649e1872fa.jpg","text":"TemporaryFile(/tmp/multipartBody9056250927120406376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174643440,"filename":"image_21022025_22_48_46_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926737","file1":"1338926735","file0":"1338926733","file4":"1338926739","file3":"1338926738"},"map_files_photo_id_array":[{"photo_id":"1338926737","filename":"file2"},{"photo_id":"1338926739","filename":"file4"},{"photo_id":"1338926735","filename":"file1"},{"photo_id":"1338926733","filename":"file0"},{"photo_id":"1338926738","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338926739":["hashtag1","hashtag2"]},{"1338926738":["hashtag1","hashtag2"]},{"1338926735":["hashtag1","hashtag2"]},{"1338926737":["hashtag1","hashtag2"]},{"1338926733":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338926739, 1338926738, 1338926735, 1338926737, 1338926733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.711766958236694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:50:32.227398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/49/image_21022025_22_49_56_10431.jpg', '/home/pi/Desktop/images/21022025/22/50/image_21022025_22_50_15_9335.jpg', '/home/pi/Desktop/images/21022025/22/50/image_21022025_22_50_26_10457.jpg', '/home/pi/Desktop/images/21022025/22/50/image_21022025_22_50_46_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/49/image_21022025_22_49_56_10431.jpg
/home/pi/Desktop/images/21022025/22/50/image_21022025_22_50_15_9335.jpg
/home/pi/Desktop/images/21022025/22/50/image_21022025_22_50_26_10457.jpg
/home/pi/Desktop/images/21022025/22/50/image_21022025_22_50_46_9436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926756","1338926759","1338926767","1338926763"],"photo_ids_order":["1338926756","1338926759","1338926763","1338926767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/97308e348de0ce525100c0697f2cd782.jpg","text":"TemporaryFile(/tmp/multipartBody895127707950267161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174692680,"filename":"image_21022025_22_49_56_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/021e63282376bc41727c6276fac1a4ad.jpg","text":"TemporaryFile(/tmp/multipartBody2061016420655011573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174692680,"filename":"image_21022025_22_50_15_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/87f61810b62c024d4cd62981521a0130.jpg","text":"TemporaryFile(/tmp/multipartBody8381569407839609775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174692680,"filename":"image_21022025_22_50_46_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b6d1c2102f391fcfb6b15c4e3cf1cea.jpg","text":"TemporaryFile(/tmp/multipartBody1871038406007142885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174692680,"filename":"image_21022025_22_50_26_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926763","file1":"1338926759","file0":"1338926756","file3":"1338926767"},"map_files_photo_id_array":[{"photo_id":"1338926763","filename":"file2"},{"photo_id":"1338926759","filename":"file1"},{"photo_id":"1338926756","filename":"file0"},{"photo_id":"1338926767","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338926756":["hashtag1","hashtag2"]},{"1338926759":["hashtag1","hashtag2"]},{"1338926767":["hashtag1","hashtag2"]},{"1338926763":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338926756, 1338926759, 1338926767, 1338926763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.182909727096558 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:51:03.829827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/38/image_20022025_22_38_35_10406.jpg', '/home/pi/Desktop/images/20022025/22/38/image_20022025_22_38_44_9333.jpg', '/home/pi/Desktop/images/20022025/22/38/image_20022025_22_38_54_10339.jpg', '/home/pi/Desktop/images/20022025/22/38/image_20022025_22_39_05_10356.jpg', '/home/pi/Desktop/images/20022025/22/39/image_20022025_22_39_14_9311.jpg', '/home/pi/Desktop/images/20022025/22/39/image_20022025_22_39_24_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/38/image_20022025_22_38_35_10406.jpg
/home/pi/Desktop/images/20022025/22/38/image_20022025_22_38_44_9333.jpg
/home/pi/Desktop/images/20022025/22/38/image_20022025_22_38_54_10339.jpg
/home/pi/Desktop/images/20022025/22/38/image_20022025_22_39_05_10356.jpg
/home/pi/Desktop/images/20022025/22/39/image_20022025_22_39_14_9311.jpg
/home/pi/Desktop/images/20022025/22/39/image_20022025_22_39_24_10381.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926771","1338926776","1338926779","1338926781","1338926784","1338926772"],"photo_ids_order":["1338926771","1338926772","1338926776","1338926779","1338926781","1338926784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/57415e87a0999edc704f37de472a6439.jpg","text":"TemporaryFile(/tmp/multipartBody3750954789274312667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174725466,"filename":"image_20022025_22_38_35_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a2aa2d05437a9a69e083fd232f4fd1a8.jpg","text":"TemporaryFile(/tmp/multipartBody7971226778113373392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174725466,"filename":"image_20022025_22_38_54_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4c8629f7bbe149d8e556eb7670c20080.jpg","text":"TemporaryFile(/tmp/multipartBody353201194442880819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174725466,"filename":"image_20022025_22_39_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3b4e77925d494b1538ebbe7568a81f36.jpg","text":"TemporaryFile(/tmp/multipartBody5539510260251843422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174725466,"filename":"image_20022025_22_39_14_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd673348bc215ad9f8469f3b986e8125.jpg","text":"TemporaryFile(/tmp/multipartBody3784964332368205695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174725466,"filename":"image_20022025_22_39_24_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9a2cf3a32d3a1a6b64f1df451c2818a6.jpg","text":"TemporaryFile(/tmp/multipartBody4345724083543452999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174725466,"filename":"image_20022025_22_38_44_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926776","file1":"1338926772","file0":"1338926771","file4":"1338926781","file5":"1338926784","file3":"1338926779"},"map_files_photo_id_array":[{"photo_id":"1338926784","filename":"file5"},{"photo_id":"1338926776","filename":"file2"},{"photo_id":"1338926781","filename":"file4"},{"photo_id":"1338926772","filename":"file1"},{"photo_id":"1338926771","filename":"file0"},{"photo_id":"1338926779","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338926771":["hashtag1","hashtag2"]},{"1338926776":["hashtag1","hashtag2"]},{"1338926779":["hashtag1","hashtag2"]},{"1338926781":["hashtag1","hashtag2"]},{"1338926784":["hashtag1","hashtag2"]},{"1338926772":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338926771, 1338926776, 1338926779, 1338926781, 1338926784, 1338926772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97222375869751 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:51:42.393707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/50/image_21022025_22_50_56_10360.jpg', '/home/pi/Desktop/images/21022025/22/50/image_21022025_22_51_05_9336.jpg', '/home/pi/Desktop/images/21022025/22/51/image_21022025_22_51_26_10356.jpg', '/home/pi/Desktop/images/21022025/22/51/image_21022025_22_51_35_9320.jpg', '/home/pi/Desktop/images/21022025/22/51/image_21022025_22_51_46_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/50/image_21022025_22_50_56_10360.jpg
/home/pi/Desktop/images/21022025/22/50/image_21022025_22_51_05_9336.jpg
/home/pi/Desktop/images/21022025/22/51/image_21022025_22_51_26_10356.jpg
/home/pi/Desktop/images/21022025/22/51/image_21022025_22_51_35_9320.jpg
/home/pi/Desktop/images/21022025/22/51/image_21022025_22_51_46_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926811","1338926801","1338926804","1338926794","1338926797"],"photo_ids_order":["1338926794","1338926797","1338926801","1338926804","1338926811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d2a3bf8acc965ce10e24069fde7b81b0.jpg","text":"TemporaryFile(/tmp/multipartBody4313954635532594083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174762850,"filename":"image_21022025_22_51_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/93b7286cdf9ef2a593d1088af5f7c0ab.jpg","text":"TemporaryFile(/tmp/multipartBody3869064028889346564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174762850,"filename":"image_21022025_22_51_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0c2c9b84b8a19dd0613be31ee12c4d84.jpg","text":"TemporaryFile(/tmp/multipartBody4172194582069666799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174762850,"filename":"image_21022025_22_51_35_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bd7a6adbf4f52bd421681e405590e32b.jpg","text":"TemporaryFile(/tmp/multipartBody2166876005778383435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174762850,"filename":"image_21022025_22_50_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b5bec961b4f8c00b50ffc4293c05c2d.jpg","text":"TemporaryFile(/tmp/multipartBody8030286073124959529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174762850,"filename":"image_21022025_22_51_05_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926801","file1":"1338926797","file0":"1338926794","file4":"1338926811","file3":"1338926804"},"map_files_photo_id_array":[{"photo_id":"1338926801","filename":"file2"},{"photo_id":"1338926811","filename":"file4"},{"photo_id":"1338926797","filename":"file1"},{"photo_id":"1338926794","filename":"file0"},{"photo_id":"1338926804","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338926811":["hashtag1","hashtag2"]},{"1338926801":["hashtag1","hashtag2"]},{"1338926804":["hashtag1","hashtag2"]},{"1338926794":["hashtag1","hashtag2"]},{"1338926797":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338926811, 1338926801, 1338926804, 1338926794, 1338926797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.660596132278442 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:52:32.698989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/51/image_21022025_22_51_56_10356.jpg', '/home/pi/Desktop/images/21022025/22/52/image_21022025_22_52_16_10347.jpg', '/home/pi/Desktop/images/21022025/22/52/image_21022025_22_52_36_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/51/image_21022025_22_51_56_10356.jpg
/home/pi/Desktop/images/21022025/22/52/image_21022025_22_52_16_10347.jpg
/home/pi/Desktop/images/21022025/22/52/image_21022025_22_52_36_9347.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926837","1338926840","1338926833"],"photo_ids_order":["1338926833","1338926837","1338926840"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0b415bba067e4236982bde660e3481e0.jpg","text":"TemporaryFile(/tmp/multipartBody245442349943324611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174813131,"filename":"image_21022025_22_52_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9cfc66b97a3afbe43b1f3eeb73fdf534.jpg","text":"TemporaryFile(/tmp/multipartBody8036534768623149929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174813131,"filename":"image_21022025_22_52_36_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cbd2298f2e6dac7b82f6b13543150f4b.jpg","text":"TemporaryFile(/tmp/multipartBody7351670434076886343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174813131,"filename":"image_21022025_22_51_56_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926840","file1":"1338926837","file0":"1338926833"},"map_files_photo_id_array":[{"photo_id":"1338926840","filename":"file2"},{"photo_id":"1338926837","filename":"file1"},{"photo_id":"1338926833","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338926837":["hashtag1","hashtag2"]},{"1338926840":["hashtag1","hashtag2"]},{"1338926833":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338926837, 1338926840, 1338926833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.053375959396362 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:53:04.344816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/39/image_20022025_22_39_35_10400.jpg', '/home/pi/Desktop/images/20022025/22/39/image_20022025_22_39_44_9345.jpg', '/home/pi/Desktop/images/20022025/22/39/image_20022025_22_39_54_10373.jpg', '/home/pi/Desktop/images/20022025/22/39/image_20022025_22_40_04_9431.jpg', '/home/pi/Desktop/images/20022025/22/40/image_20022025_22_40_14_10390.jpg', '/home/pi/Desktop/images/20022025/22/40/image_20022025_22_40_25_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/39/image_20022025_22_39_35_10400.jpg
/home/pi/Desktop/images/20022025/22/39/image_20022025_22_39_44_9345.jpg
/home/pi/Desktop/images/20022025/22/39/image_20022025_22_39_54_10373.jpg
/home/pi/Desktop/images/20022025/22/39/image_20022025_22_40_04_9431.jpg
/home/pi/Desktop/images/20022025/22/40/image_20022025_22_40_14_10390.jpg
/home/pi/Desktop/images/20022025/22/40/image_20022025_22_40_25_10386.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926858","1338926867","1338926846","1338926849","1338926854","1338926862"],"photo_ids_order":["1338926846","1338926849","1338926854","1338926858","1338926862","1338926867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9b9b9aff1903f15541abc8861923f3de.jpg","text":"TemporaryFile(/tmp/multipartBody7210152332188129418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174846201,"filename":"image_20022025_22_40_04_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/855e7456d57a84af8af0309e5eeffbcb.jpg","text":"TemporaryFile(/tmp/multipartBody1051971152333596159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174846201,"filename":"image_20022025_22_40_25_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e89c5022f909d2a1ca62865760cbd042.jpg","text":"TemporaryFile(/tmp/multipartBody2725515961608455202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174846201,"filename":"image_20022025_22_39_35_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/840bae50c18011a12a8145a843cc34e5.jpg","text":"TemporaryFile(/tmp/multipartBody7035043187107980448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174846201,"filename":"image_20022025_22_39_44_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b2960bd78f0365ac76ebac54b6748349.jpg","text":"TemporaryFile(/tmp/multipartBody5150353471239183060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174846201,"filename":"image_20022025_22_39_54_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3273525f0f47e92bd0872b5f800941a0.jpg","text":"TemporaryFile(/tmp/multipartBody6869770094083632475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174846201,"filename":"image_20022025_22_40_14_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926854","file1":"1338926849","file0":"1338926846","file4":"1338926862","file5":"1338926867","file3":"1338926858"},"map_files_photo_id_array":[{"photo_id":"1338926867","filename":"file5"},{"photo_id":"1338926854","filename":"file2"},{"photo_id":"1338926862","filename":"file4"},{"photo_id":"1338926849","filename":"file1"},{"photo_id":"1338926846","filename":"file0"},{"photo_id":"1338926858","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338926858":["hashtag1","hashtag2"]},{"1338926867":["hashtag1","hashtag2"]},{"1338926846":["hashtag1","hashtag2"]},{"1338926849":["hashtag1","hashtag2"]},{"1338926854":["hashtag1","hashtag2"]},{"1338926862":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338926858, 1338926867, 1338926846, 1338926849, 1338926854, 1338926862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99284315109253 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:53:42.974642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/52/image_21022025_22_52_56_10362.jpg', '/home/pi/Desktop/images/21022025/22/52/image_21022025_22_53_06_9386.jpg', '/home/pi/Desktop/images/21022025/22/53/image_21022025_22_53_16_10341.jpg', '/home/pi/Desktop/images/21022025/22/53/image_21022025_22_53_25_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/52/image_21022025_22_52_56_10362.jpg
/home/pi/Desktop/images/21022025/22/52/image_21022025_22_53_06_9386.jpg
/home/pi/Desktop/images/21022025/22/53/image_21022025_22_53_16_10341.jpg
/home/pi/Desktop/images/21022025/22/53/image_21022025_22_53_25_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926876","1338926879","1338926884","1338926881"],"photo_ids_order":["1338926876","1338926879","1338926881","1338926884"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ebea3a73be6c471239a4e45e90c5429a.jpg","text":"TemporaryFile(/tmp/multipartBody3108363824834669149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174883420,"filename":"image_21022025_22_52_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/94e44d129d95a2c0c0728790ecb2d4d2.jpg","text":"TemporaryFile(/tmp/multipartBody5330082215659047083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174883420,"filename":"image_21022025_22_53_06_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/adc7fdeb1f6290b5f6c4d65bbcb92330.jpg","text":"TemporaryFile(/tmp/multipartBody6431778678110392397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174883420,"filename":"image_21022025_22_53_25_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d80a3728830cfb065178a5a6e4c53403.jpg","text":"TemporaryFile(/tmp/multipartBody1000976556317795724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174883420,"filename":"image_21022025_22_53_16_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926881","file1":"1338926879","file0":"1338926876","file3":"1338926884"},"map_files_photo_id_array":[{"photo_id":"1338926881","filename":"file2"},{"photo_id":"1338926879","filename":"file1"},{"photo_id":"1338926876","filename":"file0"},{"photo_id":"1338926884","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338926876":["hashtag1","hashtag2"]},{"1338926879":["hashtag1","hashtag2"]},{"1338926884":["hashtag1","hashtag2"]},{"1338926881":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338926876, 1338926879, 1338926884, 1338926881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.324549913406372 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:54:32.134200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/53/image_21022025_22_53_36_10348.jpg', '/home/pi/Desktop/images/21022025/22/54/image_21022025_22_54_16_10337.jpg', '/home/pi/Desktop/images/21022025/22/54/image_21022025_22_54_25_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/53/image_21022025_22_53_36_10348.jpg
/home/pi/Desktop/images/21022025/22/54/image_21022025_22_54_16_10337.jpg
/home/pi/Desktop/images/21022025/22/54/image_21022025_22_54_25_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926918","1338926899","1338926911"],"photo_ids_order":["1338926899","1338926911","1338926918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d4d1a5eefec9739fb0d914afb07d8e16.jpg","text":"TemporaryFile(/tmp/multipartBody2560519895105198619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174932569,"filename":"image_21022025_22_54_25_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/061090a1e124428642965fe56e76768d.jpg","text":"TemporaryFile(/tmp/multipartBody3306064603362731050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174932569,"filename":"image_21022025_22_53_36_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c6706eac0db8b0784445ac05c742281e.jpg","text":"TemporaryFile(/tmp/multipartBody2393550735985257836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174932569,"filename":"image_21022025_22_54_16_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926918","file1":"1338926911","file0":"1338926899"},"map_files_photo_id_array":[{"photo_id":"1338926918","filename":"file2"},{"photo_id":"1338926911","filename":"file1"},{"photo_id":"1338926899","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338926918":["hashtag1","hashtag2"]},{"1338926899":["hashtag1","hashtag2"]},{"1338926911":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338926918, 1338926899, 1338926911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.296419382095337 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:55:03.782997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/40/image_20022025_22_40_34_9347.jpg', '/home/pi/Desktop/images/20022025/22/40/image_20022025_22_40_44_10332.jpg', '/home/pi/Desktop/images/20022025/22/40/image_20022025_22_40_55_10330.jpg', '/home/pi/Desktop/images/20022025/22/40/image_20022025_22_41_04_9328.jpg', '/home/pi/Desktop/images/20022025/22/41/image_20022025_22_41_14_10337.jpg', '/home/pi/Desktop/images/20022025/22/41/image_20022025_22_41_25_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/40/image_20022025_22_40_34_9347.jpg
/home/pi/Desktop/images/20022025/22/40/image_20022025_22_40_44_10332.jpg
/home/pi/Desktop/images/20022025/22/40/image_20022025_22_40_55_10330.jpg
/home/pi/Desktop/images/20022025/22/40/image_20022025_22_41_04_9328.jpg
/home/pi/Desktop/images/20022025/22/41/image_20022025_22_41_14_10337.jpg
/home/pi/Desktop/images/20022025/22/41/image_20022025_22_41_25_10419.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926934","1338926928","1338926937","1338926942","1338926939","1338926931"],"photo_ids_order":["1338926928","1338926931","1338926934","1338926937","1338926939","1338926942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7e2693c620cc3dbc902f7efa9f191da6.jpg","text":"TemporaryFile(/tmp/multipartBody2489100610819163103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174965552,"filename":"image_20022025_22_40_55_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f3d0cec92a879f003a709f06d170210f.jpg","text":"TemporaryFile(/tmp/multipartBody6423256538814951902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174965552,"filename":"image_20022025_22_40_34_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b99c436f73166ccb5b4909b50ba95245.jpg","text":"TemporaryFile(/tmp/multipartBody858965877209179012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174965552,"filename":"image_20022025_22_41_04_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4920fa1d908febb8faf7ac4331f86f65.jpg","text":"TemporaryFile(/tmp/multipartBody2170133502215443447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174965552,"filename":"image_20022025_22_41_25_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/db1d0d893348ac577bd8c2e4e6cb5db4.jpg","text":"TemporaryFile(/tmp/multipartBody3994627455207584075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174965552,"filename":"image_20022025_22_41_14_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/80c6e3f36b9370af17df81e4f7c3f46e.jpg","text":"TemporaryFile(/tmp/multipartBody5410970706236287616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740174965552,"filename":"image_20022025_22_40_44_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926934","file1":"1338926931","file0":"1338926928","file4":"1338926939","file5":"1338926942","file3":"1338926937"},"map_files_photo_id_array":[{"photo_id":"1338926942","filename":"file5"},{"photo_id":"1338926934","filename":"file2"},{"photo_id":"1338926939","filename":"file4"},{"photo_id":"1338926931","filename":"file1"},{"photo_id":"1338926928","filename":"file0"},{"photo_id":"1338926937","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338926934":["hashtag1","hashtag2"]},{"1338926928":["hashtag1","hashtag2"]},{"1338926937":["hashtag1","hashtag2"]},{"1338926942":["hashtag1","hashtag2"]},{"1338926939":["hashtag1","hashtag2"]},{"1338926931":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338926934, 1338926928, 1338926937, 1338926942, 1338926939, 1338926931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.893917083740234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:55:42.389844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/54/image_21022025_22_54_36_10348.jpg', '/home/pi/Desktop/images/21022025/22/54/image_21022025_22_55_06_10355.jpg', '/home/pi/Desktop/images/21022025/22/55/image_21022025_22_55_16_10336.jpg', '/home/pi/Desktop/images/21022025/22/55/image_21022025_22_55_26_9525.jpg', '/home/pi/Desktop/images/21022025/22/55/image_21022025_22_55_36_10379.jpg', '/home/pi/Desktop/images/21022025/22/55/image_21022025_22_55_46_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/54/image_21022025_22_54_36_10348.jpg
/home/pi/Desktop/images/21022025/22/54/image_21022025_22_55_06_10355.jpg
/home/pi/Desktop/images/21022025/22/55/image_21022025_22_55_16_10336.jpg
/home/pi/Desktop/images/21022025/22/55/image_21022025_22_55_26_9525.jpg
/home/pi/Desktop/images/21022025/22/55/image_21022025_22_55_36_10379.jpg
/home/pi/Desktop/images/21022025/22/55/image_21022025_22_55_46_9404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338926960","1338926954","1338926965","1338926962","1338926956","1338926958"],"photo_ids_order":["1338926954","1338926956","1338926958","1338926960","1338926962","1338926965"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2cd550b7eee81cdf6e403c5273f77092.jpg","text":"TemporaryFile(/tmp/multipartBody1791474042468504263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175002854,"filename":"image_21022025_22_55_26_9525.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/71051315ca7937fbba82973d56322e3a.jpg","text":"TemporaryFile(/tmp/multipartBody8786104173980298807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175002854,"filename":"image_21022025_22_54_36_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bc45e3d0bf9d7e62142695f051b980a6.jpg","text":"TemporaryFile(/tmp/multipartBody3376982783402643647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175002854,"filename":"image_21022025_22_55_46_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e492a180df6004aa85070f71cae013d.jpg","text":"TemporaryFile(/tmp/multipartBody200077566613347490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175002854,"filename":"image_21022025_22_55_36_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b8aff5a46aa5495b76c931865639c783.jpg","text":"TemporaryFile(/tmp/multipartBody3789715456558819059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175002854,"filename":"image_21022025_22_55_06_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/14cb8aab21743a335e06db8df8b8a0f8.jpg","text":"TemporaryFile(/tmp/multipartBody6542551184099930549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175002854,"filename":"image_21022025_22_55_16_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338926958","file1":"1338926956","file0":"1338926954","file4":"1338926962","file5":"1338926965","file3":"1338926960"},"map_files_photo_id_array":[{"photo_id":"1338926965","filename":"file5"},{"photo_id":"1338926958","filename":"file2"},{"photo_id":"1338926962","filename":"file4"},{"photo_id":"1338926956","filename":"file1"},{"photo_id":"1338926954","filename":"file0"},{"photo_id":"1338926960","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338926960":["hashtag1","hashtag2"]},{"1338926954":["hashtag1","hashtag2"]},{"1338926965":["hashtag1","hashtag2"]},{"1338926962":["hashtag1","hashtag2"]},{"1338926956":["hashtag1","hashtag2"]},{"1338926958":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338926960, 1338926954, 1338926965, 1338926962, 1338926956, 1338926958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40213894844055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:56:32.797169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/55/image_21022025_22_55_56_10370.jpg', '/home/pi/Desktop/images/21022025/22/55/image_21022025_22_56_06_10354.jpg', '/home/pi/Desktop/images/21022025/22/56/image_21022025_22_56_16_9414.jpg', '/home/pi/Desktop/images/21022025/22/56/image_21022025_22_56_26_10383.jpg', '/home/pi/Desktop/images/21022025/22/56/image_21022025_22_56_35_9361.jpg', '/home/pi/Desktop/images/21022025/22/56/image_21022025_22_56_46_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/55/image_21022025_22_55_56_10370.jpg
/home/pi/Desktop/images/21022025/22/55/image_21022025_22_56_06_10354.jpg
/home/pi/Desktop/images/21022025/22/56/image_21022025_22_56_16_9414.jpg
/home/pi/Desktop/images/21022025/22/56/image_21022025_22_56_26_10383.jpg
/home/pi/Desktop/images/21022025/22/56/image_21022025_22_56_35_9361.jpg
/home/pi/Desktop/images/21022025/22/56/image_21022025_22_56_46_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338927035","1338927046","1338927043","1338927031","1338927039","1338927024"],"photo_ids_order":["1338927024","1338927031","1338927035","1338927039","1338927043","1338927046"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9dbd435724ac5f12f0af570c26ef21fb.jpg","text":"TemporaryFile(/tmp/multipartBody1065117032733199241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175053258,"filename":"image_21022025_22_56_16_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a20ecb5dc89300d0edbf27e3a2cc988b.jpg","text":"TemporaryFile(/tmp/multipartBody723261970992355253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175053258,"filename":"image_21022025_22_56_46_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e56d45c93a1b8d1c85593b93c43d1eb5.jpg","text":"TemporaryFile(/tmp/multipartBody5074196165703639061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175053258,"filename":"image_21022025_22_56_35_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e6fce4598595964935571ef42370f9ee.jpg","text":"TemporaryFile(/tmp/multipartBody4396470630443438985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175053258,"filename":"image_21022025_22_56_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/58a7468bff82b5ec1834e2aa2bbdbc47.jpg","text":"TemporaryFile(/tmp/multipartBody793672714072805103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175053258,"filename":"image_21022025_22_56_26_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8c82bc2ec74d04d7e5f27db8acc8fc4.jpg","text":"TemporaryFile(/tmp/multipartBody7779489671205382926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175053258,"filename":"image_21022025_22_55_56_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338927035","file1":"1338927031","file0":"1338927024","file4":"1338927043","file5":"1338927046","file3":"1338927039"},"map_files_photo_id_array":[{"photo_id":"1338927046","filename":"file5"},{"photo_id":"1338927035","filename":"file2"},{"photo_id":"1338927043","filename":"file4"},{"photo_id":"1338927031","filename":"file1"},{"photo_id":"1338927024","filename":"file0"},{"photo_id":"1338927039","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338927035":["hashtag1","hashtag2"]},{"1338927046":["hashtag1","hashtag2"]},{"1338927043":["hashtag1","hashtag2"]},{"1338927031":["hashtag1","hashtag2"]},{"1338927039":["hashtag1","hashtag2"]},{"1338927024":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338927035, 1338927046, 1338927043, 1338927031, 1338927039, 1338927024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03167247772217 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 22:57:32.951961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/56/image_21022025_22_56_56_10370.jpg', '/home/pi/Desktop/images/21022025/22/56/image_21022025_22_57_05_9351.jpg', '/home/pi/Desktop/images/21022025/22/57/image_21022025_22_57_16_10423.jpg', '/home/pi/Desktop/images/21022025/22/57/image_21022025_22_57_36_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/56/image_21022025_22_56_56_10370.jpg
/home/pi/Desktop/images/21022025/22/56/image_21022025_22_57_05_9351.jpg
/home/pi/Desktop/images/21022025/22/57/image_21022025_22_57_16_10423.jpg
/home/pi/Desktop/images/21022025/22/57/image_21022025_22_57_36_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338927196","1338927199","1338927184","1338927192"],"photo_ids_order":["1338927184","1338927192","1338927196","1338927199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ddab8c3b6128a28eca00aed6b202284.jpg","text":"TemporaryFile(/tmp/multipartBody2019996025135749032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175113391,"filename":"image_21022025_22_57_16_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/627586aeb1be0f567b1cc6448609274c.jpg","text":"TemporaryFile(/tmp/multipartBody8695225037529013614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175113391,"filename":"image_21022025_22_57_36_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/77abc40c37e895a0daf2e1e5939b627f.jpg","text":"TemporaryFile(/tmp/multipartBody2022021265536605668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175113391,"filename":"image_21022025_22_56_56_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a3ad394695ec9a8ca527d231e412f3a2.jpg","text":"TemporaryFile(/tmp/multipartBody8967331834517281470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175113391,"filename":"image_21022025_22_57_05_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338927196","file1":"1338927192","file0":"1338927184","file3":"1338927199"},"map_files_photo_id_array":[{"photo_id":"1338927196","filename":"file2"},{"photo_id":"1338927192","filename":"file1"},{"photo_id":"1338927184","filename":"file0"},{"photo_id":"1338927199","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338927196":["hashtag1","hashtag2"]},{"1338927199":["hashtag1","hashtag2"]},{"1338927184":["hashtag1","hashtag2"]},{"1338927192":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338927196, 1338927199, 1338927184, 1338927192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.1661159992218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:59:04.199254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/57/image_21022025_22_57_46_10364.jpg', '/home/pi/Desktop/images/21022025/22/58/image_21022025_22_58_16_10342.jpg', '/home/pi/Desktop/images/21022025/22/58/image_21022025_22_58_25_9367.jpg', '/home/pi/Desktop/images/21022025/22/58/image_21022025_22_58_36_10353.jpg', '/home/pi/Desktop/images/21022025/22/58/image_21022025_22_58_46_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/57/image_21022025_22_57_46_10364.jpg
/home/pi/Desktop/images/21022025/22/58/image_21022025_22_58_16_10342.jpg
/home/pi/Desktop/images/21022025/22/58/image_21022025_22_58_25_9367.jpg
/home/pi/Desktop/images/21022025/22/58/image_21022025_22_58_36_10353.jpg
/home/pi/Desktop/images/21022025/22/58/image_21022025_22_58_46_10386.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338927350","1338927346","1338927334","1338927342","1338927336"],"photo_ids_order":["1338927334","1338927336","1338927342","1338927346","1338927350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4640ea83756136c30e60ce78c23e2641.jpg","text":"TemporaryFile(/tmp/multipartBody6251839824672815785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175204844,"filename":"image_21022025_22_58_46_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e41a751f3e78b1de1863a6a108e1fdd3.jpg","text":"TemporaryFile(/tmp/multipartBody3988666902245302746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175204844,"filename":"image_21022025_22_58_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/349a9dcc797f9b5d654b697626abce9f.jpg","text":"TemporaryFile(/tmp/multipartBody2008690539020283606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175204844,"filename":"image_21022025_22_57_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c819043583060718bfafe2971d2d97e7.jpg","text":"TemporaryFile(/tmp/multipartBody2817055803252737632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175204844,"filename":"image_21022025_22_58_25_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cd32a74e50d0708d8793b0ed8a082767.jpg","text":"TemporaryFile(/tmp/multipartBody3548948163014195205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175204844,"filename":"image_21022025_22_58_16_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338927342","file1":"1338927336","file0":"1338927334","file4":"1338927350","file3":"1338927346"},"map_files_photo_id_array":[{"photo_id":"1338927342","filename":"file2"},{"photo_id":"1338927350","filename":"file4"},{"photo_id":"1338927336","filename":"file1"},{"photo_id":"1338927334","filename":"file0"},{"photo_id":"1338927346","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338927350":["hashtag1","hashtag2"]},{"1338927346":["hashtag1","hashtag2"]},{"1338927334":["hashtag1","hashtag2"]},{"1338927342":["hashtag1","hashtag2"]},{"1338927336":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338927350, 1338927346, 1338927334, 1338927342, 1338927336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.424866437911987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 22:59:42.780481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/58/image_21022025_22_58_56_9346.jpg', '/home/pi/Desktop/images/21022025/22/59/image_21022025_22_59_36_10381.jpg', '/home/pi/Desktop/images/21022025/22/59/image_21022025_22_59_45_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/58/image_21022025_22_58_56_9346.jpg
/home/pi/Desktop/images/21022025/22/59/image_21022025_22_59_36_10381.jpg
/home/pi/Desktop/images/21022025/22/59/image_21022025_22_59_45_9379.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338927362","1338927364","1338927366"],"photo_ids_order":["1338927362","1338927364","1338927366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/af3073688684d907be78a3b4bb74be11.jpg","text":"TemporaryFile(/tmp/multipartBody7015210566844398483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175243231,"filename":"image_21022025_22_58_56_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e4871a26c143eca400d5834982810d6.jpg","text":"TemporaryFile(/tmp/multipartBody978039286304122505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175243231,"filename":"image_21022025_22_59_36_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f7a4c10ccd7b9477eb8d4bbec83c0688.jpg","text":"TemporaryFile(/tmp/multipartBody4365747285711066825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175243231,"filename":"image_21022025_22_59_45_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338927366","file1":"1338927364","file0":"1338927362"},"map_files_photo_id_array":[{"photo_id":"1338927366","filename":"file2"},{"photo_id":"1338927364","filename":"file1"},{"photo_id":"1338927362","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338927362":["hashtag1","hashtag2"]},{"1338927364":["hashtag1","hashtag2"]},{"1338927366":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338927362, 1338927364, 1338927366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.180830001831055 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:00:32.759985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/22/59/image_21022025_22_59_56_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/22/59/image_21022025_22_59_56_10356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338927395"],"photo_id":"1338927395","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/239bfc27f593b44588e51759ded058d0.jpg","text":"TemporaryFile(/tmp/multipartBody8097941542437927294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175293169,"filename":"image_21022025_22_59_56_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338927395"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338927395"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 9.932712316513062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:00:52.767993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/41/image_20022025_22_41_34_9312.jpg', '/home/pi/Desktop/images/20022025/22/41/image_20022025_22_41_44_10350.jpg', '/home/pi/Desktop/images/20022025/22/42/image_20022025_22_42_15_10403.jpg', '/home/pi/Desktop/images/20022025/22/42/image_20022025_22_42_24_9395.jpg', '/home/pi/Desktop/images/20022025/22/42/image_20022025_22_42_34_10342.jpg', '/home/pi/Desktop/images/20022025/22/42/image_20022025_22_42_45_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/41/image_20022025_22_41_34_9312.jpg
/home/pi/Desktop/images/20022025/22/41/image_20022025_22_41_44_10350.jpg
/home/pi/Desktop/images/20022025/22/42/image_20022025_22_42_15_10403.jpg
/home/pi/Desktop/images/20022025/22/42/image_20022025_22_42_24_9395.jpg
/home/pi/Desktop/images/20022025/22/42/image_20022025_22_42_34_10342.jpg
/home/pi/Desktop/images/20022025/22/42/image_20022025_22_42_45_10403.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338928498","1338928025","1338928489","1338928348","1338928494","1338928491"],"photo_ids_order":["1338928025","1338928348","1338928489","1338928491","1338928494","1338928498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6a8eef6ec8c2a72d95a6af21c7239e40.jpg","text":"TemporaryFile(/tmp/multipartBody7050634607676669891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175314884,"filename":"image_20022025_22_42_45_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/538c1f5646cb6ea5e6ec9ab78017fcb6.jpg","text":"TemporaryFile(/tmp/multipartBody2315489059071300189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175314884,"filename":"image_20022025_22_41_34_9312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aca4fb83e507849e4ce45f05ec56956f.jpg","text":"TemporaryFile(/tmp/multipartBody5753720284353518979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175314884,"filename":"image_20022025_22_42_15_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9312aedc5d00559cba7b32f324ad8590.jpg","text":"TemporaryFile(/tmp/multipartBody8064374097344127646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175314884,"filename":"image_20022025_22_41_44_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f913a4d1badf384f4672d6f40afbd4e1.jpg","text":"TemporaryFile(/tmp/multipartBody1669192402572543125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175314884,"filename":"image_20022025_22_42_34_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ad426d1f1fe6ebb7d2f8ea3a2d4f756e.jpg","text":"TemporaryFile(/tmp/multipartBody8846696900065020166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175314884,"filename":"image_20022025_22_42_24_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338928489","file1":"1338928348","file0":"1338928025","file4":"1338928494","file5":"1338928498","file3":"1338928491"},"map_files_photo_id_array":[{"photo_id":"1338928498","filename":"file5"},{"photo_id":"1338928489","filename":"file2"},{"photo_id":"1338928494","filename":"file4"},{"photo_id":"1338928348","filename":"file1"},{"photo_id":"1338928025","filename":"file0"},{"photo_id":"1338928491","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338928498":["hashtag1","hashtag2"]},{"1338928025":["hashtag1","hashtag2"]},{"1338928489":["hashtag1","hashtag2"]},{"1338928348":["hashtag1","hashtag2"]},{"1338928494":["hashtag1","hashtag2"]},{"1338928491":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338928498, 1338928025, 1338928489, 1338928348, 1338928494, 1338928491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45101499557495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:01:33.015758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/00/image_21022025_23_00_16_10076.jpg', '/home/pi/Desktop/images/21022025/23/00/image_21022025_23_01_06_9440.jpg', '/home/pi/Desktop/images/21022025/23/01/image_21022025_23_01_26_10371.jpg', '/home/pi/Desktop/images/21022025/23/01/image_21022025_23_01_36_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/00/image_21022025_23_00_16_10076.jpg
/home/pi/Desktop/images/21022025/23/00/image_21022025_23_01_06_9440.jpg
/home/pi/Desktop/images/21022025/23/01/image_21022025_23_01_26_10371.jpg
/home/pi/Desktop/images/21022025/23/01/image_21022025_23_01_36_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338928532","1338928528","1338928537","1338928521"],"photo_ids_order":["1338928521","1338928528","1338928532","1338928537"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/109ab27655bcdf5341508f6b55e33d0e.jpg","text":"TemporaryFile(/tmp/multipartBody7605948671034174470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175353460,"filename":"image_21022025_23_01_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1bc5c13924ee78190352b648d87d300f.jpg","text":"TemporaryFile(/tmp/multipartBody109850752604715357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175353460,"filename":"image_21022025_23_01_06_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a97f9341f03633055e26a51a5d59796e.jpg","text":"TemporaryFile(/tmp/multipartBody3885130397956584667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175353460,"filename":"image_21022025_23_01_36_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7b5f253ea6ff35e12be7f22f119f81fa.jpg","text":"TemporaryFile(/tmp/multipartBody8131400806284814799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175353460,"filename":"image_21022025_23_00_16_10076.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338928532","file1":"1338928528","file0":"1338928521","file3":"1338928537"},"map_files_photo_id_array":[{"photo_id":"1338928532","filename":"file2"},{"photo_id":"1338928528","filename":"file1"},{"photo_id":"1338928521","filename":"file0"},{"photo_id":"1338928537","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338928532":["hashtag1","hashtag2"]},{"1338928528":["hashtag1","hashtag2"]},{"1338928537":["hashtag1","hashtag2"]},{"1338928521":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338928532, 1338928528, 1338928537, 1338928521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.407652139663696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:02:02.806127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/42/image_20022025_22_42_54_9388.jpg', '/home/pi/Desktop/images/20022025/22/42/image_20022025_22_43_04_10333.jpg', '/home/pi/Desktop/images/20022025/22/43/image_20022025_22_43_15_10333.jpg', '/home/pi/Desktop/images/20022025/22/43/image_20022025_22_43_24_9415.jpg', '/home/pi/Desktop/images/20022025/22/43/image_20022025_22_43_35_10382.jpg', '/home/pi/Desktop/images/20022025/22/43/image_20022025_22_43_44_9322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/42/image_20022025_22_42_54_9388.jpg
/home/pi/Desktop/images/20022025/22/42/image_20022025_22_43_04_10333.jpg
/home/pi/Desktop/images/20022025/22/43/image_20022025_22_43_15_10333.jpg
/home/pi/Desktop/images/20022025/22/43/image_20022025_22_43_24_9415.jpg
/home/pi/Desktop/images/20022025/22/43/image_20022025_22_43_35_10382.jpg
/home/pi/Desktop/images/20022025/22/43/image_20022025_22_43_44_9322.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338928544","1338928831","1338928549","1338928542","1338928545","1338928655"],"photo_ids_order":["1338928542","1338928544","1338928545","1338928549","1338928655","1338928831"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6742ac57854aaaf3153dd50042675573.jpg","text":"TemporaryFile(/tmp/multipartBody5615040132330793190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175384161,"filename":"image_20022025_22_43_04_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b8d25b02e88c0c998181e8203a8db08a.jpg","text":"TemporaryFile(/tmp/multipartBody5615398344662370426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175384161,"filename":"image_20022025_22_43_44_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e679b11fa0b3fac9bad1c4398c5a6b33.jpg","text":"TemporaryFile(/tmp/multipartBody5511803432044177081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175384161,"filename":"image_20022025_22_43_24_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b10edb3dfdf3b0802dc5778e37ad56db.jpg","text":"TemporaryFile(/tmp/multipartBody8371951747316836079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175384161,"filename":"image_20022025_22_42_54_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c96ea5c8674624d8155784beb91d00d7.jpg","text":"TemporaryFile(/tmp/multipartBody8546455126293213689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175384161,"filename":"image_20022025_22_43_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/68dc5226cc36df70fca251fa2d658f89.jpg","text":"TemporaryFile(/tmp/multipartBody155781513932432063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175384161,"filename":"image_20022025_22_43_35_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338928545","file1":"1338928544","file0":"1338928542","file4":"1338928655","file5":"1338928831","file3":"1338928549"},"map_files_photo_id_array":[{"photo_id":"1338928831","filename":"file5"},{"photo_id":"1338928545","filename":"file2"},{"photo_id":"1338928655","filename":"file4"},{"photo_id":"1338928544","filename":"file1"},{"photo_id":"1338928542","filename":"file0"},{"photo_id":"1338928549","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338928544":["hashtag1","hashtag2"]},{"1338928831":["hashtag1","hashtag2"]},{"1338928549":["hashtag1","hashtag2"]},{"1338928542":["hashtag1","hashtag2"]},{"1338928545":["hashtag1","hashtag2"]},{"1338928655":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338928544, 1338928831, 1338928549, 1338928542, 1338928545, 1338928655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.89621067047119 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:02:42.181142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/01/image_21022025_23_01_46_10416.jpg', '/home/pi/Desktop/images/21022025/23/01/image_21022025_23_02_06_9356.jpg', '/home/pi/Desktop/images/21022025/23/02/image_21022025_23_02_16_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/01/image_21022025_23_01_46_10416.jpg
/home/pi/Desktop/images/21022025/23/01/image_21022025_23_02_06_9356.jpg
/home/pi/Desktop/images/21022025/23/02/image_21022025_23_02_16_10339.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338928900","1338928844","1338928847"],"photo_ids_order":["1338928844","1338928847","1338928900"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fbb3a87984c83962faa0da0477bc1052.jpg","text":"TemporaryFile(/tmp/multipartBody9202542523136543235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175422621,"filename":"image_21022025_23_02_16_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/14faf7db3fd1a53af664b2bd385c4a5e.jpg","text":"TemporaryFile(/tmp/multipartBody3838352165430601693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175422621,"filename":"image_21022025_23_01_46_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/096d83024d14152907c533077bce3eed.jpg","text":"TemporaryFile(/tmp/multipartBody6081673903965955300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175422621,"filename":"image_21022025_23_02_06_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338928900","file1":"1338928847","file0":"1338928844"},"map_files_photo_id_array":[{"photo_id":"1338928900","filename":"file2"},{"photo_id":"1338928847","filename":"file1"},{"photo_id":"1338928844","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338928900":["hashtag1","hashtag2"]},{"1338928844":["hashtag1","hashtag2"]},{"1338928847":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338928900, 1338928844, 1338928847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.079766035079956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:03:03.837579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/43/image_20022025_22_44_05_10426.jpg', '/home/pi/Desktop/images/20022025/22/44/image_20022025_22_44_14_9353.jpg', '/home/pi/Desktop/images/20022025/22/44/image_20022025_22_44_24_10385.jpg', '/home/pi/Desktop/images/20022025/22/44/image_20022025_22_44_35_10340.jpg', '/home/pi/Desktop/images/20022025/22/44/image_20022025_22_44_44_9362.jpg', '/home/pi/Desktop/images/20022025/22/44/image_20022025_22_44_55_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/43/image_20022025_22_44_05_10426.jpg
/home/pi/Desktop/images/20022025/22/44/image_20022025_22_44_14_9353.jpg
/home/pi/Desktop/images/20022025/22/44/image_20022025_22_44_24_10385.jpg
/home/pi/Desktop/images/20022025/22/44/image_20022025_22_44_35_10340.jpg
/home/pi/Desktop/images/20022025/22/44/image_20022025_22_44_44_9362.jpg
/home/pi/Desktop/images/20022025/22/44/image_20022025_22_44_55_10435.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338928984","1338928972","1338928978","1338928974","1338928982","1338928991"],"photo_ids_order":["1338928972","1338928974","1338928978","1338928982","1338928984","1338928991"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a5239d86ec2729c70fde396338c60fb9.jpg","text":"TemporaryFile(/tmp/multipartBody988908830225615994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175445441,"filename":"image_20022025_22_44_44_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0259b2785e4c6c82d71309fa2503998e.jpg","text":"TemporaryFile(/tmp/multipartBody8875282356612413635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175445441,"filename":"image_20022025_22_44_05_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e49dd62584f9b41e3749b49b48c55fdb.jpg","text":"TemporaryFile(/tmp/multipartBody672240990884903714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175445441,"filename":"image_20022025_22_44_24_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8df4a527f93a2178d4e084833de25386.jpg","text":"TemporaryFile(/tmp/multipartBody2642000805082994397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175445441,"filename":"image_20022025_22_44_14_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1a72329e4e79beec933d50068129408e.jpg","text":"TemporaryFile(/tmp/multipartBody6764319327314917997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175445441,"filename":"image_20022025_22_44_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a9b4d0c96c164c9dbcd45ca9f86926b9.jpg","text":"TemporaryFile(/tmp/multipartBody7997659411114594766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175445441,"filename":"image_20022025_22_44_55_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338928978","file1":"1338928974","file0":"1338928972","file4":"1338928984","file5":"1338928991","file3":"1338928982"},"map_files_photo_id_array":[{"photo_id":"1338928991","filename":"file5"},{"photo_id":"1338928978","filename":"file2"},{"photo_id":"1338928984","filename":"file4"},{"photo_id":"1338928974","filename":"file1"},{"photo_id":"1338928972","filename":"file0"},{"photo_id":"1338928982","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338928984":["hashtag1","hashtag2"]},{"1338928972":["hashtag1","hashtag2"]},{"1338928978":["hashtag1","hashtag2"]},{"1338928974":["hashtag1","hashtag2"]},{"1338928982":["hashtag1","hashtag2"]},{"1338928991":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338928984, 1338928972, 1338928978, 1338928974, 1338928982, 1338928991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.578516483306885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:03:42.364346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/02/image_21022025_23_02_27_10427.jpg', '/home/pi/Desktop/images/21022025/23/02/image_21022025_23_03_06_10326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/02/image_21022025_23_02_27_10427.jpg
/home/pi/Desktop/images/21022025/23/02/image_21022025_23_03_06_10326.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338929010","1338929006"],"photo_ids_order":["1338929006","1338929010"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/01dbe2b384b5aeaf90608aaa03b138b0.jpg","text":"TemporaryFile(/tmp/multipartBody5961606570601191848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175482790,"filename":"image_21022025_23_03_06_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5392d0b9a564ab9dfc5e2dd97c6b33c1.jpg","text":"TemporaryFile(/tmp/multipartBody6342734826271395420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175482790,"filename":"image_21022025_23_02_27_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338929010","file0":"1338929006"},"map_files_photo_id_array":[{"photo_id":"1338929010","filename":"file1"},{"photo_id":"1338929006","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338929010":["hashtag1","hashtag2"]},{"1338929006":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338929010, 1338929006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.549946546554565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:04:03.323809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/44/image_20022025_22_45_04_9334.jpg', '/home/pi/Desktop/images/20022025/22/45/image_20022025_22_45_25_10380.jpg', '/home/pi/Desktop/images/20022025/22/45/image_20022025_22_45_34_9253.jpg', '/home/pi/Desktop/images/20022025/22/45/image_20022025_22_45_44_10504.jpg', '/home/pi/Desktop/images/20022025/22/45/image_20022025_22_45_55_10397.jpg', '/home/pi/Desktop/images/20022025/22/45/image_20022025_22_46_04_9386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/44/image_20022025_22_45_04_9334.jpg
/home/pi/Desktop/images/20022025/22/45/image_20022025_22_45_25_10380.jpg
/home/pi/Desktop/images/20022025/22/45/image_20022025_22_45_34_9253.jpg
/home/pi/Desktop/images/20022025/22/45/image_20022025_22_45_44_10504.jpg
/home/pi/Desktop/images/20022025/22/45/image_20022025_22_45_55_10397.jpg
/home/pi/Desktop/images/20022025/22/45/image_20022025_22_46_04_9386.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338929018","1338929155","1338929029","1338929016","1338929025","1338929159"],"photo_ids_order":["1338929016","1338929018","1338929025","1338929029","1338929155","1338929159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a4802cefd420eb4c32d52db61585192.jpg","text":"TemporaryFile(/tmp/multipartBody246602924097024430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175504719,"filename":"image_20022025_22_45_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/662d6045fe34d42a0b5fbd33ce424d7c.jpg","text":"TemporaryFile(/tmp/multipartBody8998460138497892366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175504719,"filename":"image_20022025_22_45_55_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e475cd2accb664be14d3b03d8a6ce358.jpg","text":"TemporaryFile(/tmp/multipartBody7921367811929600688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175504719,"filename":"image_20022025_22_45_44_10504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/339ac006aa7ab06b661aeb080fc06299.jpg","text":"TemporaryFile(/tmp/multipartBody2002827823021988326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175504719,"filename":"image_20022025_22_45_04_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1ca3c8877b763bb34fd932557f0f843.jpg","text":"TemporaryFile(/tmp/multipartBody8323282897688093777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175504719,"filename":"image_20022025_22_45_34_9253.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/73cbbef99295c83a6ef0d9e10dd4aed1.jpg","text":"TemporaryFile(/tmp/multipartBody1803549168859130053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175504719,"filename":"image_20022025_22_46_04_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338929025","file1":"1338929018","file0":"1338929016","file4":"1338929155","file5":"1338929159","file3":"1338929029"},"map_files_photo_id_array":[{"photo_id":"1338929159","filename":"file5"},{"photo_id":"1338929025","filename":"file2"},{"photo_id":"1338929155","filename":"file4"},{"photo_id":"1338929018","filename":"file1"},{"photo_id":"1338929016","filename":"file0"},{"photo_id":"1338929029","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338929018":["hashtag1","hashtag2"]},{"1338929155":["hashtag1","hashtag2"]},{"1338929029":["hashtag1","hashtag2"]},{"1338929016":["hashtag1","hashtag2"]},{"1338929025":["hashtag1","hashtag2"]},{"1338929159":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338929018, 1338929155, 1338929029, 1338929016, 1338929025, 1338929159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33651041984558 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:04:42.621781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/03/image_21022025_23_03_46_9378.jpg', '/home/pi/Desktop/images/21022025/23/03/image_21022025_23_04_06_10339.jpg', '/home/pi/Desktop/images/21022025/23/04/image_21022025_23_04_16_9346.jpg', '/home/pi/Desktop/images/21022025/23/04/image_21022025_23_04_26_10359.jpg', '/home/pi/Desktop/images/21022025/23/04/image_21022025_23_04_36_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/03/image_21022025_23_03_46_9378.jpg
/home/pi/Desktop/images/21022025/23/03/image_21022025_23_04_06_10339.jpg
/home/pi/Desktop/images/21022025/23/04/image_21022025_23_04_16_9346.jpg
/home/pi/Desktop/images/21022025/23/04/image_21022025_23_04_26_10359.jpg
/home/pi/Desktop/images/21022025/23/04/image_21022025_23_04_36_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338929170","1338929173","1338929172","1338929171","1338929168"],"photo_ids_order":["1338929168","1338929170","1338929171","1338929172","1338929173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5adfc5c5e14fd0083347c875c7e7032f.jpg","text":"TemporaryFile(/tmp/multipartBody6499266106707595658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175543092,"filename":"image_21022025_23_04_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/60f89bdacbbbeae33ce37e4827210039.jpg","text":"TemporaryFile(/tmp/multipartBody7994790247598731329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175543092,"filename":"image_21022025_23_04_36_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6fafd317f2e64c9deafd7ad3923838b6.jpg","text":"TemporaryFile(/tmp/multipartBody4781498824351958573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175543092,"filename":"image_21022025_23_04_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c8a28b66428c193c45ac991f9dcba505.jpg","text":"TemporaryFile(/tmp/multipartBody8968679141476951979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175543092,"filename":"image_21022025_23_04_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8e0ee0fb2dd2f7031e6336e945ba9ba1.jpg","text":"TemporaryFile(/tmp/multipartBody1910172328261179373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175543092,"filename":"image_21022025_23_03_46_9378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338929171","file1":"1338929170","file0":"1338929168","file4":"1338929173","file3":"1338929172"},"map_files_photo_id_array":[{"photo_id":"1338929171","filename":"file2"},{"photo_id":"1338929173","filename":"file4"},{"photo_id":"1338929170","filename":"file1"},{"photo_id":"1338929168","filename":"file0"},{"photo_id":"1338929172","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338929170":["hashtag1","hashtag2"]},{"1338929173":["hashtag1","hashtag2"]},{"1338929172":["hashtag1","hashtag2"]},{"1338929171":["hashtag1","hashtag2"]},{"1338929168":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338929170, 1338929173, 1338929172, 1338929171, 1338929168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.31046772003174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:05:32.875371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/04/image_21022025_23_04_46_9407.jpg', '/home/pi/Desktop/images/21022025/23/05/image_21022025_23_05_46_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/04/image_21022025_23_04_46_9407.jpg
/home/pi/Desktop/images/21022025/23/05/image_21022025_23_05_46_10342.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338929263","1338929269"],"photo_ids_order":["1338929263","1338929269"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7e422ede2ce1b66b9bd3c448e3b41e91.jpg","text":"TemporaryFile(/tmp/multipartBody5113469941472523392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175593295,"filename":"image_21022025_23_04_46_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1f296e7e1b4eeaa0eebf32fdb9ba7db6.jpg","text":"TemporaryFile(/tmp/multipartBody7820809713299457601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175593295,"filename":"image_21022025_23_05_46_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338929269","file0":"1338929263"},"map_files_photo_id_array":[{"photo_id":"1338929269","filename":"file1"},{"photo_id":"1338929263","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338929263":["hashtag1","hashtag2"]},{"1338929269":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338929263, 1338929269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.1705641746521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:05:52.832820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/46/image_20022025_22_46_14_10319.jpg', '/home/pi/Desktop/images/20022025/22/46/image_20022025_22_46_24_9363.jpg', '/home/pi/Desktop/images/20022025/22/46/image_20022025_22_46_34_10390.jpg', '/home/pi/Desktop/images/20022025/22/46/image_20022025_22_46_45_10385.jpg', '/home/pi/Desktop/images/20022025/22/46/image_20022025_22_46_54_9326.jpg', '/home/pi/Desktop/images/20022025/22/46/image_20022025_22_47_04_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/46/image_20022025_22_46_14_10319.jpg
/home/pi/Desktop/images/20022025/22/46/image_20022025_22_46_24_9363.jpg
/home/pi/Desktop/images/20022025/22/46/image_20022025_22_46_34_10390.jpg
/home/pi/Desktop/images/20022025/22/46/image_20022025_22_46_45_10385.jpg
/home/pi/Desktop/images/20022025/22/46/image_20022025_22_46_54_9326.jpg
/home/pi/Desktop/images/20022025/22/46/image_20022025_22_47_04_10387.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338929284","1338929278","1338929287","1338929292","1338929289","1338929281"],"photo_ids_order":["1338929278","1338929281","1338929284","1338929287","1338929289","1338929292"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/71ecd104a17bc14a25f5670f1cde524a.jpg","text":"TemporaryFile(/tmp/multipartBody5592272927216106973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175614955,"filename":"image_20022025_22_46_34_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d568dfde56700f7499100f379213af65.jpg","text":"TemporaryFile(/tmp/multipartBody283250494270439997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175614955,"filename":"image_20022025_22_46_14_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2d98d3a34f77d40090b1825639201907.jpg","text":"TemporaryFile(/tmp/multipartBody7053307126842344360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175614955,"filename":"image_20022025_22_46_45_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7242141dd399db3a7fdc13caf631ca62.jpg","text":"TemporaryFile(/tmp/multipartBody807216675846119574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175614955,"filename":"image_20022025_22_47_04_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e0943e24978158c85184fb1fc076db9b.jpg","text":"TemporaryFile(/tmp/multipartBody7387651100711886168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175614955,"filename":"image_20022025_22_46_54_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d74dfe2cec19c2f713090364c2f55868.jpg","text":"TemporaryFile(/tmp/multipartBody4044213043401081235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175614955,"filename":"image_20022025_22_46_24_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338929284","file1":"1338929281","file0":"1338929278","file4":"1338929289","file5":"1338929292","file3":"1338929287"},"map_files_photo_id_array":[{"photo_id":"1338929292","filename":"file5"},{"photo_id":"1338929284","filename":"file2"},{"photo_id":"1338929289","filename":"file4"},{"photo_id":"1338929281","filename":"file1"},{"photo_id":"1338929278","filename":"file0"},{"photo_id":"1338929287","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338929284":["hashtag1","hashtag2"]},{"1338929278":["hashtag1","hashtag2"]},{"1338929287":["hashtag1","hashtag2"]},{"1338929292":["hashtag1","hashtag2"]},{"1338929289":["hashtag1","hashtag2"]},{"1338929281":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338929284, 1338929278, 1338929287, 1338929292, 1338929289, 1338929281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.43688249588013 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:06:33.083235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/05/image_21022025_23_05_56_10356.jpg', '/home/pi/Desktop/images/21022025/23/05/image_21022025_23_06_06_9382.jpg', '/home/pi/Desktop/images/21022025/23/06/image_21022025_23_06_16_10362.jpg', '/home/pi/Desktop/images/21022025/23/06/image_21022025_23_06_46_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/05/image_21022025_23_05_56_10356.jpg
/home/pi/Desktop/images/21022025/23/05/image_21022025_23_06_06_9382.jpg
/home/pi/Desktop/images/21022025/23/06/image_21022025_23_06_16_10362.jpg
/home/pi/Desktop/images/21022025/23/06/image_21022025_23_06_46_10360.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3609755039215088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:06:43.039123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/05/image_21022025_23_05_56_10356.jpg', '/home/pi/Desktop/images/21022025/23/05/image_21022025_23_06_06_9382.jpg', '/home/pi/Desktop/images/21022025/23/06/image_21022025_23_06_16_10362.jpg', '/home/pi/Desktop/images/21022025/23/06/image_21022025_23_06_46_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/05/image_21022025_23_05_56_10356.jpg
/home/pi/Desktop/images/21022025/23/05/image_21022025_23_06_06_9382.jpg
/home/pi/Desktop/images/21022025/23/06/image_21022025_23_06_16_10362.jpg
/home/pi/Desktop/images/21022025/23/06/image_21022025_23_06_46_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338929326","1338929341","1338929336","1338929345"],"photo_ids_order":["1338929326","1338929336","1338929341","1338929345"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/865cca07fe941905b6b067bdafa59aed.jpg","text":"TemporaryFile(/tmp/multipartBody4068251076760334711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175663488,"filename":"image_21022025_23_05_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2143cd818fa6e84f828f78d45a37cf51.jpg","text":"TemporaryFile(/tmp/multipartBody1397184388336151803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175663488,"filename":"image_21022025_23_06_16_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d7005fec3069f0e43f424601fb4cd2ce.jpg","text":"TemporaryFile(/tmp/multipartBody5653226075579175693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175663488,"filename":"image_21022025_23_06_06_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d75bdc4269c8def6f8536bc0a762719b.jpg","text":"TemporaryFile(/tmp/multipartBody111171585755264218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175663488,"filename":"image_21022025_23_06_46_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338929341","file1":"1338929336","file0":"1338929326","file3":"1338929345"},"map_files_photo_id_array":[{"photo_id":"1338929341","filename":"file2"},{"photo_id":"1338929336","filename":"file1"},{"photo_id":"1338929326","filename":"file0"},{"photo_id":"1338929345","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338929326":["hashtag1","hashtag2"]},{"1338929341":["hashtag1","hashtag2"]},{"1338929336":["hashtag1","hashtag2"]},{"1338929345":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338929326, 1338929341, 1338929336, 1338929345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.309101343154907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:07:32.304620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/06/image_21022025_23_06_56_9335.jpg', '/home/pi/Desktop/images/21022025/23/07/image_21022025_23_07_16_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/06/image_21022025_23_06_56_9335.jpg
/home/pi/Desktop/images/21022025/23/07/image_21022025_23_07_16_10338.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338929415","1338929417"],"photo_ids_order":["1338929415","1338929417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2ac33f1bb431384fa63c26ba62cbe59d.jpg","text":"TemporaryFile(/tmp/multipartBody4169641226541276462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175712732,"filename":"image_21022025_23_06_56_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ae374cf14cbccd5be0186971bda0d4e2.jpg","text":"TemporaryFile(/tmp/multipartBody4031125008701688940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175712732,"filename":"image_21022025_23_07_16_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338929417","file0":"1338929415"},"map_files_photo_id_array":[{"photo_id":"1338929417","filename":"file1"},{"photo_id":"1338929415","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338929415":["hashtag1","hashtag2"]},{"1338929417":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338929415, 1338929417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.128154754638672 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:07:52.318870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/47/image_20022025_22_47_15_10360.jpg', '/home/pi/Desktop/images/20022025/22/47/image_20022025_22_47_24_9322.jpg', '/home/pi/Desktop/images/20022025/22/47/image_20022025_22_47_34_10336.jpg', '/home/pi/Desktop/images/20022025/22/47/image_20022025_22_47_45_10424.jpg', '/home/pi/Desktop/images/20022025/22/47/image_20022025_22_47_54_9356.jpg', '/home/pi/Desktop/images/20022025/22/47/image_20022025_22_48_04_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/47/image_20022025_22_47_15_10360.jpg
/home/pi/Desktop/images/20022025/22/47/image_20022025_22_47_24_9322.jpg
/home/pi/Desktop/images/20022025/22/47/image_20022025_22_47_34_10336.jpg
/home/pi/Desktop/images/20022025/22/47/image_20022025_22_47_45_10424.jpg
/home/pi/Desktop/images/20022025/22/47/image_20022025_22_47_54_9356.jpg
/home/pi/Desktop/images/20022025/22/47/image_20022025_22_48_04_10353.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338929425","1338929428","1338929436","1338929439","1338929430","1338929433"],"photo_ids_order":["1338929425","1338929428","1338929430","1338929433","1338929436","1338929439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1c00e1192a457943683646e79dab4305.jpg","text":"TemporaryFile(/tmp/multipartBody2573380992661142368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175734424,"filename":"image_20022025_22_47_15_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef82564627dd6563e861ff1844af8813.jpg","text":"TemporaryFile(/tmp/multipartBody7030079930435882479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175734424,"filename":"image_20022025_22_47_24_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c2f2c39e4c55621bf4b72e8d692848f.jpg","text":"TemporaryFile(/tmp/multipartBody7630346165296549717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175734424,"filename":"image_20022025_22_47_54_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/209fd5e362a64de0ead1694cfb9092cc.jpg","text":"TemporaryFile(/tmp/multipartBody7081505941313003727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175734424,"filename":"image_20022025_22_48_04_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ba6d54f0d5d1c3218cbf84b15e336a0e.jpg","text":"TemporaryFile(/tmp/multipartBody5662300484409563439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175734424,"filename":"image_20022025_22_47_34_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ebb059fe92531808685132eda17e7792.jpg","text":"TemporaryFile(/tmp/multipartBody4024244805630621214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175734424,"filename":"image_20022025_22_47_45_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338929430","file1":"1338929428","file0":"1338929425","file4":"1338929436","file5":"1338929439","file3":"1338929433"},"map_files_photo_id_array":[{"photo_id":"1338929439","filename":"file5"},{"photo_id":"1338929430","filename":"file2"},{"photo_id":"1338929436","filename":"file4"},{"photo_id":"1338929428","filename":"file1"},{"photo_id":"1338929425","filename":"file0"},{"photo_id":"1338929433","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338929425":["hashtag1","hashtag2"]},{"1338929428":["hashtag1","hashtag2"]},{"1338929436":["hashtag1","hashtag2"]},{"1338929439":["hashtag1","hashtag2"]},{"1338929430":["hashtag1","hashtag2"]},{"1338929433":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338929425, 1338929428, 1338929436, 1338929439, 1338929430, 1338929433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.245585441589355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:08:32.523438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/07/image_21022025_23_07_56_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/07/image_21022025_23_07_56_9424.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338929451"],"photo_id":"1338929451","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/19a1dea64a1ec19c37d689506d915a61.jpg","text":"TemporaryFile(/tmp/multipartBody5501878177161498711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175772928,"filename":"image_21022025_23_07_56_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338929451"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338929451"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.135491609573364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:08:52.640343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/48/image_20022025_22_48_15_10334.jpg', '/home/pi/Desktop/images/20022025/22/48/image_20022025_22_48_24_9309.jpg', '/home/pi/Desktop/images/20022025/22/48/image_20022025_22_48_35_10447.jpg', '/home/pi/Desktop/images/20022025/22/48/image_20022025_22_48_44_9327.jpg', '/home/pi/Desktop/images/20022025/22/48/image_20022025_22_48_54_10385.jpg', '/home/pi/Desktop/images/20022025/22/48/image_20022025_22_49_05_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/48/image_20022025_22_48_15_10334.jpg
/home/pi/Desktop/images/20022025/22/48/image_20022025_22_48_24_9309.jpg
/home/pi/Desktop/images/20022025/22/48/image_20022025_22_48_35_10447.jpg
/home/pi/Desktop/images/20022025/22/48/image_20022025_22_48_44_9327.jpg
/home/pi/Desktop/images/20022025/22/48/image_20022025_22_48_54_10385.jpg
/home/pi/Desktop/images/20022025/22/48/image_20022025_22_49_05_10376.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.076692581176758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:09:04.344656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/48/image_20022025_22_48_15_10334.jpg', '/home/pi/Desktop/images/20022025/22/48/image_20022025_22_48_24_9309.jpg', '/home/pi/Desktop/images/20022025/22/48/image_20022025_22_48_35_10447.jpg', '/home/pi/Desktop/images/20022025/22/48/image_20022025_22_48_44_9327.jpg', '/home/pi/Desktop/images/20022025/22/48/image_20022025_22_48_54_10385.jpg', '/home/pi/Desktop/images/20022025/22/48/image_20022025_22_49_05_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/48/image_20022025_22_48_15_10334.jpg
/home/pi/Desktop/images/20022025/22/48/image_20022025_22_48_24_9309.jpg
/home/pi/Desktop/images/20022025/22/48/image_20022025_22_48_35_10447.jpg
/home/pi/Desktop/images/20022025/22/48/image_20022025_22_48_44_9327.jpg
/home/pi/Desktop/images/20022025/22/48/image_20022025_22_48_54_10385.jpg
/home/pi/Desktop/images/20022025/22/48/image_20022025_22_49_05_10376.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338929484","1338929472","1338929477","1338929492","1338929486","1338929488"],"photo_ids_order":["1338929472","1338929477","1338929484","1338929486","1338929488","1338929492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7dcae2856986856f5473145605c61760.jpg","text":"TemporaryFile(/tmp/multipartBody1505537739232559716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175805922,"filename":"image_20022025_22_48_35_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e95bc4845570be82ee77d52ef892181c.jpg","text":"TemporaryFile(/tmp/multipartBody8936732378846805454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175805922,"filename":"image_20022025_22_48_15_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8dffd590dfd816e22b12ad1cea45904d.jpg","text":"TemporaryFile(/tmp/multipartBody300711186767264264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175805922,"filename":"image_20022025_22_48_24_9309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/861f538fba4ee437c897b74e4562173d.jpg","text":"TemporaryFile(/tmp/multipartBody8538354403847249835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175805922,"filename":"image_20022025_22_49_05_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/28b462bc2593cacf61f6f9dc7cc4f61a.jpg","text":"TemporaryFile(/tmp/multipartBody1175984169776556730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175805922,"filename":"image_20022025_22_48_44_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/39caefb5349c2420d1e91c80c7ab0078.jpg","text":"TemporaryFile(/tmp/multipartBody6942803055343368339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175805922,"filename":"image_20022025_22_48_54_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338929484","file1":"1338929477","file0":"1338929472","file4":"1338929488","file5":"1338929492","file3":"1338929486"},"map_files_photo_id_array":[{"photo_id":"1338929492","filename":"file5"},{"photo_id":"1338929484","filename":"file2"},{"photo_id":"1338929488","filename":"file4"},{"photo_id":"1338929477","filename":"file1"},{"photo_id":"1338929472","filename":"file0"},{"photo_id":"1338929486","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338929484":["hashtag1","hashtag2"]},{"1338929472":["hashtag1","hashtag2"]},{"1338929477":["hashtag1","hashtag2"]},{"1338929492":["hashtag1","hashtag2"]},{"1338929486":["hashtag1","hashtag2"]},{"1338929488":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338929484, 1338929472, 1338929477, 1338929492, 1338929486, 1338929488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04142951965332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:09:42.855899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/08/image_21022025_23_08_16_10340.jpg', '/home/pi/Desktop/images/21022025/23/08/image_21022025_23_09_06_10358.jpg', '/home/pi/Desktop/images/21022025/23/09/image_21022025_23_09_16_9441.jpg', '/home/pi/Desktop/images/21022025/23/09/image_21022025_23_09_26_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/08/image_21022025_23_08_16_10340.jpg
/home/pi/Desktop/images/21022025/23/08/image_21022025_23_09_06_10358.jpg
/home/pi/Desktop/images/21022025/23/09/image_21022025_23_09_16_9441.jpg
/home/pi/Desktop/images/21022025/23/09/image_21022025_23_09_26_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338929521","1338929516","1338929519","1338929510"],"photo_ids_order":["1338929510","1338929516","1338929519","1338929521"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1e78b142e937f85e2c05ca7d1c6a6ab.jpg","text":"TemporaryFile(/tmp/multipartBody1920109756182504285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175843303,"filename":"image_21022025_23_09_26_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cfae43fb74779560650e84d12a744491.jpg","text":"TemporaryFile(/tmp/multipartBody4015455898822369416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175843303,"filename":"image_21022025_23_09_06_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ebafe57c2b446a24e5875f52ee1516ca.jpg","text":"TemporaryFile(/tmp/multipartBody8242889437058591193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175843303,"filename":"image_21022025_23_09_16_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/88e9069a567f72e3ea502c34972bdd29.jpg","text":"TemporaryFile(/tmp/multipartBody9150043871730706213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175843303,"filename":"image_21022025_23_08_16_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338929519","file1":"1338929516","file0":"1338929510","file3":"1338929521"},"map_files_photo_id_array":[{"photo_id":"1338929519","filename":"file2"},{"photo_id":"1338929516","filename":"file1"},{"photo_id":"1338929510","filename":"file0"},{"photo_id":"1338929521","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338929521":["hashtag1","hashtag2"]},{"1338929516":["hashtag1","hashtag2"]},{"1338929519":["hashtag1","hashtag2"]},{"1338929510":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338929521, 1338929516, 1338929519, 1338929510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.18771743774414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:10:33.114358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/09/image_21022025_23_09_46_9433.jpg', '/home/pi/Desktop/images/21022025/23/09/image_21022025_23_10_06_9441.jpg', '/home/pi/Desktop/images/21022025/23/10/image_21022025_23_10_16_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/09/image_21022025_23_09_46_9433.jpg
/home/pi/Desktop/images/21022025/23/09/image_21022025_23_10_06_9441.jpg
/home/pi/Desktop/images/21022025/23/10/image_21022025_23_10_16_10366.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338929553","1338929550","1338929546"],"photo_ids_order":["1338929546","1338929550","1338929553"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fbea1efb823c59aa224204f67ace12e2.jpg","text":"TemporaryFile(/tmp/multipartBody6537353775605739087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175893563,"filename":"image_21022025_23_10_16_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1023499777ee5557b795435c775c87a9.jpg","text":"TemporaryFile(/tmp/multipartBody7752994228649212917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175893563,"filename":"image_21022025_23_10_06_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fe72b8eeb44dbc2c95d6b3a4b45281b9.jpg","text":"TemporaryFile(/tmp/multipartBody6999276765838184689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175893563,"filename":"image_21022025_23_09_46_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338929553","file1":"1338929550","file0":"1338929546"},"map_files_photo_id_array":[{"photo_id":"1338929553","filename":"file2"},{"photo_id":"1338929550","filename":"file1"},{"photo_id":"1338929546","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338929553":["hashtag1","hashtag2"]},{"1338929550":["hashtag1","hashtag2"]},{"1338929546":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338929553, 1338929550, 1338929546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.71836495399475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:10:53.050627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/49/image_20022025_22_49_14_9314.jpg', '/home/pi/Desktop/images/20022025/22/49/image_20022025_22_49_24_10331.jpg', '/home/pi/Desktop/images/20022025/22/49/image_20022025_22_49_35_10360.jpg', '/home/pi/Desktop/images/20022025/22/49/image_20022025_22_49_44_9335.jpg', '/home/pi/Desktop/images/20022025/22/49/image_20022025_22_49_54_10392.jpg', '/home/pi/Desktop/images/20022025/22/49/image_20022025_22_50_05_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/49/image_20022025_22_49_14_9314.jpg
/home/pi/Desktop/images/20022025/22/49/image_20022025_22_49_24_10331.jpg
/home/pi/Desktop/images/20022025/22/49/image_20022025_22_49_35_10360.jpg
/home/pi/Desktop/images/20022025/22/49/image_20022025_22_49_44_9335.jpg
/home/pi/Desktop/images/20022025/22/49/image_20022025_22_49_54_10392.jpg
/home/pi/Desktop/images/20022025/22/49/image_20022025_22_50_05_10351.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338929565","1338929580","1338929574","1338929568","1338929582","1338929570"],"photo_ids_order":["1338929565","1338929568","1338929570","1338929574","1338929580","1338929582"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e35cc567b826e5e80e5847bb5750a82c.jpg","text":"TemporaryFile(/tmp/multipartBody4347115993963867499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175915164,"filename":"image_20022025_22_49_14_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a52d647160f41238a4fe1d94b1e0bd18.jpg","text":"TemporaryFile(/tmp/multipartBody7200213563466571854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175915164,"filename":"image_20022025_22_49_54_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e2939c66b964da69359484b42df4e79d.jpg","text":"TemporaryFile(/tmp/multipartBody4825204629328071601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175915164,"filename":"image_20022025_22_49_44_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e38f5b256e0c97c1af5ddbf69b29ae5.jpg","text":"TemporaryFile(/tmp/multipartBody1454226553511888631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175915164,"filename":"image_20022025_22_49_24_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ca5df9f2bb54a653b85c8b4d05cc672c.jpg","text":"TemporaryFile(/tmp/multipartBody7932771636056437563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175915164,"filename":"image_20022025_22_50_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a3a004943bbcfde00a98d4dcc0d0f371.jpg","text":"TemporaryFile(/tmp/multipartBody8033368479110830523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175915164,"filename":"image_20022025_22_49_35_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338929570","file1":"1338929568","file0":"1338929565","file4":"1338929580","file5":"1338929582","file3":"1338929574"},"map_files_photo_id_array":[{"photo_id":"1338929582","filename":"file5"},{"photo_id":"1338929570","filename":"file2"},{"photo_id":"1338929580","filename":"file4"},{"photo_id":"1338929568","filename":"file1"},{"photo_id":"1338929565","filename":"file0"},{"photo_id":"1338929574","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338929565":["hashtag1","hashtag2"]},{"1338929580":["hashtag1","hashtag2"]},{"1338929574":["hashtag1","hashtag2"]},{"1338929568":["hashtag1","hashtag2"]},{"1338929582":["hashtag1","hashtag2"]},{"1338929570":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338929565, 1338929580, 1338929574, 1338929568, 1338929582, 1338929570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.432799100875854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:11:32.259717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/10/image_21022025_23_10_36_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/10/image_21022025_23_10_36_9341.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338929590"],"photo_id":"1338929590","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c2c53f4b5f5bb2f230e809d77ed2e9e9.jpg","text":"TemporaryFile(/tmp/multipartBody283115820736897610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175952670,"filename":"image_21022025_23_10_36_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338929590"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338929590"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.543009996414185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:11:52.324732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/50/image_20022025_22_50_14_9418.jpg', '/home/pi/Desktop/images/20022025/22/50/image_20022025_22_50_25_10433.jpg', '/home/pi/Desktop/images/20022025/22/50/image_20022025_22_50_44_10384.jpg', '/home/pi/Desktop/images/20022025/22/50/image_20022025_22_50_55_10400.jpg', '/home/pi/Desktop/images/20022025/22/50/image_20022025_22_51_04_9330.jpg', '/home/pi/Desktop/images/20022025/22/51/image_20022025_22_51_14_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/50/image_20022025_22_50_14_9418.jpg
/home/pi/Desktop/images/20022025/22/50/image_20022025_22_50_25_10433.jpg
/home/pi/Desktop/images/20022025/22/50/image_20022025_22_50_44_10384.jpg
/home/pi/Desktop/images/20022025/22/50/image_20022025_22_50_55_10400.jpg
/home/pi/Desktop/images/20022025/22/50/image_20022025_22_51_04_9330.jpg
/home/pi/Desktop/images/20022025/22/51/image_20022025_22_51_14_10338.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338929611","1338929629","1338929637","1338929601","1338929600","1338929603"],"photo_ids_order":["1338929600","1338929601","1338929603","1338929611","1338929629","1338929637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cbc056718afb21d569177a255a0aebe1.jpg","text":"TemporaryFile(/tmp/multipartBody4893674393902369743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175974450,"filename":"image_20022025_22_50_55_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/452d1732135693548f8b01ac4967ea69.jpg","text":"TemporaryFile(/tmp/multipartBody5814320617023319962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175974450,"filename":"image_20022025_22_51_04_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f200296a6f5e1df9f2577114d5014aaf.jpg","text":"TemporaryFile(/tmp/multipartBody770306696216791714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175974450,"filename":"image_20022025_22_51_14_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/891b2adec1cf384103e77ac039bbe2e6.jpg","text":"TemporaryFile(/tmp/multipartBody7356247742827016901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175974450,"filename":"image_20022025_22_50_25_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c2ba151d04ed5d96edbbb6089edc607.jpg","text":"TemporaryFile(/tmp/multipartBody5681941884529970621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175974450,"filename":"image_20022025_22_50_14_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b48487e30acb89fcd6909f56c5e3b9a.jpg","text":"TemporaryFile(/tmp/multipartBody1171536988394494357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740175974450,"filename":"image_20022025_22_50_44_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338929603","file1":"1338929601","file0":"1338929600","file4":"1338929629","file5":"1338929637","file3":"1338929611"},"map_files_photo_id_array":[{"photo_id":"1338929637","filename":"file5"},{"photo_id":"1338929603","filename":"file2"},{"photo_id":"1338929629","filename":"file4"},{"photo_id":"1338929601","filename":"file1"},{"photo_id":"1338929600","filename":"file0"},{"photo_id":"1338929611","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338929611":["hashtag1","hashtag2"]},{"1338929629":["hashtag1","hashtag2"]},{"1338929637":["hashtag1","hashtag2"]},{"1338929601":["hashtag1","hashtag2"]},{"1338929600":["hashtag1","hashtag2"]},{"1338929603":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338929611, 1338929629, 1338929637, 1338929601, 1338929600, 1338929603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23069930076599 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:12:32.546127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/11/image_21022025_23_11_56_9342.jpg', '/home/pi/Desktop/images/21022025/23/11/image_21022025_23_12_06_10401.jpg', '/home/pi/Desktop/images/21022025/23/12/image_21022025_23_12_26_9393.jpg', '/home/pi/Desktop/images/21022025/23/12/image_21022025_23_12_36_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/11/image_21022025_23_11_56_9342.jpg
/home/pi/Desktop/images/21022025/23/11/image_21022025_23_12_06_10401.jpg
/home/pi/Desktop/images/21022025/23/12/image_21022025_23_12_26_9393.jpg
/home/pi/Desktop/images/21022025/23/12/image_21022025_23_12_36_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338929650","1338929644","1338929647","1338929652"],"photo_ids_order":["1338929644","1338929647","1338929650","1338929652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/06a7208fc552c786741d3e547dcdb596.jpg","text":"TemporaryFile(/tmp/multipartBody3688301350921083405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176012987,"filename":"image_21022025_23_12_26_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9ca8fad0292aedea34c25d22d582861c.jpg","text":"TemporaryFile(/tmp/multipartBody8276079355629811834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176012987,"filename":"image_21022025_23_11_56_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5835a01a062f6d722309cbb4a5331bf0.jpg","text":"TemporaryFile(/tmp/multipartBody3651672362983647138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176012987,"filename":"image_21022025_23_12_06_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92a6cb9d20cd6b8bc85438c3be85794d.jpg","text":"TemporaryFile(/tmp/multipartBody2860291216831180748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176012987,"filename":"image_21022025_23_12_36_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338929650","file1":"1338929647","file0":"1338929644","file3":"1338929652"},"map_files_photo_id_array":[{"photo_id":"1338929650","filename":"file2"},{"photo_id":"1338929647","filename":"file1"},{"photo_id":"1338929644","filename":"file0"},{"photo_id":"1338929652","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338929650":["hashtag1","hashtag2"]},{"1338929644":["hashtag1","hashtag2"]},{"1338929647":["hashtag1","hashtag2"]},{"1338929652":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338929650, 1338929644, 1338929647, 1338929652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.949782371520996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:13:04.274947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/51/image_20022025_22_51_25_10417.jpg', '/home/pi/Desktop/images/20022025/22/51/image_20022025_22_51_34_9325.jpg', '/home/pi/Desktop/images/20022025/22/51/image_20022025_22_51_54_9394.jpg', '/home/pi/Desktop/images/20022025/22/51/image_20022025_22_52_04_10318.jpg', '/home/pi/Desktop/images/20022025/22/52/image_20022025_22_52_15_10467.jpg', '/home/pi/Desktop/images/20022025/22/52/image_20022025_22_52_24_9317.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/51/image_20022025_22_51_25_10417.jpg
/home/pi/Desktop/images/20022025/22/51/image_20022025_22_51_34_9325.jpg
/home/pi/Desktop/images/20022025/22/51/image_20022025_22_51_54_9394.jpg
/home/pi/Desktop/images/20022025/22/51/image_20022025_22_52_04_10318.jpg
/home/pi/Desktop/images/20022025/22/52/image_20022025_22_52_15_10467.jpg
/home/pi/Desktop/images/20022025/22/52/image_20022025_22_52_24_9317.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338929674","1338929667","1338929669","1338929663","1338929672","1338929671"],"photo_ids_order":["1338929663","1338929667","1338929669","1338929671","1338929672","1338929674"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/363af7d5f85343cbf3537b207f6e145e.jpg","text":"TemporaryFile(/tmp/multipartBody2812596048581143749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176045995,"filename":"image_20022025_22_52_24_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7de63fcfb2d3a315120f7dcf4bc5c1ce.jpg","text":"TemporaryFile(/tmp/multipartBody713119095574517806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176045995,"filename":"image_20022025_22_51_34_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6196dbe20c1e9b965cdee8aaf81acb9b.jpg","text":"TemporaryFile(/tmp/multipartBody8863474967930720522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176045995,"filename":"image_20022025_22_51_54_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/74523542af7c63b649d59d080d30123f.jpg","text":"TemporaryFile(/tmp/multipartBody6105129610988447041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176045995,"filename":"image_20022025_22_51_25_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aed9c6bbba6fdb5fca3c8f927ecf3cb2.jpg","text":"TemporaryFile(/tmp/multipartBody416650187196495678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176045995,"filename":"image_20022025_22_52_15_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4b95e94becfcf4105d0c3fde09147a33.jpg","text":"TemporaryFile(/tmp/multipartBody5808641715510217664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176045995,"filename":"image_20022025_22_52_04_10318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338929669","file1":"1338929667","file0":"1338929663","file4":"1338929672","file5":"1338929674","file3":"1338929671"},"map_files_photo_id_array":[{"photo_id":"1338929674","filename":"file5"},{"photo_id":"1338929669","filename":"file2"},{"photo_id":"1338929672","filename":"file4"},{"photo_id":"1338929667","filename":"file1"},{"photo_id":"1338929663","filename":"file0"},{"photo_id":"1338929671","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338929674":["hashtag1","hashtag2"]},{"1338929667":["hashtag1","hashtag2"]},{"1338929669":["hashtag1","hashtag2"]},{"1338929663":["hashtag1","hashtag2"]},{"1338929672":["hashtag1","hashtag2"]},{"1338929671":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338929674, 1338929667, 1338929669, 1338929663, 1338929672, 1338929671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.62713360786438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:13:42.776805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/12/image_21022025_23_12_47_10359.jpg', '/home/pi/Desktop/images/21022025/23/13/image_21022025_23_13_16_9380.jpg', '/home/pi/Desktop/images/21022025/23/13/image_21022025_23_13_26_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/12/image_21022025_23_12_47_10359.jpg
/home/pi/Desktop/images/21022025/23/13/image_21022025_23_13_16_9380.jpg
/home/pi/Desktop/images/21022025/23/13/image_21022025_23_13_26_10375.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338929691","1338929685","1338929681"],"photo_ids_order":["1338929681","1338929685","1338929691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b277a4c069a953105f826bb24899efce.jpg","text":"TemporaryFile(/tmp/multipartBody6261400781536892026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176083218,"filename":"image_21022025_23_13_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dd71c25288010085b574818a1a873662.jpg","text":"TemporaryFile(/tmp/multipartBody108478075538602658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176083218,"filename":"image_21022025_23_13_16_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2e4fb7cbb73315dbbf42ecaeb84d0b08.jpg","text":"TemporaryFile(/tmp/multipartBody7263367067707798746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176083218,"filename":"image_21022025_23_12_47_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338929691","file1":"1338929685","file0":"1338929681"},"map_files_photo_id_array":[{"photo_id":"1338929691","filename":"file2"},{"photo_id":"1338929685","filename":"file1"},{"photo_id":"1338929681","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338929691":["hashtag1","hashtag2"]},{"1338929685":["hashtag1","hashtag2"]},{"1338929681":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338929691, 1338929685, 1338929681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.43649697303772 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:14:33.038034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/13/image_21022025_23_13_36_10388.jpg', '/home/pi/Desktop/images/21022025/23/14/image_21022025_23_14_16_9341.jpg', '/home/pi/Desktop/images/21022025/23/14/image_21022025_23_14_36_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/13/image_21022025_23_13_36_10388.jpg
/home/pi/Desktop/images/21022025/23/14/image_21022025_23_14_16_9341.jpg
/home/pi/Desktop/images/21022025/23/14/image_21022025_23_14_36_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338929704","1338929712","1338929702"],"photo_ids_order":["1338929702","1338929704","1338929712"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c99d325a66240e072c343baa590af968.jpg","text":"TemporaryFile(/tmp/multipartBody6238285596856958805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176133470,"filename":"image_21022025_23_14_16_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/03bb0585d3fa6707e2d9675751be6c04.jpg","text":"TemporaryFile(/tmp/multipartBody283875213949668678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176133470,"filename":"image_21022025_23_14_36_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ef73eb5f22ecf230303ab0edf8ca6b4.jpg","text":"TemporaryFile(/tmp/multipartBody8869747743451086072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176133470,"filename":"image_21022025_23_13_36_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338929712","file1":"1338929704","file0":"1338929702"},"map_files_photo_id_array":[{"photo_id":"1338929712","filename":"file2"},{"photo_id":"1338929704","filename":"file1"},{"photo_id":"1338929702","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338929704":["hashtag1","hashtag2"]},{"1338929712":["hashtag1","hashtag2"]},{"1338929702":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338929704, 1338929712, 1338929702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.087282419204712 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:15:03.797839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/52/image_20022025_22_52_34_10331.jpg', '/home/pi/Desktop/images/20022025/22/52/image_20022025_22_52_45_10339.jpg', '/home/pi/Desktop/images/20022025/22/52/image_20022025_22_52_54_9400.jpg', '/home/pi/Desktop/images/20022025/22/52/image_20022025_22_53_04_10325.jpg', '/home/pi/Desktop/images/20022025/22/53/image_20022025_22_53_15_10336.jpg', '/home/pi/Desktop/images/20022025/22/53/image_20022025_22_53_24_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/52/image_20022025_22_52_34_10331.jpg
/home/pi/Desktop/images/20022025/22/52/image_20022025_22_52_45_10339.jpg
/home/pi/Desktop/images/20022025/22/52/image_20022025_22_52_54_9400.jpg
/home/pi/Desktop/images/20022025/22/52/image_20022025_22_53_04_10325.jpg
/home/pi/Desktop/images/20022025/22/53/image_20022025_22_53_15_10336.jpg
/home/pi/Desktop/images/20022025/22/53/image_20022025_22_53_24_9358.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338929734","1338929743","1338929722","1338929731","1338929735","1338929729"],"photo_ids_order":["1338929722","1338929729","1338929731","1338929734","1338929735","1338929743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/33da53212f93de4cd5588406b341b3de.jpg","text":"TemporaryFile(/tmp/multipartBody7765260723943154541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176165379,"filename":"image_20022025_22_53_04_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c94cce1bfc4e8df61fcbd7bf612861d7.jpg","text":"TemporaryFile(/tmp/multipartBody2692651802356674238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176165379,"filename":"image_20022025_22_53_24_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/198c30229a754911391fdbd0dbc05d27.jpg","text":"TemporaryFile(/tmp/multipartBody1321602681451265339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176165379,"filename":"image_20022025_22_52_34_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8af421b2309a583fb2eb8a9bb81ffcee.jpg","text":"TemporaryFile(/tmp/multipartBody2652646210458588687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176165379,"filename":"image_20022025_22_52_54_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ba06961e0634d89a21cd7fbce379caad.jpg","text":"TemporaryFile(/tmp/multipartBody8357461152043024402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176165379,"filename":"image_20022025_22_53_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bf4fd3a03e0490449d3991b70eb09b0c.jpg","text":"TemporaryFile(/tmp/multipartBody719371148049221720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176165379,"filename":"image_20022025_22_52_45_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338929731","file1":"1338929729","file0":"1338929722","file4":"1338929735","file5":"1338929743","file3":"1338929734"},"map_files_photo_id_array":[{"photo_id":"1338929743","filename":"file5"},{"photo_id":"1338929731","filename":"file2"},{"photo_id":"1338929735","filename":"file4"},{"photo_id":"1338929729","filename":"file1"},{"photo_id":"1338929722","filename":"file0"},{"photo_id":"1338929734","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338929734":["hashtag1","hashtag2"]},{"1338929743":["hashtag1","hashtag2"]},{"1338929722":["hashtag1","hashtag2"]},{"1338929731":["hashtag1","hashtag2"]},{"1338929735":["hashtag1","hashtag2"]},{"1338929729":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338929734, 1338929743, 1338929722, 1338929731, 1338929735, 1338929729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16464066505432 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:15:42.352528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/14/image_21022025_23_14_56_10350.jpg', '/home/pi/Desktop/images/21022025/23/14/image_21022025_23_15_06_9339.jpg', '/home/pi/Desktop/images/21022025/23/15/image_21022025_23_15_36_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/14/image_21022025_23_14_56_10350.jpg
/home/pi/Desktop/images/21022025/23/14/image_21022025_23_15_06_9339.jpg
/home/pi/Desktop/images/21022025/23/15/image_21022025_23_15_36_9333.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338930404","1338930235","1338930062"],"photo_ids_order":["1338930062","1338930235","1338930404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ed989bd2221d84ebea1778c043ecba87.jpg","text":"TemporaryFile(/tmp/multipartBody2192991268738351915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176202788,"filename":"image_21022025_23_15_36_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/674dff153602a82f5d68efa6146ba514.jpg","text":"TemporaryFile(/tmp/multipartBody1796092529673834345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176202788,"filename":"image_21022025_23_15_06_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6ec9c773dcc41538f9cefe141bf51b0d.jpg","text":"TemporaryFile(/tmp/multipartBody627378594241848375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176202788,"filename":"image_21022025_23_14_56_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338930404","file1":"1338930235","file0":"1338930062"},"map_files_photo_id_array":[{"photo_id":"1338930404","filename":"file2"},{"photo_id":"1338930235","filename":"file1"},{"photo_id":"1338930062","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338930404":["hashtag1","hashtag2"]},{"1338930235":["hashtag1","hashtag2"]},{"1338930062":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338930404, 1338930235, 1338930062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.887053966522217 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:16:03.192942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/53/image_20022025_22_53_34_10346.jpg', '/home/pi/Desktop/images/20022025/22/53/image_20022025_22_53_44_9374.jpg', '/home/pi/Desktop/images/20022025/22/53/image_20022025_22_53_54_10333.jpg', '/home/pi/Desktop/images/20022025/22/53/image_20022025_22_54_05_10419.jpg', '/home/pi/Desktop/images/20022025/22/54/image_20022025_22_54_14_9312.jpg', '/home/pi/Desktop/images/20022025/22/54/image_20022025_22_54_24_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/53/image_20022025_22_53_34_10346.jpg
/home/pi/Desktop/images/20022025/22/53/image_20022025_22_53_44_9374.jpg
/home/pi/Desktop/images/20022025/22/53/image_20022025_22_53_54_10333.jpg
/home/pi/Desktop/images/20022025/22/53/image_20022025_22_54_05_10419.jpg
/home/pi/Desktop/images/20022025/22/54/image_20022025_22_54_14_9312.jpg
/home/pi/Desktop/images/20022025/22/54/image_20022025_22_54_24_10333.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338930586","1338930589","1338930582","1338930585","1338930588","1338930593"],"photo_ids_order":["1338930582","1338930585","1338930586","1338930588","1338930589","1338930593"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bcf488453476672042a8bf1592fa8b4a.jpg","text":"TemporaryFile(/tmp/multipartBody8023217115820602279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176224588,"filename":"image_20022025_22_53_54_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ec69695ca81da9bc5b97cdcf6586ac6c.jpg","text":"TemporaryFile(/tmp/multipartBody6369284561396621479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176224588,"filename":"image_20022025_22_54_14_9312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1a89f80fd35a810a4857daddc32f292.jpg","text":"TemporaryFile(/tmp/multipartBody7777177910089325415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176224588,"filename":"image_20022025_22_53_34_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23ada5c38b7d3e8bb384a1ca0fe949ba.jpg","text":"TemporaryFile(/tmp/multipartBody2175624013929161303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176224588,"filename":"image_20022025_22_53_44_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c9855b32735a074f34663c09dd9504f4.jpg","text":"TemporaryFile(/tmp/multipartBody9075418832304621694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176224588,"filename":"image_20022025_22_54_05_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7055ef14c72d5cb7a27b64210800138d.jpg","text":"TemporaryFile(/tmp/multipartBody2530796018695656826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176224588,"filename":"image_20022025_22_54_24_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338930586","file1":"1338930585","file0":"1338930582","file4":"1338930589","file5":"1338930593","file3":"1338930588"},"map_files_photo_id_array":[{"photo_id":"1338930593","filename":"file5"},{"photo_id":"1338930586","filename":"file2"},{"photo_id":"1338930589","filename":"file4"},{"photo_id":"1338930585","filename":"file1"},{"photo_id":"1338930582","filename":"file0"},{"photo_id":"1338930588","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338930586":["hashtag1","hashtag2"]},{"1338930589":["hashtag1","hashtag2"]},{"1338930582":["hashtag1","hashtag2"]},{"1338930585":["hashtag1","hashtag2"]},{"1338930588":["hashtag1","hashtag2"]},{"1338930593":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338930586, 1338930589, 1338930582, 1338930585, 1338930588, 1338930593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.22045588493347 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:16:42.509105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/15/image_21022025_23_15_56_10354.jpg', '/home/pi/Desktop/images/21022025/23/16/image_21022025_23_16_16_10350.jpg', '/home/pi/Desktop/images/21022025/23/16/image_21022025_23_16_27_10358.jpg', '/home/pi/Desktop/images/21022025/23/16/image_21022025_23_16_36_9379.jpg', '/home/pi/Desktop/images/21022025/23/16/image_21022025_23_16_46_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/15/image_21022025_23_15_56_10354.jpg
/home/pi/Desktop/images/21022025/23/16/image_21022025_23_16_16_10350.jpg
/home/pi/Desktop/images/21022025/23/16/image_21022025_23_16_27_10358.jpg
/home/pi/Desktop/images/21022025/23/16/image_21022025_23_16_36_9379.jpg
/home/pi/Desktop/images/21022025/23/16/image_21022025_23_16_46_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338930667","1338930661","1338930658","1338930663","1338930665"],"photo_ids_order":["1338930658","1338930661","1338930663","1338930665","1338930667"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0428165aa8bb17c8ca135b265195d60f.jpg","text":"TemporaryFile(/tmp/multipartBody1367137828004682886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176262993,"filename":"image_21022025_23_16_46_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/924b87968521bac5a9b6dc3c5a28eded.jpg","text":"TemporaryFile(/tmp/multipartBody8435854367264569233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176262993,"filename":"image_21022025_23_16_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e790578ece72ad7319750216ea17280.jpg","text":"TemporaryFile(/tmp/multipartBody8240271317330760356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176262993,"filename":"image_21022025_23_15_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df8e2abd718fdeb4fa8344b6df8aea40.jpg","text":"TemporaryFile(/tmp/multipartBody4995400411491015745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176262993,"filename":"image_21022025_23_16_27_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7d4b9f34b86e833f19cc2ffbe63be1e7.jpg","text":"TemporaryFile(/tmp/multipartBody6266055775470832268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176262993,"filename":"image_21022025_23_16_36_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338930663","file1":"1338930661","file0":"1338930658","file4":"1338930667","file3":"1338930665"},"map_files_photo_id_array":[{"photo_id":"1338930663","filename":"file2"},{"photo_id":"1338930667","filename":"file4"},{"photo_id":"1338930661","filename":"file1"},{"photo_id":"1338930658","filename":"file0"},{"photo_id":"1338930665","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338930667":["hashtag1","hashtag2"]},{"1338930661":["hashtag1","hashtag2"]},{"1338930658":["hashtag1","hashtag2"]},{"1338930663":["hashtag1","hashtag2"]},{"1338930665":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338930667, 1338930661, 1338930658, 1338930663, 1338930665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.107975244522095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:17:32.876906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/16/image_21022025_23_16_57_10420.jpg', '/home/pi/Desktop/images/21022025/23/17/image_21022025_23_17_16_10338.jpg', '/home/pi/Desktop/images/21022025/23/17/image_21022025_23_17_26_9340.jpg', '/home/pi/Desktop/images/21022025/23/17/image_21022025_23_17_36_10354.jpg', '/home/pi/Desktop/images/21022025/23/17/image_21022025_23_17_46_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/16/image_21022025_23_16_57_10420.jpg
/home/pi/Desktop/images/21022025/23/17/image_21022025_23_17_16_10338.jpg
/home/pi/Desktop/images/21022025/23/17/image_21022025_23_17_26_9340.jpg
/home/pi/Desktop/images/21022025/23/17/image_21022025_23_17_36_10354.jpg
/home/pi/Desktop/images/21022025/23/17/image_21022025_23_17_46_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338930937","1338930939","1338931002","1338930932","1338930935"],"photo_ids_order":["1338930932","1338930935","1338930937","1338930939","1338931002"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d76fa71d4600e814add920571fb5a0a0.jpg","text":"TemporaryFile(/tmp/multipartBody1914107807579672629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176313330,"filename":"image_21022025_23_17_26_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b64a11b919b3a8d998c76b5e0a4f181b.jpg","text":"TemporaryFile(/tmp/multipartBody8975894153324222959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176313330,"filename":"image_21022025_23_17_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a6aeed9cf8c2a9eb75937c49916e9cc6.jpg","text":"TemporaryFile(/tmp/multipartBody3721954817008109767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176313330,"filename":"image_21022025_23_17_46_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c4fc961dbd1f578b5542a19eb101127d.jpg","text":"TemporaryFile(/tmp/multipartBody697998020122865053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176313330,"filename":"image_21022025_23_16_57_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8c91e9b3d8fb6008872818454e17cc43.jpg","text":"TemporaryFile(/tmp/multipartBody5859829145484510210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176313330,"filename":"image_21022025_23_17_16_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338930937","file1":"1338930935","file0":"1338930932","file4":"1338931002","file3":"1338930939"},"map_files_photo_id_array":[{"photo_id":"1338930937","filename":"file2"},{"photo_id":"1338931002","filename":"file4"},{"photo_id":"1338930935","filename":"file1"},{"photo_id":"1338930932","filename":"file0"},{"photo_id":"1338930939","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338930937":["hashtag1","hashtag2"]},{"1338930939":["hashtag1","hashtag2"]},{"1338931002":["hashtag1","hashtag2"]},{"1338930932":["hashtag1","hashtag2"]},{"1338930935":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338930937, 1338930939, 1338931002, 1338930932, 1338930935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.70019268989563 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:18:03.690229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/54/image_20022025_22_54_35_10406.jpg', '/home/pi/Desktop/images/20022025/22/54/image_20022025_22_54_44_9322.jpg', '/home/pi/Desktop/images/20022025/22/54/image_20022025_22_54_54_10333.jpg', '/home/pi/Desktop/images/20022025/22/54/image_20022025_22_55_05_10413.jpg', '/home/pi/Desktop/images/20022025/22/55/image_20022025_22_55_14_9323.jpg', '/home/pi/Desktop/images/20022025/22/55/image_20022025_22_55_24_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/54/image_20022025_22_54_35_10406.jpg
/home/pi/Desktop/images/20022025/22/54/image_20022025_22_54_44_9322.jpg
/home/pi/Desktop/images/20022025/22/54/image_20022025_22_54_54_10333.jpg
/home/pi/Desktop/images/20022025/22/54/image_20022025_22_55_05_10413.jpg
/home/pi/Desktop/images/20022025/22/55/image_20022025_22_55_14_9323.jpg
/home/pi/Desktop/images/20022025/22/55/image_20022025_22_55_24_10329.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338931007","1338931006","1338931092","1338931071","1338931008","1338931010"],"photo_ids_order":["1338931006","1338931007","1338931008","1338931010","1338931071","1338931092"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/610115affd2d3cb4211e244a6cec36fc.jpg","text":"TemporaryFile(/tmp/multipartBody7227160398387611384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176345063,"filename":"image_20022025_22_54_44_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dcd415ac99cd45299154d7db19580897.jpg","text":"TemporaryFile(/tmp/multipartBody5480503780485594654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176345063,"filename":"image_20022025_22_54_35_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5a099e68a3be841b4821e00bf6085357.jpg","text":"TemporaryFile(/tmp/multipartBody2115894967548850992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176345063,"filename":"image_20022025_22_55_24_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/14ea66295e61193bd86b3f28905f3918.jpg","text":"TemporaryFile(/tmp/multipartBody7610640475371833014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176345063,"filename":"image_20022025_22_55_14_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a4a94b4070facb972895894321060b2.jpg","text":"TemporaryFile(/tmp/multipartBody9193079125393319892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176345063,"filename":"image_20022025_22_54_54_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/99a03ea199c34f71e15280f25fce0304.jpg","text":"TemporaryFile(/tmp/multipartBody355453346872358356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176345063,"filename":"image_20022025_22_55_05_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338931008","file1":"1338931007","file0":"1338931006","file4":"1338931071","file5":"1338931092","file3":"1338931010"},"map_files_photo_id_array":[{"photo_id":"1338931092","filename":"file5"},{"photo_id":"1338931008","filename":"file2"},{"photo_id":"1338931071","filename":"file4"},{"photo_id":"1338931007","filename":"file1"},{"photo_id":"1338931006","filename":"file0"},{"photo_id":"1338931010","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338931007":["hashtag1","hashtag2"]},{"1338931006":["hashtag1","hashtag2"]},{"1338931092":["hashtag1","hashtag2"]},{"1338931071":["hashtag1","hashtag2"]},{"1338931008":["hashtag1","hashtag2"]},{"1338931010":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338931007, 1338931006, 1338931092, 1338931071, 1338931008, 1338931010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.863104581832886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:18:43.102823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/17/image_21022025_23_17_56_9402.jpg', '/home/pi/Desktop/images/21022025/23/17/image_21022025_23_18_06_10341.jpg', '/home/pi/Desktop/images/21022025/23/18/image_21022025_23_18_16_10341.jpg', '/home/pi/Desktop/images/21022025/23/18/image_21022025_23_18_26_9439.jpg', '/home/pi/Desktop/images/21022025/23/18/image_21022025_23_18_36_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/17/image_21022025_23_17_56_9402.jpg
/home/pi/Desktop/images/21022025/23/17/image_21022025_23_18_06_10341.jpg
/home/pi/Desktop/images/21022025/23/18/image_21022025_23_18_16_10341.jpg
/home/pi/Desktop/images/21022025/23/18/image_21022025_23_18_26_9439.jpg
/home/pi/Desktop/images/21022025/23/18/image_21022025_23_18_36_10400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338931162","1338931156","1338931159","1338931153","1338931160"],"photo_ids_order":["1338931153","1338931156","1338931159","1338931160","1338931162"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e1e109794d32f5afbfacfbbb67a5111.jpg","text":"TemporaryFile(/tmp/multipartBody513490776766155521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176383555,"filename":"image_21022025_23_18_36_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3bc1838a89bb81fceadcfbd05e4673bc.jpg","text":"TemporaryFile(/tmp/multipartBody3646194395083034373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176383555,"filename":"image_21022025_23_18_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02dfc2e46ca1ca16714c88c0fd4e2286.jpg","text":"TemporaryFile(/tmp/multipartBody3929662799877506941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176383555,"filename":"image_21022025_23_18_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e950485714936935ce0ae5969c57853c.jpg","text":"TemporaryFile(/tmp/multipartBody1456215391683321376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176383555,"filename":"image_21022025_23_17_56_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/235a2f2d3daed4e36a37cedd23fa4208.jpg","text":"TemporaryFile(/tmp/multipartBody974101527494285078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176383555,"filename":"image_21022025_23_18_26_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338931159","file1":"1338931156","file0":"1338931153","file4":"1338931162","file3":"1338931160"},"map_files_photo_id_array":[{"photo_id":"1338931159","filename":"file2"},{"photo_id":"1338931162","filename":"file4"},{"photo_id":"1338931156","filename":"file1"},{"photo_id":"1338931153","filename":"file0"},{"photo_id":"1338931160","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338931162":["hashtag1","hashtag2"]},{"1338931156":["hashtag1","hashtag2"]},{"1338931159":["hashtag1","hashtag2"]},{"1338931153":["hashtag1","hashtag2"]},{"1338931160":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338931162, 1338931156, 1338931159, 1338931153, 1338931160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.416505336761475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:19:32.488338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/18/image_21022025_23_18_46_9476.jpg', '/home/pi/Desktop/images/21022025/23/19/image_21022025_23_19_16_9334.jpg', '/home/pi/Desktop/images/21022025/23/19/image_21022025_23_19_26_10454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/18/image_21022025_23_18_46_9476.jpg
/home/pi/Desktop/images/21022025/23/19/image_21022025_23_19_16_9334.jpg
/home/pi/Desktop/images/21022025/23/19/image_21022025_23_19_26_10454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338931213","1338931229","1338931208"],"photo_ids_order":["1338931208","1338931213","1338931229"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/636ae8d6a6aafac00b44a130f1491967.jpg","text":"TemporaryFile(/tmp/multipartBody3135197295244834579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176432919,"filename":"image_21022025_23_19_16_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e1d10bf9097d1dc873ff4816aef88a7a.jpg","text":"TemporaryFile(/tmp/multipartBody202868562698362646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176432919,"filename":"image_21022025_23_19_26_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/94bf46880d4c002866dc4f8b374c7ed1.jpg","text":"TemporaryFile(/tmp/multipartBody7546678123650627256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176432919,"filename":"image_21022025_23_18_46_9476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338931229","file1":"1338931213","file0":"1338931208"},"map_files_photo_id_array":[{"photo_id":"1338931229","filename":"file2"},{"photo_id":"1338931213","filename":"file1"},{"photo_id":"1338931208","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338931213":["hashtag1","hashtag2"]},{"1338931229":["hashtag1","hashtag2"]},{"1338931208":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338931213, 1338931229, 1338931208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.446943521499634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:20:03.334132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/55/image_20022025_22_55_35_10423.jpg', '/home/pi/Desktop/images/20022025/22/55/image_20022025_22_55_44_9370.jpg', '/home/pi/Desktop/images/20022025/22/55/image_20022025_22_55_55_10376.jpg', '/home/pi/Desktop/images/20022025/22/56/image_20022025_22_56_14_10371.jpg', '/home/pi/Desktop/images/20022025/22/56/image_20022025_22_56_25_10344.jpg', '/home/pi/Desktop/images/20022025/22/56/image_20022025_22_56_34_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/55/image_20022025_22_55_35_10423.jpg
/home/pi/Desktop/images/20022025/22/55/image_20022025_22_55_44_9370.jpg
/home/pi/Desktop/images/20022025/22/55/image_20022025_22_55_55_10376.jpg
/home/pi/Desktop/images/20022025/22/56/image_20022025_22_56_14_10371.jpg
/home/pi/Desktop/images/20022025/22/56/image_20022025_22_56_25_10344.jpg
/home/pi/Desktop/images/20022025/22/56/image_20022025_22_56_34_9347.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338931273","1338931261","1338931269","1338931236","1338931280","1338931244"],"photo_ids_order":["1338931236","1338931244","1338931261","1338931269","1338931273","1338931280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a8629acca7caa9c6e67d3d85edb5cbd1.jpg","text":"TemporaryFile(/tmp/multipartBody5307769496265429307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176464741,"filename":"image_20022025_22_56_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/694c4164b34d85172f40ef1071aa608f.jpg","text":"TemporaryFile(/tmp/multipartBody7303341289462873543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176464741,"filename":"image_20022025_22_55_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2f130b567f8b6a9763a9b3fc70e15de3.jpg","text":"TemporaryFile(/tmp/multipartBody5831971798068201145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176464741,"filename":"image_20022025_22_56_14_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5ecbbf3342e7b41f1c5f893be82db38c.jpg","text":"TemporaryFile(/tmp/multipartBody8427426502146998646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176464741,"filename":"image_20022025_22_55_35_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b584d9aaf407779ee30d042bef544d1d.jpg","text":"TemporaryFile(/tmp/multipartBody3226762023294603817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176464741,"filename":"image_20022025_22_56_34_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3b144b3525a57b884be0309c1e759279.jpg","text":"TemporaryFile(/tmp/multipartBody203598569398575254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176464741,"filename":"image_20022025_22_55_44_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338931261","file1":"1338931244","file0":"1338931236","file4":"1338931273","file5":"1338931280","file3":"1338931269"},"map_files_photo_id_array":[{"photo_id":"1338931280","filename":"file5"},{"photo_id":"1338931261","filename":"file2"},{"photo_id":"1338931273","filename":"file4"},{"photo_id":"1338931244","filename":"file1"},{"photo_id":"1338931236","filename":"file0"},{"photo_id":"1338931269","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338931273":["hashtag1","hashtag2"]},{"1338931261":["hashtag1","hashtag2"]},{"1338931269":["hashtag1","hashtag2"]},{"1338931236":["hashtag1","hashtag2"]},{"1338931280":["hashtag1","hashtag2"]},{"1338931244":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338931273, 1338931261, 1338931269, 1338931236, 1338931280, 1338931244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.95730257034302 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:20:42.618735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/19/image_21022025_23_19_56_10360.jpg', '/home/pi/Desktop/images/21022025/23/20/image_21022025_23_20_27_10363.jpg', '/home/pi/Desktop/images/21022025/23/20/image_21022025_23_20_36_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/19/image_21022025_23_19_56_10360.jpg
/home/pi/Desktop/images/21022025/23/20/image_21022025_23_20_27_10363.jpg
/home/pi/Desktop/images/21022025/23/20/image_21022025_23_20_36_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338932087","1338931818","1338931331"],"photo_ids_order":["1338931331","1338931818","1338932087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2c149c484fbe8d1e355e73b6327ea64b.jpg","text":"TemporaryFile(/tmp/multipartBody7428848875191750101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176503055,"filename":"image_21022025_23_20_36_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/062e2cdf5451ac5fe0bb797507de7e42.jpg","text":"TemporaryFile(/tmp/multipartBody8241444150151506329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176503055,"filename":"image_21022025_23_20_27_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4fcbdb177e89a0bfc09eb50430ea0477.jpg","text":"TemporaryFile(/tmp/multipartBody2493766834336746467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176503055,"filename":"image_21022025_23_19_56_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338932087","file1":"1338931818","file0":"1338931331"},"map_files_photo_id_array":[{"photo_id":"1338932087","filename":"file2"},{"photo_id":"1338931818","filename":"file1"},{"photo_id":"1338931331","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338932087":["hashtag1","hashtag2"]},{"1338931818":["hashtag1","hashtag2"]},{"1338931331":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338932087, 1338931818, 1338931331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.43480396270752 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:21:32.851248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/20/image_21022025_23_20_46_10389.jpg', '/home/pi/Desktop/images/21022025/23/21/image_21022025_23_21_16_10355.jpg', '/home/pi/Desktop/images/21022025/23/21/image_21022025_23_21_26_9430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/20/image_21022025_23_20_46_10389.jpg
/home/pi/Desktop/images/21022025/23/21/image_21022025_23_21_16_10355.jpg
/home/pi/Desktop/images/21022025/23/21/image_21022025_23_21_26_9430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338932192","1338932185","1338932188"],"photo_ids_order":["1338932185","1338932188","1338932192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c03f974d4777e4c440c96f1be55820b.jpg","text":"TemporaryFile(/tmp/multipartBody6017608072566479905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176553292,"filename":"image_21022025_23_21_26_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8910265b08086c6b223019961b772a4d.jpg","text":"TemporaryFile(/tmp/multipartBody2276346448549909292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176553292,"filename":"image_21022025_23_20_46_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f39b67686b4007f28ba852c7c602acf.jpg","text":"TemporaryFile(/tmp/multipartBody3109765376394427149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176553292,"filename":"image_21022025_23_21_16_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338932192","file1":"1338932188","file0":"1338932185"},"map_files_photo_id_array":[{"photo_id":"1338932192","filename":"file2"},{"photo_id":"1338932188","filename":"file1"},{"photo_id":"1338932185","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338932192":["hashtag1","hashtag2"]},{"1338932185":["hashtag1","hashtag2"]},{"1338932188":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338932192, 1338932185, 1338932188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.023144721984863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:22:03.810466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/56/image_20022025_22_56_44_10359.jpg', '/home/pi/Desktop/images/20022025/22/56/image_20022025_22_56_55_10370.jpg', '/home/pi/Desktop/images/20022025/22/56/image_20022025_22_57_04_9330.jpg', '/home/pi/Desktop/images/20022025/22/57/image_20022025_22_57_14_10314.jpg', '/home/pi/Desktop/images/20022025/22/57/image_20022025_22_57_25_10339.jpg', '/home/pi/Desktop/images/20022025/22/57/image_20022025_22_57_34_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/56/image_20022025_22_56_44_10359.jpg
/home/pi/Desktop/images/20022025/22/56/image_20022025_22_56_55_10370.jpg
/home/pi/Desktop/images/20022025/22/56/image_20022025_22_57_04_9330.jpg
/home/pi/Desktop/images/20022025/22/57/image_20022025_22_57_14_10314.jpg
/home/pi/Desktop/images/20022025/22/57/image_20022025_22_57_25_10339.jpg
/home/pi/Desktop/images/20022025/22/57/image_20022025_22_57_34_9331.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338932533","1338932449","1338932440","1338932538","1338932334","1338932470"],"photo_ids_order":["1338932334","1338932440","1338932449","1338932470","1338932533","1338932538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4a5516f10951efb9c7e02b1a4524e7a9.jpg","text":"TemporaryFile(/tmp/multipartBody7171736883524751140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176585271,"filename":"image_20022025_22_57_25_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0972b665d8a2646fed4f21c530d1c131.jpg","text":"TemporaryFile(/tmp/multipartBody2140486193290074016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176585271,"filename":"image_20022025_22_57_04_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8cb1bfc598dffba42b53bf1e192e6a6e.jpg","text":"TemporaryFile(/tmp/multipartBody8567547925939173022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176585271,"filename":"image_20022025_22_56_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c38c34aa2e302dd5083dbb829b9b8533.jpg","text":"TemporaryFile(/tmp/multipartBody2575745001995843077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176585271,"filename":"image_20022025_22_57_34_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6c55e9eb9f36d521fbd4eb1b5e1bb9df.jpg","text":"TemporaryFile(/tmp/multipartBody6545505531574262867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176585271,"filename":"image_20022025_22_56_44_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1586b2d17f7474798ab521326ba9174.jpg","text":"TemporaryFile(/tmp/multipartBody4076036335039177071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176585271,"filename":"image_20022025_22_57_14_10314.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338932449","file1":"1338932440","file0":"1338932334","file4":"1338932533","file5":"1338932538","file3":"1338932470"},"map_files_photo_id_array":[{"photo_id":"1338932538","filename":"file5"},{"photo_id":"1338932449","filename":"file2"},{"photo_id":"1338932533","filename":"file4"},{"photo_id":"1338932440","filename":"file1"},{"photo_id":"1338932334","filename":"file0"},{"photo_id":"1338932470","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338932533":["hashtag1","hashtag2"]},{"1338932449":["hashtag1","hashtag2"]},{"1338932440":["hashtag1","hashtag2"]},{"1338932538":["hashtag1","hashtag2"]},{"1338932334":["hashtag1","hashtag2"]},{"1338932470":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338932533, 1338932449, 1338932440, 1338932538, 1338932334, 1338932470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.876630783081055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:22:43.248690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/21/image_21022025_23_21_36_10347.jpg', '/home/pi/Desktop/images/21022025/23/21/image_21022025_23_22_06_10333.jpg', '/home/pi/Desktop/images/21022025/23/22/image_21022025_23_22_26_9345.jpg', '/home/pi/Desktop/images/21022025/23/22/image_21022025_23_22_36_10340.jpg', '/home/pi/Desktop/images/21022025/23/22/image_21022025_23_22_46_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/21/image_21022025_23_21_36_10347.jpg
/home/pi/Desktop/images/21022025/23/21/image_21022025_23_22_06_10333.jpg
/home/pi/Desktop/images/21022025/23/22/image_21022025_23_22_26_9345.jpg
/home/pi/Desktop/images/21022025/23/22/image_21022025_23_22_36_10340.jpg
/home/pi/Desktop/images/21022025/23/22/image_21022025_23_22_46_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338932589","1338932585","1338932621","1338932587","1338932590"],"photo_ids_order":["1338932585","1338932587","1338932589","1338932590","1338932621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5938640bf514d2fe92c473b24e5e8082.jpg","text":"TemporaryFile(/tmp/multipartBody217695439404001558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176623922,"filename":"image_21022025_23_22_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff8a6a62e2df22bdf68083192411c7ad.jpg","text":"TemporaryFile(/tmp/multipartBody1260024731979978433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176623922,"filename":"image_21022025_23_21_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b20cea55abf840c5a3ba45f3d87c1430.jpg","text":"TemporaryFile(/tmp/multipartBody2392048319919997325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176623922,"filename":"image_21022025_23_22_46_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7d87e8d8e2cd57732ad2c6bbec9bcfd4.jpg","text":"TemporaryFile(/tmp/multipartBody4356574897507129339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176623922,"filename":"image_21022025_23_22_06_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1c8af963a4cf32b541f895f11d5aff87.jpg","text":"TemporaryFile(/tmp/multipartBody5352200714621317229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176623922,"filename":"image_21022025_23_22_36_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338932589","file1":"1338932587","file0":"1338932585","file4":"1338932621","file3":"1338932590"},"map_files_photo_id_array":[{"photo_id":"1338932589","filename":"file2"},{"photo_id":"1338932621","filename":"file4"},{"photo_id":"1338932587","filename":"file1"},{"photo_id":"1338932585","filename":"file0"},{"photo_id":"1338932590","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338932589":["hashtag1","hashtag2"]},{"1338932585":["hashtag1","hashtag2"]},{"1338932621":["hashtag1","hashtag2"]},{"1338932587":["hashtag1","hashtag2"]},{"1338932590":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338932589, 1338932585, 1338932621, 1338932587, 1338932590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.742354154586792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:23:32.319517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/22/image_21022025_23_22_56_10362.jpg', '/home/pi/Desktop/images/21022025/23/23/image_21022025_23_23_16_9444.jpg', '/home/pi/Desktop/images/21022025/23/23/image_21022025_23_23_26_10354.jpg', '/home/pi/Desktop/images/21022025/23/23/image_21022025_23_23_37_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/22/image_21022025_23_22_56_10362.jpg
/home/pi/Desktop/images/21022025/23/23/image_21022025_23_23_16_9444.jpg
/home/pi/Desktop/images/21022025/23/23/image_21022025_23_23_26_10354.jpg
/home/pi/Desktop/images/21022025/23/23/image_21022025_23_23_37_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338932643","1338932663","1338932653","1338932665"],"photo_ids_order":["1338932643","1338932653","1338932663","1338932665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/34c580ee3f80d448c7ef3505b6dd44b4.jpg","text":"TemporaryFile(/tmp/multipartBody7482923338596332907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176672765,"filename":"image_21022025_23_22_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/78a080f293ea02974ee08262e17e9dd7.jpg","text":"TemporaryFile(/tmp/multipartBody6982366796633106991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176672765,"filename":"image_21022025_23_23_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f027a11bb17d1095c996519879e92026.jpg","text":"TemporaryFile(/tmp/multipartBody2070641659782967331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176672765,"filename":"image_21022025_23_23_16_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81b5b796badf8272c7fb9cd823a08a30.jpg","text":"TemporaryFile(/tmp/multipartBody7820077533719069284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176672765,"filename":"image_21022025_23_23_37_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338932663","file1":"1338932653","file0":"1338932643","file3":"1338932665"},"map_files_photo_id_array":[{"photo_id":"1338932663","filename":"file2"},{"photo_id":"1338932653","filename":"file1"},{"photo_id":"1338932643","filename":"file0"},{"photo_id":"1338932665","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338932643":["hashtag1","hashtag2"]},{"1338932663":["hashtag1","hashtag2"]},{"1338932653":["hashtag1","hashtag2"]},{"1338932665":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338932643, 1338932663, 1338932653, 1338932665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.859349250793457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:24:03.231763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/57/image_20022025_22_57_44_10394.jpg', '/home/pi/Desktop/images/20022025/22/57/image_20022025_22_57_55_10338.jpg', '/home/pi/Desktop/images/20022025/22/57/image_20022025_22_58_04_9322.jpg', '/home/pi/Desktop/images/20022025/22/58/image_20022025_22_58_14_10330.jpg', '/home/pi/Desktop/images/20022025/22/58/image_20022025_22_58_25_10401.jpg', '/home/pi/Desktop/images/20022025/22/58/image_20022025_22_58_34_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/57/image_20022025_22_57_44_10394.jpg
/home/pi/Desktop/images/20022025/22/57/image_20022025_22_57_55_10338.jpg
/home/pi/Desktop/images/20022025/22/57/image_20022025_22_58_04_9322.jpg
/home/pi/Desktop/images/20022025/22/58/image_20022025_22_58_14_10330.jpg
/home/pi/Desktop/images/20022025/22/58/image_20022025_22_58_25_10401.jpg
/home/pi/Desktop/images/20022025/22/58/image_20022025_22_58_34_9398.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338932784","1338932757","1338932693","1338932768","1338932773","1338932776"],"photo_ids_order":["1338932693","1338932757","1338932768","1338932773","1338932776","1338932784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/edf849ca3771a77b6c72dbcbd3329e67.jpg","text":"TemporaryFile(/tmp/multipartBody276374600829390698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176704820,"filename":"image_20022025_22_58_34_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0619b7343980b885b8a303bad39a4d7b.jpg","text":"TemporaryFile(/tmp/multipartBody4860570373201653071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176704820,"filename":"image_20022025_22_57_55_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5aaad7a716e8e7dd00455cab026762a3.jpg","text":"TemporaryFile(/tmp/multipartBody4788765882600333714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176704820,"filename":"image_20022025_22_57_44_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/176fbaa5114cec6fef9d70eccde46cbe.jpg","text":"TemporaryFile(/tmp/multipartBody4017794911962994204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176704820,"filename":"image_20022025_22_58_04_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/572beaba9e07875784093cd4a4c4a785.jpg","text":"TemporaryFile(/tmp/multipartBody1497032900313995139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176704820,"filename":"image_20022025_22_58_14_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/644b14b2ea3f78a2c59fe5df3b823941.jpg","text":"TemporaryFile(/tmp/multipartBody4331515185535094310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176704820,"filename":"image_20022025_22_58_25_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338932768","file1":"1338932757","file0":"1338932693","file4":"1338932776","file5":"1338932784","file3":"1338932773"},"map_files_photo_id_array":[{"photo_id":"1338932784","filename":"file5"},{"photo_id":"1338932768","filename":"file2"},{"photo_id":"1338932776","filename":"file4"},{"photo_id":"1338932757","filename":"file1"},{"photo_id":"1338932693","filename":"file0"},{"photo_id":"1338932773","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338932784":["hashtag1","hashtag2"]},{"1338932757":["hashtag1","hashtag2"]},{"1338932693":["hashtag1","hashtag2"]},{"1338932768":["hashtag1","hashtag2"]},{"1338932773":["hashtag1","hashtag2"]},{"1338932776":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338932784, 1338932757, 1338932693, 1338932768, 1338932773, 1338932776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1738862991333 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:24:52.497801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/23/image_21022025_23_23_46_9361.jpg', '/home/pi/Desktop/images/21022025/23/23/image_21022025_23_24_06_9331.jpg', '/home/pi/Desktop/images/21022025/23/24/image_21022025_23_24_16_10350.jpg', '/home/pi/Desktop/images/21022025/23/24/image_21022025_23_24_36_9432.jpg', '/home/pi/Desktop/images/21022025/23/24/image_21022025_23_24_46_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/23/image_21022025_23_23_46_9361.jpg
/home/pi/Desktop/images/21022025/23/23/image_21022025_23_24_06_9331.jpg
/home/pi/Desktop/images/21022025/23/24/image_21022025_23_24_16_10350.jpg
/home/pi/Desktop/images/21022025/23/24/image_21022025_23_24_36_9432.jpg
/home/pi/Desktop/images/21022025/23/24/image_21022025_23_24_46_10338.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338932793","1338932792","1338932795","1338932791","1338932794"],"photo_ids_order":["1338932791","1338932792","1338932793","1338932794","1338932795"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/af8e9883a36e18c16c13f7198b2c6f27.jpg","text":"TemporaryFile(/tmp/multipartBody767578268402515196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176753063,"filename":"image_21022025_23_24_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/45e4c08880db8188f5103a44e8a48a20.jpg","text":"TemporaryFile(/tmp/multipartBody9006094114913710589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176753063,"filename":"image_21022025_23_24_06_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f2d6f9f7d617c86450541034e440529f.jpg","text":"TemporaryFile(/tmp/multipartBody6058432541723038880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176753063,"filename":"image_21022025_23_24_46_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/890f5c1cb8fea80cea566dfbcc60461f.jpg","text":"TemporaryFile(/tmp/multipartBody8307960831539694401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176753063,"filename":"image_21022025_23_23_46_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/96bb0a6a37e54d56eed85c4e914de5c3.jpg","text":"TemporaryFile(/tmp/multipartBody2038132510553194777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176753063,"filename":"image_21022025_23_24_36_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338932793","file1":"1338932792","file0":"1338932791","file4":"1338932795","file3":"1338932794"},"map_files_photo_id_array":[{"photo_id":"1338932793","filename":"file2"},{"photo_id":"1338932795","filename":"file4"},{"photo_id":"1338932792","filename":"file1"},{"photo_id":"1338932791","filename":"file0"},{"photo_id":"1338932794","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338932793":["hashtag1","hashtag2"]},{"1338932792":["hashtag1","hashtag2"]},{"1338932795":["hashtag1","hashtag2"]},{"1338932791":["hashtag1","hashtag2"]},{"1338932794":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338932793, 1338932792, 1338932795, 1338932791, 1338932794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.858264207839966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:25:32.755509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/24/image_21022025_23_24_56_10351.jpg', '/home/pi/Desktop/images/21022025/23/24/image_21022025_23_25_06_9331.jpg', '/home/pi/Desktop/images/21022025/23/25/image_21022025_23_25_16_10330.jpg', '/home/pi/Desktop/images/21022025/23/25/image_21022025_23_25_27_10360.jpg', '/home/pi/Desktop/images/21022025/23/25/image_21022025_23_25_36_9353.jpg', '/home/pi/Desktop/images/21022025/23/25/image_21022025_23_25_46_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/24/image_21022025_23_24_56_10351.jpg
/home/pi/Desktop/images/21022025/23/24/image_21022025_23_25_06_9331.jpg
/home/pi/Desktop/images/21022025/23/25/image_21022025_23_25_16_10330.jpg
/home/pi/Desktop/images/21022025/23/25/image_21022025_23_25_27_10360.jpg
/home/pi/Desktop/images/21022025/23/25/image_21022025_23_25_36_9353.jpg
/home/pi/Desktop/images/21022025/23/25/image_21022025_23_25_46_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338932830","1338932826","1338932820","1338932828","1338932813","1338932854"],"photo_ids_order":["1338932813","1338932820","1338932826","1338932828","1338932830","1338932854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a256dfbd5e6780805c977707bdac4258.jpg","text":"TemporaryFile(/tmp/multipartBody150263279819648927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176793219,"filename":"image_21022025_23_25_36_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/848c464f66623bb67ab441bf43ee9830.jpg","text":"TemporaryFile(/tmp/multipartBody1973295411330800651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176793219,"filename":"image_21022025_23_25_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/64f2e52ae466c72982796d6776861658.jpg","text":"TemporaryFile(/tmp/multipartBody5598140268249756168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176793219,"filename":"image_21022025_23_25_06_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e115ddbcea8198f5c1986b47eea41b79.jpg","text":"TemporaryFile(/tmp/multipartBody9029924308951936936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176793219,"filename":"image_21022025_23_25_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/992a5a123cdd29b0cc7269bd221e0e82.jpg","text":"TemporaryFile(/tmp/multipartBody2275699488228491574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176793219,"filename":"image_21022025_23_24_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0c19ab1eb50f1ffd06dccca21f569308.jpg","text":"TemporaryFile(/tmp/multipartBody562277996973761208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176793219,"filename":"image_21022025_23_25_46_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338932826","file1":"1338932820","file0":"1338932813","file4":"1338932830","file5":"1338932854","file3":"1338932828"},"map_files_photo_id_array":[{"photo_id":"1338932854","filename":"file5"},{"photo_id":"1338932826","filename":"file2"},{"photo_id":"1338932830","filename":"file4"},{"photo_id":"1338932820","filename":"file1"},{"photo_id":"1338932813","filename":"file0"},{"photo_id":"1338932828","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338932830":["hashtag1","hashtag2"]},{"1338932826":["hashtag1","hashtag2"]},{"1338932820":["hashtag1","hashtag2"]},{"1338932828":["hashtag1","hashtag2"]},{"1338932813":["hashtag1","hashtag2"]},{"1338932854":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338932830, 1338932826, 1338932820, 1338932828, 1338932813, 1338932854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.716581344604492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:26:32.991019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/25/image_21022025_23_25_57_10434.jpg', '/home/pi/Desktop/images/21022025/23/25/image_21022025_23_26_06_9324.jpg', '/home/pi/Desktop/images/21022025/23/26/image_21022025_23_26_26_9471.jpg', '/home/pi/Desktop/images/21022025/23/26/image_21022025_23_26_36_10355.jpg', '/home/pi/Desktop/images/21022025/23/26/image_21022025_23_26_47_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/25/image_21022025_23_25_57_10434.jpg
/home/pi/Desktop/images/21022025/23/25/image_21022025_23_26_06_9324.jpg
/home/pi/Desktop/images/21022025/23/26/image_21022025_23_26_26_9471.jpg
/home/pi/Desktop/images/21022025/23/26/image_21022025_23_26_36_10355.jpg
/home/pi/Desktop/images/21022025/23/26/image_21022025_23_26_47_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338932902","1338932873","1338932906","1338932890","1338932881"],"photo_ids_order":["1338932873","1338932881","1338932890","1338932902","1338932906"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1c0179912092d8bf328c375e0363aebf.jpg","text":"TemporaryFile(/tmp/multipartBody2432274470989523115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176853452,"filename":"image_21022025_23_26_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/25b3bed511296b53f43a2e9fc0149bfb.jpg","text":"TemporaryFile(/tmp/multipartBody3370350366690718157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176853452,"filename":"image_21022025_23_25_57_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c6d534a7954873c218f54cbf5ed88a5d.jpg","text":"TemporaryFile(/tmp/multipartBody7333935162172191489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176853452,"filename":"image_21022025_23_26_47_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83c69eeb7a3c7c362bd02fb280b2f6c8.jpg","text":"TemporaryFile(/tmp/multipartBody569707368126495195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176853452,"filename":"image_21022025_23_26_26_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a59e882e4b695da8dd193bbb6fa10ac9.jpg","text":"TemporaryFile(/tmp/multipartBody2823786192734881707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176853452,"filename":"image_21022025_23_26_06_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338932890","file1":"1338932881","file0":"1338932873","file4":"1338932906","file3":"1338932902"},"map_files_photo_id_array":[{"photo_id":"1338932890","filename":"file2"},{"photo_id":"1338932906","filename":"file4"},{"photo_id":"1338932881","filename":"file1"},{"photo_id":"1338932873","filename":"file0"},{"photo_id":"1338932902","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338932902":["hashtag1","hashtag2"]},{"1338932873":["hashtag1","hashtag2"]},{"1338932906":["hashtag1","hashtag2"]},{"1338932890":["hashtag1","hashtag2"]},{"1338932881":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338932902, 1338932873, 1338932906, 1338932890, 1338932881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.23618721961975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:27:03.793232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/58/image_20022025_22_58_45_10414.jpg', '/home/pi/Desktop/images/20022025/22/58/image_20022025_22_58_54_9373.jpg', '/home/pi/Desktop/images/20022025/22/58/image_20022025_22_59_04_10325.jpg', '/home/pi/Desktop/images/20022025/22/59/image_20022025_22_59_15_10402.jpg', '/home/pi/Desktop/images/20022025/22/59/image_20022025_22_59_24_9323.jpg', '/home/pi/Desktop/images/20022025/22/59/image_20022025_22_59_34_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/58/image_20022025_22_58_45_10414.jpg
/home/pi/Desktop/images/20022025/22/58/image_20022025_22_58_54_9373.jpg
/home/pi/Desktop/images/20022025/22/58/image_20022025_22_59_04_10325.jpg
/home/pi/Desktop/images/20022025/22/59/image_20022025_22_59_15_10402.jpg
/home/pi/Desktop/images/20022025/22/59/image_20022025_22_59_24_9323.jpg
/home/pi/Desktop/images/20022025/22/59/image_20022025_22_59_34_10392.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338932926","1338932931","1338932972","1338932966","1338932960","1338932962"],"photo_ids_order":["1338932926","1338932931","1338932960","1338932962","1338932966","1338932972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c62ceea16e7b1426b31391c57377251a.jpg","text":"TemporaryFile(/tmp/multipartBody7808534212431413883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176885479,"filename":"image_20022025_22_58_45_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/14f12e048c9bf9d7a60c2a4e97f8f4e0.jpg","text":"TemporaryFile(/tmp/multipartBody3625936306761512010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176885479,"filename":"image_20022025_22_58_54_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9b527fb916d8060acf61a3730ff5b905.jpg","text":"TemporaryFile(/tmp/multipartBody6091774062753194086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176885479,"filename":"image_20022025_22_59_34_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/85edaccbb90056b2f1c2c8f8e0e1795c.jpg","text":"TemporaryFile(/tmp/multipartBody130641292320791998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176885479,"filename":"image_20022025_22_59_24_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9583b2e391aff99bb58bc37f434d118c.jpg","text":"TemporaryFile(/tmp/multipartBody2710551781753577803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176885479,"filename":"image_20022025_22_59_04_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8001446215f318f8b3f7316e2ea6d66.jpg","text":"TemporaryFile(/tmp/multipartBody6475625622446379878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176885479,"filename":"image_20022025_22_59_15_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338932960","file1":"1338932931","file0":"1338932926","file4":"1338932966","file5":"1338932972","file3":"1338932962"},"map_files_photo_id_array":[{"photo_id":"1338932972","filename":"file5"},{"photo_id":"1338932960","filename":"file2"},{"photo_id":"1338932966","filename":"file4"},{"photo_id":"1338932931","filename":"file1"},{"photo_id":"1338932926","filename":"file0"},{"photo_id":"1338932962","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338932926":["hashtag1","hashtag2"]},{"1338932931":["hashtag1","hashtag2"]},{"1338932972":["hashtag1","hashtag2"]},{"1338932966":["hashtag1","hashtag2"]},{"1338932960":["hashtag1","hashtag2"]},{"1338932962":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338932926, 1338932931, 1338932972, 1338932966, 1338932960, 1338932962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27581453323364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:27:42.230013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/26/image_21022025_23_26_56_9343.jpg', '/home/pi/Desktop/images/21022025/23/27/image_21022025_23_27_16_9395.jpg', '/home/pi/Desktop/images/21022025/23/27/image_21022025_23_27_36_10351.jpg', '/home/pi/Desktop/images/21022025/23/27/image_21022025_23_27_46_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/26/image_21022025_23_26_56_9343.jpg
/home/pi/Desktop/images/21022025/23/27/image_21022025_23_27_16_9395.jpg
/home/pi/Desktop/images/21022025/23/27/image_21022025_23_27_36_10351.jpg
/home/pi/Desktop/images/21022025/23/27/image_21022025_23_27_46_9416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338933015","1338933013","1338933016","1338933010"],"photo_ids_order":["1338933010","1338933013","1338933015","1338933016"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1b1ff2c1abf2dfbaa9940fea3bf789c8.jpg","text":"TemporaryFile(/tmp/multipartBody7603169085538480993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176922689,"filename":"image_21022025_23_27_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef6b2c1c73b107b002b879026e076212.jpg","text":"TemporaryFile(/tmp/multipartBody7287053972731790346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176922689,"filename":"image_21022025_23_27_16_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e19a74701f2834c19002be9f8b8f22a3.jpg","text":"TemporaryFile(/tmp/multipartBody2945367177516165720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176922689,"filename":"image_21022025_23_27_46_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8b0b66118db9f454f99112a3c79a5f0.jpg","text":"TemporaryFile(/tmp/multipartBody5262001139517151530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176922689,"filename":"image_21022025_23_26_56_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338933015","file1":"1338933013","file0":"1338933010","file3":"1338933016"},"map_files_photo_id_array":[{"photo_id":"1338933015","filename":"file2"},{"photo_id":"1338933013","filename":"file1"},{"photo_id":"1338933010","filename":"file0"},{"photo_id":"1338933016","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338933015":["hashtag1","hashtag2"]},{"1338933013":["hashtag1","hashtag2"]},{"1338933016":["hashtag1","hashtag2"]},{"1338933010":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338933015, 1338933013, 1338933016, 1338933010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.16219425201416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:28:32.425562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/27/image_21022025_23_27_56_10358.jpg', '/home/pi/Desktop/images/21022025/23/27/image_21022025_23_28_07_10403.jpg', '/home/pi/Desktop/images/21022025/23/28/image_21022025_23_28_16_9339.jpg', '/home/pi/Desktop/images/21022025/23/28/image_21022025_23_28_26_10351.jpg', '/home/pi/Desktop/images/21022025/23/28/image_21022025_23_28_46_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/27/image_21022025_23_27_56_10358.jpg
/home/pi/Desktop/images/21022025/23/27/image_21022025_23_28_07_10403.jpg
/home/pi/Desktop/images/21022025/23/28/image_21022025_23_28_16_9339.jpg
/home/pi/Desktop/images/21022025/23/28/image_21022025_23_28_26_10351.jpg
/home/pi/Desktop/images/21022025/23/28/image_21022025_23_28_46_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338933351","1338933168","1338933079","1338933265","1338933043"],"photo_ids_order":["1338933043","1338933079","1338933168","1338933265","1338933351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/17158b27d270e7fe66b7d7919c07fc96.jpg","text":"TemporaryFile(/tmp/multipartBody3086451124439386113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176972889,"filename":"image_21022025_23_28_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/580fe4ba1329ad17bd2988d211239d9e.jpg","text":"TemporaryFile(/tmp/multipartBody5631750997090181109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176972889,"filename":"image_21022025_23_28_16_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/85ad63aad6b6e01c693754488077e765.jpg","text":"TemporaryFile(/tmp/multipartBody7450508197476575375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176972889,"filename":"image_21022025_23_28_07_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c7cfa8a9d6bd2365ffef8b51cc8d6e9a.jpg","text":"TemporaryFile(/tmp/multipartBody8558104926295828775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176972889,"filename":"image_21022025_23_28_26_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c907e4da495190557248f31f911bc639.jpg","text":"TemporaryFile(/tmp/multipartBody6749766117508373521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740176972889,"filename":"image_21022025_23_27_56_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338933168","file1":"1338933079","file0":"1338933043","file4":"1338933351","file3":"1338933265"},"map_files_photo_id_array":[{"photo_id":"1338933168","filename":"file2"},{"photo_id":"1338933351","filename":"file4"},{"photo_id":"1338933079","filename":"file1"},{"photo_id":"1338933043","filename":"file0"},{"photo_id":"1338933265","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338933351":["hashtag1","hashtag2"]},{"1338933168":["hashtag1","hashtag2"]},{"1338933079":["hashtag1","hashtag2"]},{"1338933265":["hashtag1","hashtag2"]},{"1338933043":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338933351, 1338933168, 1338933079, 1338933265, 1338933043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.430896520614624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:29:04.135767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/22/59/image_20022025_22_59_45_10392.jpg', '/home/pi/Desktop/images/20022025/22/59/image_20022025_22_59_54_9376.jpg', '/home/pi/Desktop/images/20022025/23/00/image_20022025_23_00_16_10076.jpg', '/home/pi/Desktop/images/20022025/23/00/image_20022025_23_00_26_10331.jpg', '/home/pi/Desktop/images/20022025/23/00/image_20022025_23_00_37_10387.jpg', '/home/pi/Desktop/images/20022025/23/00/image_20022025_23_00_46_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/22/59/image_20022025_22_59_45_10392.jpg
/home/pi/Desktop/images/20022025/22/59/image_20022025_22_59_54_9376.jpg
/home/pi/Desktop/images/20022025/23/00/image_20022025_23_00_16_10076.jpg
/home/pi/Desktop/images/20022025/23/00/image_20022025_23_00_26_10331.jpg
/home/pi/Desktop/images/20022025/23/00/image_20022025_23_00_37_10387.jpg
/home/pi/Desktop/images/20022025/23/00/image_20022025_23_00_46_9374.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338934001","1338934007","1338933926","1338933850","1338933694","1338933768"],"photo_ids_order":["1338933694","1338933768","1338933850","1338933926","1338934001","1338934007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c142c8a55f12e8084cc3c8d0a5aeb77f.jpg","text":"TemporaryFile(/tmp/multipartBody7518898969965502653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177005823,"filename":"image_20022025_23_00_37_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c7f1c3988f1a6a20ea69e2e10c73dfb4.jpg","text":"TemporaryFile(/tmp/multipartBody1693718363034433094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177005823,"filename":"image_20022025_23_00_46_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c5d998343aaeac41a604d77c5807711.jpg","text":"TemporaryFile(/tmp/multipartBody4396058865778816270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177005823,"filename":"image_20022025_23_00_26_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2e4477dd2f75287d0ff6be96803f84d3.jpg","text":"TemporaryFile(/tmp/multipartBody7831600808552085652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177005823,"filename":"image_20022025_23_00_16_10076.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0262d656afdc2c9696b5df6f21fabd2b.jpg","text":"TemporaryFile(/tmp/multipartBody5277818669804707734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177005823,"filename":"image_20022025_22_59_45_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7035bd4ddbe8bf154c6ef872bd1c714e.jpg","text":"TemporaryFile(/tmp/multipartBody5886551140147793873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177005823,"filename":"image_20022025_22_59_54_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338933850","file1":"1338933768","file0":"1338933694","file4":"1338934001","file5":"1338934007","file3":"1338933926"},"map_files_photo_id_array":[{"photo_id":"1338934007","filename":"file5"},{"photo_id":"1338933850","filename":"file2"},{"photo_id":"1338934001","filename":"file4"},{"photo_id":"1338933768","filename":"file1"},{"photo_id":"1338933694","filename":"file0"},{"photo_id":"1338933926","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338934001":["hashtag1","hashtag2"]},{"1338934007":["hashtag1","hashtag2"]},{"1338933926":["hashtag1","hashtag2"]},{"1338933850":["hashtag1","hashtag2"]},{"1338933694":["hashtag1","hashtag2"]},{"1338933768":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338934001, 1338934007, 1338933926, 1338933850, 1338933694, 1338933768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.4214346408844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:29:42.651280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/28/image_21022025_23_28_56_10349.jpg', '/home/pi/Desktop/images/21022025/23/29/image_21022025_23_29_16_10338.jpg', '/home/pi/Desktop/images/21022025/23/29/image_21022025_23_29_27_10373.jpg', '/home/pi/Desktop/images/21022025/23/29/image_21022025_23_29_36_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/28/image_21022025_23_28_56_10349.jpg
/home/pi/Desktop/images/21022025/23/29/image_21022025_23_29_16_10338.jpg
/home/pi/Desktop/images/21022025/23/29/image_21022025_23_29_27_10373.jpg
/home/pi/Desktop/images/21022025/23/29/image_21022025_23_29_36_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338934038","1338934036","1338934033","1338934029"],"photo_ids_order":["1338934029","1338934033","1338934036","1338934038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/800f05af858f485bda91927a9b261720.jpg","text":"TemporaryFile(/tmp/multipartBody4779256899768100070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177043097,"filename":"image_21022025_23_29_36_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8ace33a845391772f3e3930812c65226.jpg","text":"TemporaryFile(/tmp/multipartBody6460079750086570958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177043097,"filename":"image_21022025_23_29_27_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b9b1d71dcc9dfe9dbede15f6580991da.jpg","text":"TemporaryFile(/tmp/multipartBody3930035799949226749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177043097,"filename":"image_21022025_23_29_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ac3fea5aaa369d1034e9862b8cf698a6.jpg","text":"TemporaryFile(/tmp/multipartBody8389234167367577258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177043097,"filename":"image_21022025_23_28_56_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338934036","file1":"1338934033","file0":"1338934029","file3":"1338934038"},"map_files_photo_id_array":[{"photo_id":"1338934036","filename":"file2"},{"photo_id":"1338934033","filename":"file1"},{"photo_id":"1338934029","filename":"file0"},{"photo_id":"1338934038","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338934038":["hashtag1","hashtag2"]},{"1338934036":["hashtag1","hashtag2"]},{"1338934033":["hashtag1","hashtag2"]},{"1338934029":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338934038, 1338934036, 1338934033, 1338934029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.71934986114502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:30:32.774629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/29/image_21022025_23_29_46_10356.jpg', '/home/pi/Desktop/images/21022025/23/29/image_21022025_23_30_06_10339.jpg', '/home/pi/Desktop/images/21022025/23/30/image_21022025_23_30_16_10355.jpg', '/home/pi/Desktop/images/21022025/23/30/image_21022025_23_30_26_9378.jpg', '/home/pi/Desktop/images/21022025/23/30/image_21022025_23_30_36_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/29/image_21022025_23_29_46_10356.jpg
/home/pi/Desktop/images/21022025/23/29/image_21022025_23_30_06_10339.jpg
/home/pi/Desktop/images/21022025/23/30/image_21022025_23_30_16_10355.jpg
/home/pi/Desktop/images/21022025/23/30/image_21022025_23_30_26_9378.jpg
/home/pi/Desktop/images/21022025/23/30/image_21022025_23_30_36_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338934302","1338934304","1338934261","1338934330","1338934254"],"photo_ids_order":["1338934254","1338934261","1338934302","1338934304","1338934330"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fadc27d182ae975277eb4afd71390af6.jpg","text":"TemporaryFile(/tmp/multipartBody1384692806775435997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177093447,"filename":"image_21022025_23_30_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/36cf69697e795b5d7622bb2b7d9a6c77.jpg","text":"TemporaryFile(/tmp/multipartBody8634193281026376465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177093447,"filename":"image_21022025_23_30_26_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c7e1d8a4438b59e1bd9f54c3ef9374e.jpg","text":"TemporaryFile(/tmp/multipartBody1407501606009898561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177093447,"filename":"image_21022025_23_30_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90a0ce693507ed80accf170854768e8b.jpg","text":"TemporaryFile(/tmp/multipartBody993659450227556022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177093447,"filename":"image_21022025_23_30_36_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a0c9f2c7e9a8493b5414e840e470b2a4.jpg","text":"TemporaryFile(/tmp/multipartBody696996517499274049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177093447,"filename":"image_21022025_23_29_46_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338934302","file1":"1338934261","file0":"1338934254","file4":"1338934330","file3":"1338934304"},"map_files_photo_id_array":[{"photo_id":"1338934302","filename":"file2"},{"photo_id":"1338934330","filename":"file4"},{"photo_id":"1338934261","filename":"file1"},{"photo_id":"1338934254","filename":"file0"},{"photo_id":"1338934304","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338934302":["hashtag1","hashtag2"]},{"1338934304":["hashtag1","hashtag2"]},{"1338934261":["hashtag1","hashtag2"]},{"1338934330":["hashtag1","hashtag2"]},{"1338934254":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338934302, 1338934304, 1338934261, 1338934330, 1338934254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.603293657302856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:31:04.571820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/23/00/image_20022025_23_00_56_10340.jpg', '/home/pi/Desktop/images/20022025/23/00/image_20022025_23_01_07_10372.jpg', '/home/pi/Desktop/images/20022025/23/01/image_20022025_23_01_16_9327.jpg', '/home/pi/Desktop/images/20022025/23/01/image_20022025_23_01_26_10335.jpg', '/home/pi/Desktop/images/20022025/23/01/image_20022025_23_01_37_10402.jpg', '/home/pi/Desktop/images/20022025/23/01/image_20022025_23_01_46_9322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/23/00/image_20022025_23_00_56_10340.jpg
/home/pi/Desktop/images/20022025/23/00/image_20022025_23_01_07_10372.jpg
/home/pi/Desktop/images/20022025/23/01/image_20022025_23_01_16_9327.jpg
/home/pi/Desktop/images/20022025/23/01/image_20022025_23_01_26_10335.jpg
/home/pi/Desktop/images/20022025/23/01/image_20022025_23_01_37_10402.jpg
/home/pi/Desktop/images/20022025/23/01/image_20022025_23_01_46_9322.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338934335","1338934343","1338934352","1338934331","1338934339","1338934332"],"photo_ids_order":["1338934331","1338934332","1338934335","1338934339","1338934343","1338934352"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/31cdeaa961ceec678345280acb00ba27.jpg","text":"TemporaryFile(/tmp/multipartBody4929432329904521326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177126256,"filename":"image_20022025_23_01_16_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/96f83807f5184ca07b728e32525971f9.jpg","text":"TemporaryFile(/tmp/multipartBody375769803423428943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177126256,"filename":"image_20022025_23_01_37_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d800c5c5dd121f10e9700d21b0cdebc7.jpg","text":"TemporaryFile(/tmp/multipartBody884875918620679376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177126256,"filename":"image_20022025_23_01_46_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7ea295e76422bb259b0b4c6abdf6c84b.jpg","text":"TemporaryFile(/tmp/multipartBody5409495306012594826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177126256,"filename":"image_20022025_23_00_56_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cd723a832f9e66afb242850a4e38ee5b.jpg","text":"TemporaryFile(/tmp/multipartBody1986190323780442327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177126256,"filename":"image_20022025_23_01_26_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e68ae9f3c78a597e7a626002425d8ffc.jpg","text":"TemporaryFile(/tmp/multipartBody6043037236735011180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177126256,"filename":"image_20022025_23_01_07_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338934335","file1":"1338934332","file0":"1338934331","file4":"1338934343","file5":"1338934352","file3":"1338934339"},"map_files_photo_id_array":[{"photo_id":"1338934352","filename":"file5"},{"photo_id":"1338934335","filename":"file2"},{"photo_id":"1338934343","filename":"file4"},{"photo_id":"1338934332","filename":"file1"},{"photo_id":"1338934331","filename":"file0"},{"photo_id":"1338934339","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338934335":["hashtag1","hashtag2"]},{"1338934343":["hashtag1","hashtag2"]},{"1338934352":["hashtag1","hashtag2"]},{"1338934331":["hashtag1","hashtag2"]},{"1338934339":["hashtag1","hashtag2"]},{"1338934332":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338934335, 1338934343, 1338934352, 1338934331, 1338934339, 1338934332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.39929962158203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:31:43.011581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/30/image_21022025_23_30_56_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/30/image_21022025_23_30_56_9350.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338934378"],"photo_id":"1338934378","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c88cec77ff525e18321ee9c931888ec0.jpg","text":"TemporaryFile(/tmp/multipartBody3838462460861292404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177163433,"filename":"image_21022025_23_30_56_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1338934378"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1338934378"}],"hashtags":[],"portfolio_id":"20708309","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.607751369476318 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:32:02.839470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/23/01/image_20022025_23_01_56_10357.jpg', '/home/pi/Desktop/images/20022025/23/01/image_20022025_23_02_06_9387.jpg', '/home/pi/Desktop/images/20022025/23/02/image_20022025_23_02_16_10329.jpg', '/home/pi/Desktop/images/20022025/23/02/image_20022025_23_02_27_10459.jpg', '/home/pi/Desktop/images/20022025/23/02/image_20022025_23_02_36_9332.jpg', '/home/pi/Desktop/images/20022025/23/02/image_20022025_23_02_46_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/23/01/image_20022025_23_01_56_10357.jpg
/home/pi/Desktop/images/20022025/23/01/image_20022025_23_02_06_9387.jpg
/home/pi/Desktop/images/20022025/23/02/image_20022025_23_02_16_10329.jpg
/home/pi/Desktop/images/20022025/23/02/image_20022025_23_02_27_10459.jpg
/home/pi/Desktop/images/20022025/23/02/image_20022025_23_02_36_9332.jpg
/home/pi/Desktop/images/20022025/23/02/image_20022025_23_02_46_10408.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338934766","1338934681","1338934684","1338934714","1338934689","1338934680"],"photo_ids_order":["1338934680","1338934681","1338934684","1338934689","1338934714","1338934766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e30092160ea50aec42a43b80c7c19d5c.jpg","text":"TemporaryFile(/tmp/multipartBody6498373904313882047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177184202,"filename":"image_20022025_23_02_46_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b5c1dcdc79b8c0a6758c87daa87ef7e.jpg","text":"TemporaryFile(/tmp/multipartBody7758470284991963806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177184202,"filename":"image_20022025_23_02_06_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff3743f3fdc3add1a2ab766dd8079632.jpg","text":"TemporaryFile(/tmp/multipartBody7655587712469442109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177184202,"filename":"image_20022025_23_02_16_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/08875f5222998c15cfa45aa7ebb0b3bf.jpg","text":"TemporaryFile(/tmp/multipartBody6392432550599400450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177184202,"filename":"image_20022025_23_02_36_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9a0b614a270ff98226ced8988e0c03dd.jpg","text":"TemporaryFile(/tmp/multipartBody7523638398284525606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177184202,"filename":"image_20022025_23_02_27_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a8a12afac7962d882ec0e2f223a1a3e.jpg","text":"TemporaryFile(/tmp/multipartBody4438541831169800255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177184202,"filename":"image_20022025_23_01_56_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338934684","file1":"1338934681","file0":"1338934680","file4":"1338934714","file5":"1338934766","file3":"1338934689"},"map_files_photo_id_array":[{"photo_id":"1338934766","filename":"file5"},{"photo_id":"1338934684","filename":"file2"},{"photo_id":"1338934714","filename":"file4"},{"photo_id":"1338934681","filename":"file1"},{"photo_id":"1338934680","filename":"file0"},{"photo_id":"1338934689","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338934766":["hashtag1","hashtag2"]},{"1338934681":["hashtag1","hashtag2"]},{"1338934684":["hashtag1","hashtag2"]},{"1338934714":["hashtag1","hashtag2"]},{"1338934689":["hashtag1","hashtag2"]},{"1338934680":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338934766, 1338934681, 1338934684, 1338934714, 1338934689, 1338934680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.752774715423584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:32:42.227391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/31/image_21022025_23_31_57_10446.jpg', '/home/pi/Desktop/images/21022025/23/31/image_21022025_23_32_06_9347.jpg', '/home/pi/Desktop/images/21022025/23/32/image_21022025_23_32_16_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/31/image_21022025_23_31_57_10446.jpg
/home/pi/Desktop/images/21022025/23/31/image_21022025_23_32_06_9347.jpg
/home/pi/Desktop/images/21022025/23/32/image_21022025_23_32_16_10349.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338934800","1338934814","1338934810"],"photo_ids_order":["1338934800","1338934810","1338934814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bcee22ddbaa4f6b925632755537fca2b.jpg","text":"TemporaryFile(/tmp/multipartBody4821600438956570270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177222659,"filename":"image_21022025_23_31_57_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d13f1fd8db6106b8017406e9ff2147e3.jpg","text":"TemporaryFile(/tmp/multipartBody202227218268593693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177222659,"filename":"image_21022025_23_32_16_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c3a2247969129e31ed99fbd2ba4379b3.jpg","text":"TemporaryFile(/tmp/multipartBody4711650306881640582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177222659,"filename":"image_21022025_23_32_06_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338934814","file1":"1338934810","file0":"1338934800"},"map_files_photo_id_array":[{"photo_id":"1338934814","filename":"file2"},{"photo_id":"1338934810","filename":"file1"},{"photo_id":"1338934800","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338934800":["hashtag1","hashtag2"]},{"1338934814":["hashtag1","hashtag2"]},{"1338934810":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338934800, 1338934814, 1338934810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 17.686378002166748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:33:04.087688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/23/02/image_20022025_23_02_57_10414.jpg', '/home/pi/Desktop/images/20022025/23/02/image_20022025_23_03_06_9321.jpg', '/home/pi/Desktop/images/20022025/23/03/image_20022025_23_03_16_10347.jpg', '/home/pi/Desktop/images/20022025/23/03/image_20022025_23_03_26_9392.jpg', '/home/pi/Desktop/images/20022025/23/03/image_20022025_23_03_36_10336.jpg', '/home/pi/Desktop/images/20022025/23/03/image_20022025_23_03_46_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/23/02/image_20022025_23_02_57_10414.jpg
/home/pi/Desktop/images/20022025/23/02/image_20022025_23_03_06_9321.jpg
/home/pi/Desktop/images/20022025/23/03/image_20022025_23_03_16_10347.jpg
/home/pi/Desktop/images/20022025/23/03/image_20022025_23_03_26_9392.jpg
/home/pi/Desktop/images/20022025/23/03/image_20022025_23_03_36_10336.jpg
/home/pi/Desktop/images/20022025/23/03/image_20022025_23_03_46_10341.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338934830","1338934901","1338934888","1338934822","1338934825","1338934842"],"photo_ids_order":["1338934822","1338934825","1338934830","1338934842","1338934888","1338934901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f5111e346f4e71ae3d202f997bb2f5fc.jpg","text":"TemporaryFile(/tmp/multipartBody2564874820073749518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177245767,"filename":"image_20022025_23_03_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ffaad990585524df6e69a1558b1bc842.jpg","text":"TemporaryFile(/tmp/multipartBody166326096150105023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177245767,"filename":"image_20022025_23_03_46_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8e8225ff552064d272815e8c338f05d6.jpg","text":"TemporaryFile(/tmp/multipartBody6441773574924091908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177245767,"filename":"image_20022025_23_03_36_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0e30430583c51b7e4c79cc55718c8581.jpg","text":"TemporaryFile(/tmp/multipartBody7078999220577141670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177245767,"filename":"image_20022025_23_02_57_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/add7c4e218b9a7400faef20516e7a329.jpg","text":"TemporaryFile(/tmp/multipartBody5085777656098845242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177245767,"filename":"image_20022025_23_03_06_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/21c771fda708aeab3f000dc552b6f73d.jpg","text":"TemporaryFile(/tmp/multipartBody3115643970871781559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177245767,"filename":"image_20022025_23_03_26_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338934830","file1":"1338934825","file0":"1338934822","file4":"1338934888","file5":"1338934901","file3":"1338934842"},"map_files_photo_id_array":[{"photo_id":"1338934901","filename":"file5"},{"photo_id":"1338934830","filename":"file2"},{"photo_id":"1338934888","filename":"file4"},{"photo_id":"1338934825","filename":"file1"},{"photo_id":"1338934822","filename":"file0"},{"photo_id":"1338934842","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338934830":["hashtag1","hashtag2"]},{"1338934901":["hashtag1","hashtag2"]},{"1338934888":["hashtag1","hashtag2"]},{"1338934822":["hashtag1","hashtag2"]},{"1338934825":["hashtag1","hashtag2"]},{"1338934842":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338934830, 1338934901, 1338934888, 1338934822, 1338934825, 1338934842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.942108392715454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:33:42.455463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/32/image_21022025_23_32_46_10357.jpg', '/home/pi/Desktop/images/21022025/23/33/image_21022025_23_33_17_10358.jpg', '/home/pi/Desktop/images/21022025/23/33/image_21022025_23_33_26_9418.jpg', '/home/pi/Desktop/images/21022025/23/33/image_21022025_23_33_36_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/32/image_21022025_23_32_46_10357.jpg
/home/pi/Desktop/images/21022025/23/33/image_21022025_23_33_17_10358.jpg
/home/pi/Desktop/images/21022025/23/33/image_21022025_23_33_26_9418.jpg
/home/pi/Desktop/images/21022025/23/33/image_21022025_23_33_36_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338934910","1338934907","1338934909","1338934908"],"photo_ids_order":["1338934907","1338934908","1338934909","1338934910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c48e543d5c0fceffa6182cefac0c1d26.jpg","text":"TemporaryFile(/tmp/multipartBody3791552402852131246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177282900,"filename":"image_21022025_23_33_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0664f7209319c701641eab6c18c228d3.jpg","text":"TemporaryFile(/tmp/multipartBody76253649684371373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177282900,"filename":"image_21022025_23_32_46_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b35501d99782c845700f0a23be985da5.jpg","text":"TemporaryFile(/tmp/multipartBody8337740612965006182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177282900,"filename":"image_21022025_23_33_26_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/92061e5d82ed773fb9a221aa61760e99.jpg","text":"TemporaryFile(/tmp/multipartBody1270970946321747040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177282900,"filename":"image_21022025_23_33_17_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338934909","file1":"1338934908","file0":"1338934907","file3":"1338934910"},"map_files_photo_id_array":[{"photo_id":"1338934909","filename":"file2"},{"photo_id":"1338934908","filename":"file1"},{"photo_id":"1338934907","filename":"file0"},{"photo_id":"1338934910","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338934910":["hashtag1","hashtag2"]},{"1338934907":["hashtag1","hashtag2"]},{"1338934909":["hashtag1","hashtag2"]},{"1338934908":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338934910, 1338934907, 1338934909, 1338934908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.620856523513794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:34:32.669238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/33/image_21022025_23_33_56_9347.jpg', '/home/pi/Desktop/images/21022025/23/33/image_21022025_23_34_06_10351.jpg', '/home/pi/Desktop/images/21022025/23/34/image_21022025_23_34_26_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/33/image_21022025_23_33_56_9347.jpg
/home/pi/Desktop/images/21022025/23/33/image_21022025_23_34_06_10351.jpg
/home/pi/Desktop/images/21022025/23/34/image_21022025_23_34_26_10374.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338934922","1338934936","1338934926"],"photo_ids_order":["1338934922","1338934926","1338934936"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5890b4da74c46f395373b632319b80f1.jpg","text":"TemporaryFile(/tmp/multipartBody6979923353864504721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177333107,"filename":"image_21022025_23_33_56_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/078609fb3322463b98a20629f4c91100.jpg","text":"TemporaryFile(/tmp/multipartBody1204006630880626275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177333107,"filename":"image_21022025_23_34_26_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/11ecd6fe8bb9325f65f5ee4c28604a4d.jpg","text":"TemporaryFile(/tmp/multipartBody6224417306093722471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177333107,"filename":"image_21022025_23_34_06_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338934936","file1":"1338934926","file0":"1338934922"},"map_files_photo_id_array":[{"photo_id":"1338934936","filename":"file2"},{"photo_id":"1338934926","filename":"file1"},{"photo_id":"1338934922","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338934922":["hashtag1","hashtag2"]},{"1338934936":["hashtag1","hashtag2"]},{"1338934926":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338934922, 1338934936, 1338934926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.01557421684265 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:35:04.395158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/23/03/image_20022025_23_03_56_9344.jpg', '/home/pi/Desktop/images/20022025/23/04/image_20022025_23_04_26_9345.jpg', '/home/pi/Desktop/images/20022025/23/04/image_20022025_23_04_56_9322.jpg', '/home/pi/Desktop/images/20022025/23/04/image_20022025_23_05_06_10316.jpg', '/home/pi/Desktop/images/20022025/23/05/image_20022025_23_05_26_9332.jpg', '/home/pi/Desktop/images/20022025/23/05/image_20022025_23_05_46_9322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/23/03/image_20022025_23_03_56_9344.jpg
/home/pi/Desktop/images/20022025/23/04/image_20022025_23_04_26_9345.jpg
/home/pi/Desktop/images/20022025/23/04/image_20022025_23_04_56_9322.jpg
/home/pi/Desktop/images/20022025/23/04/image_20022025_23_05_06_10316.jpg
/home/pi/Desktop/images/20022025/23/05/image_20022025_23_05_26_9332.jpg
/home/pi/Desktop/images/20022025/23/05/image_20022025_23_05_46_9322.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338934958","1338934952","1338934949","1338934966","1338934962","1338934947"],"photo_ids_order":["1338934947","1338934949","1338934952","1338934958","1338934962","1338934966"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/657981229ea4f17f5950c61a564264f6.jpg","text":"TemporaryFile(/tmp/multipartBody9106619595518628267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177365922,"filename":"image_20022025_23_05_06_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1acd81f4566e52a1a275c34537637aa0.jpg","text":"TemporaryFile(/tmp/multipartBody961159775742097160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177365922,"filename":"image_20022025_23_04_56_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f8411c5ff5ad7063d2d43392e881d493.jpg","text":"TemporaryFile(/tmp/multipartBody6950645514610193783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177365922,"filename":"image_20022025_23_04_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a210e98223ee90ce78927fee21f6092.jpg","text":"TemporaryFile(/tmp/multipartBody3994052911699239740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177365922,"filename":"image_20022025_23_05_46_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4829f7c4ac544381f4abbdf89807b4d0.jpg","text":"TemporaryFile(/tmp/multipartBody2079113981863688251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177365922,"filename":"image_20022025_23_05_26_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f2ad54cdbf9e7e84fdac8730fae1d4cd.jpg","text":"TemporaryFile(/tmp/multipartBody4590828175939503801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177365922,"filename":"image_20022025_23_03_56_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338934952","file1":"1338934949","file0":"1338934947","file4":"1338934962","file5":"1338934966","file3":"1338934958"},"map_files_photo_id_array":[{"photo_id":"1338934966","filename":"file5"},{"photo_id":"1338934952","filename":"file2"},{"photo_id":"1338934962","filename":"file4"},{"photo_id":"1338934949","filename":"file1"},{"photo_id":"1338934947","filename":"file0"},{"photo_id":"1338934958","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338934958":["hashtag1","hashtag2"]},{"1338934952":["hashtag1","hashtag2"]},{"1338934949":["hashtag1","hashtag2"]},{"1338934966":["hashtag1","hashtag2"]},{"1338934962":["hashtag1","hashtag2"]},{"1338934947":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338934958, 1338934952, 1338934949, 1338934966, 1338934962, 1338934947)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 37.76290512084961 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:35:52.890672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/34/image_21022025_23_34_56_10365.jpg', '/home/pi/Desktop/images/21022025/23/34/image_21022025_23_35_06_9412.jpg', '/home/pi/Desktop/images/21022025/23/35/image_21022025_23_35_16_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/34/image_21022025_23_34_56_10365.jpg
/home/pi/Desktop/images/21022025/23/34/image_21022025_23_35_06_9412.jpg
/home/pi/Desktop/images/21022025/23/35/image_21022025_23_35_16_10431.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338934988","1338934987","1338934989"],"photo_ids_order":["1338934987","1338934988","1338934989"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d3b7cf40948fdbaf6e9cc148dffdc709.jpg","text":"TemporaryFile(/tmp/multipartBody5169991908051114606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177413330,"filename":"image_21022025_23_35_06_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f548c07352b72a9ad158b08b0bf1cf73.jpg","text":"TemporaryFile(/tmp/multipartBody4866383877746819300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177413330,"filename":"image_21022025_23_34_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/70755ac4cf69014d6d95c1826833d4ae.jpg","text":"TemporaryFile(/tmp/multipartBody5555742388113220747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177413330,"filename":"image_21022025_23_35_16_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338934989","file1":"1338934988","file0":"1338934987"},"map_files_photo_id_array":[{"photo_id":"1338934989","filename":"file2"},{"photo_id":"1338934988","filename":"file1"},{"photo_id":"1338934987","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338934988":["hashtag1","hashtag2"]},{"1338934987":["hashtag1","hashtag2"]},{"1338934989":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338934988, 1338934987, 1338934989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.209821701049805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:36:33.177130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/35/image_21022025_23_35_26_10358.jpg', '/home/pi/Desktop/images/21022025/23/35/image_21022025_23_36_06_9420.jpg', '/home/pi/Desktop/images/21022025/23/36/image_21022025_23_36_16_10334.jpg', '/home/pi/Desktop/images/21022025/23/36/image_21022025_23_36_26_9452.jpg', '/home/pi/Desktop/images/21022025/23/36/image_21022025_23_36_36_10355.jpg', '/home/pi/Desktop/images/21022025/23/36/image_21022025_23_36_47_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/35/image_21022025_23_35_26_10358.jpg
/home/pi/Desktop/images/21022025/23/35/image_21022025_23_36_06_9420.jpg
/home/pi/Desktop/images/21022025/23/36/image_21022025_23_36_16_10334.jpg
/home/pi/Desktop/images/21022025/23/36/image_21022025_23_36_26_9452.jpg
/home/pi/Desktop/images/21022025/23/36/image_21022025_23_36_36_10355.jpg
/home/pi/Desktop/images/21022025/23/36/image_21022025_23_36_47_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935032","1338935014","1338935031","1338935028","1338935007","1338935019"],"photo_ids_order":["1338935007","1338935014","1338935019","1338935028","1338935031","1338935032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0ff64f9aaee0b5d789f431b74825f2d3.jpg","text":"TemporaryFile(/tmp/multipartBody439883155952231497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177453647,"filename":"image_21022025_23_36_47_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8b8be065f0954274fad1b5c540e5ef4d.jpg","text":"TemporaryFile(/tmp/multipartBody1175862386067262262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177453647,"filename":"image_21022025_23_36_06_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4978caad4bfb8db1d3f481e009ee176e.jpg","text":"TemporaryFile(/tmp/multipartBody1516107770971786045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177453647,"filename":"image_21022025_23_36_36_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32603ef421983a6b21febcc9de46d798.jpg","text":"TemporaryFile(/tmp/multipartBody1422884518621596987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177453647,"filename":"image_21022025_23_36_26_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3d33b3870e8c1bcd3a65b277f1aa98ef.jpg","text":"TemporaryFile(/tmp/multipartBody4165695694088054177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177453647,"filename":"image_21022025_23_35_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0d5c46ae5fb7f4d00c0e6d542a2fe2da.jpg","text":"TemporaryFile(/tmp/multipartBody3036798941059163283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177453647,"filename":"image_21022025_23_36_16_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935019","file1":"1338935014","file0":"1338935007","file4":"1338935031","file5":"1338935032","file3":"1338935028"},"map_files_photo_id_array":[{"photo_id":"1338935032","filename":"file5"},{"photo_id":"1338935019","filename":"file2"},{"photo_id":"1338935031","filename":"file4"},{"photo_id":"1338935014","filename":"file1"},{"photo_id":"1338935007","filename":"file0"},{"photo_id":"1338935028","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338935032":["hashtag1","hashtag2"]},{"1338935014":["hashtag1","hashtag2"]},{"1338935031":["hashtag1","hashtag2"]},{"1338935028":["hashtag1","hashtag2"]},{"1338935007":["hashtag1","hashtag2"]},{"1338935019":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338935032, 1338935014, 1338935031, 1338935028, 1338935007, 1338935019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37396812438965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:37:32.440824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/36/image_21022025_23_36_56_9438.jpg', '/home/pi/Desktop/images/21022025/23/36/image_21022025_23_37_06_10344.jpg', '/home/pi/Desktop/images/21022025/23/37/image_21022025_23_37_26_10359.jpg', '/home/pi/Desktop/images/21022025/23/37/image_21022025_23_37_37_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/36/image_21022025_23_36_56_9438.jpg
/home/pi/Desktop/images/21022025/23/36/image_21022025_23_37_06_10344.jpg
/home/pi/Desktop/images/21022025/23/37/image_21022025_23_37_26_10359.jpg
/home/pi/Desktop/images/21022025/23/37/image_21022025_23_37_37_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935075","1338935114","1338935071","1338935064"],"photo_ids_order":["1338935064","1338935071","1338935075","1338935114"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/222448aa34de2255a2654fe84e63a79d.jpg","text":"TemporaryFile(/tmp/multipartBody3420472798855599923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177512886,"filename":"image_21022025_23_37_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/27ec11cf0c19154cb689116a2c2a30ea.jpg","text":"TemporaryFile(/tmp/multipartBody626091048767828276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177512886,"filename":"image_21022025_23_37_37_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9e7ca2f085e719dc42da21245bf1b280.jpg","text":"TemporaryFile(/tmp/multipartBody8207273157745078419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177512886,"filename":"image_21022025_23_37_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f1132d383105bd10c93077ad978a443e.jpg","text":"TemporaryFile(/tmp/multipartBody2515322516747945341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177512886,"filename":"image_21022025_23_36_56_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935075","file1":"1338935071","file0":"1338935064","file3":"1338935114"},"map_files_photo_id_array":[{"photo_id":"1338935075","filename":"file2"},{"photo_id":"1338935071","filename":"file1"},{"photo_id":"1338935064","filename":"file0"},{"photo_id":"1338935114","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338935075":["hashtag1","hashtag2"]},{"1338935114":["hashtag1","hashtag2"]},{"1338935071":["hashtag1","hashtag2"]},{"1338935064":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338935075, 1338935114, 1338935071, 1338935064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.529622554779053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:38:03.227756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/23/05/image_20022025_23_05_56_10371.jpg', '/home/pi/Desktop/images/20022025/23/05/image_20022025_23_06_07_10454.jpg', '/home/pi/Desktop/images/20022025/23/06/image_20022025_23_06_16_9323.jpg', '/home/pi/Desktop/images/20022025/23/06/image_20022025_23_06_26_10455.jpg', '/home/pi/Desktop/images/20022025/23/06/image_20022025_23_06_37_10344.jpg', '/home/pi/Desktop/images/20022025/23/06/image_20022025_23_06_46_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/23/05/image_20022025_23_05_56_10371.jpg
/home/pi/Desktop/images/20022025/23/05/image_20022025_23_06_07_10454.jpg
/home/pi/Desktop/images/20022025/23/06/image_20022025_23_06_16_9323.jpg
/home/pi/Desktop/images/20022025/23/06/image_20022025_23_06_26_10455.jpg
/home/pi/Desktop/images/20022025/23/06/image_20022025_23_06_37_10344.jpg
/home/pi/Desktop/images/20022025/23/06/image_20022025_23_06_46_9341.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935159","1338935167","1338935146","1338935161","1338935140","1338935154"],"photo_ids_order":["1338935140","1338935146","1338935154","1338935159","1338935161","1338935167"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/05416ae137f4bc60e9f9e341fcf0cfd8.jpg","text":"TemporaryFile(/tmp/multipartBody279874801646485755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177544693,"filename":"image_20022025_23_06_26_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e3f605bd5dd66d1412f8624457a961e5.jpg","text":"TemporaryFile(/tmp/multipartBody6237963319323758211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177544693,"filename":"image_20022025_23_06_46_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/353e238030c31f1d70a7a3bfc3d24bb4.jpg","text":"TemporaryFile(/tmp/multipartBody2143294226356649626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177544693,"filename":"image_20022025_23_06_07_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dbea52e3f60532aee913fc7298df917d.jpg","text":"TemporaryFile(/tmp/multipartBody5930211226454952725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177544693,"filename":"image_20022025_23_06_37_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3519147d39f28e3b6152846cd8bd0e4d.jpg","text":"TemporaryFile(/tmp/multipartBody639160707443411729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177544693,"filename":"image_20022025_23_05_56_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/008d912f5ad35b67a5aa287bbfdd9e7f.jpg","text":"TemporaryFile(/tmp/multipartBody6543776651456207990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177544693,"filename":"image_20022025_23_06_16_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935154","file1":"1338935146","file0":"1338935140","file4":"1338935161","file5":"1338935167","file3":"1338935159"},"map_files_photo_id_array":[{"photo_id":"1338935167","filename":"file5"},{"photo_id":"1338935154","filename":"file2"},{"photo_id":"1338935161","filename":"file4"},{"photo_id":"1338935146","filename":"file1"},{"photo_id":"1338935140","filename":"file0"},{"photo_id":"1338935159","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338935159":["hashtag1","hashtag2"]},{"1338935167":["hashtag1","hashtag2"]},{"1338935146":["hashtag1","hashtag2"]},{"1338935161":["hashtag1","hashtag2"]},{"1338935140":["hashtag1","hashtag2"]},{"1338935154":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338935159, 1338935167, 1338935146, 1338935161, 1338935140, 1338935154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29931616783142 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:38:42.526826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/37/image_21022025_23_37_46_9347.jpg', '/home/pi/Desktop/images/21022025/23/38/image_21022025_23_38_26_10350.jpg', '/home/pi/Desktop/images/21022025/23/38/image_21022025_23_38_36_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/37/image_21022025_23_37_46_9347.jpg
/home/pi/Desktop/images/21022025/23/38/image_21022025_23_38_26_10350.jpg
/home/pi/Desktop/images/21022025/23/38/image_21022025_23_38_36_9419.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935180","1338935179","1338935178"],"photo_ids_order":["1338935178","1338935179","1338935180"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/58ceef9bdd6b581019ff6438624c2cca.jpg","text":"TemporaryFile(/tmp/multipartBody1201037805610450229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177582974,"filename":"image_21022025_23_38_36_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/013d0ac551f3a7047bb41cafbefb25d5.jpg","text":"TemporaryFile(/tmp/multipartBody1809776881083975731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177582974,"filename":"image_21022025_23_38_26_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/057fc81c8af8c3ce2d2cb22c00f09cc8.jpg","text":"TemporaryFile(/tmp/multipartBody8344229795133169110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177582974,"filename":"image_21022025_23_37_46_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935180","file1":"1338935179","file0":"1338935178"},"map_files_photo_id_array":[{"photo_id":"1338935180","filename":"file2"},{"photo_id":"1338935179","filename":"file1"},{"photo_id":"1338935178","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338935180":["hashtag1","hashtag2"]},{"1338935179":["hashtag1","hashtag2"]},{"1338935178":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338935180, 1338935179, 1338935178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.15585231781006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:39:04.274858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/23/06/image_20022025_23_06_57_10476.jpg', '/home/pi/Desktop/images/20022025/23/06/image_20022025_23_07_06_9318.jpg', '/home/pi/Desktop/images/20022025/23/07/image_20022025_23_07_16_10481.jpg', '/home/pi/Desktop/images/20022025/23/07/image_20022025_23_07_27_10360.jpg', '/home/pi/Desktop/images/20022025/23/07/image_20022025_23_07_36_9326.jpg', '/home/pi/Desktop/images/20022025/23/07/image_20022025_23_08_06_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/23/06/image_20022025_23_06_57_10476.jpg
/home/pi/Desktop/images/20022025/23/06/image_20022025_23_07_06_9318.jpg
/home/pi/Desktop/images/20022025/23/07/image_20022025_23_07_16_10481.jpg
/home/pi/Desktop/images/20022025/23/07/image_20022025_23_07_27_10360.jpg
/home/pi/Desktop/images/20022025/23/07/image_20022025_23_07_36_9326.jpg
/home/pi/Desktop/images/20022025/23/07/image_20022025_23_08_06_10416.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935293","1338935225","1338935194","1338935299","1338935290","1338935286"],"photo_ids_order":["1338935194","1338935225","1338935286","1338935290","1338935293","1338935299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/822ac122868b8e526ada0d02b2e6d903.jpg","text":"TemporaryFile(/tmp/multipartBody1743094423171563655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177605978,"filename":"image_20022025_23_07_36_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/19feb8271d36892c0f5d13c962618bb2.jpg","text":"TemporaryFile(/tmp/multipartBody5132848961522994666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177605978,"filename":"image_20022025_23_07_06_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dda358fa43e391685a3775e30a08ada5.jpg","text":"TemporaryFile(/tmp/multipartBody5858170290180374584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177605978,"filename":"image_20022025_23_06_57_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9008c913f51c66c6f075289cdf3212f2.jpg","text":"TemporaryFile(/tmp/multipartBody861543303589720694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177605978,"filename":"image_20022025_23_08_06_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/18b58258d824c792a1c1e0b8523eeda2.jpg","text":"TemporaryFile(/tmp/multipartBody4950279706907621323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177605978,"filename":"image_20022025_23_07_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1584d31d295e07cef6168ddb06889330.jpg","text":"TemporaryFile(/tmp/multipartBody1985537974646875118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177605978,"filename":"image_20022025_23_07_16_10481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935286","file1":"1338935225","file0":"1338935194","file4":"1338935293","file5":"1338935299","file3":"1338935290"},"map_files_photo_id_array":[{"photo_id":"1338935299","filename":"file5"},{"photo_id":"1338935286","filename":"file2"},{"photo_id":"1338935293","filename":"file4"},{"photo_id":"1338935225","filename":"file1"},{"photo_id":"1338935194","filename":"file0"},{"photo_id":"1338935290","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338935293":["hashtag1","hashtag2"]},{"1338935225":["hashtag1","hashtag2"]},{"1338935194":["hashtag1","hashtag2"]},{"1338935299":["hashtag1","hashtag2"]},{"1338935290":["hashtag1","hashtag2"]},{"1338935286":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338935293, 1338935225, 1338935194, 1338935299, 1338935290, 1338935286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10058283805847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:39:42.747287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/38/image_21022025_23_38_57_10483.jpg', '/home/pi/Desktop/images/21022025/23/38/image_21022025_23_39_06_9406.jpg', '/home/pi/Desktop/images/21022025/23/39/image_21022025_23_39_16_10350.jpg', '/home/pi/Desktop/images/21022025/23/39/image_21022025_23_39_26_9359.jpg', '/home/pi/Desktop/images/21022025/23/39/image_21022025_23_39_36_10445.jpg', '/home/pi/Desktop/images/21022025/23/39/image_21022025_23_39_47_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/38/image_21022025_23_38_57_10483.jpg
/home/pi/Desktop/images/21022025/23/38/image_21022025_23_39_06_9406.jpg
/home/pi/Desktop/images/21022025/23/39/image_21022025_23_39_16_10350.jpg
/home/pi/Desktop/images/21022025/23/39/image_21022025_23_39_26_9359.jpg
/home/pi/Desktop/images/21022025/23/39/image_21022025_23_39_36_10445.jpg
/home/pi/Desktop/images/21022025/23/39/image_21022025_23_39_47_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935315","1338935311","1338935314","1338935319","1338935313","1338935316"],"photo_ids_order":["1338935311","1338935313","1338935314","1338935315","1338935316","1338935319"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/de468438e34506232a4a0db2d8d4b81a.jpg","text":"TemporaryFile(/tmp/multipartBody1180132310593932656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177643233,"filename":"image_21022025_23_39_26_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a783781a7767109846ffc1f65b8ba42d.jpg","text":"TemporaryFile(/tmp/multipartBody1724593201527603153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177643233,"filename":"image_21022025_23_38_57_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d2c2cbb87714393370bb6f8a351fac03.jpg","text":"TemporaryFile(/tmp/multipartBody9163247234568002002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177643233,"filename":"image_21022025_23_39_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e759807e758030f51dfd2638152cee54.jpg","text":"TemporaryFile(/tmp/multipartBody5986071685812793720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177643233,"filename":"image_21022025_23_39_47_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b1ba12206ebea907a3f5910ff7415142.jpg","text":"TemporaryFile(/tmp/multipartBody1706056795965542582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177643233,"filename":"image_21022025_23_39_06_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/194a6d270480e131f963627327bacdca.jpg","text":"TemporaryFile(/tmp/multipartBody1563330370324038746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177643233,"filename":"image_21022025_23_39_36_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935314","file1":"1338935313","file0":"1338935311","file4":"1338935316","file5":"1338935319","file3":"1338935315"},"map_files_photo_id_array":[{"photo_id":"1338935319","filename":"file5"},{"photo_id":"1338935314","filename":"file2"},{"photo_id":"1338935316","filename":"file4"},{"photo_id":"1338935313","filename":"file1"},{"photo_id":"1338935311","filename":"file0"},{"photo_id":"1338935315","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338935315":["hashtag1","hashtag2"]},{"1338935311":["hashtag1","hashtag2"]},{"1338935314":["hashtag1","hashtag2"]},{"1338935319":["hashtag1","hashtag2"]},{"1338935313":["hashtag1","hashtag2"]},{"1338935316":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338935315, 1338935311, 1338935314, 1338935319, 1338935313, 1338935316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.757014751434326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:40:33.003746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/39/image_21022025_23_39_56_9387.jpg', '/home/pi/Desktop/images/21022025/23/39/image_21022025_23_40_06_10343.jpg', '/home/pi/Desktop/images/21022025/23/40/image_21022025_23_40_16_9380.jpg', '/home/pi/Desktop/images/21022025/23/40/image_21022025_23_40_46_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/39/image_21022025_23_39_56_9387.jpg
/home/pi/Desktop/images/21022025/23/39/image_21022025_23_40_06_10343.jpg
/home/pi/Desktop/images/21022025/23/40/image_21022025_23_40_16_9380.jpg
/home/pi/Desktop/images/21022025/23/40/image_21022025_23_40_46_9445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935336","1338935353","1338935347","1338935343"],"photo_ids_order":["1338935336","1338935343","1338935347","1338935353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/be6239c0c812a5157882bf2b7ce871bb.jpg","text":"TemporaryFile(/tmp/multipartBody256488543489251871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177693453,"filename":"image_21022025_23_39_56_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/90ef684350c1091267e697e56af8c4f2.jpg","text":"TemporaryFile(/tmp/multipartBody5883640444788148736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177693453,"filename":"image_21022025_23_40_46_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8523a52cc782c349757bf4e54be7530d.jpg","text":"TemporaryFile(/tmp/multipartBody2610780498779679187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177693453,"filename":"image_21022025_23_40_16_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9c234c546fa143d1ba29f6da8baaf613.jpg","text":"TemporaryFile(/tmp/multipartBody260484123048223173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177693453,"filename":"image_21022025_23_40_06_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935347","file1":"1338935343","file0":"1338935336","file3":"1338935353"},"map_files_photo_id_array":[{"photo_id":"1338935347","filename":"file2"},{"photo_id":"1338935343","filename":"file1"},{"photo_id":"1338935336","filename":"file0"},{"photo_id":"1338935353","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338935336":["hashtag1","hashtag2"]},{"1338935353":["hashtag1","hashtag2"]},{"1338935347":["hashtag1","hashtag2"]},{"1338935343":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338935336, 1338935353, 1338935347, 1338935343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.263800859451294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:41:04.147895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/23/08/image_20022025_23_08_17_10332.jpg', '/home/pi/Desktop/images/20022025/23/08/image_20022025_23_08_26_9389.jpg', '/home/pi/Desktop/images/20022025/23/08/image_20022025_23_08_36_10375.jpg', '/home/pi/Desktop/images/20022025/23/08/image_20022025_23_08_47_10356.jpg', '/home/pi/Desktop/images/20022025/23/08/image_20022025_23_08_56_9333.jpg', '/home/pi/Desktop/images/20022025/23/08/image_20022025_23_09_07_10468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/23/08/image_20022025_23_08_17_10332.jpg
/home/pi/Desktop/images/20022025/23/08/image_20022025_23_08_26_9389.jpg
/home/pi/Desktop/images/20022025/23/08/image_20022025_23_08_36_10375.jpg
/home/pi/Desktop/images/20022025/23/08/image_20022025_23_08_47_10356.jpg
/home/pi/Desktop/images/20022025/23/08/image_20022025_23_08_56_9333.jpg
/home/pi/Desktop/images/20022025/23/08/image_20022025_23_09_07_10468.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935362","1338935371","1338935368","1338935376","1338935361","1338935364"],"photo_ids_order":["1338935361","1338935362","1338935364","1338935368","1338935371","1338935376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/df935f1946aca782997256cae67f2356.jpg","text":"TemporaryFile(/tmp/multipartBody4716948295225904340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177725830,"filename":"image_20022025_23_08_26_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd6115a40d02c4fcc78be8ce1b366fc9.jpg","text":"TemporaryFile(/tmp/multipartBody7055993115211058173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177725830,"filename":"image_20022025_23_08_56_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fc33d93fa5be6b0900f4c619b4a5413f.jpg","text":"TemporaryFile(/tmp/multipartBody6513275795177163932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177725830,"filename":"image_20022025_23_08_47_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bdd2a024343eff9749c80efbe29b0e00.jpg","text":"TemporaryFile(/tmp/multipartBody8007678940285596905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177725830,"filename":"image_20022025_23_09_07_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5241f5ffe680cac7be0f140ec69ad947.jpg","text":"TemporaryFile(/tmp/multipartBody999013122479507450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177725830,"filename":"image_20022025_23_08_17_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d512c3554c5c4d7f10c98585700c5e9c.jpg","text":"TemporaryFile(/tmp/multipartBody9177937106068052324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177725830,"filename":"image_20022025_23_08_36_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935364","file1":"1338935362","file0":"1338935361","file4":"1338935371","file5":"1338935376","file3":"1338935368"},"map_files_photo_id_array":[{"photo_id":"1338935376","filename":"file5"},{"photo_id":"1338935364","filename":"file2"},{"photo_id":"1338935371","filename":"file4"},{"photo_id":"1338935362","filename":"file1"},{"photo_id":"1338935361","filename":"file0"},{"photo_id":"1338935368","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338935362":["hashtag1","hashtag2"]},{"1338935371":["hashtag1","hashtag2"]},{"1338935368":["hashtag1","hashtag2"]},{"1338935376":["hashtag1","hashtag2"]},{"1338935361":["hashtag1","hashtag2"]},{"1338935364":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338935362, 1338935371, 1338935368, 1338935376, 1338935361, 1338935364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23598384857178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:41:43.230847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/40/image_21022025_23_40_56_10350.jpg', '/home/pi/Desktop/images/21022025/23/41/image_21022025_23_41_16_10352.jpg', '/home/pi/Desktop/images/21022025/23/41/image_21022025_23_41_36_9343.jpg', '/home/pi/Desktop/images/21022025/23/41/image_21022025_23_41_46_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/40/image_21022025_23_40_56_10350.jpg
/home/pi/Desktop/images/21022025/23/41/image_21022025_23_41_16_10352.jpg
/home/pi/Desktop/images/21022025/23/41/image_21022025_23_41_36_9343.jpg
/home/pi/Desktop/images/21022025/23/41/image_21022025_23_41_46_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935392","1338935389","1338935391","1338935390"],"photo_ids_order":["1338935389","1338935390","1338935391","1338935392"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75acd8801e574fb2efd72b4834fc3213.jpg","text":"TemporaryFile(/tmp/multipartBody7635525044798191320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177763680,"filename":"image_21022025_23_41_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/23961016e6c12d274d2adfb46cf8970d.jpg","text":"TemporaryFile(/tmp/multipartBody1882882018294048767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177763680,"filename":"image_21022025_23_40_56_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0d6929f9c8317bfd74e40cf0fe51e88f.jpg","text":"TemporaryFile(/tmp/multipartBody3335206359940699415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177763680,"filename":"image_21022025_23_41_36_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5002e7aa2d68c1d4e321488cfd39fa38.jpg","text":"TemporaryFile(/tmp/multipartBody8546313244396389780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177763680,"filename":"image_21022025_23_41_16_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935391","file1":"1338935390","file0":"1338935389","file3":"1338935392"},"map_files_photo_id_array":[{"photo_id":"1338935391","filename":"file2"},{"photo_id":"1338935390","filename":"file1"},{"photo_id":"1338935389","filename":"file0"},{"photo_id":"1338935392","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338935392":["hashtag1","hashtag2"]},{"1338935389":["hashtag1","hashtag2"]},{"1338935391":["hashtag1","hashtag2"]},{"1338935390":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338935392, 1338935389, 1338935391, 1338935390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.526438236236572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:42:32.326390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/41/image_21022025_23_41_56_10367.jpg', '/home/pi/Desktop/images/21022025/23/41/image_21022025_23_42_06_9385.jpg', '/home/pi/Desktop/images/21022025/23/42/image_21022025_23_42_16_10325.jpg', '/home/pi/Desktop/images/21022025/23/42/image_21022025_23_42_36_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/41/image_21022025_23_41_56_10367.jpg
/home/pi/Desktop/images/21022025/23/41/image_21022025_23_42_06_9385.jpg
/home/pi/Desktop/images/21022025/23/42/image_21022025_23_42_16_10325.jpg
/home/pi/Desktop/images/21022025/23/42/image_21022025_23_42_36_9381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935413","1338935416","1338935421","1338935418"],"photo_ids_order":["1338935413","1338935416","1338935418","1338935421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d403d828dfb01087f1403b828575d1ff.jpg","text":"TemporaryFile(/tmp/multipartBody3332323611585855855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177812813,"filename":"image_21022025_23_41_56_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5520b35e0279b271d164d5cad0392c73.jpg","text":"TemporaryFile(/tmp/multipartBody10637156190032656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177812813,"filename":"image_21022025_23_42_06_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3020ca094a92b384db633efd47b68f7a.jpg","text":"TemporaryFile(/tmp/multipartBody7508240926667124573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177812813,"filename":"image_21022025_23_42_36_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ffcdc74f73c677df46b28ad0f8a298b2.jpg","text":"TemporaryFile(/tmp/multipartBody3271664566988954610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177812813,"filename":"image_21022025_23_42_16_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935418","file1":"1338935416","file0":"1338935413","file3":"1338935421"},"map_files_photo_id_array":[{"photo_id":"1338935418","filename":"file2"},{"photo_id":"1338935416","filename":"file1"},{"photo_id":"1338935413","filename":"file0"},{"photo_id":"1338935421","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338935413":["hashtag1","hashtag2"]},{"1338935416":["hashtag1","hashtag2"]},{"1338935421":["hashtag1","hashtag2"]},{"1338935418":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338935413, 1338935416, 1338935421, 1338935418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.98083782196045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:43:03.925228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/23/09/image_20022025_23_09_16_9368.jpg', '/home/pi/Desktop/images/20022025/23/09/image_20022025_23_09_26_10399.jpg', '/home/pi/Desktop/images/20022025/23/09/image_20022025_23_09_37_10404.jpg', '/home/pi/Desktop/images/20022025/23/09/image_20022025_23_09_46_9310.jpg', '/home/pi/Desktop/images/20022025/23/09/image_20022025_23_09_56_10344.jpg', '/home/pi/Desktop/images/20022025/23/10/image_20022025_23_10_16_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/23/09/image_20022025_23_09_16_9368.jpg
/home/pi/Desktop/images/20022025/23/09/image_20022025_23_09_26_10399.jpg
/home/pi/Desktop/images/20022025/23/09/image_20022025_23_09_37_10404.jpg
/home/pi/Desktop/images/20022025/23/09/image_20022025_23_09_46_9310.jpg
/home/pi/Desktop/images/20022025/23/09/image_20022025_23_09_56_10344.jpg
/home/pi/Desktop/images/20022025/23/10/image_20022025_23_10_16_9339.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935432","1338935435","1338935438","1338935443","1338935437","1338935433"],"photo_ids_order":["1338935432","1338935433","1338935435","1338935437","1338935438","1338935443"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/268b35caa668e5603437c49bef5af7cb.jpg","text":"TemporaryFile(/tmp/multipartBody7922093280747400045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177845584,"filename":"image_20022025_23_09_16_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7a9a78ee15bfe77c530c48a8c2b584c0.jpg","text":"TemporaryFile(/tmp/multipartBody4171297514508175242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177845584,"filename":"image_20022025_23_09_37_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c5aba4582a1ebd3f0aaf91fe0bd25727.jpg","text":"TemporaryFile(/tmp/multipartBody406643924340910796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177845584,"filename":"image_20022025_23_09_56_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/32514284ff79f54a1f9850a127996ce3.jpg","text":"TemporaryFile(/tmp/multipartBody2224482534078563793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177845584,"filename":"image_20022025_23_10_16_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e5133fdbdd5cc695e4fa7a688cd224f.jpg","text":"TemporaryFile(/tmp/multipartBody1119988120562413915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177845584,"filename":"image_20022025_23_09_46_9310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/749f58a4ad025d23e6c4a96f9eb896b4.jpg","text":"TemporaryFile(/tmp/multipartBody2912308655108571011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177845584,"filename":"image_20022025_23_09_26_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935435","file1":"1338935433","file0":"1338935432","file4":"1338935438","file5":"1338935443","file3":"1338935437"},"map_files_photo_id_array":[{"photo_id":"1338935443","filename":"file5"},{"photo_id":"1338935435","filename":"file2"},{"photo_id":"1338935438","filename":"file4"},{"photo_id":"1338935433","filename":"file1"},{"photo_id":"1338935432","filename":"file0"},{"photo_id":"1338935437","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338935432":["hashtag1","hashtag2"]},{"1338935435":["hashtag1","hashtag2"]},{"1338935438":["hashtag1","hashtag2"]},{"1338935443":["hashtag1","hashtag2"]},{"1338935437":["hashtag1","hashtag2"]},{"1338935433":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338935432, 1338935435, 1338935438, 1338935443, 1338935437, 1338935433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10554504394531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:43:42.525790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/42/image_21022025_23_42_57_10414.jpg', '/home/pi/Desktop/images/21022025/23/43/image_21022025_23_43_16_10360.jpg', '/home/pi/Desktop/images/21022025/23/43/image_21022025_23_43_26_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/42/image_21022025_23_42_57_10414.jpg
/home/pi/Desktop/images/21022025/23/43/image_21022025_23_43_16_10360.jpg
/home/pi/Desktop/images/21022025/23/43/image_21022025_23_43_26_9370.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935465","1338935473","1338935482"],"photo_ids_order":["1338935465","1338935473","1338935482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f1d8dd22eef1fbcf0ad0128f0b89b9f.jpg","text":"TemporaryFile(/tmp/multipartBody4995206856375094729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177882962,"filename":"image_21022025_23_42_57_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f693541220cf860571e482862161dc1.jpg","text":"TemporaryFile(/tmp/multipartBody3827123012177872119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177882962,"filename":"image_21022025_23_43_16_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4104e4ce20f8c66ac144227e44b0f834.jpg","text":"TemporaryFile(/tmp/multipartBody6988597746638249227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177882962,"filename":"image_21022025_23_43_26_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935482","file1":"1338935473","file0":"1338935465"},"map_files_photo_id_array":[{"photo_id":"1338935482","filename":"file2"},{"photo_id":"1338935473","filename":"file1"},{"photo_id":"1338935465","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338935465":["hashtag1","hashtag2"]},{"1338935473":["hashtag1","hashtag2"]},{"1338935482":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338935465, 1338935473, 1338935482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.22284245491028 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:44:32.764932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/43/image_21022025_23_43_36_10349.jpg', '/home/pi/Desktop/images/21022025/23/44/image_21022025_23_44_26_9394.jpg', '/home/pi/Desktop/images/21022025/23/44/image_21022025_23_44_36_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/43/image_21022025_23_43_36_10349.jpg
/home/pi/Desktop/images/21022025/23/44/image_21022025_23_44_26_9394.jpg
/home/pi/Desktop/images/21022025/23/44/image_21022025_23_44_36_10347.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935542","1338935536","1338935547"],"photo_ids_order":["1338935536","1338935542","1338935547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/18beec41b87e1695a3f577e3a9515325.jpg","text":"TemporaryFile(/tmp/multipartBody5002318338555148595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177933207,"filename":"image_21022025_23_44_26_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7694623ebb36a8a8998f3d1d728a0972.jpg","text":"TemporaryFile(/tmp/multipartBody6840090547841040583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177933207,"filename":"image_21022025_23_43_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0f245fc3850fc7a68e0580d69cd7e71d.jpg","text":"TemporaryFile(/tmp/multipartBody2026223645407471291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177933207,"filename":"image_21022025_23_44_36_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935547","file1":"1338935542","file0":"1338935536"},"map_files_photo_id_array":[{"photo_id":"1338935547","filename":"file2"},{"photo_id":"1338935542","filename":"file1"},{"photo_id":"1338935536","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338935542":["hashtag1","hashtag2"]},{"1338935536":["hashtag1","hashtag2"]},{"1338935547":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338935542, 1338935536, 1338935547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.089991807937622 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:45:04.509266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/23/10/image_20022025_23_10_26_10361.jpg', '/home/pi/Desktop/images/20022025/23/10/image_20022025_23_10_46_10339.jpg', '/home/pi/Desktop/images/20022025/23/10/image_20022025_23_10_57_10396.jpg', '/home/pi/Desktop/images/20022025/23/10/image_20022025_23_11_06_9384.jpg', '/home/pi/Desktop/images/20022025/23/11/image_20022025_23_11_27_10356.jpg', '/home/pi/Desktop/images/20022025/23/11/image_20022025_23_11_46_9394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/23/10/image_20022025_23_10_26_10361.jpg
/home/pi/Desktop/images/20022025/23/10/image_20022025_23_10_46_10339.jpg
/home/pi/Desktop/images/20022025/23/10/image_20022025_23_10_57_10396.jpg
/home/pi/Desktop/images/20022025/23/10/image_20022025_23_11_06_9384.jpg
/home/pi/Desktop/images/20022025/23/11/image_20022025_23_11_27_10356.jpg
/home/pi/Desktop/images/20022025/23/11/image_20022025_23_11_46_9394.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935564","1338935573","1338935587","1338935560","1338935577","1338935582"],"photo_ids_order":["1338935560","1338935564","1338935573","1338935577","1338935582","1338935587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c5dd2edac0e5b950f8da905385089a76.jpg","text":"TemporaryFile(/tmp/multipartBody7083821573941013556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177966115,"filename":"image_20022025_23_10_46_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b6a87f89d5d445876680d51739cd7bb2.jpg","text":"TemporaryFile(/tmp/multipartBody8810862129247982277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177966115,"filename":"image_20022025_23_10_57_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fd04e02d1e48dd09c60aff2d42a89de2.jpg","text":"TemporaryFile(/tmp/multipartBody6567207478581624516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177966115,"filename":"image_20022025_23_11_46_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a8aa2100ecf14b9d754a55960cf37a6.jpg","text":"TemporaryFile(/tmp/multipartBody407937550276761874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177966115,"filename":"image_20022025_23_10_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8bc4fdca8e5e23f2acb6fcd96dc385cb.jpg","text":"TemporaryFile(/tmp/multipartBody5325906718743225147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177966115,"filename":"image_20022025_23_11_06_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e9298c49392f8ef606eaf542fa6085d3.jpg","text":"TemporaryFile(/tmp/multipartBody4482562830288440593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740177966115,"filename":"image_20022025_23_11_27_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935573","file1":"1338935564","file0":"1338935560","file4":"1338935582","file5":"1338935587","file3":"1338935577"},"map_files_photo_id_array":[{"photo_id":"1338935587","filename":"file5"},{"photo_id":"1338935573","filename":"file2"},{"photo_id":"1338935582","filename":"file4"},{"photo_id":"1338935564","filename":"file1"},{"photo_id":"1338935560","filename":"file0"},{"photo_id":"1338935577","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338935564":["hashtag1","hashtag2"]},{"1338935573":["hashtag1","hashtag2"]},{"1338935587":["hashtag1","hashtag2"]},{"1338935560":["hashtag1","hashtag2"]},{"1338935577":["hashtag1","hashtag2"]},{"1338935582":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338935564, 1338935573, 1338935587, 1338935560, 1338935577, 1338935582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2407591342926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:45:43.234232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/44/image_21022025_23_44_56_10362.jpg', '/home/pi/Desktop/images/21022025/23/44/image_21022025_23_45_06_10346.jpg', '/home/pi/Desktop/images/21022025/23/45/image_21022025_23_45_36_9478.jpg', '/home/pi/Desktop/images/21022025/23/45/image_21022025_23_45_46_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/44/image_21022025_23_44_56_10362.jpg
/home/pi/Desktop/images/21022025/23/44/image_21022025_23_45_06_10346.jpg
/home/pi/Desktop/images/21022025/23/45/image_21022025_23_45_36_9478.jpg
/home/pi/Desktop/images/21022025/23/45/image_21022025_23_45_46_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935627","1338935616","1338935619","1338935604"],"photo_ids_order":["1338935604","1338935616","1338935619","1338935627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/60ad70e00870ca93c7223e773e3cce45.jpg","text":"TemporaryFile(/tmp/multipartBody8055906824107598791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178003687,"filename":"image_21022025_23_45_46_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/304f332ab2dc36710b94fe2792d9877d.jpg","text":"TemporaryFile(/tmp/multipartBody8325210601097803364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178003687,"filename":"image_21022025_23_45_06_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/266983fbeb6168dc6edaf6d726a56f3a.jpg","text":"TemporaryFile(/tmp/multipartBody1095326136953328157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178003687,"filename":"image_21022025_23_45_36_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62546dbd6c2092425a483faa2915155e.jpg","text":"TemporaryFile(/tmp/multipartBody2956598317459168493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178003687,"filename":"image_21022025_23_44_56_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935619","file1":"1338935616","file0":"1338935604","file3":"1338935627"},"map_files_photo_id_array":[{"photo_id":"1338935619","filename":"file2"},{"photo_id":"1338935616","filename":"file1"},{"photo_id":"1338935604","filename":"file0"},{"photo_id":"1338935627","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338935627":["hashtag1","hashtag2"]},{"1338935616":["hashtag1","hashtag2"]},{"1338935619":["hashtag1","hashtag2"]},{"1338935604":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338935627, 1338935616, 1338935619, 1338935604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.903348207473755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:46:32.458447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/45/image_21022025_23_45_56_10372.jpg', '/home/pi/Desktop/images/21022025/23/45/image_21022025_23_46_06_9408.jpg', '/home/pi/Desktop/images/21022025/23/46/image_21022025_23_46_26_9459.jpg', '/home/pi/Desktop/images/21022025/23/46/image_21022025_23_46_36_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/45/image_21022025_23_45_56_10372.jpg
/home/pi/Desktop/images/21022025/23/45/image_21022025_23_46_06_9408.jpg
/home/pi/Desktop/images/21022025/23/46/image_21022025_23_46_26_9459.jpg
/home/pi/Desktop/images/21022025/23/46/image_21022025_23_46_36_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935659","1338935650","1338935661","1338935655"],"photo_ids_order":["1338935650","1338935655","1338935659","1338935661"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/344352a3b2c5760aadd3b4d874f2ba9c.jpg","text":"TemporaryFile(/tmp/multipartBody3878400898487372143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178052911,"filename":"image_21022025_23_46_26_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6e898ead1175f590e18847ddb5ead706.jpg","text":"TemporaryFile(/tmp/multipartBody6510286710833543563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178052911,"filename":"image_21022025_23_45_56_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7c1e4b855f5ec6e592eeef6bfba4fb69.jpg","text":"TemporaryFile(/tmp/multipartBody1429850705299035383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178052911,"filename":"image_21022025_23_46_36_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/59951bdc12fc7b81c8717c954b7ebf89.jpg","text":"TemporaryFile(/tmp/multipartBody9207640302063252148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178052911,"filename":"image_21022025_23_46_06_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935659","file1":"1338935655","file0":"1338935650","file3":"1338935661"},"map_files_photo_id_array":[{"photo_id":"1338935659","filename":"file2"},{"photo_id":"1338935655","filename":"file1"},{"photo_id":"1338935650","filename":"file0"},{"photo_id":"1338935661","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338935659":["hashtag1","hashtag2"]},{"1338935650":["hashtag1","hashtag2"]},{"1338935661":["hashtag1","hashtag2"]},{"1338935655":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338935659, 1338935650, 1338935661, 1338935655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.40006136894226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:47:04.233807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/23/11/image_20022025_23_12_07_10470.jpg', '/home/pi/Desktop/images/20022025/23/12/image_20022025_23_12_16_9392.jpg', '/home/pi/Desktop/images/20022025/23/12/image_20022025_23_12_26_10329.jpg', '/home/pi/Desktop/images/20022025/23/12/image_20022025_23_12_37_10402.jpg', '/home/pi/Desktop/images/20022025/23/12/image_20022025_23_12_46_9317.jpg', '/home/pi/Desktop/images/20022025/23/12/image_20022025_23_12_56_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/23/11/image_20022025_23_12_07_10470.jpg
/home/pi/Desktop/images/20022025/23/12/image_20022025_23_12_16_9392.jpg
/home/pi/Desktop/images/20022025/23/12/image_20022025_23_12_26_10329.jpg
/home/pi/Desktop/images/20022025/23/12/image_20022025_23_12_37_10402.jpg
/home/pi/Desktop/images/20022025/23/12/image_20022025_23_12_46_9317.jpg
/home/pi/Desktop/images/20022025/23/12/image_20022025_23_12_56_10355.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935741","1338935750","1338935738","1338935745","1338935739","1338935742"],"photo_ids_order":["1338935738","1338935739","1338935741","1338935742","1338935745","1338935750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a035e2cc5d5330b2ef146064da270963.jpg","text":"TemporaryFile(/tmp/multipartBody8142303264782749914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178085873,"filename":"image_20022025_23_12_26_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/237cc3d24029514a7ab2c90a5703f1ea.jpg","text":"TemporaryFile(/tmp/multipartBody3543998875299199404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178085873,"filename":"image_20022025_23_12_56_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e52428031ea7cec1b185c9bacae858b8.jpg","text":"TemporaryFile(/tmp/multipartBody8056396686037424631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178085873,"filename":"image_20022025_23_12_07_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/42edf61ce8a8231ae8706f64fbe7c548.jpg","text":"TemporaryFile(/tmp/multipartBody7506908126148193193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178085873,"filename":"image_20022025_23_12_46_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/659fdf85ff4afeb1441a9af0a02d11a1.jpg","text":"TemporaryFile(/tmp/multipartBody8242003132251534003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178085873,"filename":"image_20022025_23_12_16_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/5b53792298b447334cf6719a8b6cc0f8.jpg","text":"TemporaryFile(/tmp/multipartBody5475159245264187920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178085873,"filename":"image_20022025_23_12_37_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935741","file1":"1338935739","file0":"1338935738","file4":"1338935745","file5":"1338935750","file3":"1338935742"},"map_files_photo_id_array":[{"photo_id":"1338935750","filename":"file5"},{"photo_id":"1338935741","filename":"file2"},{"photo_id":"1338935745","filename":"file4"},{"photo_id":"1338935739","filename":"file1"},{"photo_id":"1338935738","filename":"file0"},{"photo_id":"1338935742","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338935741":["hashtag1","hashtag2"]},{"1338935750":["hashtag1","hashtag2"]},{"1338935738":["hashtag1","hashtag2"]},{"1338935745":["hashtag1","hashtag2"]},{"1338935739":["hashtag1","hashtag2"]},{"1338935742":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338935741, 1338935750, 1338935738, 1338935745, 1338935739, 1338935742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8999183177948 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:47:42.626188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/46/image_21022025_23_46_46_10353.jpg', '/home/pi/Desktop/images/21022025/23/46/image_21022025_23_47_06_10347.jpg', '/home/pi/Desktop/images/21022025/23/47/image_21022025_23_47_16_10339.jpg', '/home/pi/Desktop/images/21022025/23/47/image_21022025_23_47_36_10335.jpg', '/home/pi/Desktop/images/21022025/23/47/image_21022025_23_47_46_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/46/image_21022025_23_46_46_10353.jpg
/home/pi/Desktop/images/21022025/23/46/image_21022025_23_47_06_10347.jpg
/home/pi/Desktop/images/21022025/23/47/image_21022025_23_47_16_10339.jpg
/home/pi/Desktop/images/21022025/23/47/image_21022025_23_47_36_10335.jpg
/home/pi/Desktop/images/21022025/23/47/image_21022025_23_47_46_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935764","1338935767","1338935761","1338935769","1338935768"],"photo_ids_order":["1338935761","1338935764","1338935767","1338935768","1338935769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f6fd571226adac4490ffd4371e9782ef.jpg","text":"TemporaryFile(/tmp/multipartBody8867864892040082830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178123127,"filename":"image_21022025_23_47_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9d527c356f300bb68b7ee5ccc7166ef7.jpg","text":"TemporaryFile(/tmp/multipartBody4570108787157930495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178123127,"filename":"image_21022025_23_47_16_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c955de7a3f3f81749b3c9948e4e3bcc3.jpg","text":"TemporaryFile(/tmp/multipartBody8877591838742826763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178123127,"filename":"image_21022025_23_46_46_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/dced072f3ef3b280c9fedba391108844.jpg","text":"TemporaryFile(/tmp/multipartBody2468374972622758611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178123127,"filename":"image_21022025_23_47_46_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/41a2f840cefde40b8e20382673923229.jpg","text":"TemporaryFile(/tmp/multipartBody367928442311768454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178123127,"filename":"image_21022025_23_47_36_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935767","file1":"1338935764","file0":"1338935761","file4":"1338935769","file3":"1338935768"},"map_files_photo_id_array":[{"photo_id":"1338935767","filename":"file2"},{"photo_id":"1338935769","filename":"file4"},{"photo_id":"1338935764","filename":"file1"},{"photo_id":"1338935761","filename":"file0"},{"photo_id":"1338935768","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338935764":["hashtag1","hashtag2"]},{"1338935767":["hashtag1","hashtag2"]},{"1338935761":["hashtag1","hashtag2"]},{"1338935769":["hashtag1","hashtag2"]},{"1338935768":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338935764, 1338935767, 1338935761, 1338935769, 1338935768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.371980905532837 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:48:32.829200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/47/image_21022025_23_47_56_9393.jpg', '/home/pi/Desktop/images/21022025/23/47/image_21022025_23_48_06_10319.jpg', '/home/pi/Desktop/images/21022025/23/48/image_21022025_23_48_26_9418.jpg', '/home/pi/Desktop/images/21022025/23/48/image_21022025_23_48_36_10345.jpg', '/home/pi/Desktop/images/21022025/23/48/image_21022025_23_48_46_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/47/image_21022025_23_47_56_9393.jpg
/home/pi/Desktop/images/21022025/23/47/image_21022025_23_48_06_10319.jpg
/home/pi/Desktop/images/21022025/23/48/image_21022025_23_48_26_9418.jpg
/home/pi/Desktop/images/21022025/23/48/image_21022025_23_48_36_10345.jpg
/home/pi/Desktop/images/21022025/23/48/image_21022025_23_48_46_9441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935831","1338935833","1338935821","1338935826","1338935817"],"photo_ids_order":["1338935817","1338935821","1338935826","1338935831","1338935833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bdf896ba209e90132f4fc6f315cc2a4d.jpg","text":"TemporaryFile(/tmp/multipartBody7346945475715573216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178173303,"filename":"image_21022025_23_48_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0da45c21304ef7d08cca047f4defdc9c.jpg","text":"TemporaryFile(/tmp/multipartBody8619892707233337852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178173303,"filename":"image_21022025_23_48_46_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/50017e87083ff7d60606e8bddda8e661.jpg","text":"TemporaryFile(/tmp/multipartBody6696552384321858500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178173303,"filename":"image_21022025_23_48_06_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b4fe263008428bd500e4e6509c72c696.jpg","text":"TemporaryFile(/tmp/multipartBody5107541392195148584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178173303,"filename":"image_21022025_23_48_26_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4717b93c5d824a26dd81175dd8173ba9.jpg","text":"TemporaryFile(/tmp/multipartBody469506907179536961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178173303,"filename":"image_21022025_23_47_56_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935826","file1":"1338935821","file0":"1338935817","file4":"1338935833","file3":"1338935831"},"map_files_photo_id_array":[{"photo_id":"1338935826","filename":"file2"},{"photo_id":"1338935833","filename":"file4"},{"photo_id":"1338935821","filename":"file1"},{"photo_id":"1338935817","filename":"file0"},{"photo_id":"1338935831","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338935831":["hashtag1","hashtag2"]},{"1338935833":["hashtag1","hashtag2"]},{"1338935821":["hashtag1","hashtag2"]},{"1338935826":["hashtag1","hashtag2"]},{"1338935817":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338935831, 1338935833, 1338935821, 1338935826, 1338935817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.021910667419434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:49:04.310775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/23/12/image_20022025_23_13_06_9393.jpg', '/home/pi/Desktop/images/20022025/23/13/image_20022025_23_13_16_10336.jpg', '/home/pi/Desktop/images/20022025/23/13/image_20022025_23_13_27_10415.jpg', '/home/pi/Desktop/images/20022025/23/13/image_20022025_23_13_36_9336.jpg', '/home/pi/Desktop/images/20022025/23/13/image_20022025_23_13_46_10396.jpg', '/home/pi/Desktop/images/20022025/23/13/image_20022025_23_13_57_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/23/12/image_20022025_23_13_06_9393.jpg
/home/pi/Desktop/images/20022025/23/13/image_20022025_23_13_16_10336.jpg
/home/pi/Desktop/images/20022025/23/13/image_20022025_23_13_27_10415.jpg
/home/pi/Desktop/images/20022025/23/13/image_20022025_23_13_36_9336.jpg
/home/pi/Desktop/images/20022025/23/13/image_20022025_23_13_46_10396.jpg
/home/pi/Desktop/images/20022025/23/13/image_20022025_23_13_57_10369.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935861","1338935864","1338935872","1338935857","1338935859","1338935867"],"photo_ids_order":["1338935857","1338935859","1338935861","1338935864","1338935867","1338935872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4cd98515ad0665e17ee7bbcdca95048e.jpg","text":"TemporaryFile(/tmp/multipartBody7026200926403351933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178205891,"filename":"image_20022025_23_13_27_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3df09f8e8d70058fd8990ac508615157.jpg","text":"TemporaryFile(/tmp/multipartBody7717735905326108229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178205891,"filename":"image_20022025_23_13_36_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ed79e9b9f735b78c6820521d701d31ac.jpg","text":"TemporaryFile(/tmp/multipartBody1022021536444536298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178205891,"filename":"image_20022025_23_13_57_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/bcd448232b9ff26e98ca6d9a8a1d5d7e.jpg","text":"TemporaryFile(/tmp/multipartBody6263890765548025974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178205891,"filename":"image_20022025_23_13_06_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/0a96d339d49afd34e32ecb625a001dea.jpg","text":"TemporaryFile(/tmp/multipartBody961153206556521567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178205891,"filename":"image_20022025_23_13_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7b53d104095f0f8e107579c0d83a3a76.jpg","text":"TemporaryFile(/tmp/multipartBody3707185688032338507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178205891,"filename":"image_20022025_23_13_46_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935861","file1":"1338935859","file0":"1338935857","file4":"1338935867","file5":"1338935872","file3":"1338935864"},"map_files_photo_id_array":[{"photo_id":"1338935872","filename":"file5"},{"photo_id":"1338935861","filename":"file2"},{"photo_id":"1338935867","filename":"file4"},{"photo_id":"1338935859","filename":"file1"},{"photo_id":"1338935857","filename":"file0"},{"photo_id":"1338935864","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338935861":["hashtag1","hashtag2"]},{"1338935864":["hashtag1","hashtag2"]},{"1338935872":["hashtag1","hashtag2"]},{"1338935857":["hashtag1","hashtag2"]},{"1338935859":["hashtag1","hashtag2"]},{"1338935867":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338935861, 1338935864, 1338935872, 1338935857, 1338935859, 1338935867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66870045661926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:49:43.041383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/48/image_21022025_23_48_56_10362.jpg', '/home/pi/Desktop/images/21022025/23/48/image_21022025_23_49_06_10344.jpg', '/home/pi/Desktop/images/21022025/23/49/image_21022025_23_49_16_9405.jpg', '/home/pi/Desktop/images/21022025/23/49/image_21022025_23_49_26_10352.jpg', '/home/pi/Desktop/images/21022025/23/49/image_21022025_23_49_37_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/48/image_21022025_23_48_56_10362.jpg
/home/pi/Desktop/images/21022025/23/48/image_21022025_23_49_06_10344.jpg
/home/pi/Desktop/images/21022025/23/49/image_21022025_23_49_16_9405.jpg
/home/pi/Desktop/images/21022025/23/49/image_21022025_23_49_26_10352.jpg
/home/pi/Desktop/images/21022025/23/49/image_21022025_23_49_37_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935893","1338935892","1338935889","1338935886","1338935894"],"photo_ids_order":["1338935886","1338935889","1338935892","1338935893","1338935894"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/61337aec534dcbd809ce9e68a8ebe377.jpg","text":"TemporaryFile(/tmp/multipartBody8099981461155570823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178243498,"filename":"image_21022025_23_49_26_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/40f2a12daab8a858ed62f301b420f44b.jpg","text":"TemporaryFile(/tmp/multipartBody5028541715431956651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178243498,"filename":"image_21022025_23_49_16_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/efe569dfea9fd9222c50f1525b967a96.jpg","text":"TemporaryFile(/tmp/multipartBody7254027356704590896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178243498,"filename":"image_21022025_23_49_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6dc17661a65863cd7cc12192dfc86651.jpg","text":"TemporaryFile(/tmp/multipartBody7424701960572929132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178243498,"filename":"image_21022025_23_48_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2f6a5969583fc2677202b462eac9b58f.jpg","text":"TemporaryFile(/tmp/multipartBody1734245812506760867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178243498,"filename":"image_21022025_23_49_37_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935892","file1":"1338935889","file0":"1338935886","file4":"1338935894","file3":"1338935893"},"map_files_photo_id_array":[{"photo_id":"1338935892","filename":"file2"},{"photo_id":"1338935894","filename":"file4"},{"photo_id":"1338935889","filename":"file1"},{"photo_id":"1338935886","filename":"file0"},{"photo_id":"1338935893","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338935893":["hashtag1","hashtag2"]},{"1338935892":["hashtag1","hashtag2"]},{"1338935889":["hashtag1","hashtag2"]},{"1338935886":["hashtag1","hashtag2"]},{"1338935894":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338935893, 1338935892, 1338935889, 1338935886, 1338935894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.708574771881104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:50:32.399457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/49/image_21022025_23_49_46_9345.jpg', '/home/pi/Desktop/images/21022025/23/49/image_21022025_23_50_06_9422.jpg', '/home/pi/Desktop/images/21022025/23/50/image_21022025_23_50_16_10335.jpg', '/home/pi/Desktop/images/21022025/23/50/image_21022025_23_50_36_9355.jpg', '/home/pi/Desktop/images/21022025/23/50/image_21022025_23_50_46_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/49/image_21022025_23_49_46_9345.jpg
/home/pi/Desktop/images/21022025/23/49/image_21022025_23_50_06_9422.jpg
/home/pi/Desktop/images/21022025/23/50/image_21022025_23_50_16_10335.jpg
/home/pi/Desktop/images/21022025/23/50/image_21022025_23_50_36_9355.jpg
/home/pi/Desktop/images/21022025/23/50/image_21022025_23_50_46_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935915","1338935923","1338935919","1338935910","1338935922"],"photo_ids_order":["1338935910","1338935915","1338935919","1338935922","1338935923"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7134ff3694246902a36e1c1ba8226c2a.jpg","text":"TemporaryFile(/tmp/multipartBody5118351273378301107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178292851,"filename":"image_21022025_23_50_06_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/377084a4d2f9dbe3b261882b71edf204.jpg","text":"TemporaryFile(/tmp/multipartBody4335458155895215341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178292851,"filename":"image_21022025_23_50_46_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/3c7451abaa9b392b6114ed251de676d5.jpg","text":"TemporaryFile(/tmp/multipartBody7979205490801516301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178292851,"filename":"image_21022025_23_50_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/57d68e71652b04d66d411bf32cbaa86f.jpg","text":"TemporaryFile(/tmp/multipartBody817877619295420729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178292851,"filename":"image_21022025_23_49_46_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/02c3f43eb1c9557dc7fc4b3cf8dbd70e.jpg","text":"TemporaryFile(/tmp/multipartBody3747399124296482664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178292851,"filename":"image_21022025_23_50_36_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935919","file1":"1338935915","file0":"1338935910","file4":"1338935923","file3":"1338935922"},"map_files_photo_id_array":[{"photo_id":"1338935919","filename":"file2"},{"photo_id":"1338935923","filename":"file4"},{"photo_id":"1338935915","filename":"file1"},{"photo_id":"1338935910","filename":"file0"},{"photo_id":"1338935922","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338935915":["hashtag1","hashtag2"]},{"1338935923":["hashtag1","hashtag2"]},{"1338935919":["hashtag1","hashtag2"]},{"1338935910":["hashtag1","hashtag2"]},{"1338935922":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338935915, 1338935923, 1338935919, 1338935910, 1338935922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.524107456207275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:51:03.933484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/23/13/image_20022025_23_14_06_9339.jpg', '/home/pi/Desktop/images/20022025/23/14/image_20022025_23_14_16_10334.jpg', '/home/pi/Desktop/images/20022025/23/14/image_20022025_23_14_27_10366.jpg', '/home/pi/Desktop/images/20022025/23/14/image_20022025_23_14_36_9337.jpg', '/home/pi/Desktop/images/20022025/23/14/image_20022025_23_14_46_10389.jpg', '/home/pi/Desktop/images/20022025/23/14/image_20022025_23_14_57_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/23/13/image_20022025_23_14_06_9339.jpg
/home/pi/Desktop/images/20022025/23/14/image_20022025_23_14_16_10334.jpg
/home/pi/Desktop/images/20022025/23/14/image_20022025_23_14_27_10366.jpg
/home/pi/Desktop/images/20022025/23/14/image_20022025_23_14_36_9337.jpg
/home/pi/Desktop/images/20022025/23/14/image_20022025_23_14_46_10389.jpg
/home/pi/Desktop/images/20022025/23/14/image_20022025_23_14_57_10342.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935957","1338935942","1338935950","1338935953","1338935941","1338935946"],"photo_ids_order":["1338935941","1338935942","1338935946","1338935950","1338935953","1338935957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/aeeada55ee71f7e5fe156c410b2a5085.jpg","text":"TemporaryFile(/tmp/multipartBody4409478469596554974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178325574,"filename":"image_20022025_23_14_57_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1ca2e3aaf3484e9a459470e838186c10.jpg","text":"TemporaryFile(/tmp/multipartBody4087264961115049553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178325574,"filename":"image_20022025_23_14_16_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7d38af85a80b90429fa89088ecc3d986.jpg","text":"TemporaryFile(/tmp/multipartBody687895723046530508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178325574,"filename":"image_20022025_23_14_36_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f9940bc8924bd035efb5e439a3401e8f.jpg","text":"TemporaryFile(/tmp/multipartBody1313182275729495178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178325574,"filename":"image_20022025_23_14_46_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/19aa3617f278bcd5327228fabb9bbbba.jpg","text":"TemporaryFile(/tmp/multipartBody7662784667545901384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178325574,"filename":"image_20022025_23_14_06_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/62f134f4f48286c01c5d2db31c240635.jpg","text":"TemporaryFile(/tmp/multipartBody1292700528471024552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178325574,"filename":"image_20022025_23_14_27_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338935946","file1":"1338935942","file0":"1338935941","file4":"1338935953","file5":"1338935957","file3":"1338935950"},"map_files_photo_id_array":[{"photo_id":"1338935957","filename":"file5"},{"photo_id":"1338935946","filename":"file2"},{"photo_id":"1338935953","filename":"file4"},{"photo_id":"1338935942","filename":"file1"},{"photo_id":"1338935941","filename":"file0"},{"photo_id":"1338935950","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338935957":["hashtag1","hashtag2"]},{"1338935942":["hashtag1","hashtag2"]},{"1338935950":["hashtag1","hashtag2"]},{"1338935953":["hashtag1","hashtag2"]},{"1338935941":["hashtag1","hashtag2"]},{"1338935946":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338935957, 1338935942, 1338935950, 1338935953, 1338935941, 1338935946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.032851219177246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:51:42.547954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/50/image_21022025_23_50_57_10405.jpg', '/home/pi/Desktop/images/21022025/23/50/image_21022025_23_51_06_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/50/image_21022025_23_50_57_10405.jpg
/home/pi/Desktop/images/21022025/23/50/image_21022025_23_51_06_9338.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338935974","1338935978"],"photo_ids_order":["1338935974","1338935978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/419133a9268cab3c8d312938a322483a.jpg","text":"TemporaryFile(/tmp/multipartBody7779923244594345151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178362968,"filename":"image_21022025_23_50_57_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/445365cff3aa60184c191b7e314df89b.jpg","text":"TemporaryFile(/tmp/multipartBody5368716447413620131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178362968,"filename":"image_21022025_23_51_06_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1338935978","file0":"1338935974"},"map_files_photo_id_array":[{"photo_id":"1338935978","filename":"file1"},{"photo_id":"1338935974","filename":"file0"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338935974":["hashtag1","hashtag2"]},{"1338935978":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338935974, 1338935978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.886625051498413 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:52:03.471552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/23/14/image_20022025_23_15_06_9342.jpg', '/home/pi/Desktop/images/20022025/23/15/image_20022025_23_15_26_9335.jpg', '/home/pi/Desktop/images/20022025/23/15/image_20022025_23_15_56_9338.jpg', '/home/pi/Desktop/images/20022025/23/15/image_20022025_23_16_06_10337.jpg', '/home/pi/Desktop/images/20022025/23/16/image_20022025_23_16_36_10405.jpg', '/home/pi/Desktop/images/20022025/23/16/image_20022025_23_16_46_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/23/14/image_20022025_23_15_06_9342.jpg
/home/pi/Desktop/images/20022025/23/15/image_20022025_23_15_26_9335.jpg
/home/pi/Desktop/images/20022025/23/15/image_20022025_23_15_56_9338.jpg
/home/pi/Desktop/images/20022025/23/15/image_20022025_23_16_06_10337.jpg
/home/pi/Desktop/images/20022025/23/16/image_20022025_23_16_36_10405.jpg
/home/pi/Desktop/images/20022025/23/16/image_20022025_23_16_46_9376.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338936511","1338936904","1338936723","1338936309","1338935982","1338936126"],"photo_ids_order":["1338935982","1338936126","1338936309","1338936511","1338936723","1338936904"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/6947195a4d01fd6156a5182ae93e9e45.jpg","text":"TemporaryFile(/tmp/multipartBody4663753100991124824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178384888,"filename":"image_20022025_23_16_06_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f52f9ea486b802a6de756f1ef4eec805.jpg","text":"TemporaryFile(/tmp/multipartBody8603748278728469994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178384888,"filename":"image_20022025_23_16_46_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2da78ef09d7647f55a081944bdb9696a.jpg","text":"TemporaryFile(/tmp/multipartBody3477259336890470049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178384888,"filename":"image_20022025_23_16_36_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2dcc72d05fd2cfcac3bc75f226ae7e48.jpg","text":"TemporaryFile(/tmp/multipartBody7157748569959114860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178384888,"filename":"image_20022025_23_15_56_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9d75aeabe0c1a664744757aaf861123c.jpg","text":"TemporaryFile(/tmp/multipartBody5356879298989348956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178384888,"filename":"image_20022025_23_15_06_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ef0a06c64b23dd2406d0f6c82ceb3dfb.jpg","text":"TemporaryFile(/tmp/multipartBody1231302888987053505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178384888,"filename":"image_20022025_23_15_26_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338936309","file1":"1338936126","file0":"1338935982","file4":"1338936723","file5":"1338936904","file3":"1338936511"},"map_files_photo_id_array":[{"photo_id":"1338936904","filename":"file5"},{"photo_id":"1338936309","filename":"file2"},{"photo_id":"1338936723","filename":"file4"},{"photo_id":"1338936126","filename":"file1"},{"photo_id":"1338935982","filename":"file0"},{"photo_id":"1338936511","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338936511":["hashtag1","hashtag2"]},{"1338936904":["hashtag1","hashtag2"]},{"1338936723":["hashtag1","hashtag2"]},{"1338936309":["hashtag1","hashtag2"]},{"1338935982":["hashtag1","hashtag2"]},{"1338936126":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338936511, 1338936904, 1338936723, 1338936309, 1338935982, 1338936126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.62752151489258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:52:42.805869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/51/image_21022025_23_51_16_10346.jpg', '/home/pi/Desktop/images/21022025/23/51/image_21022025_23_52_06_10328.jpg', '/home/pi/Desktop/images/21022025/23/52/image_21022025_23_52_17_10357.jpg', '/home/pi/Desktop/images/21022025/23/52/image_21022025_23_52_26_9371.jpg', '/home/pi/Desktop/images/21022025/23/52/image_21022025_23_52_46_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/51/image_21022025_23_51_16_10346.jpg
/home/pi/Desktop/images/21022025/23/51/image_21022025_23_52_06_10328.jpg
/home/pi/Desktop/images/21022025/23/52/image_21022025_23_52_17_10357.jpg
/home/pi/Desktop/images/21022025/23/52/image_21022025_23_52_26_9371.jpg
/home/pi/Desktop/images/21022025/23/52/image_21022025_23_52_46_9445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338937351","1338937345","1338937350","1338937352","1338937349"],"photo_ids_order":["1338937345","1338937349","1338937350","1338937351","1338937352"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7dbceedf3db892b4453f0f6349762d80.jpg","text":"TemporaryFile(/tmp/multipartBody2640543858960884676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178423311,"filename":"image_21022025_23_52_26_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/ff719308f397f9464c1bd6520be3dd2d.jpg","text":"TemporaryFile(/tmp/multipartBody6901607110176685409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178423311,"filename":"image_21022025_23_51_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/45888730ecadbcc08314cc7beaa15111.jpg","text":"TemporaryFile(/tmp/multipartBody7944555027907317170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178423311,"filename":"image_21022025_23_52_17_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/8743570da3c2afe252ac4edd9b2dbe0a.jpg","text":"TemporaryFile(/tmp/multipartBody3335155579413044203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178423311,"filename":"image_21022025_23_52_46_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/83ee1db3c97b01b6abf1014b48571ced.jpg","text":"TemporaryFile(/tmp/multipartBody7063571902565389506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178423311,"filename":"image_21022025_23_52_06_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338937350","file1":"1338937349","file0":"1338937345","file4":"1338937352","file3":"1338937351"},"map_files_photo_id_array":[{"photo_id":"1338937350","filename":"file2"},{"photo_id":"1338937352","filename":"file4"},{"photo_id":"1338937349","filename":"file1"},{"photo_id":"1338937345","filename":"file0"},{"photo_id":"1338937351","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338937351":["hashtag1","hashtag2"]},{"1338937345":["hashtag1","hashtag2"]},{"1338937350":["hashtag1","hashtag2"]},{"1338937352":["hashtag1","hashtag2"]},{"1338937349":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338937351, 1338937345, 1338937350, 1338937352, 1338937349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.365201234817505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:53:32.939223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/52/image_21022025_23_52_56_10370.jpg', '/home/pi/Desktop/images/21022025/23/53/image_21022025_23_53_16_9405.jpg', '/home/pi/Desktop/images/21022025/23/53/image_21022025_23_53_26_10391.jpg', '/home/pi/Desktop/images/21022025/23/53/image_21022025_23_53_37_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/52/image_21022025_23_52_56_10370.jpg
/home/pi/Desktop/images/21022025/23/53/image_21022025_23_53_16_9405.jpg
/home/pi/Desktop/images/21022025/23/53/image_21022025_23_53_26_10391.jpg
/home/pi/Desktop/images/21022025/23/53/image_21022025_23_53_37_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338937387","1338937383","1338937386","1338937384"],"photo_ids_order":["1338937383","1338937384","1338937386","1338937387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/73c2e4857b24c09575cafd60e702ccb2.jpg","text":"TemporaryFile(/tmp/multipartBody7625745611421119505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178473386,"filename":"image_21022025_23_53_37_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/86fc0f05528f7a909d836877d496b893.jpg","text":"TemporaryFile(/tmp/multipartBody468322249844490700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178473386,"filename":"image_21022025_23_52_56_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/17a539c13a5a23114389b9ee2829e982.jpg","text":"TemporaryFile(/tmp/multipartBody5622625003396996004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178473386,"filename":"image_21022025_23_53_26_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/431e4e7003100f2df7bb757ef9b411d8.jpg","text":"TemporaryFile(/tmp/multipartBody812717654347768468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178473386,"filename":"image_21022025_23_53_16_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338937386","file1":"1338937384","file0":"1338937383","file3":"1338937387"},"map_files_photo_id_array":[{"photo_id":"1338937386","filename":"file2"},{"photo_id":"1338937384","filename":"file1"},{"photo_id":"1338937383","filename":"file0"},{"photo_id":"1338937387","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338937387":["hashtag1","hashtag2"]},{"1338937383":["hashtag1","hashtag2"]},{"1338937386":["hashtag1","hashtag2"]},{"1338937384":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338937387, 1338937383, 1338937386, 1338937384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.316398859024048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:54:02.876189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/23/16/image_20022025_23_16_56_10327.jpg', '/home/pi/Desktop/images/20022025/23/16/image_20022025_23_17_07_10405.jpg', '/home/pi/Desktop/images/20022025/23/17/image_20022025_23_17_16_9366.jpg', '/home/pi/Desktop/images/20022025/23/17/image_20022025_23_17_26_10357.jpg', '/home/pi/Desktop/images/20022025/23/17/image_20022025_23_17_37_10347.jpg', '/home/pi/Desktop/images/20022025/23/17/image_20022025_23_17_56_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/23/16/image_20022025_23_16_56_10327.jpg
/home/pi/Desktop/images/20022025/23/16/image_20022025_23_17_07_10405.jpg
/home/pi/Desktop/images/20022025/23/17/image_20022025_23_17_16_9366.jpg
/home/pi/Desktop/images/20022025/23/17/image_20022025_23_17_26_10357.jpg
/home/pi/Desktop/images/20022025/23/17/image_20022025_23_17_37_10347.jpg
/home/pi/Desktop/images/20022025/23/17/image_20022025_23_17_56_10339.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338937735","1338937393","1338937641","1338937563","1338937737","1338937733"],"photo_ids_order":["1338937393","1338937563","1338937641","1338937733","1338937735","1338937737"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/47278ee58237286384712eb36509a026.jpg","text":"TemporaryFile(/tmp/multipartBody4142182217411193622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178504302,"filename":"image_20022025_23_17_37_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/81b4baa4c3fe4fdfde0c137cfd4fce3e.jpg","text":"TemporaryFile(/tmp/multipartBody1761961860628994163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178504302,"filename":"image_20022025_23_16_56_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/fe1d6c426057b535ae59b219da61e851.jpg","text":"TemporaryFile(/tmp/multipartBody4673468666876622418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178504302,"filename":"image_20022025_23_17_16_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/f6158ffb4e475d1b7707ccd0a35141bf.jpg","text":"TemporaryFile(/tmp/multipartBody3281825032152517257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178504302,"filename":"image_20022025_23_17_07_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/7b390d72077c421dd2e32a1de380d266.jpg","text":"TemporaryFile(/tmp/multipartBody3312591808728261417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178504302,"filename":"image_20022025_23_17_56_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/536bb52eb68a141052ec4ce9f8f0ef20.jpg","text":"TemporaryFile(/tmp/multipartBody2542156355468963448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178504302,"filename":"image_20022025_23_17_26_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338937641","file1":"1338937563","file0":"1338937393","file4":"1338937735","file5":"1338937737","file3":"1338937733"},"map_files_photo_id_array":[{"photo_id":"1338937737","filename":"file5"},{"photo_id":"1338937641","filename":"file2"},{"photo_id":"1338937735","filename":"file4"},{"photo_id":"1338937563","filename":"file1"},{"photo_id":"1338937393","filename":"file0"},{"photo_id":"1338937733","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338937735":["hashtag1","hashtag2"]},{"1338937393":["hashtag1","hashtag2"]},{"1338937641":["hashtag1","hashtag2"]},{"1338937563":["hashtag1","hashtag2"]},{"1338937737":["hashtag1","hashtag2"]},{"1338937733":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338937735, 1338937393, 1338937641, 1338937563, 1338937737, 1338937733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97000026702881 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:54:42.176117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/53/image_21022025_23_53_46_9343.jpg', '/home/pi/Desktop/images/21022025/23/53/image_21022025_23_54_06_9446.jpg', '/home/pi/Desktop/images/21022025/23/54/image_21022025_23_54_16_10393.jpg', '/home/pi/Desktop/images/21022025/23/54/image_21022025_23_54_26_10348.jpg', '/home/pi/Desktop/images/21022025/23/54/image_21022025_23_54_36_9405.jpg', '/home/pi/Desktop/images/21022025/23/54/image_21022025_23_54_46_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/53/image_21022025_23_53_46_9343.jpg
/home/pi/Desktop/images/21022025/23/53/image_21022025_23_54_06_9446.jpg
/home/pi/Desktop/images/21022025/23/54/image_21022025_23_54_16_10393.jpg
/home/pi/Desktop/images/21022025/23/54/image_21022025_23_54_26_10348.jpg
/home/pi/Desktop/images/21022025/23/54/image_21022025_23_54_36_9405.jpg
/home/pi/Desktop/images/21022025/23/54/image_21022025_23_54_46_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338937834","1338937825","1338937818","1338937877","1338937832","1338937795"],"photo_ids_order":["1338937795","1338937818","1338937825","1338937832","1338937834","1338937877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/adbac751ccdc350ebdca20db9be7120f.jpg","text":"TemporaryFile(/tmp/multipartBody5855060888003184535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178542665,"filename":"image_21022025_23_54_36_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2604aa50f2dd483d69222393e533f39c.jpg","text":"TemporaryFile(/tmp/multipartBody4065981533393160190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178542665,"filename":"image_21022025_23_54_16_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/cf1245ec03a58320c74a3098950daa73.jpg","text":"TemporaryFile(/tmp/multipartBody7625176336899674803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178542665,"filename":"image_21022025_23_54_06_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/693f93eca7cf0c63881a1b982d45a650.jpg","text":"TemporaryFile(/tmp/multipartBody3103426228820614730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178542665,"filename":"image_21022025_23_54_46_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/367c891546ce20b44f042cfb8a198a34.jpg","text":"TemporaryFile(/tmp/multipartBody5871675481641470825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178542665,"filename":"image_21022025_23_54_26_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/84b44891f1d922e999840a0cea968dfb.jpg","text":"TemporaryFile(/tmp/multipartBody9183652776848193467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178542665,"filename":"image_21022025_23_53_46_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338937825","file1":"1338937818","file0":"1338937795","file4":"1338937834","file5":"1338937877","file3":"1338937832"},"map_files_photo_id_array":[{"photo_id":"1338937877","filename":"file5"},{"photo_id":"1338937825","filename":"file2"},{"photo_id":"1338937834","filename":"file4"},{"photo_id":"1338937818","filename":"file1"},{"photo_id":"1338937795","filename":"file0"},{"photo_id":"1338937832","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338937834":["hashtag1","hashtag2"]},{"1338937825":["hashtag1","hashtag2"]},{"1338937818":["hashtag1","hashtag2"]},{"1338937877":["hashtag1","hashtag2"]},{"1338937832":["hashtag1","hashtag2"]},{"1338937795":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338937834, 1338937825, 1338937818, 1338937877, 1338937832, 1338937795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25024771690369 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:55:32.422461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/54/image_21022025_23_54_57_10408.jpg', '/home/pi/Desktop/images/21022025/23/55/image_21022025_23_55_16_10391.jpg', '/home/pi/Desktop/images/21022025/23/55/image_21022025_23_55_26_9417.jpg', '/home/pi/Desktop/images/21022025/23/55/image_21022025_23_55_36_10358.jpg', '/home/pi/Desktop/images/21022025/23/55/image_21022025_23_55_46_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/54/image_21022025_23_54_57_10408.jpg
/home/pi/Desktop/images/21022025/23/55/image_21022025_23_55_16_10391.jpg
/home/pi/Desktop/images/21022025/23/55/image_21022025_23_55_26_9417.jpg
/home/pi/Desktop/images/21022025/23/55/image_21022025_23_55_36_10358.jpg
/home/pi/Desktop/images/21022025/23/55/image_21022025_23_55_46_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338937969","1338937963","1338937980","1338937958","1338937966"],"photo_ids_order":["1338937958","1338937963","1338937966","1338937969","1338937980"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/b5e515b2767c4c39894f88f51da3e035.jpg","text":"TemporaryFile(/tmp/multipartBody2882435786083138178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178592929,"filename":"image_21022025_23_55_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/52bdf2f760ddb23546e6d6413697127c.jpg","text":"TemporaryFile(/tmp/multipartBody1087316386757598810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178592929,"filename":"image_21022025_23_55_16_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/abd65e95a84d4e18eef6a5e716a7c80e.jpg","text":"TemporaryFile(/tmp/multipartBody4633841178377550314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178592929,"filename":"image_21022025_23_55_46_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e919623d28d96a3a29ffef4ff975b8e2.jpg","text":"TemporaryFile(/tmp/multipartBody840176775363241532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178592929,"filename":"image_21022025_23_54_57_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/1a35c94a2a7739a8fee79afb4b2212be.jpg","text":"TemporaryFile(/tmp/multipartBody2660208042342774125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178592929,"filename":"image_21022025_23_55_26_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338937966","file1":"1338937963","file0":"1338937958","file4":"1338937980","file3":"1338937969"},"map_files_photo_id_array":[{"photo_id":"1338937966","filename":"file2"},{"photo_id":"1338937980","filename":"file4"},{"photo_id":"1338937963","filename":"file1"},{"photo_id":"1338937958","filename":"file0"},{"photo_id":"1338937969","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338937969":["hashtag1","hashtag2"]},{"1338937963":["hashtag1","hashtag2"]},{"1338937980":["hashtag1","hashtag2"]},{"1338937958":["hashtag1","hashtag2"]},{"1338937966":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338937969, 1338937963, 1338937980, 1338937958, 1338937966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.596492290496826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-21 23:56:32.659574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/55/image_21022025_23_55_56_9388.jpg', '/home/pi/Desktop/images/21022025/23/55/image_21022025_23_56_06_10344.jpg', '/home/pi/Desktop/images/21022025/23/56/image_21022025_23_56_17_10324.jpg', '/home/pi/Desktop/images/21022025/23/56/image_21022025_23_56_26_9360.jpg', '/home/pi/Desktop/images/21022025/23/56/image_21022025_23_56_36_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/55/image_21022025_23_55_56_9388.jpg
/home/pi/Desktop/images/21022025/23/55/image_21022025_23_56_06_10344.jpg
/home/pi/Desktop/images/21022025/23/56/image_21022025_23_56_17_10324.jpg
/home/pi/Desktop/images/21022025/23/56/image_21022025_23_56_26_9360.jpg
/home/pi/Desktop/images/21022025/23/56/image_21022025_23_56_36_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338938054","1338938057","1338938045","1338938050","1338938056"],"photo_ids_order":["1338938045","1338938050","1338938054","1338938056","1338938057"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/2fa8b68760dcaf87b308e5073b3195c4.jpg","text":"TemporaryFile(/tmp/multipartBody3716765624004919999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178653125,"filename":"image_21022025_23_56_17_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d1110b158e17fcc45f5bec047342e2c8.jpg","text":"TemporaryFile(/tmp/multipartBody524500550969294227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178653125,"filename":"image_21022025_23_56_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/c26895bd7f788e49d1b8decbb5d0af59.jpg","text":"TemporaryFile(/tmp/multipartBody1524380188256200121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178653125,"filename":"image_21022025_23_55_56_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/a827d7e7e48a7ad34dc5096558264f32.jpg","text":"TemporaryFile(/tmp/multipartBody6865739815648218473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178653125,"filename":"image_21022025_23_56_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/e5d8bfe6e994d76e1f0c2bfd9fe7fbab.jpg","text":"TemporaryFile(/tmp/multipartBody8255146099397716716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178653125,"filename":"image_21022025_23_56_26_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338938054","file1":"1338938050","file0":"1338938045","file4":"1338938057","file3":"1338938056"},"map_files_photo_id_array":[{"photo_id":"1338938054","filename":"file2"},{"photo_id":"1338938057","filename":"file4"},{"photo_id":"1338938050","filename":"file1"},{"photo_id":"1338938045","filename":"file0"},{"photo_id":"1338938056","filename":"file3"}],"portfolio_id":20708309,"hashtag_by_photo_ids":[{"1338938054":["hashtag1","hashtag2"]},{"1338938057":["hashtag1","hashtag2"]},{"1338938045":["hashtag1","hashtag2"]},{"1338938050":["hashtag1","hashtag2"]},{"1338938056":["hashtag1","hashtag2"]}],"comms":"Portfolio 20708309 used, photo_id : ArrayBuffer(1338938054, 1338938057, 1338938045, 1338938050, 1338938056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.14559555053711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:57:04.309631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/23/17/image_20022025_23_18_07_10392.jpg', '/home/pi/Desktop/images/20022025/23/18/image_20022025_23_18_16_9315.jpg', '/home/pi/Desktop/images/20022025/23/18/image_20022025_23_18_26_10318.jpg', '/home/pi/Desktop/images/20022025/23/18/image_20022025_23_18_56_10343.jpg', '/home/pi/Desktop/images/20022025/23/19/image_20022025_23_19_16_9325.jpg', '/home/pi/Desktop/images/20022025/23/19/image_20022025_23_19_26_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/23/17/image_20022025_23_18_07_10392.jpg
/home/pi/Desktop/images/20022025/23/18/image_20022025_23_18_16_9315.jpg
/home/pi/Desktop/images/20022025/23/18/image_20022025_23_18_26_10318.jpg
/home/pi/Desktop/images/20022025/23/18/image_20022025_23_18_56_10343.jpg
/home/pi/Desktop/images/20022025/23/19/image_20022025_23_19_16_9325.jpg
/home/pi/Desktop/images/20022025/23/19/image_20022025_23_19_26_10341.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338938079","1338938084","1338938077","1338938086","1338938065","1338938059"],"photo_ids_order":["1338938059","1338938065","1338938077","1338938079","1338938084","1338938086"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/d7f94f8ad64594cbfb4dfa9fabce7f8a.jpg","text":"TemporaryFile(/tmp/multipartBody8787109777269276350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178685956,"filename":"image_20022025_23_18_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/9cdf7db7100dbb129258805f0e0c0b40.jpg","text":"TemporaryFile(/tmp/multipartBody993728787386250804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178685956,"filename":"image_20022025_23_19_16_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/75730d2c03180b1dbd02a788233ba94c.jpg","text":"TemporaryFile(/tmp/multipartBody1970526513407880337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178685956,"filename":"image_20022025_23_18_26_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/311c8c27ea94cf90a4d31cb830a180c3.jpg","text":"TemporaryFile(/tmp/multipartBody8274777786221341127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178685956,"filename":"image_20022025_23_19_26_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4ed111951c320677bac27cece1330b95.jpg","text":"TemporaryFile(/tmp/multipartBody5059751364456583803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178685956,"filename":"image_20022025_23_18_16_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/21/4f2f732981c1eaa8736209bea62b4ac3.jpg","text":"TemporaryFile(/tmp/multipartBody4219503384068994456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740178685956,"filename":"image_20022025_23_18_07_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338938077","file1":"1338938065","file0":"1338938059","file4":"1338938084","file5":"1338938086","file3":"1338938079"},"map_files_photo_id_array":[{"photo_id":"1338938086","filename":"file5"},{"photo_id":"1338938077","filename":"file2"},{"photo_id":"1338938084","filename":"file4"},{"photo_id":"1338938065","filename":"file1"},{"photo_id":"1338938059","filename":"file0"},{"photo_id":"1338938079","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338938079":["hashtag1","hashtag2"]},{"1338938084":["hashtag1","hashtag2"]},{"1338938077":["hashtag1","hashtag2"]},{"1338938086":["hashtag1","hashtag2"]},{"1338938065":["hashtag1","hashtag2"]},{"1338938059":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338938079, 1338938084, 1338938077, 1338938086, 1338938065, 1338938059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.304744720458984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-21 23:57:42.888233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250221 ORDER BY id_local ASC LIMIT 6;
  port_id : 20708309
  datou_current_id : 2602792
in upload_from_sqlite, uploading in 20708309
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/21022025/23/56/image_21022025_23_56_56_10366.jpg', '/home/pi/Desktop/images/21022025/23/56/image_21022025_23_57_06_10440.jpg', '/home/pi/Desktop/images/21022025/23/57/image_21022025_23_57_16_9432.jpg', '/home/pi/Desktop/images/21022025/23/57/image_21022025_23_57_36_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2602792&datou=0
/home/pi/Desktop/images/21022025/23/56/image_21022025_23_56_56_10366.jpg
/home/pi/Desktop/images/21022025/23/56/image_21022025_23_57_06_10440.jpg
/home/pi/Desktop/images/21022025/23/57/image_21022025_23_57_16_9432.jpg
/home/pi/Desktop/images/21022025/23/57/image_21022025_23_57_36_9419.jpg
 val : 1 : upload photos already in processing! 
